SuperAPI AI 工具集

service-omni-command-center-configure

办公与效率

查看项目

更新于 10-15 21:43

技能介绍

用途:通过 Settings:OmniChannel 为 Service V2 启用 Command Center,并可选配置同一 Metadata API 契约暴露的五项主管控制项。写入流程会先检索组织完整设置文档,仅修改请求的元素,部署保留后的文档,再次检索并验证取值以及平台创建的 CommandCenterForServiceV2_L 页面和 V2 选项卡。

主要能力:支持 plan(只读)与 run(需 --apply)两种模式。可选控制项包括 --conversation-monitoring、--agent-sneak-peek、--customer-sneak-peek、--whisper-messaging、--queues-and-skills,均取 true 或 false;enableCommandCenterForServiceV2=true 始终被请求,未指定的控制项按检索原样保留。该技能不会主动禁用 V2。

使用方式:先运行 service-omni-base-settings-configure 启用 Omni 基础。命令为 bash scripts/configure-and-report.sh plan <org-alias> [options] 或 bash scripts/configure-and-report.sh run <org-alias> --apply [options]。若组织不支持 Command Center V2,改用 service-omni-supervisor-config-deploy。端到端场景中,service-omni-channel-setup-coordinate 仅在 OMNI_COMMAND_CENTER_V2=1 时调用本技能。

限制与安全:plan 只读不部署;run 必须带 --apply。仅当 IsSandbox=true、TrialExpirationDate 非空,或 OrganizationType 为 Developer Edition 或 Base Edition 时才允许写入,无生产覆盖。Settings 为整文档 Metadata API 类型,禁止部署部分或硬编码的 OmniChannel.settings-meta.xml。目标组织需具备 Enhanced Omni-Channel 与 Command Center for Service V2 发布门控,API 字段还受 Customize Application 权限门控。若检索文档未暴露 enableCommandCenterForServiceV2,则以 platform_api_unavailable 失败关闭。启用组织偏好不会授予用户访问权限,需为每位主管分配包含 CommandCenterForServiceUser 的权限集,再运行 service-omni-command-center-analyze <org> <supervisor> 验证端到端就绪。输出为单个 JSON 对象,含 status、reason_code、requested、before、after、safe_to_write、deploy_id、verification、manual_actions 与 blocking_issue。