@anthropologies/claudestory 0.1.45 → 0.1.46
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 +45 -13
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.46";
|
|
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.46";
|
|
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.46";
|
|
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.46";
|
|
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.46";
|
|
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.46",
|
|
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
|
@@ -81,19 +81,49 @@ After `claudestory_status` returns, check in order:
|
|
|
81
81
|
|
|
82
82
|
## Step 3: Present Summary
|
|
83
83
|
|
|
84
|
-
After loading context, present a summary
|
|
84
|
+
After loading context, present a summary with two parts: a conversational intro (2-3 sentences catching the user up), then structured tables showing actionable data.
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
- Project progress (X/Y tickets complete, current phase)
|
|
88
|
-
- What changed since last snapshot (from recap)
|
|
89
|
-
- What the last session accomplished (from handover -- keep it to 1-2 sentences)
|
|
90
|
-
- The recommended next ticket and why it's next (unblocked, high priority, continues recent work)
|
|
91
|
-
- Any high-severity issues or blockers worth knowing about
|
|
92
|
-
- Key process rules (from lessons digest -- only if there are lessons)
|
|
86
|
+
**Part 1: Conversational intro (2-3 sentences)**
|
|
93
87
|
|
|
94
|
-
|
|
88
|
+
Open with the project name and progress. Mention what the last session accomplished in one sentence. Note anything important (no git repo, open issues, blockers). Keep it brief -- the tables carry the detail.
|
|
95
89
|
|
|
96
|
-
**
|
|
90
|
+
**Part 2: Structured tables**
|
|
91
|
+
|
|
92
|
+
**Ready to Work** -- call `claudestory_recommend` for context-aware suggestions, then show a table of unblocked tickets ready to be picked up:
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
## Ready to Work
|
|
96
|
+
| Ticket | Title | Phase |
|
|
97
|
+
|--------|-----------------------------------|------------|
|
|
98
|
+
| T-001 | Project setup | foundation |
|
|
99
|
+
| T-011 | Rate agreement conditions schema | foundation |
|
|
100
|
+
| T-012 | Audit trail infrastructure | foundation |
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Show up to 5 unblocked tickets. If more exist, note "(+N more unblocked)".
|
|
104
|
+
|
|
105
|
+
**Decisions Pending** (only if there are TBD items in CLAUDE.md or undecided tech choices from the brief):
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
## Decisions Pending
|
|
109
|
+
- PDF generation: managed service vs pure-JS (affects T-030)
|
|
110
|
+
- Background jobs: Inngest vs Trigger.dev vs Vercel Cron (affects T-001)
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Open Issues** (only if issues exist with status "open"):
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
## Open Issues
|
|
117
|
+
| Issue | Title | Severity |
|
|
118
|
+
|----------|------------------------|----------|
|
|
119
|
+
| ISS-001 | Auth token expiry bug | high |
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Key Rules** (from lessons digest -- only if lessons exist, keep to 2-3 most important):
|
|
123
|
+
|
|
124
|
+
Show as a brief callout, not a full list. Example: "Rules: integer cents for money, billing engine is pure logic, TDD for billing."
|
|
125
|
+
|
|
126
|
+
**First session guide (show only when handover count is 0 or 1):**
|
|
97
127
|
|
|
98
128
|
```
|
|
99
129
|
Tip: You can also use these modes anytime:
|
|
@@ -102,18 +132,20 @@ Tip: You can also use these modes anytime:
|
|
|
102
132
|
/story review T-XXX Review code you already wrote
|
|
103
133
|
```
|
|
104
134
|
|
|
105
|
-
Show this once or twice, then never again.
|
|
135
|
+
Show this once or twice, then never again.
|
|
136
|
+
|
|
137
|
+
**Part 3: AskUserQuestion**
|
|
106
138
|
|
|
107
139
|
End with `AskUserQuestion`:
|
|
108
140
|
- question: "What would you like to do?"
|
|
109
141
|
- header: "Next"
|
|
110
142
|
- options:
|
|
111
|
-
- "Work on [recommended ticket title]" -- the ticket
|
|
143
|
+
- "Work on [first recommended ticket ID + title] (Recommended)" -- the top ticket from the Ready table
|
|
112
144
|
- "Something else" -- I'll ask what you have in mind
|
|
113
145
|
- "Autonomous mode" -- I'll work through tickets on my own
|
|
114
146
|
- (Other always available for free-text input)
|
|
115
147
|
|
|
116
|
-
|
|
148
|
+
Most users want the recommended ticket -- make that one tap.
|
|
117
149
|
|
|
118
150
|
## Session Lifecycle
|
|
119
151
|
|