@standardagents/cli 0.43.0 → 0.44.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 CHANGED
@@ -265,7 +265,7 @@ function getScaffoldStandardAgentsVersion() {
265
265
  if (process.env.STANDARDAGENTS_WORKSPACE === "1") {
266
266
  return "workspace:*";
267
267
  }
268
- return "0.43.0";
268
+ return "0.44.0";
269
269
  }
270
270
  function findViteConfig(cwd) {
271
271
  const candidates = ["vite.config.ts", "vite.config.js", "vite.config.mts", "vite.config.mjs"];
@@ -1567,7 +1567,7 @@ async function ensurePlatformAuth(options, quietLogs = false, context = {}) {
1567
1567
  return { connected: true, mode: "standardagents" };
1568
1568
  }
1569
1569
  function getCliVersion() {
1570
- return "0.43.0";
1570
+ return "0.44.0";
1571
1571
  }
1572
1572
  function getSipVersion() {
1573
1573
  return "1.0.1";
@@ -4073,6 +4073,16 @@ async function pack(agentName, options) {
4073
4073
  sharedWith: hook.sharedWith
4074
4074
  });
4075
4075
  }
4076
+ for (const handler of analysis.constituents.handlers) {
4077
+ selectionItems.push({
4078
+ name: handler.name,
4079
+ type: "handler",
4080
+ filePath: handler.filePath,
4081
+ mode: handler.sharedWith.length > 0 ? "copy" : "extract",
4082
+ isShared: handler.sharedWith.length > 0,
4083
+ sharedWith: handler.sharedWith
4084
+ });
4085
+ }
4076
4086
  let itemSelections;
4077
4087
  if (!options.noInteractive && process.stdin.isTTY && selectionItems.length > 0) {
4078
4088
  console.log("");
@@ -4662,6 +4672,7 @@ async function skill(options = {}) {
4662
4672
  logger.log(" Restart Claude Code if it is already running");
4663
4673
  logger.log(` Edit ${installedPath} to continue customizing the subagent`);
4664
4674
  }
4675
+ logger.log(" Install the specification skill: npx skills add standardagents/skills@spec");
4665
4676
  } catch (error) {
4666
4677
  logger.log("");
4667
4678
  logger.error(error instanceof Error ? error.message : "Failed to install skill");
@@ -5827,7 +5838,7 @@ async function settleStdinForInitHandoff(stdin = process.stdin) {
5827
5838
  }
5828
5839
  }
5829
5840
  var program = new Command();
5830
- program.name("agents").description("CLI tool for Standard Agents / AgentBuilder").version("0.43.0");
5841
+ program.name("agents").description("CLI tool for Standard Agents / AgentBuilder").version("0.44.0");
5831
5842
  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);
5832
5843
  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);
5833
5844
  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);