@standardagents/cli 0.17.0-next.1e58032 → 0.17.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/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -239,7 +239,7 @@ function getScaffoldStandardAgentsVersion() {
|
|
|
239
239
|
if (process.env.STANDARDAGENTS_WORKSPACE === "1") {
|
|
240
240
|
return "workspace:*";
|
|
241
241
|
}
|
|
242
|
-
return "0.17.0
|
|
242
|
+
return "0.17.0";
|
|
243
243
|
}
|
|
244
244
|
function findViteConfig(cwd) {
|
|
245
245
|
const candidates = ["vite.config.ts", "vite.config.js", "vite.config.mts", "vite.config.mjs"];
|
|
@@ -1536,7 +1536,7 @@ async function ensurePlatformAuth(options, quietLogs = false, context = {}) {
|
|
|
1536
1536
|
return { connected: true, mode: "standardagents" };
|
|
1537
1537
|
}
|
|
1538
1538
|
function getCliVersion() {
|
|
1539
|
-
return "0.17.0
|
|
1539
|
+
return "0.17.0";
|
|
1540
1540
|
}
|
|
1541
1541
|
function getSipVersion() {
|
|
1542
1542
|
return "1.0.1";
|
|
@@ -4512,6 +4512,13 @@ var CURRENT_MODELS_URLS = [
|
|
|
4512
4512
|
"https://standardagentspec.com/models.md"
|
|
4513
4513
|
];
|
|
4514
4514
|
var PROVIDER_DEFINITIONS = [
|
|
4515
|
+
{
|
|
4516
|
+
name: "anthropic",
|
|
4517
|
+
packageName: "@standardagents/anthropic",
|
|
4518
|
+
exportName: "anthropic",
|
|
4519
|
+
label: "Anthropic",
|
|
4520
|
+
envKeys: ["ANTHROPIC_API_KEY"]
|
|
4521
|
+
},
|
|
4515
4522
|
{
|
|
4516
4523
|
name: "cloudflare",
|
|
4517
4524
|
packageName: "@standardagents/cloudflare",
|
|
@@ -5162,7 +5169,7 @@ async function settleStdinForInitHandoff(stdin = process.stdin) {
|
|
|
5162
5169
|
}
|
|
5163
5170
|
}
|
|
5164
5171
|
var program = new Command();
|
|
5165
|
-
program.name("agents").description("CLI tool for Standard Agents / AgentBuilder").version("0.17.0
|
|
5172
|
+
program.name("agents").description("CLI tool for Standard Agents / AgentBuilder").version("0.17.0");
|
|
5166
5173
|
program.command("init [project-name]").description("Create a new Standard Agents project").option("-y, --yes", "Skip prompts and use defaults").option("--local", "Use local project scaffolding instead of browser platform onboarding").option("--cli", "Use classic line-by-line CLI prompts instead of the TUI wizard").option("--api-url <url>", "Standard Agents platform API URL").option("--endpoint <url>", "Platform API endpoint for auth/bootstrap exchange").option("--package-manager <manager>", "Package manager for generated project: npm, pnpm, yarn, or bun").option("--template <template>", "Vite template to use", "vanilla-ts").option("--workspace", "Install @standardagents packages as workspace:* (local pnpm workspace development)").option("--no-dev", "Clone and configure the project without starting the dev server").addOption(new Option("--bootstrap <code>", "Exchange a web onboarding bootstrap code")).action(init);
|
|
5167
5174
|
program.command("login").description("Authenticate this machine (or use --bootstrap for project bootstrap auth)").option("--bootstrap <code>", "Bootstrap code from web onboarding").option("--endpoint <url>", "Platform API endpoint (default: https://api.standardagents.ai)").option("--no-open", "Do not auto-open browser URL").action(login);
|
|
5168
5175
|
program.command("logout").description("Clear stored StandardAgents auth and local org-scoped project auth").option("--org <org-id-or-slug>", "Org ID or slug to logout (defaults to active org)").option("--endpoint <url>", "Platform API endpoint (default: https://api.standardagents.ai)").action(logout);
|