@pourkit/cli 0.0.0-next-20260619045442 → 0.0.0-next-20260619074943
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/dist/cli.js +38 -5
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -12251,7 +12251,40 @@ Database path: use \`$POURKIT_ICM_DB\` when set, otherwise use \`.pourkit/icm/me
|
|
|
12251
12251
|
|
|
12252
12252
|
CLI fallback: when MCP memory tools are unavailable, recall with \`icm --db "$POURKIT_ICM_DB" recall "<query>"\` or \`icm --db .pourkit/icm/memories.db recall "<query>"\`, and store durable observations with \`icm --db "$POURKIT_ICM_DB" store -c "<concise reusable observation>"\` or \`icm --db .pourkit/icm/memories.db store -c "<concise reusable observation>"\`.
|
|
12253
12253
|
|
|
12254
|
-
Memory is advisory only. Never treat memory as a replacement for reading current repository files, Run Context, artifacts, or verification output. When memory conflicts with current source or canonical state, current source and canonical state win
|
|
12254
|
+
Memory is advisory only. Never treat memory as a replacement for reading current repository files, Run Context, artifacts, or verification output. When memory conflicts with current source or canonical state, current source and canonical state win.
|
|
12255
|
+
|
|
12256
|
+
<!-- icm:start -->
|
|
12257
|
+
## Persistent memory (ICM) \u2014 MANDATORY
|
|
12258
|
+
|
|
12259
|
+
This project uses [ICM](https://github.com/rtk-ai/icm) for persistent memory across sessions.
|
|
12260
|
+
You MUST use it actively. Not optional.
|
|
12261
|
+
|
|
12262
|
+
### Recall (before starting work)
|
|
12263
|
+
\`\`\`bash
|
|
12264
|
+
icm recall "query" # search memories
|
|
12265
|
+
icm recall "query" -t "topic-name" # filter by topic
|
|
12266
|
+
icm recall-context "query" --limit 5 # formatted for prompt injection
|
|
12267
|
+
\`\`\`
|
|
12268
|
+
|
|
12269
|
+
### Store \u2014 MANDATORY triggers
|
|
12270
|
+
You MUST call \`icm store\` when ANY of the following happens:
|
|
12271
|
+
1. **Error resolved** \u2192 \`icm store -t errors-resolved -c "description" -i high -k "keyword1,keyword2"\`
|
|
12272
|
+
2. **Architecture/design decision** \u2192 \`icm store -t decisions-{project} -c "description" -i high\`
|
|
12273
|
+
3. **User preference discovered** \u2192 \`icm store -t preferences -c "description" -i critical\`
|
|
12274
|
+
4. **Significant task completed** \u2192 \`icm store -t context-{project} -c "summary of work done" -i high\`
|
|
12275
|
+
5. **Conversation exceeds ~20 tool calls without a store** \u2192 store a progress summary
|
|
12276
|
+
|
|
12277
|
+
Do this BEFORE responding to the user. Not after. Not later. Immediately.
|
|
12278
|
+
|
|
12279
|
+
Do NOT store: trivial details, info already in CLAUDE.md, ephemeral state (build logs, git status).
|
|
12280
|
+
|
|
12281
|
+
### Other commands
|
|
12282
|
+
\`\`\`bash
|
|
12283
|
+
icm update <id> -c "updated content" # edit memory in-place
|
|
12284
|
+
icm health # topic hygiene audit
|
|
12285
|
+
icm topics # list all topics
|
|
12286
|
+
\`\`\`
|
|
12287
|
+
<!-- icm:end -->`;
|
|
12255
12288
|
}
|
|
12256
12289
|
|
|
12257
12290
|
// commands/init.ts
|
|
@@ -17752,11 +17785,11 @@ function createCliProgram(version) {
|
|
|
17752
17785
|
return program;
|
|
17753
17786
|
}
|
|
17754
17787
|
async function resolveCliVersion() {
|
|
17755
|
-
if (isPackageVersion("0.0.0-next-
|
|
17756
|
-
return "0.0.0-next-
|
|
17788
|
+
if (isPackageVersion("0.0.0-next-20260619074943")) {
|
|
17789
|
+
return "0.0.0-next-20260619074943";
|
|
17757
17790
|
}
|
|
17758
|
-
if (isReleaseVersion("0.0.0-next-
|
|
17759
|
-
return "0.0.0-next-
|
|
17791
|
+
if (isReleaseVersion("0.0.0-next-20260619074943")) {
|
|
17792
|
+
return "0.0.0-next-20260619074943";
|
|
17760
17793
|
}
|
|
17761
17794
|
try {
|
|
17762
17795
|
const root = repoRoot();
|