@planu/cli 5.3.27 → 5.3.29
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/CHANGELOG.md +12 -0
- package/dist/cli/commands/doctor.d.ts +4 -10
- package/dist/cli/commands/doctor.js +5 -31
- package/dist/cli/commands/inspect.js +2 -14
- package/dist/cli/commands/offline.d.ts +1 -2
- package/dist/cli/commands/offline.js +24 -41
- package/dist/config/release-policy.json +1 -79
- package/dist/engine/auto-updater/release-verifier.js +17 -35
- package/dist/engine/core-bridge.d.ts +6 -23
- package/dist/engine/core-bridge.js +35 -376
- package/dist/engine/execution/job-runtime.d.ts +0 -11
- package/dist/engine/execution/job-runtime.js +0 -23
- package/dist/engine/living-spec/annotation-parser.js +0 -14
- package/dist/engine/project-graph/native.js +2 -2
- package/dist/engine/sandbox/profiles/macos.sb +33 -0
- package/dist/engine/scan-project/module-discoverer.js +10 -53
- package/dist/engine/validation/validation-receipt.d.ts +5 -0
- package/dist/engine/validation/validation-receipt.js +9 -1
- package/dist/engine/validator/deep-code-checker.js +19 -26
- package/dist/security/adapters/macos-keychain.d.ts +5 -3
- package/dist/security/adapters/macos-keychain.js +79 -18
- package/dist/tools/create-spec/autopilot-analyzer.d.ts +1 -1
- package/dist/tools/create-spec/autopilot-analyzer.js +2 -2
- package/dist/tools/create-spec/relevance-scorer.d.ts +1 -1
- package/dist/tools/create-spec/relevance-scorer.js +1 -17
- package/dist/tools/create-spec.js +1 -1
- package/dist/types/atomic-upgrade.d.ts +0 -2
- package/dist/types/core-bridge.d.ts +0 -108
- package/dist/types/core-bridge.js +1 -1
- package/dist/types/durable-job.d.ts +0 -40
- package/dist/types/security.d.ts +0 -5
- package/package.json +7 -43
- package/planu-plugin.json +1 -1
- package/dist/config/native-release-public-key.pem +0 -3
- package/dist/config/native-targets.json +0 -87
- package/dist/engine/execution/job-executor.d.ts +0 -16
- package/dist/engine/execution/job-executor.js +0 -140
- package/dist/engine/execution/native-relevance-scorer.d.ts +0 -6
- package/dist/engine/execution/native-relevance-scorer.js +0 -64
- package/dist/engine/execution/native-worker-dispatch.d.ts +0 -3
- package/dist/engine/execution/native-worker-dispatch.js +0 -46
- package/dist/engine/execution/native-worker-protocol.d.ts +0 -6
- package/dist/engine/execution/native-worker-protocol.js +0 -33
- package/dist/engine/execution/native-worker-runtime.d.ts +0 -4
- package/dist/engine/execution/native-worker-runtime.js +0 -177
- package/dist/engine/execution/native-worker-thread.d.ts +0 -2
- package/dist/engine/execution/native-worker-thread.js +0 -66
- package/dist/engine/macos-keychain-native-port.d.ts +0 -10
- package/dist/engine/macos-keychain-native-port.js +0 -64
- package/dist/engine/native-capability-policy.d.ts +0 -4
- package/dist/engine/native-capability-policy.js +0 -24
- package/dist/engine/native-platform.d.ts +0 -3
- package/dist/engine/native-platform.js +0 -44
- package/dist/engine/native-runtime-handshake.d.ts +0 -20
- package/dist/engine/native-runtime-handshake.js +0 -230
- package/dist/engine/planu-core.darwin-arm64.node.manifest.json +0 -39
- package/dist/engine/planu-core.darwin-arm64.node.sbom.json +0 -1310
- package/dist/engine/planu-core.darwin-x64.node.manifest.json +0 -39
- package/dist/engine/planu-core.darwin-x64.node.sbom.json +0 -1310
- package/dist/engine/planu-core.linux-arm64-gnu.node.manifest.json +0 -38
- package/dist/engine/planu-core.linux-arm64-gnu.node.sbom.json +0 -1310
- package/dist/engine/planu-core.linux-arm64-musl.node.manifest.json +0 -38
- package/dist/engine/planu-core.linux-arm64-musl.node.sbom.json +0 -1310
- package/dist/engine/planu-core.linux-x64-gnu.node.manifest.json +0 -38
- package/dist/engine/planu-core.linux-x64-gnu.node.sbom.json +0 -1310
- package/dist/engine/planu-core.linux-x64-musl.node.manifest.json +0 -38
- package/dist/engine/planu-core.linux-x64-musl.node.sbom.json +0 -1310
- package/dist/engine/planu-core.win32-arm64-msvc.node.manifest.json +0 -38
- package/dist/engine/planu-core.win32-arm64-msvc.node.sbom.json +0 -1310
- package/dist/engine/planu-core.win32-x64-msvc.node.manifest.json +0 -38
- package/dist/engine/planu-core.win32-x64-msvc.node.sbom.json +0 -1310
- package/dist/types/native-worker.d.ts +0 -48
- package/dist/types/native-worker.js +0 -2
- package/planu-native.json +0 -82
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { Worker } from 'node:worker_threads';
|
|
2
|
-
export type NativeWorkerOperation = 'scan-and-hash-files' | 'scan-project-metadata' | 'scan-spec-annotations' | 'detect-drift' | 'scan-specs' | 'find-relevant-files' | 'scan-project-graph-sources';
|
|
3
|
-
export interface NativeWorkerHandshake {
|
|
4
|
-
readonly kind: 'handshake';
|
|
5
|
-
readonly protocolAbi: number;
|
|
6
|
-
readonly capabilityAbi: number;
|
|
7
|
-
readonly storageSchema: number;
|
|
8
|
-
readonly schemaHash: string;
|
|
9
|
-
readonly capabilities: readonly NativeWorkerOperation[];
|
|
10
|
-
readonly engineVersion: string | null;
|
|
11
|
-
readonly target: string | null;
|
|
12
|
-
readonly artifactHash: string | null;
|
|
13
|
-
readonly compatible: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface NativeWorkerRequest {
|
|
16
|
-
readonly kind: 'request';
|
|
17
|
-
readonly secret: string;
|
|
18
|
-
readonly requestId: string;
|
|
19
|
-
readonly projectId: string;
|
|
20
|
-
readonly deadlineAt: number;
|
|
21
|
-
readonly cancellationId: string;
|
|
22
|
-
readonly operation: NativeWorkerOperation;
|
|
23
|
-
readonly payload: Readonly<Record<string, unknown>>;
|
|
24
|
-
}
|
|
25
|
-
export type NativeWorkerResponse = {
|
|
26
|
-
readonly kind: 'result';
|
|
27
|
-
readonly requestId: string;
|
|
28
|
-
readonly value: unknown;
|
|
29
|
-
} | {
|
|
30
|
-
readonly kind: 'error';
|
|
31
|
-
readonly requestId: string;
|
|
32
|
-
readonly message: string;
|
|
33
|
-
};
|
|
34
|
-
export interface NativeWorkerCall {
|
|
35
|
-
readonly projectId: string;
|
|
36
|
-
readonly operation: NativeWorkerOperation;
|
|
37
|
-
readonly payload: Readonly<Record<string, unknown>>;
|
|
38
|
-
readonly deadlineAt: number;
|
|
39
|
-
readonly requestId?: string;
|
|
40
|
-
readonly cancellationId?: string;
|
|
41
|
-
readonly signal?: AbortSignal;
|
|
42
|
-
}
|
|
43
|
-
export type NativeWorkerFactory = (url: URL, options: {
|
|
44
|
-
workerData: {
|
|
45
|
-
secret: string;
|
|
46
|
-
};
|
|
47
|
-
}) => Worker;
|
|
48
|
-
//# sourceMappingURL=native-worker.d.ts.map
|
package/planu-native.json
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dev.planu.native",
|
|
3
|
-
"displayName": "Planu Native Lightweight Surface",
|
|
4
|
-
"version": "5.3.27",
|
|
5
|
-
"packageName": "@planu/cli",
|
|
6
|
-
"modes": {
|
|
7
|
-
"lightweight": {
|
|
8
|
-
"requiresMcp": false,
|
|
9
|
-
"requiresDaemon": false,
|
|
10
|
-
"hosts": ["codex", "claude-code"],
|
|
11
|
-
"commands": [
|
|
12
|
-
{
|
|
13
|
-
"id": "planu.status",
|
|
14
|
-
"title": "Project status",
|
|
15
|
-
"description": "Show the compact Planu project snapshot without loading the MCP tool graph.",
|
|
16
|
-
"invocation": "planu status",
|
|
17
|
-
"hosts": ["codex", "claude-code"],
|
|
18
|
-
"requiresMcp": false,
|
|
19
|
-
"requiresDaemon": false,
|
|
20
|
-
"mapsTo": "handlePlanStatus"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"id": "planu.spec.create",
|
|
24
|
-
"title": "Create spec",
|
|
25
|
-
"description": "Create a new spec through the CLI-backed SDD contract.",
|
|
26
|
-
"invocation": "planu spec create \"<title>\"",
|
|
27
|
-
"hosts": ["codex", "claude-code"],
|
|
28
|
-
"requiresMcp": false,
|
|
29
|
-
"requiresDaemon": false,
|
|
30
|
-
"mapsTo": "handleCreateSpec"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"id": "planu.spec.list",
|
|
34
|
-
"title": "List specs",
|
|
35
|
-
"description": "List specs in the current project with optional status/type filters.",
|
|
36
|
-
"invocation": "planu spec list",
|
|
37
|
-
"hosts": ["codex", "claude-code"],
|
|
38
|
-
"requiresMcp": false,
|
|
39
|
-
"requiresDaemon": false,
|
|
40
|
-
"mapsTo": "handleListSpecs"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"id": "planu.spec.validate",
|
|
44
|
-
"title": "Validate spec",
|
|
45
|
-
"description": "Validate a spec against the current codebase from the native CLI surface.",
|
|
46
|
-
"invocation": "planu spec validate SPEC-001",
|
|
47
|
-
"hosts": ["codex", "claude-code"],
|
|
48
|
-
"requiresMcp": false,
|
|
49
|
-
"requiresDaemon": false,
|
|
50
|
-
"mapsTo": "handleValidate"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"id": "planu.audit.debt",
|
|
54
|
-
"title": "Audit technical debt",
|
|
55
|
-
"description": "Run the read-only project audit path for lightweight debt checks.",
|
|
56
|
-
"invocation": "planu audit debt",
|
|
57
|
-
"hosts": ["codex", "claude-code"],
|
|
58
|
-
"requiresMcp": false,
|
|
59
|
-
"requiresDaemon": false,
|
|
60
|
-
"mapsTo": "handleAudit"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"id": "planu.release.check",
|
|
64
|
-
"title": "Check release readiness",
|
|
65
|
-
"description": "Check local-first release readiness, branch cleanliness, and optional gitflow drift.",
|
|
66
|
-
"invocation": "planu release check",
|
|
67
|
-
"hosts": ["codex", "claude-code"],
|
|
68
|
-
"requiresMcp": false,
|
|
69
|
-
"requiresDaemon": false,
|
|
70
|
-
"mapsTo": "releaseCommand"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"fullMcpFallback": "Use full MCP mode for advanced lifecycle mutations, generators, governance, and automation beyond the curated lightweight commands."
|
|
74
|
-
},
|
|
75
|
-
"fullMcp": {
|
|
76
|
-
"requiresMcp": true,
|
|
77
|
-
"requiresDaemon": false,
|
|
78
|
-
"manifest": "planu-plugin.json",
|
|
79
|
-
"useWhen": "Use full MCP mode when the task needs the complete Planu tool graph, MCP resources, prompts, or multi-step automation."
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|