create-loopengine 0.1.39 → 0.1.41
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/package.json +2 -2
- package/template/adapters/http.ts +10 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-loopengine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"description": "Scaffold a new loopengine agent project — a runnable HTTP server with one example agent, in your own repo.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://loopengine.co",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/loopengine-co/create-loopengine.git"
|
|
11
11
|
},
|
|
12
12
|
"bin": {
|
|
13
13
|
"create-loopengine": "dist/cli.js"
|
|
@@ -356,7 +356,16 @@ async function describeAgent(entry: RegistryEntry): Promise<Record<string, unkno
|
|
|
356
356
|
name: config.name,
|
|
357
357
|
systemPrompt: config.systemPrompt,
|
|
358
358
|
model: config.model
|
|
359
|
-
? {
|
|
359
|
+
? {
|
|
360
|
+
provider: config.model.provider,
|
|
361
|
+
model: config.model.model,
|
|
362
|
+
maxTokens: config.model.maxTokens,
|
|
363
|
+
// Only the 'openai' variant of AgentModelConfig carries this —
|
|
364
|
+
// an `in` check rather than a cast, so a provider that can
|
|
365
|
+
// never have it just reports undefined instead of needing its
|
|
366
|
+
// own narrowing branch here.
|
|
367
|
+
reasoningEffort: 'reasoningEffort' in config.model ? config.model.reasoningEffort : undefined,
|
|
368
|
+
}
|
|
360
369
|
: 'custom (module exports its own createModelCall)',
|
|
361
370
|
maxTurns: config.maxTurns ?? 25,
|
|
362
371
|
contextBudgetTokens: config.contextBudgetTokens ?? 100000,
|