zam-core 0.6.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/skills/zam/SKILL.md +7 -3
- package/.agents/skills/zam/SKILL.md +7 -3
- package/.claude/skills/zam/SKILL.md +7 -3
- package/dist/cli/index.js +752 -31
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +122 -2
- package/dist/index.js +268 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -125,7 +125,11 @@ For **review/conceptual** sessions, use `--summary` to avoid spoiling answers:
|
|
|
125
125
|
```bash
|
|
126
126
|
zam card due --user <username> --summary
|
|
127
127
|
```
|
|
128
|
-
For **executable/task** sessions, the full listing is fine since the agent needs to plan.
|
|
128
|
+
For **executable/task** sessions, the full listing is fine since the agent needs to plan. Also query ZAM for tokens relevant to the current task to weave them into the session:
|
|
129
|
+
```bash
|
|
130
|
+
echo '{"context":"<1-2 sentence description of the current task>"}' | zam bridge relevant-tokens --user <username>
|
|
131
|
+
```
|
|
132
|
+
If relevant tokens are returned, weave them into the planning session (e.g. "We will be working on task T; you already know X, which applies here").
|
|
129
133
|
|
|
130
134
|
Classify session type:
|
|
131
135
|
- **Executable** — real commands, code, or file edits (e.g. "set up Homebrew", "commit this change")
|
|
@@ -141,7 +145,7 @@ Decompose into a dependency-ordered list of knowledge tokens.
|
|
|
141
145
|
```bash
|
|
142
146
|
zam token find --query "<keywords>"
|
|
143
147
|
```
|
|
144
|
-
Only register genuinely new concepts. Reuse existing slugs where the concept matches.
|
|
148
|
+
Only register genuinely new concepts. Reuse existing slugs where the concept matches. Note that `zam token find` matches paraphrases semantically.
|
|
145
149
|
|
|
146
150
|
**Register tokens and prerequisites:**
|
|
147
151
|
|
|
@@ -486,7 +490,7 @@ stick → `ge-aufklaerung` reappears — this time with a fighting chance.
|
|
|
486
490
|
- **Never create more than 10 new tokens in a single session** — if a rating of 1
|
|
487
491
|
reveals massive gaps, prioritize the 3 most urgent foundations and let the rest
|
|
488
492
|
emerge in subsequent sessions
|
|
489
|
-
- **Always dedup before registering** — `zam token find --query "<keywords>"`
|
|
493
|
+
- **Always dedup before registering** — `zam token find --query "<keywords>"`. Note that `zam token find` matches paraphrases semantically, and that `add-token` returns `possible_duplicates` which the agent must surface to the user.
|
|
490
494
|
- **Do not split Bloom 1-2 tokens** — they are already atomic; if the user fails
|
|
491
495
|
them, the fix is re-exposure and practice, not further decomposition
|
|
492
496
|
- A rating of 1 on a Bloom 1 token means the user needs simpler wording or a
|
|
@@ -156,7 +156,11 @@ For **review/conceptual** sessions, use `--summary` to avoid spoiling answers:
|
|
|
156
156
|
```bash
|
|
157
157
|
zam card due --user <username> --summary
|
|
158
158
|
```
|
|
159
|
-
For **executable/task** sessions, the full listing is fine since the agent needs to plan.
|
|
159
|
+
For **executable/task** sessions, the full listing is fine since the agent needs to plan. Also query ZAM for tokens relevant to the current task to weave them into the session:
|
|
160
|
+
```bash
|
|
161
|
+
echo '{"context":"<1-2 sentence description of the current task>"}' | zam bridge relevant-tokens --user <username>
|
|
162
|
+
```
|
|
163
|
+
If relevant tokens are returned, weave them into the planning session (e.g. "We will be working on task T; you already know X, which applies here").
|
|
160
164
|
|
|
161
165
|
Classify session type:
|
|
162
166
|
- **Executable** — real commands, code, or file edits (e.g. "set up Homebrew", "commit this change")
|
|
@@ -172,7 +176,7 @@ Decompose into a dependency-ordered list of knowledge tokens.
|
|
|
172
176
|
```bash
|
|
173
177
|
zam token find --query "<keywords>"
|
|
174
178
|
```
|
|
175
|
-
Only register genuinely new concepts. Reuse existing slugs where the concept matches.
|
|
179
|
+
Only register genuinely new concepts. Reuse existing slugs where the concept matches. Note that `zam token find` matches paraphrases semantically.
|
|
176
180
|
|
|
177
181
|
**Register tokens and prerequisites:**
|
|
178
182
|
|
|
@@ -582,7 +586,7 @@ stick → `ge-aufklaerung` reappears — this time with a fighting chance.
|
|
|
582
586
|
- **Never create more than 10 new tokens in a single session** — if a rating of 1
|
|
583
587
|
reveals massive gaps, prioritize the 3 most urgent foundations and let the rest
|
|
584
588
|
emerge in subsequent sessions
|
|
585
|
-
- **Always dedup before registering** — `zam token find --query "<keywords>"`
|
|
589
|
+
- **Always dedup before registering** — `zam token find --query "<keywords>"`. Note that `zam token find` matches paraphrases semantically, and that `add-token` returns `possible_duplicates` which the agent must surface to the user.
|
|
586
590
|
- **Do not split Bloom 1-2 tokens** — they are already atomic; if the user fails
|
|
587
591
|
them, the fix is re-exposure and practice, not further decomposition
|
|
588
592
|
- A rating of 1 on a Bloom 1 token means the user needs simpler wording or a
|
|
@@ -125,7 +125,11 @@ For **review/conceptual** sessions, use `--summary` to avoid spoiling answers:
|
|
|
125
125
|
```bash
|
|
126
126
|
zam card due --user <username> --summary
|
|
127
127
|
```
|
|
128
|
-
For **executable/task** sessions, the full listing is fine since the agent needs to plan.
|
|
128
|
+
For **executable/task** sessions, the full listing is fine since the agent needs to plan. Also query ZAM for tokens relevant to the current task to weave them into the session:
|
|
129
|
+
```bash
|
|
130
|
+
echo '{"context":"<1-2 sentence description of the current task>"}' | zam bridge relevant-tokens --user <username>
|
|
131
|
+
```
|
|
132
|
+
If relevant tokens are returned, weave them into the planning session (e.g. "We will be working on task T; you already know X, which applies here").
|
|
129
133
|
|
|
130
134
|
Classify session type:
|
|
131
135
|
- **Executable** — real commands, code, or file edits (e.g. "set up Homebrew", "commit this change")
|
|
@@ -141,7 +145,7 @@ Decompose into a dependency-ordered list of knowledge tokens.
|
|
|
141
145
|
```bash
|
|
142
146
|
zam token find --query "<keywords>"
|
|
143
147
|
```
|
|
144
|
-
Only register genuinely new concepts. Reuse existing slugs where the concept matches.
|
|
148
|
+
Only register genuinely new concepts. Reuse existing slugs where the concept matches. Note that `zam token find` matches paraphrases semantically.
|
|
145
149
|
|
|
146
150
|
**Register tokens and prerequisites:**
|
|
147
151
|
|
|
@@ -486,7 +490,7 @@ stick → `ge-aufklaerung` reappears — this time with a fighting chance.
|
|
|
486
490
|
- **Never create more than 10 new tokens in a single session** — if a rating of 1
|
|
487
491
|
reveals massive gaps, prioritize the 3 most urgent foundations and let the rest
|
|
488
492
|
emerge in subsequent sessions
|
|
489
|
-
- **Always dedup before registering** — `zam token find --query "<keywords>"`
|
|
493
|
+
- **Always dedup before registering** — `zam token find --query "<keywords>"`. Note that `zam token find` matches paraphrases semantically, and that `add-token` returns `possible_duplicates` which the agent must surface to the user.
|
|
490
494
|
- **Do not split Bloom 1-2 tokens** — they are already atomic; if the user fails
|
|
491
495
|
them, the fix is re-exposure and practice, not further decomposition
|
|
492
496
|
- A rating of 1 on a Bloom 1 token means the user needs simpler wording or a
|