create-curb 1.31.0-preview.2 → 1.31.0
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/RELEASE_NOTES.md +5 -0
- package/bin/create-curb.js +6 -2
- package/package.json +1 -1
- package/templates/default/AGENTS.md +3 -2
package/RELEASE_NOTES.md
CHANGED
package/bin/create-curb.js
CHANGED
|
@@ -42,7 +42,7 @@ Options:
|
|
|
42
42
|
--stt <provider> kugelaudio | azure | deepgram | elevenlabs | openai (default kugelaudio)
|
|
43
43
|
--llm <provider> kugelaudio | anthropic | openai | openai-compatible (default kugelaudio)
|
|
44
44
|
--tts <provider> kugelaudio | cartesia | elevenlabs | openai (default kugelaudio)
|
|
45
|
-
--model <id> LLM model id (default auto on KugelAudio:
|
|
45
|
+
--model <id> LLM model id (default auto on KugelAudio: KugelAudio's own LLM, on its AI gateway)
|
|
46
46
|
--stt-model <id> STT model id (deepgram, elevenlabs, or openai only)
|
|
47
47
|
--tts-model <id> TTS model id (provider default otherwise)
|
|
48
48
|
--llm-base-url <url> Endpoint for --llm openai-compatible
|
|
@@ -319,7 +319,11 @@ function applyCliSelections() {
|
|
|
319
319
|
if (answers.llm === "kugelaudio" && answers.agentModel === "auto" && !FRAMEWORK_TAKES_AUTO) {
|
|
320
320
|
fail(`--model auto needs curb.js ${ownVersion}; ${frameworkSpec} does not take it. Choose one of: ${KUGELAUDIO_LLM_MODELS.join(", ")}.`);
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
// This version's framework takes any model id of KugelAudio's AI gateway; an older one only its list.
|
|
323
|
+
if (answers.llm === "kugelaudio" && FRAMEWORK_TAKES_AUTO && !/^\S+$/.test(answers.agentModel)) {
|
|
324
|
+
fail(`Invalid --model "${answers.agentModel}". Pass a model id of KugelAudio's AI gateway, for example ${KUGELAUDIO_LLM_MODELS.join(", ")}.`);
|
|
325
|
+
}
|
|
326
|
+
if (answers.llm === "kugelaudio" && !FRAMEWORK_TAKES_AUTO) validate("model", answers.agentModel, KUGELAUDIO_LLM_MODELS);
|
|
323
327
|
if (cli.llmBaseUrl) answers.llmBaseUrl = cli.llmBaseUrl;
|
|
324
328
|
if (cli.sttModel !== undefined && (answers.stt === "kugelaudio" || answers.stt === "azure")) {
|
|
325
329
|
fail(`--stt-model does not apply to --stt ${answers.stt}. Omit --stt-model for this provider.`);
|
package/package.json
CHANGED
|
@@ -13,8 +13,9 @@ machine without a browser). Run it in the background and read its output unpiped
|
|
|
13
13
|
`| head` holds the link back until the command ends. There is no key to copy; never ask for a key in the chat. A `KUGELAUDIO_API_KEY` the user sets in `.env` or the environment (an
|
|
14
14
|
API key from the dashboard, for CI or a server) also works and wins over the login. Another
|
|
15
15
|
LLM (`anthropic()`, `openai()`, `openaiCompatible()`) is one `llm` prop away and brings its
|
|
16
|
-
own key.
|
|
17
|
-
|
|
16
|
+
own key. `kugelaudio.llm({ model })` takes any model id of KugelAudio's AI gateway on the same
|
|
17
|
+
login, and `<WebSearch />` lets the model search the web on it. A turn answered 403
|
|
18
|
+
`MODEL_NOT_ENABLED` means the gateway does not serve the user's organization yet: they ask
|
|
18
19
|
hello@kugelaudio.com, or the agent uses another LLM meanwhile.
|
|
19
20
|
|
|
20
21
|
**Without a shell** (claude.ai, the Claude desktop chat), or when the person asks for it, build
|