@danypops/pi-packed 0.27.12 → 0.27.13

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.
Files changed (38) hide show
  1. package/dist/adoption/check.d.ts +54 -0
  2. package/dist/adoption/check.d.ts.map +1 -0
  3. package/dist/adoption/duplicate-dependency-doctor.d.ts +17 -0
  4. package/dist/adoption/duplicate-dependency-doctor.d.ts.map +1 -0
  5. package/dist/adoption/install-validation.d.ts +63 -0
  6. package/dist/adoption/install-validation.d.ts.map +1 -0
  7. package/dist/adoption/module-freshness.d.ts +39 -0
  8. package/dist/adoption/module-freshness.d.ts.map +1 -0
  9. package/dist/adoption/service-doctor.d.ts +21 -0
  10. package/dist/adoption/service-doctor.d.ts.map +1 -0
  11. package/dist/adoption/smoke.d.ts +39 -0
  12. package/dist/adoption/smoke.d.ts.map +1 -0
  13. package/dist/daemon/daemon-service.d.ts +281 -0
  14. package/dist/daemon/daemon-service.d.ts.map +1 -0
  15. package/dist/doctor-format.js +16 -0
  16. package/dist/packages/installed.d.ts +32 -0
  17. package/dist/packages/installed.d.ts.map +1 -0
  18. package/dist/packages/package.d.ts +272 -0
  19. package/dist/packages/package.d.ts.map +1 -0
  20. package/dist/public/client.d.ts.map +1 -0
  21. package/dist/public/doctor-format.d.ts +57 -0
  22. package/dist/public/doctor-format.d.ts.map +1 -0
  23. package/dist/public/protocol.d.ts.map +1 -0
  24. package/dist/publish/publish.d.ts +120 -0
  25. package/dist/publish/publish.d.ts.map +1 -0
  26. package/dist/shared/constants.d.ts +51 -0
  27. package/dist/shared/constants.d.ts.map +1 -0
  28. package/extension/src/doctor-render.ts +32 -0
  29. package/extension/src/vehicle-tools.ts +16 -0
  30. package/package.json +8 -4
  31. package/service/src/adoption/doctor.ts +12 -77
  32. package/service/src/public/doctor-format.ts +89 -0
  33. package/service/test/public-boundary.test.ts +5 -1
  34. package/service/tsconfig.public.json +11 -2
  35. package/dist/client.d.ts.map +0 -1
  36. package/dist/protocol.d.ts.map +0 -1
  37. /package/dist/{client.d.ts → public/client.d.ts} +0 -0
  38. /package/dist/{protocol.d.ts → public/protocol.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danypops/pi-packed",
3
- "version": "0.27.12",
3
+ "version": "0.27.13",
4
4
  "description": "Pi package lifecycle, validation, daemon, tools, profiles, and TUI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "scripts": {
25
- "build": "rm -rf dist && bun build service/src/public/client.ts service/src/public/protocol.ts --outdir dist --target node --format esm --minify && bunx tsc -p service/tsconfig.public.json",
25
+ "build": "rm -rf dist && bun build service/src/public/client.ts service/src/public/protocol.ts service/src/public/doctor-format.ts --outdir dist --target node --format esm --minify && bunx tsc -p service/tsconfig.public.json",
26
26
  "test": "bun run build && bun test service/test test",
27
27
  "typecheck": "bunx tsc --noEmit"
28
28
  },
@@ -57,12 +57,16 @@
57
57
  },
58
58
  "exports": {
59
59
  "./client": {
60
- "types": "./dist/client.d.ts",
60
+ "types": "./dist/public/client.d.ts",
61
61
  "import": "./dist/client.js"
62
62
  },
63
63
  "./protocol": {
64
- "types": "./dist/protocol.d.ts",
64
+ "types": "./dist/public/protocol.d.ts",
65
65
  "import": "./dist/protocol.js"
66
+ },
67
+ "./doctor-format": {
68
+ "types": "./dist/public/doctor-format.d.ts",
69
+ "import": "./dist/doctor-format.js"
66
70
  }
67
71
  },
68
72
  "files": ["extension", "service", "dist", "README.md"]
@@ -10,10 +10,18 @@ import { existsSync, statSync } from "node:fs";
10
10
  import { join } from "node:path";
11
11
  import { createNodeServiceInstallDeps } from "@danypops/vehicle-server/service";
12
12
  import { listPackageResources, type PackageResources, resolveInstalledDir } from "../packages/resources.ts";
