vigthoria-cli 1.9.10 → 1.9.19
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/README.md +4 -4
- package/dist/commands/auth.js +48 -65
- package/dist/commands/bridge.js +12 -19
- package/dist/commands/cancel.js +15 -22
- package/dist/commands/chat.d.ts +11 -0
- package/dist/commands/chat.js +404 -248
- package/dist/commands/config.js +31 -71
- package/dist/commands/deploy.js +83 -123
- package/dist/commands/device.d.ts +35 -0
- package/dist/commands/device.js +239 -0
- package/dist/commands/edit.js +32 -39
- package/dist/commands/explain.js +18 -25
- package/dist/commands/fork.js +22 -27
- package/dist/commands/generate.js +37 -44
- package/dist/commands/history.js +20 -25
- package/dist/commands/hub.js +95 -102
- package/dist/commands/index.js +41 -46
- package/dist/commands/legion.d.ts +1 -0
- package/dist/commands/legion.js +162 -209
- package/dist/commands/preview.js +60 -98
- package/dist/commands/replay.js +27 -32
- package/dist/commands/repo.js +103 -141
- package/dist/commands/review.js +29 -36
- package/dist/commands/security.js +5 -12
- package/dist/commands/update.js +15 -49
- package/dist/commands/workflow.d.ts +8 -1
- package/dist/commands/workflow.js +53 -19
- package/dist/index.js +409 -234
- package/dist/utils/api.d.ts +5 -0
- package/dist/utils/api.js +373 -166
- package/dist/utils/bridge-client.js +11 -52
- package/dist/utils/cli-state.d.ts +54 -0
- package/dist/utils/cli-state.js +185 -0
- package/dist/utils/config.d.ts +5 -0
- package/dist/utils/config.js +35 -14
- package/dist/utils/context-ranker.js +15 -21
- package/dist/utils/files.js +5 -42
- package/dist/utils/logger.js +42 -50
- package/dist/utils/post-write-validator.js +22 -29
- package/dist/utils/project-memory.d.ts +56 -0
- package/dist/utils/project-memory.js +289 -0
- package/dist/utils/session.d.ts +29 -3
- package/dist/utils/session.js +137 -85
- package/dist/utils/task-display.js +13 -20
- package/dist/utils/tools.d.ts +19 -0
- package/dist/utils/tools.js +84 -87
- package/dist/utils/workspace-cache.js +18 -26
- package/dist/utils/workspace-stream.js +26 -64
- package/install.ps1 +14 -0
- package/package.json +5 -3
- package/scripts/release/LOCAL_MACHINE_USER_VERIFICATION.md +1 -1
- package/scripts/release/validate-no-go-gates.sh +2 -2
package/dist/utils/api.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export declare class CLIError extends Error {
|
|
|
19
19
|
export declare function classifyError(error: unknown, fallbackCategory?: CLIErrorCategory): CLIError;
|
|
20
20
|
/** Format a CLIError for user-facing display. */
|
|
21
21
|
export declare function formatCLIError(err: CLIError): string;
|
|
22
|
+
export declare function sanitizeUserFacingPathText(input: string): string;
|
|
22
23
|
export declare function sanitizeUserFacingErrorText(input: string): string;
|
|
23
24
|
export declare function isServerRuntime(): boolean;
|
|
24
25
|
export declare function describeUpstreamStatus(status: number): string;
|
|
@@ -316,6 +317,9 @@ export declare class APIClient {
|
|
|
316
317
|
waitForAgentWorkspaceSettle(context?: Record<string, any>, options?: Record<string, any>): Promise<void>;
|
|
317
318
|
extractExpectedWorkspaceFiles(message?: string, context?: Record<string, any>): string[];
|
|
318
319
|
captureV3AgentStreamMutation(event: any, streamedFiles: Record<string, string>, serverRoot?: string | null): void;
|
|
320
|
+
private applyV3AgentStreamEventToWorkspace;
|
|
321
|
+
private writeV3AgentWorkspaceFile;
|
|
322
|
+
private deleteV3AgentWorkspaceFile;
|
|
319
323
|
recoverAgentWorkspaceFiles(context?: Record<string, any>, streamedFiles?: Record<string, string>, expectedFiles?: string[]): void;
|
|
320
324
|
normalizeAgentWorkspaceRelativePath(rawPath: string, rootPath?: string): string;
|
|
321
325
|
ensureAgentFrontendPolish(message?: string, context?: Record<string, any>): Promise<void>;
|
|
@@ -331,6 +335,7 @@ export declare class APIClient {
|
|
|
331
335
|
* stream when the server didn't emit a proper complete/message event.
|
|
332
336
|
*/
|
|
333
337
|
private synthesizeAnswerFromV3Events;
|
|
338
|
+
private sanitizeV3AgentEventForUser;
|
|
334
339
|
collectV3AgentStream(response: Response, context?: Record<string, any>): Promise<any>;
|
|
335
340
|
runV3AgentWorkflow(message: string, context?: Record<string, any>): Promise<V3AgentWorkflowResponse>;
|
|
336
341
|
private formatOperatorResponse;
|