@dendelion/paper-camp 0.44.0 → 0.45.1
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/{daemon-state.Evil_jr0.js → daemon-state.BEsOWFz5.js} +79 -75
- package/dist/chunks/daemon-state.BEsOWFz5.js.map +1 -0
- package/dist/chunks/{dev-port.BLsETEnM.js → dev-port.CKE4LWyl.js} +2 -2
- package/dist/chunks/{dev-port.BLsETEnM.js.map → dev-port.CKE4LWyl.js.map} +1 -1
- package/dist/chunks/phase-progress.BCqVUFLp.js +4094 -0
- package/dist/chunks/phase-progress.BCqVUFLp.js.map +1 -0
- package/dist/cli/index.js +7353 -6320
- package/dist/cli/index.js.map +1 -1
- package/dist/core/assets.d.ts +11 -0
- package/dist/core/assets.d.ts.map +1 -0
- package/dist/core/batch-readiness.d.ts +43 -0
- package/dist/core/batch-readiness.d.ts.map +1 -0
- package/dist/core/batch-readiness.test.d.ts +2 -0
- package/dist/core/batch-readiness.test.d.ts.map +1 -0
- package/dist/core/batch-run.d.ts +106 -0
- package/dist/core/batch-run.d.ts.map +1 -0
- package/dist/core/batch-run.test.d.ts +2 -0
- package/dist/core/batch-run.test.d.ts.map +1 -0
- package/dist/core/capacity.d.ts +6 -2
- package/dist/core/capacity.d.ts.map +1 -1
- package/dist/core/corpus.d.ts +13 -1
- package/dist/core/corpus.d.ts.map +1 -1
- package/dist/core/doctor/checks/assets.d.ts +3 -0
- package/dist/core/doctor/checks/assets.d.ts.map +1 -0
- package/dist/core/doctor/checks/assets.test.d.ts +2 -0
- package/dist/core/doctor/checks/assets.test.d.ts.map +1 -0
- package/dist/core/doctor/checks/local-state.d.ts +3 -0
- package/dist/core/doctor/checks/local-state.d.ts.map +1 -0
- package/dist/core/doctor/checks/local-state.test.d.ts +2 -0
- package/dist/core/doctor/checks/local-state.test.d.ts.map +1 -0
- package/dist/core/doctor/doctor.d.ts +12 -0
- package/dist/core/doctor/doctor.d.ts.map +1 -1
- package/dist/core/doctor/rules.d.ts +31 -1
- package/dist/core/doctor/rules.d.ts.map +1 -1
- package/dist/core/entity-view.d.ts.map +1 -1
- package/dist/core/git-log.d.ts +4 -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 +154 -149
- package/dist/core/local-paths.d.ts +17 -0
- package/dist/core/local-paths.d.ts.map +1 -0
- package/dist/core/machine-registry/machine-registry.d.ts +3 -0
- package/dist/core/machine-registry/machine-registry.d.ts.map +1 -1
- package/dist/core/night-health.d.ts.map +1 -1
- package/dist/core/parse/schemas.d.ts +4 -0
- package/dist/core/parse/schemas.d.ts.map +1 -1
- package/dist/core/project-config.d.ts +2 -0
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/readers.d.ts.map +1 -1
- package/dist/core/release-notes.d.ts +7 -1
- package/dist/core/release-notes.d.ts.map +1 -1
- package/dist/core/scaffold/scaffold.d.ts +1 -0
- package/dist/core/scaffold/scaffold.d.ts.map +1 -1
- package/dist/core/stats.d.ts +3 -0
- package/dist/core/stats.d.ts.map +1 -1
- package/dist/core/trail.d.ts +6 -0
- package/dist/core/trail.d.ts.map +1 -1
- package/dist/toolbar/toolbar.js +3341 -3257
- package/dist/toolbar/toolbar.js.map +1 -1
- package/dist/types/index.d.ts +51 -5
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +24 -19
- package/dist/types/index.js.map +1 -1
- package/dist/vite/index.js +1 -1
- package/package.json +2 -1
- package/dist/chunks/daemon-state.Evil_jr0.js.map +0 -1
- package/dist/chunks/needs.BmY0GqQY.js +0 -3630
- package/dist/chunks/needs.BmY0GqQY.js.map +0 -1
package/dist/core/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { A as s, C as t, a as o, D as r, b as n, c as i, d, e as c, f as l, g as m, h as P, M as T, P as E, i as S, j as h, k as R, l as _, S as
|
|
2
|
-
import { P as
|
|
3
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as s, C as t, a as o, D as r, b as n, c as i, d, e as c, f as l, g as m, h as P, M as T, P as E, i as S, j as h, k as R, l as _, S as C, m as I, n as g, o as b, p, q as N, r as A, s as u, t as f, u as F, v, w as y, x as D, y as O, z as L, B as M, E as H, F as k, G, H as w, I as U, J as j, K as B, L as K, N as x, O as J, Q as W, R as q, T as Q, U as V, V as z, W as X, X as Y, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ta, a2 as oa, a3 as ra, a4 as na, a5 as ia, a6 as da, a7 as ca, a8 as la, a9 as ma, aa as Pa, ab as Ta, ac as Ea, ad as Sa, ae as ha, af as Ra, ag as _a, ah as Ca, ai as Ia, aj as ga, ak as ba, al as pa, am as Na, an as Aa, ao as ua, ap as fa, aq as Fa, ar as va, as as ya, at as Da, au as Oa, av as La, aw as Ma, ax as Ha, ay as ka, az as Ga, aA as wa, aB as Ua, aC as ja, aD as Ba, aE as Ka, aF as xa, aG as Ja, aH as Wa, aI as qa, aJ as Qa, aK as Va, aL as za, aM as Xa, aN as Ya, aO as Za, aP as $a, aQ as ae, aR as ee, aS as se, aT as te, aU as oe, aV as re, aW as ne, aX as ie, aY as de, aZ as ce, a_ as le, a$ as me, b0 as Pe, b1 as Te, b2 as Ee, b3 as Se, b4 as he, b5 as Re, b6 as _e, b7 as Ce, b8 as Ie, b9 as ge, ba as be, bb as pe, bc as Ne, bd as Ae, be as ue, bf as fe, bg as Fe, bh as ve, bi as ye, bj as De, bk as Oe, bl as Le, bm as Me, bn as He, bo as ke, bp as Ge, bq as we, br as Ue, bs as je, bt as Be, bu as Ke, bv as xe, bw as Je, bx as We, by as qe, bz as Qe, bA as Ve, bB as ze, bC as Xe, bD as Ye } from "../chunks/phase-progress.BCqVUFLp.js";
|
|
2
|
+
import { P as $e, a as as, c as es, d as ss, b as ts, e as os, f as rs, g as ns, h as is, i as ds, j as cs, k as ls, l as ms, m as Ps, n as Ts, o as Es, p as Ss, q as hs, r as Rs, s as _s, t as Cs, u as Is, v as gs, w as bs, x as ps, y as Ns } from "../chunks/daemon-state.BEsOWFz5.js";
|
|
3
|
+
import { AGENT_IDS as us, AGENT_LABELS as fs, AGENT_OPTIONS as Fs, DEFAULT_AGENTS as vs, DEFAULT_NIGHT_CONFIG as ys, DEFAULT_NOTIFICATION_KINDS as Ds, MACHINE_BATCH_PATH as Os, MACHINE_NIGHT_PATH as Ls, MACHINE_PAIR_CODE_PATH as Ms, MACHINE_PROJECTS_PATH as Hs, MACHINE_UPDATE_PATH as ks, NIGHT_CHECK_IDS as Gs, NOTIFICATION_SETTING_KINDS as ws, PAIRING_TOKEN_HEADER as Us, PLAN_KINDS as js, PLAN_STATUSES as Bs, TOOLBAR_SEGMENT_IDS as Ks, agentConfigsEqual as xs, coerceAgentConfig as Js } from "../types/index.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
us as AGENT_IDS,
|
|
6
|
+
fs as AGENT_LABELS,
|
|
7
|
+
Fs as AGENT_OPTIONS,
|
|
8
8
|
s as AlreadyInitializedError,
|
|
9
9
|
t as COMMIT_SCOPES,
|
|
10
10
|
o as COMMIT_SHA_RE,
|
|
11
11
|
r as DAEMON_GITIGNORE_ENTRIES,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
vs as DEFAULT_AGENTS,
|
|
13
|
+
ys as DEFAULT_NIGHT_CONFIG,
|
|
14
|
+
Ds as DEFAULT_NOTIFICATION_KINDS,
|
|
15
15
|
n as DOCTOR_CHECKS,
|
|
16
16
|
i as DOCTOR_FIXERS,
|
|
17
17
|
d as DOCTOR_RULES,
|
|
@@ -19,34 +19,35 @@ export {
|
|
|
19
19
|
l as DRAFT_PR_TEMPLATE_VERSION,
|
|
20
20
|
m as DRAFT_PR_WORKFLOW_CONTENT,
|
|
21
21
|
P as DRAFT_PR_WORKFLOW_HEADER,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
Os as MACHINE_BATCH_PATH,
|
|
23
|
+
Ls as MACHINE_NIGHT_PATH,
|
|
24
|
+
Ms as MACHINE_PAIR_CODE_PATH,
|
|
25
|
+
Hs as MACHINE_PROJECTS_PATH,
|
|
26
|
+
ks as MACHINE_UPDATE_PATH,
|
|
26
27
|
T as MAX_TITLE_LENGTH,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
Gs as NIGHT_CHECK_IDS,
|
|
29
|
+
ws as NOTIFICATION_SETTING_KINDS,
|
|
30
|
+
Us as PAIRING_TOKEN_HEADER,
|
|
31
|
+
$e as PAIR_HINT,
|
|
31
32
|
E as PAPER_CAMP_VERSION,
|
|
32
33
|
S as PHASE_MAX_FRACTION,
|
|
33
34
|
h as PHASE_STALL_MS,
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
js as PLAN_KINDS,
|
|
36
|
+
Bs as PLAN_STATUSES,
|
|
36
37
|
R as PULL_REQUEST_TEMPLATE_CONTENT,
|
|
37
38
|
_ as PULL_REQUEST_TEMPLATE_HEADER,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
C as SKILL_MD_CONTENT,
|
|
40
|
+
I as SUGGESTION_ENTRY_RE,
|
|
41
|
+
Ks as TOOLBAR_SEGMENT_IDS,
|
|
42
|
+
as as addProject,
|
|
43
|
+
g as addRoadmapCandidate,
|
|
44
|
+
b as addRoadmapItem,
|
|
45
|
+
p as advanceAnchor,
|
|
45
46
|
N as agentConfigSchema,
|
|
46
|
-
|
|
47
|
+
xs as agentConfigsEqual,
|
|
47
48
|
A as agentThreadMessage,
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
u as applyEnvEntries,
|
|
50
|
+
f as archiveEntityFile,
|
|
50
51
|
F as assignEntityId,
|
|
51
52
|
v as assignPlanId,
|
|
52
53
|
y as assignTicketId,
|
|
@@ -54,24 +55,24 @@ export {
|
|
|
54
55
|
O as branchName,
|
|
55
56
|
L as buildClaudeSettingsJson,
|
|
56
57
|
M as buildMcpJson,
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
H as buildOpencodeJson,
|
|
59
|
+
k as buildPermissionsAllow,
|
|
59
60
|
G as buildSessionStartCommand,
|
|
60
61
|
w as checkNeedsForRun,
|
|
61
62
|
U as classifyAnchor,
|
|
62
|
-
|
|
63
|
+
es as clearNightProject,
|
|
63
64
|
j as clearPrCache,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
Js as coerceAgentConfig,
|
|
66
|
+
B as collectDoctorContext,
|
|
67
|
+
K as collectParkedQuestions,
|
|
67
68
|
x as computeNeedsBlockedIds,
|
|
68
69
|
J as computePlanContentHash,
|
|
69
70
|
W as computePrTitle,
|
|
70
71
|
q as createPrReview,
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
ss as daemonLogPath,
|
|
73
|
+
ts as daemonStatePath,
|
|
73
74
|
Q as dateString,
|
|
74
|
-
|
|
75
|
+
os as defaultRegistryPath,
|
|
75
76
|
V as derivePrLabels,
|
|
76
77
|
z as deriveSubjectVocabulary,
|
|
77
78
|
X as describeFindings,
|
|
@@ -82,123 +83,127 @@ export {
|
|
|
82
83
|
ea as detectPackageManager,
|
|
83
84
|
sa as dispatchPrReview,
|
|
84
85
|
ta as draftPrTemplateVersion,
|
|
85
|
-
oa as
|
|
86
|
-
ra as
|
|
87
|
-
na as
|
|
88
|
-
ia as
|
|
89
|
-
da as
|
|
90
|
-
ca as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
ma as
|
|
95
|
-
Pa as
|
|
96
|
-
Ta as
|
|
97
|
-
Ea as
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
ha as
|
|
102
|
-
Ra as
|
|
103
|
-
_a as
|
|
86
|
+
oa as ensureLocalGitignore,
|
|
87
|
+
ra as ensureSubject,
|
|
88
|
+
na as entitiesWithNewChangesRequested,
|
|
89
|
+
ia as entityFrontmatterKnownKeys,
|
|
90
|
+
da as entityFrontmatterSchema,
|
|
91
|
+
ca as entityToIdea,
|
|
92
|
+
la as entityToPlan,
|
|
93
|
+
rs as fetchMachineNightGate,
|
|
94
|
+
ns as fetchMachineProjects,
|
|
95
|
+
ma as fetchPrDiff,
|
|
96
|
+
Pa as fetchUnresolvedThreads,
|
|
97
|
+
Ta as findConsistencyIssues,
|
|
98
|
+
Ea as findReleaseLineForId,
|
|
99
|
+
Sa as findingSeverity,
|
|
100
|
+
is as formatDaemonStatusLine,
|
|
101
|
+
ds as formatDaemonTailnetLine,
|
|
102
|
+
ha as formatEntityFile,
|
|
103
|
+
Ra as formatIdeaFile,
|
|
104
|
+
_a as formatPlanEntry,
|
|
105
|
+
Ca as formatPlanFile,
|
|
104
106
|
Ia as formatReleaseNotesMarkdown,
|
|
105
|
-
|
|
107
|
+
cs as formatUpdateStatusLine,
|
|
106
108
|
ga as getPrMapFetchedAt,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
ba as hasBlockingNeed,
|
|
110
|
+
pa as hasPaperCampDependency,
|
|
111
|
+
Na as ideaFrontmatterSchema,
|
|
112
|
+
Aa as initProject,
|
|
113
|
+
ua as isBlockingNeed,
|
|
112
114
|
fa as isConventionalPrTitle,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
Da as
|
|
123
|
-
Oa as
|
|
124
|
-
La as
|
|
125
|
-
Ma as
|
|
115
|
+
Fa as isPhaseStalled,
|
|
116
|
+
ls as isProcessAlive,
|
|
117
|
+
ms as isProjectMissing,
|
|
118
|
+
va as linkRoadmapItem,
|
|
119
|
+
Ps as listProjects,
|
|
120
|
+
ya as loadDeskConfig,
|
|
121
|
+
Ts as loadRegistry,
|
|
122
|
+
Es as machineConfigDir,
|
|
123
|
+
Ss as machineFile,
|
|
124
|
+
Da as medianSegmentMs,
|
|
125
|
+
Oa as mergeClaudeSettingsJson,
|
|
126
|
+
La as mergeMcpJson,
|
|
127
|
+
Ma as mergeOpencodeJson,
|
|
128
|
+
Ha as moveRoadmapItem,
|
|
126
129
|
ka as nightConfigSchema,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
Ga as nightCustomCheckSchema,
|
|
131
|
+
wa as nightWindowSchema,
|
|
132
|
+
Ua as notificationsConfigSchema,
|
|
133
|
+
ja as nowMinuteString,
|
|
134
|
+
Ba as paperCampConfigSchema,
|
|
132
135
|
Ka as parseEntityFile,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
136
|
+
xa as parseEnv,
|
|
137
|
+
Ja as parseFrontmatter,
|
|
138
|
+
Wa as parseIdeaFile,
|
|
139
|
+
qa as parseIdeas,
|
|
140
|
+
Qa as parseNeedsRef,
|
|
141
|
+
Va as parseNotificationLog,
|
|
142
|
+
za as parsePlanFile,
|
|
143
|
+
Xa as parsePlans,
|
|
144
|
+
Ya as parseRawEntries,
|
|
145
|
+
Za as parseRoadmap,
|
|
146
|
+
$a as parseSuggestions,
|
|
147
|
+
ae as peekCachedPrs,
|
|
148
|
+
ee as phaseFraction,
|
|
149
|
+
se as planDoctorFixes,
|
|
150
|
+
te as planFieldsSchema,
|
|
151
|
+
oe as planFrontmatterSchema,
|
|
152
|
+
hs as probeMachineEndpoint,
|
|
153
|
+
re as pushSubscribeBodySchema,
|
|
154
|
+
ne as pushUnsubscribeBodySchema,
|
|
155
|
+
ie as readEntities,
|
|
156
|
+
de as readFileMaybe,
|
|
157
|
+
ce as readParkedQuestions,
|
|
158
|
+
Rs as readRunningDaemonState,
|
|
159
|
+
le as readTaskLog,
|
|
160
|
+
_s as removeDaemonState,
|
|
161
|
+
Cs as removeProject,
|
|
162
|
+
me as removeRoadmapItem,
|
|
163
|
+
Pe as removeSuggestionLine,
|
|
164
|
+
Te as renderConsistencyComment,
|
|
165
|
+
Ee as renderPlanPhasesIntoBody,
|
|
166
|
+
Se as replyToReviewThread,
|
|
167
|
+
he as reportFindings,
|
|
168
|
+
Re as resolveClosedIdeaQuestions,
|
|
169
|
+
_e as resolveEntityIdForCommit,
|
|
170
|
+
Ce as resolveEntityTrail,
|
|
168
171
|
Ie as resolveIdFromCommitMessage,
|
|
169
172
|
ge as resolveIdeasForRelease,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
fe as
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
Ke as
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
173
|
+
be as resolveNeedsRefs,
|
|
174
|
+
pe as resolvePlanForPrRef,
|
|
175
|
+
Ne as resolvePrimaryScope,
|
|
176
|
+
Ae as resolvePrsByEntity,
|
|
177
|
+
ue as resolveReleaseCommits,
|
|
178
|
+
fe as resolveReleaseNotes,
|
|
179
|
+
Fe as resolveReleaseRanges,
|
|
180
|
+
ve as resolveReviewThread,
|
|
181
|
+
ye as resolveRoadmap,
|
|
182
|
+
De as runDoctor,
|
|
183
|
+
Oe as runDoctorChecks,
|
|
184
|
+
Is as saveRegistry,
|
|
185
|
+
Le as scaffoldClaudeCodeIntegration,
|
|
186
|
+
Me as scaffoldDraftPrIntegration,
|
|
187
|
+
gs as scanForProjects,
|
|
188
|
+
He as scoutReviewFooter,
|
|
189
|
+
ke as serializeFrontmatter,
|
|
190
|
+
bs as setNightPause,
|
|
191
|
+
ps as setNightProject,
|
|
192
|
+
Ge as setRoadmapItemShipped,
|
|
193
|
+
we as sortFindings,
|
|
194
|
+
Ue as squashMergePr,
|
|
195
|
+
je as storedNotificationSchema,
|
|
196
|
+
Be as syncConsistencyCommentToPr,
|
|
197
|
+
Ke as syncPlanPhasesToPr,
|
|
198
|
+
xe as syncPrLabelsToPr,
|
|
199
|
+
Je as syncPrReadinessToPr,
|
|
200
|
+
We as syncPrTitleToPr,
|
|
201
|
+
qe as todayDateString,
|
|
202
|
+
Qe as unarchiveEntityFile,
|
|
203
|
+
Ve as updateRoadmapItem,
|
|
204
|
+
ze as validatePrTitle,
|
|
205
|
+
Xe as webPushSubscriptionSchema,
|
|
206
|
+
Ns as writeDaemonState,
|
|
207
|
+
Ye as writeReleaseNotes
|
|
203
208
|
};
|
|
204
209
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Also read by the IDEA-320 migration: nothing in this set may ever sit in a
|
|
2
|
+
* project's `.gitignore` — a plan file is always meant to be committed. */
|
|
3
|
+
export declare const PLAN_NAMES: Set<string>;
|
|
4
|
+
/** The committed plan: `ideas/`, `config.json`, `suggestions.md`, `chat.md`, `about.md`,
|
|
5
|
+
* `assets/` — everything else belongs under `localFile` or `machineFile` instead. */
|
|
6
|
+
export declare const planFile: (root: string, name: string) => string;
|
|
7
|
+
/** This checkout's own state — logs, caches, run order — under `papercamp/.local/`,
|
|
8
|
+
* which ignores itself via `papercamp/.local/.gitignore` and so is never committed. */
|
|
9
|
+
export declare const localFile: (root: string, name: string) => string;
|
|
10
|
+
/** `chat.md` is shared and committed by every project, so appends from two clones
|
|
11
|
+
* must merge without a conflict — a `merge=union` line in `.gitattributes` keeps
|
|
12
|
+
* both sides' lines on pull. Read by both the IDEA-320 migration (which writes the
|
|
13
|
+
* block) and doctor (which checks for it). */
|
|
14
|
+
export declare const GITATTRIBUTES_BLOCK_START = "# paper-camp:start";
|
|
15
|
+
export declare const GITATTRIBUTES_BLOCK_END = "# paper-camp:end";
|
|
16
|
+
export declare const GITATTRIBUTES_BLOCK_BODY = "papercamp/chat.md merge=union";
|
|
17
|
+
//# sourceMappingURL=local-paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-paths.d.ts","sourceRoot":"","sources":["../../src/core/local-paths.ts"],"names":[],"mappings":"AAEA;2EAC2E;AAC3E,eAAO,MAAM,UAAU,aAOrB,CAAC;AAEH;qFACqF;AACrF,eAAO,MAAM,QAAQ,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,MAKrD,CAAC;AAEF;uFACuF;AACvF,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,MACd,CAAC;AAE1C;;;8CAG8C;AAC9C,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAC9D,eAAO,MAAM,uBAAuB,qBAAqB,CAAC;AAC1D,eAAO,MAAM,wBAAwB,kCAAkC,CAAC"}
|
|
@@ -14,6 +14,9 @@ export interface MachineRegistry {
|
|
|
14
14
|
night?: NightSelection;
|
|
15
15
|
}
|
|
16
16
|
export declare function machineConfigDir(): string;
|
|
17
|
+
/** This machine and account's own state — `projects.json`, `pairing.json`,
|
|
18
|
+
* `daemon.json`, `capacity.json` — none of it is a git repo. */
|
|
19
|
+
export declare function machineFile(name: string): string;
|
|
17
20
|
export declare function defaultRegistryPath(): string;
|
|
18
21
|
/** Resolves the empty registry on a missing or malformed file — same first-boot
|
|
19
22
|
* path a revoked or never-written file takes. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine-registry.d.ts","sourceRoot":"","sources":["../../../src/core/machine-registry/machine-registry.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,iGAAiG;IACjG,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAID,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAmCD;iDACiD;AACjD,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAgBzE;AAED;gEACgE;AAChE,wBAAsB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAKzF;AAiBD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,eAAe,CAAC;IAC1B,KAAK,EAAE,cAAc,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;0EAC0E;AAC1E,wBAAgB,UAAU,CACxB,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,MAAM,EACnB,IAAI,CAAC,EAAE,MAAM,GACZ,gBAAgB,CAalB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,eAAe,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,mBAAmB,CAQ1F;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,eAAe,GAAG,cAAc,EAAE,CAExE;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,eAAe,CAAC;IAC1B,EAAE,EAAE,OAAO,CAAC;CACb;AAED,gGAAgG;AAChG,wBAAgB,eAAe,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,qBAAqB,CAK9F;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,eAAe,GAAG,eAAe,CAI5E;AAED,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,MAAM,GAAG,IAAI,GACzB,eAAe,CAOjB;AAED;iFACiF;AACjF,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOrE;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAwBD,iGAAiG;AACjG,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAYvE"}
|
|
1
|
+
{"version":3,"file":"machine-registry.d.ts","sourceRoot":"","sources":["../../../src/core/machine-registry/machine-registry.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,CAAC,CAAC;I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,eAAe,CAI5E;AAED,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,MAAM,GAAG,IAAI,GACzB,eAAe,CAOjB;AAED;iFACiF;AACjF,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOrE;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAwBD,iGAAiG;AACjG,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAYvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"night-health.d.ts","sourceRoot":"","sources":["../../src/core/night-health.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAe,cAAc,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"night-health.d.ts","sourceRoot":"","sources":["../../src/core/night-health.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAe,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAqF7F,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAuB9B;AAED,UAAU,iBAAiB;IACzB,KAAK,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC9C;AAgBD,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,IAAI,EACjD,YAAY,EAAE,MAAM,GACnB,MAAM,GAAG,IAAI,CAWf;AAaD,wBAAgB,UAAU,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAYxD;AAQD,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAsCjF;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,EACd,EAAE,GAAE,MAAiC,GACpC,OAAO,CAAC,IAAI,CAAC,CA4Bf;AAED;yFACyF;AACzF,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,cAAc,EACnB,OAAO,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CAAE,GAC/E,OAAO,CAAC,WAAW,EAAE,CAAC,CAcxB"}
|
|
@@ -202,6 +202,8 @@ export declare const notificationsConfigSchema: z.ZodObject<{
|
|
|
202
202
|
"pr-review-changes-requested": "pr-review-changes-requested";
|
|
203
203
|
"night-review-findings": "night-review-findings";
|
|
204
204
|
"service-stopped": "service-stopped";
|
|
205
|
+
"batch-paused": "batch-paused";
|
|
206
|
+
"batch-finished": "batch-finished";
|
|
205
207
|
"run-finished": "run-finished";
|
|
206
208
|
"run-failed": "run-failed";
|
|
207
209
|
"run-interrupted": "run-interrupted";
|
|
@@ -372,6 +374,8 @@ export declare const paperCampConfigSchema: z.ZodObject<{
|
|
|
372
374
|
"pr-review-changes-requested": "pr-review-changes-requested";
|
|
373
375
|
"night-review-findings": "night-review-findings";
|
|
374
376
|
"service-stopped": "service-stopped";
|
|
377
|
+
"batch-paused": "batch-paused";
|
|
378
|
+
"batch-finished": "batch-finished";
|
|
375
379
|
"run-finished": "run-finished";
|
|
376
380
|
"run-failed": "run-failed";
|
|
377
381
|
"run-interrupted": "run-interrupted";
|
|
@@ -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;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBlB,CAAC;AAEjB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAiB9B,CAAC;AAyEL;;;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;;;;iBAI1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;iBAKvB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;iBAI3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC;AAEH,eAAO,MAAM,yBAAyB
|
|
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;AA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AM,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"}
|
|
@@ -11,4 +11,6 @@ export interface ProjectConfig {
|
|
|
11
11
|
/** The single reader for `papercamp/config.json` — parses and coerces default
|
|
12
12
|
* agents, the desk manifest, and the roadmap-derived subject vocabulary once. */
|
|
13
13
|
export declare function readProjectConfig(root: string): ProjectConfig;
|
|
14
|
+
export declare function assetMaxFileSizeMb(root: string): number;
|
|
15
|
+
export declare function assetMaxBytes(root: string): number;
|
|
14
16
|
//# sourceMappingURL=project-config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../src/core/project-config.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,OAAO,EAEZ,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,eAAe,EAErB,MAAM,gBAAgB,CAAC;AAIxB,MAAM,WAAW,aAAa;IAC5B,oEAAoE;IACpE,GAAG,EAAE,CAAC,eAAe,GAAG;QAAE,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC3D,aAAa,EAAE,gBAAgB,CAAC;IAChC,IAAI,EAAE,UAAU,GAAG,SAAS,CAAC;IAC7B,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAuDD;kFACkF;AAClF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAe7D"}
|
|
1
|
+
{"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../src/core/project-config.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,OAAO,EAEZ,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,eAAe,EAErB,MAAM,gBAAgB,CAAC;AAIxB,MAAM,WAAW,aAAa;IAC5B,oEAAoE;IACpE,GAAG,EAAE,CAAC,eAAe,GAAG;QAAE,YAAY,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,GAAG,IAAI,CAAC;IAC3D,aAAa,EAAE,gBAAgB,CAAC;IAChC,IAAI,EAAE,UAAU,GAAG,SAAS,CAAC;IAC7B,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAuDD;kFACkF;AAClF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAe7D;AAID,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEvD;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readers.d.ts","sourceRoot":"","sources":["../../src/core/readers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAgB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"readers.d.ts","sourceRoot":"","sources":["../../src/core/readers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAgB,MAAM,gBAAgB,CAAC;AAK7E,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,CA2C3D"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { ReleaseNoteSection } from '../types/index';
|
|
2
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.
|
|
3
|
+
* initial row and swaps in the idea's title, so a release reads as shipped ideas, not raw commits.
|
|
4
|
+
* A commit with no idea reference keeps its own row, so a hand-made fix on main still gets a line. */
|
|
4
5
|
export declare function resolveReleaseNotes(root: string, version: string): Promise<ReleaseNoteSection[] | null>;
|
|
5
6
|
export declare function formatReleaseNotesMarkdown(version: string, sections: ReleaseNoteSection[]): string;
|
|
7
|
+
/** Replaces the version's section in CHANGELOG.md with the grouped notes, keeping the
|
|
8
|
+
* release-please header line (its date and compare link) as-is, and returns the printed
|
|
9
|
+
* section. Running this twice over the same PR is a no-op: the second pass reads back the
|
|
10
|
+
* section it just wrote and regroups it to the same result. */
|
|
11
|
+
export declare function writeReleaseNotes(root: string, version: string): Promise<string | null>;
|
|
6
12
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"release-notes.d.ts","sourceRoot":"","sources":["../../src/core/release-notes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA+B,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAuCtF;;sGAEsG;AACtG,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,kBAAkB,EAAE,GAAG,IAAI,CAAC,CAiCtC;AAMD,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,kBAAkB,EAAE,GAC7B,MAAM,CASR;AAID;;;+DAG+D;AAC/D,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAwB7F"}
|
|
@@ -7,6 +7,7 @@ export interface InitOptions {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function initProject(targetDir: string, options: InitOptions): Promise<void>;
|
|
9
9
|
export declare const DAEMON_GITIGNORE_ENTRIES: readonly ["papercamp/.pairing.json", "papercamp/.task-logs/", "papercamp/tasks.log", "papercamp/notifications.log", "papercamp/pr-reviews.json", "papercamp/pr-map.json", "papercamp/night.json", "papercamp/run-order.md"];
|
|
10
|
+
export declare function ensureLocalGitignore(campDir: string): Promise<void>;
|
|
10
11
|
export declare function scaffoldClaudeCodeIntegration(targetDir: string): Promise<void>;
|
|
11
12
|
export declare function scaffoldDraftPrIntegration(targetDir: string): Promise<void>;
|
|
12
13
|
//# sourceMappingURL=scaffold.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"AA4CA,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,CAgDxF;AAeD,eAAO,MAAM,wBAAwB,6NAS3B,CAAC;
|
|
1
|
+
{"version":3,"file":"scaffold.d.ts","sourceRoot":"","sources":["../../../src/core/scaffold/scaffold.ts"],"names":[],"mappings":"AA4CA,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,CAgDxF;AAeD,eAAO,MAAM,wBAAwB,6NAS3B,CAAC;AAIX,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAOzE;AAED,wBAAsB,6BAA6B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA0CpF;AAcD,wBAAsB,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWjF"}
|
package/dist/core/stats.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ export declare function isoWeekKey(dateStr: string): string;
|
|
|
10
10
|
export declare function tasksPerWeek(entries: TaskLogEntry[]): TasksPerWeek[];
|
|
11
11
|
export declare function usagePerWeek(entries: TaskLogEntry[]): UsagePerWeek[];
|
|
12
12
|
export declare function medianPhaseDurationMs(entries: TaskLogEntry[]): number | null;
|
|
13
|
+
/** The per-phase cost a batch preview estimates a queued idea's remaining phases
|
|
14
|
+
* against — `undefined` until at least one phase has reported a cost. */
|
|
15
|
+
export declare function medianPhaseCostUsd(entries: TaskLogEntry[]): number | undefined;
|
|
13
16
|
export declare function mostExpensiveIdeas(entries: TaskLogEntry[], limit?: number): IdeaCost[];
|
|
14
17
|
export declare function computeProjectStats(root: string): Promise<ProjectStats>;
|
|
15
18
|
//# sourceMappingURL=stats.d.ts.map
|
package/dist/core/stats.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/core/stats.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,YAAY,EAEZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACb,MAAM,gBAAgB,CAAC;AAsExB,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,WAAW,EAAE,GACtB,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAOvC;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG;IACzD,aAAa,EAAE,MAAM,CAAC;IACtB,SA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BAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,MAAM,GAAG,IAAI,CAa5E;AAED;yEACyE;AACzE,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,MAAM,GAAG,SAAS,CAa9E;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,SAAI,GAAG,QAAQ,EAAE,CAsBjF;AAED,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CA4B7E"}
|
package/dist/core/trail.d.ts
CHANGED
|
@@ -9,5 +9,11 @@ export declare function resolveReleaseRanges(changelog: string): {
|
|
|
9
9
|
}[];
|
|
10
10
|
export declare function resolveEntityIdForCommit(root: string, sha: string): Promise<string | null>;
|
|
11
11
|
export declare function resolveIdeasForRelease(root: string, range: string): Promise<Map<string, string[]>>;
|
|
12
|
+
export interface ReleaseCommit {
|
|
13
|
+
sha: string;
|
|
14
|
+
id: string | null;
|
|
15
|
+
subject: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function resolveReleaseCommits(root: string, range: string): Promise<ReleaseCommit[]>;
|
|
12
18
|
export declare function resolveEntityTrail(root: string, id: string): Promise<ProvenanceTrail>;
|
|
13
19
|
//# sourceMappingURL=trail.d.ts.map
|
package/dist/core/trail.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trail.d.ts","sourceRoot":"","sources":["../../src/core/trail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"trail.d.ts","sourceRoot":"","sources":["../../src/core/trail.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEtD,OAAO,EACL,aAAa,EAEb,0BAA0B,EAG3B,MAAM,WAAW,CAAC;AAMnB,OAAO,EAAE,aAAa,EAAE,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