vigthoria-cli 1.6.9 → 1.6.13

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 CHANGED
@@ -96,7 +96,7 @@ If you see `ENOTFOUND registry.npmjs.org`, try these solutions:
96
96
  4. **Direct tarball download:**
97
97
  ```bash
98
98
  # Download directly
99
- npm install -g https://cli.vigthoria.io/downloads/vigthoria-cli-1.6.9.tgz
99
+ npm install -g https://cli.vigthoria.io/downloads/vigthoria-cli-1.6.12.tgz
100
100
  ```
101
101
 
102
102
  5. **Use Git clone method (no npm registry needed):**
@@ -2,8 +2,10 @@ import { Config } from '../utils/config.js';
2
2
  import { Logger } from '../utils/logger.js';
3
3
  import { ChatMessage } from '../utils/api.js';
4
4
  interface ChatOptions {
5
- model: string;
6
- project: string;
5
+ model?: string;
6
+ project?: string;
7
+ projectProvided?: boolean;
8
+ newProject?: string | boolean;
7
9
  agent?: boolean;
8
10
  operator?: boolean;
9
11
  workflow?: string;
@@ -28,13 +30,19 @@ export declare class ChatCommand {
28
30
  private directPromptMode;
29
31
  private directToolContinuationCount;
30
32
  private currentModel;
33
+ private modelExplicitlySelected;
31
34
  private autoApprove;
32
35
  private operatorMode;
33
36
  private workflowTarget;
34
37
  private savePlanToVigFlow;
35
38
  private jsonOutput;
39
+ private syncInteractiveModeModel;
36
40
  private hasOperatorAccess;
37
41
  private operatorAccessMessage;
42
+ private getDefaultChatModel;
43
+ private resolveInitialModel;
44
+ private isLegacyAgentFallbackAllowed;
45
+ private resolveAgentExecutionPolicy;
38
46
  private getMessagesForModel;
39
47
  private isDiagnosticPrompt;
40
48
  private isBrowserTaskPrompt;
@@ -48,6 +56,12 @@ export declare class ChatCommand {
48
56
  constructor(config: Config, logger: Logger);
49
57
  run(options: ChatOptions): Promise<void>;
50
58
  private ensureProjectWorkspace;
59
+ private resolveProjectPath;
60
+ private shouldUseManagedWorkspace;
61
+ private getManagedWorkspaceRoot;
62
+ private resolveManagedWorkspaceName;
63
+ private slugifyWorkspaceName;
64
+ private allocateManagedWorkspacePath;
51
65
  private initializeSession;
52
66
  private handleDirectPrompt;
53
67
  private formatWorkflowTargetResult;
@@ -55,8 +69,11 @@ export declare class ChatCommand {
55
69
  private runOperatorTurn;
56
70
  private runSimplePrompt;
57
71
  private runAgentTurn;
72
+ private runLocalAgentLoop;
58
73
  private tryDirectSingleFileFlow;
59
74
  private tryV3AgentWorkflow;
75
+ private isSaaSRescuePrompt;
76
+ private tryCommandLevelSaaSRescue;
60
77
  private startInteractiveChat;
61
78
  private showHelp;
62
79
  private showContext;
@@ -64,12 +81,25 @@ export declare class ChatCommand {
64
81
  private ensureAgentSystemPrompt;
65
82
  private buildAgentSystemPrompt;
66
83
  private buildScopedUserPrompt;
84
+ private inferTargetFilesFromPrompt;
67
85
  private inferTargetFileFromPrompt;
86
+ private workspaceContainsHtmlEntry;
87
+ private shouldBypassDirectSingleFileFlow;
88
+ private shouldPreferLocalAgentLoop;
89
+ private shouldRequireV3AgentWorkflow;
90
+ private isServerBindableWorkspace;
91
+ private isProtectedFileReferenceSafe;
92
+ private isProtectedFileReference;
68
93
  private buildContinuationPrompt;
69
94
  private extractToolCalls;
70
95
  private parseToolPayload;
71
96
  private stripToolPayloads;
72
97
  private extractFinalFileContent;
98
+ private resolveDirectModeCompletion;
99
+ private isDirectModeFollowUpQuestion;
100
+ private buildLocalAnalysisFallback;
101
+ private tryDeterministicSingleFileRewrite;
102
+ private extractExactTextRequirement;
73
103
  private executeToolCalls;
74
104
  private formatToolResult;
75
105
  private truncateText;