13
- import { type DuplicateDependencyDiagnostic, findDuplicateDependencyVersions } from "./duplicate-dependency-doctor.ts";
14
- import type { ModuleFreshnessDiagnostic } from "./module-freshness.ts";
15
- import { checkServiceUnitPaths, type ServiceUnitDiagnostic } from "./service-doctor.ts";
16
- import { runExtensionSmoke, type SmokeOptions, type SmokeRegistrations } from "./smoke.ts";
13
+ import {
14
+ type DoctorClaim,
15
+ type DoctorConflict,
16
+ type DoctorExtensionResult,
17
+ type DoctorReport,
18
+ formatDoctorReport,
19
+ } from "../public/doctor-format.ts";
20
+ import { findDuplicateDependencyVersions } from "./duplicate-dependency-doctor.ts";
21
+ import { checkServiceUnitPaths } from "./service-doctor.ts";
22
+ import { runExtensionSmoke, type SmokeOptions } from "./smoke.ts";
23
+
24
+ export { type DoctorClaim, type DoctorConflict, type DoctorExtensionResult, type DoctorReport, formatDoctorReport } from "../public/doctor-format.ts";
17
25
 
18
26
  const REGISTRATION_KINDS = ["tools", "commands", "shortcuts", "flags"] as const;
19
27
  type RegistrationKind = (typeof REGISTRATION_KINDS)[number];
@@ -26,51 +34,6 @@ const CONFLICT_KIND: Record<RegistrationKind, "tool" | "command" | "shortcut" |
26
34
 
27
35
  const MAX_EXTENSIONS_SCANNED = 50;
28
36
 
29
- export interface DoctorClaim {
30
- name: string;
31
- source: string;
32
- scope: "global" | "project";
33
- extension: string;
34
- }
35
-
36
- export interface DoctorConflict {
37
- kind: "tool" | "command" | "shortcut" | "flag";
38
- name: string;
39
- claimants: DoctorClaim[];
40
- }
41
-
42
- export interface DoctorExtensionResult {
43
- name: string;
44
- source: string;
45
- scope: "global" | "project";
46
- extension: string;
47
- status: string;
48
- registrations: SmokeRegistrations;
49
- message?: string;
50
- }
51
-
52
- export interface DoctorReport {
53
- ok: boolean;
54
- conflicts: DoctorConflict[];
55
- extensions: DoctorExtensionResult[];
56
- scanned: number;
57
- truncated: boolean;
58
- /** A daemon-backed package's systemd --user unit referencing a path that no longer exists on disk -- see service-doctor.ts. Empty (not omitted) on a platform without systemd --user coverage. */
59
- serviceUnits: ServiceUnitDiagnostic[];
60
- /** Any @danypops/* package resolved to more than one distinct version anywhere in piHome's own npm tree -- see duplicate-dependency-doctor.ts's own doc comment for why this stays out of `ok`. */
61
- duplicateDependencies: DuplicateDependencyDiagnostic[];
62
- /**
63
- * Whether THIS running process still holds a stale in-memory copy of one
64
- * of its own runtime dependencies, loaded once at startup -- see
65
- * module-freshness.ts. Only meaningful for a long-running daemon process
66
- * (the one thing that can actually go stale); omitted entirely for a
67
- * standalone `packed doctor` invocation (a fresh CLI process has nothing
68
- * of its own to compare against). Populated by the daemon's own
69
- * doctor.run route, never by runDoctor() itself.
70
- */
71
- moduleFreshness?: ModuleFreshnessDiagnostic[];
72
- }
73
-
74
37
  interface ScanJob {
75
38
  group: PackageResources;
76
39
  dir: string;
@@ -154,32 +117,4 @@ export async function runDoctor(piHome: string, projectRoot?: string, options: S
154
117
  };
155
118
  }
156
119
 
157
- function formatClaimant(claim: DoctorClaim): string {
158
- return `${claim.name} (${claim.source}) [${claim.scope}] ${claim.extension}`;
159
- }
160
120
 
