@vercel/dream 0.2.9 → 0.2.11
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/dist/dream.js +1 -17
- package/package.json +1 -1
package/dist/dream.js
CHANGED
|
@@ -127,8 +127,7 @@ var DEFAULT_MAX_ITERATIONS = 100;
|
|
|
127
127
|
var DEFAULT_MODEL = "vercel/anthropic/claude-opus-4.6";
|
|
128
128
|
var DREAM_VERSION = readDreamVersion();
|
|
129
129
|
var DEFAULT_BOOTSTRAP_SKILL_REPOS = [
|
|
130
|
-
{ repo: "vercel-labs/agent-browser", skills: ["agent-browser"] }
|
|
131
|
-
{ repo: "vercel-labs/agent-skills", skills: ["react-best-practices"] }
|
|
130
|
+
{ repo: "vercel-labs/agent-browser", skills: ["agent-browser"] }
|
|
132
131
|
];
|
|
133
132
|
var dim = (s) => `\x1B[2m${s}\x1B[22m`;
|
|
134
133
|
var bold = (s) => `\x1B[1m${s}\x1B[22m`;
|
|
@@ -362,21 +361,6 @@ ${INDENT_MAIN}Run ${cyan("opencode")} and authenticate the ${bold(providerId)} p
|
|
|
362
361
|
server.close();
|
|
363
362
|
process.exit(1);
|
|
364
363
|
}
|
|
365
|
-
const provider = providers.data.all.find((p) => p.id === providerId);
|
|
366
|
-
const modelId = model.split("/").slice(1).join("/");
|
|
367
|
-
if (provider && modelId && !provider.models[modelId]) {
|
|
368
|
-
printError(`Model ${bold(modelId)} not found in ${bold(providerId)}`);
|
|
369
|
-
const available = Object.keys(provider.models);
|
|
370
|
-
if (available.length) {
|
|
371
|
-
printKV(
|
|
372
|
-
"available",
|
|
373
|
-
`${available.slice(0, 5).join(", ")}${available.length > 5 ? ` (+${available.length - 5} more)` : ""}`
|
|
374
|
-
);
|
|
375
|
-
}
|
|
376
|
-
printLine();
|
|
377
|
-
server.close();
|
|
378
|
-
process.exit(1);
|
|
379
|
-
}
|
|
380
364
|
printSuccess(`Provider ${bold(providerId)} connected`);
|
|
381
365
|
printLine();
|
|
382
366
|
}
|