@dendelion/paper-camp 0.20.0 → 0.21.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 +34 -0
- package/dist/app/assets/index-BK4XPXt_.js +4 -0
- package/dist/app/assets/index-BK4XPXt_.js.map +1 -0
- package/dist/app/assets/index-BZnU3b_x.js +2 -0
- package/dist/app/assets/index-BZnU3b_x.js.map +1 -0
- package/dist/app/assets/index-BxQBW2Oi.js +2 -0
- package/dist/app/assets/index-BxQBW2Oi.js.map +1 -0
- package/dist/app/assets/{index-D_Lo8ptS.js → index-COEivZHG.js} +4 -4
- package/dist/app/assets/{index-D_Lo8ptS.js.map → index-COEivZHG.js.map} +1 -1
- package/dist/app/assets/index-COQOoPiS.js +2 -0
- package/dist/app/assets/{index-BHmWkgBW.js.map → index-COQOoPiS.js.map} +1 -1
- package/dist/app/assets/index-DIlqYxon.js +7 -0
- package/dist/app/assets/index-DIlqYxon.js.map +1 -0
- package/dist/app/assets/index-VXeQcBh1.js +2 -0
- package/dist/app/assets/index-VXeQcBh1.js.map +1 -0
- package/dist/app/assets/{index-DMDqfoCe.js → index-vgBxkLmQ.js} +2 -2
- package/dist/app/assets/{index-DMDqfoCe.js.map → index-vgBxkLmQ.js.map} +1 -1
- package/dist/app/assets/main-DEUaro51.css +1 -0
- package/dist/app/assets/main-s2b5XHSS.js +425 -0
- package/dist/app/assets/main-s2b5XHSS.js.map +1 -0
- package/dist/app/assets/{sidebar-section-B-A20bg9.js → sidebar-section-4MxZoa3M.js} +2 -2
- package/dist/app/assets/{sidebar-section-B-A20bg9.js.map → sidebar-section-4MxZoa3M.js.map} +1 -1
- package/dist/app/index.html +6 -6
- package/dist/app/toolbar.js +13775 -5454
- package/dist/app/toolbar.js.map +1 -1
- package/dist/chunks/{phase-progress.DPAZ01Gg.js → phase-progress.DimXpZFz.js} +1337 -1300
- package/dist/chunks/phase-progress.DimXpZFz.js.map +1 -0
- package/dist/cli/index.js +5289 -5105
- package/dist/cli/index.js.map +1 -1
- package/dist/core/corpus-format.d.ts +14 -0
- package/dist/core/corpus-format.d.ts.map +1 -1
- package/dist/core/entity-view.d.ts +6 -0
- package/dist/core/entity-view.d.ts.map +1 -0
- package/dist/core/git-log.d.ts +2 -0
- package/dist/core/git-log.d.ts.map +1 -1
- package/dist/core/git-pr/pr-lookup.d.ts.map +1 -1
- package/dist/core/index.js +106 -104
- package/dist/core/issues.d.ts +2 -3
- package/dist/core/issues.d.ts.map +1 -1
- package/dist/core/parse/parser.d.ts.map +1 -1
- package/dist/core/parse/schemas.d.ts +11 -0
- package/dist/core/parse/schemas.d.ts.map +1 -1
- package/dist/core/phase-run.d.ts +1 -0
- package/dist/core/phase-run.d.ts.map +1 -1
- package/dist/core/readers.d.ts +4 -3
- package/dist/core/readers.d.ts.map +1 -1
- package/dist/core/release-notes.d.ts +2 -0
- package/dist/core/release-notes.d.ts.map +1 -1
- package/dist/core/roadmap.d.ts +21 -0
- package/dist/core/roadmap.d.ts.map +1 -1
- package/dist/core/run-order.d.ts +2 -1
- package/dist/core/run-order.d.ts.map +1 -1
- package/dist/core/scaffold/scaffold.d.ts +1 -1
- package/dist/core/scaffold/scaffold.d.ts.map +1 -1
- package/dist/core/sections.d.ts.map +1 -1
- package/dist/core/serialize/entity-file.d.ts +79 -0
- package/dist/core/serialize/entity-file.d.ts.map +1 -0
- package/dist/core/serialize/index.d.ts +1 -0
- package/dist/core/serialize/index.d.ts.map +1 -1
- package/dist/core/serialize/serializer.d.ts +1 -76
- package/dist/core/serialize/serializer.d.ts.map +1 -1
- package/dist/core/stats.d.ts +2 -0
- package/dist/core/stats.d.ts.map +1 -1
- package/dist/core/status/status.d.ts +18 -1
- package/dist/core/status/status.d.ts.map +1 -1
- package/dist/types/index.d.ts +36 -18
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -15
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/app/assets/index-3pzg7Iyw.js +0 -2
- package/dist/app/assets/index-3pzg7Iyw.js.map +0 -1
- package/dist/app/assets/index-BHmWkgBW.js +0 -2
- package/dist/app/assets/index-BuzzfADD.js +0 -2
- package/dist/app/assets/index-BuzzfADD.js.map +0 -1
- package/dist/app/assets/index-CkLeljbk.js +0 -2
- package/dist/app/assets/index-CkLeljbk.js.map +0 -1
- package/dist/app/assets/index-DfekHwwU.js +0 -7
- package/dist/app/assets/index-DfekHwwU.js.map +0 -1
- package/dist/app/assets/index-Gi97Lmex.js +0 -4
- package/dist/app/assets/index-Gi97Lmex.js.map +0 -1
- package/dist/app/assets/main-Bm0W4ucz.css +0 -1
- package/dist/app/assets/main-DP_okYxh.js +0 -215
- package/dist/app/assets/main-DP_okYxh.js.map +0 -1
- package/dist/chunks/phase-progress.DPAZ01Gg.js.map +0 -1
|
@@ -1,11 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The corpus's on-disk schema version, stored in papercamp/config.json's `version`
|
|
3
|
+
* field. Bumped only when the frontmatter/config shape changes, not on every package
|
|
4
|
+
* release. Distinct from the npm package version.
|
|
5
|
+
*/
|
|
1
6
|
export declare const CORPUS_FORMAT_VERSION = 1;
|
|
2
7
|
export declare class CorpusTooNewError extends Error {
|
|
3
8
|
constructor(corpusVersion: number);
|
|
4
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Refuses only a corpus declaring a format newer than this paper-camp's, since writing
|
|
12
|
+
* it back would silently drop fields this version can't preserve. Older/unstamped is fine.
|
|
13
|
+
*/
|
|
5
14
|
export declare function assertCorpusWritable(configPath: string): Promise<void>;
|
|
6
15
|
export interface CorpusFormatBump {
|
|
7
16
|
from: number | null;
|
|
8
17
|
to: number;
|
|
9
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Explicit, reviewable counterpart to assertCorpusWritable: stamps config.json with the
|
|
21
|
+
* current format version as an ordinary file change for `git diff`, never run implicitly
|
|
22
|
+
* on load. No-op (returns null) if the corpus is already current or ahead.
|
|
23
|
+
*/
|
|
10
24
|
export declare function bumpCorpusFormat(configPath: string): Promise<CorpusFormatBump | null>;
|
|
11
25
|
//# sourceMappingURL=corpus-format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corpus-format.d.ts","sourceRoot":"","sources":["../../src/core/corpus-format.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"corpus-format.d.ts","sourceRoot":"","sources":["../../src/core/corpus-format.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,qBAAa,iBAAkB,SAAQ,KAAK;gBAC9B,aAAa,EAAE,MAAM;CAMlC;AAsBD;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAK5E;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;;;GAIG;AACH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAQ3F"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { EntityEntry, IdeaEntry, PlanEntry, PrInfo } from '../types/index';
|
|
2
|
+
/** Status is derived via deriveStatus, not read from `e.status` — that field stays the
|
|
3
|
+
* raw stored override so round-tripping an EntityEntry back to disk never persists a derived value. */
|
|
4
|
+
export declare function entityToPlan(e: EntityEntry, pr?: PrInfo, prLookupResolved?: boolean, hasMainActivity?: boolean): PlanEntry;
|
|
5
|
+
export declare function entityToIdea(e: EntityEntry): IdeaEntry;
|
|
6
|
+
//# sourceMappingURL=entity-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-view.d.ts","sourceRoot":"","sources":["../../src/core/entity-view.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EAET,SAAS,EAET,MAAM,EACP,MAAM,gBAAgB,CAAC;AASxB;uGACuG;AACvG,wBAAgB,YAAY,CAC1B,CAAC,EAAE,WAAW,EACd,EAAE,CAAC,EAAE,MAAM,EACX,gBAAgB,UAAQ,EACxB,eAAe,UAAQ,GACtB,SAAS,CA+BX;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,WAAW,GAAG,SAAS,CAYtD"}
|
package/dist/core/git-log.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const COMMIT_SHA_RE: RegExp;
|
|
2
2
|
export declare function runGit(root: string, args: string[]): Promise<string>;
|
|
3
3
|
export declare function resolveDefaultBranch(root: string): Promise<string>;
|
|
4
|
+
/** Matches a release-please line, a raw commit subject, or (for pre-squash history)
|
|
5
|
+
* a merge commit's own source-branch name, since those predate the `(IDEA-N)` convention. */
|
|
4
6
|
export declare function resolveIdFromCommitMessage(message: string): string | null;
|
|
5
7
|
export declare function resolveIdsWithMainActivity(root: string): Promise<Set<string>>;
|
|
6
8
|
//# sourceMappingURL=git-log.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-log.d.ts","sourceRoot":"","sources":["../../src/core/git-log.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,QAAsB,CAAC;AAIjD,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAUpE;AAED,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAGxE;
|
|
1
|
+
{"version":3,"file":"git-log.d.ts","sourceRoot":"","sources":["../../src/core/git-log.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,QAAsB,CAAC;AAIjD,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,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,EACZ,KAAK,SAAkB,GACtB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,CA2B1C;AAED;wEACwE;AACxE,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAU5E;AAED;;;;+EAI+E;AAC/E,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkB/D"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,133 +1,135 @@
|
|
|
1
|
-
import { A as s, C as r, a as t, b as n, D as o, c as i, d, e as l, M as c, P as m, f as S, g as
|
|
2
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as s, C as r, a as t, b as n, D as o, c as i, d, e as l, M as c, P as m, f as S, g as E, S as P, h as T, i as p, j as R, k as h, l as C, m as I, n as v, o as _, p as y, q as g, r as F, s as A, t as N, u as f, v as L, w as O, x as D, y as u, z as M, B as k, E as b, F as G, G as w, H, I as U, J as K, K as B, L as x, N as j, O as X, Q as q, R as z, T as Q, U as V, V as W, W as Y, X as J, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ra, a2 as ta, a3 as na, a4 as oa, a5 as ia, a6 as da, a7 as la, a8 as ca, a9 as ma, aa as Sa, ab as Ea, ac as Pa, ad as Ta, ae as pa, af as Ra, ag as ha, ah as Ca, ai as Ia, aj as va, ak as _a, al as ya, am as ga, an as Fa, ao as Aa, ap as Na, aq as fa, ar as La, as as Oa, at as Da, au as ua, av as Ma, aw as ka, ax as ba, ay as Ga, az as wa, aA as Ha, aB as Ua, aC as Ka, aD as Ba, aE as xa, aF as ja, aG as Xa, aH as qa, aI as za, aJ as Qa, aK as Va, aL as Wa, aM as Ya, aN as Ja, aO as Za, aP as $a, aQ as ae, aR as ee, aS as se, aT as re, aU as te, aV as ne, aW as oe, aX as ie, aY as de, aZ as le, a_ as ce, a$ as me, b0 as Se, b1 as Ee } from "../chunks/phase-progress.DimXpZFz.js";
|
|
2
|
+
import { AGENT_IDS as Te, AGENT_LABELS as pe, AGENT_OPTIONS as Re, DEFAULT_AGENTS as he, PAIRING_TOKEN_HEADER as Ce, PLAN_KINDS as Ie, PLAN_STATUSES as ve, TOOLBAR_SEGMENT_IDS as _e, agentConfigsEqual as ye, coerceAgentConfig as ge } from "../types/index.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
Te as AGENT_IDS,
|
|
5
|
+
pe as AGENT_LABELS,
|
|
6
|
+
Re as AGENT_OPTIONS,
|
|
7
7
|
s as AlreadyInitializedError,
|
|
8
8
|
r as CLAUDE_SETTINGS_JSON,
|
|
9
9
|
t as COMMIT_SCOPES,
|
|
10
10
|
n as COMMIT_SHA_RE,
|
|
11
|
-
|
|
11
|
+
he as DEFAULT_AGENTS,
|
|
12
12
|
o as DOCTOR_CHECKS,
|
|
13
13
|
i as DOCTOR_FIXERS,
|
|
14
14
|
d as DOCTOR_RULES,
|
|
15
15
|
l as DOCTOR_RULES_BY_ID,
|
|
16
16
|
c as MAX_TITLE_LENGTH,
|
|
17
|
+
Ce as PAIRING_TOKEN_HEADER,
|
|
17
18
|
m as PAPER_CAMP_VERSION,
|
|
18
19
|
S as PHASE_MAX_FRACTION,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
E as PHASE_STALL_MS,
|
|
21
|
+
Ie as PLAN_KINDS,
|
|
22
|
+
ve as PLAN_STATUSES,
|
|
23
|
+
P as SKILL_MD_CONTENT,
|
|
23
24
|
T as SUGGESTION_ENTRY_RE,
|
|
24
|
-
|
|
25
|
+
_e as TOOLBAR_SEGMENT_IDS,
|
|
25
26
|
p as addRoadmapCandidate,
|
|
26
27
|
R as addRoadmapItem,
|
|
27
28
|
h as advanceAnchor,
|
|
28
29
|
C as agentConfigSchema,
|
|
29
30
|
ye as agentConfigsEqual,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
A as
|
|
31
|
+
I as agentThreadMessage,
|
|
32
|
+
v as applyEnvEntries,
|
|
33
|
+
_ as archiveEntityFile,
|
|
34
|
+
y as assignEntityId,
|
|
35
|
+
g as assignPlanId,
|
|
36
|
+
F as assignTicketId,
|
|
37
|
+
A as branchName,
|
|
38
|
+
N as classifyAnchor,
|
|
37
39
|
f as clearPrCache,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
40
|
+
ge as coerceAgentConfig,
|
|
41
|
+
L as collectDoctorContext,
|
|
42
|
+
O as collectParkedQuestions,
|
|
43
|
+
D as computePlanContentHash,
|
|
44
|
+
u as computePrTitle,
|
|
45
|
+
M as createPrReview,
|
|
46
|
+
k as dateString,
|
|
47
|
+
b as derivePrLabels,
|
|
48
|
+
G as deriveRoadmapEvents,
|
|
49
|
+
w as deriveSubjectVocabulary,
|
|
50
|
+
H as describeFindings,
|
|
49
51
|
U as deskCheckSchema,
|
|
50
|
-
|
|
52
|
+
K as deskCiSchema,
|
|
51
53
|
B as deskConfigSchema,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
54
|
+
x as deskServiceSchema,
|
|
55
|
+
j as dispatchPrReview,
|
|
56
|
+
X as ensureSubject,
|
|
57
|
+
q as entityFrontmatterKnownKeys,
|
|
58
|
+
z as entityFrontmatterSchema,
|
|
59
|
+
Q as entityToIdea,
|
|
60
|
+
V as entityToPlan,
|
|
61
|
+
W as fetchPrDiff,
|
|
62
|
+
Y as fetchUnresolvedThreads,
|
|
63
|
+
J as findArchivableIdeas,
|
|
64
|
+
Z as findConsistencyIssues,
|
|
65
|
+
$ as findReleaseLineForId,
|
|
66
|
+
aa as findingSeverity,
|
|
67
|
+
ea as formatEntityFile,
|
|
68
|
+
sa as formatIdeaFile,
|
|
69
|
+
ra as formatPlanEntry,
|
|
70
|
+
ta as formatPlanFile,
|
|
71
|
+
na as formatPlans,
|
|
72
|
+
oa as formatReleaseNotesMarkdown,
|
|
73
|
+
ia as getPrMapFetchedAt,
|
|
74
|
+
da as ideaFrontmatterSchema,
|
|
75
|
+
la as initProject,
|
|
76
|
+
ca as isConventionalPrTitle,
|
|
77
|
+
ma as isPhaseStalled,
|
|
78
|
+
Sa as linkRoadmapItem,
|
|
79
|
+
Ea as medianSegmentMs,
|
|
78
80
|
Pa as paperCampConfigSchema,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
Ta as parseEntityFile,
|
|
82
|
+
pa as parseEnv,
|
|
83
|
+
Ra as parseFrontmatter,
|
|
84
|
+
ha as parseIdeaFile,
|
|
85
|
+
Ca as parseIdeas,
|
|
86
|
+
Ia as parseNotificationLog,
|
|
85
87
|
va as parsePlanFile,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
_a as parsePlans,
|
|
89
|
+
ya as parseRawEntries,
|
|
90
|
+
ga as parseRoadmap,
|
|
89
91
|
Fa as parseSuggestions,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
+
Aa as parseTaskLog,
|
|
93
|
+
Na as phaseFraction,
|
|
92
94
|
fa as planDoctorFixes,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
95
|
+
La as planFieldsSchema,
|
|
96
|
+
Oa as planFrontmatterSchema,
|
|
97
|
+
Da as readEntities,
|
|
98
|
+
ua as readEntitiesWithDerivedStatus,
|
|
99
|
+
Ma as readFileMaybe,
|
|
100
|
+
ka as readNoteEntries,
|
|
101
|
+
ba as readParkedQuestions,
|
|
102
|
+
Ga as readWorkEntries,
|
|
103
|
+
wa as removeRoadmapItem,
|
|
104
|
+
Ha as removeSuggestionLine,
|
|
103
105
|
Ua as renderConsistencyComment,
|
|
104
|
-
|
|
106
|
+
Ka as renderPlanPhasesIntoBody,
|
|
105
107
|
Ba as replyToReviewThread,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
108
|
+
xa as reportFindings,
|
|
109
|
+
ja as resolveEntityIdForCommit,
|
|
110
|
+
Xa as resolveEntityTrail,
|
|
111
|
+
qa as resolveIdFromCommitMessage,
|
|
112
|
+
za as resolveIdeasForRelease,
|
|
113
|
+
Qa as resolvePlanForPrRef,
|
|
114
|
+
Va as resolvePrimaryScope,
|
|
115
|
+
Wa as resolvePrsByEntity,
|
|
116
|
+
Ya as resolveReleaseNotes,
|
|
117
|
+
Ja as resolveReleaseRanges,
|
|
118
|
+
Za as resolveReviewThread,
|
|
119
|
+
$a as resolveRoadmap,
|
|
120
|
+
ae as runDoctor,
|
|
121
|
+
ee as runDoctorChecks,
|
|
122
|
+
se as scoutReviewFooter,
|
|
123
|
+
re as serializeFrontmatter,
|
|
124
|
+
te as sortFindings,
|
|
125
|
+
ne as squashMergePr,
|
|
126
|
+
oe as storedNotificationSchema,
|
|
127
|
+
ie as syncConsistencyCommentToPr,
|
|
128
|
+
de as syncPlanPhasesToPr,
|
|
129
|
+
le as syncPrLabelsToPr,
|
|
130
|
+
ce as syncPrReadinessToPr,
|
|
131
|
+
me as syncPrTitleToPr,
|
|
132
|
+
Se as todayDateString,
|
|
133
|
+
Ee as validatePrTitle
|
|
132
134
|
};
|
|
133
135
|
//# sourceMappingURL=index.js.map
|
package/dist/core/issues.d.ts
CHANGED
|
@@ -28,9 +28,8 @@ export declare function collectSyncIssues(failure: GitSyncFailure | undefined, b
|
|
|
28
28
|
* shipped yet (`fixEntityStatus` reports its status), which keeps it open until
|
|
29
29
|
* that entity reaches 'done'. Closure is derived here, never a mark-read button. */
|
|
30
30
|
export declare function reconcileIssues(existing: Issue[], fresh: Issue[], fixEntityStatus?: (fixId: string) => EntityStatus | undefined): Issue[];
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* item appended to its inline Fixes list instead. */
|
|
31
|
+
/** A spawned fix/idea entity from Promote (IDEA-192 phase 6) stamps `issueSource`;
|
|
32
|
+
* an open parent instead gets a `source: 'issue'` item appended to its inline Fixes list. */
|
|
34
33
|
type PromotionTarget = {
|
|
35
34
|
id?: string;
|
|
36
35
|
status?: EntityStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issues.d.ts","sourceRoot":"","sources":["../../src/core/issues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,cAAc,EACd,KAAK,EACL,SAAS,EACT,MAAM,EACN,YAAY,EACZ,aAAa,EACd,MAAM,gBAAgB,CAAC;AAKxB;;qEAEqE;AACrE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,CAkBtE;AAED;iFACiF;AACjF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,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B,iBAAiB,CAC/B,OAAO,EAAE,cAAc,GAAG,SAAS,EACnC,MAAM,EAAE,MAAM,EACd,MAAM,CAAC,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACrC,KAAK,EAAE,CAmBT;AAED;;;;;;oFAMoF;AACpF,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,KAAK,EAAE,EACjB,KAAK,EAAE,KAAK,EAAE,EACd,eAAe,GAAE,CAAC,KAAK,EAAE,MAAM,KAAK,YAAY,GAAG,SAA2B,GAC7E,KAAK,EAAE,CAaT;AAED;6FAC6F;AAC7F,KAAK,eAAe,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;CACrB,CAAC;AAEF;;;;uDAIuD;AACvD,wBAAgB,eAAe,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,CAarF;AAED;;yFAEyF;AACzF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,aAAa,EAAE,CAe7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/core/parse/parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EAIT,WAAW,EACX,YAAY,EAEZ,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACb,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/core/parse/parser.ts"],"names":[],"mappings":"A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AAE,CAWtE;AAED,eAAO,MAAM,mBAAmB,QAAkD,CAAC;AAGnF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,CASpE"}
|
|
@@ -34,6 +34,10 @@ export declare const planFieldsSchema: z.ZodObject<{
|
|
|
34
34
|
updated: z.ZodOptional<z.ZodString>;
|
|
35
35
|
tags: z.ZodOptional<z.ZodString>;
|
|
36
36
|
}, z.core.$strip>;
|
|
37
|
+
/**
|
|
38
|
+
* YAML frontmatter schema for the per-file plan format (`---`-delimited YAML plus a
|
|
39
|
+
* markdown body). Field-based schemas above exist only until that format fully migrates.
|
|
40
|
+
*/
|
|
37
41
|
export declare const planFrontmatterSchema: z.ZodObject<{
|
|
38
42
|
id: z.ZodString;
|
|
39
43
|
title: z.ZodString;
|
|
@@ -76,6 +80,10 @@ export declare const ideaFrontmatterSchema: z.ZodObject<{
|
|
|
76
80
|
open: "open";
|
|
77
81
|
}>>;
|
|
78
82
|
}, z.core.$loose>;
|
|
83
|
+
/**
|
|
84
|
+
* Frontmatter keys the schema above assigns explicit meaning to; everything else parses
|
|
85
|
+
* through untouched so an older paper-camp can carry a newer field instead of dropping it.
|
|
86
|
+
*/
|
|
79
87
|
export declare const entityFrontmatterKnownKeys: ReadonlySet<string>;
|
|
80
88
|
export declare const entityFrontmatterSchema: z.ZodObject<{
|
|
81
89
|
id: z.ZodString;
|
|
@@ -90,6 +98,8 @@ export declare const entityFrontmatterSchema: z.ZodObject<{
|
|
|
90
98
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
91
99
|
fix: "fix";
|
|
92
100
|
note: "note";
|
|
101
|
+
board: "board";
|
|
102
|
+
ticket: "ticket";
|
|
93
103
|
}>>;
|
|
94
104
|
status: z.ZodOptional<z.ZodEnum<{
|
|
95
105
|
idea: "idea";
|
|
@@ -153,6 +163,7 @@ export declare const paperCampConfigSchema: z.ZodObject<{
|
|
|
153
163
|
initializedAt: z.ZodString;
|
|
154
164
|
nextId: z.ZodOptional<z.ZodObject<{
|
|
155
165
|
idea: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
ticket: z.ZodOptional<z.ZodNumber>;
|
|
156
167
|
feat: z.ZodOptional<z.ZodNumber>;
|
|
157
168
|
fix: z.ZodOptional<z.ZodNumber>;
|
|
158
169
|
chore: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/core/parse/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;kBAO7B,CAAC;AAEF,eAAO,MAAM,UAAU,aAAiE,CAAC;AAIzF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;iBAS3B,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/core/parse/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;;;;kBAO7B,CAAC;AAEF,eAAO,MAAM,UAAU,aAAiE,CAAC;AAIzF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;iBAS3B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBlB,CAAC;AAEjB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAiB9B,CAAC;AAmEL;;;GAGG;AACH,eAAO,MAAM,0BAA0B,EAAE,WAAW,CAAC,MAAM,CAE1D,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAsBhC,CAAC;AAEL,eAAO,MAAM,iBAAiB;;;;;iBAK5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;iBAG1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;iBAIvB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;iBAI3B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgChC,CAAC;AAIH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;iBASnC,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,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;AACpE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
package/dist/core/phase-run.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { PhaseRun, RunUsage, TaskLogEntry } from '../types/index';
|
|
|
2
2
|
export declare function formatDuration(ms: number): string;
|
|
3
3
|
export declare function formatTokens(n: number): string;
|
|
4
4
|
export declare function shortModel(model: string): string;
|
|
5
|
+
export declare function formatRunSummary(run: PhaseRun): string;
|
|
5
6
|
export declare function formatRunLine(run: PhaseRun): string;
|
|
6
7
|
export declare function parseRunLine(value: string): PhaseRun | undefined;
|
|
7
8
|
export declare function mergeRun(prev: PhaseRun | undefined, usage: RunUsage): PhaseRun;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phase-run.d.ts","sourceRoot":"","sources":["../../src/core/phase-run.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AASvE,wBAAgB,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,M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AG,QAAQ,GAAG,SAAS,CAwBhE;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,SAAS,EAAE,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAQ9E;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,YAAY,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,WAAW,CAuBlF"}
|
package/dist/core/readers.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ArchivableIdea, EntityEntry, IdeaEntry, ParseResult, PlanEntry
|
|
1
|
+
import { ArchivableIdea, EntityEntry, IdeaEntry, ParseResult, PlanEntry } from '../types/index';
|
|
2
|
+
export { entityToIdea, entityToPlan } from './entity-view';
|
|
2
3
|
export declare function readEntities(ideasDir: string): Promise<ParseResult<EntityEntry> & {
|
|
3
4
|
fileCount: number;
|
|
4
5
|
}>;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
/** One `gh` PR listing resolves every entity's PR (cached); the result is a shallow copy
|
|
7
|
+
* that never touches disk, so it's safe to feed back into entityToPlan/deriveStatus elsewhere. */
|
|
7
8
|
export declare function readEntitiesWithDerivedStatus(ideasDir: string): Promise<ParseResult<EntityEntry>>;
|
|
8
9
|
export declare function readWorkEntries(ideasDir: string, ttlMs?: number): Promise<ParseResult<PlanEntry> & {
|
|
9
10
|
resolved: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readers.d.ts","sourceRoot":"","sources":["../../src/core/readers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,SAAS,
|
|
1
|
+
{"version":3,"file":"readers.d.ts","sourceRoot":"","sources":["../../src/core/readers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,SAAS,EACT,WAAW,EAEX,SAAS,EACV,MAAM,gBAAgB,CAAC;AAQxB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAyB3D,wBAAsB,YAAY,CAChC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAmC3D;AAYD;kGACkG;AAClG,wBAAsB,6BAA6B,CACjD,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,CAcnC;AAED,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,EAChB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,CAkBzD;AAID,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC;IAAE,OAAO,EAAE,cAAc,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAC,CAS3D;AAED,wBAAsB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAMvF"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { ReleaseNoteSection } from '../types/index';
|
|
2
|
+
/** One row per idea rather than per commit: dedupes a fix-up commit into the idea's
|
|
3
|
+
* initial row and swaps in the idea's title, so a release reads as shipped ideas, not raw commits. */
|
|
2
4
|
export declare function resolveReleaseNotes(root: string, version: string): Promise<ReleaseNoteSection[] | null>;
|
|
3
5
|
export declare function formatReleaseNotesMarkdown(version: string, sections: ReleaseNoteSection[]): string;
|
|
4
6
|
//# sourceMappingURL=release-notes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release-notes.d.ts","sourceRoot":"","sources":["../../src/core/release-notes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"release-notes.d.ts","sourceRoot":"","sources":["../../src/core/release-notes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AActF;sGACsG;AACtG,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,kBAAkB,EAAE,GAAG,IAAI,CAAC,CAwBtC;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,kBAAkB,EAAE,GAC7B,MAAM,CASR"}
|
package/dist/core/roadmap.d.ts
CHANGED
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
import { PlanEntry, ResolvedRoadmap, Roadmap, RoadmapEvent, TaskLogEntry } from '../types/index';
|
|
2
|
+
/**
|
|
3
|
+
* Only `## The goal`, `## Horizon N — …`, and `## Standing concerns` headings are
|
|
4
|
+
* inspected; other prose (intro, "How this file works") is skipped.
|
|
5
|
+
*/
|
|
2
6
|
export declare function parseRoadmap(markdown: string): Roadmap;
|
|
7
|
+
/**
|
|
8
|
+
* Removes one item's bullet (with its continuation lines and candidates), or — if
|
|
9
|
+
* `candidateName` is given — just that one candidate bullet, leaving the item in place.
|
|
10
|
+
*/
|
|
3
11
|
export declare function removeRoadmapItem(markdown: string, horizonTitle: string, itemName: string, candidateName?: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Appends a new item bullet (`- **name** — description`) at the end of a horizon's
|
|
14
|
+
* item list, in the shape parseItems expects. No-op if the horizon doesn't exist.
|
|
15
|
+
*/
|
|
4
16
|
export declare function addRoadmapItem(markdown: string, horizonTitle: string, name: string, description: string): string;
|
|
5
17
|
export declare function addRoadmapCandidate(markdown: string, horizonTitle: string, itemName: string, candidateName: string): string;
|
|
6
18
|
export declare function linkRoadmapItem(markdown: string, horizonTitle: string, itemName: string, entityId: string): string;
|
|
19
|
+
/**
|
|
20
|
+
* The subject vocabulary in order: horizon items (H1 near-term → H3 long bets), then
|
|
21
|
+
* standing concerns last. The one ordered read every subject picker/grouping should use.
|
|
22
|
+
*/
|
|
7
23
|
export declare function deriveSubjectVocabulary(roadmap: Roadmap): string[];
|
|
8
24
|
export declare function resolveRoadmap(roadmap: Roadmap, entities: PlanEntry[], taskLog?: TaskLogEntry[], changelog?: string): ResolvedRoadmap;
|
|
25
|
+
/**
|
|
26
|
+
* One chronological model over two append-only sources, keyed back to the roadmap item
|
|
27
|
+
* via its `linked` entity ids. `updated` is deliberately excluded (see IDEA-92's Timeline
|
|
28
|
+
* phase) since a last-touched timestamp can't stand in for history.
|
|
29
|
+
*/
|
|
9
30
|
export declare function deriveRoadmapEvents(roadmap: Roadmap, entities: PlanEntry[], taskLog: TaskLogEntry[]): RoadmapEvent[];
|
|
10
31
|
//# sourceMappingURL=roadmap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roadmap.d.ts","sourceRoot":"","sources":["../../src/core/roadmap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,OAAO,EACP,YAAY,EAEZ,YAAY,EACb,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"roadmap.d.ts","sourceRoot":"","sources":["../../src/core/roadmap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,eAAe,EACf,OAAO,EACP,YAAY,EAEZ,YAAY,EACb,MAAM,gBAAgB,CAAC;AA+CxB;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAoCtD;AAyCD;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,MAAM,GACrB,MAAM,CAkBR;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,GAClB,MAAM,CASR;AAID,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,GACpB,MAAM,CAOR;AAID,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACf,MAAM,CAOR;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAKlE;AAED,wBAAgB,cAAc,CAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,SAAS,EAAE,EACrB,OAAO,GAAE,YAAY,EAAO,EAC5B,SAAS,SAAK,GACb,eAAe,CAsCjB;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,SAAS,EAAE,EACrB,OAAO,EAAE,YAAY,EAAE,GACtB,YAAY,EAAE,CAyChB"}
|
package/dist/core/run-order.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EntityKind } from '../types/index';
|
|
1
2
|
import { RunOrderFileEntry } from './run-order-file';
|
|
2
3
|
/** Classification input — status must be the DERIVED status (what the UI shows),
|
|
3
4
|
* not the stored frontmatter override, or merged-PR `done` entries get ordered. */
|
|
@@ -19,7 +20,7 @@ export declare function classifyRunOrderEntries(entries: {
|
|
|
19
20
|
title: string;
|
|
20
21
|
created: string;
|
|
21
22
|
status?: string;
|
|
22
|
-
kind?:
|
|
23
|
+
kind?: EntityKind;
|
|
23
24
|
}[], work: {
|
|
24
25
|
id?: string;
|
|
25
26
|
status?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-order.d.ts","sourceRoot":"","sources":["../../src/core/run-order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAI1D;oFACoF;AACpF,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,GAAG,OAAO,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE;IACP,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"run-order.d.ts","sourceRoot":"","sources":["../../src/core/run-order.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAI1D;oFACoF;AACpF,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,GAAG,OAAO,CAE1E;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE;IACP,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,EAAE,EACH,IAAI,EAAE;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,EACxC,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK;IAAE,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAAG,SAAS,GACzE,aAAa,EAAE,CAmBjB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,iBAAiB,EAAE,EACzB,OAAO,EAAE,aAAa,EAAE,EACxB,KAAK,CAAC,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACpC,iBAAiB,EAAE,CA6BrB;AAED,qFAAqF;AACrF,wBAAgB,YAAY,CAAC,CAAC,EAAE,iBAAiB,EAAE,EAAE,CAAC,EAAE,iBAAiB,EAAE,GAAG,OAAO,CAEpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,kBAAkB,QAAmB,CAAC;AAEnD,qBAAa,uBAAwB,SAAQ,KAAK;gBACpC,SAAS,EAAE,MAAM;CAG9B;AAaD,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA4CxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../src/core/sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EAGV,SAAS,EACT,aAAa,EAEd,MAAM,gBAAgB,CAAC;AAGxB,QAAA,MAAM,cAAc,QAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"sections.d.ts","sourceRoot":"","sources":["../../src/core/sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EAGV,SAAS,EACT,aAAa,EAEd,MAAM,gBAAgB,CAAC;AAGxB,QAAA,MAAM,cAAc,QAAe,CAAC;AAwJpC;;;;;4EAK4E;AAC5E,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC,EAAE,CAAC;IACnE,WAAW,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CACzC;AAED,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,SAAS,CAIhD,CAAC;AAEF;8EAC8E;AAC9E,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,SAAS,CAI/C,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,QAAQ,CAI5C,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,UAAU,CAAC,QAAQ,CAIvD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,UAAU,CAIhD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,QAAQ,CAI/C,CAAC;AAoCF,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,aAAa,CAIpD,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { LogEntry, MarginNote, PhaseItem, SuggestionEntry, ThreadMessage } from '../../types/index';
|
|
2
|
+
export declare function todayDateString(): string;
|
|
3
|
+
/** Every agent-authored thread message must carry `from: 'agent'` or it renders as the
|
|
4
|
+
* user's own message in the feedback chat — build them through here so it can't be forgotten. */
|
|
5
|
+
export declare function agentThreadMessage(text: string, kind?: ThreadMessage['kind']): ThreadMessage;
|
|
6
|
+
interface NewPlanInput {
|
|
7
|
+
title: string;
|
|
8
|
+
status: string;
|
|
9
|
+
kind?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
idea?: string;
|
|
12
|
+
agent?: string;
|
|
13
|
+
created: string;
|
|
14
|
+
updated?: string;
|
|
15
|
+
tags?: string[];
|
|
16
|
+
body?: string;
|
|
17
|
+
phases?: PhaseItem[];
|
|
18
|
+
log?: LogEntry[];
|
|
19
|
+
clarifications?: LogEntry[];
|
|
20
|
+
notes?: MarginNote[];
|
|
21
|
+
}
|
|
22
|
+
export declare function formatPlanEntry(input: NewPlanInput): string;
|
|
23
|
+
export declare function formatPlans(entries: NewPlanInput[]): string;
|
|
24
|
+
export declare function serializeFrontmatter(data: Record<string, unknown>): string;
|
|
25
|
+
interface NewPlanFileInput {
|
|
26
|
+
id: string;
|
|
27
|
+
title: string;
|
|
28
|
+
kind: string;
|
|
29
|
+
status: string;
|
|
30
|
+
idea?: string;
|
|
31
|
+
agent?: string;
|
|
32
|
+
created: string;
|
|
33
|
+
updated?: string;
|
|
34
|
+
audited?: string;
|
|
35
|
+
auditedHash?: string;
|
|
36
|
+
tags?: string[];
|
|
37
|
+
body?: string;
|
|
38
|
+
phases?: PhaseItem[];
|
|
39
|
+
log?: LogEntry[];
|
|
40
|
+
clarifications?: LogEntry[];
|
|
41
|
+
notes?: MarginNote[];
|
|
42
|
+
}
|
|
43
|
+
export declare function formatPlanFile(input: NewPlanFileInput): string;
|
|
44
|
+
interface NewEntityFileInput {
|
|
45
|
+
id: string;
|
|
46
|
+
title: string;
|
|
47
|
+
type?: string;
|
|
48
|
+
kind?: string;
|
|
49
|
+
status?: string;
|
|
50
|
+
idea?: string;
|
|
51
|
+
agent?: string;
|
|
52
|
+
created: string;
|
|
53
|
+
updated?: string;
|
|
54
|
+
audited?: string;
|
|
55
|
+
auditedHash?: string;
|
|
56
|
+
released?: string;
|
|
57
|
+
tags?: string[];
|
|
58
|
+
subject?: string;
|
|
59
|
+
order?: number;
|
|
60
|
+
issueSource?: string;
|
|
61
|
+
body?: string;
|
|
62
|
+
phases?: PhaseItem[];
|
|
63
|
+
fixes?: PhaseItem[];
|
|
64
|
+
thread?: ThreadMessage[];
|
|
65
|
+
unknownFrontmatter?: Record<string, unknown>;
|
|
66
|
+
}
|
|
67
|
+
export declare function formatEntityFile(input: NewEntityFileInput): string;
|
|
68
|
+
interface NewIdeaFileInput {
|
|
69
|
+
id: string;
|
|
70
|
+
title: string;
|
|
71
|
+
kind?: string;
|
|
72
|
+
status?: string;
|
|
73
|
+
body?: string;
|
|
74
|
+
log?: LogEntry[];
|
|
75
|
+
}
|
|
76
|
+
export declare function formatIdeaFile(input: NewIdeaFileInput): string;
|
|
77
|
+
export declare function removeSuggestionLine(markdown: string, target: SuggestionEntry): string;
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=entity-file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-file.d.ts","sourceRoot":"","sources":["../../../src/core/serialize/entity-file.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,SAAS,EACT,eAAe,EACf,aAAa,EACd,MAAM,mBAAmB,CAAC;AAwB3B,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED;iGACiG;AACjG,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,IAAI,GAAE,aAAa,CAAC,MAAM,CAAS,GAClC,aAAa,CAQf;AAED,UAAU,YAAY;IACpB,K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