161
- export function formatDoctorReport(report: DoctorReport, json: boolean): string {
162
- if (json) return `${JSON.stringify(report)}\n`;
163
- let out = `${report.ok ? "PASS" : "FAIL"} — ${report.scanned} extension(s) scanned, ${report.conflicts.length} conflict(s)\n`;
164
- for (const conflict of report.conflicts) {
165
- out += `\nCONFLICT ${conflict.kind} "${conflict.name}" claimed by:\n`;
166
- for (const claimant of conflict.claimants) out += ` - ${formatClaimant(claimant)}\n`;
167
- }
168
- for (const extension of report.extensions) {
169
- if (extension.status === "ok") continue;
170
- out += `\n${extension.status.toUpperCase()} ${formatClaimant({ name: extension.name, source: extension.source, scope: extension.scope, extension: extension.extension })}${extension.message ? `: ${extension.message}` : ""}\n`;
171
- }
172
- for (const diagnostic of report.serviceUnits) {
173
- out += `\n${diagnostic.severity.toUpperCase()} ${diagnostic.code} ${diagnostic.package} (${diagnostic.unitName}.service): ${diagnostic.message}\n`;
174
- }
175
- for (const duplicate of report.duplicateDependencies) {
176
- const versions = duplicate.locations.map((location) => `${location.version} (${location.path})`).join(", ");
177
- out += `\nDUPLICATE_DEPENDENCY_VERSION ${duplicate.name}: ${versions}\n`;
178
- }
179
- for (const module of report.moduleFreshness ?? []) {
180
- if (!module.stale) continue;
181
- out += `\nSTALE_MODULE_CACHE ${module.name}: the daemon loaded ${module.loadedVersion ?? "an unknown version"} at startup, but ${module.currentVersion ?? "a different version"} is now on disk -- restart the daemon (systemctl --user restart pi-packed.service) to pick it up.\n`;
182
- }
183
- if (report.truncated) out += "\nOutput truncated: more enabled extensions exist than this run's bound.\n";
184
- return out;
185
- }
@@ -0,0 +1,89 @@
1
+ /**
2
+ * doctor.run's report shape and its own human-readable formatter (the CLI's `packed doctor`
3
+ * non-JSON path) -- kept as its own leaf module, imported back by adoption/doctor.ts rather than
4
+ * defined there and re-exported, specifically so this file's only real (non-type) dependency is
5
+ * its own formatDoctorReport/formatClaimant bodies. Every field type below crosses module
6
+ * boundaries as `import type` only (fully erased at compile time), so a consumer needing just the
7
+ * formatter -- e.g. pi-packed's own extension, rendering a Pi tool result -- never pulls in
8
+ * runDoctor's own real runtime dependencies (subprocess-based extension smoke-testing, npm-tree
9
+ * scanning, systemd status shell-outs, ...) just to format a report it already has.
10
+ */
11
+ import type { DuplicateDependencyDiagnostic } from "../adoption/duplicate-dependency-doctor.ts";
12
+ import type { ModuleFreshnessDiagnostic } from "../adoption/module-freshness.ts";
13
+ import type { ServiceUnitDiagnostic } from "../adoption/service-doctor.ts";
14
+ import type { SmokeRegistrations } from "../adoption/smoke.ts";
15
+
16
+ export interface DoctorClaim {
17
+ name: string;
18
+ source: string;
19
+ scope: "global" | "project";
20
+ extension: string;
21
+ }
22
+
23
+ export interface DoctorConflict {
24
+ kind: "tool" | "command" | "shortcut" | "flag";
25
+ name: string;
26
+ claimants: DoctorClaim[];
27
+ }
28
+
29
+ export interface DoctorExtensionResult {
30
+ name: string;
31
+ source: string;
32
+ scope: "global" | "project";
33
+ extension: string;
34
+ status: string;
35
+ registrations: SmokeRegistrations;
36
+ message?: string;
37
+ }
38
+
39
+ export interface DoctorReport {
40
+ ok: boolean;
41
+ conflicts: DoctorConflict[];
42
+ extensions: DoctorExtensionResult[];
43
+ scanned: number;
44
+ truncated: boolean;
45
+ /** A daemon-backed package's systemd --user unit referencing a path that no longer exists on disk -- see service-doctor.ts. Empty (not omitted) on a platform without systemd --user coverage. */
46
+ serviceUnits: ServiceUnitDiagnostic[];
47
+ /** Any @danypops/* package resolved to more than one distinct version anywhere in piHome's own npm tree -- see duplicate-dependency-doctor.ts's own doc comment for why this stays out of `ok`. */
48
+ duplicateDependencies: DuplicateDependencyDiagnostic[];
49
+ /**
50
+ * Whether THIS running process still holds a stale in-memory copy of one
51
+ * of its own runtime dependencies, loaded once at startup -- see
52
+ * module-freshness.ts. Only meaningful for a long-running daemon process
53
+ * (the one thing that can actually go stale); omitted entirely for a
54
+ * standalone `packed doctor` invocation (a fresh CLI process has nothing
55
+ * of its own to compare against). Populated by the daemon's own
56
+ * doctor.run route, never by runDoctor() itself.
57
+ */
58
+ moduleFreshness?: ModuleFreshnessDiagnostic[];
59
+ }
60
+
61
+ function formatClaimant(claim: DoctorClaim): string {
62
+ return `${claim.name} (${claim.source}) [${claim.scope}] ${claim.extension}`;
63
+ }
64
+
65
+ export function formatDoctorReport(report: DoctorReport, json: boolean): string {
66
+ if (json) return `${JSON.stringify(report)}\n`;
67
+ let out = `${report.ok ? "PASS" : "FAIL"} — ${report.scanned} extension(s) scanned, ${report.conflicts.length} conflict(s)\n`;
68
+ for (const conflict of report.conflicts) {
69
+ out += `\nCONFLICT ${conflict.kind} "${conflict.name}" claimed by:\n`;
70
+ for (const claimant of conflict.claimants) out += ` - ${formatClaimant(claimant)}\n`;
71
+ }
72
+ for (const extension of report.extensions) {
73
+ if (extension.status === "ok") continue;
74
+ out += `\n${extension.status.toUpperCase()} ${formatClaimant({ name: extension.name, source: extension.source, scope: extension.scope, extension: extension.extension })}${extension.message ? `: ${extension.message}` : ""}\n`;
75
+ }
76
+ for (const diagnostic of report.serviceUnits) {
77
+ out += `\n${diagnostic.severity.toUpperCase()} ${diagnostic.code} ${diagnostic.package} (${diagnostic.unitName}.service): ${diagnostic.message}\n`;
78
+ }
79
+ for (const duplicate of report.duplicateDependencies) {
80
+ const versions = duplicate.locations.map((location) => `${location.version} (${location.path})`).join(", ");
81
+ out += `\nDUPLICATE_DEPENDENCY_VERSION ${duplicate.name}: ${versions}\n`;
82
+ }
83
+ for (const module of report.moduleFreshness ?? []) {
84
+ if (!module.stale) continue;
85
+ out += `\nSTALE_MODULE_CACHE ${module.name}: the daemon loaded ${module.loadedVersion ?? "an unknown version"} at startup, but ${module.currentVersion ?? "a different version"} is now on disk -- restart the daemon (systemctl --user restart pi-packed.service) to pick it up.\n`;
86
+ }
87
+ if (report.truncated) out += "\nOutput truncated: more enabled extensions exist than this run's bound.\n";
88
+ return out;
89
+ }
@@ -46,7 +46,11 @@ describe("compiled public boundary", () => {
46
46
  ]);
