@anthropologies/claudestory 0.1.20 → 0.1.22

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
@@ -5151,11 +5151,11 @@ var init_session_types = __esm({
5151
5151
  stealReason: z9.string().optional(),
5152
5152
  // Recipe overrides (maxTicketsPerSession: 0 = no limit)
5153
5153
  config: z9.object({
5154
- maxTicketsPerSession: z9.number().min(0).default(3),
5154
+ maxTicketsPerSession: z9.number().min(0).default(0),
5155
5155
  handoverInterval: z9.number().min(0).default(5),
5156
5156
  compactThreshold: z9.string().default("high"),
5157
5157
  reviewBackends: z9.array(z9.string()).default(["codex", "agent"])
5158
- }).default({ maxTicketsPerSession: 3, compactThreshold: "high", reviewBackends: ["codex", "agent"], handoverInterval: 5 }),
5158
+ }).default({ maxTicketsPerSession: 0, compactThreshold: "high", reviewBackends: ["codex", "agent"], handoverInterval: 5 }),
5159
5159
  // T-123: Issue sweep tracking
5160
5160
  issueSweepState: z9.object({
5161
5161
  remaining: z9.array(z9.string()),
@@ -5276,7 +5276,7 @@ function createSession(root, recipe, workspaceId, configOverrides) {
5276
5276
  startedAt: now,
5277
5277
  guideCallCount: 0,
5278
5278
  config: {
5279
- maxTicketsPerSession: configOverrides?.maxTicketsPerSession ?? 3,
5279
+ maxTicketsPerSession: configOverrides?.maxTicketsPerSession ?? 0,
5280
5280
  compactThreshold: configOverrides?.compactThreshold ?? "high",
5281
5281
  reviewBackends: configOverrides?.reviewBackends ?? ["codex", "agent"],
5282
5282
  handoverInterval: configOverrides?.handoverInterval ?? 5
@@ -7800,6 +7800,7 @@ Staged: ${stagedResult.data.join(", ")}`
7800
7800
  untrackedPaths.push(line.slice(3).trim());
7801
7801
  } else if (line.length > 3) {
7802
7802
  const filePath = line.slice(3).trim();
7803
+ if (filePath.startsWith(".story/")) continue;
7803
7804
  const hashResult = await gitBlobHash(root, filePath);
7804
7805
  dirtyTracked[filePath] = { blobHash: hashResult.ok ? hashResult.data : "" };
7805
7806
  }
@@ -10023,7 +10024,7 @@ var init_mcp = __esm({
10023
10024
  init_init();
10024
10025
  ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
10025
10026
  CONFIG_PATH2 = ".story/config.json";
10026
- version = "0.1.20";
10027
+ version = "0.1.22";
10027
10028
  main().catch((err) => {
10028
10029
  process.stderr.write(`Fatal: ${err instanceof Error ? err.message : String(err)}
10029
10030
  `);
@@ -13301,7 +13302,7 @@ async function runCli() {
13301
13302
  registerConfigCommand: registerConfigCommand2,
13302
13303
  registerSessionCommand: registerSessionCommand2
13303
13304
  } = await Promise.resolve().then(() => (init_register(), register_exports));
13304
- const version2 = "0.1.20";
13305
+ const version2 = "0.1.22";
13305
13306
  class HandledError extends Error {
13306
13307
  constructor() {
13307
13308
  super("HANDLED_ERROR");
package/dist/mcp.js CHANGED
@@ -3595,11 +3595,11 @@ var init_session_types = __esm({
3595
3595
  stealReason: z9.string().optional(),
3596
3596
  // Recipe overrides (maxTicketsPerSession: 0 = no limit)
3597
3597
  config: z9.object({
3598
- maxTicketsPerSession: z9.number().min(0).default(3),
3598
+ maxTicketsPerSession: z9.number().min(0).default(0),
3599
3599
  handoverInterval: z9.number().min(0).default(5),
3600
3600
  compactThreshold: z9.string().default("high"),
3601
3601
  reviewBackends: z9.array(z9.string()).default(["codex", "agent"])
3602
- }).default({ maxTicketsPerSession: 3, compactThreshold: "high", reviewBackends: ["codex", "agent"], handoverInterval: 5 }),
3602
+ }).default({ maxTicketsPerSession: 0, compactThreshold: "high", reviewBackends: ["codex", "agent"], handoverInterval: 5 }),
3603
3603
  // T-123: Issue sweep tracking
3604
3604
  issueSweepState: z9.object({
3605
3605
  remaining: z9.array(z9.string()),
@@ -3720,7 +3720,7 @@ function createSession(root, recipe, workspaceId, configOverrides) {
3720
3720
  startedAt: now,
3721
3721
  guideCallCount: 0,
3722
3722
  config: {
3723
- maxTicketsPerSession: configOverrides?.maxTicketsPerSession ?? 3,
3723
+ maxTicketsPerSession: configOverrides?.maxTicketsPerSession ?? 0,
3724
3724
  compactThreshold: configOverrides?.compactThreshold ?? "high",
3725
3725
  reviewBackends: configOverrides?.reviewBackends ?? ["codex", "agent"],
3726
3726
  handoverInterval: configOverrides?.handoverInterval ?? 5
@@ -7289,6 +7289,7 @@ Staged: ${stagedResult.data.join(", ")}`
7289
7289
  untrackedPaths.push(line.slice(3).trim());
7290
7290
  } else if (line.length > 3) {
7291
7291
  const filePath = line.slice(3).trim();
7292
+ if (filePath.startsWith(".story/")) continue;
7292
7293
  const hashResult = await gitBlobHash(root, filePath);
7293
7294
  dirtyTracked[filePath] = { blobHash: hashResult.ok ? hashResult.data : "" };
7294
7295
  }
@@ -9188,7 +9189,7 @@ async function ensureGitignoreEntries(gitignorePath, entries) {
9188
9189
  // src/mcp/index.ts
9189
9190
  var ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
9190
9191
  var CONFIG_PATH2 = ".story/config.json";
9191
- var version = "0.1.20";
9192
+ var version = "0.1.22";
9192
9193
  function tryDiscoverRoot() {
9193
9194
  const envRoot = process.env[ENV_VAR2];
9194
9195
  if (envRoot) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropologies/claudestory",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
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": [