mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-05 16:53:29 +08:00
feat: add NanoClaw agent REPL — persistent session-aware CLI for ECC
Implements a barebones agent loop that delegates to `claude -p` with markdown-as-database session persistence and ECC skill context loading. Zero external dependencies, ~264 lines of pure Node.js CommonJS. - scripts/claw.js: core module (storage, context, delegation, REPL) - commands/claw.md: slash command definition with usage docs - tests/scripts/claw.test.js: 14 unit tests covering all modules - package.json: add claw script and files entry - tests/run-all.js: register claw tests in test manifest
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
"scripts/ci/",
|
||||
"scripts/hooks/",
|
||||
"scripts/lib/",
|
||||
"scripts/claw.js",
|
||||
"scripts/setup-package-manager.js",
|
||||
"scripts/skill-create-output.js",
|
||||
"skills/",
|
||||
@@ -75,6 +76,7 @@
|
||||
"scripts": {
|
||||
"postinstall": "echo '\\n ecc-universal installed!\\n Run: npx ecc-install typescript\\n Docs: https://github.com/affaan-m/everything-claude-code\\n'",
|
||||
"lint": "eslint . && markdownlint '**/*.md' --ignore node_modules",
|
||||
"claw": "node scripts/claw.js",
|
||||
"test": "node scripts/ci/validate-agents.js && node scripts/ci/validate-commands.js && node scripts/ci/validate-rules.js && node scripts/ci/validate-skills.js && node scripts/ci/validate-hooks.js && node tests/run-all.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user