47
47
  expect({ code, stderr }).toEqual({ code: 0, stderr: "" });
48
48
  expect(stdout.trim()).toBe("function");
49
- const publicFiles = ["client.js", "client.d.ts", "protocol.d.ts"]
49
+ // client.js/protocol.js stay flat (bun build's own entry-point-basename output), but their
50
+ // .d.ts siblings nest under dist/public/ -- tsconfig.public.json's rootDir covers the whole
51
+ // service tree now (doctor-format.ts's type-only cross-references require it), which changes
52
+ // where tsc emits declarations without touching the flat JS bundle layout at all.
53
+ const publicFiles = ["client.js", "public/client.d.ts", "public/protocol.d.ts"]
50
54
  .map((name) => readFileSync(join(root, "dist", name), "utf8"))
51
55
  .join("\n");
52
56
  expect(publicFiles).not.toMatch(/\bBun\b|bun:sqlite|\.\.\/(?:daemon|db|check)/);
@@ -6,7 +6,16 @@
6
6
  "declaration": true,
7
7
  "declarationMap": true,
8
8
  "declarationDir": "../dist",
9
- "rootDir": "src/public"
9
+ // doctor-format.ts's type-only cross-references (DuplicateDependencyDiagnostic,
10
+ // ModuleFreshnessDiagnostic, ServiceUnitDiagnostic, SmokeRegistrations) still pull their
11
+ // declaring files into tsc's program for declaration emission even though bun build's own
12
+ // JS bundle erases them entirely -- rootDir must cover the whole service tree for that, not
13
+ // just this entrypoint's own directory. The resulting nested .d.ts paths (dist/public/*.d.ts,
14
+ // dist/adoption/*.d.ts, ...) are an internal build-output detail: package.json's own
15
+ // `exports` map is what consumers actually resolve against, and its `types` paths are kept
16
+ // in sync with this layout independently of `import` (still flat, from bun build's own
17
+ // entry-point-basename output).
18
+ "rootDir": "src"
10
19
  },
11
- "include": ["src/public/client.ts", "src/public/protocol.ts"]
20
+ "include": ["src/public/client.ts", "src/public/protocol.ts", "src/public/doctor-format.ts"]
12
21
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../service/src/public/client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAGX,yBAAyB,EACzB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,aAAa,EACb,MAAM,eAAe,CAAC;AAEvB,6NAA6N;AAC7N,qBAAa,mBAAoB,SAAQ,KAAK;IAG5C,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO;gBAD7B,OAAO,EAAE,MAAM,EACN,UAAU,CAAC,EAAE,OAAO,YAAA;CAK9B;AAED,MAAM,WAAW,iBAAiB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,CAAC;CAC1B;AAGD,MAAM,WAAW,iBAAiB;IACjC,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;CAC3B;AACD,MAAM,WAAW,qBAAqB;IACrC,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAA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