@tiangong-ai/cli 0.0.33 → 0.0.34
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/AGENTS.md +7 -2
- package/README.md +21 -2
- package/dist/research/commands.js +58 -1
- package/dist/research/commands.js.map +1 -1
- package/dist/research/workspace/constants.d.ts +1 -0
- package/dist/research/workspace/constants.js +4 -2
- package/dist/research/workspace/constants.js.map +1 -1
- package/dist/research/workspace/context.js +106 -11
- package/dist/research/workspace/context.js.map +1 -1
- package/dist/research/workspace/setup-catalog.js +5 -5
- package/dist/research/workspace/setup-invocation.d.ts +11 -0
- package/dist/research/workspace/setup-invocation.js +34 -0
- package/dist/research/workspace/setup-invocation.js.map +1 -0
- package/dist/research/workspace/setup.d.ts +51 -6
- package/dist/research/workspace/setup.js +543 -22
- package/dist/research/workspace/setup.js.map +1 -1
- package/dist/research/workspace/types.d.ts +21 -0
- package/package.json +4 -2
|
@@ -337,6 +337,27 @@ export interface ContextInspection {
|
|
|
337
337
|
code: string;
|
|
338
338
|
message: string;
|
|
339
339
|
}>;
|
|
340
|
+
setup?: {
|
|
341
|
+
status: "pending" | "applying" | "partially-ready" | "ready" | "blocked";
|
|
342
|
+
currentStep: string | null;
|
|
343
|
+
blocker: {
|
|
344
|
+
code: string;
|
|
345
|
+
step: string;
|
|
346
|
+
reason: string;
|
|
347
|
+
minimumAction: string;
|
|
348
|
+
retryCommand: string;
|
|
349
|
+
diagnostics?: Record<string, unknown>;
|
|
350
|
+
} | null;
|
|
351
|
+
runtime: {
|
|
352
|
+
packageName: "@tiangong-ai/cli";
|
|
353
|
+
packageVersion: string;
|
|
354
|
+
source: "runtime-lock" | "setup-plan";
|
|
355
|
+
};
|
|
356
|
+
next: {
|
|
357
|
+
action: "apply" | "retry" | "doctor" | "inspect";
|
|
358
|
+
retryCommand: string;
|
|
359
|
+
} | null;
|
|
360
|
+
};
|
|
340
361
|
}
|
|
341
362
|
export interface DoctorCheck {
|
|
342
363
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiangong-ai/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.34",
|
|
4
4
|
"description": "Tiangong AI command-line interface.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,8 +30,10 @@
|
|
|
30
30
|
"typecheck": "tsc --noEmit",
|
|
31
31
|
"test": "npm run build && node --import tsx --test test/*.test.ts",
|
|
32
32
|
"test:coverage": "npm run build && node ./scripts/run-test-coverage.cjs",
|
|
33
|
+
"test:container": "node ./scripts/assert-clean-container.mjs && npm run lint && npm run test:coverage",
|
|
34
|
+
"test:clean": "sh ./scripts/test-clean-container.sh",
|
|
33
35
|
"audit:research-setup-pins": "npm run build && node ./scripts/audit-research-setup-pins.mjs",
|
|
34
|
-
"prepush:gate": "npm run
|
|
36
|
+
"prepush:gate": "npm run test:clean && docpact validate-config --root . --strict && docpact lint --root . --worktree --mode enforce",
|
|
35
37
|
"lint": "npm run lint:format && npm run lint:coverage-guards",
|
|
36
38
|
"lint:format": "prettier --check \"{src,test,bin,scripts}/**/*.{ts,js,cjs,mjs}\" \"*.{md,json}\" \"docs/**/*.md\" \".docpact/**/*.yaml\" \".github/**/*.yml\"",
|
|
37
39
|
"lint:coverage-guards": "node ./scripts/assert-no-coverage-ignore.cjs",
|