vigthoria-cli 1.10.37 → 1.10.47

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.
Files changed (58) hide show
  1. package/dist/commands/agent-session-menu.d.ts +19 -0
  2. package/dist/commands/agent-session-menu.js +155 -0
  3. package/dist/commands/auth.js +68 -51
  4. package/dist/commands/bridge.js +19 -12
  5. package/dist/commands/cancel.js +22 -15
  6. package/dist/commands/chat.d.ts +0 -28
  7. package/dist/commands/chat.js +407 -1254
  8. package/dist/commands/config.js +73 -33
  9. package/dist/commands/deploy.js +123 -83
  10. package/dist/commands/device.js +61 -21
  11. package/dist/commands/edit.js +39 -32
  12. package/dist/commands/explain.js +25 -18
  13. package/dist/commands/generate.js +44 -37
  14. package/dist/commands/hub.js +102 -95
  15. package/dist/commands/index.js +46 -41
  16. package/dist/commands/legion.js +186 -146
  17. package/dist/commands/review.js +36 -29
  18. package/dist/commands/security.js +12 -5
  19. package/dist/commands/wallet.js +35 -28
  20. package/dist/commands/workflow.js +20 -13
  21. package/dist/utils/brain-hub-client.js +5 -1
  22. package/dist/utils/bridge-client.js +52 -11
  23. package/dist/utils/codebase-indexer.js +41 -4
  24. package/dist/utils/context-ranker.js +21 -15
  25. package/dist/utils/files.js +42 -5
  26. package/dist/utils/logger.js +50 -42
  27. package/dist/utils/persona.js +8 -3
  28. package/dist/utils/post-write-validator.js +29 -22
  29. package/dist/utils/project-memory.js +23 -16
  30. package/dist/utils/task-display.js +20 -13
  31. package/dist/utils/workspace-brain-service.js +45 -8
  32. package/dist/utils/workspace-cache.js +26 -18
  33. package/dist/utils/workspace-stream.js +63 -21
  34. package/package.json +3 -6
  35. package/dist/commands/fork.d.ts +0 -17
  36. package/dist/commands/fork.js +0 -164
  37. package/dist/commands/history.d.ts +0 -17
  38. package/dist/commands/history.js +0 -113
  39. package/dist/commands/preview.d.ts +0 -55
  40. package/dist/commands/preview.js +0 -467
  41. package/dist/commands/replay.d.ts +0 -18
  42. package/dist/commands/replay.js +0 -156
  43. package/dist/commands/repo.d.ts +0 -97
  44. package/dist/commands/repo.js +0 -773
  45. package/dist/commands/update.d.ts +0 -9
  46. package/dist/commands/update.js +0 -201
  47. package/dist/index.d.ts +0 -21
  48. package/dist/index.js +0 -1823
  49. package/dist/utils/api.d.ts +0 -572
  50. package/dist/utils/api.js +0 -6548
  51. package/dist/utils/cli-state.d.ts +0 -54
  52. package/dist/utils/cli-state.js +0 -185
  53. package/dist/utils/config.d.ts +0 -85
  54. package/dist/utils/config.js +0 -267
  55. package/dist/utils/session.d.ts +0 -118
  56. package/dist/utils/session.js +0 -423
  57. package/dist/utils/tools.d.ts +0 -276
  58. package/dist/utils/tools.js +0 -3516
@@ -26,7 +26,6 @@ export declare class ChatCommand {
26
26
  private tools;
27
27
  private sessionManager;
28
28
  private projectMemory;
29
- private workspaceBrain;
30
29
  private currentSession;
31
30
  private agentMode;
32
31
  private currentProjectPath;
@@ -62,10 +61,6 @@ export declare class ChatCommand {
62
61
  private isLegacyAgentFallbackAllowed;
63
62
  private resolveAgentExecutionPolicy;
64
63
  private getMessagesForModel;
65
- private normalizeClientV3ToolPath;
66
- private resolveClientV3ToolPath;
67
- private normalizeClientV3ToolArgs;
68
- private executeClientV3Tool;
69
64
  private getActivePersonaMode;
70
65
  private buildActivePersonaOverlay;
71
66
  private isDiagnosticPrompt;
@@ -74,9 +69,6 @@ export declare class ChatCommand {
74
69
  * question — these should use analysis_only workflow, not full_autonomy.
75
70
  */
76
71
  private isAnalysisLookupPrompt;
77
- private isImplementationPrompt;
78
- private getWindowsPromptPathRoots;
79
- private findPromptDirectoryByName;
80
72
  private extractExplicitLocalPath;
81
73
  private isUnscopedPromptPathOverrideAllowed;
82
74
  private isPathWithinRoot;
@@ -98,24 +90,16 @@ export declare class ChatCommand {
98
90
  */
99
91
  private isRepoGroundedPrompt;
100
92
  private inferAgentTaskType;
101
- private bindPromptWorkspace;
102
93
  private buildTaskShapingInstructions;
103
94
  private buildExecutionPrompt;
104
95
  private isProjectBrainRuntimeDisabled;
105
96
  private buildProjectBrainRuntimeContext;
106
97
  private rememberBrainEvent;
107
- private initializeWorkspaceBrain;
108
- private bootstrapWorkspaceBrain;
109
- private reindexWorkspaceBrain;
110
- private showBrainIndexStatus;
111
98
  private getPromptRuntimeContext;
112
99
  private v3IterationCount;
113
100
  private v3ToolCallCount;
114
101
  private v3LastActivity;
115
102
  private v3StreamingStarted;
116
- private v3StreamedTextBuffer;
117
- private v3LiveToolEvidence;
118
- private v3PendingToolCalls;
119
103
  /**
120
104
  * Strip server-internal path prefixes from tool output strings.
121
105
  * Prevents exposing paths like /var/www/V3-Code-Agent/... to end users.
@@ -126,13 +110,6 @@ export declare class ChatCommand {
126
110
  private isRawV3StreamPayload;
127
111
  private consumeV3StreamPayload;
128
112
  private writeV3StreamText;
129
- private isGenericV3AgentContent;
130
- private hasAlreadyStreamedV3Content;
131
- private isThinV3Summary;
132
- private shouldPrintV3FinalContent;
133
- private rememberV3ToolEvidence;
134
- private buildUserFacingV3RunReport;
135
- private printV3UserReport;
136
113
  private updateV3AgentSpinner;
137
114
  private updateOperatorSpinner;
138
115
  constructor(config: Config, logger: Logger);
@@ -168,11 +145,7 @@ export declare class ChatCommand {
168
145
  private runOperatorDirectAnswer;
169
146
  private runSimplePrompt;
170
147
  private runAgentTurn;
171
- private localAgentIterationCount;
172
- private buildLocalAgentChatOptions;
173
- private printChatModelPreflight;
174
148
  private runLocalAgentLoop;
175
- private primeAgentWorkspaceDiscovery;
176
149
  private primeBypassedTargetFileContext;
177
150
  private tryDirectSingleFileFlow;
178
151
  private isConfirmationFollowUp;
@@ -249,7 +222,6 @@ export declare class ChatCommand {
249
222
  private buildLocalAnalysisFallback;
250
223
  private tryDeterministicSingleFileRewrite;
251
224
  private extractExactTextRequirement;
252
- private tryLocalToolFallback;
253
225
  private executeToolCalls;
254
226
  private formatToolResult;
255
227
  private truncateText;