@dendelion/paper-camp 0.32.0 → 0.33.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/chunks/{daemon-state.61FBbbsV.js → daemon-state.BeDnhzBY.js} +47 -43
- package/dist/chunks/daemon-state.BeDnhzBY.js.map +1 -0
- package/dist/chunks/phase-progress.cMGsSLa8.js +3003 -0
- package/dist/chunks/phase-progress.cMGsSLa8.js.map +1 -0
- package/dist/cli/index.js +5933 -21107
- package/dist/cli/index.js.map +1 -1
- package/dist/core/ci/ci-release.d.ts +9 -1
- package/dist/core/ci/ci-release.d.ts.map +1 -1
- package/dist/core/daemon-state/daemon-state.d.ts +1 -0
- package/dist/core/daemon-state/daemon-state.d.ts.map +1 -1
- package/dist/core/doctor/checks/tooling.d.ts +3 -0
- package/dist/core/doctor/checks/tooling.d.ts.map +1 -0
- package/dist/core/doctor/checks/tooling.test.d.ts +2 -0
- package/dist/core/doctor/checks/tooling.test.d.ts.map +1 -0
- package/dist/core/doctor/doctor.d.ts +1 -0
- package/dist/core/doctor/doctor.d.ts.map +1 -1
- package/dist/core/doctor/doctor.test.d.ts +2 -0
- package/dist/core/doctor/doctor.test.d.ts.map +1 -0
- package/dist/core/doctor/rules.d.ts +6 -1
- package/dist/core/doctor/rules.d.ts.map +1 -1
- package/dist/core/git-pr/pr-lookup.d.ts +11 -0
- package/dist/core/git-pr/pr-lookup.d.ts.map +1 -1
- package/dist/core/git-pr/pr.d.ts +1 -1
- package/dist/core/git-pr/pr.d.ts.map +1 -1
- package/dist/core/index.js +172 -157
- package/dist/core/notifications.d.ts +3 -1
- package/dist/core/notifications.d.ts.map +1 -1
- package/dist/core/parse/parser.d.ts.map +1 -1
- package/dist/core/parse/schemas.d.ts +60 -0
- package/dist/core/parse/schemas.d.ts.map +1 -1
- package/dist/core/push-send.d.ts +14 -0
- package/dist/core/push-send.d.ts.map +1 -0
- package/dist/core/push-send.test.d.ts +2 -0
- package/dist/core/push-send.test.d.ts.map +1 -0
- package/dist/core/push-store.d.ts +37 -0
- package/dist/core/push-store.d.ts.map +1 -0
- package/dist/core/push-store.test.d.ts +2 -0
- package/dist/core/push-store.test.d.ts.map +1 -0
- package/dist/core/run-rows.d.ts +3 -0
- 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 +7 -1
- package/dist/core/scaffold/templates.d.ts.map +1 -1
- package/dist/core/scaffold/templates.test.d.ts +2 -0
- package/dist/core/scaffold/templates.test.d.ts.map +1 -0
- package/dist/core/stats.d.ts.map +1 -1
- package/dist/core/vapid-keys.d.ts +7 -0
- package/dist/core/vapid-keys.d.ts.map +1 -0
- package/dist/core/vapid-keys.test.d.ts +2 -0
- package/dist/core/vapid-keys.test.d.ts.map +1 -0
- package/dist/toolbar/toolbar.js +3652 -3666
- package/dist/toolbar/toolbar.js.map +1 -1
- package/dist/types/index.d.ts +20 -6
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +44 -22
- package/dist/types/index.js.map +1 -1
- package/dist/vite/index.js +1 -1
- package/package.json +7 -2
- package/dist/chunks/daemon-state.61FBbbsV.js.map +0 -1
- package/dist/chunks/phase-progress.Cos0IBFk.js +0 -7338
- package/dist/chunks/phase-progress.Cos0IBFk.js.map +0 -1
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { CiReleaseState, CiRun, CiRunStatus, DeskCi, ReleasePr } from '../../types/index';
|
|
2
2
|
interface GhRunRow {
|
|
3
|
+
databaseId?: number;
|
|
3
4
|
workflowName: string;
|
|
4
5
|
status: string;
|
|
5
6
|
conclusion: string;
|
|
6
7
|
url: string;
|
|
7
8
|
headBranch: string;
|
|
8
9
|
}
|
|
10
|
+
interface GhJobRow {
|
|
11
|
+
name: string;
|
|
12
|
+
conclusion: string;
|
|
13
|
+
}
|
|
9
14
|
interface GhPrRow {
|
|
10
15
|
number: number;
|
|
11
16
|
title: string;
|
|
@@ -17,7 +22,10 @@ interface GhPrRow {
|
|
|
17
22
|
}
|
|
18
23
|
export declare function mapRunStatus(status: string, conclusion: string): CiRunStatus;
|
|
19
24
|
export declare function parseVersion(text: string): string | null;
|
|
20
|
-
export declare function latestRunPerWorkflow(rows: GhRunRow[], branch: string): CiRun
|
|
25
|
+
export declare function latestRunPerWorkflow(rows: GhRunRow[], branch: string): (CiRun & {
|
|
26
|
+
runId?: number;
|
|
27
|
+
})[];
|
|
28
|
+
export declare function failedJobNames(jobs: GhJobRow[]): string[];
|
|
21
29
|
export declare function pickReleasePr(rows: GhPrRow[]): ReleasePr | null;
|
|
22
30
|
export declare function clearCiCache(): void;
|
|
23
31
|
export declare function fetchCiReleaseState(ci: DeskCi, ttlMs?: number): Promise<CiReleaseState>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-release.d.ts","sourceRoot":"","sources":["../../../src/core/ci/ci-release.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAK/F,UAAU,QAAQ;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,OAAO;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5B;AA2CD,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,WAAW,CAqB5E;AAED,wBAAgB,Y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F;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAOjE;AAQD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAcjE;AAED;iDACiD;AACjD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAU5D;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":"tooling.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/tooling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAiB7C,eAAO,MAAM,aAAa,EAAE,WAAW,EAAmC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooling.test.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/tooling.test.ts"],"names":[],"mappings":""}
|
|
@@ -9,6 +9,7 @@ export interface DoctorEntityFile {
|
|
|
9
9
|
export interface DoctorContext {
|
|
10
10
|
files: DoctorEntityFile[];
|
|
11
11
|
config: PaperCampConfig | null;
|
|
12
|
+
hasPermissionsAllow?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export type DoctorCheck = (context: DoctorContext) => DoctorFinding[];
|
|
14
15
|
export declare const DOCTOR_CHECKS: DoctorCheck[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/doctor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"doctor.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/doctor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/B,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,aAAa,EAAE,CAAC;AAEtE,eAAO,MAAM,aAAa,EAAE,WAAW,EAItC,CAAC;AAgDF,wBAAsB,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CA8BvF;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,EAAE,CAEvE;AAED,wBAAsB,SAAS,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAE9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"doctor.test.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/doctor.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type DoctorSeverity = 'error' | 'warning';
|
|
2
|
-
export type DoctorCategory = 'metadata' | 'structural';
|
|
2
|
+
export type DoctorCategory = 'metadata' | 'structural' | 'tooling';
|
|
3
3
|
export interface DoctorRule {
|
|
4
4
|
id: string;
|
|
5
5
|
category: DoctorCategory;
|
|
@@ -56,6 +56,11 @@ export declare const DOCTOR_RULES: readonly [{
|
|
|
56
56
|
readonly category: "structural";
|
|
57
57
|
readonly severity: "warning";
|
|
58
58
|
readonly summary: "A [[IDEA-N]] wikilink targets an id that no entity in the corpus defines.";
|
|
59
|
+
}, {
|
|
60
|
+
readonly id: "missing-permissions-allow";
|
|
61
|
+
readonly category: "tooling";
|
|
62
|
+
readonly severity: "warning";
|
|
63
|
+
readonly summary: ".claude/settings.json has no permissions.allow list, so a headless run denies every edit and shell command outside the defaults — run `paper-camp init --settings` to add it.";
|
|
59
64
|
}];
|
|
60
65
|
export type DoctorRuleId = (typeof DOCTOR_RULES)[number]['id'];
|
|
61
66
|
export declare const DOCTOR_RULES_BY_ID: Record<DoctorRuleId, DoctorRule>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/rules.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/rules.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;AAEnE,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,cAAc,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0EiB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAE/D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAE3B,CAAC"}
|
|
@@ -41,6 +41,17 @@ export declare function dispatchPrReview(root: string, url: string, review: PrRe
|
|
|
41
41
|
/** `undefined` means the lookup couldn't resolve at all and nothing persisted
|
|
42
42
|
* exists to fall back on either; callers fall back to stored status. */
|
|
43
43
|
export declare function resolvePrsByEntity(root: string, ttlMs?: number): Promise<Map<string, PrInfo> | undefined>;
|
|
44
|
+
/** The in-memory map as of the last resolved fetch, without triggering one — lets a
|
|
45
|
+
* caller diff "before" against `resolvePrsByEntity`'s "after" around a refresh. */
|
|
46
|
+
export declare function peekCachedPrs(root: string): Map<string, PrInfo> | undefined;
|
|
47
|
+
/** Every entity whose PR just reached 'changes-requested' on this fetch — keyed by
|
|
48
|
+
* PR number + head sha, same continuity rule as `collectPrReviewIssues`, so a
|
|
49
|
+
* still-outstanding request doesn't re-notify and a fresh push that gets re-reviewed
|
|
50
|
+
* does. */
|
|
51
|
+
export declare function entitiesWithNewChangesRequested(previous: Map<string, PrInfo> | undefined, fresh: Map<string, PrInfo>): {
|
|
52
|
+
entityId: string;
|
|
53
|
+
pr: PrInfo;
|
|
54
|
+
}[];
|
|
44
55
|
/** Reads the timestamp of the last successful GitHub fetch without triggering one
|
|
45
56
|
* — falls back to the on-disk map if nothing's cached in memory yet. */
|
|
46
57
|
export declare function getPrMapFetchedAt(root: string): Promise<number | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr-lookup.d.ts","sourceRoot":"","sources":["../../../src/core/git-pr/pr-lookup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAkB,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAuF9E,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAChC,MAAM,GAAG,IAAI,CAKf;AA2BD;;;2BAG2B;AAC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CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,EACzC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACzB;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,CAUpC;AAED;wEACwE;AACxE,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAU5E;AAED;;;;+EAI+E;AAC/E,wBAAsB,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkB/D"}
|
package/dist/core/git-pr/pr.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConsistencyIssue, EntityEntry, EntityType, PhaseItem } from '../../types/index';
|
|
2
|
-
export { clearPrCache, createPrReview, dispatchPrReview, fetchUnresolvedThreads, getPrMapFetchedAt, type PrReviewComment, type PrReviewDelivery, type PrReviewInput, replyToReviewThread, resolvePrsByEntity, resolveReviewThread, scoutReviewFooter, } from './pr-lookup';
|
|
2
|
+
export { clearPrCache, createPrReview, dispatchPrReview, entitiesWithNewChangesRequested, fetchUnresolvedThreads, getPrMapFetchedAt, peekCachedPrs, type PrReviewComment, type PrReviewDelivery, type PrReviewInput, replyToReviewThread, resolvePrsByEntity, resolveReviewThread, scoutReviewFooter, } from './pr-lookup';
|
|
3
3
|
/** `gh pr diff <ref>` — the unified diff of the PR's changes, capped so a huge
|
|
4
4
|
* diff can't blow the review prompt's budget. Resolves `undefined` on any
|
|
5
5
|
* spawn/exit failure, never throws. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pr.d.ts","sourceRoot":"","sources":["../../../src/core/git-pr/pr.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,UAAU,EAEf,KAAK,SAAS,EACf,MAAM,mBAAmB,CAAC;AAQ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,168 +1,183 @@
|
|
|
1
|
-
import { A as s, C as t, a as r,
|
|
2
|
-
import { a as
|
|
3
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as s, C as t, a as r, D as i, b as n, c as o, d, M as c, P as l, e as m, f as S, S as P, g as h, h as T, i as E, j as g, k as C, l as I, m as p, n as _, o as N, p as R, q as f, r as A, s as b, t as y, u as v, v as u, w as F, x as D, y as L, z as O, B as M, E as k, F as H, G, H as w, I as j, J as U, K, L as B, N as x, O as q, Q as W, R as J, T as X, U as z, V as Q, W as V, X as Y, Y as Z, Z as $, _ as aa, $ as ea, a0 as sa, a1 as ta, a2 as ra, a3 as ia, a4 as na, a5 as oa, a6 as da, a7 as ca, a8 as la, a9 as ma, aa as Sa, ab as Pa, ac as ha, ad as Ta, ae as Ea, af as ga, ag as Ca, ah as Ia, ai as pa, aj as _a, ak as Na, al as Ra, am as fa, an as Aa, ao as ba, ap as ya, aq as va, ar as ua, as as Fa, at as Da, au as La, av as Oa, aw as Ma, ax as ka, ay as Ha, az as Ga, aA as wa, aB as ja, aC as Ua, aD as Ka, aE as Ba, aF as xa, aG as qa, aH as Wa, aI as Ja, aJ as Xa, aK as za, aL as Qa, aM as Va, aN as Ya, aO as Za, aP as $a, aQ as ae, aR as ee, aS as se, aT as te, aU as re, aV as ie, aW as ne, aX as oe, aY as de, aZ as ce, a_ as le, a$ as me, b0 as Se, b1 as Pe, b2 as he, b3 as Te, b4 as Ee, b5 as ge, b6 as Ce, b7 as Ie, b8 as pe, b9 as _e, ba as Ne, bb as Re, bc as fe, bd as Ae, be, bf as ye, bg as ve } from "../chunks/phase-progress.cMGsSLa8.js";
|
|
2
|
+
import { a as Fe, c as De, d as Le, b as Oe, e as Me, f as ke, g as He, h as Ge, i as we, j as je, k as Ue, l as Ke, m as Be, n as xe, o as qe, p as We, q as Je, r as Xe, s as ze, t as Qe, u as Ve, v as Ye, w as Ze, x as $e, y as as } from "../chunks/daemon-state.BeDnhzBY.js";
|
|
3
|
+
import { AGENT_IDS as ss, AGENT_LABELS as ts, AGENT_OPTIONS as rs, DEFAULT_AGENTS as is, DEFAULT_NIGHT_CONFIG as ns, DEFAULT_NOTIFICATION_KINDS as os, MACHINE_NIGHT_PATH as ds, MACHINE_PROJECTS_PATH as cs, MACHINE_UPDATE_PATH as ls, NIGHT_CHECK_IDS as ms, NOTIFICATION_SETTING_KINDS as Ss, PAIRING_TOKEN_HEADER as Ps, PLAN_KINDS as hs, PLAN_STATUSES as Ts, TOOLBAR_SEGMENT_IDS as Es, agentConfigsEqual as gs, coerceAgentConfig as Cs } from "../types/index.js";
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
ss as AGENT_IDS,
|
|
6
|
+
ts as AGENT_LABELS,
|
|
7
|
+
rs as AGENT_OPTIONS,
|
|
8
8
|
s as AlreadyInitializedError,
|
|
9
|
-
t as
|
|
10
|
-
r as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
9
|
+
t as COMMIT_SCOPES,
|
|
10
|
+
r as COMMIT_SHA_RE,
|
|
11
|
+
is as DEFAULT_AGENTS,
|
|
12
|
+
ns as DEFAULT_NIGHT_CONFIG,
|
|
13
|
+
os as DEFAULT_NOTIFICATION_KINDS,
|
|
14
|
+
i as DOCTOR_CHECKS,
|
|
15
|
+
n as DOCTOR_FIXERS,
|
|
16
|
+
o as DOCTOR_RULES,
|
|
17
|
+
d as DOCTOR_RULES_BY_ID,
|
|
18
|
+
ds as MACHINE_NIGHT_PATH,
|
|
19
|
+
cs as MACHINE_PROJECTS_PATH,
|
|
20
|
+
ls as MACHINE_UPDATE_PATH,
|
|
21
|
+
c as MAX_TITLE_LENGTH,
|
|
22
|
+
ms as NIGHT_CHECK_IDS,
|
|
23
|
+
Ss as NOTIFICATION_SETTING_KINDS,
|
|
24
|
+
Ps as PAIRING_TOKEN_HEADER,
|
|
25
|
+
l as PAPER_CAMP_VERSION,
|
|
26
|
+
m as PHASE_MAX_FRACTION,
|
|
26
27
|
S as PHASE_STALL_MS,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
hs as PLAN_KINDS,
|
|
29
|
+
Ts as PLAN_STATUSES,
|
|
30
|
+
P as SKILL_MD_CONTENT,
|
|
31
|
+
h as SUGGESTION_ENTRY_RE,
|
|
32
|
+
Es as TOOLBAR_SEGMENT_IDS,
|
|
33
|
+
Fe as addProject,
|
|
34
|
+
T as addRoadmapCandidate,
|
|
35
|
+
E as addRoadmapItem,
|
|
36
|
+
g as advanceAnchor,
|
|
37
|
+
C as agentConfigSchema,
|
|
38
|
+
gs as agentConfigsEqual,
|
|
38
39
|
I as agentThreadMessage,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
p as applyEnvEntries,
|
|
41
|
+
_ as archiveEntityFile,
|
|
42
|
+
N as assignEntityId,
|
|
43
|
+
R as assignPlanId,
|
|
44
|
+
f as assignTicketId,
|
|
45
|
+
A as branchName,
|
|
46
|
+
b as buildClaudeSettingsJson,
|
|
47
|
+
y as buildPermissionsAllow,
|
|
48
|
+
v as buildSessionStartCommand,
|
|
49
|
+
u as classifyAnchor,
|
|
50
|
+
De as clearNightProject,
|
|
47
51
|
F as clearPrCache,
|
|
48
|
-
|
|
52
|
+
Cs as coerceAgentConfig,
|
|
49
53
|
D as collectDoctorContext,
|
|
50
54
|
L as collectParkedQuestions,
|
|
51
|
-
|
|
55
|
+
O as computePlanContentHash,
|
|
52
56
|
M as computePrTitle,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
k as createPrReview,
|
|
58
|
+
Le as daemonLogPath,
|
|
59
|
+
Oe as daemonStatePath,
|
|
56
60
|
H as dateString,
|
|
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
|
-
_a as
|
|
107
|
-
|
|
108
|
-
Ra as
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
Fa as
|
|
116
|
-
Da as
|
|
117
|
-
La as
|
|
118
|
-
|
|
119
|
-
Ma as
|
|
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
|
-
|
|
61
|
+
Me as defaultRegistryPath,
|
|
62
|
+
G as derivePrLabels,
|
|
63
|
+
w as deriveRoadmapEvents,
|
|
64
|
+
j as deriveSubjectVocabulary,
|
|
65
|
+
U as describeFindings,
|
|
66
|
+
K as deskCheckSchema,
|
|
67
|
+
B as deskCiSchema,
|
|
68
|
+
x as deskConfigSchema,
|
|
69
|
+
q as deskServiceSchema,
|
|
70
|
+
W as detectPackageManager,
|
|
71
|
+
J as dispatchPrReview,
|
|
72
|
+
X as ensureSubject,
|
|
73
|
+
z as entitiesWithNewChangesRequested,
|
|
74
|
+
Q as entityFrontmatterKnownKeys,
|
|
75
|
+
V as entityFrontmatterSchema,
|
|
76
|
+
Y as entityToIdea,
|
|
77
|
+
Z as entityToPlan,
|
|
78
|
+
ke as fetchMachineNightGate,
|
|
79
|
+
He as fetchMachineProjects,
|
|
80
|
+
$ as fetchPrDiff,
|
|
81
|
+
aa as fetchUnresolvedThreads,
|
|
82
|
+
ea as findArchivableIdeas,
|
|
83
|
+
sa as findConsistencyIssues,
|
|
84
|
+
ta as findReleaseLineForId,
|
|
85
|
+
ra as findingSeverity,
|
|
86
|
+
Ge as formatDaemonLinks,
|
|
87
|
+
we as formatDaemonStatusLine,
|
|
88
|
+
ia as formatEntityFile,
|
|
89
|
+
na as formatIdeaFile,
|
|
90
|
+
oa as formatPlanEntry,
|
|
91
|
+
da as formatPlanFile,
|
|
92
|
+
ca as formatPlans,
|
|
93
|
+
la as formatReleaseNotesMarkdown,
|
|
94
|
+
je as formatUpdateStatusLine,
|
|
95
|
+
ma as getPrMapFetchedAt,
|
|
96
|
+
Sa as hasPaperCampDependency,
|
|
97
|
+
Pa as ideaFrontmatterSchema,
|
|
98
|
+
ha as initProject,
|
|
99
|
+
Ta as isConventionalPrTitle,
|
|
100
|
+
Ea as isPhaseStalled,
|
|
101
|
+
Ue as isProcessAlive,
|
|
102
|
+
Ke as isProjectMissing,
|
|
103
|
+
ga as linkRoadmapItem,
|
|
104
|
+
Be as listProjects,
|
|
105
|
+
xe as loadRegistry,
|
|
106
|
+
qe as machineConfigDir,
|
|
107
|
+
Ca as medianSegmentMs,
|
|
108
|
+
Ia as mergeClaudeSettingsJson,
|
|
109
|
+
pa as nightConfigSchema,
|
|
110
|
+
_a as nightCustomCheckSchema,
|
|
111
|
+
Na as nightWindowSchema,
|
|
112
|
+
Ra as notificationsConfigSchema,
|
|
113
|
+
fa as paperCampConfigSchema,
|
|
114
|
+
Aa as parseEntityFile,
|
|
115
|
+
ba as parseEnv,
|
|
116
|
+
ya as parseFrontmatter,
|
|
117
|
+
va as parseIdeaFile,
|
|
118
|
+
ua as parseIdeas,
|
|
119
|
+
Fa as parseNotificationLog,
|
|
120
|
+
Da as parsePlanFile,
|
|
121
|
+
La as parsePlans,
|
|
122
|
+
Oa as parseRawEntries,
|
|
123
|
+
Ma as parseRoadmap,
|
|
124
|
+
ka as parseSuggestions,
|
|
125
|
+
Ha as peekCachedPrs,
|
|
126
|
+
Ga as phaseFraction,
|
|
127
|
+
wa as planDoctorFixes,
|
|
128
|
+
ja as planFieldsSchema,
|
|
129
|
+
Ua as planFrontmatterSchema,
|
|
130
|
+
We as probeMachineEndpoint,
|
|
131
|
+
Ka as pushSubscribeBodySchema,
|
|
132
|
+
Ba as pushUnsubscribeBodySchema,
|
|
133
|
+
Je as qrEligibleLink,
|
|
134
|
+
xa as readEntities,
|
|
135
|
+
qa as readEntitiesWithDerivedStatus,
|
|
136
|
+
Wa as readFileMaybe,
|
|
137
|
+
Ja as readNoteEntries,
|
|
138
|
+
Xa as readParkedQuestions,
|
|
139
|
+
Xe as readRunningDaemonState,
|
|
140
|
+
za as readTaskLog,
|
|
141
|
+
Qa as readWorkEntries,
|
|
142
|
+
ze as removeDaemonState,
|
|
143
|
+
Qe as removeProject,
|
|
144
|
+
Va as removeRoadmapItem,
|
|
145
|
+
Ya as removeSuggestionLine,
|
|
146
|
+
Za as renderConsistencyComment,
|
|
147
|
+
$a as renderPlanPhasesIntoBody,
|
|
148
|
+
ae as replyToReviewThread,
|
|
149
|
+
ee as reportFindings,
|
|
150
|
+
se as resolveEntityIdForCommit,
|
|
151
|
+
te as resolveEntityTrail,
|
|
152
|
+
re as resolveIdFromCommitMessage,
|
|
153
|
+
ie as resolveIdeasForRelease,
|
|
154
|
+
ne as resolvePlanForPrRef,
|
|
155
|
+
oe as resolvePrimaryScope,
|
|
156
|
+
de as resolvePrsByEntity,
|
|
157
|
+
ce as resolveReleaseNotes,
|
|
158
|
+
le as resolveReleaseRanges,
|
|
159
|
+
me as resolveReviewThread,
|
|
160
|
+
Se as resolveRoadmap,
|
|
161
|
+
Pe as runDoctor,
|
|
162
|
+
he as runDoctorChecks,
|
|
163
|
+
Ve as saveRegistry,
|
|
164
|
+
Te as scaffoldClaudeCodeIntegration,
|
|
165
|
+
Ye as scanForProjects,
|
|
166
|
+
Ee as scoutReviewFooter,
|
|
167
|
+
ge as serializeFrontmatter,
|
|
168
|
+
Ze as setNightPause,
|
|
169
|
+
$e as setNightProject,
|
|
170
|
+
Ce as sortFindings,
|
|
171
|
+
Ie as squashMergePr,
|
|
172
|
+
pe as storedNotificationSchema,
|
|
173
|
+
_e as syncConsistencyCommentToPr,
|
|
174
|
+
Ne as syncPlanPhasesToPr,
|
|
175
|
+
Re as syncPrLabelsToPr,
|
|
176
|
+
fe as syncPrReadinessToPr,
|
|
177
|
+
Ae as syncPrTitleToPr,
|
|
178
|
+
be as todayDateString,
|
|
179
|
+
ye as validatePrTitle,
|
|
180
|
+
ve as webPushSubscriptionSchema,
|
|
181
|
+
as as writeDaemonState
|
|
167
182
|
};
|
|
168
183
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { Notification, ParkedQuestion, StoredNotification } from '../types/index';
|
|
1
|
+
import { Notification, NotificationSettingKind, ParkedQuestion, StoredNotification, StoredNotificationKind } from '../types/index';
|
|
2
|
+
export declare function notificationSettingKind(kind: StoredNotificationKind, outcome?: 'done' | 'error' | 'interrupted'): NotificationSettingKind;
|
|
3
|
+
export declare function isNotificationKindEnabled(kinds: Partial<Record<NotificationSettingKind, boolean>> | undefined, settingKind: NotificationSettingKind): boolean;
|
|
2
4
|
export declare function notificationAgeDays(notification: Notification): number;
|
|
3
5
|
/** Every parked question alongside completed/reply notifications, oldest-first — the
|
|
4
6
|
* unified feed (IDEA-153) replacing the questions-only Inbox. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/core/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/core/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AAMxB,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,aAAa,GACzC,uBAAuB,CAQzB;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,EACpE,WAAW,EAAE,uBAAuB,GACnC,OAAO,CAET;AAED,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAEtE;AAED;iEACiE;AACjE,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,cAAc,EAAE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