@dendelion/paper-camp 0.39.0 → 0.42.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/{daemon-state.BeDnhzBY.js → daemon-state.Evil_jr0.js} +93 -104
- package/dist/chunks/daemon-state.Evil_jr0.js.map +1 -0
- package/dist/chunks/needs.BL7yYaO7.js +3549 -0
- package/dist/chunks/needs.BL7yYaO7.js.map +1 -0
- package/dist/cli/index.js +4396 -4134
- package/dist/cli/index.js.map +1 -1
- package/dist/core/chat-file.d.ts +1 -0
- package/dist/core/chat-file.d.ts.map +1 -1
- package/dist/core/ci/ci-release.d.ts +5 -0
- package/dist/core/ci/ci-release.d.ts.map +1 -1
- package/dist/core/daemon-state/daemon-state.d.ts +3 -11
- package/dist/core/daemon-state/daemon-state.d.ts.map +1 -1
- package/dist/core/decision-text.d.ts +9 -0
- package/dist/core/decision-text.d.ts.map +1 -0
- package/dist/core/decision-text.test.d.ts +2 -0
- package/dist/core/decision-text.test.d.ts.map +1 -0
- package/dist/core/desk-discovery/evidence.d.ts +1 -0
- package/dist/core/desk-discovery/evidence.d.ts.map +1 -1
- package/dist/core/doctor/checks/tooling.d.ts.map +1 -1
- package/dist/core/doctor/doctor.d.ts +2 -0
- package/dist/core/doctor/doctor.d.ts.map +1 -1
- package/dist/core/doctor/fix.d.ts +1 -1
- package/dist/core/doctor/fix.d.ts.map +1 -1
- package/dist/core/doctor/rules.d.ts +10 -0
- 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 +5 -0
- package/dist/core/git-log.d.ts.map +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +192 -178
- package/dist/core/needs-status.d.ts +4 -0
- package/dist/core/needs-status.d.ts.map +1 -0
- package/dist/core/needs.d.ts +32 -0
- package/dist/core/needs.d.ts.map +1 -0
- package/dist/core/needs.test.d.ts +2 -0
- package/dist/core/needs.test.d.ts.map +1 -0
- package/dist/core/parked-questions.d.ts +0 -1
- package/dist/core/parked-questions.d.ts.map +1 -1
- package/dist/core/parse/parser.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/roadmap.d.ts.map +1 -1
- package/dist/core/run-filters.d.ts +2 -0
- package/dist/core/run-filters.d.ts.map +1 -1
- package/dist/core/run-order.d.ts +5 -1
- package/dist/core/run-order.d.ts.map +1 -1
- package/dist/core/run-rows.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/scaffold/templates.d.ts +6 -0
- package/dist/core/scaffold/templates.d.ts.map +1 -1
- package/dist/core/sections.d.ts.map +1 -1
- package/dist/core/sections.test.d.ts +2 -0
- package/dist/core/sections.test.d.ts.map +1 -0
- package/dist/core/serialize/entity-file.d.ts +6 -2
- package/dist/core/serialize/entity-file.d.ts.map +1 -1
- package/dist/toolbar/toolbar.js +3192 -3187
- package/dist/toolbar/toolbar.js.map +1 -1
- package/dist/types/index.d.ts +70 -0
- 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/dist/vite/index.js +1 -1
- package/package.json +6 -2
- package/dist/chunks/daemon-state.BeDnhzBY.js.map +0 -1
- package/dist/chunks/phase-progress.2akB88O9.js +0 -3178
- package/dist/chunks/phase-progress.2akB88O9.js.map +0 -1
package/dist/core/index.js
CHANGED
|
@@ -1,188 +1,202 @@
|
|
|
1
|
-
import { A as s, C as t, a as r, D as
|
|
2
|
-
import { a as
|
|
3
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as s, C as t, a as r, D as o, b as i, c as n, 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 I, m as C, n as N, o as g, p, q as b, r as A, s as f, t as u, u as F, v, w as y, x as D, y as O, z as L, B as M, E as k, F as H, G, H as w, I as U, J as j, K, L as B, N as W, O as x, Q as q, R as Q, T as V, U as J, V as X, W as z, X as Y, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ta, a2 as ra, a3 as oa, a4 as ia, a5 as na, 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 Ia, ai as Ca, aj as Na, ak as ga, al as pa, am as ba, an as Aa, ao as fa, ap as ua, aq as Fa, ar as va, as as ya, at as Da, au as Oa, av as La, aw as Ma, ax as ka, ay as Ha, az as Ga, aA as wa, aB as Ua, aC as ja, aD as Ka, aE as Ba, aF as Wa, aG as xa, aH as qa, aI as Qa, aJ as Va, aK as Ja, aL as Xa, aM as za, 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 oe, aW as ie, aX as ne, 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 Ie, b8 as Ce, b9 as Ne, ba as ge, bb as pe, bc as be, bd as Ae, be as fe, bf as ue, bg as Fe, bh as ve, bi as ye, bj as De, bk as Oe, bl as Le, bm as Me, bn as ke, bo as He, bp as Ge, bq as we, br as Ue, bs as je, bt as Ke, bu as Be, bv as We, bw as xe, bx as qe, by as Qe } from "../chunks/needs.BL7yYaO7.js";
|
|
2
|
+
import { P as Je, a as Xe, c as ze, d as Ye, b as Ze, e as $e, f as as, g as es, h as ss, i as ts, j as rs, k as os, l as is, m as ns, n as ds, o as cs, p as ls, r as ms, q as Ps, s as Ts, t as Es, u as Ss, v as hs, w as Rs, x as _s } from "../chunks/daemon-state.Evil_jr0.js";
|
|
3
|
+
import { AGENT_IDS as Cs, AGENT_LABELS as Ns, AGENT_OPTIONS as gs, DEFAULT_AGENTS as ps, DEFAULT_NIGHT_CONFIG as bs, DEFAULT_NOTIFICATION_KINDS as As, MACHINE_NIGHT_PATH as fs, MACHINE_PAIR_CODE_PATH as us, MACHINE_PROJECTS_PATH as Fs, MACHINE_UPDATE_PATH as vs, NIGHT_CHECK_IDS as ys, NOTIFICATION_SETTING_KINDS as Ds, PAIRING_TOKEN_HEADER as Os, PLAN_KINDS as Ls, PLAN_STATUSES as Ms, TOOLBAR_SEGMENT_IDS as ks, agentConfigsEqual as Hs, coerceAgentConfig as Gs } from "../types/index.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
Cs as AGENT_IDS,
|
|
6
|
+
Ns as AGENT_LABELS,
|
|
7
|
+
gs as AGENT_OPTIONS,
|
|
8
8
|
s as AlreadyInitializedError,
|
|
9
9
|
t as COMMIT_SCOPES,
|
|
10
10
|
r as COMMIT_SHA_RE,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
o as DAEMON_GITIGNORE_ENTRIES,
|
|
12
|
+
ps as DEFAULT_AGENTS,
|
|
13
|
+
bs as DEFAULT_NIGHT_CONFIG,
|
|
14
|
+
As as DEFAULT_NOTIFICATION_KINDS,
|
|
15
|
+
i as DOCTOR_CHECKS,
|
|
16
|
+
n as DOCTOR_FIXERS,
|
|
17
17
|
d as DOCTOR_RULES,
|
|
18
18
|
c as DOCTOR_RULES_BY_ID,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
l as DRAFT_PR_TEMPLATE_VERSION,
|
|
20
|
+
m as DRAFT_PR_WORKFLOW_CONTENT,
|
|
21
|
+
P as DRAFT_PR_WORKFLOW_HEADER,
|
|
22
|
+
fs as MACHINE_NIGHT_PATH,
|
|
23
|
+
us as MACHINE_PAIR_CODE_PATH,
|
|
24
|
+
Fs as MACHINE_PROJECTS_PATH,
|
|
25
|
+
vs as MACHINE_UPDATE_PATH,
|
|
26
|
+
T as MAX_TITLE_LENGTH,
|
|
27
|
+
ys as NIGHT_CHECK_IDS,
|
|
28
|
+
Ds as NOTIFICATION_SETTING_KINDS,
|
|
29
|
+
Os as PAIRING_TOKEN_HEADER,
|
|
30
|
+
Je as PAIR_HINT,
|
|
31
|
+
E as PAPER_CAMP_VERSION,
|
|
27
32
|
S as PHASE_MAX_FRACTION,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
g as
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
33
|
+
h as PHASE_STALL_MS,
|
|
34
|
+
Ls as PLAN_KINDS,
|
|
35
|
+
Ms as PLAN_STATUSES,
|
|
36
|
+
R as PULL_REQUEST_TEMPLATE_CONTENT,
|
|
37
|
+
_ as PULL_REQUEST_TEMPLATE_HEADER,
|
|
38
|
+
I as SKILL_MD_CONTENT,
|
|
39
|
+
C as SUGGESTION_ENTRY_RE,
|
|
40
|
+
ks as TOOLBAR_SEGMENT_IDS,
|
|
41
|
+
Xe as addProject,
|
|
42
|
+
N as addRoadmapCandidate,
|
|
43
|
+
g as addRoadmapItem,
|
|
44
|
+
p as advanceAnchor,
|
|
45
|
+
b as agentConfigSchema,
|
|
46
|
+
Hs as agentConfigsEqual,
|
|
47
|
+
A as agentThreadMessage,
|
|
48
|
+
f as applyEnvEntries,
|
|
49
|
+
u as archiveEntityFile,
|
|
50
|
+
F as assignEntityId,
|
|
51
|
+
v as assignPlanId,
|
|
45
52
|
y as assignTicketId,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
ya as
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
53
|
+
D as attachResolvedNeeds,
|
|
54
|
+
O as branchName,
|
|
55
|
+
L as buildClaudeSettingsJson,
|
|
56
|
+
M as buildPermissionsAllow,
|
|
57
|
+
k as buildSessionStartCommand,
|
|
58
|
+
H as checkNeedsForRun,
|
|
59
|
+
G as classifyAnchor,
|
|
60
|
+
ze as clearNightProject,
|
|
61
|
+
w as clearPrCache,
|
|
62
|
+
Gs as coerceAgentConfig,
|
|
63
|
+
U as collectDoctorContext,
|
|
64
|
+
j as collectParkedQuestions,
|
|
65
|
+
K as computeNeedsBlockedIds,
|
|
66
|
+
B as computePlanContentHash,
|
|
67
|
+
W as computePrTitle,
|
|
68
|
+
x as createPrReview,
|
|
69
|
+
Ye as daemonLogPath,
|
|
70
|
+
Ze as daemonStatePath,
|
|
71
|
+
q as dateString,
|
|
72
|
+
$e as defaultRegistryPath,
|
|
73
|
+
Q as derivePrLabels,
|
|
74
|
+
V as deriveSubjectVocabulary,
|
|
75
|
+
J as describeFindings,
|
|
76
|
+
X as deskCheckSchema,
|
|
77
|
+
z as deskCiSchema,
|
|
78
|
+
Y as deskConfigSchema,
|
|
79
|
+
Z as deskServiceSchema,
|
|
80
|
+
$ as detectPackageManager,
|
|
81
|
+
aa as dispatchPrReview,
|
|
82
|
+
ea as draftPrTemplateVersion,
|
|
83
|
+
sa as ensureSubject,
|
|
84
|
+
ta as entitiesWithNewChangesRequested,
|
|
85
|
+
ra as entityFrontmatterKnownKeys,
|
|
86
|
+
oa as entityFrontmatterSchema,
|
|
87
|
+
ia as entityToIdea,
|
|
88
|
+
na as entityToPlan,
|
|
89
|
+
as as fetchMachineNightGate,
|
|
90
|
+
es as fetchMachineProjects,
|
|
91
|
+
da as fetchPrDiff,
|
|
92
|
+
ca as fetchUnresolvedThreads,
|
|
93
|
+
la as findArchivableIdeas,
|
|
94
|
+
ma as findConsistencyIssues,
|
|
95
|
+
Pa as findReleaseLineForId,
|
|
96
|
+
Ta as findingSeverity,
|
|
97
|
+
ss as formatDaemonStatusLine,
|
|
98
|
+
ts as formatDaemonTailnetLine,
|
|
99
|
+
Ea as formatEntityFile,
|
|
100
|
+
Sa as formatIdeaFile,
|
|
101
|
+
ha as formatPlanEntry,
|
|
102
|
+
Ra as formatPlanFile,
|
|
103
|
+
_a as formatReleaseNotesMarkdown,
|
|
104
|
+
rs as formatUpdateStatusLine,
|
|
105
|
+
Ia as getPrMapFetchedAt,
|
|
106
|
+
Ca as hasBlockingNeed,
|
|
107
|
+
Na as hasPaperCampDependency,
|
|
108
|
+
ga as ideaFrontmatterSchema,
|
|
109
|
+
pa as initProject,
|
|
110
|
+
ba as isBlockingNeed,
|
|
111
|
+
Aa as isConventionalPrTitle,
|
|
112
|
+
fa as isPhaseStalled,
|
|
113
|
+
os as isProcessAlive,
|
|
114
|
+
is as isProjectMissing,
|
|
115
|
+
ua as linkRoadmapItem,
|
|
116
|
+
ns as listProjects,
|
|
117
|
+
ds as loadRegistry,
|
|
118
|
+
cs as machineConfigDir,
|
|
119
|
+
Fa as medianSegmentMs,
|
|
120
|
+
va as mergeClaudeSettingsJson,
|
|
121
|
+
ya as moveRoadmapItem,
|
|
122
|
+
Da as nightConfigSchema,
|
|
123
|
+
Oa as nightCustomCheckSchema,
|
|
124
|
+
La as nightWindowSchema,
|
|
125
|
+
Ma as notificationsConfigSchema,
|
|
126
|
+
ka as paperCampConfigSchema,
|
|
127
|
+
Ha as parseEntityFile,
|
|
128
|
+
Ga as parseEnv,
|
|
129
|
+
wa as parseFrontmatter,
|
|
130
|
+
Ua as parseIdeaFile,
|
|
131
|
+
ja as parseIdeas,
|
|
132
|
+
Ka as parseNeedsRef,
|
|
133
|
+
Ba as parseNotificationLog,
|
|
134
|
+
Wa as parsePlanFile,
|
|
135
|
+
xa as parsePlans,
|
|
136
|
+
qa as parseRawEntries,
|
|
137
|
+
Qa as parseRoadmap,
|
|
138
|
+
Va as parseSuggestions,
|
|
139
|
+
Ja as peekCachedPrs,
|
|
140
|
+
Xa as phaseFraction,
|
|
141
|
+
za as planDoctorFixes,
|
|
142
|
+
Ya as planFieldsSchema,
|
|
143
|
+
Za as planFrontmatterSchema,
|
|
144
|
+
ls as probeMachineEndpoint,
|
|
145
|
+
$a as pushSubscribeBodySchema,
|
|
146
|
+
ae as pushUnsubscribeBodySchema,
|
|
147
|
+
ee as readEntities,
|
|
148
|
+
se as readEntitiesWithDerivedStatus,
|
|
149
|
+
te as readFileMaybe,
|
|
150
|
+
re as readNoteEntries,
|
|
151
|
+
oe as readParkedQuestions,
|
|
152
|
+
ms as readRunningDaemonState,
|
|
153
|
+
ie as readTaskLog,
|
|
154
|
+
ne as readWorkEntries,
|
|
155
|
+
Ps as removeDaemonState,
|
|
156
|
+
Ts as removeProject,
|
|
157
|
+
de as removeRoadmapItem,
|
|
158
|
+
ce as removeSuggestionLine,
|
|
159
|
+
le as renderConsistencyComment,
|
|
160
|
+
me as renderPlanPhasesIntoBody,
|
|
161
|
+
Pe as replyToReviewThread,
|
|
162
|
+
Te as reportFindings,
|
|
163
|
+
Ee as resolveClosedIdeaQuestions,
|
|
164
|
+
Se as resolveEntityIdForCommit,
|
|
165
|
+
he as resolveEntityTrail,
|
|
166
|
+
Re as resolveIdFromCommitMessage,
|
|
167
|
+
_e as resolveIdeasForRelease,
|
|
168
|
+
Ie as resolveNeedsRefs,
|
|
169
|
+
Ce as resolvePlanForPrRef,
|
|
170
|
+
Ne as resolvePrimaryScope,
|
|
171
|
+
ge as resolvePrsByEntity,
|
|
172
|
+
pe as resolveReleaseNotes,
|
|
173
|
+
be as resolveReleaseRanges,
|
|
174
|
+
Ae as resolveReviewThread,
|
|
175
|
+
fe as resolveRoadmap,
|
|
176
|
+
ue as runDoctor,
|
|
177
|
+
Fe as runDoctorChecks,
|
|
178
|
+
Es as saveRegistry,
|
|
179
|
+
ve as scaffoldClaudeCodeIntegration,
|
|
180
|
+
ye as scaffoldDraftPrIntegration,
|
|
181
|
+
Ss as scanForProjects,
|
|
182
|
+
De as scoutReviewFooter,
|
|
183
|
+
Oe as serializeFrontmatter,
|
|
184
|
+
hs as setNightPause,
|
|
185
|
+
Rs as setNightProject,
|
|
186
|
+
Le as setRoadmapItemShipped,
|
|
187
|
+
Me as sortFindings,
|
|
188
|
+
ke as squashMergePr,
|
|
189
|
+
He as storedNotificationSchema,
|
|
190
|
+
Ge as syncConsistencyCommentToPr,
|
|
191
|
+
we as syncPlanPhasesToPr,
|
|
192
|
+
Ue as syncPrLabelsToPr,
|
|
193
|
+
je as syncPrReadinessToPr,
|
|
194
|
+
Ke as syncPrTitleToPr,
|
|
195
|
+
Be as todayDateString,
|
|
196
|
+
We as unarchiveEntityFile,
|
|
197
|
+
xe as updateRoadmapItem,
|
|
198
|
+
qe as validatePrTitle,
|
|
199
|
+
Qe as webPushSubscriptionSchema,
|
|
200
|
+
_s as writeDaemonState
|
|
187
201
|
};
|
|
188
202
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"needs-status.d.ts","sourceRoot":"","sources":["../../src/core/needs-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,wBAAgB,cAAc,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAE1D;AAED,wBAAgB,eAAe,CAAC,aAAa,CAAC,EAAE,YAAY,EAAE,GAAG,OAAO,CAEvE"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { PlanEntry, ResolvedNeed } from '../types/index';
|
|
2
|
+
import { MachineRegistry } from './machine-registry';
|
|
3
|
+
export { isBlockingNeed, hasBlockingNeed } from './needs-status';
|
|
4
|
+
export interface NeedsRef {
|
|
5
|
+
raw: string;
|
|
6
|
+
/** Absent for a same-project ref (`IDEA-N`); set for `<slug>/IDEA-N`. */
|
|
7
|
+
projectSlug?: string;
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function parseNeedsRef(raw: string): NeedsRef;
|
|
11
|
+
/** Resolves each `needs:` entry against the current project (`IDEA-N`) or, via the
|
|
12
|
+
* machine registry, another project registered on the same machine (`<slug>/IDEA-N`).
|
|
13
|
+
* A ref that can't be resolved comes back `found: false` rather than throwing — the
|
|
14
|
+
* caller decides whether that's a write-time warning or a run-time block. `done`
|
|
15
|
+
* reads the DERIVED status (PR-aware), matching what the UI shows elsewhere. */
|
|
16
|
+
export declare function resolveNeedsRefs(root: string, needs: string[], registry?: MachineRegistry): Promise<ResolvedNeed[]>;
|
|
17
|
+
/** Attaches `resolvedNeeds` to every plan that carries a `needs:` list, sharing one
|
|
18
|
+
* registry load and one set of per-project entity reads across the whole batch —
|
|
19
|
+
* called once per corpus read (see `cachedWorkEntries`), not per plan. */
|
|
20
|
+
export declare function attachResolvedNeeds(root: string, plans: PlanEntry[]): Promise<PlanEntry[]>;
|
|
21
|
+
/** The ids among `entries` a run-order picker must skip — a blocking need keeps an
|
|
22
|
+
* otherwise-orderable entity out of the queue (IDEA-291). Shares one registry load
|
|
23
|
+
* across the whole corpus, like `attachResolvedNeeds`. */
|
|
24
|
+
export declare function computeNeedsBlockedIds(root: string, entries: {
|
|
25
|
+
id: string;
|
|
26
|
+
needs: string[];
|
|
27
|
+
}[]): Promise<Set<string>>;
|
|
28
|
+
/** Refuses a phase/run-all launch whose plan waits on an unmet need — the first
|
|
29
|
+
* blocking need wins when there's more than one. A ref that can't be resolved
|
|
30
|
+
* never blocks (see `isBlockingNeed`). */
|
|
31
|
+
export declare function checkNeedsForRun(root: string, needs: string[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@
|
|
|
1
|
+
{"version":3,"file":"needs.test.d.ts","sourceRoot":"","sources":["../../src/core/needs.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EntityEntry, ParkedQuestion, ThreadMessage } from '../types/index';
|
|
2
|
-
export declare const isClosedEntity: (entity: Pick<EntityEntry, "status" | "archived">) => boolean;
|
|
3
2
|
/** Every open `question` thread message across the given entities, oldest-first —
|
|
4
3
|
* the pull-based inbox of parked agent decisions (IDEA-118). */
|
|
5
4
|
export declare function collectParkedQuestions(entities: EntityEntry[]): ParkedQuestion[];
|
|
@@ -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,aAAa,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;AAgBjF;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"}
|
|
@@ -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,EA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D,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,CAYxD;AAED,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,SAAS,EAAE,EAClB,iBAAiB,GAAE,MAAM,EAAO,GAC/B,gBAAgB,EAAE,CAuCpB;AAED;;;;uFAIuF;AACvF,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,EAAE,CAoBvD;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,kBAAkB,EAAE,CAWtE;AAED,eAAO,MAAM,mBAAmB,QAAkD,CAAC;AAGnF,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,CASpE"}
|
|
@@ -120,6 +120,7 @@ export declare const entityFrontmatterSchema: z.ZodObject<{
|
|
|
120
120
|
'audited-hash': z.ZodOptional<z.ZodString>;
|
|
121
121
|
released: z.ZodOptional<z.ZodString>;
|
|
122
122
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
needs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
124
|
idea: z.ZodOptional<z.ZodString>;
|
|
124
125
|
subject: z.ZodOptional<z.ZodString>;
|
|
125
126
|
order: z.ZodOptional<z.ZodNumber>;
|
|
@@ -140,6 +141,7 @@ export declare const deskCiSchema: z.ZodObject<{
|
|
|
140
141
|
repo: z.ZodString;
|
|
141
142
|
branch: z.ZodOptional<z.ZodString>;
|
|
142
143
|
releasePlease: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
draftPr: z.ZodOptional<z.ZodBoolean>;
|
|
143
145
|
}, z.core.$strip>;
|
|
144
146
|
export declare const deskConfigSchema: z.ZodObject<{
|
|
145
147
|
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -157,6 +159,7 @@ export declare const deskConfigSchema: z.ZodObject<{
|
|
|
157
159
|
repo: z.ZodString;
|
|
158
160
|
branch: z.ZodOptional<z.ZodString>;
|
|
159
161
|
releasePlease: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
draftPr: z.ZodOptional<z.ZodBoolean>;
|
|
160
163
|
}, z.core.$strip>>;
|
|
161
164
|
}, z.core.$strip>;
|
|
162
165
|
export declare const nightWindowSchema: z.ZodObject<{
|
|
@@ -334,6 +337,7 @@ export declare const paperCampConfigSchema: z.ZodObject<{
|
|
|
334
337
|
repo: z.ZodString;
|
|
335
338
|
branch: z.ZodOptional<z.ZodString>;
|
|
336
339
|
releasePlease: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
+
draftPr: z.ZodOptional<z.ZodBoolean>;
|
|
337
341
|
}, z.core.$strip>>;
|
|
338
342
|
}, z.core.$strip>>;
|
|
339
343
|
night: z.ZodOptional<z.ZodObject<{
|
|
@@ -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;
|
|
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;;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AY,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;AA0DD,wBAAgB,cAAc,CAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,SAAS,EAAE,EACrB,SAAS,SAAK,GACb,eAAe,CAmCjB"}
|
|
@@ -19,8 +19,10 @@ export interface LogSearchParams {
|
|
|
19
19
|
q?: string;
|
|
20
20
|
sort?: string;
|
|
21
21
|
unread?: string;
|
|
22
|
+
kind?: string;
|
|
22
23
|
}
|
|
23
24
|
export declare function parseLogFilters(search: LogSearchParams): LogFilters;
|
|
24
25
|
export declare function serializeLogFilters(filters: LogFilters): LogSearchParams;
|
|
26
|
+
export declare function rangeCutoffMs(range: LogDateRange, now?: number): number;
|
|
25
27
|
export declare function filterLogRows(rows: LogRow[], filters: LogFilters, now?: number): LogRow[];
|
|
26
28
|
//# sourceMappingURL=run-filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-filters.d.ts","sourceRoot":"","sources":["../../src/core/run-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAC;AAC1D,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAMnD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB,EAAE,UAQjC,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"run-filters.d.ts","sourceRoot":"","sources":["../../src/core/run-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAC;AAC1D,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAMnD,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,YAAY,CAAC;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB,EAAE,UAQjC,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,UAAU,CAWnE;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,UAAU,GAAG,eAAe,CAUxE;AAQD,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,GAAE,MAAmB,GAAG,MAAM,CAEnF;AAyBD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE,UAAU,EACnB,GAAG,GAAE,MAAmB,GACvB,MAAM,EAAE,CAQV"}
|
package/dist/core/run-order.d.ts
CHANGED
|
@@ -7,8 +7,11 @@ export interface RunOrderEntry {
|
|
|
7
7
|
title: string;
|
|
8
8
|
status?: string;
|
|
9
9
|
created: string;
|
|
10
|
+
/** An unmet `needs:` ref keeps an otherwise-orderable entity out of the queue
|
|
11
|
+
* (IDEA-291) — see `computeNeedsBlockedIds`. */
|
|
12
|
+
blockedByNeeds?: boolean;
|
|
10
13
|
}
|
|
11
|
-
export declare function isRunOrdered(entry: Pick<RunOrderEntry, 'status'>): boolean;
|
|
14
|
+
export declare function isRunOrdered(entry: Pick<RunOrderEntry, 'status' | 'blockedByNeeds'>): boolean;
|
|
12
15
|
/**
|
|
13
16
|
* Builds the classified `RunOrderEntry[]` input to `normalizeRunOrder` from the raw
|
|
14
17
|
* corpus (`entries`) and its derived-status counterpart (`work`), applying an optional
|
|
@@ -21,6 +24,7 @@ export declare function classifyRunOrderEntries(entries: {
|
|
|
21
24
|
created: string;
|
|
22
25
|
status?: string;
|
|
23
26
|
kind?: EntityKind;
|
|
27
|
+
blockedByNeeds?: boolean;
|
|
24
28
|
}[], work: {
|
|
25
29
|
id?: string;
|
|
26
30
|
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,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;
|
|
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,CAA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AY,EACb,MAAM,gBAAgB,CAAC;AAIxB;kEACkE;AAClE,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAE5D;AAYD;8EAC8E;AAC9E,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,QAAQ,GAAG,SAAS,CAgBvE;AAED;uFACuF;AACvF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAQ1E;
|
|
1
|
+
{"version":3,"file":"run-rows.d.ts","sourceRoot":"","sources":["../../src/core/run-rows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,KAAK,EACL,MAAM,EACN,YAAY,EAEZ,QAAQ,EAER,YAAY,EACb,MAAM,gBAAgB,CAAC;AAIxB;kEACkE;AAClE,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,GAAG,MAAM,CAE5D;AAYD;8EAC8E;AAC9E,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,QAAQ,GAAG,SAAS,CAgBvE;AAED;uFACuF;AACvF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,YAAY,EAAE,CAQ1E;AA8FD;8EAC8E;AAC9E,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAOjF;AAED;;;2EAG2E;AAC3E,wBAAgB,YAAY,CAC1B,OAAO,EAAE,YAAY,EAAE,EACvB,MAAM,EAAE,KAAK,EAAE,EACf,WAAW,EAAE,cAAc,EAAE,EAC7B,aAAa,EAAE,YAAY,EAAE,GAC5B,MAAM,EAAE,CAsBV"}
|
|
@@ -8,4 +8,5 @@ export interface InitOptions {
|
|
|
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
10
|
export declare function scaffoldClaudeCodeIntegration(targetDir: string): Promise<void>;
|
|
11
|
+
export declare function scaffoldDraftPrIntegration(targetDir: string): Promise<void>;
|
|
11
12
|
//# sourceMappingURL=scaffold.d.ts.map
|
|
@@ -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":"AAwCA,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;AAuBX,wBAAsB,6BAA6B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoBpF;AAcD,wBAAsB,0BAA0B,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWjF"}
|