@veedubin/neuralgentics 0.13.2 → 0.13.3
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,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Interactive prompts for the neuralgentics two-init installer.
|
|
3
3
|
*
|
|
4
|
-
* Uses
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Uses a SINGLE persistent readline interface for the entire prompt
|
|
5
|
+
* session. This prevents the bug where closing/reopening readline
|
|
6
|
+
* causes the next question to immediately receive buffered stdin
|
|
7
|
+
* (e.g. the user's Enter keypress from the previous question).
|
|
7
8
|
*
|
|
8
9
|
* Prompt types:
|
|
9
10
|
* 1. Backend mode — pgembed (recommended) vs team server
|
|
10
11
|
* 2. Embedding mode — CPU / Auto (recommended) / GPU
|
|
11
|
-
* 3. Ollama API key — written
|
|
12
|
+
* 3. Ollama API key — optional, written to .env file
|
|
12
13
|
*/
|
|
13
14
|
/** The backend mode chosen by the user. */
|
|
14
15
|
export type BackendMode = "pgembed" | "team";
|
|
@@ -41,42 +42,12 @@ export interface PromptFlags {
|
|
|
41
42
|
}
|
|
42
43
|
/** Default config when all prompts are skipped. */
|
|
43
44
|
export declare const DEFAULT_PROMPT_CONFIG: PromptConfig;
|
|
44
|
-
/**
|
|
45
|
-
* Prompt for the memini-ai backend mode.
|
|
46
|
-
*
|
|
47
|
-
* Skipped if `--embedded` or `--team` is set.
|
|
48
|
-
*/
|
|
49
|
-
export declare function promptBackendMode(flags: PromptFlags): Promise<BackendMode>;
|
|
50
|
-
/**
|
|
51
|
-
* Prompt for team server connection details.
|
|
52
|
-
*
|
|
53
|
-
* Only called when backend === "team".
|
|
54
|
-
*/
|
|
55
|
-
export declare function promptTeamConnection(): Promise<{
|
|
56
|
-
host: string;
|
|
57
|
-
port: string;
|
|
58
|
-
database: string;
|
|
59
|
-
}>;
|
|
60
|
-
/**
|
|
61
|
-
* Prompt for the embedding mode.
|
|
62
|
-
*
|
|
63
|
-
* Skipped if `--CPU-Embed`, `--Auto-Embed`, or `--GPU-Embed` is set.
|
|
64
|
-
*/
|
|
65
|
-
export declare function promptEmbeddingMode(flags: PromptFlags): Promise<EmbeddingMode>;
|
|
66
|
-
/**
|
|
67
|
-
* Prompt for the Ollama Cloud API key.
|
|
68
|
-
*
|
|
69
|
-
* Skipped if `--yes` or the `OLLAMA_API_KEY` env var is already set.
|
|
70
|
-
*
|
|
71
|
-
* Writes the key to:
|
|
72
|
-
* 1. The provider block of opencode.json as `{env:OLLAMA_API_KEY}`
|
|
73
|
-
* 2. A `.env` file in the config dir with `OLLAMA_API_KEY=<key>`
|
|
74
|
-
*
|
|
75
|
-
* Warns the user: "Do NOT commit the .env file to git. Add .env to your .gitignore."
|
|
76
|
-
*/
|
|
77
|
-
export declare function promptOllamaApiKey(configDir: string, flags: PromptFlags): Promise<string | undefined>;
|
|
78
45
|
/**
|
|
79
46
|
* Run all interactive prompts and return a unified config.
|
|
47
|
+
*
|
|
48
|
+
* Uses a single persistent readline interface for the entire session
|
|
49
|
+
* to avoid the buffered-stdin bug where closing/reopening readline
|
|
50
|
+
* causes the next question to receive leftover input.
|
|
80
51
|
*/
|
|
81
52
|
export declare function runAllPrompts(configDir: string, flags: PromptFlags): Promise<PromptConfig>;
|
|
82
53
|
//# sourceMappingURL=prompts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/neuralgentics/prompts.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/neuralgentics/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,2CAA2C;AAC3C,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAE7C,6CAA6C;AAC7C,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;AAEnD,wDAAwD;AACxD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,WAAW,CAAC;IACrB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,aAAa,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,gDAAgD;AAChD,MAAM,WAAW,WAAW;IAC1B,gDAAgD;IAChD,GAAG,EAAE,OAAO,CAAC;IACb,sDAAsD;IACtD,QAAQ,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,IAAI,EAAE,OAAO,CAAC;IACd,qDAAqD;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,uDAAuD;IACvD,SAAS,EAAE,OAAO,CAAC;IACnB,qDAAqD;IACrD,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,mDAAmD;AACnD,eAAO,MAAM,qBAAqB,EAAE,YAGnC,CAAC;AAkKF;;;;;;GAMG;AACH,wBAAsB,aAAa,CACjC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,WAAW,GACjB,OAAO,CAAC,YAAY,CAAC,CAmCvB"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Interactive prompts for the neuralgentics two-init installer.
|
|
3
3
|
*
|
|
4
|
-
* Uses
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Uses a SINGLE persistent readline interface for the entire prompt
|
|
5
|
+
* session. This prevents the bug where closing/reopening readline
|
|
6
|
+
* causes the next question to immediately receive buffered stdin
|
|
7
|
+
* (e.g. the user's Enter keypress from the previous question).
|
|
7
8
|
*
|
|
8
9
|
* Prompt types:
|
|
9
10
|
* 1. Backend mode — pgembed (recommended) vs team server
|
|
10
11
|
* 2. Embedding mode — CPU / Auto (recommended) / GPU
|
|
11
|
-
* 3. Ollama API key — written
|
|
12
|
+
* 3. Ollama API key — optional, written to .env file
|
|
12
13
|
*/
|
|
13
14
|
import * as readline from "node:readline";
|
|
14
15
|
import * as path from "node:path";
|
|
@@ -18,24 +19,37 @@ export const DEFAULT_PROMPT_CONFIG = {
|
|
|
18
19
|
backend: "pgembed",
|
|
19
20
|
embedding: "auto",
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
/**
|
|
23
|
+
* A persistent prompt session using a single readline interface.
|
|
24
|
+
* Create one, ask all questions, then close it.
|
|
25
|
+
*/
|
|
26
|
+
class PromptSession {
|
|
27
|
+
rl;
|
|
28
|
+
constructor() {
|
|
29
|
+
this.rl = readline.createInterface({
|
|
24
30
|
input: process.stdin,
|
|
25
31
|
output: process.stdout,
|
|
26
32
|
});
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
}
|
|
34
|
+
/** Ask a question and wait for the user's answer. */
|
|
35
|
+
ask(prompt) {
|
|
36
|
+
return new Promise((resolve) => {
|
|
37
|
+
this.rl.question(prompt, (answer) => {
|
|
38
|
+
resolve(answer);
|
|
39
|
+
});
|
|
30
40
|
});
|
|
31
|
-
}
|
|
41
|
+
}
|
|
42
|
+
/** Close the readline interface. Call after all questions are done. */
|
|
43
|
+
close() {
|
|
44
|
+
this.rl.close();
|
|
45
|
+
}
|
|
32
46
|
}
|
|
33
47
|
/**
|
|
34
48
|
* Prompt for the memini-ai backend mode.
|
|
35
49
|
*
|
|
36
50
|
* Skipped if `--embedded` or `--team` is set.
|
|
37
51
|
*/
|
|
38
|
-
|
|
52
|
+
async function promptBackendMode(session, flags) {
|
|
39
53
|
if (flags.embedded)
|
|
40
54
|
return "pgembed";
|
|
41
55
|
if (flags.team)
|
|
@@ -45,7 +59,7 @@ export async function promptBackendMode(flags) {
|
|
|
45
59
|
process.stdout.write("\n? memini-ai backend:\n");
|
|
46
60
|
process.stdout.write(" > pgembed (recommended — zero Docker, just works)\n");
|
|
47
61
|
process.stdout.write(" team server (connect to shared PostgreSQL)\n");
|
|
48
|
-
const answer = await
|
|
62
|
+
const answer = await session.ask("\nChoose [pgembed]: ");
|
|
49
63
|
const trimmed = answer.trim().toLowerCase();
|
|
50
64
|
if (trimmed.startsWith("t"))
|
|
51
65
|
return "team";
|
|
@@ -56,10 +70,10 @@ export async function promptBackendMode(flags) {
|
|
|
56
70
|
*
|
|
57
71
|
* Only called when backend === "team".
|
|
58
72
|
*/
|
|
59
|
-
|
|
60
|
-
const host = (await
|
|
61
|
-
const port = (await
|
|
62
|
-
const database = (await
|
|
73
|
+
async function promptTeamConnection(session) {
|
|
74
|
+
const host = (await session.ask("? Team server IP [localhost]: ")).trim() || "localhost";
|
|
75
|
+
const port = (await session.ask("? Team server port [5432]: ")).trim() || "5432";
|
|
76
|
+
const database = (await session.ask("? Database name [neuralgentics]: ")).trim() || "neuralgentics";
|
|
63
77
|
return { host, port, database };
|
|
64
78
|
}
|
|
65
79
|
/**
|
|
@@ -67,7 +81,7 @@ export async function promptTeamConnection() {
|
|
|
67
81
|
*
|
|
68
82
|
* Skipped if `--CPU-Embed`, `--Auto-Embed`, or `--GPU-Embed` is set.
|
|
69
83
|
*/
|
|
70
|
-
|
|
84
|
+
async function promptEmbeddingMode(session, flags) {
|
|
71
85
|
if (flags.cpuEmbed)
|
|
72
86
|
return "cpu";
|
|
73
87
|
if (flags.autoEmbed)
|
|
@@ -80,7 +94,7 @@ export async function promptEmbeddingMode(flags) {
|
|
|
80
94
|
process.stdout.write(" > CPU (384-dim, fast, runs anywhere)\n");
|
|
81
95
|
process.stdout.write(" Auto (384-dim default + optional 1024-dim elevation) [recommended]\n");
|
|
82
96
|
process.stdout.write(" GPU (1024-dim only, requires CUDA/MPS)\n");
|
|
83
|
-
const answer = await
|
|
97
|
+
const answer = await session.ask("\nChoose [auto]: ");
|
|
84
98
|
const trimmed = answer.trim().toLowerCase();
|
|
85
99
|
if (trimmed.startsWith("cpu"))
|
|
86
100
|
return "cpu";
|
|
@@ -99,7 +113,7 @@ export async function promptEmbeddingMode(flags) {
|
|
|
99
113
|
*
|
|
100
114
|
* Warns the user: "Do NOT commit the .env file to git. Add .env to your .gitignore."
|
|
101
115
|
*/
|
|
102
|
-
|
|
116
|
+
async function promptOllamaApiKey(session, configDir, flags) {
|
|
103
117
|
// Skip if env var is already set.
|
|
104
118
|
if (process.env.OLLAMA_API_KEY) {
|
|
105
119
|
return process.env.OLLAMA_API_KEY;
|
|
@@ -109,14 +123,13 @@ export async function promptOllamaApiKey(configDir, flags) {
|
|
|
109
123
|
return undefined;
|
|
110
124
|
process.stdout.write("\n? Want to add your Ollama Cloud API key now? (get one at https://ollama.com)\n");
|
|
111
125
|
process.stdout.write(" You can skip and add it later to ~/.config/opencode/.env\n");
|
|
112
|
-
const wantKey = (await
|
|
126
|
+
const wantKey = (await session.ask(" [y/N]: ")).trim().toLowerCase();
|
|
113
127
|
if (!wantKey.startsWith("y")) {
|
|
114
128
|
process.stdout.write(" Skipped — provider will use {env:OLLAMA_API_KEY} placeholder.\n");
|
|
115
129
|
process.stdout.write(" Add OLLAMA_API_KEY=<your-key> to ~/.config/opencode/.env when ready.\n\n");
|
|
116
130
|
return undefined;
|
|
117
131
|
}
|
|
118
|
-
|
|
119
|
-
const key = (await askQuestion("")).trim();
|
|
132
|
+
const key = (await session.ask(" Enter your key: ")).trim();
|
|
120
133
|
if (!key) {
|
|
121
134
|
process.stdout.write(" Skipped — no key entered.\n\n");
|
|
122
135
|
return undefined;
|
|
@@ -158,21 +171,39 @@ export async function promptOllamaApiKey(configDir, flags) {
|
|
|
158
171
|
}
|
|
159
172
|
/**
|
|
160
173
|
* Run all interactive prompts and return a unified config.
|
|
174
|
+
*
|
|
175
|
+
* Uses a single persistent readline interface for the entire session
|
|
176
|
+
* to avoid the buffered-stdin bug where closing/reopening readline
|
|
177
|
+
* causes the next question to receive leftover input.
|
|
161
178
|
*/
|
|
162
179
|
export async function runAllPrompts(configDir, flags) {
|
|
163
180
|
const config = { ...DEFAULT_PROMPT_CONFIG };
|
|
164
|
-
//
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
config
|
|
181
|
+
// Check if any prompts will actually be shown.
|
|
182
|
+
// If all are skipped by flags, don't create a readline interface at all.
|
|
183
|
+
const needsBackend = !flags.embedded && !flags.team && !flags.yes;
|
|
184
|
+
const needsEmbedding = !flags.cpuEmbed && !flags.autoEmbed && !flags.gpuEmbed && !flags.yes;
|
|
185
|
+
const needsKey = !flags.yes && !process.env.OLLAMA_API_KEY;
|
|
186
|
+
if (!needsBackend && !needsEmbedding && !needsKey) {
|
|
187
|
+
return config; // All prompts skipped
|
|
188
|
+
}
|
|
189
|
+
const session = new PromptSession();
|
|
190
|
+
try {
|
|
191
|
+
// 1. Backend mode
|
|
192
|
+
config.backend = await promptBackendMode(session, flags);
|
|
193
|
+
if (config.backend === "team") {
|
|
194
|
+
const conn = await promptTeamConnection(session);
|
|
195
|
+
config.teamHost = conn.host;
|
|
196
|
+
config.teamPort = conn.port;
|
|
197
|
+
config.teamDatabase = conn.database;
|
|
198
|
+
}
|
|
199
|
+
// 2. Embedding mode
|
|
200
|
+
config.embedding = await promptEmbeddingMode(session, flags);
|
|
201
|
+
// 3. Ollama API key
|
|
202
|
+
config.ollamaApiKey = await promptOllamaApiKey(session, configDir, flags);
|
|
203
|
+
}
|
|
204
|
+
finally {
|
|
205
|
+
session.close();
|
|
171
206
|
}
|
|
172
|
-
// 2. Embedding mode
|
|
173
|
-
config.embedding = await promptEmbeddingMode(flags);
|
|
174
|
-
// 3. Ollama API key
|
|
175
|
-
config.ollamaApiKey = await promptOllamaApiKey(configDir, flags);
|
|
176
207
|
return config;
|
|
177
208
|
}
|
|
178
209
|
//# sourceMappingURL=prompts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../src/neuralgentics/prompts.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"prompts.js","sour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