bailinghub 0.5.1 → 0.6.1
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/README.en.md +146 -185
- package/README.md +135 -207
- package/THIRD_PARTY_NOTICES.md +6 -7
- package/assets/readme-demo-evidence.en-dark.svg +82 -0
- package/assets/readme-demo-evidence.en.svg +82 -0
- package/assets/readme-demo-evidence.zh-CN-dark.svg +82 -0
- package/assets/readme-demo-evidence.zh-CN.svg +82 -0
- package/assets/readme-entry-points.en-dark.svg +71 -0
- package/assets/readme-entry-points.en.svg +71 -0
- package/assets/readme-entry-points.zh-CN-dark.svg +71 -0
- package/assets/readme-entry-points.zh-CN.svg +71 -0
- package/assets/readme-product-overview.en-dark.svg +87 -0
- package/assets/readme-product-overview.en.svg +87 -0
- package/assets/readme-product-overview.zh-CN-dark.svg +87 -0
- package/assets/readme-product-overview.zh-CN.svg +87 -0
- package/docker-compose.images.yml +2 -2
- package/docs/AGENT_CLIENT_QUICKSTART.en.md +29 -8
- package/docs/AGENT_CLIENT_QUICKSTART.md +25 -6
- package/docs/AGENT_CONVERSATION_AUDIT.en.md +194 -0
- package/docs/AGENT_CONVERSATION_AUDIT.md +111 -0
- package/docs/CHANGELOG.en.md +21 -0
- package/docs/CHANGELOG.md +21 -0
- package/docs/INDEPENDENT_VALIDATION.en.md +4 -4
- package/docs/INDEPENDENT_VALIDATION.md +4 -4
- package/docs/README.en.md +7 -0
- package/docs/README.md +7 -0
- package/docs/RELEASE_NOTES_v0.6.0.en.md +53 -0
- package/docs/RELEASE_NOTES_v0.6.0.md +53 -0
- package/docs/RELEASE_NOTES_v0.6.1.en.md +53 -0
- package/docs/RELEASE_NOTES_v0.6.1.md +53 -0
- package/docs/user-guide/README.en.md +1 -0
- package/docs/user-guide/README.md +1 -0
- package/docs/user-guide/console-map.en.md +2 -0
- package/docs/user-guide/console-map.md +2 -1
- package/docs/user-guide/conversations.en.md +40 -0
- package/docs/user-guide/conversations.md +40 -0
- package/package.json +1 -1
- package/scripts/check-doc-links.mjs +3 -0
- package/scripts/check-image-tags.sh +1 -1
- package/scripts/check-release-consistency.test.mjs +2 -2
- package/scripts/e2e-console.mjs +89 -0
- package/scripts/generate-readme-assets.mjs +488 -7
- package/scripts/install.sh +1 -1
- package/scripts/publish-images.sh +1 -1
- package/scripts/release-audit.mjs +2 -0
- package/scripts/verify-github-repo.mjs +2 -0
- package/sql/057_agent_conversation_audit.sql +55 -0
- package/src/app/agent-conversation-audit.ts +30 -0
- package/src/core/runtime/agent-conversation-audit.test.ts +38 -0
- package/src/core/runtime/agent-conversation-audit.ts +159 -0
- package/src/infrastructure/config/config-agent-conversation-audit-repository.test.ts +146 -0
- package/src/infrastructure/config/config-agent-conversation-audit-repository.ts +262 -0
- package/src/infrastructure/config/configstore.ts +5 -0
- package/src/routes/admin-conversation-audit.ts +46 -0
- package/src/routes/admin-runtime.test.ts +38 -0
- package/src/routes/admin-runtime.ts +14 -3
- package/src/routes/admin.ts +3 -0
- package/src/routes/agent-api.ts +2 -0
- package/src/routes/agent-conversation-audit.test.ts +131 -0
- package/src/routes/agent-conversation-audit.ts +33 -0
- package/src/test-support/agent-conversation-audit-fixture.ts +123 -0
- package/web/console/assets/{Accounts-r10QUjLQ.js → Accounts-Ca_VnSu9.js} +1 -1
- package/web/console/assets/{AgentClients-UTTqbkjy.js → AgentClients-BPIvlLYY.js} +1 -1
- package/web/console/assets/{Approvals-BGKkYIya.js → Approvals-CMvPWacY.js} +1 -1
- package/web/console/assets/{Audit-CQmjOAoO.js → Audit-CIRqOCnL.js} +1 -1
- package/web/console/assets/{BrandLockup-BF_0pCa3.js → BrandLockup-BrytmTTH.js} +1 -1
- package/web/console/assets/{Channels-C4yZE67F.js → Channels-CApxH2TB.js} +1 -1
- package/web/console/assets/{ChatEntries-OqsqLjU6.js → ChatEntries-CJon3bWJ.js} +1 -1
- package/web/console/assets/{Clients-Dv3sv51C.js → Clients-BSA1rlTB.js} +1 -1
- package/web/console/assets/{Cost-C_-kiH59.js → Cost-BbhlQFP8.js} +1 -1
- package/web/console/assets/{Credentials-CPTEAiV6.js → Credentials-kqr1W0K7.js} +1 -1
- package/web/console/assets/{Diagnostics-O-NKFOeI.js → Diagnostics-Kljt9XTH.js} +1 -1
- package/web/console/assets/{Executors-GVIAiNgv.js → Executors-DnsB-Xz4.js} +1 -1
- package/web/console/assets/{Kb-BsCWkJI1.js → Kb-DLZSAFWP.js} +2 -2
- package/web/console/assets/{Login-VFjkHNMr.js → Login-DiTjPWmN.js} +1 -1
- package/web/console/assets/{Projects-Ds-sJwfy.js → Projects-CXcVCgCD.js} +1 -1
- package/web/console/assets/{Routes-Wwurw2UU.js → Routes-DN9_d9Po.js} +1 -1
- package/web/console/assets/Runs-Cwbe6thL.js +3 -0
- package/web/console/assets/Runs-D8UmjP5G.css +1 -0
- package/web/console/assets/{Setup-BLelw0_V.js → Setup-FqoCKmfZ.js} +1 -1
- package/web/console/assets/{Shell-CvaeK4j_.js → Shell-BEqpONiy.js} +1 -1
- package/web/console/assets/{StorageBuckets-Dv6u47yO.js → StorageBuckets-CkORbYXY.js} +1 -1
- package/web/console/assets/{SystemSettings-B9K7zaDU.js → SystemSettings-gTQAazu7.js} +1 -1
- package/web/console/assets/{SystemStatus-H-oKDo-y.js → SystemStatus-DAmUUNqO.js} +1 -1
- package/web/console/assets/{Targets-CCFhjPKf.js → Targets-CZmDcjsE.js} +1 -1
- package/web/console/assets/{Tools-D0H9xpFH.js → Tools-CIHInlHL.js} +1 -1
- package/web/console/assets/{index-CuoTgf6q.js → index-BkLbd7Cc.js} +2 -2
- package/web/console/assets/{index-DyX9Bz3V.js → index-QnmD7N7F.js} +1 -1
- package/web/console/assets/{request-F5lXa7Ro.js → request-r7GHVJzw.js} +1 -1
- package/web/console/assets/{schema-DUWaWqPn.js → schema-BVn_hB7M.js} +1 -1
- package/web/console/assets/vendor-mammoth-BUEEDX6A.js +231 -0
- package/web/console/index.html +1 -1
- package/web-admin/package-lock.json +3 -3
- package/web-admin/src/components/ClientConversations.vue +244 -0
- package/web-admin/src/components/conversation-audit.ts +121 -0
- package/web-admin/src/pages/Runs.vue +73 -17
- package/web-admin/tests/conversation-audit.fixture.mjs +182 -0
- package/web-admin/tests/conversation-audit.test.mjs +93 -0
- package/web/console/assets/Runs-4zDD9VOC.css +0 -1
- package/web/console/assets/Runs-DLPzXmSy.js +0 -3
- package/web/console/assets/vendor-mammoth-nXG51Cg7.js +0 -231
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 900" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">把一句话变成可核对的后台操作</title>
|
|
3
|
+
<desc id="desc">用户通过自然语言提出目标,BailingHub 处理可信身份、能力范围、审批和审计,已有业务系统完成最终授权与真实执行。</desc>
|
|
4
|
+
<defs><marker id="overview-arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" fill="#3fb950"/></marker></defs>
|
|
5
|
+
<rect width="1600" height="900" fill="#0d1117"/>
|
|
6
|
+
<path d="M 0 0 H 1600 V 7 H 0 Z" fill="#3fb950"/>
|
|
7
|
+
<text x="80" y="55" fill="#3fb950" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">BAILINGHUB · 不只回答问题</text>
|
|
8
|
+
<text x="80" y="108" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="46" font-weight="800" text-anchor="start">把一句话变成可核对的后台操作</text>
|
|
9
|
+
<text x="80" y="148" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="21" font-weight="500" text-anchor="start">不用重做商城、SaaS、CRM 或 ERP,也不用让 AI 直连数据库。</text>
|
|
10
|
+
<rect x="80" y="185" width="410" height="455" rx="18" fill="#161b22" stroke="#30363d" stroke-width="2"/>
|
|
11
|
+
<text x="110" y="225" fill="#3fb950" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">01 · 直接说目标</text>
|
|
12
|
+
<rect x="110" y="255" width="350" height="315" rx="14" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
13
|
+
<circle cx="132" cy="278" r="5" fill="#3fb950"/>
|
|
14
|
+
<text x="148" y="284" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" font-weight="650" text-anchor="start">我已连接当前业务后台</text>
|
|
15
|
+
<rect x="130" y="315" width="270" height="58" rx="15" fill="#1c242d" stroke="#1c242d" stroke-width="1"/>
|
|
16
|
+
<text x="150" y="351" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="500" text-anchor="start">今天先处理哪些订单?</text>
|
|
17
|
+
<rect x="160" y="400" width="270" height="104" rx="15" fill="#12261a" stroke="#3fb950" stroke-width="2"/>
|
|
18
|
+
<text x="180" y="439" fill="#56d364" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="700" text-anchor="start">查询未发货订单,</text>
|
|
19
|
+
<text x="180" y="470" fill="#56d364" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="700" text-anchor="start">为异常订单创建待处理工单。</text>
|
|
20
|
+
<rect x="130" y="532" width="210" height="10" rx="5" fill="#1c242d"/>
|
|
21
|
+
<text x="110" y="610" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">自然语言会话</text>
|
|
22
|
+
<path d="M 490 412 H 550" fill="none" stroke="#3fb950" stroke-width="4" marker-end="url(#overview-arrow)"/>
|
|
23
|
+
<rect x="565" y="185" width="470" height="455" rx="18" fill="#12261a" stroke="#3fb950" stroke-width="3"/>
|
|
24
|
+
<text x="595" y="225" fill="#56d364" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">02 · BAILINGHUB</text>
|
|
25
|
+
<text x="595" y="265" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="25" font-weight="800" text-anchor="start">把目标变成受控业务动作</text>
|
|
26
|
+
<rect x="595" y="294" width="410" height="64" rx="12" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
27
|
+
<rect x="611" y="311" width="30" height="30" rx="8" fill="#0c2d4a"/>
|
|
28
|
+
<text x="626" y="333" fill="#58a6ff" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">1</text>
|
|
29
|
+
<text x="657" y="321" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">可信身份</text>
|
|
30
|
+
<text x="657" y="344" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">这次操作代表谁</text>
|
|
31
|
+
<rect x="595" y="372" width="410" height="64" rx="12" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
32
|
+
<rect x="611" y="389" width="30" height="30" rx="8" fill="#0c2d4a"/>
|
|
33
|
+
<text x="626" y="411" fill="#58a6ff" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">2</text>
|
|
34
|
+
<text x="657" y="399" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">能力选择</text>
|
|
35
|
+
<text x="657" y="422" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">只使用已接入能力</text>
|
|
36
|
+
<rect x="595" y="450" width="410" height="64" rx="12" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
37
|
+
<rect x="611" y="467" width="30" height="30" rx="8" fill="#3d2f13"/>
|
|
38
|
+
<text x="626" y="489" fill="#d29922" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">3</text>
|
|
39
|
+
<text x="657" y="477" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">风险与审批</text>
|
|
40
|
+
<text x="657" y="500" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">该停下时先交给人</text>
|
|
41
|
+
<rect x="595" y="528" width="410" height="64" rx="12" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
42
|
+
<rect x="611" y="545" width="30" height="30" rx="8" fill="#0c2d4a"/>
|
|
43
|
+
<text x="626" y="567" fill="#58a6ff" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">4</text>
|
|
44
|
+
<text x="657" y="555" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">审计留痕</text>
|
|
45
|
+
<text x="657" y="578" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">对话与执行过程可查</text>
|
|
46
|
+
<path d="M 1035 412 H 1095" fill="none" stroke="#3fb950" stroke-width="4" marker-end="url(#overview-arrow)"/>
|
|
47
|
+
<rect x="1110" y="185" width="410" height="455" rx="18" fill="#161b22" stroke="#30363d" stroke-width="2"/>
|
|
48
|
+
<text x="1140" y="225" fill="#3fb950" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">03 · 已有业务系统</text>
|
|
49
|
+
<text x="1140" y="265" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="25" font-weight="800" text-anchor="start">原系统完成真实执行</text>
|
|
50
|
+
<rect x="1140" y="295" width="160" height="92" rx="12" fill="#0c2d4a" stroke="#30363d" stroke-width="2"/>
|
|
51
|
+
<text x="1158" y="330" fill="#58a6ff" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">商城</text>
|
|
52
|
+
<text x="1158" y="360" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">商品 · 订单 · 售后</text>
|
|
53
|
+
<rect x="1320" y="295" width="160" height="92" rx="12" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
54
|
+
<text x="1338" y="330" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">SaaS</text>
|
|
55
|
+
<text x="1338" y="360" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">账号 · 门店 · 工单</text>
|
|
56
|
+
<rect x="1140" y="407" width="160" height="92" rx="12" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
57
|
+
<text x="1158" y="442" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">CRM</text>
|
|
58
|
+
<text x="1158" y="472" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">客户 · 跟进 · 标签</text>
|
|
59
|
+
<rect x="1320" y="407" width="160" height="92" rx="12" fill="#0d1117" stroke="#30363d" stroke-width="2"/>
|
|
60
|
+
<text x="1338" y="442" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">ERP</text>
|
|
61
|
+
<text x="1338" y="472" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">库存 · 采购 · 申请</text>
|
|
62
|
+
<rect x="1140" y="526" width="340" height="76" rx="12" fill="#12261a" stroke="#3fb950" stroke-width="2"/>
|
|
63
|
+
<text x="1310" y="558" fill="#56d364" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" font-weight="800" text-anchor="middle">执行完成</text>
|
|
64
|
+
<text x="1310" y="584" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="middle">结果写回原系统,并留下任务记录</text>
|
|
65
|
+
<rect x="80" y="685" width="1440" height="112" rx="16" fill="#1c242d" stroke="#30363d" stroke-width="2"/>
|
|
66
|
+
<circle cx="135" cy="730" r="20" fill="#0d1117" stroke="#3fb950" stroke-width="2"/>
|
|
67
|
+
<text x="135" y="736" fill="#56d364" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">1</text>
|
|
68
|
+
<text x="165" y="736" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">自然语言会话</text>
|
|
69
|
+
<path d="M 357 730 H 387" fill="none" stroke="#3fb950" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
70
|
+
<circle cx="422" cy="730" r="20" fill="#0d1117" stroke="#3fb950" stroke-width="2"/>
|
|
71
|
+
<text x="422" y="736" fill="#56d364" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">2</text>
|
|
72
|
+
<text x="452" y="736" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">可信业务身份</text>
|
|
73
|
+
<path d="M 644 730 H 674" fill="none" stroke="#3fb950" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
74
|
+
<circle cx="709" cy="730" r="20" fill="#0d1117" stroke="#3fb950" stroke-width="2"/>
|
|
75
|
+
<text x="709" y="736" fill="#56d364" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">3</text>
|
|
76
|
+
<text x="739" y="736" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">已允许的能力</text>
|
|
77
|
+
<path d="M 931 730 H 961" fill="none" stroke="#3fb950" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
78
|
+
<circle cx="996" cy="730" r="20" fill="#0d1117" stroke="#3fb950" stroke-width="2"/>
|
|
79
|
+
<text x="996" y="736" fill="#56d364" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">4</text>
|
|
80
|
+
<text x="1026" y="736" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">原系统权限校验</text>
|
|
81
|
+
<path d="M 1218 730 H 1248" fill="none" stroke="#3fb950" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
82
|
+
<circle cx="1283" cy="730" r="20" fill="#3fb950" stroke="#3fb950" stroke-width="2"/>
|
|
83
|
+
<text x="1283" y="736" fill="#0d1117" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">5</text>
|
|
84
|
+
<text x="1313" y="736" fill="#f0f6fc" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">真实结果与留痕</text>
|
|
85
|
+
<text x="800" y="770" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="500" text-anchor="middle">从一句话到真实业务结果,每一步都能回头核对</text>
|
|
86
|
+
<text x="800" y="854" fill="#8b949e" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="18" font-weight="650" text-anchor="middle">BailingHub 管“AI 能够到哪里”,最终权限和业务规则仍由你的系统判断。</text>
|
|
87
|
+
</svg>
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 900" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">把一句话变成可核对的后台操作</title>
|
|
3
|
+
<desc id="desc">用户通过自然语言提出目标,BailingHub 处理可信身份、能力范围、审批和审计,已有业务系统完成最终授权与真实执行。</desc>
|
|
4
|
+
<defs><marker id="overview-arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" fill="#1f883d"/></marker></defs>
|
|
5
|
+
<rect width="1600" height="900" fill="#ffffff"/>
|
|
6
|
+
<path d="M 0 0 H 1600 V 7 H 0 Z" fill="#1f883d"/>
|
|
7
|
+
<text x="80" y="55" fill="#1f883d" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">BAILINGHUB · 不只回答问题</text>
|
|
8
|
+
<text x="80" y="108" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="46" font-weight="800" text-anchor="start">把一句话变成可核对的后台操作</text>
|
|
9
|
+
<text x="80" y="148" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="21" font-weight="500" text-anchor="start">不用重做商城、SaaS、CRM 或 ERP,也不用让 AI 直连数据库。</text>
|
|
10
|
+
<rect x="80" y="185" width="410" height="455" rx="18" fill="#f6f8fa" stroke="#d0d7de" stroke-width="2"/>
|
|
11
|
+
<text x="110" y="225" fill="#1f883d" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">01 · 直接说目标</text>
|
|
12
|
+
<rect x="110" y="255" width="350" height="315" rx="14" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
13
|
+
<circle cx="132" cy="278" r="5" fill="#1f883d"/>
|
|
14
|
+
<text x="148" y="284" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="16" font-weight="650" text-anchor="start">我已连接当前业务后台</text>
|
|
15
|
+
<rect x="130" y="315" width="270" height="58" rx="15" fill="#eef2f5" stroke="#eef2f5" stroke-width="1"/>
|
|
16
|
+
<text x="150" y="351" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="500" text-anchor="start">今天先处理哪些订单?</text>
|
|
17
|
+
<rect x="160" y="400" width="270" height="104" rx="15" fill="#dafbe1" stroke="#1f883d" stroke-width="2"/>
|
|
18
|
+
<text x="180" y="439" fill="#116329" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="700" text-anchor="start">查询未发货订单,</text>
|
|
19
|
+
<text x="180" y="470" fill="#116329" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="700" text-anchor="start">为异常订单创建待处理工单。</text>
|
|
20
|
+
<rect x="130" y="532" width="210" height="10" rx="5" fill="#eef2f5"/>
|
|
21
|
+
<text x="110" y="610" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">自然语言会话</text>
|
|
22
|
+
<path d="M 490 412 H 550" fill="none" stroke="#1f883d" stroke-width="4" marker-end="url(#overview-arrow)"/>
|
|
23
|
+
<rect x="565" y="185" width="470" height="455" rx="18" fill="#dafbe1" stroke="#1f883d" stroke-width="3"/>
|
|
24
|
+
<text x="595" y="225" fill="#116329" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">02 · BAILINGHUB</text>
|
|
25
|
+
<text x="595" y="265" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="25" font-weight="800" text-anchor="start">把目标变成受控业务动作</text>
|
|
26
|
+
<rect x="595" y="294" width="410" height="64" rx="12" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
27
|
+
<rect x="611" y="311" width="30" height="30" rx="8" fill="#ddf4ff"/>
|
|
28
|
+
<text x="626" y="333" fill="#0969da" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">1</text>
|
|
29
|
+
<text x="657" y="321" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">可信身份</text>
|
|
30
|
+
<text x="657" y="344" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">这次操作代表谁</text>
|
|
31
|
+
<rect x="595" y="372" width="410" height="64" rx="12" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
32
|
+
<rect x="611" y="389" width="30" height="30" rx="8" fill="#ddf4ff"/>
|
|
33
|
+
<text x="626" y="411" fill="#0969da" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">2</text>
|
|
34
|
+
<text x="657" y="399" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">能力选择</text>
|
|
35
|
+
<text x="657" y="422" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">只使用已接入能力</text>
|
|
36
|
+
<rect x="595" y="450" width="410" height="64" rx="12" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
37
|
+
<rect x="611" y="467" width="30" height="30" rx="8" fill="#fff8c5"/>
|
|
38
|
+
<text x="626" y="489" fill="#9a6700" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">3</text>
|
|
39
|
+
<text x="657" y="477" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">风险与审批</text>
|
|
40
|
+
<text x="657" y="500" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">该停下时先交给人</text>
|
|
41
|
+
<rect x="595" y="528" width="410" height="64" rx="12" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
42
|
+
<rect x="611" y="545" width="30" height="30" rx="8" fill="#ddf4ff"/>
|
|
43
|
+
<text x="626" y="567" fill="#0969da" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">4</text>
|
|
44
|
+
<text x="657" y="555" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="19" font-weight="750" text-anchor="start">审计留痕</text>
|
|
45
|
+
<text x="657" y="578" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="15" font-weight="500" text-anchor="start">对话与执行过程可查</text>
|
|
46
|
+
<path d="M 1035 412 H 1095" fill="none" stroke="#1f883d" stroke-width="4" marker-end="url(#overview-arrow)"/>
|
|
47
|
+
<rect x="1110" y="185" width="410" height="455" rx="18" fill="#f6f8fa" stroke="#d0d7de" stroke-width="2"/>
|
|
48
|
+
<text x="1140" y="225" fill="#1f883d" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="17" font-weight="750" text-anchor="start">03 · 已有业务系统</text>
|
|
49
|
+
<text x="1140" y="265" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="25" font-weight="800" text-anchor="start">原系统完成真实执行</text>
|
|
50
|
+
<rect x="1140" y="295" width="160" height="92" rx="12" fill="#ddf4ff" stroke="#d0d7de" stroke-width="2"/>
|
|
51
|
+
<text x="1158" y="330" fill="#0969da" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">商城</text>
|
|
52
|
+
<text x="1158" y="360" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">商品 · 订单 · 售后</text>
|
|
53
|
+
<rect x="1320" y="295" width="160" height="92" rx="12" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
54
|
+
<text x="1338" y="330" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">SaaS</text>
|
|
55
|
+
<text x="1338" y="360" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">账号 · 门店 · 工单</text>
|
|
56
|
+
<rect x="1140" y="407" width="160" height="92" rx="12" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
57
|
+
<text x="1158" y="442" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">CRM</text>
|
|
58
|
+
<text x="1158" y="472" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">客户 · 跟进 · 标签</text>
|
|
59
|
+
<rect x="1320" y="407" width="160" height="92" rx="12" fill="#ffffff" stroke="#d0d7de" stroke-width="2"/>
|
|
60
|
+
<text x="1338" y="442" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="800" text-anchor="start">ERP</text>
|
|
61
|
+
<text x="1338" y="472" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="start">库存 · 采购 · 申请</text>
|
|
62
|
+
<rect x="1140" y="526" width="340" height="76" rx="12" fill="#dafbe1" stroke="#1f883d" stroke-width="2"/>
|
|
63
|
+
<text x="1310" y="558" fill="#116329" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="16" font-weight="800" text-anchor="middle">执行完成</text>
|
|
64
|
+
<text x="1310" y="584" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="14" font-weight="500" text-anchor="middle">结果写回原系统,并留下任务记录</text>
|
|
65
|
+
<rect x="80" y="685" width="1440" height="112" rx="16" fill="#eef2f5" stroke="#d0d7de" stroke-width="2"/>
|
|
66
|
+
<circle cx="135" cy="730" r="20" fill="#ffffff" stroke="#1f883d" stroke-width="2"/>
|
|
67
|
+
<text x="135" y="736" fill="#116329" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">1</text>
|
|
68
|
+
<text x="165" y="736" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">自然语言会话</text>
|
|
69
|
+
<path d="M 357 730 H 387" fill="none" stroke="#1f883d" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
70
|
+
<circle cx="422" cy="730" r="20" fill="#ffffff" stroke="#1f883d" stroke-width="2"/>
|
|
71
|
+
<text x="422" y="736" fill="#116329" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">2</text>
|
|
72
|
+
<text x="452" y="736" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">可信业务身份</text>
|
|
73
|
+
<path d="M 644 730 H 674" fill="none" stroke="#1f883d" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
74
|
+
<circle cx="709" cy="730" r="20" fill="#ffffff" stroke="#1f883d" stroke-width="2"/>
|
|
75
|
+
<text x="709" y="736" fill="#116329" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">3</text>
|
|
76
|
+
<text x="739" y="736" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">已允许的能力</text>
|
|
77
|
+
<path d="M 931 730 H 961" fill="none" stroke="#1f883d" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
78
|
+
<circle cx="996" cy="730" r="20" fill="#ffffff" stroke="#1f883d" stroke-width="2"/>
|
|
79
|
+
<text x="996" y="736" fill="#116329" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">4</text>
|
|
80
|
+
<text x="1026" y="736" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">原系统权限校验</text>
|
|
81
|
+
<path d="M 1218 730 H 1248" fill="none" stroke="#1f883d" stroke-width="3" marker-end="url(#overview-arrow)"/>
|
|
82
|
+
<circle cx="1283" cy="730" r="20" fill="#1f883d" stroke="#1f883d" stroke-width="2"/>
|
|
83
|
+
<text x="1283" y="736" fill="#ffffff" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" font-size="15" font-weight="800" text-anchor="middle">5</text>
|
|
84
|
+
<text x="1313" y="736" fill="#111820" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="700" text-anchor="start">真实结果与留痕</text>
|
|
85
|
+
<text x="800" y="770" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="17" font-weight="500" text-anchor="middle">从一句话到真实业务结果,每一步都能回头核对</text>
|
|
86
|
+
<text x="800" y="854" fill="#667085" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="18" font-weight="650" text-anchor="middle">BailingHub 管“AI 能够到哪里”,最终权限和业务规则仍由你的系统判断。</text>
|
|
87
|
+
</svg>
|
|
@@ -18,7 +18,7 @@ services:
|
|
|
18
18
|
retries: 30
|
|
19
19
|
|
|
20
20
|
demo-business:
|
|
21
|
-
image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.
|
|
21
|
+
image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.6.1}
|
|
22
22
|
environment:
|
|
23
23
|
DEMO_HOST: 0.0.0.0
|
|
24
24
|
DEMO_PORT: 19080
|
|
@@ -29,7 +29,7 @@ services:
|
|
|
29
29
|
- "${BAILING_DEMO_PUBLIC_PORT:-19080}:19080"
|
|
30
30
|
|
|
31
31
|
bailinghub:
|
|
32
|
-
image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.
|
|
32
|
+
image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.6.1}
|
|
33
33
|
depends_on:
|
|
34
34
|
mysql:
|
|
35
35
|
condition: service_healthy
|
|
@@ -48,8 +48,9 @@ the end user to paste a BailingHub Client Token, Tool Provider Secret, or busine
|
|
|
48
48
|
|
|
49
49
|
### 3.1 Deploy Core and apply migrations
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
Full conversation archives require BailingHub0.6.1, Agent Client SDK0.4.0 and a compatible client.
|
|
52
|
+
Apply migrations055/056 and the new057 from one deployment step; runtime startup does not apply them.
|
|
53
|
+
Confirm that health and readiness pass, no migration is pending, the console can edit
|
|
53
54
|
Agent Client settings, and production traffic uses HTTPS.
|
|
54
55
|
|
|
55
56
|
Never copy databases, tokens, business domains, or route configuration from a maintainer's
|
|
@@ -195,7 +196,7 @@ Run in DSH:
|
|
|
195
196
|
|
|
196
197
|
Login creates a random loopback PKCE callback and opens the business authorization page. The SDK
|
|
197
198
|
uses macOS Keychain; a Linux/POSIX file fallback is explicit opt-in and requires mode `0600`.
|
|
198
|
-
|
|
199
|
+
Windows uses native CurrentUser DPAPI protection. Consult the independent SDK/plugin compatibility matrix for platform requirements.
|
|
199
200
|
|
|
200
201
|
Configure the model provider and model API key separately in DSH. The BailingHub plugin neither
|
|
201
202
|
reads nor manages model-provider keys.
|
|
@@ -203,8 +204,8 @@ reads nor manages model-provider keys.
|
|
|
203
204
|
## 6. Multiple Hubs, workspaces, and same-binding identity instances
|
|
204
205
|
|
|
205
206
|
The public binding is `Hub + clientAppId + workspace`; `connectionName` is only a local connection
|
|
206
|
-
selector
|
|
207
|
-
|
|
207
|
+
selector, not a trusted account, tenant or store identity. Multiple instances may share the same
|
|
208
|
+
public binding, but every instance requires separate
|
|
208
209
|
browser authorization. Core does not trust the local instance name or id: the trusted subject
|
|
209
210
|
still comes only from business-backend approval as `principal` and `on_behalf_of`.
|
|
210
211
|
|
|
@@ -218,8 +219,9 @@ on the same public binding, use a console-generated command or run these user co
|
|
|
218
219
|
/bailinghub login
|
|
219
220
|
```
|
|
220
221
|
|
|
221
|
-
Connection selection is a user command, not a model tool. It
|
|
222
|
-
|
|
222
|
+
Connection selection is a user command, not a model tool. It selects the connection-management and
|
|
223
|
+
login target; it does not grant business scope to a new conversation. DSH0.4.0 requires a separate
|
|
224
|
+
explicit scope selection before the first message. Existing conversations retain their original scope. `/bailinghub use
|
|
223
225
|
<workspace>` moves only within workspaces already granted to the current authorization and is not
|
|
224
226
|
a multi-connection selector. `/bailinghub connections remove <name>` first revokes the remote
|
|
225
227
|
Agent Session and deletes that instance's local credentials only after success; a failed remote
|
|
@@ -234,6 +236,25 @@ connection first. Core still keys `bz_agent_sessions` by `session_id` and perfor
|
|
|
234
236
|
cross-device identity deduplication, so sessions on different devices can be revoked and audited
|
|
235
237
|
independently.
|
|
236
238
|
|
|
239
|
+
### 6.1 Select conversation scope before the first message
|
|
240
|
+
|
|
241
|
+
Authorize the intended accounts separately, then obtain each `connectionKey` from `/bailinghub connections list`. Before the first user message in a new conversation, run:
|
|
242
|
+
|
|
243
|
+
```text
|
|
244
|
+
/bailinghub scope set <connectionKey-for-A> <connectionKey-for-B>
|
|
245
|
+
/bailinghub scope
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
Use the actual returned keys, not these placeholders or account labels. Select only A to allow only A; `/bailinghub scope none` means ordinary chat without Hub access. Wait for successful selection before sending business requests. DSH0.4.0 accepts one Hub/clientAppId/workspace binding, not a cross-system or cross-route group.
|
|
249
|
+
|
|
250
|
+
The first user message fixes the scope; changing it requires a new conversation. Custom hosts use `setSessionScope/getSessionScope/restoreSessionScope`. Failed restoration must never select a default or remaining subset.
|
|
251
|
+
|
|
252
|
+
### 6.2 Read the conversation and retry synchronization
|
|
253
|
+
|
|
254
|
+
Compatible hosts use SDK0.4.0 to capture actual visible text, preserving the original Session, durable history and separate pending records. Administrators open Tasks → Conversations → Client conversations and follow each turn into the original account's execution record.
|
|
255
|
+
|
|
256
|
+
Use `/bailinghub archive status` to inspect synchronization and `/bailinghub archive sync` to retry. After reopening offline, the same runtime and Session can revalidate the original scope and synchronize when connectivity returns. Confirmed revocation keeps the whole group blocked. Show storage failures and history gaps separately; never resend user messages or repeat business actions merely to repair the archive. Restoring an archive does not restore an invocation lost across process restarts. See the [user guide](user-guide/conversations.en.md) and [archive API](AGENT_CONVERSATION_AUDIT.en.md).
|
|
257
|
+
|
|
237
258
|
## 7. Minimum acceptance
|
|
238
259
|
|
|
239
260
|
1. Install a clean DSH profile using public packages only, without local paths or tarballs.
|
|
@@ -255,7 +276,7 @@ independently.
|
|
|
255
276
|
do not add a business URL to plugin settings.
|
|
256
277
|
- **`cleanupRequired`:** the new identity authorization already succeeded. Do not authorize again;
|
|
257
278
|
retry revoke or removal for the reported old connection.
|
|
258
|
-
- **Authorized but no tools:** check the Tool Provider, `tools.agent_direct.enabled`, audience
|
|
279
|
+
- **Authorized but no tools:** first confirm a nonempty scope was selected before this conversation’s first message; login or default-connection switching alone does not grant scope. Then check the Tool Provider, `tools.agent_direct.enabled`, audience
|
|
259
280
|
policy, and Local Agent Runtime switch.
|
|
260
281
|
- **A write requires approval:** inspect the ACC declaration first. `force_approval_tools` may
|
|
261
282
|
only make policy stricter.
|
|
@@ -45,7 +45,7 @@ BailingHub Client Token、Tool Provider Secret 或业务系统密码的步骤。
|
|
|
45
45
|
|
|
46
46
|
### 3.1 部署 Core 并执行数据库迁移
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
完整对话归档使用 BailingHub0.6.1、Agent Client SDK0.4.0及兼容客户端。Core需要已有迁移055/056及新增057;由一个部署步骤执行迁移,运行时启动不会自动迁移。
|
|
49
49
|
升级后先确认:
|
|
50
50
|
|
|
51
51
|
- `/health` 和 `/health/ready` 正常;
|
|
@@ -183,7 +183,7 @@ export BAILINGHUB_CONNECTION_NAME='default'
|
|
|
183
183
|
|
|
184
184
|
登录命令会在本机随机 `127.0.0.1` 端口建立 PKCE 回调并打开业务系统授权页。授权成功后,SDK
|
|
185
185
|
在 macOS 使用 Keychain 保存凭据;Linux/POSIX 文件回退必须显式启用且文件权限为 `0600`;
|
|
186
|
-
Windows
|
|
186
|
+
Windows 使用当前用户的原生 DPAPI 凭据保护;详细平台要求以独立SDK/插件的兼容矩阵为准。
|
|
187
187
|
|
|
188
188
|
DSH 的模型提供方和模型 API Key 需要在 DSH 自己的模型设置中单独配置。BailingHub 插件既不读取
|
|
189
189
|
也不代管模型 Key。
|
|
@@ -191,7 +191,7 @@ DSH 的模型提供方和模型 API Key 需要在 DSH 自己的模型设置中
|
|
|
191
191
|
## 6. 多 Hub、多 workspace 与同绑定身份实例
|
|
192
192
|
|
|
193
193
|
公开绑定由 `Hub + clientAppId + workspace` 组成;`connectionName` 只是一个本机连接选择器,不能
|
|
194
|
-
|
|
194
|
+
充当可信账号、租户或门店身份。多个实例可以使用同一公开绑定,但每个实例都必须单独
|
|
195
195
|
完成浏览器授权。Core 不信任本机实例名或实例 ID,可信主体仍只来自业务后端批准得到的
|
|
196
196
|
`principal` 与 `on_behalf_of`。
|
|
197
197
|
|
|
@@ -205,7 +205,7 @@ DSH 的模型提供方和模型 API Key 需要在 DSH 自己的模型设置中
|
|
|
205
205
|
/bailinghub login
|
|
206
206
|
```
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
连接切换是用户命令,不是模型工具;它选择连接管理和登录的目标,不会为新会话自动授予业务范围。DSH0.4.0在首消息前必须另外显式选择本次授权,已有会话保持原范围。
|
|
209
209
|
`/bailinghub use <workspace>` 只在当前授权已经允许的 workspace 内切换,不能替代多连接选择。
|
|
210
210
|
删除连接时使用 `/bailinghub connections remove <名称>`:SDK 会先远程撤销 Agent Session,成功
|
|
211
211
|
后再删除该实例的本地凭据;远程撤销失败则保留该实例和凭据供重试。不要复制 access/refresh token
|
|
@@ -217,6 +217,25 @@ DSH 的模型提供方和模型 API Key 需要在 DSH 自己的模型设置中
|
|
|
217
217
|
此时不要重新授权,应先按结果列出的旧连接完成清理。Core 的 `bz_agent_sessions` 仍以 `session_id`
|
|
218
218
|
为主键,不执行跨设备的全局身份去重,因此不同设备上的授权仍可独立失效和审计。
|
|
219
219
|
|
|
220
|
+
### 6.1 首消息前选择本次对话的授权
|
|
221
|
+
|
|
222
|
+
先分别授权所需账户,再从 `/bailinghub connections list` 获取各自的 `connectionKey`。在新会话的第一条用户消息之前运行:
|
|
223
|
+
|
|
224
|
+
```text
|
|
225
|
+
/bailinghub scope set <A的connectionKey> <B的connectionKey>
|
|
226
|
+
/bailinghub scope
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
这里使用实际返回的连接key,不使用示例占位符或门店名。只选择A就只能使用A;`/bailinghub scope none`表示只聊天,不访问Hub。确认选择成功后再发送业务请求。DSH0.4.0只接受同一Hub/clientAppId/workspace下的授权集合,不组合不同系统或路由。
|
|
230
|
+
|
|
231
|
+
第一条用户消息后范围固定;改选需要新会话。自研宿主使用`setSessionScope/getSessionScope/restoreSessionScope`,恢复失败不能回退到默认或剩余授权。
|
|
232
|
+
|
|
233
|
+
### 6.2 查看完整对话与重试同步
|
|
234
|
+
|
|
235
|
+
支持的宿主通过SDK0.4.0归档真实可见文本,保留原Session、持久历史与独立待传记录。管理员在“任务→会话→客户端完整对话”阅读沟通并打开各授权的原执行记录。
|
|
236
|
+
|
|
237
|
+
DSH使用`/bailinghub archive status`查看状态,`/bailinghub archive sync`补传。离线重开后联网,可在同一runtime、同一Session重试原范围核验与同步;原授权明确撤销仍整组阻断。保存失败或历史缺口要单独显示,不能靠重复发消息或重执行业务来补账。归档恢复不等于恢复跨进程丢失的invocation。详见[使用者指南](user-guide/conversations.md)与[归档接口](AGENT_CONVERSATION_AUDIT.md)。
|
|
238
|
+
|
|
220
239
|
## 7. 最小验收
|
|
221
240
|
|
|
222
241
|
发布或接入完成后,至少验证:
|
|
@@ -224,7 +243,7 @@ DSH 的模型提供方和模型 API Key 需要在 DSH 自己的模型设置中
|
|
|
224
243
|
1. 全新 DSH Profile 只通过公开包安装,不引用本机路径或本地 tgz;
|
|
225
244
|
2. `/bailinghub login` 打开的域名是开发者配置的业务授权页;
|
|
226
245
|
3. `/bailinghub status` 只显示非秘密会话元数据;
|
|
227
|
-
4.
|
|
246
|
+
4. 首消息前显式选择范围,未选/空范围只聊天;选择A/B后本地Agent能在原范围内查询一项只读能力;
|
|
228
247
|
5. 一项可回滚写操作遵循 ACC/route 审批语义,且不会重复调用;
|
|
229
248
|
6. BailingHub 会话页能看到本地编排边界和中枢治理轨迹;
|
|
230
249
|
7. 日志、页面和包制品中没有 Client Token、Agent token、模型 Key、业务 Cookie、工具参数值或响应正文。
|
|
@@ -237,7 +256,7 @@ DSH 的模型提供方和模型 API Key 需要在 DSH 自己的模型设置中
|
|
|
237
256
|
- **打开了固定租户或门店**:`agent_authorize_url` 配错了;应改成业务系统的统一授权入口,并在页面
|
|
238
257
|
内依据当前登录态完成切号或选租户,插件端不要增加业务 URL 配置。
|
|
239
258
|
- **`cleanupRequired`**:新身份授权已经成功,不要再次授权;先按返回的旧连接名称重试撤销或移除。
|
|
240
|
-
-
|
|
259
|
+
- **登录成功但没有业务工具**:先确认本次新会话首消息前已成功设置非空scope;只登录或切换默认连接不等于选择范围。再检查route的工具源、`tools.agent_direct.enabled`、受众策略和
|
|
241
260
|
“本地 Agent Runtime”开关。
|
|
242
261
|
- **写操作要求审批**:先查看业务侧 ACC 声明;route 的 `force_approval_tools` 只能额外收紧,不能
|
|
243
262
|
降低高风险或 ACC 明示审批。
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Agent Conversation Audit v1
|
|
2
|
+
|
|
3
|
+
[中文版](AGENT_CONVERSATION_AUDIT.md)
|
|
4
|
+
|
|
5
|
+
This optional API records the complete **visible** conversation managed by a local
|
|
6
|
+
Agent, and links its turns to separately authorized BailingHub runs. It does not
|
|
7
|
+
merge Agent Sessions, business identities, threads, runtime memory, tool grants,
|
|
8
|
+
approvals or invocation ownership. It does not collect hidden reasoning.
|
|
9
|
+
|
|
10
|
+
The feature requires `sql/057_agent_conversation_audit.sql`. Hosts must explicitly
|
|
11
|
+
apply their normal Core migration process; starting the runtime does not apply
|
|
12
|
+
this migration. Older hosts may omit `ConfigStore.agentConversationAudit`; these
|
|
13
|
+
write and admin read endpoints then report `conversation_audit_unavailable`.
|
|
14
|
+
|
|
15
|
+
## Authorization and storage boundary
|
|
16
|
+
|
|
17
|
+
- Every Agent request uses the existing `Authorization: Bearer <Agent access token>`
|
|
18
|
+
authentication. Tokens are never fields in the archive or event DTOs.
|
|
19
|
+
- A creator freezes the exact member Agent Session UUIDs, client application,
|
|
20
|
+
route and original `client_conversation_id`. The creator must be a member.
|
|
21
|
+
- Each other member confirms with **its own** authenticated bearer. A caller
|
|
22
|
+
cannot confirm a session ID supplied in a body. All members must confirm before
|
|
23
|
+
any event, including the first visible message, can be stored.
|
|
24
|
+
- Only the creator can append events. A conversation UUID or client conversation
|
|
25
|
+
string alone gives no membership, write permission or read permission. There is
|
|
26
|
+
consequently no separate enrollment secret.
|
|
27
|
+
- Every mutation checks current route availability and the client/session route
|
|
28
|
+
allowlist intersection and audience policy. Every event batch also checks all
|
|
29
|
+
frozen members for revocation, refresh expiry and unchanged identity snapshots.
|
|
30
|
+
The mutation transaction locks the group, client, route and session rows until
|
|
31
|
+
commit. A refreshed access token can continue the same Agent Session; replacing
|
|
32
|
+
a session or its principal/on-behalf-of identity cannot replace an old member.
|
|
33
|
+
- Full bodies are readable only through the existing administrator `runs:read`
|
|
34
|
+
permission. There is **no Agent transcript read endpoint**. Administrators see
|
|
35
|
+
only the control-plane data domain supplied by their host; hosts must continue
|
|
36
|
+
enforcing their own tenant isolation and must not combine unrelated tenant
|
|
37
|
+
stores because IDs happen to match.
|
|
38
|
+
- Bodies live in `bz_agent_conversation_events`, not in `bz_messages` or thread
|
|
39
|
+
memory. An authorized multi-store conversation is not copied into each store's
|
|
40
|
+
model context. Existing run completion records keep their original purpose.
|
|
41
|
+
|
|
42
|
+
## Create and confirm membership
|
|
43
|
+
|
|
44
|
+
`POST /agent-api/v1/conversation-audits`
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
{
|
|
48
|
+
"client_archive_id": "323e4567-e89b-42d3-a456-426614174001",
|
|
49
|
+
"client_conversation_id": "conversation-stable-id",
|
|
50
|
+
"route": "orders",
|
|
51
|
+
"member_session_ids": [
|
|
52
|
+
"123e4567-e89b-42d3-a456-426614174001",
|
|
53
|
+
"123e4567-e89b-42d3-a456-426614174002"
|
|
54
|
+
],
|
|
55
|
+
"member_labels": {
|
|
56
|
+
"123e4567-e89b-42d3-a456-426614174001": "Store A",
|
|
57
|
+
"123e4567-e89b-42d3-a456-426614174002": "Store B"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
`client_archive_id` is a persistent random UUID owned by the host. Creation is
|
|
63
|
+
idempotent within `(creator_session_id, route, client_archive_id)` only when the
|
|
64
|
+
entire frozen input matches. A changed member set, label or original conversation
|
|
65
|
+
ID returns `409`; it does not widen or rewrite the original archive. Distinct
|
|
66
|
+
creators never auto-join through identical client IDs. Labels are optional,
|
|
67
|
+
limited to 128 characters, and are display text rather than identity evidence.
|
|
68
|
+
|
|
69
|
+
The creator is confirmed by its creation request. Each other member sends:
|
|
70
|
+
|
|
71
|
+
`POST /agent-api/v1/conversation-audits/:conversation_id/confirm` with `{}`.
|
|
72
|
+
|
|
73
|
+
Both operations return schema `bailing.agent-conversation-audit.v1` and the
|
|
74
|
+
conversation header described below. `state` is `enrolling` until all members
|
|
75
|
+
confirm, then `ready`. It describes enrollment, not a permanent guarantee that
|
|
76
|
+
all authorizations remain active; every subsequent write revalidates them.
|
|
77
|
+
Replies contain no transcript text, credentials, identity hashes or tool data.
|
|
78
|
+
|
|
79
|
+
## Append visible events
|
|
80
|
+
|
|
81
|
+
`POST /agent-api/v1/conversation-audits/:conversation_id/events`
|
|
82
|
+
|
|
83
|
+
```json
|
|
84
|
+
{
|
|
85
|
+
"events": [
|
|
86
|
+
{"event_id":"start-1","sequence":1,"client_turn_id":"turn-1","kind":"turn_start"},
|
|
87
|
+
{"event_id":"user-1","sequence":2,"client_turn_id":"turn-1","kind":"user_message","content":"Compare the two selected stores."},
|
|
88
|
+
{"event_id":"run-a","sequence":3,"client_turn_id":"turn-1","kind":"run_link","run_id":"223e4567-e89b-42d3-a456-426614174001","member_session_id":"123e4567-e89b-42d3-a456-426614174001"},
|
|
89
|
+
{"event_id":"answer-1","sequence":4,"client_turn_id":"turn-1","kind":"assistant_message","content":"The complete answer shown to the user."},
|
|
90
|
+
{"event_id":"end-1","sequence":5,"client_turn_id":"turn-1","kind":"turn_end","status":"completed"}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
| Kind | Additional required fields | Meaning |
|
|
96
|
+
| --- | --- | --- |
|
|
97
|
+
| `turn_start` | none | Begin one host-visible turn. |
|
|
98
|
+
| `user_message` | `content` | Exact visible user text, including follow-up messages. |
|
|
99
|
+
| `assistant_message` | `content` | Exact visible assistant text; multiple visible messages are allowed. |
|
|
100
|
+
| `run_link` | `run_id`, `member_session_id` | Attach a verified original authorization run. |
|
|
101
|
+
| `turn_end` | `status` | `completed`, `failed` or `cancelled`. |
|
|
102
|
+
|
|
103
|
+
Unknown fields and event kinds are rejected. There is no arbitrary metadata,
|
|
104
|
+
reasoning, credential, tool-argument or tool-result field. Text is preserved, not
|
|
105
|
+
silently rewritten or truncated. A host must submit only text visible to its user;
|
|
106
|
+
the server cannot infer whether a client-authored statement was actually shown.
|
|
107
|
+
|
|
108
|
+
Sequences start at 1 and remain strictly contiguous. Each batch is ordered and
|
|
109
|
+
atomic. Identical `sequence` + `event_id` + body retries succeed; different content,
|
|
110
|
+
reused IDs, gaps and conflicting turn histories return `409` without partial writes.
|
|
111
|
+
A normal message or `turn_end` must belong to the current running turn. A late
|
|
112
|
+
`run_link` may attach to an already started, completed or cancelled original turn;
|
|
113
|
+
it never reopens that turn or changes a newer turn's status.
|
|
114
|
+
|
|
115
|
+
For every run link, BailingHub verifies the persisted run's exact member Session,
|
|
116
|
+
client application, route, original `client_conversation_id` and `client_turn_id`.
|
|
117
|
+
The server derives `thread_id`. A run belongs to at most one archive, so old run
|
|
118
|
+
and tool traces can link back without ambiguous matches. This relationship does
|
|
119
|
+
not authorize execution, retry, approval or memory access.
|
|
120
|
+
|
|
121
|
+
Successful append response:
|
|
122
|
+
|
|
123
|
+
```json
|
|
124
|
+
{
|
|
125
|
+
"schema": "bailing.agent-conversation-audit-ack.v1",
|
|
126
|
+
"conversation_id": "423e4567-e89b-42d3-a456-426614174001",
|
|
127
|
+
"last_sequence": 5
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Hosts should persist the archive UUID, creator/member binding, stable event IDs,
|
|
132
|
+
ordered events and acknowledged sequence before claiming successful archival.
|
|
133
|
+
Lost acknowledgements can be retried unchanged. Restoring an audit queue does not
|
|
134
|
+
restore invocation execution state or grant permission to resume unknown IDs.
|
|
135
|
+
|
|
136
|
+
## Administrator read API
|
|
137
|
+
|
|
138
|
+
`GET /admin/api/conversation-audits?limit=50&offset=0` returns:
|
|
139
|
+
|
|
140
|
+
```json
|
|
141
|
+
{
|
|
142
|
+
"schema": "bailing.agent-conversation-audit-list.v1",
|
|
143
|
+
"items": [],
|
|
144
|
+
"has_more": false,
|
|
145
|
+
"next_offset": null
|
|
146
|
+
}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
Each header includes `conversation_id`, `client_archive_id`,
|
|
150
|
+
`client_conversation_id`, `client_app_id`, `route_key`, `state`, `member_count`,
|
|
151
|
+
`confirmed_count`, `last_sequence`, `message_count`, `turn_count`,
|
|
152
|
+
`last_turn_status`, `created_at` and `updated_at`. The last turn status is initially
|
|
153
|
+
null, then `running`, `completed`, `failed` or `cancelled`. Sequences count all
|
|
154
|
+
event kinds and must not be displayed as message counts.
|
|
155
|
+
|
|
156
|
+
`GET /admin/api/conversation-audits/:id?after_sequence=0&limit=100` returns schema
|
|
157
|
+
`bailing.agent-conversation-audit-detail.v1`, `conversation` (the header),
|
|
158
|
+
`members`, `events`, `has_more` and `next_after_sequence`. Member views contain
|
|
159
|
+
`session_id`, `display_label`, `confirmed`, and, once confirmed, the frozen
|
|
160
|
+
`principal` and `on_behalf_of`. Event views contain the submitted visible fields,
|
|
161
|
+
server `created_at`, and server-derived numeric `thread_id` on run links.
|
|
162
|
+
Read the next page using `next_after_sequence`; no fixed first-1000-message cutoff
|
|
163
|
+
is imposed. Responses use `Cache-Control: no-store`.
|
|
164
|
+
|
|
165
|
+
Existing administrator agent-run traces add optional
|
|
166
|
+
`run.conversation_audit_id` / `run.client_turn_id`; verified tool job traces add
|
|
167
|
+
the same fields under `job`. The original trace endpoint and its full
|
|
168
|
+
thread/run/client/session/route ownership checks remain in use.
|
|
169
|
+
|
|
170
|
+
## Limits and errors
|
|
171
|
+
|
|
172
|
+
The member limit is 64. Each append batch contains 1–50 events, each visible text
|
|
173
|
+
is at most 64,000 UTF-16 code units, total batch text is at most 256 KiB of UTF-8,
|
|
174
|
+
and the HTTP JSON envelope is at most 2 MiB. An archive accepts at most 20,000
|
|
175
|
+
events and 16 MiB of visible text. List pages cap at 100 items; event pages cap at
|
|
176
|
+
200 events. Hosts should batch below these maxima. Limits reject writes rather
|
|
177
|
+
than truncate an allegedly complete transcript.
|
|
178
|
+
|
|
179
|
+
| HTTP | Code | Host interpretation |
|
|
180
|
+
| --- | --- | --- |
|
|
181
|
+
| 400 | `invalid_request` | Invalid or undeclared DTO fields. |
|
|
182
|
+
| 401 | `unauthorized` | Existing Agent bearer authentication failed. |
|
|
183
|
+
| 403 | `conversation_audit_authorization_invalid` | A frozen authorization or route is no longer valid. |
|
|
184
|
+
| 404 | `conversation_audit_not_found` | Unknown archive or unavailable to this identity; do not enumerate membership. |
|
|
185
|
+
| 409 | `conversation_audit_not_ready` | Some members have not confirmed; do not submit text. |
|
|
186
|
+
| 409 | `conversation_audit_conflict` | Frozen membership, event sequence/content, turn or run association conflicts. |
|
|
187
|
+
| 413 | `conversation_audit_limit` | No partial or truncated events were saved. |
|
|
188
|
+
| 503 | `conversation_audit_unavailable` | Optional archive repository is not available. |
|
|
189
|
+
| 500 | `conversation_audit_internal_error` | Storage/internal failure; raw exception details are not returned. |
|
|
190
|
+
|
|
191
|
+
Unknown endpoints, including every Agent transcript GET, return `404`. An older
|
|
192
|
+
Core without these routes may also return `404`; adapters must report archival
|
|
193
|
+
as unsupported, not claim that a complete conversation was uploaded. An archive
|
|
194
|
+
failure must remain visible independently of a successful business operation.
|