From 8b7d5b5ffbce754aa18116af6f7199400f144be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=85=E5=91=A8=E6=B6=9B?= Date: Sun, 19 Jul 2026 08:20:08 -0700 Subject: [PATCH] refactor(agents): drop removed agent visibility field (spec 15 / ADR-0056 D8) The upcoming @objectstack/spec release removes the unenforced agent `visibility` field (objectstack-ai/framework#3216). Omit it from the two copilot agents so hotcrm typechecks against both the current and the upcoming spec. Co-Authored-By: Claude Fable 5 --- src/agents/sales-copilot.agent.ts | 1 - src/agents/service-copilot.agent.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/agents/sales-copilot.agent.ts b/src/agents/sales-copilot.agent.ts index 021b4ce8..f5c43a72 100644 --- a/src/agents/sales-copilot.agent.ts +++ b/src/agents/sales-copilot.agent.ts @@ -10,7 +10,6 @@ export const SalesCopilotAgent = defineAgent({ label: 'Sales Copilot', role: 'assistant', active: true, - visibility: 'organization', instructions: `You are the Sales Copilot — a single AI surface that helps sales reps work an account end-to-end. Use the Active Skills diff --git a/src/agents/service-copilot.agent.ts b/src/agents/service-copilot.agent.ts index 782d81f7..32249a72 100644 --- a/src/agents/service-copilot.agent.ts +++ b/src/agents/service-copilot.agent.ts @@ -7,7 +7,6 @@ export const ServiceCopilotAgent = defineAgent({ label: 'Service Copilot', role: 'assistant', active: true, - visibility: 'organization', instructions: `You are the Service Copilot — a single AI surface that helps support reps triage and resolve cases. Be empathetic and