@anthropologies/claudestory 0.1.24 → 0.1.25

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 CHANGED
@@ -6392,7 +6392,7 @@ var init_plan_review = __esm({
6392
6392
  }
6393
6393
  const reviewsForWrite = isReject ? { ...ctx.state.reviews, plan: [] } : { ...ctx.state.reviews, plan: planReviews };
6394
6394
  ctx.writeState({
6395
- reviews: nextAction === "PLAN" ? reviewsForWrite : { ...ctx.state.reviews, plan: planReviews }
6395
+ reviews: reviewsForWrite
6396
6396
  });
6397
6397
  ctx.appendEvent("plan_review", {
6398
6398
  round: roundNum,
@@ -7136,6 +7136,7 @@ var init_finalize = __esm({
7136
7136
  };
7137
7137
  }
7138
7138
  }
7139
+ ctx.writeState({ finalizeCheckpoint: "precommit_passed" });
7139
7140
  return this.handleCommit(ctx, { ...report, commitHash: headResult.data.hash });
7140
7141
  }
7141
7142
  return { action: "retry", instruction: 'No files are staged. Stage your changes and call me again with completedAction: "files_staged".' };
@@ -10090,7 +10091,7 @@ var init_mcp = __esm({
10090
10091
  init_init();
10091
10092
  ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
10092
10093
  CONFIG_PATH2 = ".story/config.json";
10093
- version = "0.1.24";
10094
+ version = "0.1.25";
10094
10095
  main().catch((err) => {
10095
10096
  process.stderr.write(`Fatal: ${err instanceof Error ? err.message : String(err)}
10096
10097
  `);
@@ -13368,7 +13369,7 @@ async function runCli() {
13368
13369
  registerConfigCommand: registerConfigCommand2,
13369
13370
  registerSessionCommand: registerSessionCommand2
13370
13371
  } = await Promise.resolve().then(() => (init_register(), register_exports));
13371
- const version2 = "0.1.24";
13372
+ const version2 = "0.1.25";
13372
13373
  class HandledError extends Error {
13373
13374
  constructor() {
13374
13375
  super("HANDLED_ERROR");
package/dist/mcp.js CHANGED
@@ -5955,7 +5955,7 @@ var PlanReviewStage = class {
5955
5955
  }
5956
5956
  const reviewsForWrite = isReject ? { ...ctx.state.reviews, plan: [] } : { ...ctx.state.reviews, plan: planReviews };
5957
5957
  ctx.writeState({
5958
- reviews: nextAction === "PLAN" ? reviewsForWrite : { ...ctx.state.reviews, plan: planReviews }
5958
+ reviews: reviewsForWrite
5959
5959
  });
5960
5960
  ctx.appendEvent("plan_review", {
5961
5961
  round: roundNum,
@@ -6658,6 +6658,7 @@ var FinalizeStage = class {
6658
6658
  };
6659
6659
  }
6660
6660
  }
6661
+ ctx.writeState({ finalizeCheckpoint: "precommit_passed" });
6661
6662
  return this.handleCommit(ctx, { ...report, commitHash: headResult.data.hash });
6662
6663
  }
6663
6664
  return { action: "retry", instruction: 'No files are staged. Stage your changes and call me again with completedAction: "files_staged".' };
@@ -9255,7 +9256,7 @@ async function ensureGitignoreEntries(gitignorePath, entries) {
9255
9256
  // src/mcp/index.ts
9256
9257
  var ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
9257
9258
  var CONFIG_PATH2 = ".story/config.json";
9258
- var version = "0.1.24";
9259
+ var version = "0.1.25";
9259
9260
  function tryDiscoverRoot() {
9260
9261
  const envRoot = process.env[ENV_VAR2];
9261
9262
  if (envRoot) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropologies/claudestory",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
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": [