superceo 0.3.5 → 0.3.6

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
@@ -67262,7 +67262,7 @@ ${message}`);
67262
67262
  toolUseSystemBase,
67263
67263
  "",
67264
67264
  "TOOL USE IS ENABLED. You have live access to the Paperclip API via the Bash tool plus the bundled `paperclip` skill (loaded from .claude/skills). Use `curl` against the local API at $PAPERCLIP_API_URL to read or write any resource the operator references \u2014 issues, comments, leads, documents, goals, agents, plugins, approvals. Do NOT say you lack access; you have it.",
67265
- 'Plugin tools (e.g. `cutjam.twitter-social-data:search-tweets`) are agent-callable: POST /api/plugins/tools/execute with Authorization: Bearer $PAPERCLIP_API_KEY, and a runContext where agentId === $PAPERCLIP_AGENT_ID and companyId === $PAPERCLIP_COMPANY_ID (projectId must be a non-empty string like "none"). If a plugin route returns 403, that\'s an auth-shape issue (wrong Bearer, mismatched runContext.agentId, or you hit a board-only admin route) \u2014 diagnose and retry. Do NOT fall back to WebSearch and do NOT claim the plugin is unavailable; the plugin tool surface is yours to use.',
67265
+ 'Plugin tools (e.g. `<vendor>.<plugin>:<tool>`) are agent-callable: POST /api/plugins/tools/execute with Authorization: Bearer $PAPERCLIP_API_KEY, and a runContext where agentId === $PAPERCLIP_AGENT_ID and companyId === $PAPERCLIP_COMPANY_ID (projectId must be a non-empty string like "none"). If a plugin route returns 403, that\'s an auth-shape issue (wrong Bearer, mismatched runContext.agentId, or you hit a board-only admin route) \u2014 diagnose and retry. Do NOT fall back to WebSearch and do NOT claim the plugin is unavailable; the plugin tool surface is yours to use.',
67266
67266
  "When tool results contain two or more issues, leads, agents, or comparable rows, summarize them in the final JSON `reply` using the same markdown table rules as the main system prompt (no paragraph-only ID lists).",
67267
67267
  "",
67268
67268
  `${writeAttribution} If the operator hasn't clearly asked for a write, prefer reading first or proposing it back via the JSON proposals field rather than executing.`
@@ -91584,8 +91584,8 @@ var init_src2 = __esm({
91584
91584
  loadPaperclipEnvFile(options2.config);
91585
91585
  initTelemetryFromConfigFile(options2.config);
91586
91586
  });
91587
- program.command("onboard").description("Interactive first-run setup wizard").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("-y, --yes", "Accept defaults (quickstart + start immediately)", false).option("--run", "Start Paperclip immediately after saving config", false).action(onboard);
91588
- program.command("doctor").description("Run diagnostic checks on your Paperclip setup").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("--repair", "Attempt to repair issues automatically").alias("--fix").option("-y, --yes", "Skip repair confirmation prompts").action(async (opts) => {
91587
+ program.command("onboard").description("Interactive first-run setup wizard").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("-y, --yes", "Accept defaults (quickstart + start immediately)", false).option("--run", `Start ${brand.name} immediately after saving config`, false).action(onboard);
91588
+ program.command("doctor").description(`Run diagnostic checks on your ${brand.name} setup`).option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("--repair", "Attempt to repair issues automatically").alias("--fix").option("-y, --yes", "Skip repair confirmation prompts").action(async (opts) => {
91589
91589
  await doctor(opts);
91590
91590
  });
91591
91591
  program.command("env").description("Print environment variables for deployment").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).action(envCommand);
@@ -91594,9 +91594,9 @@ var init_src2 = __esm({
91594
91594
  await dbBackupCommand(opts);
91595
91595
  });
91596
91596
  program.command("allowed-hostname").description("Allow a hostname for authenticated/private mode access").argument("<host>", "Hostname to allow (for example dotta-macbook-pro)").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).action(addAllowedHostname);
91597
- program.command("run").description("Bootstrap local setup (onboard + doctor) and run Paperclip").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("-i, --instance <id>", "Local instance id (default: default)").option("--repair", "Attempt automatic repairs during doctor", true).option("--no-repair", "Disable automatic repairs during doctor").action(runCommand);
91597
+ program.command("run").description(`Bootstrap local setup (onboard + doctor) and run ${brand.name}`).option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("-i, --instance <id>", "Local instance id (default: default)").option("--repair", "Attempt automatic repairs during doctor", true).option("--no-repair", "Disable automatic repairs during doctor").action(runCommand);
91598
91598
  heartbeat = program.command("heartbeat").description("Heartbeat utilities");
91599
- heartbeat.command("run").description("Run one agent heartbeat and stream live logs").requiredOption("-a, --agent-id <agentId>", "Agent ID to invoke").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("--context <path>", "Path to CLI context file").option("--profile <name>", "CLI context profile name").option("--api-base <url>", "Base URL for the Paperclip server API").option("--api-key <token>", "Bearer token for agent-authenticated calls").option(
91599
+ heartbeat.command("run").description("Run one agent heartbeat and stream live logs").requiredOption("-a, --agent-id <agentId>", "Agent ID to invoke").option("-c, --config <path>", "Path to config file").option("-d, --data-dir <path>", DATA_DIR_OPTION_HELP).option("--context <path>", "Path to CLI context file").option("--profile <name>", "CLI context profile name").option("--api-base <url>", `Base URL for the ${brand.name} server API`).option("--api-key <token>", "Bearer token for agent-authenticated calls").option(
91600
91600
  "--source <source>",
91601
91601
  "Invocation source (timer | assignment | on_demand | automation)",
91602
91602
  "on_demand"