Files
nanoclaw/skills-engine/index.ts
Gabi Simons 11c201088b refactor: CI optimization, logging improvements, and codebase formatting (#456)
* fix(db): remove unique constraint on folder to support multi-channel agents

* ci: implement automated skill drift detection and self-healing PRs

* fix: align registration logic with Gavriel's feedback and fix build/test issues from Daniel Mi

* style: conform to prettier standards for CI validation

* test: fix branch naming inconsistency in CI (master vs main)

* fix(ci): robust module resolution by removing file extensions in scripts

* refactor(ci): simplify skill validation by removing redundant combination tests

* style: conform skills-engine to prettier, unify logging in index.ts and cleanup unused imports

* refactor: extract multi-channel DB changes to separate branch

Move channel column, folder suffix logic, and related migrations
to feat/multi-channel-db-v2 for independent review. This PR now
contains only CI/CD optimizations, Prettier formatting, and
logging improvements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 23:13:36 +02:00

71 lines
1.7 KiB
TypeScript

export { applySkill } from './apply.js';
export { clearBackup, createBackup, restoreBackup } from './backup.js';
export {
BACKUP_DIR,
BASE_DIR,
SKILLS_SCHEMA_VERSION,
CUSTOM_DIR,
LOCK_FILE,
NANOCLAW_DIR,
STATE_FILE,
} from './constants.js';
export {
abortCustomize,
commitCustomize,
isCustomizeActive,
startCustomize,
} from './customize.js';
export { executeFileOps } from './file-ops.js';
export { initNanoclawDir } from './init.js';
export { acquireLock, isLocked, releaseLock } from './lock.js';
export {
checkConflicts,
checkCoreVersion,
checkDependencies,
checkSystemVersion,
readManifest,
} from './manifest.js';
export { isGitRepo, mergeFile } from './merge.js';
export {
loadPathRemap,
recordPathRemap,
resolvePathRemap,
} from './path-remap.js';
export { rebase } from './rebase.js';
export { findSkillDir, replaySkills } from './replay.js';
export type { ReplayOptions, ReplayResult } from './replay.js';
export { uninstallSkill } from './uninstall.js';
export { initSkillsSystem, migrateExisting } from './migrate.js';
export { applyUpdate, previewUpdate } from './update.js';
export {
compareSemver,
computeFileHash,
getAppliedSkills,
getCustomModifications,
readState,
recordCustomModification,
recordSkillApplication,
writeState,
} from './state.js';
export {
areRangesCompatible,
mergeDockerComposeServices,
mergeEnvAdditions,
mergeNpmDependencies,
runNpmInstall,
} from './structured.js';
export type {
AppliedSkill,
ApplyResult,
CustomModification,
FileOpsResult,
FileOperation,
MergeResult,
RebaseResult,
SkillManifest,
SkillState,
UninstallResult,
UpdatePreview,
UpdateResult,
} from './types.js';