refactor(core): finish TypeScript workspace migration

This commit is contained in:
tommy0103
2026-07-12 00:37:32 +08:00
parent 83d5703f7b
commit 535d8edb4d
31 changed files with 326 additions and 199 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ The skill directory is provided as `$SKILL_DIR` at invocation time.
Fast keyword search:
```bash
node $SKILL_DIR/scripts/runtime.mjs --search "keyword"
node $SKILL_DIR/scripts/runtime.js --search "keyword"
```
Custom query:
@@ -46,7 +46,7 @@ Custom query:
2. Run:
```bash
node $SKILL_DIR/scripts/runtime.mjs --query /tmp/q.mjs
node $SKILL_DIR/scripts/runtime.js --query /tmp/q.mjs
```
3. Parse JSON stdout and answer with concise evidence.
@@ -315,7 +315,7 @@ return remember({
Run the registration script with:
```bash
node $SKILL_DIR/scripts/runtime.mjs --attune /tmp/register-memory.mjs
node $SKILL_DIR/scripts/runtime.js --attune /tmp/register-memory.mjs
```
`--attune` exposes only memory mutation helpers: `remember()` and `forget()`.