@dendelion/paper-camp 0.35.1 → 0.37.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/dist/chunks/phase-progress.C97wkNMK.js +3103 -0
- package/dist/chunks/phase-progress.C97wkNMK.js.map +1 -0
- package/dist/cli/index.js +2292 -2175
- package/dist/cli/index.js.map +1 -1
- package/dist/core/git-log.d.ts +20 -0
- package/dist/core/git-log.d.ts.map +1 -1
- package/dist/core/index.js +152 -148
- package/dist/core/parked-questions.d.ts +6 -1
- package/dist/core/parked-questions.d.ts.map +1 -1
- package/dist/core/roadmap.d.ts +22 -8
- package/dist/core/roadmap.d.ts.map +1 -1
- package/dist/toolbar/toolbar.js +1511 -1477
- package/dist/toolbar/toolbar.js.map +1 -1
- package/dist/types/index.d.ts +36 -17
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/phase-progress.6EDoT9B0.js +0 -2996
- package/dist/chunks/phase-progress.6EDoT9B0.js.map +0 -1
package/dist/core/git-log.d.ts
CHANGED
|
@@ -5,4 +5,24 @@ export declare function resolveDefaultBranch(root: string): Promise<string>;
|
|
|
5
5
|
* a merge commit's own source-branch name, since those predate the `(IDEA-N)` convention. */
|
|
6
6
|
export declare function resolveIdFromCommitMessage(message: string): string | null;
|
|
7
7
|
export declare function resolveIdsWithMainActivity(root: string): Promise<Set<string>>;
|
|
8
|
+
export interface GitLogCommit {
|
|
9
|
+
hash: string;
|
|
10
|
+
subject: string;
|
|
11
|
+
prefix: string;
|
|
12
|
+
date: string;
|
|
13
|
+
tags: string[];
|
|
14
|
+
isUpstreamHead: boolean;
|
|
15
|
+
pushed: boolean;
|
|
16
|
+
ideaId: string | null;
|
|
17
|
+
}
|
|
18
|
+
export interface GitLogPage {
|
|
19
|
+
commits: GitLogCommit[];
|
|
20
|
+
upstream: string | null;
|
|
21
|
+
hasMore: boolean;
|
|
22
|
+
}
|
|
23
|
+
/** Exported for direct testing against `git log`'s %x1f/%x1e-separated output
|
|
24
|
+
* without needing a full repo fixture for every case. */
|
|
25
|
+
export declare function parseGitLogOutput(output: string, upstream: string | null, unpushed: Set<string>): GitLogCommit[];
|
|
26
|
+
export declare function resolveUpstream(root: string): Promise<string | null>;
|
|
27
|
+
export declare function readFirstParentLog(root: string, skip: number, pageSize?: number): Promise<GitLogPage>;
|
|
8
28
|
//# 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;AAED;6FAC6F;AAC7F,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQzE;AAOD,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAgBnF"}
|
|
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;AAED;6FAC6F;AAC7F,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQzE;AAOD,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAgBnF;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,OAAO,CAAC;CAClB;AAoCD;yDACyD;AACzD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,GACpB,YAAY,EAAE,CAqBhB;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAI1E;AAED,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,SAAK,GACZ,OAAO,CAAC,UAAU,CAAC,CAsBrB"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,182 +1,186 @@
|
|
|
1
|
-
import { A as s, C as t, a as r, D as i, b as
|
|
2
|
-
import { a as
|
|
3
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as s, C as t, a as r, D as i, b as o, c as n, d, M as c, P as m, e as l, f as S, S as P, g as h, h as T, i as E, j as C, k as g, l as I, m as p, n as R, o as _, p as N, q as b, r as y, s as A, t as f, u, v, w as F, x as D, y as L, z as O, B as M, E as k, F as H, G, H as w, I as j, J as U, K, L as B, N as x, O as q, Q as W, R as J, T as Q, U as X, V as z, W as V, X as Y, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ta, a2 as ra, a3 as ia, a4 as oa, a5 as na, a6 as da, a7 as ca, a8 as ma, a9 as la, aa as Sa, ab as Pa, ac as ha, ad as Ta, ae as Ea, af as Ca, ag as ga, ah as Ia, ai as pa, aj as Ra, ak as _a, al as Na, am as ba, an as ya, ao as Aa, ap as fa, aq as ua, ar as va, as as Fa, at as Da, au as La, av as Oa, aw as Ma, ax as ka, ay as Ha, az as Ga, aA as wa, aB as ja, aC as Ua, aD as Ka, aE as Ba, aF as xa, aG as qa, aH as Wa, aI as Ja, aJ as Qa, aK as Xa, aL as za, aM as Va, aN as Ya, aO as Za, aP as $a, aQ as ae, aR as ee, aS as se, aT as te, aU as re, aV as ie, aW as oe, aX as ne, aY as de, aZ as ce, a_ as me, a$ as le, b0 as Se, b1 as Pe, b2 as he, b3 as Te, b4 as Ee, b5 as Ce, b6 as ge, b7 as Ie, b8 as pe, b9 as Re, ba as _e, bb as Ne, bc as be, bd as ye, be as Ae, bf as fe, bg as ue, bh as ve, bi as Fe, bj as De } from "../chunks/phase-progress.C97wkNMK.js";
|
|
2
|
+
import { a as Oe, c as Me, d as ke, b as He, e as Ge, f as we, g as je, h as Ue, i as Ke, j as Be, k as xe, l as qe, m as We, n as Je, o as Qe, p as Xe, q as ze, r as Ve, s as Ye, t as Ze, u as $e, v as as, w as es, x as ss, y as ts } from "../chunks/daemon-state.BeDnhzBY.js";
|
|
3
|
+
import { AGENT_IDS as is, AGENT_LABELS as os, AGENT_OPTIONS as ns, DEFAULT_AGENTS as ds, DEFAULT_NIGHT_CONFIG as cs, DEFAULT_NOTIFICATION_KINDS as ms, MACHINE_NIGHT_PATH as ls, MACHINE_PROJECTS_PATH as Ss, MACHINE_UPDATE_PATH as Ps, NIGHT_CHECK_IDS as hs, NOTIFICATION_SETTING_KINDS as Ts, PAIRING_TOKEN_HEADER as Es, PLAN_KINDS as Cs, PLAN_STATUSES as gs, TOOLBAR_SEGMENT_IDS as Is, agentConfigsEqual as ps, coerceAgentConfig as Rs } from "../types/index.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
is as AGENT_IDS,
|
|
6
|
+
os as AGENT_LABELS,
|
|
7
|
+
ns as AGENT_OPTIONS,
|
|
8
8
|
s as AlreadyInitializedError,
|
|
9
9
|
t as COMMIT_SCOPES,
|
|
10
10
|
r as COMMIT_SHA_RE,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
ds as DEFAULT_AGENTS,
|
|
12
|
+
cs as DEFAULT_NIGHT_CONFIG,
|
|
13
|
+
ms as DEFAULT_NOTIFICATION_KINDS,
|
|
14
14
|
i as DOCTOR_CHECKS,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
o as DOCTOR_FIXERS,
|
|
16
|
+
n as DOCTOR_RULES,
|
|
17
17
|
d as DOCTOR_RULES_BY_ID,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
ls as MACHINE_NIGHT_PATH,
|
|
19
|
+
Ss as MACHINE_PROJECTS_PATH,
|
|
20
|
+
Ps as MACHINE_UPDATE_PATH,
|
|
21
21
|
c as MAX_TITLE_LENGTH,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
hs as NIGHT_CHECK_IDS,
|
|
23
|
+
Ts as NOTIFICATION_SETTING_KINDS,
|
|
24
|
+
Es as PAIRING_TOKEN_HEADER,
|
|
25
|
+
m as PAPER_CAMP_VERSION,
|
|
26
|
+
l as PHASE_MAX_FRACTION,
|
|
27
27
|
S as PHASE_STALL_MS,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Cs as PLAN_KINDS,
|
|
29
|
+
gs as PLAN_STATUSES,
|
|
30
30
|
P as SKILL_MD_CONTENT,
|
|
31
31
|
h as SUGGESTION_ENTRY_RE,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
Is as TOOLBAR_SEGMENT_IDS,
|
|
33
|
+
Oe as addProject,
|
|
34
34
|
T as addRoadmapCandidate,
|
|
35
35
|
E as addRoadmapItem,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
C as advanceAnchor,
|
|
37
|
+
g as agentConfigSchema,
|
|
38
|
+
ps as agentConfigsEqual,
|
|
39
39
|
I as agentThreadMessage,
|
|
40
40
|
p as applyEnvEntries,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
R as archiveEntityFile,
|
|
42
|
+
_ as assignEntityId,
|
|
43
|
+
N as assignPlanId,
|
|
44
|
+
b as assignTicketId,
|
|
45
|
+
y as branchName,
|
|
46
|
+
A as buildClaudeSettingsJson,
|
|
47
|
+
f as buildPermissionsAllow,
|
|
48
|
+
u as buildSessionStartCommand,
|
|
49
|
+
v as classifyAnchor,
|
|
50
|
+
Me as clearNightProject,
|
|
51
51
|
F as clearPrCache,
|
|
52
|
-
|
|
52
|
+
Rs as coerceAgentConfig,
|
|
53
53
|
D as collectDoctorContext,
|
|
54
54
|
L as collectParkedQuestions,
|
|
55
55
|
O as computePlanContentHash,
|
|
56
56
|
M as computePrTitle,
|
|
57
57
|
k as createPrReview,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
ke as daemonLogPath,
|
|
59
|
+
He as daemonStatePath,
|
|
60
60
|
H as dateString,
|
|
61
|
-
|
|
61
|
+
Ge as defaultRegistryPath,
|
|
62
62
|
G as derivePrLabels,
|
|
63
|
-
w as
|
|
64
|
-
j as
|
|
65
|
-
U as
|
|
66
|
-
K as
|
|
67
|
-
B as
|
|
68
|
-
x as
|
|
69
|
-
q as
|
|
70
|
-
W as
|
|
71
|
-
J as
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
V as
|
|
76
|
-
Y as
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
$ as
|
|
81
|
-
aa as
|
|
82
|
-
ea as
|
|
83
|
-
sa as
|
|
84
|
-
ta as
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
ia as
|
|
89
|
-
na as formatIdeaFile,
|
|
63
|
+
w as deriveSubjectVocabulary,
|
|
64
|
+
j as describeFindings,
|
|
65
|
+
U as deskCheckSchema,
|
|
66
|
+
K as deskCiSchema,
|
|
67
|
+
B as deskConfigSchema,
|
|
68
|
+
x as deskServiceSchema,
|
|
69
|
+
q as detectPackageManager,
|
|
70
|
+
W as dispatchPrReview,
|
|
71
|
+
J as ensureSubject,
|
|
72
|
+
Q as entitiesWithNewChangesRequested,
|
|
73
|
+
X as entityFrontmatterKnownKeys,
|
|
74
|
+
z as entityFrontmatterSchema,
|
|
75
|
+
V as entityToIdea,
|
|
76
|
+
Y as entityToPlan,
|
|
77
|
+
we as fetchMachineNightGate,
|
|
78
|
+
je as fetchMachineProjects,
|
|
79
|
+
Z as fetchPrDiff,
|
|
80
|
+
$ as fetchUnresolvedThreads,
|
|
81
|
+
aa as findArchivableIdeas,
|
|
82
|
+
ea as findConsistencyIssues,
|
|
83
|
+
sa as findReleaseLineForId,
|
|
84
|
+
ta as findingSeverity,
|
|
85
|
+
Ue as formatDaemonLinks,
|
|
86
|
+
Ke as formatDaemonStatusLine,
|
|
87
|
+
ra as formatEntityFile,
|
|
88
|
+
ia as formatIdeaFile,
|
|
90
89
|
oa as formatPlanEntry,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
na as formatPlanFile,
|
|
91
|
+
da as formatReleaseNotesMarkdown,
|
|
92
|
+
Be as formatUpdateStatusLine,
|
|
93
|
+
ca as getPrMapFetchedAt,
|
|
95
94
|
ma as hasPaperCampDependency,
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
la as ideaFrontmatterSchema,
|
|
96
|
+
Sa as initProject,
|
|
97
|
+
Pa as isClosedEntity,
|
|
98
98
|
ha as isConventionalPrTitle,
|
|
99
99
|
Ta as isPhaseStalled,
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
xe as isProcessAlive,
|
|
101
|
+
qe as isProjectMissing,
|
|
102
102
|
Ea as linkRoadmapItem,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
Ia as
|
|
109
|
-
pa as
|
|
103
|
+
We as listProjects,
|
|
104
|
+
Je as loadRegistry,
|
|
105
|
+
Qe as machineConfigDir,
|
|
106
|
+
Ca as medianSegmentMs,
|
|
107
|
+
ga as mergeClaudeSettingsJson,
|
|
108
|
+
Ia as moveRoadmapItem,
|
|
109
|
+
pa as nightConfigSchema,
|
|
110
|
+
Ra as nightCustomCheckSchema,
|
|
110
111
|
_a as nightWindowSchema,
|
|
111
112
|
Na as notificationsConfigSchema,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
ba as paperCampConfigSchema,
|
|
114
|
+
ya as parseEntityFile,
|
|
115
|
+
Aa as parseEnv,
|
|
116
|
+
fa as parseFrontmatter,
|
|
117
|
+
ua as parseIdeaFile,
|
|
117
118
|
va as parseIdeas,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
119
|
+
Fa as parseNotificationLog,
|
|
120
|
+
Da as parsePlanFile,
|
|
121
|
+
La as parsePlans,
|
|
122
|
+
Oa as parseRawEntries,
|
|
123
|
+
Ma as parseRoadmap,
|
|
124
|
+
ka as parseSuggestions,
|
|
125
|
+
Ha as peekCachedPrs,
|
|
126
|
+
Ga as phaseFraction,
|
|
127
|
+
wa as planDoctorFixes,
|
|
128
|
+
ja as planFieldsSchema,
|
|
129
|
+
Ua as planFrontmatterSchema,
|
|
130
|
+
Xe as probeMachineEndpoint,
|
|
131
|
+
Ka as pushSubscribeBodySchema,
|
|
132
|
+
Ba as pushUnsubscribeBodySchema,
|
|
133
|
+
ze as qrEligibleLink,
|
|
134
|
+
xa as readEntities,
|
|
135
|
+
qa as readEntitiesWithDerivedStatus,
|
|
136
|
+
Wa as readFileMaybe,
|
|
137
|
+
Ja as readNoteEntries,
|
|
138
|
+
Qa as readParkedQuestions,
|
|
139
|
+
Ve as readRunningDaemonState,
|
|
139
140
|
Xa as readTaskLog,
|
|
140
141
|
za as readWorkEntries,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
ne as
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
le as
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
_e as
|
|
174
|
-
Ne as
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
142
|
+
Ye as removeDaemonState,
|
|
143
|
+
Ze as removeProject,
|
|
144
|
+
Va as removeRoadmapItem,
|
|
145
|
+
Ya as removeSuggestionLine,
|
|
146
|
+
Za as renderConsistencyComment,
|
|
147
|
+
$a as renderPlanPhasesIntoBody,
|
|
148
|
+
ae as replyToReviewThread,
|
|
149
|
+
ee as reportFindings,
|
|
150
|
+
se as resolveClosedIdeaQuestions,
|
|
151
|
+
te as resolveEntityIdForCommit,
|
|
152
|
+
re as resolveEntityTrail,
|
|
153
|
+
ie as resolveIdFromCommitMessage,
|
|
154
|
+
oe as resolveIdeasForRelease,
|
|
155
|
+
ne as resolvePlanForPrRef,
|
|
156
|
+
de as resolvePrimaryScope,
|
|
157
|
+
ce as resolvePrsByEntity,
|
|
158
|
+
me as resolveReleaseNotes,
|
|
159
|
+
le as resolveReleaseRanges,
|
|
160
|
+
Se as resolveReviewThread,
|
|
161
|
+
Pe as resolveRoadmap,
|
|
162
|
+
he as runDoctor,
|
|
163
|
+
Te as runDoctorChecks,
|
|
164
|
+
$e as saveRegistry,
|
|
165
|
+
Ee as scaffoldClaudeCodeIntegration,
|
|
166
|
+
as as scanForProjects,
|
|
167
|
+
Ce as scoutReviewFooter,
|
|
168
|
+
ge as serializeFrontmatter,
|
|
169
|
+
es as setNightPause,
|
|
170
|
+
ss as setNightProject,
|
|
171
|
+
Ie as setRoadmapItemShipped,
|
|
172
|
+
pe as sortFindings,
|
|
173
|
+
Re as squashMergePr,
|
|
174
|
+
_e as storedNotificationSchema,
|
|
175
|
+
Ne as syncConsistencyCommentToPr,
|
|
176
|
+
be as syncPlanPhasesToPr,
|
|
177
|
+
ye as syncPrLabelsToPr,
|
|
178
|
+
Ae as syncPrReadinessToPr,
|
|
179
|
+
fe as syncPrTitleToPr,
|
|
180
|
+
ue as todayDateString,
|
|
181
|
+
ve as updateRoadmapItem,
|
|
182
|
+
Fe as validatePrTitle,
|
|
183
|
+
De as webPushSubscriptionSchema,
|
|
184
|
+
ts as writeDaemonState
|
|
181
185
|
};
|
|
182
186
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import { EntityEntry, ParkedQuestion } from '../types/index';
|
|
1
|
+
import { EntityEntry, ParkedQuestion, ThreadMessage } from '../types/index';
|
|
2
|
+
export declare const isClosedEntity: (entity: Pick<EntityEntry, "status" | "archived">) => boolean;
|
|
2
3
|
/** Every open `question` thread message across the given entities, oldest-first —
|
|
3
4
|
* the pull-based inbox of parked agent decisions (IDEA-118). */
|
|
4
5
|
export declare function collectParkedQuestions(entities: EntityEntry[]): ParkedQuestion[];
|
|
5
6
|
export declare function readParkedQuestions(ideasDir: string): Promise<ParkedQuestion[]>;
|
|
7
|
+
/** Chat mirrors a parked question with its idea as a `[[ID]]` prefix, parsed into
|
|
8
|
+
* `entityId`; once that idea closes, the mirror reads as resolved rather than
|
|
9
|
+
* counting as unanswered forever. */
|
|
10
|
+
export declare function resolveClosedIdeaQuestions(thread: ThreadMessage[], entities: EntityEntry[]): ThreadMessage[];
|
|
6
11
|
//# sourceMappingURL=parked-questions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parked-questions.d.ts","sourceRoot":"","sources":["../../src/core/parked-questions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"parked-questions.d.ts","sourceRoot":"","sources":["../../src/core/parked-questions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAWjF,eAAO,MAAM,cAAc,GAAI,QAAQ,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,UAAU,CAAC,KAAG,OACG,CAAC;AAEtF;gEACgE;AAChE,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,cAAc,EAAE,CAehF;AAED,wBAAsB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAGrF;AAED;;qCAEqC;AACrC,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,aAAa,EAAE,EACvB,QAAQ,EAAE,WAAW,EAAE,GACtB,aAAa,EAAE,CAQjB"}
|
package/dist/core/roadmap.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlanEntry, ResolvedRoadmap, Roadmap
|
|
1
|
+
import { PlanEntry, ResolvedRoadmap, Roadmap } from '../types/index';
|
|
2
2
|
/**
|
|
3
3
|
* Only `## The goal`, `## Horizon N — …`, and `## Standing concerns` headings are
|
|
4
4
|
* inspected; other prose (intro, "How this file works") is skipped.
|
|
@@ -9,6 +9,26 @@ export declare function parseRoadmap(markdown: string): Roadmap;
|
|
|
9
9
|
* `candidateName` is given — just that one candidate bullet, leaving the item in place.
|
|
10
10
|
*/
|
|
11
11
|
export declare function removeRoadmapItem(markdown: string, horizonTitle: string, itemName: string, candidateName?: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Rewrites an item's head bullet (name and/or description), leaving its candidates,
|
|
14
|
+
* links and shipped marker untouched. A new description replaces any wrapped
|
|
15
|
+
* continuation lines, collapsing it onto the head line like addRoadmapItem does.
|
|
16
|
+
*/
|
|
17
|
+
export declare function updateRoadmapItem(markdown: string, horizonTitle: string, itemName: string, updates: {
|
|
18
|
+
name?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
}): string;
|
|
21
|
+
/**
|
|
22
|
+
* Moves an item's whole block — head, continuations, candidates, links and shipped
|
|
23
|
+
* marker — to the end of another horizon's item list. No-op if either horizon or the
|
|
24
|
+
* item doesn't exist, or the destination is the item's current horizon.
|
|
25
|
+
*/
|
|
26
|
+
export declare function moveRoadmapItem(markdown: string, horizonTitle: string, itemName: string, toHorizonTitle: string): string;
|
|
27
|
+
/**
|
|
28
|
+
* Sets or clears an item's `✓ shipped <date>` marker, replacing any existing one.
|
|
29
|
+
* `shippedOn` undefined reopens the item by removing the marker.
|
|
30
|
+
*/
|
|
31
|
+
export declare function setRoadmapItemShipped(markdown: string, horizonTitle: string, itemName: string, shippedOn: string | undefined): string;
|
|
12
32
|
/**
|
|
13
33
|
* Appends a new item bullet (`- **name** — description`) at the end of a horizon's
|
|
14
34
|
* item list, in the shape parseItems expects. No-op if the horizon doesn't exist.
|
|
@@ -21,11 +41,5 @@ export declare function linkRoadmapItem(markdown: string, horizonTitle: string,
|
|
|
21
41
|
* standing concerns last. The one ordered read every subject picker/grouping should use.
|
|
22
42
|
*/
|
|
23
43
|
export declare function deriveSubjectVocabulary(roadmap: Roadmap): string[];
|
|
24
|
-
export declare function resolveRoadmap(roadmap: Roadmap, entities: PlanEntry[],
|
|
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
|
-
*/
|
|
30
|
-
export declare function deriveRoadmapEvents(roadmap: Roadmap, entities: PlanEntry[], taskLog: TaskLogEntry[]): RoadmapEvent[];
|
|
44
|
+
export declare function resolveRoadmap(roadmap: Roadmap, entities: PlanEntry[], changelog?: string): ResolvedRoadmap;
|
|
31
45
|
//# 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,
|
|
1
|
+
{"version":3,"file":"roadmap.d.ts","sourceRoot":"","sources":["../../src/core/roadmap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EAET,eAAe,EAEf,OAAO,EAIR,MAAM,gBAAgB,CAAC;AA+DxB;;;GAGG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CA8CtD;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;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C,MAAM,CAqBR;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,GACrB,MAAM,CAiBR;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,GAC5B,MAAM,CAmBR;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;AAwDD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,SAAS,EAAE,EACrB,SAAS,SAAK,GACb,eAAe,CA0BjB"}
|