@dendelion/paper-camp 0.43.0 → 0.45.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.Evil_jr0.js → daemon-state.BEsOWFz5.js} +79 -75
- package/dist/chunks/daemon-state.BEsOWFz5.js.map +1 -0
- package/dist/chunks/dev-port.CKE4LWyl.js +55 -0
- package/dist/chunks/dev-port.CKE4LWyl.js.map +1 -0
- package/dist/chunks/phase-progress.BCqVUFLp.js +4094 -0
- package/dist/chunks/phase-progress.BCqVUFLp.js.map +1 -0
- package/dist/cli/index.js +8897 -7707
- 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 +14 -0
- package/dist/core/capacity.d.ts.map +1 -0
- package/dist/core/capacity.test.d.ts +2 -0
- package/dist/core/capacity.test.d.ts.map +1 -0
- package/dist/core/ci/ci-release.d.ts +4 -3
- package/dist/core/ci/ci-release.d.ts.map +1 -1
- package/dist/core/ci/ci-run-word.d.ts +3 -0
- package/dist/core/ci/ci-run-word.d.ts.map +1 -0
- package/dist/core/corpus.d.ts +83 -0
- package/dist/core/corpus.d.ts.map +1 -0
- package/dist/core/corpus.test.d.ts +2 -0
- package/dist/core/corpus.test.d.ts.map +1 -0
- package/dist/{vite → core}/daemon-target.d.ts.map +1 -1
- package/dist/core/daemon-target.test.d.ts.map +1 -0
- package/dist/core/desk-config.d.ts +3 -0
- package/dist/core/desk-config.d.ts.map +1 -0
- package/dist/core/desk-discovery/evidence.d.ts +4 -3
- package/dist/core/desk-discovery/evidence.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/checks/tooling.d.ts.map +1 -1
- package/dist/core/doctor/doctor.d.ts +14 -0
- package/dist/core/doctor/doctor.d.ts.map +1 -1
- package/dist/core/doctor/rules.d.ts +36 -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 +13 -2
- 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.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +183 -176
- 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/needs.d.ts +15 -6
- package/dist/core/needs.d.ts.map +1 -1
- package/dist/core/night-health.d.ts.map +1 -1
- package/dist/core/night-shift.d.ts +2 -2
- package/dist/core/night-shift.d.ts.map +1 -1
- package/dist/core/parked-questions.d.ts +1 -1
- package/dist/core/parked-questions.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 +16 -0
- package/dist/core/project-config.d.ts.map +1 -0
- package/dist/core/project-config.test.d.ts +2 -0
- package/dist/core/project-config.test.d.ts.map +1 -0
- package/dist/core/push-store.d.ts +2 -1
- package/dist/core/push-store.d.ts.map +1 -1
- package/dist/core/rate-limit.d.ts +0 -8
- package/dist/core/rate-limit.d.ts.map +1 -1
- package/dist/core/readers.d.ts +1 -12
- 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/run-filters.d.ts +0 -1
- package/dist/core/run-filters.d.ts.map +1 -1
- package/dist/core/run-order.d.ts +0 -1
- package/dist/core/run-order.d.ts.map +1 -1
- package/dist/core/run-rows.d.ts +7 -2
- 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 +5 -1
- package/dist/core/scaffold/templates.d.ts.map +1 -1
- package/dist/core/sections.d.ts +0 -2
- package/dist/core/sections.d.ts.map +1 -1
- package/dist/core/serialize/entity-file.d.ts +2 -1
- package/dist/core/serialize/entity-file.d.ts.map +1 -1
- package/dist/core/serialize/entity-file.test.d.ts +2 -0
- package/dist/core/serialize/entity-file.test.d.ts.map +1 -0
- package/dist/core/service-status.d.ts +9 -0
- package/dist/core/service-status.d.ts.map +1 -0
- package/dist/core/service-status.test.d.ts +2 -0
- package/dist/core/service-status.test.d.ts.map +1 -0
- package/dist/core/stats.d.ts +3 -1
- package/dist/core/stats.d.ts.map +1 -1
- package/dist/core/tailnet.d.ts +2 -1
- package/dist/core/tailnet.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 +7328 -4620
- package/dist/toolbar/toolbar.js.map +1 -1
- package/dist/types/index.d.ts +57 -6
- 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 +18 -32
- package/dist/vite/index.js.map +1 -1
- package/package.json +7 -2
- package/dist/chunks/daemon-state.Evil_jr0.js.map +0 -1
- package/dist/chunks/dev-port.DG-T8zNq.js +0 -42
- package/dist/chunks/dev-port.DG-T8zNq.js.map +0 -1
- package/dist/chunks/needs.BL7yYaO7.js +0 -3549
- package/dist/chunks/needs.BL7yYaO7.js.map +0 -1
- package/dist/vite/daemon-target.test.d.ts.map +0 -1
- /package/dist/{vite → core}/daemon-target.d.ts +0 -0
- /package/dist/{vite → core}/daemon-target.test.d.ts +0 -0
package/dist/core/index.d.ts
CHANGED
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,202 +1,209 @@
|
|
|
1
|
-
import { A as s, C as t, a 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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
o as COMMIT_SHA_RE,
|
|
11
|
+
r as DAEMON_GITIGNORE_ENTRIES,
|
|
12
|
+
vs as DEFAULT_AGENTS,
|
|
13
|
+
ys as DEFAULT_NIGHT_CONFIG,
|
|
14
|
+
Ds as DEFAULT_NOTIFICATION_KINDS,
|
|
15
|
+
n as DOCTOR_CHECKS,
|
|
16
|
+
i as DOCTOR_FIXERS,
|
|
17
17
|
d as DOCTOR_RULES,
|
|
18
18
|
c as DOCTOR_RULES_BY_ID,
|
|
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
|
-
|
|
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,
|
|
44
45
|
p as advanceAnchor,
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
N as agentConfigSchema,
|
|
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,
|
|
53
54
|
D as attachResolvedNeeds,
|
|
54
55
|
O as branchName,
|
|
55
56
|
L as buildClaudeSettingsJson,
|
|
56
|
-
M as
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
G as
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
M as buildMcpJson,
|
|
58
|
+
H as buildOpencodeJson,
|
|
59
|
+
k as buildPermissionsAllow,
|
|
60
|
+
G as buildSessionStartCommand,
|
|
61
|
+
w as checkNeedsForRun,
|
|
62
|
+
U as classifyAnchor,
|
|
63
|
+
es as clearNightProject,
|
|
64
|
+
j as clearPrCache,
|
|
65
|
+
Js as coerceAgentConfig,
|
|
66
|
+
B as collectDoctorContext,
|
|
67
|
+
K as collectParkedQuestions,
|
|
68
|
+
x as computeNeedsBlockedIds,
|
|
69
|
+
J as computePlanContentHash,
|
|
67
70
|
W as computePrTitle,
|
|
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
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
ka as
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
Ka as
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
qa as
|
|
137
|
-
Qa as
|
|
138
|
-
Va as
|
|
139
|
-
|
|
140
|
-
Xa as
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
re as
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
Ie as
|
|
169
|
-
|
|
71
|
+
q as createPrReview,
|
|
72
|
+
ss as daemonLogPath,
|
|
73
|
+
ts as daemonStatePath,
|
|
74
|
+
Q as dateString,
|
|
75
|
+
os as defaultRegistryPath,
|
|
76
|
+
V as derivePrLabels,
|
|
77
|
+
z as deriveSubjectVocabulary,
|
|
78
|
+
X as describeFindings,
|
|
79
|
+
Y as deskCheckSchema,
|
|
80
|
+
Z as deskCiSchema,
|
|
81
|
+
$ as deskConfigSchema,
|
|
82
|
+
aa as deskServiceSchema,
|
|
83
|
+
ea as detectPackageManager,
|
|
84
|
+
sa as dispatchPrReview,
|
|
85
|
+
ta as draftPrTemplateVersion,
|
|
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,
|
|
106
|
+
Ia as formatReleaseNotesMarkdown,
|
|
107
|
+
cs as formatUpdateStatusLine,
|
|
108
|
+
ga as getPrMapFetchedAt,
|
|
109
|
+
ba as hasBlockingNeed,
|
|
110
|
+
pa as hasPaperCampDependency,
|
|
111
|
+
Na as ideaFrontmatterSchema,
|
|
112
|
+
Aa as initProject,
|
|
113
|
+
ua as isBlockingNeed,
|
|
114
|
+
fa as isConventionalPrTitle,
|
|
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,
|
|
129
|
+
ka as nightConfigSchema,
|
|
130
|
+
Ga as nightCustomCheckSchema,
|
|
131
|
+
wa as nightWindowSchema,
|
|
132
|
+
Ua as notificationsConfigSchema,
|
|
133
|
+
ja as nowMinuteString,
|
|
134
|
+
Ba as paperCampConfigSchema,
|
|
135
|
+
Ka as parseEntityFile,
|
|
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,
|
|
171
|
+
Ie as resolveIdFromCommitMessage,
|
|
172
|
+
ge as resolveIdeasForRelease,
|
|
173
|
+
be as resolveNeedsRefs,
|
|
174
|
+
pe as resolvePlanForPrRef,
|
|
170
175
|
Ne as resolvePrimaryScope,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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
|
|
201
208
|
};
|
|
202
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,wBAA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AM,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;IACX,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,iGAAiG;IACjG,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAID,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED;gEACgE;AAChE,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;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"}
|
package/dist/core/needs.d.ts
CHANGED
|
@@ -1,32 +1,41 @@
|
|
|
1
|
-
import { PlanEntry, ResolvedNeed } from '../types/index';
|
|
1
|
+
import { EntityEntry, PlanEntry, ResolvedNeed } from '../types/index';
|
|
2
|
+
import { CorpusSnapshot } from './corpus';
|
|
2
3
|
import { MachineRegistry } from './machine-registry';
|
|
3
4
|
export { isBlockingNeed, hasBlockingNeed } from './needs-status';
|
|
5
|
+
/** Supplied by the caller (always `readCorpus` from `./corpus`) rather than imported
|
|
6
|
+
* directly — `corpus.ts` calls into this module, so importing it back here would be
|
|
7
|
+
* a circular dependency. */
|
|
8
|
+
export type ReadCorpusFn = (root: string) => Promise<CorpusSnapshot>;
|
|
4
9
|
export interface NeedsRef {
|
|
5
10
|
raw: string;
|
|
6
11
|
/** Absent for a same-project ref (`IDEA-N`); set for `<slug>/IDEA-N`. */
|
|
7
12
|
projectSlug?: string;
|
|
8
13
|
id: string;
|
|
9
14
|
}
|
|
15
|
+
/** A project root's entries keyed by id, shared across one batch of `needs:`
|
|
16
|
+
* resolutions (attachResolvedNeeds/computeNeedsBlockedIds) so every ref into the
|
|
17
|
+
* same root reads it once instead of once per entity. */
|
|
18
|
+
export type EntriesByRoot = Map<string, Map<string, EntityEntry>>;
|
|
10
19
|
export declare function parseNeedsRef(raw: string): NeedsRef;
|
|
11
20
|
/** Resolves each `needs:` entry against the current project (`IDEA-N`) or, via the
|
|
12
21
|
* machine registry, another project registered on the same machine (`<slug>/IDEA-N`).
|
|
13
22
|
* A ref that can't be resolved comes back `found: false` rather than throwing — the
|
|
14
23
|
* caller decides whether that's a write-time warning or a run-time block. `done`
|
|
15
24
|
* 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[]>;
|
|
25
|
+
export declare function resolveNeedsRefs(root: string, needs: string[], readCorpusFn: ReadCorpusFn, registry?: MachineRegistry, entriesByRoot?: EntriesByRoot): Promise<ResolvedNeed[]>;
|
|
17
26
|
/** Attaches `resolvedNeeds` to every plan that carries a `needs:` list, sharing one
|
|
18
27
|
* registry load and one set of per-project entity reads across the whole batch —
|
|
19
|
-
* called once per corpus read (see `
|
|
20
|
-
export declare function attachResolvedNeeds(root: string, plans: PlanEntry[]): Promise<PlanEntry[]>;
|
|
28
|
+
* called once per corpus read (see `readCorpus`), not per plan. */
|
|
29
|
+
export declare function attachResolvedNeeds(root: string, plans: PlanEntry[], readCorpusFn: ReadCorpusFn, entriesByRoot?: EntriesByRoot): Promise<PlanEntry[]>;
|
|
21
30
|
/** The ids among `entries` a run-order picker must skip — a blocking need keeps an
|
|
22
31
|
* otherwise-orderable entity out of the queue (IDEA-291). Shares one registry load
|
|
23
32
|
* across the whole corpus, like `attachResolvedNeeds`. */
|
|
24
33
|
export declare function computeNeedsBlockedIds(root: string, entries: {
|
|
25
34
|
id: string;
|
|
26
35
|
needs: string[];
|
|
27
|
-
}[]): Promise<Set<string>>;
|
|
36
|
+
}[], readCorpusFn: ReadCorpusFn, entriesByRoot?: EntriesByRoot): Promise<Set<string>>;
|
|
28
37
|
/** Refuses a phase/run-all launch whose plan waits on an unmet need — the first
|
|
29
38
|
* blocking need wins when there's more than one. A ref that can't be resolved
|
|
30
39
|
* never blocks (see `isBlockingNeed`). */
|
|
31
|
-
export declare function checkNeedsForRun(root: string, needs: string[]): Promise<string | null>;
|
|
40
|
+
export declare function checkNeedsForRun(root: string, needs: string[], readCorpusFn: ReadCorpusFn): Promise<string | null>;
|
|
32
41
|
//# sourceMappingURL=needs.d.ts.map
|
package/dist/core/needs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"needs.d.ts","sourceRoot":"","sources":["../../src/core/needs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"needs.d.ts","sourceRoot":"","sources":["../../src/core/needs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,KAAK,eAAe,EAAqC,MAAM,oBAAoB,CAAC;AAI7F,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,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,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAKxB"}
|
|
@@ -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"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { MachineNightGateResponse, NightHealthMap } from '../types/index';
|
|
2
|
-
export declare const NIGHT_TICK_MS: number;
|
|
3
2
|
export declare function isNightPassRunning(root: string): boolean;
|
|
4
3
|
export declare function markNightPass(root: string, running: boolean): void;
|
|
5
|
-
|
|
4
|
+
interface NightShiftProject {
|
|
6
5
|
slug: string;
|
|
7
6
|
path: string;
|
|
8
7
|
}
|
|
@@ -30,4 +29,5 @@ export declare function createNightShiftState(): NightShiftState;
|
|
|
30
29
|
* the moment it closes. A chunk is reviewed at most once per night. */
|
|
31
30
|
export declare function nightShiftTick(state: NightShiftState, deps: NightShiftDeps): Promise<void>;
|
|
32
31
|
export declare function startNightShift(deps: NightShiftDeps, tickMs?: number): () => void;
|
|
32
|
+
export {};
|
|
33
33
|
//# sourceMappingURL=night-shift.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"night-shift.d.ts","sourceRoot":"","sources":["../../src/core/night-shift.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"night-shift.d.ts","sourceRoot":"","sources":["../../src/core/night-shift.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAS/E,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAExD;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAGlE;AAED,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,MAAM,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACtD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACjE,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClF,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IACtD,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7E,aAAa,EAAE,MAAM,OAAO,CAAC;IAC7B,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,qBAAqB,IAAI,eAAe,CAEvD;AAMD;;wEAEwE;AACxE,wBAAsB,cAAc,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CA8ChG;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,cAAc,EAAE,MAAM,GAAE,MAAsB,GAAG,MAAM,IAAI,CAWhG"}
|
|
@@ -2,7 +2,7 @@ import { EntityEntry, ParkedQuestion, ThreadMessage } from '../types/index';
|
|
|
2
2
|
/** Every open `question` thread message across the given entities, oldest-first —
|
|
3
3
|
* the pull-based inbox of parked agent decisions (IDEA-118). */
|
|
4
4
|
export declare function collectParkedQuestions(entities: EntityEntry[]): ParkedQuestion[];
|
|
5
|
-
export declare function readParkedQuestions(
|
|
5
|
+
export declare function readParkedQuestions(entries: EntityEntry[]): ParkedQuestion[];
|
|
6
6
|
/** Chat mirrors a parked question with its idea as a `[[ID]]` prefix, parsed into
|
|
7
7
|
* `entityId`; once that idea closes, the mirror reads as resolved rather than
|
|
8
8
|
* counting as unanswered forever. */
|
|
@@ -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;AAejF;gEACgE;AAChE,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,cAAc,EAAE,CAehF;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,EAAE,GAAG,cAAc,EAAE,CAE5E;AAED;;qCAEqC;AACrC,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,aAAa,EAAE,EACvB,QAAQ,EAAE,WAAW,EAAE,GACtB,aAAa,EAAE,CAQjB"}
|
|
@@ -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;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B;;;;;;gCAGpC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoChC,CAAC;AAIH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAiBnC,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AgentId, DefaultAgentsMap, DeskConfig, PaperCampConfig } from '../types/index';
|
|
2
|
+
export interface ProjectConfig {
|
|
3
|
+
/** `null` when `papercamp/config.json` is missing or unparsable. */
|
|
4
|
+
raw: (PaperCampConfig & {
|
|
5
|
+
defaultAgent?: AgentId;
|
|
6
|
+
}) | null;
|
|
7
|
+
defaultAgents: DefaultAgentsMap;
|
|
8
|
+
desk: DeskConfig | undefined;
|
|
9
|
+
subjects: string[];
|
|
10
|
+
}
|
|
11
|
+
/** The single reader for `papercamp/config.json` — parses and coerces default
|
|
12
|
+
* agents, the desk manifest, and the roadmap-derived subject vocabulary once. */
|
|
13
|
+
export declare function readProjectConfig(root: string): ProjectConfig;
|
|
14
|
+
export declare function assetMaxFileSizeMb(root: string): number;
|
|
15
|
+
export declare function assetMaxBytes(root: string): number;
|
|
16
|
+
//# sourceMappingURL=project-config.d.ts.map
|
|
@@ -0,0 +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;AAID,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEvD;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-config.test.d.ts","sourceRoot":"","sources":["../../src/core/project-config.test.ts"],"names":[],"mappings":""}
|