@planu/cli 4.11.6 → 4.11.8
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 +16 -0
- package/dist/cli/commands/serve.js +4 -0
- package/dist/config/license-plans.json +1 -0
- package/dist/engine/actuals/git-analyzer.js +4 -4
- package/dist/engine/browser-validator.js +26 -21
- package/dist/engine/crash-shield/file-collector.d.ts +20 -3
- package/dist/engine/crash-shield/file-collector.js +137 -8
- package/dist/engine/crash-shield/index.d.ts +18 -1
- package/dist/engine/crash-shield/index.js +58 -17
- package/dist/engine/diff-spec-generator.js +12 -5
- package/dist/engine/dogfooding/runtime-gap-detector.d.ts +3 -0
- package/dist/engine/dogfooding/runtime-gap-detector.js +386 -0
- package/dist/engine/figma/visual-qa.d.ts +2 -1
- package/dist/engine/figma/visual-qa.js +8 -7
- package/dist/engine/git-safe-input.d.ts +6 -0
- package/dist/engine/git-safe-input.js +41 -0
- package/dist/engine/qa-gate.js +2 -1
- package/dist/engine/spec-state-machine/transition-spec.d.ts +16 -1
- package/dist/engine/spec-state-machine/transition-spec.js +19 -4
- package/dist/engine/triagier/classifier.d.ts +2 -2
- package/dist/engine/triagier/classifier.js +12 -15
- package/dist/index.js +12 -4
- package/dist/storage/approval-operation-lock.d.ts +10 -0
- package/dist/storage/approval-operation-lock.js +44 -0
- package/dist/storage/approval-store.d.ts +2 -0
- package/dist/storage/approval-store.js +9 -1
- package/dist/storage/spec-store.d.ts +29 -2
- package/dist/storage/spec-store.js +307 -7
- package/dist/tools/approval-handler.js +255 -124
- package/dist/tools/browser-validate-handler.js +17 -3
- package/dist/tools/code-impact-handler.js +4 -2
- package/dist/tools/dogfood-watch.d.ts +6 -0
- package/dist/tools/dogfood-watch.js +48 -0
- package/dist/tools/figma/visual-qa.js +2 -1
- package/dist/tools/tool-registry/core-tools.js +12 -0
- package/dist/tools/tool-registry/group-quality-compliance.js +12 -1
- package/dist/tools/update-status/file-sync.js +3 -2
- package/dist/tools/update-status/index.d.ts +2 -0
- package/dist/tools/update-status/index.js +1086 -812
- package/dist/tools/update-status/response-builder.js +11 -0
- package/dist/tools/update-status/side-effects.d.ts +16 -1
- package/dist/tools/update-status/side-effects.js +140 -0
- package/dist/tools/update-status/transition-guard.js +1 -1
- package/dist/tools/update-status-actions.d.ts +10 -2
- package/dist/tools/update-status-actions.js +166 -192
- package/dist/tools/update-status-convention-gate.d.ts +3 -1
- package/dist/tools/update-status-convention-gate.js +135 -7
- package/dist/types/browser-validator.d.ts +2 -0
- package/dist/types/dogfooding.d.ts +34 -0
- package/dist/types/dogfooding.js +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/spec/core.d.ts +28 -1
- package/package.json +25 -25
- package/planu-native.json +1 -1
- package/planu-plugin.json +1 -1
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
// tools/update-status-convention-gate.ts — SPEC-190
|
|
2
2
|
// Convention and constitution compliance gates for update_status transitions.
|
|
3
3
|
import { execFile as execFileCb } from 'node:child_process';
|
|
4
|
+
import { createHash } from 'node:crypto';
|
|
5
|
+
import { readFile } from 'node:fs/promises';
|
|
6
|
+
import { join } from 'node:path';
|
|
4
7
|
import { promisify } from 'node:util';
|
|
5
8
|
import { knowledgeStore } from '../storage/index.js';
|
|
6
9
|
import { checkConstitutionOnTransition } from './update-status-actions.js';
|
|
7
10
|
const execFile = promisify(execFileCb);
|
|
11
|
+
const MAX_PROCESS_VALIDATION_AGE_MS = 30 * 60 * 1_000;
|
|
12
|
+
const MAX_GATE_OUTPUT_BUFFER_BYTES = 64 * 1024 * 1024;
|
|
13
|
+
const processValidationReceipts = new Map();
|
|
8
14
|
// ---------------------------------------------------------------------------
|
|
9
15
|
// Helpers
|
|
10
16
|
// ---------------------------------------------------------------------------
|
|
@@ -19,7 +25,7 @@ async function execGate(cmd, cwd, timeoutMs) {
|
|
|
19
25
|
const { stdout, stderr } = await execFile(bin ?? 'sh', args, {
|
|
20
26
|
cwd,
|
|
21
27
|
timeout: timeoutMs,
|
|
22
|
-
maxBuffer:
|
|
28
|
+
maxBuffer: MAX_GATE_OUTPUT_BUFFER_BYTES,
|
|
23
29
|
});
|
|
24
30
|
return { output: mergeCommandOutput(stdout, stderr), ok: true, timedOut: false };
|
|
25
31
|
}
|
|
@@ -27,7 +33,13 @@ async function execGate(cmd, cwd, timeoutMs) {
|
|
|
27
33
|
const e = err;
|
|
28
34
|
const raw = mergeCommandOutput(e.stdout, e.stderr);
|
|
29
35
|
const timedOut = e.killed === true || e.signal === 'SIGTERM' || e.code === 'ETIMEDOUT';
|
|
30
|
-
return {
|
|
36
|
+
return {
|
|
37
|
+
output: raw.trim(),
|
|
38
|
+
ok: false,
|
|
39
|
+
timedOut,
|
|
40
|
+
errorMessage: e.message,
|
|
41
|
+
errorCode: typeof e.code === 'string' ? e.code : undefined,
|
|
42
|
+
};
|
|
31
43
|
}
|
|
32
44
|
}
|
|
33
45
|
function mergeCommandOutput(stdout, stderr) {
|
|
@@ -89,21 +101,37 @@ async function checkLintGate(projectPath, lintCmd) {
|
|
|
89
101
|
const preview = output.split('\n').find((l) => l.trim().length > 0) ?? '';
|
|
90
102
|
return [`Lint: ${issueCount} issue(s). ${preview}`];
|
|
91
103
|
}
|
|
92
|
-
async function checkTestGate(projectPath, testCmd) {
|
|
104
|
+
async function checkTestGate(projectPath, testCmd, _context) {
|
|
93
105
|
if (testCmd !== null && !isSafeCommand(testCmd)) {
|
|
94
106
|
console.warn(`[Planu] convention-gate: testCommand contains unsafe characters — skipping`);
|
|
95
107
|
return [];
|
|
96
108
|
}
|
|
109
|
+
const cmd = testCmd ?? (await resolveCanonicalTestCommand(projectPath));
|
|
110
|
+
const fingerprintBefore = await readRepositoryFingerprint(projectPath);
|
|
111
|
+
if (fingerprintBefore && hasFreshProcessValidation(projectPath, cmd, fingerprintBefore)) {
|
|
112
|
+
return [];
|
|
113
|
+
}
|
|
97
114
|
// Run tests with a reasonable timeout — only a warning if they fail
|
|
98
|
-
const cmd = testCmd ?? 'npx vitest run --reporter=verbose';
|
|
99
115
|
const timeoutMs = 120_000;
|
|
100
|
-
const { output, ok, timedOut, errorMessage } = await execGate(cmd, projectPath, timeoutMs);
|
|
116
|
+
const { output, ok, timedOut, errorMessage, errorCode } = await execGate(cmd, projectPath, timeoutMs);
|
|
101
117
|
if (ok) {
|
|
118
|
+
const fingerprintAfter = await readRepositoryFingerprint(projectPath);
|
|
119
|
+
if (fingerprintBefore && fingerprintAfter === fingerprintBefore) {
|
|
120
|
+
processValidationReceipts.set(projectPath, {
|
|
121
|
+
command: cmd,
|
|
122
|
+
repositoryFingerprint: fingerprintAfter,
|
|
123
|
+
completedAtMs: Date.now(),
|
|
124
|
+
});
|
|
125
|
+
}
|
|
102
126
|
return [];
|
|
103
127
|
}
|
|
104
128
|
if (timedOut) {
|
|
105
129
|
return [`Tests: timed out after ${String(timeoutMs)}ms. Command: ${cmd}`];
|
|
106
130
|
}
|
|
131
|
+
if (isInfrastructureError(errorCode, errorMessage)) {
|
|
132
|
+
const detail = errorCode ?? errorMessage ?? 'unknown child-process error';
|
|
133
|
+
return [`Tests: infrastructure failure (${detail}). Command: ${cmd}`];
|
|
134
|
+
}
|
|
107
135
|
// Extract summary line (e.g. "5 failed" or "FAIL src/foo.test.ts")
|
|
108
136
|
const failLine = output
|
|
109
137
|
.split('\n')
|
|
@@ -118,6 +146,106 @@ async function checkTestGate(projectPath, testCmd) {
|
|
|
118
146
|
'No failure summary available.';
|
|
119
147
|
return [`Tests: failed. ${summary.trim()}`];
|
|
120
148
|
}
|
|
149
|
+
function hasFreshProcessValidation(projectPath, command, repositoryFingerprint) {
|
|
150
|
+
const receipt = processValidationReceipts.get(projectPath);
|
|
151
|
+
if (!receipt) {
|
|
152
|
+
return false;
|
|
153
|
+
}
|
|
154
|
+
const ageMs = Date.now() - receipt.completedAtMs;
|
|
155
|
+
return (receipt.command === command &&
|
|
156
|
+
receipt.repositoryFingerprint === repositoryFingerprint &&
|
|
157
|
+
ageMs >= 0 &&
|
|
158
|
+
ageMs <= MAX_PROCESS_VALIDATION_AGE_MS);
|
|
159
|
+
}
|
|
160
|
+
async function readGitOutput(projectPath, args) {
|
|
161
|
+
return new Promise((resolveOutput) => {
|
|
162
|
+
execFileCb('git', args, { cwd: projectPath, timeout: 5_000, maxBuffer: MAX_GATE_OUTPUT_BUFFER_BYTES }, (error, stdout) => {
|
|
163
|
+
if (error) {
|
|
164
|
+
resolveOutput(null);
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
const output = Buffer.isBuffer(stdout) ? stdout.toString('utf-8') : stdout;
|
|
168
|
+
resolveOutput(output);
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
async function readRepositoryFingerprint(projectPath) {
|
|
173
|
+
const [headOutput, statusOutput, indexDiff, worktreeDiff, untrackedOutput] = await Promise.all([
|
|
174
|
+
readGitOutput(projectPath, ['rev-parse', 'HEAD']),
|
|
175
|
+
readGitOutput(projectPath, ['status', '--porcelain=v1', '-z', '--untracked-files=all']),
|
|
176
|
+
readGitOutput(projectPath, ['diff', '--cached', '--binary', '--no-ext-diff', 'HEAD', '--']),
|
|
177
|
+
readGitOutput(projectPath, ['diff', '--binary', '--no-ext-diff', '--']),
|
|
178
|
+
readGitOutput(projectPath, ['ls-files', '--others', '--exclude-standard', '-z']),
|
|
179
|
+
]);
|
|
180
|
+
const head = headOutput
|
|
181
|
+
?.split('\n')
|
|
182
|
+
.map((line) => line.trim())
|
|
183
|
+
.find((line) => /^[a-f0-9]{40,64}$/i.test(line));
|
|
184
|
+
if (!head ||
|
|
185
|
+
statusOutput === null ||
|
|
186
|
+
indexDiff === null ||
|
|
187
|
+
worktreeDiff === null ||
|
|
188
|
+
untrackedOutput === null) {
|
|
189
|
+
return null;
|
|
190
|
+
}
|
|
191
|
+
const untrackedPaths = untrackedOutput.split('\0').filter(Boolean).sort();
|
|
192
|
+
const untrackedHashes = await Promise.all(untrackedPaths.map((path) => readGitOutput(projectPath, ['hash-object', '--no-filters', '--', path])));
|
|
193
|
+
if (untrackedHashes.some((hash) => hash === null)) {
|
|
194
|
+
return null;
|
|
195
|
+
}
|
|
196
|
+
const hash = createHash('sha256')
|
|
197
|
+
.update(head)
|
|
198
|
+
.update('\0')
|
|
199
|
+
.update(statusOutput)
|
|
200
|
+
.update('\0')
|
|
201
|
+
.update(indexDiff)
|
|
202
|
+
.update('\0')
|
|
203
|
+
.update(worktreeDiff);
|
|
204
|
+
for (let index = 0; index < untrackedPaths.length; index += 1) {
|
|
205
|
+
hash
|
|
206
|
+
.update('\0')
|
|
207
|
+
.update(untrackedPaths[index] ?? '')
|
|
208
|
+
.update('\0')
|
|
209
|
+
.update(untrackedHashes[index] ?? '');
|
|
210
|
+
}
|
|
211
|
+
return hash.digest('hex');
|
|
212
|
+
}
|
|
213
|
+
async function resolveCanonicalTestCommand(projectPath) {
|
|
214
|
+
try {
|
|
215
|
+
const raw = await readFile(join(projectPath, 'package.json'), 'utf-8');
|
|
216
|
+
const parsed = JSON.parse(raw);
|
|
217
|
+
if (typeof parsed !== 'object' || parsed === null) {
|
|
218
|
+
return 'npx vitest run';
|
|
219
|
+
}
|
|
220
|
+
const manifest = parsed;
|
|
221
|
+
if (typeof manifest.scripts?.test !== 'string' || manifest.scripts.test.trim().length === 0) {
|
|
222
|
+
return 'npx vitest run';
|
|
223
|
+
}
|
|
224
|
+
const packageManager = typeof manifest.packageManager === 'string'
|
|
225
|
+
? (manifest.packageManager.split('@')[0]?.trim() ?? '')
|
|
226
|
+
: '';
|
|
227
|
+
if (packageManager === 'pnpm' || packageManager === 'yarn') {
|
|
228
|
+
return `${packageManager} test`;
|
|
229
|
+
}
|
|
230
|
+
if (packageManager === 'bun') {
|
|
231
|
+
return 'bun run test';
|
|
232
|
+
}
|
|
233
|
+
return 'npm test';
|
|
234
|
+
}
|
|
235
|
+
catch {
|
|
236
|
+
return 'npx vitest run';
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
/** Test-only reset to prevent process-cache state leaking between cases. */
|
|
240
|
+
export function resetProcessValidationCacheForTests() {
|
|
241
|
+
processValidationReceipts.clear();
|
|
242
|
+
}
|
|
243
|
+
function isInfrastructureError(errorCode, errorMessage) {
|
|
244
|
+
return (errorCode === 'ERR_CHILD_PROCESS_STDIO_MAXBUFFER' ||
|
|
245
|
+
errorCode === 'ENOENT' ||
|
|
246
|
+
errorCode === 'EACCES' ||
|
|
247
|
+
/maxBuffer|spawn .* (?:ENOENT|EACCES)/i.test(errorMessage ?? ''));
|
|
248
|
+
}
|
|
121
249
|
function isPassingSummaryLine(line) {
|
|
122
250
|
return /^\s*(?:✓|PASS\b|Test Files\s+\d+\s+passed|Tests\s+\d+\s+passed)/i.test(line.trim());
|
|
123
251
|
}
|
|
@@ -135,7 +263,7 @@ function isFailureSummaryLine(line) {
|
|
|
135
263
|
* Runs non-blocking transition checks not already covered by the authoritative validate report.
|
|
136
264
|
* in parallel. Extracts complexity from handleUpdateStatus.
|
|
137
265
|
*/
|
|
138
|
-
export async function runComplianceGates(projectId, specTitle, specTags, newStatus) {
|
|
266
|
+
export async function runComplianceGates(projectId, specTitle, specTags, newStatus, specId) {
|
|
139
267
|
const isDone = newStatus === 'done';
|
|
140
268
|
const isApprovedOrDone = newStatus === 'approved' || isDone;
|
|
141
269
|
// Load knowledge once — needed for project path and commands
|
|
@@ -152,7 +280,7 @@ export async function runComplianceGates(projectId, specTitle, specTags, newStat
|
|
|
152
280
|
? checkLintGate(projectPath, knowledge?.lintCommand ?? null)
|
|
153
281
|
: Promise.resolve([]),
|
|
154
282
|
isDone && projectPath
|
|
155
|
-
? checkTestGate(projectPath, knowledge?.testCommand ?? null)
|
|
283
|
+
? checkTestGate(projectPath, knowledge?.testCommand ?? null, { projectId, specId })
|
|
156
284
|
: Promise.resolve([]),
|
|
157
285
|
]);
|
|
158
286
|
return {
|
|
@@ -19,6 +19,8 @@ export interface BrowserValidationResult {
|
|
|
19
19
|
playwrightVersion: string | null;
|
|
20
20
|
/** UI assertions extracted from the spec. */
|
|
21
21
|
assertions: UIAssertion[];
|
|
22
|
+
/** Assertions that still require manual grounding or unsupported verification. */
|
|
23
|
+
manualAssertionCount?: number;
|
|
22
24
|
/** Path where the generated test file was saved (when Playwright not available). */
|
|
23
25
|
testFilePath?: string;
|
|
24
26
|
/** Playwright test results when run directly. */
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type DogfoodSeverity = 'low' | 'medium' | 'high';
|
|
2
|
+
export type DogfoodNextAction = 'create_spec' | 'submit_feedback' | 'ignore';
|
|
3
|
+
export type DogfoodReportStatus = 'findings' | 'no_actionable_gaps' | 'insufficient_evidence';
|
|
4
|
+
export type DogfoodArtifactLabel = 'package.json' | 'session-context' | 'session';
|
|
5
|
+
export interface DogfoodLoadedArtifact {
|
|
6
|
+
label: DogfoodArtifactLabel;
|
|
7
|
+
content: string;
|
|
8
|
+
json: unknown;
|
|
9
|
+
}
|
|
10
|
+
export interface DogfoodSignalRule {
|
|
11
|
+
signature: string;
|
|
12
|
+
title: string;
|
|
13
|
+
severity: DogfoodSeverity;
|
|
14
|
+
nextAction: DogfoodNextAction;
|
|
15
|
+
patterns: RegExp[];
|
|
16
|
+
structuredBooleanKey?: 'forceStatus' | 'forceApprove';
|
|
17
|
+
}
|
|
18
|
+
export interface DogfoodFinding {
|
|
19
|
+
signature: string;
|
|
20
|
+
title: string;
|
|
21
|
+
severity: DogfoodSeverity;
|
|
22
|
+
nextAction: DogfoodNextAction;
|
|
23
|
+
occurrences: number;
|
|
24
|
+
evidence: string[];
|
|
25
|
+
}
|
|
26
|
+
export interface DogfoodReport {
|
|
27
|
+
status: DogfoodReportStatus;
|
|
28
|
+
findings: DogfoodFinding[];
|
|
29
|
+
/** Privacy-safe allowlist labels, never absolute paths. */
|
|
30
|
+
analyzedSources: string[];
|
|
31
|
+
/** Sources skipped because they were missing, malformed, unsafe, oversized, or unreadable. */
|
|
32
|
+
unavailableSources: string[];
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=dogfooding.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -129,6 +129,7 @@ export * from './oauth.js';
|
|
|
129
129
|
export * from './spec-elicitation.js';
|
|
130
130
|
export type * from './ai-tool-rules.js';
|
|
131
131
|
export type * from './feedback.js';
|
|
132
|
+
export * from './dogfooding.js';
|
|
132
133
|
export * from './agent-squad.js';
|
|
133
134
|
export * from './conventions.js';
|
|
134
135
|
export * from './telemetry.js';
|
package/dist/types/index.js
CHANGED
|
@@ -126,6 +126,7 @@ export * from './discovery.js';
|
|
|
126
126
|
export * from './token-ledger.js';
|
|
127
127
|
export * from './oauth.js';
|
|
128
128
|
export * from './spec-elicitation.js';
|
|
129
|
+
export * from './dogfooding.js';
|
|
129
130
|
export * from './agent-squad.js';
|
|
130
131
|
export * from './conventions.js';
|
|
131
132
|
export * from './telemetry.js';
|
|
@@ -9,7 +9,34 @@ export interface StatusHistoryEntry {
|
|
|
9
9
|
readonly status: SpecStatus;
|
|
10
10
|
/** ISO 8601 timestamp of when this status was set. */
|
|
11
11
|
readonly changedAt: string;
|
|
12
|
-
|
|
12
|
+
/** Previous status, when recorded by the canonical transition path. */
|
|
13
|
+
readonly fromStatus?: SpecStatus;
|
|
14
|
+
/** Stable receipt used to acknowledge idempotent retries. */
|
|
15
|
+
readonly transitionId?: string;
|
|
16
|
+
/** Optional work scheduled after the durable transition boundary. */
|
|
17
|
+
readonly pendingBackgroundActions?: readonly string[];
|
|
18
|
+
/** Durable execution state for optional post-commit work. */
|
|
19
|
+
readonly postCommitTasks?: readonly PostCommitTaskReceipt[];
|
|
20
|
+
}
|
|
21
|
+
export type PostCommitTaskStatus = 'pending' | 'running' | 'done' | 'failed';
|
|
22
|
+
export interface PostCommitTaskReceipt {
|
|
23
|
+
readonly name: string;
|
|
24
|
+
readonly status: PostCommitTaskStatus;
|
|
25
|
+
readonly attempts: number;
|
|
26
|
+
readonly updatedAt: string;
|
|
27
|
+
readonly executionId?: string;
|
|
28
|
+
readonly leaseExpiresAt?: string;
|
|
29
|
+
readonly lastError?: string;
|
|
30
|
+
}
|
|
31
|
+
export type PostCommitTaskClaim = {
|
|
32
|
+
readonly claimed: true;
|
|
33
|
+
readonly executionId: string;
|
|
34
|
+
readonly attempts: number;
|
|
35
|
+
} | {
|
|
36
|
+
readonly claimed: false;
|
|
37
|
+
readonly reason: 'done' | 'running' | 'missing';
|
|
38
|
+
readonly retryAt?: string;
|
|
39
|
+
};
|
|
13
40
|
export interface Spec {
|
|
14
41
|
id: string;
|
|
15
42
|
/** SPEC-601: Globally unique identifier for cross-project portability. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@planu/cli",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.8",
|
|
4
4
|
"description": "Planu — MCP Server for Spec Driven Development with native Rust acceleration for hot paths. Cross-platform (Linux/macOS/Windows, x64/arm64, glibc/musl).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"packageName": "@planu/core"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@planu/core-darwin-arm64": "4.11.
|
|
38
|
-
"@planu/core-darwin-x64": "4.11.
|
|
39
|
-
"@planu/core-linux-arm64-gnu": "4.11.
|
|
40
|
-
"@planu/core-linux-arm64-musl": "4.11.
|
|
41
|
-
"@planu/core-linux-x64-gnu": "4.11.
|
|
42
|
-
"@planu/core-linux-x64-musl": "4.11.
|
|
43
|
-
"@planu/core-win32-arm64-msvc": "4.11.
|
|
44
|
-
"@planu/core-win32-x64-msvc": "4.11.
|
|
37
|
+
"@planu/core-darwin-arm64": "4.11.8",
|
|
38
|
+
"@planu/core-darwin-x64": "4.11.8",
|
|
39
|
+
"@planu/core-linux-arm64-gnu": "4.11.8",
|
|
40
|
+
"@planu/core-linux-arm64-musl": "4.11.8",
|
|
41
|
+
"@planu/core-linux-x64-gnu": "4.11.8",
|
|
42
|
+
"@planu/core-linux-x64-musl": "4.11.8",
|
|
43
|
+
"@planu/core-win32-arm64-msvc": "4.11.8",
|
|
44
|
+
"@planu/core-win32-x64-msvc": "4.11.8"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=24.0.0"
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
},
|
|
100
100
|
"lint-staged": {
|
|
101
101
|
"src/**/*.ts": [
|
|
102
|
-
"eslint --fix --max-warnings 0",
|
|
102
|
+
"eslint --fix --max-warnings 0 --no-warn-ignored",
|
|
103
103
|
"prettier --write"
|
|
104
104
|
],
|
|
105
105
|
"tests/**/*.test.ts": [
|
|
106
|
-
"eslint --fix --max-warnings 0",
|
|
106
|
+
"eslint --fix --max-warnings 0 --no-warn-ignored",
|
|
107
107
|
"prettier --write"
|
|
108
108
|
],
|
|
109
109
|
"*.json": [
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
],
|
|
134
134
|
"license": "SEE LICENSE IN LICENSE",
|
|
135
135
|
"dependencies": {
|
|
136
|
-
"@anthropic-ai/sdk": "^0.
|
|
136
|
+
"@anthropic-ai/sdk": "^0.112.3",
|
|
137
137
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
138
138
|
"glob": "^13.0.6",
|
|
139
139
|
"yaml": "^2.9.0",
|
|
@@ -143,35 +143,35 @@
|
|
|
143
143
|
"@commitlint/cli": "^21.2.1",
|
|
144
144
|
"@commitlint/config-conventional": "^21.2.0",
|
|
145
145
|
"@eslint/js": "^10.0.1",
|
|
146
|
-
"@napi-rs/cli": "^3.7.
|
|
146
|
+
"@napi-rs/cli": "^3.7.3",
|
|
147
147
|
"@secretlint/secretlint-rule-no-homedir": "^13.0.2",
|
|
148
148
|
"@secretlint/secretlint-rule-preset-recommend": "^13.0.2",
|
|
149
149
|
"@stryker-mutator/core": "^9.6.1",
|
|
150
150
|
"@stryker-mutator/vitest-runner": "^9.6.1",
|
|
151
|
-
"@supabase/supabase-js": "^2.110.
|
|
151
|
+
"@supabase/supabase-js": "^2.110.7",
|
|
152
152
|
"@types/node": "^26.1.1",
|
|
153
153
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
154
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
154
|
+
"@vitejs/plugin-vue": "^6.0.8",
|
|
155
155
|
"@vitest/coverage-v8": "^4.1.10",
|
|
156
156
|
"@vue/test-utils": "^2.4.11",
|
|
157
|
-
"eslint": "^10.
|
|
157
|
+
"eslint": "^10.7.0",
|
|
158
158
|
"eslint-config-prettier": "^10.1.8",
|
|
159
159
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
160
160
|
"eslint-plugin-import": "^2.32.0",
|
|
161
|
-
"happy-dom": "^20.
|
|
161
|
+
"happy-dom": "^20.11.0",
|
|
162
162
|
"husky": "^9.1.7",
|
|
163
|
-
"javascript-obfuscator": "^5.
|
|
164
|
-
"knip": "^6.
|
|
165
|
-
"lint-staged": "^17.0
|
|
163
|
+
"javascript-obfuscator": "^5.5.0",
|
|
164
|
+
"knip": "^6.27.0",
|
|
165
|
+
"lint-staged": "^17.1.0",
|
|
166
166
|
"madge": "^8.0.0",
|
|
167
|
-
"prettier": "^3.9.
|
|
167
|
+
"prettier": "^3.9.5",
|
|
168
168
|
"secretlint": "^13.0.2",
|
|
169
|
-
"tsc-alias": "^1.9.
|
|
169
|
+
"tsc-alias": "^1.9.1",
|
|
170
170
|
"type-coverage": "^2.29.7",
|
|
171
171
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
172
|
-
"typescript-eslint": "^8.
|
|
173
|
-
"vite": "^8.1.
|
|
172
|
+
"typescript-eslint": "^8.64.0",
|
|
173
|
+
"vite": "^8.1.5",
|
|
174
174
|
"vitest": "^4.1.10",
|
|
175
|
-
"vue": "^3.5.
|
|
175
|
+
"vue": "^3.5.40"
|
|
176
176
|
}
|
|
177
177
|
}
|
package/planu-native.json
CHANGED
package/planu-plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dev.planu.cli",
|
|
3
3
|
"displayName": "Planu — Spec Driven Development",
|
|
4
4
|
"description": "Manage software specs, estimations, and autonomous SDD workflows. Language-agnostic MCP server for Claude Code.",
|
|
5
|
-
"version": "4.11.
|
|
5
|
+
"version": "4.11.8",
|
|
6
6
|
"icon": "assets/plugin/icon.svg",
|
|
7
7
|
"command": [
|
|
8
8
|
"npx",
|