demian-cli 1.0.7 → 1.0.9
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 +13 -2
- package/dist/cli.mjs +1838 -359
- package/dist/index.mjs +1022 -260
- package/dist/tui.mjs +27004 -25460
- package/dist/vscode-worker.mjs +1607 -295
- package/docs/ko/README.md +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,8 +116,11 @@ Create `~/.demian/config.jsond`:
|
|
|
116
116
|
"openai": {
|
|
117
117
|
"type": "openai-compatible",
|
|
118
118
|
"baseURL": "https://api.openai.com/v1",
|
|
119
|
+
"apiKey": "",
|
|
119
120
|
"apiKeyEnv": "OPENAI_API_KEY",
|
|
120
|
-
"
|
|
121
|
+
"modelProfiles": [
|
|
122
|
+
{ "name": "main", "displayName": "GPT 5.5", "model": "gpt-5.5" }
|
|
123
|
+
]
|
|
121
124
|
}
|
|
122
125
|
}
|
|
123
126
|
}
|
|
@@ -130,6 +133,11 @@ export OPENAI_API_KEY="..."
|
|
|
130
133
|
demian --provider openai --model gpt-5.5
|
|
131
134
|
```
|
|
132
135
|
|
|
136
|
+
Providers that can expose many local or self-hosted models, such as `lmstudio`,
|
|
137
|
+
`ollama-local`, `ollama-cloud`, `llamacpp`, and `vllm`, also use
|
|
138
|
+
`modelProfiles`. Add one array entry per model you want to show in the model
|
|
139
|
+
selector.
|
|
140
|
+
|
|
133
141
|
### Local Model Example: Ollama
|
|
134
142
|
|
|
135
143
|
```sh
|
|
@@ -307,12 +315,15 @@ Demian supports Brave, Tavily, and Exa through the `web_search` tool.
|
|
|
307
315
|
"defaultProvider": "brave",
|
|
308
316
|
"providers": {
|
|
309
317
|
"brave": {
|
|
318
|
+
"apiKey": "",
|
|
310
319
|
"apiKeyEnv": "BRAVE_SEARCH_API_KEY"
|
|
311
320
|
},
|
|
312
321
|
"tavily": {
|
|
322
|
+
"apiKey": "",
|
|
313
323
|
"apiKeyEnv": "TAVILY_API_KEY"
|
|
314
324
|
},
|
|
315
325
|
"exa": {
|
|
326
|
+
"apiKey": "",
|
|
316
327
|
"apiKeyEnv": "EXA_API_KEY"
|
|
317
328
|
}
|
|
318
329
|
}
|
|
@@ -334,7 +345,7 @@ Demian uses both user-level and project-level storage:
|
|
|
334
345
|
- `.demian/goals/`: active and archived goal state.
|
|
335
346
|
- `.demian/`: transcripts and workspace-scoped runtime files.
|
|
336
347
|
|
|
337
|
-
|
|
348
|
+
Leave `apiKey` empty and prefer `apiKeyEnv` for shared project config. Paste into `apiKey` only for local private config.
|
|
338
349
|
|
|
339
350
|
## Troubleshooting
|
|
340
351
|
|