@dendelion/paper-camp 0.4.0 → 0.5.0
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/README.md +6 -0
- package/dist/app/assets/main-BN5y2u1i.js +216 -0
- package/dist/app/assets/main-BN5y2u1i.js.map +1 -0
- package/dist/app/assets/main-DvILXiwx.css +1 -0
- package/dist/app/index.html +2 -2
- package/dist/chunks/{serializer.B8u-L8BI.js → serializer._5uZJ4OM.js} +956 -816
- package/dist/chunks/serializer._5uZJ4OM.js.map +1 -0
- package/dist/cli/index.js +17157 -1465
- package/dist/cli/index.js.map +1 -1
- package/dist/core/content-hash.d.ts +14 -0
- package/dist/core/content-hash.d.ts.map +1 -0
- package/dist/core/content-hash.test.d.ts +2 -0
- package/dist/core/content-hash.test.d.ts.map +1 -0
- package/dist/core/idea-status.d.ts.map +1 -1
- package/dist/core/idea-status.test.d.ts +2 -0
- package/dist/core/idea-status.test.d.ts.map +1 -0
- package/dist/core/index.js +22 -21
- package/dist/core/parser.d.ts.map +1 -1
- package/dist/core/scaffold.d.ts.map +1 -1
- package/dist/core/scaffold.test.d.ts +2 -0
- package/dist/core/scaffold.test.d.ts.map +1 -0
- package/dist/core/schemas.d.ts +5 -0
- package/dist/core/schemas.d.ts.map +1 -1
- package/dist/core/serializer.d.ts +9 -0
- package/dist/core/serializer.d.ts.map +1 -1
- package/dist/core/templates.d.ts +9 -0
- package/dist/core/templates.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +11 -4
- package/dist/app/assets/main-6nYButky.js +0 -232
- package/dist/app/assets/main-6nYButky.js.map +0 -1
- package/dist/app/assets/main-DUnpdvQF.css +0 -1
- package/dist/chunks/serializer.B8u-L8BI.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PhaseItem } from '../types/index';
|
|
2
|
+
interface PlanContentInput {
|
|
3
|
+
body: string;
|
|
4
|
+
phases: PhaseItem[];
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Hashes a plan's meaningful content (phases + body prose), deliberately
|
|
8
|
+
* ignoring `audited`/`audited-hash` and any other metadata so that
|
|
9
|
+
* stamping the audit fields never changes the hash of the content it
|
|
10
|
+
* describes.
|
|
11
|
+
*/
|
|
12
|
+
export declare function computePlanContentHash(plan: PlanContentInput): string;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=content-hash.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-hash.d.ts","sourceRoot":"","sources":["../../src/core/content-hash.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,CAWrE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-hash.test.d.ts","sourceRoot":"","sources":["../../src/core/content-hash.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idea-status.d.ts","sourceRoot":"","sources":["../../src/core/idea-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3D;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"idea-status.d.ts","sourceRoot":"","sources":["../../src/core/idea-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3D;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAkBtF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idea-status.test.d.ts","sourceRoot":"","sources":["../../src/core/idea-status.test.ts"],"names":[],"mappings":""}
|
package/dist/core/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { A as e, P as r, a as n, b as t, c as i, d as o, e as l, f as d, g as p, h as m, i as P, j as E, k as S, l as c, m as f, n as
|
|
2
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as e, P as r, a as n, b as t, c as i, d as o, e as l, f as d, g as p, h as m, i as P, j as E, k as S, l as c, m as f, n as I, o as A, p as F, q as g, r as N, s as h, t as y, u as T, v as _, w as C, x as D, y as O, z as u, B as L, C as x, D as G, E as Q, F as v, G as M, H as z, I as B, J as R, K as j, L as k, M as w, N as K, O as U, Q as b } from "../chunks/serializer._5uZJ4OM.js";
|
|
2
|
+
import { AGENT_IDS as H, AGENT_LABELS as J, AGENT_OPTIONS as V, DEFAULT_AGENTS as W, PLAN_KINDS as X, PLAN_STATUSES as Y, coerceAgentConfig as Z } from "../types/index.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
H as AGENT_IDS,
|
|
5
|
+
J as AGENT_LABELS,
|
|
6
|
+
V as AGENT_OPTIONS,
|
|
7
7
|
e as AlreadyInitializedError,
|
|
8
|
-
|
|
8
|
+
W as DEFAULT_AGENTS,
|
|
9
9
|
r as PAPER_CAMP_VERSION,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
X as PLAN_KINDS,
|
|
11
|
+
Y as PLAN_STATUSES,
|
|
12
12
|
n as agentConfigSchema,
|
|
13
13
|
t as appendBlock,
|
|
14
14
|
i as applyEnvEntries,
|
|
15
15
|
o as archivePlanFile,
|
|
16
16
|
l as assignPlanId,
|
|
17
|
-
|
|
17
|
+
Z as coerceAgentConfig,
|
|
18
18
|
d as dateString,
|
|
19
19
|
p as decisionFieldsSchema,
|
|
20
20
|
m as findConsistencyIssues,
|
|
@@ -23,9 +23,9 @@ export {
|
|
|
23
23
|
S as formatIdeasIndex,
|
|
24
24
|
c as formatOpenQuestionEntry,
|
|
25
25
|
f as formatOpenQuestions,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
I as formatPlanEntry,
|
|
27
|
+
A as formatPlanFile,
|
|
28
|
+
F as formatPlans,
|
|
29
29
|
g as formatPlansIndex,
|
|
30
30
|
N as formatProgressEntry,
|
|
31
31
|
h as ideaFrontmatterSchema,
|
|
@@ -39,16 +39,17 @@ export {
|
|
|
39
39
|
L as parseIdeas,
|
|
40
40
|
x as parseOpenQuestions,
|
|
41
41
|
G as parsePlanFile,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
Q as parsePlans,
|
|
43
|
+
v as parseProgress,
|
|
44
|
+
M as parseRawEntries,
|
|
45
45
|
z as planFieldsSchema,
|
|
46
46
|
B as planFrontmatterSchema,
|
|
47
|
-
R as
|
|
48
|
-
j as
|
|
49
|
-
k as
|
|
50
|
-
w as
|
|
51
|
-
K as
|
|
52
|
-
U as
|
|
47
|
+
R as prependProgressItem,
|
|
48
|
+
j as readAllIdeaFiles,
|
|
49
|
+
k as readAllPlanFiles,
|
|
50
|
+
w as readIdeasMerged,
|
|
51
|
+
K as readPlansMerged,
|
|
52
|
+
U as serializeFrontmatter,
|
|
53
|
+
b as todayDateString
|
|
53
54
|
};
|
|
54
55
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/core/parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACV,gBAAgB,EAChB,aAAa,EACb,SAAS,EA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,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAAC,aAAa,CAAC,CAwB3E;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAyBnF;AAQD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAChC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GACnB;IAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,YAAY,EAAE,CAAA;CAAE,CAyC5D;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAwCrE;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAmBrE;AAMD;8EAC8E;AAC9E,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,CAYxD;AAED;;0BAE0B;AAC1B,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,aAAa,EAAE,EAC1B,aAAa,EAAE,iBAAiB,EAAE,EAClC,KAAK,EAAE,SAAS,EAAE,GACjB,gBAAgB,EAAE,CA0CpB;AAKD,kGAAkG;AAClG,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,EAAE,CAwB/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../src/core/scaffold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../src/core/scaffold.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,kBAAkB,UAAU,CAAC;AAE1C,qBAAa,uBAAwB,SAAQ,KAAK;gBACpC,SAAS,EAAE,MAAM;CAG9B;AAaD,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAkDxF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scaffold.test.d.ts","sourceRoot":"","sources":["../../src/core/scaffold.test.ts"],"names":[],"mappings":""}
|
package/dist/core/schemas.d.ts
CHANGED
|
@@ -77,11 +77,16 @@ export declare const planFrontmatterSchema: z.ZodObject<{
|
|
|
77
77
|
created: z.ZodString;
|
|
78
78
|
updated: z.ZodOptional<z.ZodString>;
|
|
79
79
|
audited: z.ZodOptional<z.ZodString>;
|
|
80
|
+
'audited-hash': z.ZodOptional<z.ZodString>;
|
|
80
81
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
82
|
}, z.core.$strip>;
|
|
82
83
|
export declare const ideaFrontmatterSchema: z.ZodObject<{
|
|
83
84
|
id: z.ZodString;
|
|
84
85
|
title: z.ZodString;
|
|
86
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
planned: "planned";
|
|
88
|
+
done: "done";
|
|
89
|
+
}>>;
|
|
85
90
|
}, z.core.$strip>;
|
|
86
91
|
export declare const paperCampConfigSchema: z.ZodObject<{
|
|
87
92
|
version: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/core/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;kBAO7B,CAAC;AAEF,eAAO,MAAM,UAAU,aAAiE,CAAC;AAQzF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;iBAS3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;iBAI/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;iBAKnC,CAAC;AAYH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/core/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;kBAO7B,CAAC;AAEF,eAAO,MAAM,UAAU,aAAiE,CAAC;AAQzF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;iBAS3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;iBAI/B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;iBAKnC,CAAC;AAYH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmBhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;iBAShC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBhC,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -43,6 +43,13 @@ interface NewOpenQuestionInput {
|
|
|
43
43
|
}
|
|
44
44
|
export declare function formatOpenQuestionEntry(input: NewOpenQuestionInput): string;
|
|
45
45
|
export declare function formatProgressEntry(date: string, items: string[]): string;
|
|
46
|
+
/**
|
|
47
|
+
* Prepends a single bullet under today's `## YYYY-MM-DD` heading at the top of a
|
|
48
|
+
* progress.md file, creating the heading if today's isn't already there (newest
|
|
49
|
+
* day stays first). Shared by the agent's progress hook and the PostToolUse
|
|
50
|
+
* new-file logger so both write the same grammar.
|
|
51
|
+
*/
|
|
52
|
+
export declare function prependProgressItem(progressPath: string, item: string): Promise<void>;
|
|
46
53
|
/** Serializes an array of plan entries back to a plans.md file. */
|
|
47
54
|
export declare function formatPlans(entries: NewPlanInput[]): string;
|
|
48
55
|
/** Serializes an array of open-question entries back to an open-questions.md file. */
|
|
@@ -60,6 +67,7 @@ interface NewPlanFileInput {
|
|
|
60
67
|
created: string;
|
|
61
68
|
updated?: string;
|
|
62
69
|
audited?: string;
|
|
70
|
+
auditedHash?: string;
|
|
63
71
|
tags?: string[];
|
|
64
72
|
body?: string;
|
|
65
73
|
phases?: PhaseItem[];
|
|
@@ -83,6 +91,7 @@ export declare function formatPlanFile(input: NewPlanFileInput): string;
|
|
|
83
91
|
interface NewIdeaFileInput {
|
|
84
92
|
id: string;
|
|
85
93
|
title: string;
|
|
94
|
+
status?: string;
|
|
86
95
|
body?: string;
|
|
87
96
|
}
|
|
88
97
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../src/core/serializer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhF,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAID;;;;;;;GAOG;AACH,wBAAsB,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAmBhG;AAED,UAAU,YAAY;IACpB,KAAK,EAAE,MAA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MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,gBAAgB,GAAG,MAAM,CAY9D;AAED;;;;GAIG;AACH,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAepF;AAMD,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG,MAAM,CAgB7D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,MAAM,CAgB3D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static file contents scaffolded by `paper-camp init` for the Claude Code
|
|
3
|
+
* native integration: the discoverable skill and the SessionStart/PostToolUse
|
|
4
|
+
* hook wiring. Kept in one place so `init`'s no-clobber writes stay simple
|
|
5
|
+
* string dumps.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SKILL_MD_CONTENT = "---\nname: paper-camp\ndescription: Work inside a project that has a papercamp/ folder \u2014 its per-file plans, ideas, decisions log, open questions, and progress log. Use this whenever the working directory contains papercamp/ (papercamp/plans/, papercamp/ideas/, papercamp/decisions.md, papercamp/open-questions.md, papercamp/progress.md), and especially before starting, continuing, or completing any plan phase, drafting an idea, logging a decision, or answering \"what are we working on / what's next\".\n---\n\n# Paper Camp\n\nPaper Camp is this project's planning methodology: plans, ideas, decisions, and\nopen questions live as markdown files under `papercamp/`, and an append-only\n`papercamp/progress.md` is the changelog. This skill tells you how to read that\nstate before acting and how to keep it honest as you work.\n\nIf a `papercamp` MCP server is connected in this session, prefer its tools\n(list/get plans, update phase, append progress, etc.) over raw file access \u2014\nthey enforce the same guards (id allocation, branch conflicts) that the file\ngrammar below assumes. Everything in this skill still applies conceptually;\nonly the mechanism changes.\n\n## Before doing any work\n\nRead, in this order, whatever exists:\n\n1. `papercamp/plans/index.md` \u2014 every plan's id/title/status/tags, at a glance.\n2. The specific plan file at `papercamp/plans/<ID>.md` (e.g. `FEAT-31.md`) for\n the plan you're about to work on. Each plan is YAML frontmatter (`id`,\n `title`, `kind`, `status`, `tags`, ...) plus prose, then a `### Phases`\n list of `- [ ]`/`- [x]` checkboxes with an indented description under each.\n3. `papercamp/ideas/index.md` and any linked idea file \u2014 plans often trace\n back to an `idea:` field; the idea explains *why*, the plan explains *what*.\n4. `papercamp/decisions.md` \u2014 settled calls that constrain your approach.\n Don't re-litigate a logged decision without flagging it to the user first.\n5. `papercamp/open-questions.md` \u2014 unresolved questions that might block or\n redirect the work you're about to start.\n6. The last handful of entries in `papercamp/progress.md` for recent context\n on what just happened.\n\nSkip files that don't exist yet (a fresh project may have empty logs).\n\n## While working\n\n- Work one plan phase at a time unless told otherwise \u2014 don't cascade into\n later phases just because they look quick.\n- If a phase's boundary or intent is unclear, ask before continuing.\n- Prose in plans and ideas is more current than your memory of past\n conversations. If they conflict, the files win \u2014 say so and resync.\n\n## Keep the project current as you go\n\n- **Plan phases**: when you finish a phase, flip its checkbox from `- [ ]` to\n `- [x]` in the plan's frontmatter file. Change only that line \u2014 don't touch\n other phases or prose.\n- **Plan status**: keep the plan's `status:` frontmatter honest\n (`planned` / `in-progress` / `review` / `done`). When every phase is\n checked, set status to `review` \u2014 never `done`. `done` is a human-only\n promotion after review; an agent finishing the last phase does not close\n the plan itself.\n- **Progress log**: add one bullet describing what you did under today's\n `## YYYY-MM-DD` heading at the top of `papercamp/progress.md` (newest day\n first; create the heading if today's isn't there yet). Be specific enough\n that a future read of the log alone explains what changed and why, without\n needing to re-read the diff.\n- **Decisions / open questions**: if you settle something ambiguous while\n working, log it in `papercamp/decisions.md`; if you surface a question you\n can't resolve yourself, add it to `papercamp/open-questions.md` rather than\n guessing silently.\n\n## What this skill deliberately does not do\n\nIt does not maintain a separate \"current focus\" file \u2014 that's derived at\nsession start from live plan/progress data, not hand-maintained here. It does\nnot define the file formats in full; treat the existing files under\n`papercamp/` as the grammar reference (mirror their structure exactly rather\nthan inventing a new shape).\n";
|
|
8
|
+
export declare const CLAUDE_SETTINGS_JSON: string;
|
|
9
|
+
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/core/templates.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,gBAAgB,skIAyE5B,CAAC;AAIF,eAAO,MAAM,oBAAoB,QAmB5B,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export interface PlanEntry {
|
|
|
44
44
|
created: string;
|
|
45
45
|
updated?: string;
|
|
46
46
|
audited?: string;
|
|
47
|
+
auditedHash?: string;
|
|
47
48
|
tags: string[];
|
|
48
49
|
body: string;
|
|
49
50
|
phases: PhaseItem[];
|
|
@@ -116,6 +117,8 @@ export interface PaperCampConfig {
|
|
|
116
117
|
nextId?: Record<PlanKind, number>;
|
|
117
118
|
port?: number;
|
|
118
119
|
defaultAgents?: DefaultAgentsMap;
|
|
120
|
+
/** Off by default. When true, the PostToolUse hook logs new-file creations to progress.md. */
|
|
121
|
+
autoLogNewFiles?: boolean;
|
|
119
122
|
}
|
|
120
123
|
export type CheckStatus = 'stale' | 'running' | 'pass' | 'fail';
|
|
121
124
|
export interface CheckResult {
|
|
@@ -123,7 +126,7 @@ export interface CheckResult {
|
|
|
123
126
|
lastRun: string | null;
|
|
124
127
|
output: string;
|
|
125
128
|
}
|
|
126
|
-
export type CheckName = 'lint' | 'format' | 'test';
|
|
129
|
+
export type CheckName = 'lint' | 'format' | 'test' | 'consistency';
|
|
127
130
|
export interface GitStatusEntry {
|
|
128
131
|
path: string;
|
|
129
132
|
status: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAA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,GACf,cAAc,GACd,mBAAmB,GACnB,OAAO,GACP,MAAM,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC;AAErF,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,OAAO,GACP,aAAa,GACb,SAAS,GACT,OAAO,GACP,QAAQ,GACR,gBAAgB,GAChB,MAAM,GACN,WAAW,CAAC;AAEhB,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB"}
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/types/index.ts"],"sourcesContent":["export type PlanStatus = 'idea' | 'planned' | 'in-progress' | 'review' | 'done' | 'dropped';\n\nexport const PLAN_STATUSES: PlanStatus[] = [\n 'idea',\n 'planned',\n 'in-progress',\n 'review',\n 'done',\n 'dropped',\n];\n\nexport interface LogEntry {\n date: string;\n text: string;\n}\n\nexport type PlanKind = 'feat' | 'fix' | 'chore' | 'docs' | 'refactor';\n\nexport const PLAN_KINDS: PlanKind[] = ['feat', 'fix', 'chore', 'docs', 'refactor'];\n\nexport const AGENT_IDS = ['claude-code', 'opencode'] as const;\n\nexport type AgentId = (typeof AGENT_IDS)[number];\n\nexport const AGENT_LABELS: Record<AgentId, string> = {\n 'claude-code': 'Claude Code',\n opencode: 'OpenCode',\n};\n\nexport type DecisionStatus = 'decided' | 'superseded';\n\nexport type QuestionStatus = 'open' | 'resolved';\n\nexport interface PhaseItem {\n done: boolean;\n text: string;\n description?: string;\n source?: 'review';\n}\n\n/** Raw shape produced by the generic heading-block parser, before per-file validation. */\nexport interface RawEntry {\n title: string;\n fields: Record<string, string>;\n body: string;\n phases: PhaseItem[];\n log?: LogEntry[];\n clarifications?: LogEntry[];\n}\n\nexport interface ParseWarning {\n title: string;\n message: string;\n}\n\nexport interface ParseResult<T> {\n entries: T[];\n warnings: ParseWarning[];\n}\n\nexport interface PlanEntry {\n title: string;\n status: PlanStatus;\n kind?: PlanKind;\n id?: string;\n idea?: string;\n agent?: AgentId;\n created: string;\n updated?: string;\n audited?: string;\n tags: string[];\n body: string;\n phases: PhaseItem[];\n log?: LogEntry[];\n clarifications?: LogEntry[];\n}\n\nexport interface DecisionEntry {\n title: string;\n date: string;\n status: DecisionStatus;\n supersededBy?: string;\n body: string;\n}\n\nexport interface OpenQuestionEntry {\n title: string;\n status: QuestionStatus;\n raised: string;\n resolvedBy?: string;\n blocks?: string;\n body: string;\n}\n\nexport type ConsistencyIssueKind =\n | 'dangling-resolved-by'\n | 'dangling-superseded-by'\n | 'blocked-plan-active';\n\nexport interface ConsistencyIssue {\n kind: ConsistencyIssueKind;\n section: 'decisions' | 'open-questions';\n title: string;\n message: string;\n planId?: string;\n}\n\nexport type IdeaStatus = 'planned' | 'done';\n\nexport interface IdeaEntry {\n id: string | null;\n title: string;\n body: string;\n status?: IdeaStatus;\n}\n\nexport interface ProgressEntry {\n date: string;\n items: string[];\n}\n\nexport interface EnvEntry {\n key: string;\n value: string;\n}\n\nexport interface AgentConfig {\n agent: AgentId;\n model?: string;\n effort?: string;\n}\n\n/** Model/effort passed to an adapter's buildArgs — the AgentConfig minus the agent id. */\nexport interface AgentRunOptions {\n model?: string;\n effort?: string;\n}\n\n/** Maps option names to a fixed value list (renders a Select) or null (free-text or hidden). */\nexport type AgentOptionsDescriptor = Record<string, string[] | null | undefined>;\n\nexport const AGENT_OPTIONS: Record<AgentId, AgentOptionsDescriptor> = {\n 'claude-code': {\n model: ['opus', 'sonnet', 'fable', 'haiku'],\n effort: ['low', 'medium', 'high', 'xhigh', 'max'],\n },\n opencode: {\n model: null,\n },\n};\n\nexport function coerceAgentConfig(v: unknown): AgentConfig {\n const toAgent = (a: unknown): AgentId =>\n AGENT_IDS.includes(a as AgentId) ? (a as AgentId) : 'claude-code';\n if (typeof v === 'string') return { agent: toAgent(v) };\n // Tolerate null/undefined and partial legacy entries — a missing key must not\n // throw (that would 500 the /api/config read this coercion exists to protect).\n const obj = (v ?? {}) as Record<string, unknown>;\n return {\n agent: toAgent(obj.agent),\n ...(typeof obj.model === 'string' && { model: obj.model }),\n ...(typeof obj.effort === 'string' && { effort: obj.effort }),\n };\n}\n\nexport interface DefaultAgentsMap {\n phase: AgentConfig;\n planDraft: AgentConfig;\n ideaExtend: AgentConfig;\n commitSuggest: AgentConfig;\n}\n\nexport const DEFAULT_AGENTS: DefaultAgentsMap = {\n phase: { agent: 'opencode' },\n planDraft: { agent: 'claude-code' },\n ideaExtend: { agent: 'claude-code' },\n commitSuggest: { agent: 'claude-code' },\n};\n\nexport interface PaperCampConfig {\n version: string;\n projectName: string;\n initializedAt: string;\n nextId?: Record<PlanKind, number>;\n port?: number;\n defaultAgents?: DefaultAgentsMap;\n}\n\nexport type CheckStatus = 'stale' | 'running' | 'pass' | 'fail';\n\nexport interface CheckResult {\n status: CheckStatus;\n lastRun: string | null;\n output: string;\n}\n\nexport type CheckName = 'lint' | 'format' | 'test';\n\nexport interface GitStatusEntry {\n path: string;\n status: string;\n staged: boolean;\n renameSource?: string;\n}\n\nexport interface GitStatusResponse {\n branch: string;\n entries: GitStatusEntry[];\n ahead: number;\n branchHygiene: BranchHygieneStatus;\n}\n\nexport type BranchHygieneStatus =\n | 'clean-on-main'\n | 'stale-merged'\n | 'stale-no-upstream'\n | 'dirty'\n | 'fine';\n\nexport type AgentTaskStatus = 'starting' | 'running' | 'stopping' | 'done' | 'error';\n\nexport type TaskKind =\n | 'phase'\n | 'audit'\n | 'batch-audit'\n | 'run-all'\n | 'draft'\n | 'extend'\n | 'commit-suggest'\n | 'sync'\n | 'reconcile';\n\nexport interface AgentTaskState {\n status: AgentTaskStatus;\n taskKind: TaskKind;\n planTitle: string;\n planId?: string;\n phaseIndex?: number;\n ideaId?: string;\n agentId: AgentId;\n lines: string[];\n}\n"],"names":["PLAN_STATUSES","PLAN_KINDS","AGENT_IDS","AGENT_LABELS","AGENT_OPTIONS","coerceAgentConfig","v","toAgent","a","obj","DEFAULT_AGENTS"],"mappings":"AAEO,MAAMA,IAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GASaC,IAAyB,CAAC,QAAQ,OAAO,SAAS,QAAQ,UAAU,GAEpEC,IAAY,CAAC,eAAe,UAAU,GAItCC,IAAwC;AAAA,EACnD,eAAe;AAAA,EACf,UAAU;AACZ,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/types/index.ts"],"sourcesContent":["export type PlanStatus = 'idea' | 'planned' | 'in-progress' | 'review' | 'done' | 'dropped';\n\nexport const PLAN_STATUSES: PlanStatus[] = [\n 'idea',\n 'planned',\n 'in-progress',\n 'review',\n 'done',\n 'dropped',\n];\n\nexport interface LogEntry {\n date: string;\n text: string;\n}\n\nexport type PlanKind = 'feat' | 'fix' | 'chore' | 'docs' | 'refactor';\n\nexport const PLAN_KINDS: PlanKind[] = ['feat', 'fix', 'chore', 'docs', 'refactor'];\n\nexport const AGENT_IDS = ['claude-code', 'opencode'] as const;\n\nexport type AgentId = (typeof AGENT_IDS)[number];\n\nexport const AGENT_LABELS: Record<AgentId, string> = {\n 'claude-code': 'Claude Code',\n opencode: 'OpenCode',\n};\n\nexport type DecisionStatus = 'decided' | 'superseded';\n\nexport type QuestionStatus = 'open' | 'resolved';\n\nexport interface PhaseItem {\n done: boolean;\n text: string;\n description?: string;\n source?: 'review';\n}\n\n/** Raw shape produced by the generic heading-block parser, before per-file validation. */\nexport interface RawEntry {\n title: string;\n fields: Record<string, string>;\n body: string;\n phases: PhaseItem[];\n log?: LogEntry[];\n clarifications?: LogEntry[];\n}\n\nexport interface ParseWarning {\n title: string;\n message: string;\n}\n\nexport interface ParseResult<T> {\n entries: T[];\n warnings: ParseWarning[];\n}\n\nexport interface PlanEntry {\n title: string;\n status: PlanStatus;\n kind?: PlanKind;\n id?: string;\n idea?: string;\n agent?: AgentId;\n created: string;\n updated?: string;\n audited?: string;\n auditedHash?: string;\n tags: string[];\n body: string;\n phases: PhaseItem[];\n log?: LogEntry[];\n clarifications?: LogEntry[];\n}\n\nexport interface DecisionEntry {\n title: string;\n date: string;\n status: DecisionStatus;\n supersededBy?: string;\n body: string;\n}\n\nexport interface OpenQuestionEntry {\n title: string;\n status: QuestionStatus;\n raised: string;\n resolvedBy?: string;\n blocks?: string;\n body: string;\n}\n\nexport type ConsistencyIssueKind =\n | 'dangling-resolved-by'\n | 'dangling-superseded-by'\n | 'blocked-plan-active';\n\nexport interface ConsistencyIssue {\n kind: ConsistencyIssueKind;\n section: 'decisions' | 'open-questions';\n title: string;\n message: string;\n planId?: string;\n}\n\nexport type IdeaStatus = 'planned' | 'done';\n\nexport interface IdeaEntry {\n id: string | null;\n title: string;\n body: string;\n status?: IdeaStatus;\n}\n\nexport interface ProgressEntry {\n date: string;\n items: string[];\n}\n\nexport interface EnvEntry {\n key: string;\n value: string;\n}\n\nexport interface AgentConfig {\n agent: AgentId;\n model?: string;\n effort?: string;\n}\n\n/** Model/effort passed to an adapter's buildArgs — the AgentConfig minus the agent id. */\nexport interface AgentRunOptions {\n model?: string;\n effort?: string;\n}\n\n/** Maps option names to a fixed value list (renders a Select) or null (free-text or hidden). */\nexport type AgentOptionsDescriptor = Record<string, string[] | null | undefined>;\n\nexport const AGENT_OPTIONS: Record<AgentId, AgentOptionsDescriptor> = {\n 'claude-code': {\n model: ['opus', 'sonnet', 'fable', 'haiku'],\n effort: ['low', 'medium', 'high', 'xhigh', 'max'],\n },\n opencode: {\n model: null,\n },\n};\n\nexport function coerceAgentConfig(v: unknown): AgentConfig {\n const toAgent = (a: unknown): AgentId =>\n AGENT_IDS.includes(a as AgentId) ? (a as AgentId) : 'claude-code';\n if (typeof v === 'string') return { agent: toAgent(v) };\n // Tolerate null/undefined and partial legacy entries — a missing key must not\n // throw (that would 500 the /api/config read this coercion exists to protect).\n const obj = (v ?? {}) as Record<string, unknown>;\n return {\n agent: toAgent(obj.agent),\n ...(typeof obj.model === 'string' && { model: obj.model }),\n ...(typeof obj.effort === 'string' && { effort: obj.effort }),\n };\n}\n\nexport interface DefaultAgentsMap {\n phase: AgentConfig;\n planDraft: AgentConfig;\n ideaExtend: AgentConfig;\n commitSuggest: AgentConfig;\n}\n\nexport const DEFAULT_AGENTS: DefaultAgentsMap = {\n phase: { agent: 'opencode' },\n planDraft: { agent: 'claude-code' },\n ideaExtend: { agent: 'claude-code' },\n commitSuggest: { agent: 'claude-code' },\n};\n\nexport interface PaperCampConfig {\n version: string;\n projectName: string;\n initializedAt: string;\n nextId?: Record<PlanKind, number>;\n port?: number;\n defaultAgents?: DefaultAgentsMap;\n /** Off by default. When true, the PostToolUse hook logs new-file creations to progress.md. */\n autoLogNewFiles?: boolean;\n}\n\nexport type CheckStatus = 'stale' | 'running' | 'pass' | 'fail';\n\nexport interface CheckResult {\n status: CheckStatus;\n lastRun: string | null;\n output: string;\n}\n\nexport type CheckName = 'lint' | 'format' | 'test' | 'consistency';\n\nexport interface GitStatusEntry {\n path: string;\n status: string;\n staged: boolean;\n renameSource?: string;\n}\n\nexport interface GitStatusResponse {\n branch: string;\n entries: GitStatusEntry[];\n ahead: number;\n branchHygiene: BranchHygieneStatus;\n}\n\nexport type BranchHygieneStatus =\n | 'clean-on-main'\n | 'stale-merged'\n | 'stale-no-upstream'\n | 'dirty'\n | 'fine';\n\nexport type AgentTaskStatus = 'starting' | 'running' | 'stopping' | 'done' | 'error';\n\nexport type TaskKind =\n | 'phase'\n | 'audit'\n | 'batch-audit'\n | 'run-all'\n | 'draft'\n | 'extend'\n | 'commit-suggest'\n | 'sync'\n | 'reconcile';\n\nexport interface AgentTaskState {\n status: AgentTaskStatus;\n taskKind: TaskKind;\n planTitle: string;\n planId?: string;\n phaseIndex?: number;\n ideaId?: string;\n agentId: AgentId;\n lines: string[];\n}\n"],"names":["PLAN_STATUSES","PLAN_KINDS","AGENT_IDS","AGENT_LABELS","AGENT_OPTIONS","coerceAgentConfig","v","toAgent","a","obj","DEFAULT_AGENTS"],"mappings":"AAEO,MAAMA,IAA8B;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GASaC,IAAyB,CAAC,QAAQ,OAAO,SAAS,QAAQ,UAAU,GAEpEC,IAAY,CAAC,eAAe,UAAU,GAItCC,IAAwC;AAAA,EACnD,eAAe;AAAA,EACf,UAAU;AACZ,GAmHaC,IAAyD;AAAA,EACpE,eAAe;AAAA,IACb,OAAO,CAAC,QAAQ,UAAU,SAAS,OAAO;AAAA,IAC1C,QAAQ,CAAC,OAAO,UAAU,QAAQ,SAAS,KAAK;AAAA,EAAA;AAAA,EAElD,UAAU;AAAA,IACR,OAAO;AAAA,EAAA;AAEX;AAEO,SAASC,EAAkBC,GAAyB;AACzD,QAAMC,IAAU,CAACC,MACfN,EAAU,SAASM,CAAY,IAAKA,IAAgB;AACtD,MAAI,OAAOF,KAAM,SAAU,QAAO,EAAE,OAAOC,EAAQD,CAAC,EAAA;AAGpD,QAAMG,IAAOH,KAAK,CAAA;AAClB,SAAO;AAAA,IACL,OAAOC,EAAQE,EAAI,KAAK;AAAA,IACxB,GAAI,OAAOA,EAAI,SAAU,YAAY,EAAE,OAAOA,EAAI,MAAA;AAAA,IAClD,GAAI,OAAOA,EAAI,UAAW,YAAY,EAAE,QAAQA,EAAI,OAAA;AAAA,EAAO;AAE/D;AASO,MAAMC,IAAmC;AAAA,EAC9C,OAAO,EAAE,OAAO,WAAA;AAAA,EAChB,WAAW,EAAE,OAAO,cAAA;AAAA,EACpB,YAAY,EAAE,OAAO,cAAA;AAAA,EACrB,eAAe,EAAE,OAAO,cAAA;AAC1B;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dendelion/paper-camp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Local-first, AI-native project management with retro aesthetics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@10.12.1",
|
|
@@ -29,7 +29,11 @@
|
|
|
29
29
|
"lint": "biome check .",
|
|
30
30
|
"lint:write": "biome check --write .",
|
|
31
31
|
"test": "vitest run",
|
|
32
|
-
"test:watch": "vitest"
|
|
32
|
+
"test:watch": "vitest",
|
|
33
|
+
"knip": "knip",
|
|
34
|
+
"depcruise": "depcruise src --config .dependency-cruiser.cjs",
|
|
35
|
+
"consistency": "knip --include files,dependencies && depcruise src --config .dependency-cruiser.cjs",
|
|
36
|
+
"prepare": "husky"
|
|
33
37
|
},
|
|
34
38
|
"keywords": [
|
|
35
39
|
"project-management",
|
|
@@ -50,9 +54,9 @@
|
|
|
50
54
|
"react-dom": "^18.0.0"
|
|
51
55
|
},
|
|
52
56
|
"dependencies": {
|
|
53
|
-
"@dendelion/paper-ui": "
|
|
57
|
+
"@dendelion/paper-ui": "0.5.0",
|
|
58
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
54
59
|
"@tanstack/react-router": "^1.58.3",
|
|
55
|
-
"clsx": "^2.1.1",
|
|
56
60
|
"commander": "^12.0.0",
|
|
57
61
|
"framer-motion": "^12.40.0",
|
|
58
62
|
"react-markdown": "^10.1.0",
|
|
@@ -69,6 +73,9 @@
|
|
|
69
73
|
"@types/react-dom": "^18.3.0",
|
|
70
74
|
"@vitejs/plugin-react-swc": "^3.7.1",
|
|
71
75
|
"autoprefixer": "^10.4.20",
|
|
76
|
+
"dependency-cruiser": "^18.0.0",
|
|
77
|
+
"husky": "^9.1.7",
|
|
78
|
+
"knip": "^6.24.0",
|
|
72
79
|
"postcss": "^8.4.47",
|
|
73
80
|
"tailwindcss": "^3.4.14",
|
|
74
81
|
"typescript": "^5.6.3",
|