@novastorm-ai/cli 0.0.1 → 0.0.4

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.
@@ -1,3 +1,8 @@
1
+ import {
2
+ ConfigError,
3
+ DEFAULT_CONFIG
4
+ } from "./chunk-KKTDQOQX.js";
5
+
1
6
  // src/setup.ts
2
7
  import * as fs2 from "fs/promises";
3
8
  import * as path2 from "path";
@@ -8,10 +13,6 @@ import TOML2 from "@iarna/toml";
8
13
  import * as fs from "fs/promises";
9
14
  import * as path from "path";
10
15
  import TOML from "@iarna/toml";
11
- import {
12
- ConfigError,
13
- DEFAULT_CONFIG
14
- } from "@novastorm-ai/core";
15
16
  var NOVA_TOML = "nova.toml";
16
17
  var LOCAL_CONFIG_PATH = path.join(".nova", "config.toml");
17
18
  function deepMerge(target, source) {
@@ -170,7 +171,6 @@ var ConfigReader = class {
170
171
  };
171
172
 
172
173
  // src/setup.ts
173
- import { DEFAULT_CONFIG as DEFAULT_CONFIG2 } from "@novastorm-ai/core";
174
174
  var NOVA_DIR = ".nova";
175
175
  var LOCAL_CONFIG = "config.toml";
176
176
  async function runSetup(projectPath) {
@@ -219,7 +219,7 @@ Saved provider config to ${localConfigPath}`);
219
219
  const configReader = new ConfigReader();
220
220
  const exists = await configReader.exists(cwd);
221
221
  if (!exists) {
222
- await configReader.write(cwd, DEFAULT_CONFIG2);
222
+ await configReader.write(cwd, DEFAULT_CONFIG);
223
223
  console.log(`Created ${path2.join(cwd, "nova.toml")} with default configuration.`);
224
224
  }
225
225
  console.log("\nSetup complete!");
@@ -0,0 +1,13 @@
1
+ import {
2
+ DevServerRunner,
3
+ ProjectMapApi,
4
+ ProxyServer,
5
+ WebSocketServer
6
+ } from "./chunk-4AQQAQBM.js";
7
+ import "./chunk-3RG5ZIWI.js";
8
+ export {
9
+ DevServerRunner,
10
+ ProjectMapApi,
11
+ ProxyServer,
12
+ WebSocketServer
13
+ };
@@ -0,0 +1,151 @@
1
+ import {
2
+ AgentPromptLoader,
3
+ AnthropicProvider,
4
+ BackgroundQueue,
5
+ BehaviorTracker,
6
+ Brain,
7
+ BrainError,
8
+ ClaudeCliProvider,
9
+ CodeChunker,
10
+ CodeFixer,
11
+ CodeValidator,
12
+ ComponentExtractor,
13
+ ConfigError,
14
+ ContextDistiller,
15
+ DEFAULT_AGENT_PROMPTS,
16
+ DEFAULT_CONFIG,
17
+ DiffApplier,
18
+ DiffError,
19
+ EMPTY_MANIFEST,
20
+ EmbeddingService,
21
+ EndpointExtractor,
22
+ EnvDetector,
23
+ ExecutorPool,
24
+ FullstackGraphBuilder,
25
+ FullstackGraphStore,
26
+ GitError,
27
+ GitManager,
28
+ GraphStore,
29
+ HistoryRecorder,
30
+ HistoryStore,
31
+ Lane1Executor,
32
+ Lane2Executor,
33
+ Lane3Executor,
34
+ Lane4Executor,
35
+ LaneClassifier,
36
+ LogLevel,
37
+ ManifestSchema,
38
+ ManifestStore,
39
+ MethodExtractor,
40
+ NovaDir,
41
+ NovaEventBus,
42
+ OllamaEmbedding,
43
+ OllamaProvider,
44
+ OpenAIProvider,
45
+ OpenRouterProvider,
46
+ PassiveEngine,
47
+ PathDeniedError,
48
+ PathGuard,
49
+ PathTraversalError,
50
+ PatternDetector,
51
+ ProjectAnalyzer,
52
+ ProjectIndexer,
53
+ ProjectScaffolder,
54
+ PromptBuilder,
55
+ ProviderError,
56
+ ProviderFactory,
57
+ RagIndexer,
58
+ RecipeStore,
59
+ RouteExtractor,
60
+ SCAFFOLD_PRESETS,
61
+ SearchRouter,
62
+ StackDetector,
63
+ SuggestionGenerator,
64
+ SuggestionStore,
65
+ TaskDecomposer,
66
+ TfIdfEmbedding,
67
+ Validator,
68
+ VectorStore,
69
+ addLineNumbers,
70
+ createEmbeddingService,
71
+ parseFileBlocks,
72
+ parseManifest,
73
+ parseMixedBlocks,
74
+ streamWithEvents
75
+ } from "./chunk-KKTDQOQX.js";
76
+ import "./chunk-3RG5ZIWI.js";
77
+ export {
78
+ AgentPromptLoader,
79
+ AnthropicProvider,
80
+ BackgroundQueue,
81
+ BehaviorTracker,
82
+ Brain,
83
+ BrainError,
84
+ ClaudeCliProvider,
85
+ CodeChunker,
86
+ CodeFixer,
87
+ CodeValidator,
88
+ ComponentExtractor,
89
+ ConfigError,
90
+ ContextDistiller,
91
+ DEFAULT_AGENT_PROMPTS,
92
+ DEFAULT_CONFIG,
93
+ DiffApplier,
94
+ DiffError,
95
+ EMPTY_MANIFEST,
96
+ EmbeddingService,
97
+ EndpointExtractor,
98
+ EnvDetector,
99
+ ExecutorPool,
100
+ FullstackGraphBuilder,
101
+ FullstackGraphStore,
102
+ GitError,
103
+ GitManager,
104
+ GraphStore,
105
+ HistoryRecorder,
106
+ HistoryStore,
107
+ Lane1Executor,
108
+ Lane2Executor,
109
+ Lane3Executor,
110
+ Lane4Executor,
111
+ LaneClassifier,
112
+ LogLevel,
113
+ ManifestSchema,
114
+ ManifestStore,
115
+ MethodExtractor,
116
+ NovaDir,
117
+ NovaEventBus,
118
+ OllamaEmbedding,
119
+ OllamaProvider,
120
+ OpenAIProvider,
121
+ OpenRouterProvider,
122
+ PassiveEngine,
123
+ PathDeniedError,
124
+ PathGuard,
125
+ PathTraversalError,
126
+ PatternDetector,
127
+ ProjectAnalyzer,
128
+ ProjectIndexer,
129
+ ProjectScaffolder,
130
+ PromptBuilder,
131
+ ProviderError,
132
+ ProviderFactory,
133
+ RagIndexer,
134
+ RecipeStore,
135
+ RouteExtractor,
136
+ SCAFFOLD_PRESETS,
137
+ SearchRouter,
138
+ StackDetector,
139
+ SuggestionGenerator,
140
+ SuggestionStore,
141
+ TaskDecomposer,
142
+ TfIdfEmbedding,
143
+ Validator,
144
+ VectorStore,
145
+ addLineNumbers,
146
+ createEmbeddingService,
147
+ parseFileBlocks,
148
+ parseManifest,
149
+ parseMixedBlocks,
150
+ streamWithEvents
151
+ };
package/dist/index.js CHANGED
@@ -4,11 +4,13 @@ import {
4
4
  createCli,
5
5
  promptAndScaffold,
6
6
  run
7
- } from "./chunk-NFNZMCLQ.js";
7
+ } from "./chunk-CLQXFM4X.js";
8
+ import "./chunk-4AQQAQBM.js";
8
9
  import {
9
10
  ConfigReader,
10
11
  runSetup
11
- } from "./chunk-FYSTZ6K6.js";
12
+ } from "./chunk-QKD6A4EK.js";
13
+ import "./chunk-KKTDQOQX.js";
12
14
  import "./chunk-3RG5ZIWI.js";
13
15
  export {
14
16
  ConfigReader,
@@ -4,7 +4,7 @@ import "./chunk-3RG5ZIWI.js";
4
4
  var package_default = {
5
5
  name: "@novastorm-ai/cli",
6
6
  publishConfig: { access: "public" },
7
- version: "0.0.1",
7
+ version: "0.0.4",
8
8
  license: "SEE LICENSE IN LICENSE.md",
9
9
  type: "module",
10
10
  main: "dist/index.js",
@@ -23,17 +23,24 @@ var package_default = {
23
23
  lint: "tsc --noEmit"
24
24
  },
25
25
  dependencies: {
26
+ "@anthropic-ai/sdk": "^0.39.0",
26
27
  "@iarna/toml": "^2.2.5",
27
28
  "@inquirer/prompts": "^8.3.2",
28
- "@novastorm-ai/core": "workspace:*",
29
- "@novastorm-ai/licensing": "workspace:*",
30
- "@novastorm-ai/proxy": "workspace:*",
31
29
  chalk: "^5.6.2",
32
30
  commander: "^14.0.3",
31
+ html2canvas: "^1.4.1",
32
+ "http-proxy": "^1.18.1",
33
33
  inquirer: "^13.3.2",
34
- ora: "^9.3.0"
34
+ openai: "^4.77.0",
35
+ ora: "^9.3.0",
36
+ picomatch: "^4.0.2",
37
+ ws: "^8.19.0",
38
+ zod: "^3.25.0"
35
39
  },
36
40
  devDependencies: {
41
+ "@novastorm-ai/core": "workspace:*",
42
+ "@novastorm-ai/licensing": "workspace:*",
43
+ "@novastorm-ai/proxy": "workspace:*",
37
44
  tsup: "^8.4.0",
38
45
  typescript: "^5.7.0"
39
46
  }
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  runSetup
3
- } from "./chunk-FYSTZ6K6.js";
3
+ } from "./chunk-QKD6A4EK.js";
4
+ import "./chunk-KKTDQOQX.js";
4
5
  import "./chunk-3RG5ZIWI.js";
5
6
  export {
6
7
  runSetup
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@novastorm-ai/cli",
3
- "publishConfig": {"access": "public"},
4
- "version": "0.0.1",
3
+ "publishConfig": {
4
+ "access": "public"
5
+ },
6
+ "version": "0.0.4",
5
7
  "license": "SEE LICENSE IN LICENSE.md",
6
8
  "type": "module",
7
9
  "main": "dist/index.js",
@@ -15,23 +17,30 @@
15
17
  "import": "./dist/index.js"
16
18
  }
17
19
  },
18
- "scripts": {
19
- "build": "tsup",
20
- "lint": "tsc --noEmit"
21
- },
22
20
  "dependencies": {
21
+ "@anthropic-ai/sdk": "^0.39.0",
23
22
  "@iarna/toml": "^2.2.5",
24
23
  "@inquirer/prompts": "^8.3.2",
25
- "@novastorm-ai/core": "workspace:*",
26
- "@novastorm-ai/licensing": "workspace:*",
27
- "@novastorm-ai/proxy": "workspace:*",
28
24
  "chalk": "^5.6.2",
29
25
  "commander": "^14.0.3",
26
+ "html2canvas": "^1.4.1",
27
+ "http-proxy": "^1.18.1",
30
28
  "inquirer": "^13.3.2",
31
- "ora": "^9.3.0"
29
+ "openai": "^4.77.0",
30
+ "ora": "^9.3.0",
31
+ "picomatch": "^4.0.2",
32
+ "ws": "^8.19.0",
33
+ "zod": "^3.25.0"
32
34
  },
33
35
  "devDependencies": {
34
36
  "tsup": "^8.4.0",
35
- "typescript": "^5.7.0"
37
+ "typescript": "^5.7.0",
38
+ "@novastorm-ai/core": "0.0.1",
39
+ "@novastorm-ai/proxy": "0.0.1",
40
+ "@novastorm-ai/licensing": "0.0.1"
41
+ },
42
+ "scripts": {
43
+ "build": "tsup",
44
+ "lint": "tsc --noEmit"
36
45
  }
37
- }
46
+ }