@dendelion/paper-camp 0.27.0 → 0.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -9
- package/dist/chunks/{phase-progress.DoB5EhtE.js → daemon-state.CI9RArUn.js} +1394 -1301
- package/dist/chunks/daemon-state.CI9RArUn.js.map +1 -0
- package/dist/chunks/dev-port.BGjGddjm.js +43 -0
- package/dist/chunks/dev-port.BGjGddjm.js.map +1 -0
- package/dist/cli/index.js +7403 -7012
- package/dist/cli/index.js.map +1 -1
- package/dist/core/daemon-state/daemon-state.d.ts +26 -0
- package/dist/core/daemon-state/daemon-state.d.ts.map +1 -0
- package/dist/core/daemon-state/daemon-state.test.d.ts +2 -0
- package/dist/core/daemon-state/daemon-state.test.d.ts.map +1 -0
- package/dist/core/daemon-state/index.d.ts +2 -0
- package/dist/core/daemon-state/index.d.ts.map +1 -0
- package/dist/core/git-log.d.ts.map +1 -1
- package/dist/core/hosted-client.d.ts +2 -0
- package/dist/core/hosted-client.d.ts.map +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +139 -129
- package/dist/core/issues.d.ts.map +1 -1
- 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/parse/parser.d.ts +6 -2
- package/dist/core/parse/parser.d.ts.map +1 -1
- package/dist/core/parse/schemas.d.ts +3 -0
- package/dist/core/parse/schemas.d.ts.map +1 -1
- package/dist/core/phase-progress.d.ts.map +1 -1
- package/dist/core/run-filters.d.ts +26 -0
- package/dist/core/run-filters.d.ts.map +1 -0
- package/dist/core/run-filters.test.d.ts +2 -0
- package/dist/core/run-filters.test.d.ts.map +1 -0
- package/dist/core/run-rows.d.ts +16 -0
- package/dist/core/run-rows.d.ts.map +1 -0
- package/dist/core/run-rows.test.d.ts +2 -0
- package/dist/core/run-rows.test.d.ts.map +1 -0
- package/dist/core/run-stats.d.ts +10 -0
- package/dist/core/run-stats.d.ts.map +1 -0
- package/dist/core/run-stats.test.d.ts +2 -0
- package/dist/core/run-stats.test.d.ts.map +1 -0
- package/dist/toolbar/toolbar.js +12065 -0
- package/dist/toolbar/toolbar.js.map +1 -0
- package/dist/types/index.d.ts +58 -5
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/vite/index.js +51 -44
- package/dist/vite/index.js.map +1 -1
- package/package.json +22 -13
- package/dist/app/assets/index-BEeox2IM.js +0 -3
- package/dist/app/assets/index-BEeox2IM.js.map +0 -1
- package/dist/app/assets/index-BW-jiFHN.js +0 -4
- package/dist/app/assets/index-BW-jiFHN.js.map +0 -1
- package/dist/app/assets/index-BhD5WS8p.js +0 -2
- package/dist/app/assets/index-BhD5WS8p.js.map +0 -1
- package/dist/app/assets/index-C1zPjxRZ.js +0 -2
- package/dist/app/assets/index-C1zPjxRZ.js.map +0 -1
- package/dist/app/assets/index-C2q1JS1i.js +0 -7
- package/dist/app/assets/index-C2q1JS1i.js.map +0 -1
- package/dist/app/assets/index-CHcj_gHq.js +0 -6
- package/dist/app/assets/index-CHcj_gHq.js.map +0 -1
- package/dist/app/assets/index-DN8Ti3Ov.js +0 -2
- package/dist/app/assets/index-DN8Ti3Ov.js.map +0 -1
- package/dist/app/assets/index-DX3JeGXT.js +0 -2
- package/dist/app/assets/index-DX3JeGXT.js.map +0 -1
- package/dist/app/assets/main-BZd2c99C.css +0 -1
- package/dist/app/assets/main-DCzV1FeH.js +0 -425
- package/dist/app/assets/main-DCzV1FeH.js.map +0 -1
- package/dist/app/assets/sidebar-section-CFrPSdM0.js +0 -2
- package/dist/app/assets/sidebar-section-CFrPSdM0.js.map +0 -1
- package/dist/app/fonts/Luminari-Regular.woff +0 -0
- package/dist/app/img/paper-logo.png +0 -0
- package/dist/app/img/paper-logo.svg +0 -7
- package/dist/app/index.html +0 -22
- package/dist/app/manifest.json +0 -13
- package/dist/app/toolbar.js +0 -20351
- package/dist/app/toolbar.js.map +0 -1
- package/dist/chunks/dev-port.BHJn90Pm.js +0 -52
- package/dist/chunks/dev-port.BHJn90Pm.js.map +0 -1
- package/dist/chunks/phase-progress.DoB5EhtE.js.map +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/core.d.ts +0 -2
- package/dist/fonts/Luminari-Regular.woff +0 -0
- package/dist/img/paper-logo.png +0 -0
- package/dist/img/paper-logo.svg +0 -7
- package/dist/manifest.json +0 -13
- package/dist/types.d.ts +0 -2
- package/dist/vite.d.ts +0 -6
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MachineProjectSummary } from '../../types/index';
|
|
2
|
+
export interface DaemonState {
|
|
3
|
+
pid: number;
|
|
4
|
+
port: number;
|
|
5
|
+
version: string;
|
|
6
|
+
startedAt: string;
|
|
7
|
+
share: boolean;
|
|
8
|
+
tailnet: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function daemonStatePath(): string;
|
|
11
|
+
export declare function daemonLogPath(): string;
|
|
12
|
+
export declare function isProcessAlive(pid: number): boolean;
|
|
13
|
+
export declare function fetchMachineProjects(port: number): Promise<MachineProjectSummary[] | null>;
|
|
14
|
+
/** A response at all is proof the port is a live daemon, not just a live pid
|
|
15
|
+
* (pids get reused, ports get taken by something else). */
|
|
16
|
+
export declare function probeMachineEndpoint(port: number): Promise<boolean>;
|
|
17
|
+
/** The one truth every lifecycle command reads: a state file, a live pid, and
|
|
18
|
+
* a daemon answering on its port. Anything less is stale, so this prunes the
|
|
19
|
+
* file before reporting not-running. */
|
|
20
|
+
export declare function readRunningDaemonState(path: string): Promise<DaemonState | null>;
|
|
21
|
+
export declare function formatDaemonStatusLine(state: DaemonState): string;
|
|
22
|
+
/** Written to a sibling temp path and renamed into place, so a crash mid-write
|
|
23
|
+
* never leaves a stale-file reader a truncated file to trip over. */
|
|
24
|
+
export declare function writeDaemonState(path: string, state: DaemonState): Promise<void>;
|
|
25
|
+
export declare function removeDaemonState(path: string): Promise<void>;
|
|
26
|
+
//# sourceMappingURL=daemon-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daemon-state.d.ts","sourceRoot":"","sources":["../../../src/core/daemon-state/daemon-state.ts"],"names":[],"mappings":"AAGA,OAAO,EAAyB,KAAK,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAItF,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED,wBAAgB,aAAa,IAAI,MAAM,CAEtC;AAiCD,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAOnD;AAID,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,EAAE,GAAG,IAAI,CAAC,CAWhG;AAED;2DAC2D;AAC3D,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAEzE;AAED;;wCAEwC;AACxC,wBAAsB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAStF;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAOjE;AAED;qEACqE;AACrE,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAKtF;AAED,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daemon-state.test.d.ts","sourceRoot":"","sources":["../../../src/core/daemon-state/daemon-state.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/daemon-state/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git-log.d.ts","sourceRoot":"","sources":["../../src/core/git-log.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,QAAsB,CAAC;AAIjD,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAUpE;AAED,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAGxE;AAED;6FAC6F;AAC7F,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQzE;
|
|
1
|
+
{"version":3,"file":"git-log.d.ts","sourceRoot":"","sources":["../../src/core/git-log.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,QAAsB,CAAC;AAIjD,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAUpE;AAED,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAGxE;AAED;6FAC6F;AAC7F,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQzE;AAOD,wBAAsB,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAgBnF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hosted-client.d.ts","sourceRoot":"","sources":["../../src/core/hosted-client.ts"],"names":[],"mappings":"AAEA,wBAAgB,eAAe,IAAI,MAAM,CAGxC"}
|
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,gBAAgB,CAAC"}
|
|
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,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,144 +1,154 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as s, C as t, a as r, b as n, D as o, c as i, d, e as c, M as l, P as m, f as P, g as S, S as E, h as T, i as h, j as R, k as g, l as p, m as v, n as C, o as y, p as I, q as _, r as b, s as A, t as F, u as f, v as N, w as D, x as L, y as O, z as M, B as u, E as k, F as j, G, H as w, I as H, J as U, K, L as B, N as x, O as X, Q as q, R as z, T as J, U as Q, V, W, X as Y, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ta, a2 as ra, a3 as na, a4 as oa, a5 as ia, a6 as da, a7 as ca, a8 as la, a9 as ma, aa as Pa, ab as Sa, ac as Ea, ad as Ta, ae as ha, af as Ra, ag as ga, ah as pa, ai as va, aj as Ca, ak as ya, al as Ia, am as _a, an as ba, ao as Aa, ap as Fa, aq as fa, ar as Na, as as Da, at as La, au as Oa, av as Ma, aw as ua, ax as ka, ay as ja, az as Ga, aA as wa, aB as Ha, aC as Ua, aD as Ka, aE as Ba, aF as xa, aG as Xa, aH as qa, aI as za, aJ as Ja, aK as Qa, aL as Va, aM as Wa, 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 ne, aW as oe, aX as ie, aY as de, aZ as ce, a_ as le, a$ as me, b0 as Pe, b1 as Se, b2 as Ee, b3 as Te, b4 as he, b5 as Re, b6 as ge, b7 as pe, b8 as ve, b9 as Ce, ba as ye, bb as Ie, bc as _e, bd as be, be as Ae, bf as Fe, bg as fe, bh as Ne, bi as De, bj as Le } from "../chunks/daemon-state.CI9RArUn.js";
|
|
2
|
+
import { AGENT_IDS as Me, AGENT_LABELS as ue, AGENT_OPTIONS as ke, DEFAULT_AGENTS as je, MACHINE_PROJECTS_PATH as Ge, PAIRING_TOKEN_HEADER as we, PLAN_KINDS as He, PLAN_STATUSES as Ue, TOOLBAR_SEGMENT_IDS as Ke, agentConfigsEqual as Be, coerceAgentConfig as xe } from "../types/index.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
Me as AGENT_IDS,
|
|
5
|
+
ue as AGENT_LABELS,
|
|
6
|
+
ke as AGENT_OPTIONS,
|
|
7
|
+
s as AlreadyInitializedError,
|
|
8
|
+
t as CLAUDE_SETTINGS_JSON,
|
|
9
|
+
r as COMMIT_SCOPES,
|
|
10
10
|
n as COMMIT_SHA_RE,
|
|
11
|
-
|
|
11
|
+
je as DEFAULT_AGENTS,
|
|
12
12
|
o as DOCTOR_CHECKS,
|
|
13
13
|
i as DOCTOR_FIXERS,
|
|
14
14
|
d as DOCTOR_RULES,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
c as DOCTOR_RULES_BY_ID,
|
|
16
|
+
Ge as MACHINE_PROJECTS_PATH,
|
|
17
|
+
l as MAX_TITLE_LENGTH,
|
|
18
|
+
we as PAIRING_TOKEN_HEADER,
|
|
19
19
|
m as PAPER_CAMP_VERSION,
|
|
20
20
|
P as PHASE_MAX_FRACTION,
|
|
21
21
|
S as PHASE_STALL_MS,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
He as PLAN_KINDS,
|
|
23
|
+
Ue as PLAN_STATUSES,
|
|
24
24
|
E as SKILL_MD_CONTENT,
|
|
25
25
|
T as SUGGESTION_ENTRY_RE,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
Ke as TOOLBAR_SEGMENT_IDS,
|
|
27
|
+
h as addProject,
|
|
28
|
+
R as addRoadmapCandidate,
|
|
29
|
+
g as addRoadmapItem,
|
|
30
|
+
p as advanceAnchor,
|
|
31
31
|
v as agentConfigSchema,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
Be as agentConfigsEqual,
|
|
33
|
+
C as agentThreadMessage,
|
|
34
|
+
y as applyEnvEntries,
|
|
35
|
+
I as archiveEntityFile,
|
|
36
|
+
_ as assignEntityId,
|
|
37
|
+
b as assignPlanId,
|
|
38
38
|
A as assignTicketId,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
k as
|
|
49
|
-
|
|
39
|
+
F as branchName,
|
|
40
|
+
f as classifyAnchor,
|
|
41
|
+
N as clearPrCache,
|
|
42
|
+
xe as coerceAgentConfig,
|
|
43
|
+
D as collectDoctorContext,
|
|
44
|
+
L as collectParkedQuestions,
|
|
45
|
+
O as computePlanContentHash,
|
|
46
|
+
M as computePrTitle,
|
|
47
|
+
u as createPrReview,
|
|
48
|
+
k as daemonLogPath,
|
|
49
|
+
j as daemonStatePath,
|
|
50
|
+
G as dateString,
|
|
51
|
+
w as defaultRegistryPath,
|
|
50
52
|
H as derivePrLabels,
|
|
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
|
-
pa as
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Fa as
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
Ha as
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
53
|
+
U as deriveRoadmapEvents,
|
|
54
|
+
K as deriveSubjectVocabulary,
|
|
55
|
+
B as describeFindings,
|
|
56
|
+
x as deskCheckSchema,
|
|
57
|
+
X as deskCiSchema,
|
|
58
|
+
q as deskConfigSchema,
|
|
59
|
+
z as deskServiceSchema,
|
|
60
|
+
J as dispatchPrReview,
|
|
61
|
+
Q as ensureSubject,
|
|
62
|
+
V as entityFrontmatterKnownKeys,
|
|
63
|
+
W as entityFrontmatterSchema,
|
|
64
|
+
Y as entityToIdea,
|
|
65
|
+
Z as entityToPlan,
|
|
66
|
+
$ as fetchMachineProjects,
|
|
67
|
+
aa as fetchPrDiff,
|
|
68
|
+
ea as fetchUnresolvedThreads,
|
|
69
|
+
sa as findArchivableIdeas,
|
|
70
|
+
ta as findConsistencyIssues,
|
|
71
|
+
ra as findReleaseLineForId,
|
|
72
|
+
na as findingSeverity,
|
|
73
|
+
oa as formatDaemonStatusLine,
|
|
74
|
+
ia as formatEntityFile,
|
|
75
|
+
da as formatIdeaFile,
|
|
76
|
+
ca as formatPlanEntry,
|
|
77
|
+
la as formatPlanFile,
|
|
78
|
+
ma as formatPlans,
|
|
79
|
+
Pa as formatReleaseNotesMarkdown,
|
|
80
|
+
Sa as getPrMapFetchedAt,
|
|
81
|
+
Ea as ideaFrontmatterSchema,
|
|
82
|
+
Ta as initProject,
|
|
83
|
+
ha as isConventionalPrTitle,
|
|
84
|
+
Ra as isPhaseStalled,
|
|
85
|
+
ga as isProcessAlive,
|
|
86
|
+
pa as isProjectMissing,
|
|
87
|
+
va as linkRoadmapItem,
|
|
88
|
+
Ca as listProjects,
|
|
89
|
+
ya as loadRegistry,
|
|
90
|
+
Ia as machineConfigDir,
|
|
91
|
+
_a as medianSegmentMs,
|
|
92
|
+
ba as paperCampConfigSchema,
|
|
93
|
+
Aa as parseEntityFile,
|
|
94
|
+
Fa as parseEnv,
|
|
95
|
+
fa as parseFrontmatter,
|
|
96
|
+
Na as parseIdeaFile,
|
|
97
|
+
Da as parseIdeas,
|
|
98
|
+
La as parseNotificationLog,
|
|
99
|
+
Oa as parsePlanFile,
|
|
100
|
+
Ma as parsePlans,
|
|
101
|
+
ua as parseRawEntries,
|
|
102
|
+
ka as parseRoadmap,
|
|
103
|
+
ja as parseSuggestions,
|
|
104
|
+
Ga as phaseFraction,
|
|
105
|
+
wa as planDoctorFixes,
|
|
106
|
+
Ha as planFieldsSchema,
|
|
107
|
+
Ua as planFrontmatterSchema,
|
|
108
|
+
Ka as probeMachineEndpoint,
|
|
109
|
+
Ba as readEntities,
|
|
110
|
+
xa as readEntitiesWithDerivedStatus,
|
|
111
|
+
Xa as readFileMaybe,
|
|
112
|
+
qa as readNoteEntries,
|
|
113
|
+
za as readParkedQuestions,
|
|
114
|
+
Ja as readRunningDaemonState,
|
|
115
|
+
Qa as readTaskLog,
|
|
116
|
+
Va as readWorkEntries,
|
|
117
|
+
Wa as removeDaemonState,
|
|
118
|
+
Ya as removeProject,
|
|
119
|
+
Za as removeRoadmapItem,
|
|
120
|
+
$a as removeSuggestionLine,
|
|
121
|
+
ae as renderConsistencyComment,
|
|
122
|
+
ee as renderPlanPhasesIntoBody,
|
|
123
|
+
se as replyToReviewThread,
|
|
124
|
+
te as reportFindings,
|
|
125
|
+
re as resolveEntityIdForCommit,
|
|
126
|
+
ne as resolveEntityTrail,
|
|
127
|
+
oe as resolveIdFromCommitMessage,
|
|
128
|
+
ie as resolveIdeasForRelease,
|
|
129
|
+
de as resolvePlanForPrRef,
|
|
130
|
+
ce as resolvePrimaryScope,
|
|
131
|
+
le as resolvePrsByEntity,
|
|
132
|
+
me as resolveReleaseNotes,
|
|
133
|
+
Pe as resolveReleaseRanges,
|
|
134
|
+
Se as resolveReviewThread,
|
|
135
|
+
Ee as resolveRoadmap,
|
|
136
|
+
Te as runDoctor,
|
|
137
|
+
he as runDoctorChecks,
|
|
138
|
+
Re as saveRegistry,
|
|
139
|
+
ge as scanForProjects,
|
|
140
|
+
pe as scoutReviewFooter,
|
|
141
|
+
ve as serializeFrontmatter,
|
|
142
|
+
Ce as sortFindings,
|
|
143
|
+
ye as squashMergePr,
|
|
144
|
+
Ie as storedNotificationSchema,
|
|
145
|
+
_e as syncConsistencyCommentToPr,
|
|
146
|
+
be as syncPlanPhasesToPr,
|
|
147
|
+
Ae as syncPrLabelsToPr,
|
|
148
|
+
Fe as syncPrReadinessToPr,
|
|
149
|
+
fe as syncPrTitleToPr,
|
|
150
|
+
Ne as todayDateString,
|
|
151
|
+
De as validatePrTitle,
|
|
152
|
+
Le as writeDaemonState
|
|
143
153
|
};
|
|
144
154
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issues.d.ts","sourceRoot":"","sources":["../../src/core/issues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,cAAc,EACd,KAAK,EACL,SAAS,EACT,MAAM,EACN,YAAY,EACZ,aAAa,EACd,MAAM,gBAAgB,CAAC;AAKxB;;qEAEqE;AACrE,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,KAAK,EAAE,CAkBtE;AAED;iFACiF;AACjF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,KAAK,EAAE,CAcpE;AAED;gFACgF;AAChF,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EA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slug: string): RemoveProjectResult;
|
|
31
31
|
export declare function listProjects(registry: MachineRegistry): MachineProject[];
|
|
32
|
+
/** A registered path is missing once its `papercamp/config.json` is gone — the
|
|
33
|
+
* mounter, the machine-projects endpoint, and `ls`/`status` all key off this. */
|
|
34
|
+
export declare function isProjectMissing(path: string): Promise<boolean>;
|
|
32
35
|
export interface ScanEntry {
|
|
33
36
|
path: string;
|
|
34
37
|
name: string;
|
|
@@ -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,eAAe;IAC9B,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,cAAc,EAAE,CAAC;CAC5B;AAID,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAwBD;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,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,eAAe;IAC9B,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,cAAc,EAAE,CAAC;CAC5B;AAID,wBAAgB,gBAAgB,IAAI,MAAM,CAEzC;AAED,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAwBD;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;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"}
|
|
@@ -13,8 +13,12 @@ export declare function parseIdeaFile(content: string): ParseResult<IdeaEntry>;
|
|
|
13
13
|
export declare function parseIdeas(markdown: string): IdeaEntry[];
|
|
14
14
|
export declare const MAX_TITLE_LENGTH = 40;
|
|
15
15
|
export declare function findConsistencyIssues(plans: PlanEntry[], subjectVocabulary?: string[]): ConsistencyIssue[];
|
|
16
|
-
/** tasks.log is JSON Lines
|
|
17
|
-
|
|
16
|
+
/** tasks.log is JSON Lines: a `started` line on registration and, once the task
|
|
17
|
+
* finishes, a second line for the same id carrying `endedAt`/`outcome`. Folds
|
|
18
|
+
* both into one entry per id, in first-seen order — an entry with no `endedAt`
|
|
19
|
+
* is a start with no matching finish. Skips lines that fail to parse rather than
|
|
20
|
+
* fail the whole read (a truncated last line from a crash shouldn't hide the rest). */
|
|
21
|
+
export declare function readTaskLog(raw: string): TaskLogEntry[];
|
|
18
22
|
export declare function parseNotificationLog(raw: string): StoredNotification[];
|
|
19
23
|
export declare const SUGGESTION_ENTRY_RE: RegExp;
|
|
20
24
|
export declare function parseSuggestions(markdown: string): SuggestionEntry[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/core/parse/parser.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EAIT,WAAW,EACX,YAAY,EAEZ,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACb,MAAM,mBAAmB,CAAC;AA8E3B,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,EAAE,CAoC5D;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAuCnE;AAID,wBAAgB,gBAAgB,CAAC,CAAC,EAChC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GACnB;IAAE,IAAI,EAAE,CAAC,GAAG,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,YAAY,EAAE,CAAA;CAAE,CAyC5D;AAYD,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,WAAW,CAAC,CA6DzE;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAoCrE;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAuBrE;AAMD,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,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AAW,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"}
|
|
@@ -134,6 +134,7 @@ export declare const deskServiceSchema: z.ZodObject<{
|
|
|
134
134
|
export declare const deskCheckSchema: z.ZodObject<{
|
|
135
135
|
name: z.ZodString;
|
|
136
136
|
cmd: z.ZodString;
|
|
137
|
+
fixCmd: z.ZodOptional<z.ZodString>;
|
|
137
138
|
}, z.core.$strip>;
|
|
138
139
|
export declare const deskCiSchema: z.ZodObject<{
|
|
139
140
|
repo: z.ZodString;
|
|
@@ -150,6 +151,7 @@ export declare const deskConfigSchema: z.ZodObject<{
|
|
|
150
151
|
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
151
152
|
name: z.ZodString;
|
|
152
153
|
cmd: z.ZodString;
|
|
154
|
+
fixCmd: z.ZodOptional<z.ZodString>;
|
|
153
155
|
}, z.core.$strip>>>;
|
|
154
156
|
ci: z.ZodOptional<z.ZodObject<{
|
|
155
157
|
repo: z.ZodString;
|
|
@@ -242,6 +244,7 @@ export declare const paperCampConfigSchema: z.ZodObject<{
|
|
|
242
244
|
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
243
245
|
name: z.ZodString;
|
|
244
246
|
cmd: z.ZodString;
|
|
247
|
+
fixCmd: z.ZodOptional<z.ZodString>;
|
|
245
248
|
}, z.core.$strip>>>;
|
|
246
249
|
ci: z.ZodOptional<z.ZodObject<{
|
|
247
250
|
repo: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/core/parse/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,M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 @@
|
|
|
1
|
+
import { AgentId, LogRow, LogRowOutcome, LogRowType } from '../types/index';
|
|
2
|
+
export type LogDateRange = 'today' | '7d' | '30d' | 'all';
|
|
3
|
+
export type LogSort = 'time' | 'duration' | 'cost';
|
|
4
|
+
export interface LogFilters {
|
|
5
|
+
outcomes: LogRowOutcome[];
|
|
6
|
+
types: LogRowType[];
|
|
7
|
+
agent?: AgentId;
|
|
8
|
+
range: LogDateRange;
|
|
9
|
+
q: string;
|
|
10
|
+
sort: LogSort;
|
|
11
|
+
unread: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const DEFAULT_LOG_FILTERS: LogFilters;
|
|
14
|
+
export interface LogSearchParams {
|
|
15
|
+
outcome?: string;
|
|
16
|
+
type?: string;
|
|
17
|
+
agent?: string;
|
|
18
|
+
range?: string;
|
|
19
|
+
q?: string;
|
|
20
|
+
sort?: string;
|
|
21
|
+
unread?: string;
|
|
22
|
+
}
|
|
23
|
+
export declare function parseLogFilters(search: LogSearchParams): LogFilters;
|
|
24
|
+
export declare function serializeLogFilters(filters: LogFilters): LogSearchParams;
|
|
25
|
+
export declare function filterLogRows(rows: LogRow[], filters: LogFilters, now?: number): LogRow[];
|
|
26
|
+
//# sourceMappingURL=run-filters.d.ts.map
|
|
@@ -0,0 +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;CACjB;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,eAAe,GAAG,UAAU,CAWnE;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,UAAU,GAAG,eAAe,CAUxE;AA+BD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,EAAE,UAAU,EACnB,GAAG,GAAE,MAAmB,GACvB,MAAM,EAAE,CAQV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-filters.test.d.ts","sourceRoot":"","sources":["../../src/core/run-filters.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AgentTaskState, Issue, LogRow, Notification, RunUsage, TaskLogEntry } from '../types/index';
|
|
2
|
+
/** The row a Stack panel task card links to: still in flight, or already rolled
|
|
3
|
+
* into `tasks.log` under the same id by the time it's clicked. */
|
|
4
|
+
export declare function logRowIdForTask(task: AgentTaskState): string;
|
|
5
|
+
/** A run-all/phase entry only carries `usage` once every phase has reported;
|
|
6
|
+
* until then its cost and duration live in `phaseRuns` and must be summed. */
|
|
7
|
+
export declare function usageForEntry(entry: TaskLogEntry): RunUsage | undefined;
|
|
8
|
+
/** The most recent tasks.log entry per plan that's still `interrupted` — a newer
|
|
9
|
+
* `started` line on that plan becomes the newest entry, dropping it from this list. */
|
|
10
|
+
export declare function interruptedNotices(taskLog: TaskLogEntry[]): TaskLogEntry[];
|
|
11
|
+
/** The one stream (IDEA-237): every `tasks.log` entry, plus failures with no run
|
|
12
|
+
* behind them (an 'agent-run' issue is the same failure as its tasks.log 'error'
|
|
13
|
+
* entry, so it's excluded here to avoid a duplicate row), plus tasks still in
|
|
14
|
+
* flight — which sort above the rest regardless of their own timestamp. */
|
|
15
|
+
export declare function buildLogRows(taskLog: TaskLogEntry[], issues: Issue[], agentStatus: AgentTaskState[], notifications: Notification[]): LogRow[];
|
|
16
|
+
//# sourceMappingURL=run-rows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAqFD;;;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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-rows.test.d.ts","sourceRoot":"","sources":["../../src/core/run-rows.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LogRow } from '../types/index';
|
|
2
|
+
export interface LogStats {
|
|
3
|
+
runs: number;
|
|
4
|
+
failed: number;
|
|
5
|
+
successRate: number | undefined;
|
|
6
|
+
totalCostUsd: number;
|
|
7
|
+
medianDurationMs: number | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare function computeLogStats(rows: LogRow[]): LogStats;
|
|
10
|
+
//# sourceMappingURL=run-stats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-stats.d.ts","sourceRoot":"","sources":["../../src/core/run-stats.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;AASD,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,QAAQ,CAcxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-stats.test.d.ts","sourceRoot":"","sources":["../../src/core/run-stats.test.ts"],"names":[],"mappings":""}
|