@anthropologies/claudestory 0.1.18 → 0.1.19
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 +5 -14
- package/dist/mcp.js +4 -13
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -7219,21 +7219,13 @@ var init_complete = __esm({
|
|
|
7219
7219
|
'Call me with completedAction: "handover_written" and include the content in handoverContent.'
|
|
7220
7220
|
].join("\n"),
|
|
7221
7221
|
reminders: [],
|
|
7222
|
-
transitionedFrom: "COMPLETE"
|
|
7223
|
-
contextAdvice: "ok"
|
|
7222
|
+
transitionedFrom: "COMPLETE"
|
|
7224
7223
|
}
|
|
7225
7224
|
};
|
|
7226
7225
|
}
|
|
7227
7226
|
let nextTarget;
|
|
7228
|
-
let advice = "ok";
|
|
7229
7227
|
if (maxTickets > 0 && ticketsDone >= maxTickets) {
|
|
7230
7228
|
nextTarget = "HANDOVER";
|
|
7231
|
-
} else if (pressure === "critical") {
|
|
7232
|
-
advice = "compact-now";
|
|
7233
|
-
nextTarget = "PICK_TICKET";
|
|
7234
|
-
} else if (pressure === "high") {
|
|
7235
|
-
advice = "consider-compact";
|
|
7236
|
-
nextTarget = "PICK_TICKET";
|
|
7237
7229
|
} else {
|
|
7238
7230
|
nextTarget = "PICK_TICKET";
|
|
7239
7231
|
}
|
|
@@ -7262,7 +7254,7 @@ var init_complete = __esm({
|
|
|
7262
7254
|
].join("\n"),
|
|
7263
7255
|
reminders: [],
|
|
7264
7256
|
transitionedFrom: "COMPLETE",
|
|
7265
|
-
contextAdvice:
|
|
7257
|
+
contextAdvice: "ok"
|
|
7266
7258
|
}
|
|
7267
7259
|
};
|
|
7268
7260
|
}
|
|
@@ -8580,7 +8572,7 @@ function guideResult(state, currentState, opts) {
|
|
|
8580
8572
|
transitionedFrom: opts.transitionedFrom,
|
|
8581
8573
|
instruction: opts.instruction,
|
|
8582
8574
|
reminders: opts.reminders ?? [],
|
|
8583
|
-
contextAdvice:
|
|
8575
|
+
contextAdvice: "ok",
|
|
8584
8576
|
sessionSummary: summary
|
|
8585
8577
|
};
|
|
8586
8578
|
const parts = [
|
|
@@ -8594,7 +8586,6 @@ function guideResult(state, currentState, opts) {
|
|
|
8594
8586
|
`**Completed:** ${summary.completed.length > 0 ? summary.completed.join(", ") : "none"}`,
|
|
8595
8587
|
`**Tickets done:** ${summary.completed.length}`,
|
|
8596
8588
|
summary.branch ? `**Branch:** ${summary.branch}` : "",
|
|
8597
|
-
output.contextAdvice !== "ok" ? `**Context:** ${output.contextAdvice}` : "",
|
|
8598
8589
|
output.reminders.length > 0 ? `
|
|
8599
8590
|
**Reminders:**
|
|
8600
8591
|
${output.reminders.map((r) => `- ${r}`).join("\n")}` : ""
|
|
@@ -9996,7 +9987,7 @@ var init_mcp = __esm({
|
|
|
9996
9987
|
init_init();
|
|
9997
9988
|
ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
|
|
9998
9989
|
CONFIG_PATH2 = ".story/config.json";
|
|
9999
|
-
version = "0.1.
|
|
9990
|
+
version = "0.1.19";
|
|
10000
9991
|
main().catch((err) => {
|
|
10001
9992
|
process.stderr.write(`Fatal: ${err instanceof Error ? err.message : String(err)}
|
|
10002
9993
|
`);
|
|
@@ -13274,7 +13265,7 @@ async function runCli() {
|
|
|
13274
13265
|
registerConfigCommand: registerConfigCommand2,
|
|
13275
13266
|
registerSessionCommand: registerSessionCommand2
|
|
13276
13267
|
} = await Promise.resolve().then(() => (init_register(), register_exports));
|
|
13277
|
-
const version2 = "0.1.
|
|
13268
|
+
const version2 = "0.1.19";
|
|
13278
13269
|
class HandledError extends Error {
|
|
13279
13270
|
constructor() {
|
|
13280
13271
|
super("HANDLED_ERROR");
|
package/dist/mcp.js
CHANGED
|
@@ -6722,21 +6722,13 @@ var CompleteStage = class {
|
|
|
6722
6722
|
'Call me with completedAction: "handover_written" and include the content in handoverContent.'
|
|
6723
6723
|
].join("\n"),
|
|
6724
6724
|
reminders: [],
|
|
6725
|
-
transitionedFrom: "COMPLETE"
|
|
6726
|
-
contextAdvice: "ok"
|
|
6725
|
+
transitionedFrom: "COMPLETE"
|
|
6727
6726
|
}
|
|
6728
6727
|
};
|
|
6729
6728
|
}
|
|
6730
6729
|
let nextTarget;
|
|
6731
|
-
let advice = "ok";
|
|
6732
6730
|
if (maxTickets > 0 && ticketsDone >= maxTickets) {
|
|
6733
6731
|
nextTarget = "HANDOVER";
|
|
6734
|
-
} else if (pressure === "critical") {
|
|
6735
|
-
advice = "compact-now";
|
|
6736
|
-
nextTarget = "PICK_TICKET";
|
|
6737
|
-
} else if (pressure === "high") {
|
|
6738
|
-
advice = "consider-compact";
|
|
6739
|
-
nextTarget = "PICK_TICKET";
|
|
6740
6732
|
} else {
|
|
6741
6733
|
nextTarget = "PICK_TICKET";
|
|
6742
6734
|
}
|
|
@@ -6765,7 +6757,7 @@ var CompleteStage = class {
|
|
|
6765
6757
|
].join("\n"),
|
|
6766
6758
|
reminders: [],
|
|
6767
6759
|
transitionedFrom: "COMPLETE",
|
|
6768
|
-
contextAdvice:
|
|
6760
|
+
contextAdvice: "ok"
|
|
6769
6761
|
}
|
|
6770
6762
|
};
|
|
6771
6763
|
}
|
|
@@ -8057,7 +8049,7 @@ function guideResult(state, currentState, opts) {
|
|
|
8057
8049
|
transitionedFrom: opts.transitionedFrom,
|
|
8058
8050
|
instruction: opts.instruction,
|
|
8059
8051
|
reminders: opts.reminders ?? [],
|
|
8060
|
-
contextAdvice:
|
|
8052
|
+
contextAdvice: "ok",
|
|
8061
8053
|
sessionSummary: summary
|
|
8062
8054
|
};
|
|
8063
8055
|
const parts = [
|
|
@@ -8071,7 +8063,6 @@ function guideResult(state, currentState, opts) {
|
|
|
8071
8063
|
`**Completed:** ${summary.completed.length > 0 ? summary.completed.join(", ") : "none"}`,
|
|
8072
8064
|
`**Tickets done:** ${summary.completed.length}`,
|
|
8073
8065
|
summary.branch ? `**Branch:** ${summary.branch}` : "",
|
|
8074
|
-
output.contextAdvice !== "ok" ? `**Context:** ${output.contextAdvice}` : "",
|
|
8075
8066
|
output.reminders.length > 0 ? `
|
|
8076
8067
|
**Reminders:**
|
|
8077
8068
|
${output.reminders.map((r) => `- ${r}`).join("\n")}` : ""
|
|
@@ -9148,7 +9139,7 @@ async function ensureGitignoreEntries(gitignorePath, entries) {
|
|
|
9148
9139
|
// src/mcp/index.ts
|
|
9149
9140
|
var ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
|
|
9150
9141
|
var CONFIG_PATH2 = ".story/config.json";
|
|
9151
|
-
var version = "0.1.
|
|
9142
|
+
var version = "0.1.19";
|
|
9152
9143
|
function tryDiscoverRoot() {
|
|
9153
9144
|
const envRoot = process.env[ENV_VAR2];
|
|
9154
9145
|
if (envRoot) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropologies/claudestory",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Cross-session context persistence for AI coding projects. Tracks tickets, issues, roadmap, and handovers so every session builds on the last.",
|
|
6
6
|
"keywords": [
|