bamboo-agents 0.1.5-dev.56.68a2b19 → 0.1.5-dev.57.9905e44

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5-dev.56.68a2b19
1
+ 0.1.5-dev.57.9905e44
package/dist/index.js CHANGED
@@ -3037,7 +3037,7 @@ var VERSION;
3037
3037
  var init_version = __esm({
3038
3038
  "src/version.ts"() {
3039
3039
  "use strict";
3040
- VERSION = "0.1.5-dev.56.68a2b19";
3040
+ VERSION = "0.1.5-dev.57.9905e44";
3041
3041
  }
3042
3042
  });
3043
3043
 
@@ -7507,9 +7507,7 @@ var init_agents = __esm({
7507
7507
  });
7508
7508
  CliEnableTemplateRequestSchema = external_exports.object({
7509
7509
  template_id: external_exports.string().min(1),
7510
- brand_id: external_exports.string().uuid(),
7511
- approval_emoji: external_exports.string().optional(),
7512
- system_prompt: external_exports.string().optional()
7510
+ brand_id: external_exports.string().uuid()
7513
7511
  });
7514
7512
  CliEnableTemplateResponseSchema = external_exports.object({
7515
7513
  agent_id: external_exports.string().uuid(),
@@ -12339,7 +12337,7 @@ var init_brand = __esm({
12339
12337
  "../../src/lib/api-contracts/cli/brand.ts"() {
12340
12338
  init_zod();
12341
12339
  BrandUpdateRequestSchema = external_exports.object({
12342
- website_url: external_exports.string().url().max(2048)
12340
+ website_url: external_exports.union([external_exports.literal(""), external_exports.string().url().max(2048)])
12343
12341
  });
12344
12342
  BrandUpdateResponseSchema = external_exports.object({
12345
12343
  brand_id: external_exports.string(),
@@ -17432,9 +17430,7 @@ async function runAgentsEnableTemplate(agentRef, options) {
17432
17430
  const row = await resolveAgentRef(session, agentRef, opts);
17433
17431
  const body = {
17434
17432
  template_id: options.template,
17435
- brand_id: options.brand,
17436
- ...options.emoji ? { approval_emoji: options.emoji } : {},
17437
- ...options.systemPrompt ? { system_prompt: options.systemPrompt } : {}
17433
+ brand_id: options.brand
17438
17434
  };
17439
17435
  try {
17440
17436
  const res = await enableTemplateCliAgent(session, row.id, body);
@@ -17879,7 +17875,7 @@ agents.command("clone <source> <target>").description("Clone files (+ brands) fr
17879
17875
  await runAgentsClone2(source, target, options);
17880
17876
  }
17881
17877
  );
17882
- agents.command("enable-template <agent>").description("Apply a template to an agent (template-only; Slack channel binding is set in the UI)").requiredOption("--template <id>", "Template id (e.g. marketing_account_manager)").requiredOption("--brand <id>", "Brand id to scope the template to").option("--emoji <name>", "Slack approval emoji short-name (defaults to the template's)").option("--system-prompt <text>", "Override the template's default system prompt").option("--json", "Emit a JSON envelope for agent consumption").option("--fields <list>", "Project only these dotted field paths from data (comma-separated)").option("--quiet", "Suppress human chatter (data/errors only)").option("--no-sync", "Skip the auto-sync git pull on this command").action(
17878
+ agents.command("enable-template <agent>").description("Apply a template to an agent (template-only; Slack channel binding is set in the UI)").requiredOption("--template <id>", "Template id (e.g. marketing_account_manager)").requiredOption("--brand <id>", "Brand id to scope the template to").option("--json", "Emit a JSON envelope for agent consumption").option("--fields <list>", "Project only these dotted field paths from data (comma-separated)").option("--quiet", "Suppress human chatter (data/errors only)").option("--no-sync", "Skip the auto-sync git pull on this command").action(
17883
17879
  async (agent, options) => {
17884
17880
  const { runAgentsEnableTemplate: runAgentsEnableTemplate2 } = await Promise.resolve().then(() => (init_agents2(), agents_exports2));
17885
17881
  await runAgentsEnableTemplate2(agent, options);