@dendelion/paper-camp 0.17.1 → 0.18.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/app/assets/index-2KbxO2gv.js +2 -0
- package/dist/app/assets/index-2KbxO2gv.js.map +1 -0
- package/dist/app/assets/{index-DJwR0UyW.js → index-B_KrbzkW.js} +2 -2
- package/dist/app/assets/{index-DJwR0UyW.js.map → index-B_KrbzkW.js.map} +1 -1
- package/dist/app/assets/{index-C4T8Gzjs.js → index-BiMhnqOS.js} +3 -3
- package/dist/app/assets/{index-C4T8Gzjs.js.map → index-BiMhnqOS.js.map} +1 -1
- package/dist/app/assets/index-DahTzD09.js +6 -0
- package/dist/app/assets/index-DahTzD09.js.map +1 -0
- package/dist/app/assets/index-Db-zMFvA.js +4 -0
- package/dist/app/assets/index-Db-zMFvA.js.map +1 -0
- package/dist/app/assets/index-Dw1f2idP.js +2 -0
- package/dist/app/assets/{index-_tpcAf-k.js.map → index-Dw1f2idP.js.map} +1 -1
- package/dist/app/assets/index-UPIRvQZS.js +3 -0
- package/dist/app/assets/index-UPIRvQZS.js.map +1 -0
- package/dist/app/assets/main-BuCfycKH.css +1 -0
- package/dist/app/assets/main-CfeIUKG-.js +217 -0
- package/dist/app/assets/main-CfeIUKG-.js.map +1 -0
- package/dist/app/assets/{sidebar-section-DxUjM4Rm.js → sidebar-section-Lss_HMtQ.js} +2 -2
- package/dist/app/assets/{sidebar-section-DxUjM4Rm.js.map → sidebar-section-Lss_HMtQ.js.map} +1 -1
- package/dist/app/index.html +2 -2
- package/dist/app/toolbar.js +7841 -7794
- package/dist/app/toolbar.js.map +1 -1
- package/dist/chunks/{phase-progress.DsBJvd_o.js → phase-progress.BIIDRJmI.js} +2783 -2365
- package/dist/chunks/phase-progress.BIIDRJmI.js.map +1 -0
- package/dist/cli/index.js +9649 -8810
- package/dist/cli/index.js.map +1 -1
- package/dist/core/ci/ci-release.d.ts +25 -0
- package/dist/core/ci/ci-release.d.ts.map +1 -0
- package/dist/core/ci/ci-release.test.d.ts +2 -0
- package/dist/core/ci/ci-release.test.d.ts.map +1 -0
- package/dist/core/ci/index.d.ts +2 -0
- package/dist/core/ci/index.d.ts.map +1 -0
- package/dist/core/doctor/checks/metadata.d.ts +3 -0
- package/dist/core/doctor/checks/metadata.d.ts.map +1 -0
- package/dist/core/doctor/checks/metadata.test.d.ts +2 -0
- package/dist/core/doctor/checks/metadata.test.d.ts.map +1 -0
- package/dist/core/doctor/checks/structural.d.ts +3 -0
- package/dist/core/doctor/checks/structural.d.ts.map +1 -0
- package/dist/core/doctor/checks/structural.test.d.ts +2 -0
- package/dist/core/doctor/checks/structural.test.d.ts.map +1 -0
- package/dist/core/doctor/doctor.d.ts +18 -0
- package/dist/core/doctor/doctor.d.ts.map +1 -0
- package/dist/core/doctor/finding.d.ts +25 -0
- package/dist/core/doctor/finding.d.ts.map +1 -0
- package/dist/core/doctor/finding.test.d.ts +2 -0
- package/dist/core/doctor/finding.test.d.ts.map +1 -0
- package/dist/core/doctor/fix.d.ts +25 -0
- package/dist/core/doctor/fix.d.ts.map +1 -0
- package/dist/core/doctor/fix.test.d.ts +2 -0
- package/dist/core/doctor/fix.test.d.ts.map +1 -0
- package/dist/core/doctor/index.d.ts +5 -0
- package/dist/core/doctor/index.d.ts.map +1 -0
- package/dist/core/doctor/rules.d.ts +52 -0
- package/dist/core/doctor/rules.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 +120 -102
- package/dist/core/notifications.d.ts +6 -0
- package/dist/core/notifications.d.ts.map +1 -0
- package/dist/core/notifications.test.d.ts +2 -0
- package/dist/core/notifications.test.d.ts.map +1 -0
- package/dist/core/parse/desk-schema.test.d.ts +2 -0
- package/dist/core/parse/desk-schema.test.d.ts.map +1 -0
- package/dist/core/parse/parser.d.ts +2 -1
- package/dist/core/parse/parser.d.ts.map +1 -1
- package/dist/core/parse/schemas.d.ts +65 -0
- package/dist/core/parse/schemas.d.ts.map +1 -1
- package/dist/types/index.d.ts +96 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/vite/index.d.ts.map +1 -1
- package/dist/vite/index.js +47 -40
- package/dist/vite/index.js.map +1 -1
- package/package.json +2 -3
- package/dist/app/assets/index-BXRfFWnQ.js +0 -4
- package/dist/app/assets/index-BXRfFWnQ.js.map +0 -1
- package/dist/app/assets/index-BrriNOla.js +0 -2
- package/dist/app/assets/index-BrriNOla.js.map +0 -1
- package/dist/app/assets/index-CSl9MOCi.js +0 -6
- package/dist/app/assets/index-CSl9MOCi.js.map +0 -1
- package/dist/app/assets/index-D0gBw6x1.js +0 -3
- package/dist/app/assets/index-D0gBw6x1.js.map +0 -1
- package/dist/app/assets/index-_tpcAf-k.js +0 -2
- package/dist/app/assets/main-Ll-lvqgh.css +0 -1
- package/dist/app/assets/main-Zb7gEID9.js +0 -207
- package/dist/app/assets/main-Zb7gEID9.js.map +0 -1
- package/dist/chunks/phase-progress.DsBJvd_o.js.map +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CiReleaseState, CiRun, CiRunStatus, DeskCi, ReleasePr } from '../../types/index';
|
|
2
|
+
interface GhRunRow {
|
|
3
|
+
workflowName: string;
|
|
4
|
+
status: string;
|
|
5
|
+
conclusion: string;
|
|
6
|
+
url: string;
|
|
7
|
+
headBranch: string;
|
|
8
|
+
}
|
|
9
|
+
interface GhPrRow {
|
|
10
|
+
number: number;
|
|
11
|
+
title: string;
|
|
12
|
+
url: string;
|
|
13
|
+
headRefName: string;
|
|
14
|
+
labels: {
|
|
15
|
+
name: string;
|
|
16
|
+
}[];
|
|
17
|
+
}
|
|
18
|
+
export declare function mapRunStatus(status: string, conclusion: string): CiRunStatus;
|
|
19
|
+
export declare function parseVersion(text: string): string | null;
|
|
20
|
+
export declare function latestRunPerWorkflow(rows: GhRunRow[], branch: string): CiRun[];
|
|
21
|
+
export declare function pickReleasePr(rows: GhPrRow[]): ReleasePr | null;
|
|
22
|
+
export declare function clearCiCache(): void;
|
|
23
|
+
export declare function fetchCiReleaseState(ci: DeskCi, ttlMs?: number): Promise<CiReleaseState>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=ci-release.d.ts.map
|
|
@@ -0,0 +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,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGxD;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,KAAK,EAAE,CAa9E;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,SAAS,GAAG,IAAI,CAa/D;AAID,wBAAgB,YAAY,IAAI,IAAI,CAEnC;AAED,wBAAsB,mBAAmB,CACvC,EAAE,EAAE,MAAM,EACV,KAAK,SAAkB,GACtB,OAAO,CAAC,cAAc,CAAC,CAkDzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ci-release.test.d.ts","sourceRoot":"","sources":["../../../src/core/ci/ci-release.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/ci/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/metadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;AA6I/D,eAAO,MAAM,cAAc,EAAE,WAAW,EAKvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.test.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/metadata.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"structural.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/structural.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;AA0I/D,eAAO,MAAM,gBAAgB,EAAE,WAAW,EAKzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"structural.test.d.ts","sourceRoot":"","sources":["../../../../src/core/doctor/checks/structural.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PaperCampConfig } from '../../types/index';
|
|
2
|
+
import { DoctorFinding } from './finding';
|
|
3
|
+
export interface DoctorEntityFile {
|
|
4
|
+
id: string;
|
|
5
|
+
path: string;
|
|
6
|
+
content: string;
|
|
7
|
+
archived: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface DoctorContext {
|
|
10
|
+
files: DoctorEntityFile[];
|
|
11
|
+
config: PaperCampConfig | null;
|
|
12
|
+
}
|
|
13
|
+
export type DoctorCheck = (context: DoctorContext) => DoctorFinding[];
|
|
14
|
+
export declare const DOCTOR_CHECKS: DoctorCheck[];
|
|
15
|
+
export declare function collectDoctorContext(paperCampDir: string): Promise<DoctorContext>;
|
|
16
|
+
export declare function runDoctorChecks(context: DoctorContext): DoctorFinding[];
|
|
17
|
+
export declare function runDoctor(paperCampDir: string): Promise<DoctorFinding[]>;
|
|
18
|
+
//# sourceMappingURL=doctor.d.ts.map
|
|
@@ -0,0 +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;AAGzD,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;CAChC;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,aAAa,KAAK,aAAa,EAAE,CAAC;AAEtE,eAAO,MAAM,aAAa,EAAE,WAAW,EAA6C,CAAC;AAgCrF,wBAAsB,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CA0BvF;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,25 @@
|
|
|
1
|
+
import { DoctorRuleId, DoctorSeverity } from './rules';
|
|
2
|
+
export interface DoctorFinding {
|
|
3
|
+
file: string;
|
|
4
|
+
line: number;
|
|
5
|
+
rule: DoctorRuleId;
|
|
6
|
+
message: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function findingSeverity(finding: DoctorFinding): DoctorSeverity;
|
|
9
|
+
export declare function sortFindings(findings: DoctorFinding[]): DoctorFinding[];
|
|
10
|
+
export interface DoctorFindingWithSeverity extends DoctorFinding {
|
|
11
|
+
severity: DoctorSeverity;
|
|
12
|
+
}
|
|
13
|
+
export interface DoctorFindingSummary {
|
|
14
|
+
findings: DoctorFindingWithSeverity[];
|
|
15
|
+
errorCount: number;
|
|
16
|
+
warningCount: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function describeFindings(findings: DoctorFinding[]): DoctorFindingSummary;
|
|
19
|
+
export interface DoctorReport {
|
|
20
|
+
text: string;
|
|
21
|
+
errorCount: number;
|
|
22
|
+
warningCount: number;
|
|
23
|
+
}
|
|
24
|
+
export declare function reportFindings(findings: DoctorFinding[]): DoctorReport;
|
|
25
|
+
//# sourceMappingURL=finding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finding.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/finding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,SAAS,CAAC;AAErF,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,aAAa,GAAG,cAAc,CAEtE;AAID,wBAAgB,YAAY,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,aAAa,EAAE,CAQvE;AAED,MAAM,WAAW,yBAA0B,SAAQ,aAAa;IAC9D,QAAQ,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,yBAAyB,EAAE,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,oBAAoB,CAUhF;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,YAAY,CAsBtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finding.test.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/finding.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DoctorContext, DoctorEntityFile } from './doctor';
|
|
2
|
+
import { DoctorFinding } from './finding';
|
|
3
|
+
import { DoctorRuleId } from './rules';
|
|
4
|
+
export type DoctorFixAction = {
|
|
5
|
+
kind: 'move';
|
|
6
|
+
from: string;
|
|
7
|
+
to: string;
|
|
8
|
+
} | {
|
|
9
|
+
kind: 'rewrite';
|
|
10
|
+
path: string;
|
|
11
|
+
content: string;
|
|
12
|
+
};
|
|
13
|
+
export interface DoctorFixer {
|
|
14
|
+
rule: DoctorRuleId;
|
|
15
|
+
fix: (finding: DoctorFinding, file: DoctorEntityFile) => DoctorFixAction | null;
|
|
16
|
+
}
|
|
17
|
+
export declare const DOCTOR_FIXERS: DoctorFixer[];
|
|
18
|
+
export interface DoctorFixPlan {
|
|
19
|
+
actions: DoctorFixAction[];
|
|
20
|
+
fixed: DoctorFinding[];
|
|
21
|
+
unfixable: DoctorFinding[];
|
|
22
|
+
rejected: DoctorFinding[];
|
|
23
|
+
}
|
|
24
|
+
export declare function planDoctorFixes(context: DoctorContext, findings: DoctorFinding[]): DoctorFixPlan;
|
|
25
|
+
//# sourceMappingURL=fix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fix.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/fix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,MAAM,eAAe,GACvB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC1C;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,YAAY,CAAC;IACnB,GAAG,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,gBAAgB,KAAK,eAAe,GAAG,IAAI,CAAC;CACjF;AAaD,eAAO,MAAM,aAAa,EAAE,WAAW,EAA4B,CAAC;AAMpE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,aAAa,CA0BhG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fix.test.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/fix.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/doctor/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export type DoctorSeverity = 'error' | 'warning';
|
|
2
|
+
export type DoctorCategory = 'metadata' | 'structural';
|
|
3
|
+
export interface DoctorRule {
|
|
4
|
+
id: string;
|
|
5
|
+
category: DoctorCategory;
|
|
6
|
+
severity: DoctorSeverity;
|
|
7
|
+
summary: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const DOCTOR_RULES: readonly [{
|
|
10
|
+
readonly id: "frontmatter-schema";
|
|
11
|
+
readonly category: "metadata";
|
|
12
|
+
readonly severity: "error";
|
|
13
|
+
readonly summary: "Frontmatter fails entityFrontmatterSchema — missing required field, unknown key, bad enum, malformed date, or a violated note/status refinement.";
|
|
14
|
+
}, {
|
|
15
|
+
readonly id: "filename-id-mismatch";
|
|
16
|
+
readonly category: "metadata";
|
|
17
|
+
readonly severity: "error";
|
|
18
|
+
readonly summary: "Frontmatter id does not match the file name (IDEA-N.md); references break silently.";
|
|
19
|
+
}, {
|
|
20
|
+
readonly id: "duplicate-id";
|
|
21
|
+
readonly category: "metadata";
|
|
22
|
+
readonly severity: "error";
|
|
23
|
+
readonly summary: "Two entity files share one id; whichever loads last wins and the other disappears.";
|
|
24
|
+
}, {
|
|
25
|
+
readonly id: "id-counter-stale";
|
|
26
|
+
readonly category: "metadata";
|
|
27
|
+
readonly severity: "error";
|
|
28
|
+
readonly summary: "An entity id is greater than or equal to config.nextId.idea, so the next mint collides with an existing file.";
|
|
29
|
+
}, {
|
|
30
|
+
readonly id: "phases-list-split";
|
|
31
|
+
readonly category: "structural";
|
|
32
|
+
readonly severity: "error";
|
|
33
|
+
readonly summary: "A checkbox line lives outside the Phases section — a mid-file heading split the list and orphaned phases, so the entity parses as fewer phases than it has.";
|
|
34
|
+
}, {
|
|
35
|
+
readonly id: "note-has-phases";
|
|
36
|
+
readonly category: "structural";
|
|
37
|
+
readonly severity: "error";
|
|
38
|
+
readonly summary: "A kind: note entity carries a Phases section; notes never grow phases.";
|
|
39
|
+
}, {
|
|
40
|
+
readonly id: "archive-placement";
|
|
41
|
+
readonly category: "structural";
|
|
42
|
+
readonly severity: "warning";
|
|
43
|
+
readonly summary: "File location contradicts status — a done/dropped entity still under ideas/, or an active entity already under ideas/archive/.";
|
|
44
|
+
}, {
|
|
45
|
+
readonly id: "dangling-link";
|
|
46
|
+
readonly category: "structural";
|
|
47
|
+
readonly severity: "warning";
|
|
48
|
+
readonly summary: "A [[IDEA-N]] wikilink targets an id that no entity in the corpus defines.";
|
|
49
|
+
}];
|
|
50
|
+
export type DoctorRuleId = (typeof DOCTOR_RULES)[number]['id'];
|
|
51
|
+
export declare const DOCTOR_RULES_BY_ID: Record<DoctorRuleId, DoctorRule>;
|
|
52
|
+
//# sourceMappingURL=rules.d.ts.map
|
|
@@ -0,0 +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;AAEvD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqDiB,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"}
|
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,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,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,gBAAgB,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,108 +1,126 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { AGENT_IDS as
|
|
1
|
+
import { A as e, C as r, a as t, b as n, D as o, c as i, d, e as l, M as c, P as m, f as S, g as E, S as T, h as P, i as p, j as C, k as I, l as R, m as h, n as v, o as y, p as _, q as F, r as g, s as A, t as N, u as f, v as L, w as O, x as D, y as M, z as u, B as k, E as b, F as G, G as U, H, I as x, J as B, K as w, L as j, N as K, O as z, Q, R as V, T as W, U as X, V as J, W as Y, X as q, Y as Z, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ra, a2 as ta, a3 as na, a4 as oa, a5 as ia, a6 as da, a7 as la, a8 as ca, a9 as ma, aa as Sa, ab as Ea, ac as Ta, ad as Pa, ae as pa, af as Ca, ag as Ia, ah as Ra, ai as ha, aj as va, ak as ya, al as _a, am as Fa, an as ga, ao as Aa, ap as Na, aq as fa, ar as La, as as Oa, at as Da, au as Ma, av as ua, aw as ka, ax as ba, ay as Ga, az as Ua, aA as Ha, aB as xa, aC as Ba, aD as wa, aE as ja, aF as Ka, aG as za, aH as Qa, aI as Va, aJ as Wa, aK as Xa, aL as Ja, aM as Ya, aN as qa, aO as Za, aP as $a, aQ as as, aR as ss, aS as es, aT as rs, aU as ts, aV as ns, aW as os } from "../chunks/phase-progress.BIIDRJmI.js";
|
|
2
|
+
import { AGENT_IDS as ds, AGENT_LABELS as ls, AGENT_OPTIONS as cs, DEFAULT_AGENTS as ms, PLAN_KINDS as Ss, PLAN_STATUSES as Es, TOOLBAR_SEGMENT_IDS as Ts, coerceAgentConfig as Ps } from "../types/index.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
ds as AGENT_IDS,
|
|
5
|
+
ls as AGENT_LABELS,
|
|
6
|
+
cs as AGENT_OPTIONS,
|
|
7
|
+
e as AlreadyInitializedError,
|
|
8
8
|
r as CLAUDE_SETTINGS_JSON,
|
|
9
9
|
t as COMMIT_SCOPES,
|
|
10
10
|
n as COMMIT_SHA_RE,
|
|
11
|
-
|
|
12
|
-
o as
|
|
13
|
-
i as
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
E as
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
T as
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
p as
|
|
26
|
-
|
|
27
|
-
I as
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
N as
|
|
37
|
-
|
|
38
|
-
f as
|
|
39
|
-
L as
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Q as
|
|
56
|
-
V as
|
|
57
|
-
W as
|
|
58
|
-
X as
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
Z as
|
|
63
|
-
$ as
|
|
64
|
-
aa as
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
ra as
|
|
68
|
-
ta as
|
|
69
|
-
na as
|
|
70
|
-
oa as
|
|
71
|
-
ia as
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
pa as
|
|
81
|
-
|
|
82
|
-
Ia as
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
fa as
|
|
93
|
-
La as
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
11
|
+
ms as DEFAULT_AGENTS,
|
|
12
|
+
o as DOCTOR_CHECKS,
|
|
13
|
+
i as DOCTOR_FIXERS,
|
|
14
|
+
d as DOCTOR_RULES,
|
|
15
|
+
l as DOCTOR_RULES_BY_ID,
|
|
16
|
+
c as MAX_TITLE_LENGTH,
|
|
17
|
+
m as PAPER_CAMP_VERSION,
|
|
18
|
+
S as PHASE_MAX_FRACTION,
|
|
19
|
+
E as PHASE_STALL_MS,
|
|
20
|
+
Ss as PLAN_KINDS,
|
|
21
|
+
Es as PLAN_STATUSES,
|
|
22
|
+
T as SKILL_MD_CONTENT,
|
|
23
|
+
P as SUGGESTION_ENTRY_RE,
|
|
24
|
+
Ts as TOOLBAR_SEGMENT_IDS,
|
|
25
|
+
p as addRoadmapCandidate,
|
|
26
|
+
C as addRoadmapItem,
|
|
27
|
+
I as advanceAnchor,
|
|
28
|
+
R as agentConfigSchema,
|
|
29
|
+
h as agentThreadMessage,
|
|
30
|
+
v as applyEnvEntries,
|
|
31
|
+
y as archiveEntityFile,
|
|
32
|
+
_ as assignEntityId,
|
|
33
|
+
F as assignPlanId,
|
|
34
|
+
g as branchName,
|
|
35
|
+
A as classifyAnchor,
|
|
36
|
+
N as clearPrCache,
|
|
37
|
+
Ps as coerceAgentConfig,
|
|
38
|
+
f as collectDoctorContext,
|
|
39
|
+
L as collectParkedQuestions,
|
|
40
|
+
O as computePlanContentHash,
|
|
41
|
+
D as computePrTitle,
|
|
42
|
+
M as dateString,
|
|
43
|
+
u as derivePrLabels,
|
|
44
|
+
k as deriveRoadmapEvents,
|
|
45
|
+
b as deriveSubjectVocabulary,
|
|
46
|
+
G as describeFindings,
|
|
47
|
+
U as deskCheckSchema,
|
|
48
|
+
H as deskCiSchema,
|
|
49
|
+
x as deskConfigSchema,
|
|
50
|
+
B as deskServiceSchema,
|
|
51
|
+
w as ensureSubject,
|
|
52
|
+
j as entityFrontmatterSchema,
|
|
53
|
+
K as entityToIdea,
|
|
54
|
+
z as entityToPlan,
|
|
55
|
+
Q as fetchUnresolvedThreads,
|
|
56
|
+
V as findArchivableIdeas,
|
|
57
|
+
W as findConsistencyIssues,
|
|
58
|
+
X as findReleaseLineForId,
|
|
59
|
+
J as findingSeverity,
|
|
60
|
+
Y as formatEntitiesIndex,
|
|
61
|
+
q as formatEntityFile,
|
|
62
|
+
Z as formatIdeaFile,
|
|
63
|
+
$ as formatPlanEntry,
|
|
64
|
+
aa as formatPlanFile,
|
|
65
|
+
sa as formatPlans,
|
|
66
|
+
ea as formatReleaseNotesMarkdown,
|
|
67
|
+
ra as ideaFrontmatterSchema,
|
|
68
|
+
ta as initProject,
|
|
69
|
+
na as isConventionalPrTitle,
|
|
70
|
+
oa as isPhaseStalled,
|
|
71
|
+
ia as linkRoadmapItem,
|
|
72
|
+
da as medianSegmentMs,
|
|
73
|
+
la as paperCampConfigSchema,
|
|
74
|
+
ca as parseEntityFile,
|
|
75
|
+
ma as parseEnv,
|
|
76
|
+
Sa as parseFrontmatter,
|
|
77
|
+
Ea as parseIdeaFile,
|
|
78
|
+
Ta as parseIdeas,
|
|
79
|
+
Pa as parseNotificationLog,
|
|
80
|
+
pa as parsePlanFile,
|
|
81
|
+
Ca as parsePlans,
|
|
82
|
+
Ia as parseRawEntries,
|
|
83
|
+
Ra as parseRoadmap,
|
|
84
|
+
ha as parseSuggestions,
|
|
85
|
+
va as parseTaskLog,
|
|
86
|
+
ya as phaseFraction,
|
|
87
|
+
_a as planDoctorFixes,
|
|
88
|
+
Fa as planFieldsSchema,
|
|
89
|
+
ga as planFrontmatterSchema,
|
|
90
|
+
Aa as readEntities,
|
|
91
|
+
Na as readEntitiesWithDerivedStatus,
|
|
92
|
+
fa as readFileMaybe,
|
|
93
|
+
La as readNoteEntries,
|
|
94
|
+
Oa as readParkedQuestions,
|
|
95
|
+
Da as readWorkEntries,
|
|
96
|
+
Ma as removeRoadmapItem,
|
|
97
|
+
ua as removeSuggestionLine,
|
|
98
|
+
ka as renderConsistencyComment,
|
|
99
|
+
ba as renderPlanPhasesIntoBody,
|
|
100
|
+
Ga as replyToReviewThread,
|
|
101
|
+
Ua as reportFindings,
|
|
102
|
+
Ha as resolveEntityIdForCommit,
|
|
103
|
+
xa as resolveEntityTrail,
|
|
104
|
+
Ba as resolveIdFromCommitMessage,
|
|
105
|
+
wa as resolveIdeasForRelease,
|
|
106
|
+
ja as resolvePlanForPrRef,
|
|
107
|
+
Ka as resolvePrimaryScope,
|
|
108
|
+
za as resolvePrsByEntity,
|
|
109
|
+
Qa as resolveReleaseNotes,
|
|
110
|
+
Va as resolveReleaseRanges,
|
|
111
|
+
Wa as resolveReviewThread,
|
|
112
|
+
Xa as resolveRoadmap,
|
|
113
|
+
Ja as runDoctor,
|
|
114
|
+
Ya as runDoctorChecks,
|
|
115
|
+
qa as serializeFrontmatter,
|
|
116
|
+
Za as sortFindings,
|
|
117
|
+
$a as storedNotificationSchema,
|
|
118
|
+
as as syncConsistencyCommentToPr,
|
|
119
|
+
ss as syncPlanPhasesToPr,
|
|
120
|
+
es as syncPrLabelsToPr,
|
|
121
|
+
rs as syncPrReadinessToPr,
|
|
122
|
+
ts as syncPrTitleToPr,
|
|
123
|
+
ns as todayDateString,
|
|
124
|
+
os as validatePrTitle
|
|
107
125
|
};
|
|
108
126
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Notification, ParkedQuestion, StoredNotification } from '../types/index';
|
|
2
|
+
export declare function notificationAgeDays(notification: Notification): number;
|
|
3
|
+
/** Every parked question alongside completed/reply notifications, oldest-first — the
|
|
4
|
+
* unified feed (IDEA-153) replacing the questions-only Inbox. */
|
|
5
|
+
export declare function mergeNotifications(parkedQuestions: ParkedQuestion[], stored: StoredNotification[]): Notification[];
|
|
6
|
+
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../src/core/notifications.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAMvF,wBAAgB,mBAAmB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAEtE;AAED;iEACiE;AACjE,wBAAgB,kBAAkB,CAChC,eAAe,EAAE,cAAc,EAAE,EACjC,MAAM,EAAE,kBAAkB,EAAE,GAC3B,YAAY,EAAE,CAMhB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.test.d.ts","sourceRoot":"","sources":["../../src/core/notifications.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"desk-schema.test.d.ts","sourceRoot":"","sources":["../../../src/core/parse/desk-schema.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { ConsistencyIssue, EntityEntry, IdeaEntry, ParseResult, ParseWarning, PlanEntry, RawEntry, SuggestionEntry, TaskLogEntry } from '../../types/index';
|
|
2
|
+
import { ConsistencyIssue, EntityEntry, IdeaEntry, ParseResult, ParseWarning, PlanEntry, RawEntry, StoredNotification, SuggestionEntry, TaskLogEntry } from '../../types/index';
|
|
3
3
|
export declare function parseRawEntries(markdown: string): RawEntry[];
|
|
4
4
|
export declare function parsePlans(markdown: string): ParseResult<PlanEntry>;
|
|
5
5
|
export declare function parseFrontmatter<T>(content: string, schema: z.ZodType<T>): {
|
|
@@ -15,6 +15,7 @@ export declare const MAX_TITLE_LENGTH = 40;
|
|
|
15
15
|
export declare function findConsistencyIssues(plans: PlanEntry[], subjectVocabulary?: string[]): ConsistencyIssue[];
|
|
16
16
|
/** tasks.log is JSON Lines — one TaskLogEntry per line. Skip lines that fail to parse rather than fail the whole read (a truncated last line from a crash shouldn't hide the rest). */
|
|
17
17
|
export declare function parseTaskLog(raw: string): TaskLogEntry[];
|
|
18
|
+
export declare function parseNotificationLog(raw: string): StoredNotification[];
|
|
18
19
|
export declare const SUGGESTION_ENTRY_RE: RegExp;
|
|
19
20
|
export declare function parseSuggestions(markdown: string): SuggestionEntry[];
|
|
20
21
|
//# sourceMappingURL=parser.d.ts.map
|
|
@@ -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,eAAe,EACf,YAAY,EACb,MAAM,mBAAmB,CAAC;
|
|
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;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAAC,WAAW,CAAC,CAwDzE;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,gBAAgB,EAAE,CAsCpB;AAED,uLAAuL;AACvL,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,EAAE,CAUxD;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"}
|
|
@@ -111,6 +111,38 @@ export declare const entityFrontmatterSchema: z.ZodObject<{
|
|
|
111
111
|
subject: z.ZodOptional<z.ZodString>;
|
|
112
112
|
order: z.ZodOptional<z.ZodNumber>;
|
|
113
113
|
}, z.core.$strip>;
|
|
114
|
+
export declare const deskServiceSchema: z.ZodObject<{
|
|
115
|
+
name: z.ZodString;
|
|
116
|
+
cmd: z.ZodString;
|
|
117
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
118
|
+
healthcheck: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
export declare const deskCheckSchema: z.ZodObject<{
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
cmd: z.ZodString;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
export declare const deskCiSchema: z.ZodObject<{
|
|
125
|
+
repo: z.ZodString;
|
|
126
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
127
|
+
releasePlease: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
export declare const deskConfigSchema: z.ZodObject<{
|
|
130
|
+
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
131
|
+
name: z.ZodString;
|
|
132
|
+
cmd: z.ZodString;
|
|
133
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
healthcheck: z.ZodOptional<z.ZodString>;
|
|
135
|
+
}, z.core.$strip>>>;
|
|
136
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
137
|
+
name: z.ZodString;
|
|
138
|
+
cmd: z.ZodString;
|
|
139
|
+
}, z.core.$strip>>>;
|
|
140
|
+
ci: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
repo: z.ZodString;
|
|
142
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
143
|
+
releasePlease: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
}, z.core.$strip>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
114
146
|
export declare const paperCampConfigSchema: z.ZodObject<{
|
|
115
147
|
version: z.ZodString;
|
|
116
148
|
projectName: z.ZodString;
|
|
@@ -169,6 +201,39 @@ export declare const paperCampConfigSchema: z.ZodObject<{
|
|
|
169
201
|
effort: z.ZodOptional<z.ZodString>;
|
|
170
202
|
}, z.core.$strip>>;
|
|
171
203
|
}, z.core.$strip>>;
|
|
204
|
+
desk: z.ZodOptional<z.ZodObject<{
|
|
205
|
+
services: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
206
|
+
name: z.ZodString;
|
|
207
|
+
cmd: z.ZodString;
|
|
208
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
209
|
+
healthcheck: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strip>>>;
|
|
211
|
+
checks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
212
|
+
name: z.ZodString;
|
|
213
|
+
cmd: z.ZodString;
|
|
214
|
+
}, z.core.$strip>>>;
|
|
215
|
+
ci: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
repo: z.ZodString;
|
|
217
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
218
|
+
releasePlease: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
}, z.core.$strip>>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
export declare const storedNotificationSchema: z.ZodObject<{
|
|
223
|
+
id: z.ZodString;
|
|
224
|
+
kind: z.ZodEnum<{
|
|
225
|
+
completed: "completed";
|
|
226
|
+
reply: "reply";
|
|
227
|
+
}>;
|
|
228
|
+
entityId: z.ZodString;
|
|
229
|
+
entityTitle: z.ZodString;
|
|
230
|
+
text: z.ZodString;
|
|
231
|
+
date: z.ZodString;
|
|
232
|
+
read: z.ZodBoolean;
|
|
233
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
234
|
+
done: "done";
|
|
235
|
+
error: "error";
|
|
236
|
+
}>>;
|
|
172
237
|
}, z.core.$strip>;
|
|
173
238
|
export type PlanFields = z.infer<typeof planFieldsSchema>;
|
|
174
239
|
export type PlanFrontmatter = z.infer<typeof planFrontmatterSchema>;
|