@anthropologies/claudestory 0.1.53 → 0.1.55
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 +3 -3
- package/dist/index.d.ts +42 -42
- package/dist/mcp.js +2 -2
- package/package.json +1 -1
- package/src/skill/SKILL.md +24 -3
package/dist/cli.js
CHANGED
|
@@ -8358,7 +8358,7 @@ function getInstalledVersion() {
|
|
|
8358
8358
|
}
|
|
8359
8359
|
}
|
|
8360
8360
|
function getRunningVersion() {
|
|
8361
|
-
return "0.1.
|
|
8361
|
+
return "0.1.55";
|
|
8362
8362
|
}
|
|
8363
8363
|
var init_version_check = __esm({
|
|
8364
8364
|
"src/autonomous/version-check.ts"() {
|
|
@@ -10923,7 +10923,7 @@ var init_mcp = __esm({
|
|
|
10923
10923
|
init_init();
|
|
10924
10924
|
ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
|
|
10925
10925
|
CONFIG_PATH2 = ".story/config.json";
|
|
10926
|
-
version = "0.1.
|
|
10926
|
+
version = "0.1.55";
|
|
10927
10927
|
main().catch((err) => {
|
|
10928
10928
|
process.stderr.write(`Fatal: ${err instanceof Error ? err.message : String(err)}
|
|
10929
10929
|
`);
|
|
@@ -14354,7 +14354,7 @@ async function runCli() {
|
|
|
14354
14354
|
registerSessionCommand: registerSessionCommand2,
|
|
14355
14355
|
registerRepairCommand: registerRepairCommand2
|
|
14356
14356
|
} = await Promise.resolve().then(() => (init_register(), register_exports));
|
|
14357
|
-
const version2 = "0.1.
|
|
14357
|
+
const version2 = "0.1.55";
|
|
14358
14358
|
class HandledError extends Error {
|
|
14359
14359
|
constructor() {
|
|
14360
14360
|
super("HANDLED_ERROR");
|
package/dist/index.d.ts
CHANGED
|
@@ -1377,15 +1377,42 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1377
1377
|
file: z.ZodString;
|
|
1378
1378
|
message: z.ZodString;
|
|
1379
1379
|
}, "strip", z.ZodTypeAny, {
|
|
1380
|
-
message: string;
|
|
1381
1380
|
type: string;
|
|
1381
|
+
message: string;
|
|
1382
1382
|
file: string;
|
|
1383
1383
|
}, {
|
|
1384
|
-
message: string;
|
|
1385
1384
|
type: string;
|
|
1385
|
+
message: string;
|
|
1386
1386
|
file: string;
|
|
1387
1387
|
}>, "many">>;
|
|
1388
1388
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
+
version: 1;
|
|
1390
|
+
config: {
|
|
1391
|
+
version: number;
|
|
1392
|
+
type: string;
|
|
1393
|
+
language: string;
|
|
1394
|
+
project: string;
|
|
1395
|
+
features: {
|
|
1396
|
+
issues: boolean;
|
|
1397
|
+
tickets: boolean;
|
|
1398
|
+
handovers: boolean;
|
|
1399
|
+
roadmap: boolean;
|
|
1400
|
+
reviews: boolean;
|
|
1401
|
+
} & {
|
|
1402
|
+
[k: string]: unknown;
|
|
1403
|
+
};
|
|
1404
|
+
schemaVersion?: number | undefined;
|
|
1405
|
+
recipe?: string | undefined;
|
|
1406
|
+
recipeOverrides?: {
|
|
1407
|
+
maxTicketsPerSession?: number | undefined;
|
|
1408
|
+
compactThreshold?: string | undefined;
|
|
1409
|
+
reviewBackends?: string[] | undefined;
|
|
1410
|
+
handoverInterval?: number | undefined;
|
|
1411
|
+
stages?: Record<string, Record<string, unknown>> | undefined;
|
|
1412
|
+
} | undefined;
|
|
1413
|
+
} & {
|
|
1414
|
+
[k: string]: unknown;
|
|
1415
|
+
};
|
|
1389
1416
|
issues: z.objectOutputType<{
|
|
1390
1417
|
id: z.ZodString;
|
|
1391
1418
|
title: z.ZodString;
|
|
@@ -1422,8 +1449,8 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1422
1449
|
claimedBySession: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1423
1450
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1424
1451
|
roadmap: {
|
|
1425
|
-
title: string;
|
|
1426
1452
|
date: string;
|
|
1453
|
+
title: string;
|
|
1427
1454
|
phases: z.objectOutputType<{
|
|
1428
1455
|
id: z.ZodString;
|
|
1429
1456
|
label: z.ZodString;
|
|
@@ -1441,7 +1468,6 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1441
1468
|
} & {
|
|
1442
1469
|
[k: string]: unknown;
|
|
1443
1470
|
};
|
|
1444
|
-
version: 1;
|
|
1445
1471
|
project: string;
|
|
1446
1472
|
notes: z.objectOutputType<{
|
|
1447
1473
|
id: z.ZodString;
|
|
@@ -1467,11 +1493,19 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1467
1493
|
status: z.ZodEnum<["active", "deprecated", "superseded"]>;
|
|
1468
1494
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1469
1495
|
createdAt: string;
|
|
1470
|
-
|
|
1496
|
+
handoverFilenames: string[];
|
|
1497
|
+
warnings?: {
|
|
1471
1498
|
type: string;
|
|
1499
|
+
message: string;
|
|
1500
|
+
file: string;
|
|
1501
|
+
}[] | undefined;
|
|
1502
|
+
}, {
|
|
1503
|
+
version: 1;
|
|
1504
|
+
config: {
|
|
1472
1505
|
version: number;
|
|
1473
|
-
|
|
1506
|
+
type: string;
|
|
1474
1507
|
language: string;
|
|
1508
|
+
project: string;
|
|
1475
1509
|
features: {
|
|
1476
1510
|
issues: boolean;
|
|
1477
1511
|
tickets: boolean;
|
|
@@ -1493,13 +1527,6 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1493
1527
|
} & {
|
|
1494
1528
|
[k: string]: unknown;
|
|
1495
1529
|
};
|
|
1496
|
-
handoverFilenames: string[];
|
|
1497
|
-
warnings?: {
|
|
1498
|
-
message: string;
|
|
1499
|
-
type: string;
|
|
1500
|
-
file: string;
|
|
1501
|
-
}[] | undefined;
|
|
1502
|
-
}, {
|
|
1503
1530
|
issues: z.objectInputType<{
|
|
1504
1531
|
id: z.ZodString;
|
|
1505
1532
|
title: z.ZodString;
|
|
@@ -1536,8 +1563,8 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1536
1563
|
claimedBySession: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1537
1564
|
}, z.ZodTypeAny, "passthrough">[];
|
|
1538
1565
|
roadmap: {
|
|
1539
|
-
title: string;
|
|
1540
1566
|
date: string;
|
|
1567
|
+
title: string;
|
|
1541
1568
|
phases: z.objectInputType<{
|
|
1542
1569
|
id: z.ZodString;
|
|
1543
1570
|
label: z.ZodString;
|
|
@@ -1555,35 +1582,8 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1555
1582
|
} & {
|
|
1556
1583
|
[k: string]: unknown;
|
|
1557
1584
|
};
|
|
1558
|
-
version: 1;
|
|
1559
1585
|
project: string;
|
|
1560
1586
|
createdAt: string;
|
|
1561
|
-
config: {
|
|
1562
|
-
type: string;
|
|
1563
|
-
version: number;
|
|
1564
|
-
project: string;
|
|
1565
|
-
language: string;
|
|
1566
|
-
features: {
|
|
1567
|
-
issues: boolean;
|
|
1568
|
-
tickets: boolean;
|
|
1569
|
-
handovers: boolean;
|
|
1570
|
-
roadmap: boolean;
|
|
1571
|
-
reviews: boolean;
|
|
1572
|
-
} & {
|
|
1573
|
-
[k: string]: unknown;
|
|
1574
|
-
};
|
|
1575
|
-
schemaVersion?: number | undefined;
|
|
1576
|
-
recipe?: string | undefined;
|
|
1577
|
-
recipeOverrides?: {
|
|
1578
|
-
maxTicketsPerSession?: number | undefined;
|
|
1579
|
-
compactThreshold?: string | undefined;
|
|
1580
|
-
reviewBackends?: string[] | undefined;
|
|
1581
|
-
handoverInterval?: number | undefined;
|
|
1582
|
-
stages?: Record<string, Record<string, unknown>> | undefined;
|
|
1583
|
-
} | undefined;
|
|
1584
|
-
} & {
|
|
1585
|
-
[k: string]: unknown;
|
|
1586
|
-
};
|
|
1587
1587
|
notes?: z.objectInputType<{
|
|
1588
1588
|
id: z.ZodString;
|
|
1589
1589
|
title: z.ZodNullable<z.ZodString>;
|
|
@@ -1608,8 +1608,8 @@ declare const SnapshotV1Schema: z.ZodObject<{
|
|
|
1608
1608
|
status: z.ZodEnum<["active", "deprecated", "superseded"]>;
|
|
1609
1609
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
1610
1610
|
warnings?: {
|
|
1611
|
-
message: string;
|
|
1612
1611
|
type: string;
|
|
1612
|
+
message: string;
|
|
1613
1613
|
file: string;
|
|
1614
1614
|
}[] | undefined;
|
|
1615
1615
|
handoverFilenames?: string[] | undefined;
|
package/dist/mcp.js
CHANGED
|
@@ -7816,7 +7816,7 @@ function getInstalledVersion() {
|
|
|
7816
7816
|
}
|
|
7817
7817
|
}
|
|
7818
7818
|
function getRunningVersion() {
|
|
7819
|
-
return "0.1.
|
|
7819
|
+
return "0.1.55";
|
|
7820
7820
|
}
|
|
7821
7821
|
|
|
7822
7822
|
// src/autonomous/guide.ts
|
|
@@ -10055,7 +10055,7 @@ async function ensureGitignoreEntries(gitignorePath, entries) {
|
|
|
10055
10055
|
// src/mcp/index.ts
|
|
10056
10056
|
var ENV_VAR2 = "CLAUDESTORY_PROJECT_ROOT";
|
|
10057
10057
|
var CONFIG_PATH2 = ".story/config.json";
|
|
10058
|
-
var version = "0.1.
|
|
10058
|
+
var version = "0.1.55";
|
|
10059
10059
|
function tryDiscoverRoot() {
|
|
10060
10060
|
const envRoot = process.env[ENV_VAR2];
|
|
10061
10061
|
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.55",
|
|
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": [
|
package/src/skill/SKILL.md
CHANGED
|
@@ -272,6 +272,8 @@ options:
|
|
|
272
272
|
- "None" -- skip automated review
|
|
273
273
|
```
|
|
274
274
|
|
|
275
|
+
Note: this sets the top-level `reviewBackends`. If the config has per-stage overrides in `stages.PLAN_REVIEW.backends` or `stages.CODE_REVIEW.backends`, those take precedence. When displaying settings, check for per-stage overrides and show them if present.
|
|
276
|
+
|
|
275
277
|
**Handover frequency:**
|
|
276
278
|
```
|
|
277
279
|
AskUserQuestion: "Write a handover after every N tickets?"
|
|
@@ -284,15 +286,28 @@ options: "Every ticket", "Every 3 tickets (default)", "Every 5 tickets", "Manual
|
|
|
284
286
|
claudestory config set-overrides --json '<constructed JSON>'
|
|
285
287
|
```
|
|
286
288
|
|
|
287
|
-
|
|
289
|
+
**IMPORTANT:** The `--json` argument takes only the `recipeOverrides` object, NOT the full config. Top-level fields (version, project, type, language) are NOT settable via this command.
|
|
290
|
+
```
|
|
291
|
+
# Correct:
|
|
292
|
+
claudestory config set-overrides --json '{"maxTicketsPerSession": 10}'
|
|
293
|
+
|
|
294
|
+
# Correct (stages):
|
|
295
|
+
claudestory config set-overrides --json '{"stages": {"VERIFY": {"enabled": true}}}'
|
|
296
|
+
|
|
297
|
+
# WRONG -- do not include top-level fields:
|
|
298
|
+
claudestory config set-overrides --json '{"version": 2, "project": "foo"}'
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
Show a confirmation of what changed, then ask if the user wants to change anything else or is done. If done, return to normal session.
|
|
288
302
|
|
|
289
303
|
### Config Schema Reference
|
|
290
304
|
|
|
291
|
-
Do NOT search source code for this. The schema is
|
|
305
|
+
Do NOT search source code for this. The full config.json schema is shown below. Only the `recipeOverrides` section is settable via `config set-overrides`.
|
|
292
306
|
|
|
293
307
|
```json
|
|
294
308
|
{
|
|
295
309
|
"version": 2,
|
|
310
|
+
"schemaVersion": 1,
|
|
296
311
|
"project": "string",
|
|
297
312
|
"type": "string (npm, cargo, pip, etc.)",
|
|
298
313
|
"language": "string",
|
|
@@ -302,7 +317,7 @@ Do NOT search source code for this. The schema is:
|
|
|
302
317
|
},
|
|
303
318
|
"recipe": "string (default: coding)",
|
|
304
319
|
"recipeOverrides": {
|
|
305
|
-
"maxTicketsPerSession": "number (0 = unlimited, default:
|
|
320
|
+
"maxTicketsPerSession": "number (0 = unlimited, default: 5)",
|
|
306
321
|
"compactThreshold": "string (high/medium/low, default: high)",
|
|
307
322
|
"reviewBackends": ["codex", "agent"],
|
|
308
323
|
"handoverInterval": "number (default: 3)",
|
|
@@ -326,6 +341,12 @@ Do NOT search source code for this. The schema is:
|
|
|
326
341
|
"enabled": "boolean",
|
|
327
342
|
"command": "string (default: npm run build)"
|
|
328
343
|
},
|
|
344
|
+
"PLAN_REVIEW": {
|
|
345
|
+
"backends": ["codex", "agent"]
|
|
346
|
+
},
|
|
347
|
+
"CODE_REVIEW": {
|
|
348
|
+
"backends": ["codex", "agent"]
|
|
349
|
+
},
|
|
329
350
|
"LESSON_CAPTURE": { "enabled": "boolean" },
|
|
330
351
|
"ISSUE_SWEEP": { "enabled": "boolean" }
|
|
331
352
|
}
|