vigthoria-cli 1.13.26 → 1.13.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/dist/commands/chat.js +73 -26
- package/dist/commands/config.js +4 -4
- package/dist/commands/fork.d.ts +3 -2
- package/dist/commands/fork.js +124 -123
- package/dist/commands/game.d.ts +8 -0
- package/dist/commands/game.js +113 -9
- package/dist/commands/history.d.ts +0 -1
- package/dist/commands/history.js +8 -22
- package/dist/commands/hub.d.ts +20 -0
- package/dist/commands/hub.js +17 -3
- package/dist/commands/preview.js +7 -2
- package/dist/commands/product-run-registration.js +1 -1
- package/dist/commands/replay.d.ts +0 -1
- package/dist/commands/replay.js +10 -19
- package/dist/commands/repo.js +16 -4
- package/dist/commands/update-registration.js +2 -2
- package/dist/commands/workflow.d.ts +4 -0
- package/dist/commands/workflow.js +27 -0
- package/dist/index.js +6 -4
- package/dist/utils/agentRunOutcome.d.ts +7 -0
- package/dist/utils/agentRunOutcome.js +13 -0
- package/dist/utils/api.d.ts +20 -5
- package/dist/utils/api.js +428 -43
- package/dist/utils/command-policy.js +1 -1
- package/dist/utils/config.d.ts +2 -0
- package/dist/utils/config.js +8 -3
- package/dist/utils/frontend-preview-service.d.ts +1 -0
- package/dist/utils/frontend-preview-service.js +54 -5
- package/dist/utils/model-governance.js +23 -14
- package/dist/utils/model-transport-service.js +1 -1
- package/dist/utils/network-policy.js +15 -3
- package/dist/utils/operator-client.js +23 -4
- package/dist/utils/post-write-validator.js +7 -3
- package/dist/utils/preview-screenshot-adapter.d.ts +16 -41
- package/dist/utils/preview-screenshot-adapter.js +273 -64
- package/dist/utils/runtime-capability.d.ts +7 -0
- package/dist/utils/runtime-capability.js +11 -0
- package/dist/utils/runtime-temp.d.ts +5 -2
- package/dist/utils/runtime-temp.js +125 -29
- package/dist/utils/tools.js +1 -1
- package/dist/utils/v3-stream-events.js +10 -2
- package/dist/utils/v3-workspace-service.d.ts +1 -0
- package/dist/utils/v3-workspace-service.js +38 -1
- package/dist/utils/vigflow-client.d.ts +9 -0
- package/dist/utils/vigflow-client.js +48 -2
- package/dist/utils/workspace-reference.d.ts +8 -0
- package/dist/utils/workspace-reference.js +21 -0
- package/package.json +4 -6
- package/scripts/release/LOCAL_MACHINE_USER_VERIFICATION.md +2 -2
- package/scripts/release/validate-live-service-gates.sh +3 -3
- package/scripts/release/validate-no-go-gates.sh +2 -0
package/dist/utils/api.d.ts
CHANGED
|
@@ -30,6 +30,17 @@ export type ChatRequestOptions = {
|
|
|
30
30
|
export interface APIClientDependencies {
|
|
31
31
|
screenshotAdapter?: PreviewScreenshotPort;
|
|
32
32
|
}
|
|
33
|
+
type V3ClientToolMutation = {
|
|
34
|
+
path: string;
|
|
35
|
+
content: string;
|
|
36
|
+
sha256: string;
|
|
37
|
+
};
|
|
38
|
+
type V3ClientToolResult = {
|
|
39
|
+
success: boolean;
|
|
40
|
+
output: string;
|
|
41
|
+
error?: string;
|
|
42
|
+
mutation?: V3ClientToolMutation;
|
|
43
|
+
};
|
|
33
44
|
export declare class CLIError extends Error {
|
|
34
45
|
category: CLIErrorCategory;
|
|
35
46
|
statusCode?: number;
|
|
@@ -167,6 +178,11 @@ export declare class APIClient {
|
|
|
167
178
|
executionOptions?: Record<string, unknown>;
|
|
168
179
|
}): Promise<VigFlowExecutionResult>;
|
|
169
180
|
getVigFlowExecutionStatus(executionId: string): Promise<VigFlowExecutionStatus>;
|
|
181
|
+
deleteVigFlowWorkflow(selector: string): Promise<{
|
|
182
|
+
id: string;
|
|
183
|
+
name?: string;
|
|
184
|
+
alreadyDeleted?: boolean;
|
|
185
|
+
}>;
|
|
170
186
|
getV3AgentHeaders(): Promise<Record<string, string>>;
|
|
171
187
|
ensureV3ServiceKey(): Promise<void>;
|
|
172
188
|
runV3HealthCheck(): Promise<{
|
|
@@ -229,12 +245,15 @@ export declare class APIClient {
|
|
|
229
245
|
captureV3AgentStreamMutation(event: any, streamedFiles: Record<string, string>, serverRoot?: string | null): void;
|
|
230
246
|
private applyV3AgentStreamEventToWorkspace;
|
|
231
247
|
private resolveV3ClientToolPath;
|
|
248
|
+
private describeMissingV3ClientToolPath;
|
|
232
249
|
private recordV3ClientToolMutation;
|
|
250
|
+
private buildV3ClientToolMutation;
|
|
233
251
|
private executeV3ClientToolRequest;
|
|
234
252
|
private handleV3ClientToolRequest;
|
|
235
253
|
private writeV3AgentWorkspaceFile;
|
|
236
254
|
recoverAgentWorkspaceFiles(context?: Record<string, any>, streamedFiles?: Record<string, string>, expectedFiles?: string[]): void;
|
|
237
255
|
normalizeAgentWorkspaceRelativePath(rawPath: string, rootPath?: string): string;
|
|
256
|
+
private isExplicitSingleFileFrontendRequest;
|
|
238
257
|
ensureAgentFrontendPolish(message?: string, context?: Record<string, any>): Promise<void>;
|
|
239
258
|
private injectSectionBeforeFooter;
|
|
240
259
|
private injectNavLink;
|
|
@@ -342,11 +361,7 @@ export declare class APIClient {
|
|
|
342
361
|
getClientToolErrors(): string[];
|
|
343
362
|
clearAgentRunDiagnostics(): void;
|
|
344
363
|
private recordClientToolError;
|
|
345
|
-
submitClientToolResult(contextId: string, callId: string, result:
|
|
346
|
-
success: boolean;
|
|
347
|
-
output: string;
|
|
348
|
-
error?: string;
|
|
349
|
-
}, backendUrl?: string | null): Promise<void>;
|
|
364
|
+
submitClientToolResult(contextId: string, callId: string, result: V3ClientToolResult, backendUrl?: string | null): Promise<void>;
|
|
350
365
|
private isHealthyServicePayload;
|
|
351
366
|
private extractModelCount;
|
|
352
367
|
private probeModelList;
|