nova-terminal-assistant 0.2.0 → 0.2.1
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.
|
@@ -6,9 +6,9 @@ import * as fs from 'node:fs';
|
|
|
6
6
|
import * as path from 'node:path';
|
|
7
7
|
import { spawn } from 'node:child_process';
|
|
8
8
|
import chalk from 'chalk';
|
|
9
|
-
import { AgentLoop } from 'session/AgentLoop.js';
|
|
10
|
-
import { ModelClient } from 'model/ModelClient.js';
|
|
11
|
-
import { buildSystemPrompt } from 'context/defaultSystemPrompt.js';
|
|
9
|
+
import { AgentLoop } from './session/AgentLoop.js';
|
|
10
|
+
import { ModelClient } from './model/ModelClient.js';
|
|
11
|
+
import { buildSystemPrompt } from './context/defaultSystemPrompt.js';
|
|
12
12
|
import { ThinkingBlockRenderer } from '../ui/components/ThinkingBlockRenderer.js';
|
|
13
13
|
import { selectModelInteractive, selectSkillInteractive } from '../ui/SimpleSelector2.js';
|
|
14
14
|
// ============================================================================
|
|
@@ -9,10 +9,10 @@ import * as path from 'node:path';
|
|
|
9
9
|
import * as os from 'node:os';
|
|
10
10
|
import { execSync, spawn } from 'node:child_process';
|
|
11
11
|
import chalk from 'chalk';
|
|
12
|
-
import { AgentLoop } from 'session/AgentLoop.js';
|
|
13
|
-
import { buildSystemPrompt } from 'context/defaultSystemPrompt.js';
|
|
12
|
+
import { AgentLoop } from './session/AgentLoop.js';
|
|
13
|
+
import { buildSystemPrompt } from './context/defaultSystemPrompt.js';
|
|
14
14
|
import { ThinkingBlockRenderer } from '../ui/components/ThinkingBlockRenderer.js';
|
|
15
|
-
import { OllamaManager } from 'model/providers/OllamaManager.js';
|
|
15
|
+
import { OllamaManager } from './model/providers/OllamaManager.js';
|
|
16
16
|
import { EnhancedCompleter } from '../utils/EnhancedCompleter.js';
|
|
17
17
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
18
18
|
const MODE_LABELS = {
|
package/dist/startup/NovaApp.js
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
// ============================================================================
|
|
4
4
|
import path from 'node:path';
|
|
5
5
|
import os from 'node:os';
|
|
6
|
-
import { ConfigManager } from 'config/ConfigManager.js';
|
|
7
|
-
import { AuthManager } from 'auth/AuthManager.js';
|
|
8
|
-
import { ToolRegistry } from 'tools/ToolRegistry.js';
|
|
9
|
-
import { SessionManager } from 'session/SessionManager.js';
|
|
10
|
-
import { AgentLoop } from 'session/AgentLoop.js';
|
|
11
|
-
import { ModelClient } from 'model/ModelClient.js';
|
|
12
|
-
import { ModelConnectionTester } from 'model/ModelConnectionTester.js';
|
|
13
|
-
import { McpManager } from 'mcp/McpManager.js';
|
|
14
|
-
import { SkillRegistry } from 'extensions/SkillRegistry.js';
|
|
15
|
-
import { SkillInstaller } from 'extensions/SkillInstaller.js';
|
|
16
|
-
import { ContextCompressor } from 'context/ContextCompressor.js';
|
|
17
|
-
import { ApprovalManager } from 'security/ApprovalManager.js';
|
|
18
|
-
import { HookExecutor } from 'security/HookExecutor.js';
|
|
19
|
-
import { NovaError, getErrorMessage } from 'types/errors.js';
|
|
20
|
-
import { readFileHandler, writeFileHandler, editFileHandler, listDirectoryHandler, searchFileHandler, searchContentHandler, shellHandler, webSearchHandler, webFetchHandler, memoryReadHandler, memoryWriteHandler, todoHandler, taskHandler, } from 'tools/impl/index.js';
|
|
21
|
-
import { readFileSchema, writeFileSchema, editFileSchema, listDirectorySchema, searchFileSchema, searchContentSchema, executeCommandSchema, webSearchSchema, webFetchSchema, memoryReadSchema, memoryWriteSchema, todoSchema, taskSchema, } from 'tools/schemas/index.js';
|
|
22
|
-
import { OllamaManager } from 'model/providers/OllamaManager.js';
|
|
6
|
+
import { ConfigManager } from './config/ConfigManager.js';
|
|
7
|
+
import { AuthManager } from './auth/AuthManager.js';
|
|
8
|
+
import { ToolRegistry } from './tools/ToolRegistry.js';
|
|
9
|
+
import { SessionManager } from './session/SessionManager.js';
|
|
10
|
+
import { AgentLoop } from './session/AgentLoop.js';
|
|
11
|
+
import { ModelClient } from './model/ModelClient.js';
|
|
12
|
+
import { ModelConnectionTester } from './model/ModelConnectionTester.js';
|
|
13
|
+
import { McpManager } from './mcp/McpManager.js';
|
|
14
|
+
import { SkillRegistry } from './extensions/SkillRegistry.js';
|
|
15
|
+
import { SkillInstaller } from './extensions/SkillInstaller.js';
|
|
16
|
+
import { ContextCompressor } from './context/ContextCompressor.js';
|
|
17
|
+
import { ApprovalManager } from './security/ApprovalManager.js';
|
|
18
|
+
import { HookExecutor } from './security/HookExecutor.js';
|
|
19
|
+
import { NovaError, getErrorMessage } from './types/errors.js';
|
|
20
|
+
import { readFileHandler, writeFileHandler, editFileHandler, listDirectoryHandler, searchFileHandler, searchContentHandler, shellHandler, webSearchHandler, webFetchHandler, memoryReadHandler, memoryWriteHandler, todoHandler, taskHandler, } from './tools/impl/index.js';
|
|
21
|
+
import { readFileSchema, writeFileSchema, editFileSchema, listDirectorySchema, searchFileSchema, searchContentSchema, executeCommandSchema, webSearchSchema, webFetchSchema, memoryReadSchema, memoryWriteSchema, todoSchema, taskSchema, } from './tools/schemas/index.js';
|
|
22
|
+
import { OllamaManager } from './model/providers/OllamaManager.js';
|
|
23
23
|
import { parseCliArgs } from './parseArgs.js';
|
|
24
24
|
import { InkBasedRepl } from './InkBasedRepl.js';
|
|
25
25
|
/** Providers that require an API key */
|