chainlesschain 0.166.4 → 0.166.5
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.md +32 -0
- package/package.json +2 -1
- package/src/assets/web-panel/assets/{AIOps-HcOh0ZbH.js → AIOps-DhCWWRmS.js} +1 -1
- package/src/assets/web-panel/assets/{ActionButton-DWjDqBhd.js → ActionButton-BGbZcxSE.js} +1 -1
- package/src/assets/web-panel/assets/{Analytics-C6FS-y3W.js → Analytics-CUJNYrmU.js} +3 -3
- package/src/assets/web-panel/assets/{AppLayout-DCN5cldF.js → AppLayout-ParuJRmc.js} +5 -5
- package/src/assets/web-panel/assets/{Artifacts-Crd-KE8P.js → Artifacts-BMESCkte.js} +1 -1
- package/src/assets/web-panel/assets/{Audit-BexuTQZc.js → Audit-B614pUXR.js} +1 -1
- package/src/assets/web-panel/assets/{BackgroundAgents-Dydkh-b5.js → BackgroundAgents-BKkkvkQl.js} +1 -1
- package/src/assets/web-panel/assets/{Backup-BYq21wMP.js → Backup-CoFiC_kv.js} +1 -1
- package/src/assets/web-panel/assets/{BaseInput-CmNZP6yM.js → BaseInput-Cu4OHz1W.js} +1 -1
- package/src/assets/web-panel/assets/{Chat-J6bD0zCl.js → Chat-mxb_SR22.js} +6 -6
- package/src/assets/web-panel/assets/{ChatBubbleRenderer-MEoaygnL.js → ChatBubbleRenderer-CsqO-fiV.js} +1 -1
- package/src/assets/web-panel/assets/{Checkbox-Ce-9vNmK.js → Checkbox-BJpZz-5L.js} +1 -1
- package/src/assets/web-panel/assets/{Codegen-zf7-Y-Eh.js → Codegen-ng7fYMi8.js} +1 -1
- package/src/assets/web-panel/assets/{Col-D-TkY0FD.js → Col-D751NOsU.js} +1 -1
- package/src/assets/web-panel/assets/{Community-l300NA-1.js → Community-BPVTHvTC.js} +1 -1
- package/src/assets/web-panel/assets/{Compact-D-9Q_hxc.js → Compact-CY42ARxJ.js} +1 -1
- package/src/assets/web-panel/assets/{Compliance-DAJ8lLiQ.js → Compliance-Ec3zabvu.js} +1 -1
- package/src/assets/web-panel/assets/{Cowork-xmzZ967S.js → Cowork-Do0oOlj8.js} +3 -3
- package/src/assets/web-panel/assets/{Cron-CeGqO5W4.js → Cron-BXu6LGra.js} +2 -2
- package/src/assets/web-panel/assets/{Crosschain-DXN0AE-4.js → Crosschain-Dg1CsWLA.js} +1 -1
- package/src/assets/web-panel/assets/{DID-CtIKASPr.js → DID-D1B8O6C9.js} +2 -2
- package/src/assets/web-panel/assets/{Dashboard-DqRwT8NX.js → Dashboard-DJFnfIVk.js} +2 -2
- package/src/assets/web-panel/assets/{Dropdown-ddIVljO1.js → Dropdown-Be6KCHb7.js} +1 -1
- package/src/assets/web-panel/assets/EmailListRenderer-9L4EdmcR.js +1 -0
- package/src/assets/web-panel/assets/{FamilyGuardDashboard-PnlAUGcG.js → FamilyGuardDashboard-CWt6WUoP.js} +1 -1
- package/src/assets/web-panel/assets/{Federation-BlmLuQrL.js → Federation-Ba7bRkZh.js} +1 -1
- package/src/assets/web-panel/assets/{FormItemContext-dDovBj1Y.js → FormItemContext-CNa8GTAM.js} +1 -1
- package/src/assets/web-panel/assets/{GenericCardRenderer-DTvGshFr.js → GenericCardRenderer-DGHg2fio.js} +1 -1
- package/src/assets/web-panel/assets/{Git-DuFR2xgA.js → Git-DJAgN16e.js} +2 -2
- package/src/assets/web-panel/assets/{Governance-9EaNcJuq.js → Governance-DqIapin6.js} +1 -1
- package/src/assets/web-panel/assets/{Inference-B-iYWH_r.js → Inference-B00_KwDW.js} +1 -1
- package/src/assets/web-panel/assets/{KnowledgeGraph-BGBaKiLX.js → KnowledgeGraph-D1_ZCehX.js} +1 -1
- package/src/assets/web-panel/assets/{Logs-G3wmXzfa.js → Logs-22jGgUmw.js} +2 -2
- package/src/assets/web-panel/assets/{MarkdownRenderer-hk0YwjTR.js → MarkdownRenderer-DOIQQUTp.js} +1 -1
- package/src/assets/web-panel/assets/{Marketplace-BNARBeAv.js → Marketplace-ClIyNRL6.js} +1 -1
- package/src/assets/web-panel/assets/{McpTools-DST2cSSK.js → McpTools-BhPsaaJr.js} +3 -3
- package/src/assets/web-panel/assets/{Memory-piwDLsVH.js → Memory-BXNDHgEH.js} +2 -2
- package/src/assets/web-panel/assets/{MobileBridge-D-W8zHdm.js → MobileBridge-BeSEujLm.js} +1 -1
- package/src/assets/web-panel/assets/{MobileProjects-CwaYHlVP.js → MobileProjects-DKJjWZ6t.js} +1 -1
- package/src/assets/web-panel/assets/{Mtc-C2dxnN7Q.js → Mtc-CsX4lo0h.js} +2 -2
- package/src/assets/web-panel/assets/{MtcAudit-BwPZsV3N.js → MtcAudit-CdGiWPEN.js} +2 -2
- package/src/assets/web-panel/assets/{Multisig-CUt8w2al.js → Multisig-C1aJmYGd.js} +3 -3
- package/src/assets/web-panel/assets/{NLProgramming-DwxErx27.js → NLProgramming-ClOwZKGW.js} +1 -1
- package/src/assets/web-panel/assets/{Notes-B-mXAZ84.js → Notes-xqZJkp5X.js} +3 -3
- package/src/assets/web-panel/assets/{NotificationSettings-Bd1fBAzd.js → NotificationSettings-D_8hg6E5.js} +1 -1
- package/src/assets/web-panel/assets/{OrderTableRenderer-CCInnavw.js → OrderTableRenderer-BNMgCFHY.js} +1 -1
- package/src/assets/web-panel/assets/{Organization-DTTONYZT.js → Organization-DQjjPQ9u.js} +4 -4
- package/src/assets/web-panel/assets/{Overflow-H6lCZ1rE.js → Overflow-D0g51CZb.js} +1 -1
- package/src/assets/web-panel/assets/{P2P-DyBZzeYW.js → P2P-BqDCDnon.js} +2 -2
- package/src/assets/web-panel/assets/PdhVaultBrowser-BDMyV-DM.js +7 -0
- package/src/assets/web-panel/assets/{Permissions-B5nSQwsr.js → Permissions-D9Mk4hzw.js} +4 -4
- package/src/assets/web-panel/assets/{PersonalDataHub-CACaQtlY.js → PersonalDataHub-Cksd0Ft-.js} +4 -4
- package/src/assets/web-panel/assets/{Pipeline-5y-DR_Bw.js → Pipeline-ALaa1U0w.js} +1 -1
- package/src/assets/web-panel/assets/{Privacy-BMSA3Ehd.js → Privacy-M-mmVDtr.js} +1 -1
- package/src/assets/web-panel/assets/{ProjectInit-VCOj1dTa.js → ProjectInit-Bn39Z5S7.js} +2 -2
- package/src/assets/web-panel/assets/ProjectSettings-6Xmsc-zo.js +2 -0
- package/src/assets/web-panel/assets/Projects-C2KI2sH1.js +1 -0
- package/src/assets/web-panel/assets/{Providers-DZ1FNKUR.js → Providers-FLNmdOWT.js} +1 -1
- package/src/assets/web-panel/assets/{QrScannerModal-6DKc9UBX.js → QrScannerModal-C5PNS5N7.js} +1 -1
- package/src/assets/web-panel/assets/{QuickAsk-Dyd0Ckrk.js → QuickAsk-CHSVdvQA.js} +1 -1
- package/src/assets/web-panel/assets/{Recommend-CYW4-GJH.js → Recommend-BRwvF4m9.js} +1 -1
- package/src/assets/web-panel/assets/{RemoteSession-DLrfPy4F.js → RemoteSession-DeAfmrU2.js} +3 -3
- package/src/assets/web-panel/assets/{Reputation-DfqPo1FI.js → Reputation-Be_YQzm9.js} +1 -1
- package/src/assets/web-panel/assets/{Row-CR89H2x5.js → Row-Bv3cbL2A.js} +1 -1
- package/src/assets/web-panel/assets/{RssFeed-B9QY7R-F.js → RssFeed-DsTYAdrh.js} +3 -3
- package/src/assets/web-panel/assets/{Search-CUDnzu4w.js → Search-2gch6_kT.js} +1 -1
- package/src/assets/web-panel/assets/{Security-CJ0CtM_Z.js → Security-pkS2eKdn.js} +3 -3
- package/src/assets/web-panel/assets/{Services-CyrQ6F5U.js → Services-D1ns1NlD.js} +2 -2
- package/src/assets/web-panel/assets/{Skeleton-DcwnKatQ.js → Skeleton-B-9nVmze.js} +1 -1
- package/src/assets/web-panel/assets/Skills-V7TqlXWR.js +1 -0
- package/src/assets/web-panel/assets/{Sla-CWh-awh7.js → Sla-CI9DZg-s.js} +1 -1
- package/src/assets/web-panel/assets/{SpeechSettings-BaUMNzx7.js → SpeechSettings-CH0mQsl3.js} +1 -1
- package/src/assets/web-panel/assets/{SyncSettings-D1Ijwwxl.js → SyncSettings-BHeEVZyN.js} +2 -2
- package/src/assets/web-panel/assets/{Tasks-DFqjHi3T.js → Tasks-DOld05sg.js} +1 -1
- package/src/assets/web-panel/assets/{Templates-Ct-9_ki3.js → Templates--GvWvJEB.js} +1 -1
- package/src/assets/web-panel/assets/{Tenant-zBkgyilh.js → Tenant-L-FgZD-r.js} +1 -1
- package/src/assets/web-panel/assets/{Terminal-VVO2Hjfi.js → Terminal-DMNfs5hK.js} +2 -2
- package/src/assets/web-panel/assets/{TimelineRenderer-CX9pIkx3.js → TimelineRenderer-DFzInCAj.js} +1 -1
- package/src/assets/web-panel/assets/{Tokens-DHaD6e_m.js → Tokens-Bnh73Gam.js} +1 -1
- package/src/assets/web-panel/assets/{Trigger-CFq9j3WV.js → Trigger-BO-fMwq8.js} +1 -1
- package/src/assets/web-panel/assets/{Trust-DuF7gIYX.js → Trust-CX-HXcRl.js} +1 -1
- package/src/assets/web-panel/assets/{UkeySign-DbuidXJX.js → UkeySign-C8AOFGVL.js} +1 -1
- package/src/assets/web-panel/assets/{VideoEditing-B8IA9_qE.js → VideoEditing-B_bJ6BO2.js} +1 -1
- package/src/assets/web-panel/assets/{Wallet-DdCglSIK.js → Wallet-Ccd3u1t4.js} +4 -4
- package/src/assets/web-panel/assets/{WebAuthn-CeteRsA8.js → WebAuthn-DVSL5e6o.js} +5 -5
- package/src/assets/web-panel/assets/{WorkflowEditor-DJhIbG__.js → WorkflowEditor-DqFq6xGO.js} +1 -1
- package/src/assets/web-panel/assets/{chat-srOi_Wef.js → chat-s5SEbhS8.js} +1 -1
- package/src/assets/web-panel/assets/{colors-HpVHsNGK.js → colors-CRFmX1eW.js} +1 -1
- package/src/assets/web-panel/assets/{compact-item-DsLhrqWe.js → compact-item-DCofr-Ii.js} +1 -1
- package/src/assets/web-panel/assets/{createContext-aOasIUuE.js → createContext-duu0_qGr.js} +1 -1
- package/src/assets/web-panel/assets/devWarning-0bFBr86K.js +1 -0
- package/src/assets/web-panel/assets/{hasIn-D5BVMimS.js → hasIn-B0KKSHGi.js} +1 -1
- package/src/assets/web-panel/assets/{index-DV4y5rUj.js → index-4aqbfxrp.js} +1 -1
- package/src/assets/web-panel/assets/{index-ChGUPEwS.js → index-B24nGxlB.js} +1 -1
- package/src/assets/web-panel/assets/{index-BCp70IlO.js → index-BCnLafAV.js} +1 -1
- package/src/assets/web-panel/assets/{index-CQXp_uNd.js → index-BDGNTPr6.js} +1 -1
- package/src/assets/web-panel/assets/{index-DiXsis7m.js → index-BERyKHMq.js} +1 -1
- package/src/assets/web-panel/assets/index-BJCitHZ6.js +1 -0
- package/src/assets/web-panel/assets/{index-V0gpVTbS.js → index-BM48QU3P.js} +1 -1
- package/src/assets/web-panel/assets/{index-C4tPtHU0.js → index-BMaM-Yex.js} +1 -1
- package/src/assets/web-panel/assets/{index-vQ6jy8Ew.js → index-BRpzktuV.js} +1 -1
- package/src/assets/web-panel/assets/{index-Bu6TVdgQ.js → index-BWWfogVi.js} +1 -1
- package/src/assets/web-panel/assets/{index-D2XRXkZU.js → index-B_8atrbf.js} +1 -1
- package/src/assets/web-panel/assets/{index-CvhVCHk-.js → index-BugberH-.js} +1 -1
- package/src/assets/web-panel/assets/{index-CUUs12L9.js → index-C3PtUFgB.js} +1 -1
- package/src/assets/web-panel/assets/{index-CGVHW0nF.js → index-C5chs_dS.js} +1 -1
- package/src/assets/web-panel/assets/{index-DcLBzIiI.js → index-CDCDbWnv.js} +1 -1
- package/src/assets/web-panel/assets/{index-CQEoGqMG.js → index-CIiqGHl0.js} +1 -1
- package/src/assets/web-panel/assets/{index-Dum_r_oY.js → index-CQWeRqsN.js} +1 -1
- package/src/assets/web-panel/assets/{index-BD64r0Tx.js → index-CRjnopxx.js} +1 -1
- package/src/assets/web-panel/assets/{index-D1xZMQrN.js → index-CUFMz21M.js} +1 -1
- package/src/assets/web-panel/assets/{index-BTwDhhvl.js → index-CaDLq49Y.js} +1 -1
- package/src/assets/web-panel/assets/{index-lFOfvZDn.js → index-Ch8O1mrO.js} +3 -3
- package/src/assets/web-panel/assets/{index-BNbsjeEc.js → index-CpnGJDxL.js} +1 -1
- package/src/assets/web-panel/assets/{index-LSz0ZOB8.js → index-CxvnkXVj.js} +1 -1
- package/src/assets/web-panel/assets/{index-Ow3SRXRX.js → index-D6sAHm_C.js} +1 -1
- package/src/assets/web-panel/assets/{index-CSxJ4oRd.js → index-D8sxQTSI.js} +1 -1
- package/src/assets/web-panel/assets/{index-DRCIPsdm.js → index-DDLVcra4.js} +1 -1
- package/src/assets/web-panel/assets/{index-q--LtRh9.js → index-DFzJlpwu.js} +1 -1
- package/src/assets/web-panel/assets/{index-Dpj-rEoV.js → index-DHHrnUkx.js} +1 -1
- package/src/assets/web-panel/assets/{index-BGBvkNN3.js → index-DJrRZ5um.js} +1 -1
- package/src/assets/web-panel/assets/{index-P6IMLmLT.js → index-DUT3dpdB.js} +1 -1
- package/src/assets/web-panel/assets/{index-CVp_dHCs.js → index-DY6ZHvJw.js} +1 -1
- package/src/assets/web-panel/assets/{index-fZnlPk7H.js → index-DeJMQynL.js} +1 -1
- package/src/assets/web-panel/assets/{index-dPFzlII1.js → index-DjZvE3_P.js} +1 -1
- package/src/assets/web-panel/assets/{index-B615KD2o.js → index-DtPSAUza.js} +1 -1
- package/src/assets/web-panel/assets/{index-b0Y0hDhX.js → index-NiXCoVfh.js} +1 -1
- package/src/assets/web-panel/assets/{index-BigtYchO.js → index-PR4YRMxw.js} +1 -1
- package/src/assets/web-panel/assets/{index-DQ5j1VKg.js → index-SbxDTh6S.js} +1 -1
- package/src/assets/web-panel/assets/index-WmqZ5PwS.js +1 -0
- package/src/assets/web-panel/assets/{index-kYqi6zYp.js → index-oxcFCNJ4.js} +1 -1
- package/src/assets/web-panel/assets/{initDefaultProps-1NU9yNpr.js → initDefaultProps-Ncgc0S0H.js} +1 -1
- package/src/assets/web-panel/assets/{motion-BZk2hQ6c.js → motion-BBobPHz-.js} +1 -1
- package/src/assets/web-panel/assets/{move-BNvublME.js → move-Dgeb9hea.js} +1 -1
- package/src/assets/web-panel/assets/{mtc-parser-DWk5BUoL.js → mtc-parser-onxX64FZ.js} +1 -1
- package/src/assets/web-panel/assets/{omit-DztYxX3x.js → omit-D2OZXzri.js} +1 -1
- package/src/assets/web-panel/assets/{pickAttrs-DURL8mtg.js → pickAttrs-J5iBCavx.js} +1 -1
- package/src/assets/web-panel/assets/{placementArrow-B820R56z.js → placementArrow-CE4U8sO6.js} +1 -1
- package/src/assets/web-panel/assets/{responsiveObserve-DUAkGJL1.js → responsiveObserve-Dl64-wdo.js} +1 -1
- package/src/assets/web-panel/assets/{slide-uZQeNSo6.js → slide-DRFC8TgC.js} +1 -1
- package/src/assets/web-panel/assets/{statusUtils-CGR1wFVq.js → statusUtils-Bh1xb87a.js} +1 -1
- package/src/assets/web-panel/assets/{styleChecker-BIIPOMsQ.js → styleChecker-DlG_dRlk.js} +1 -1
- package/src/assets/web-panel/assets/{useFlexGapSupport-rIB9c0g2.js → useFlexGapSupport-5qmSh3pc.js} +1 -1
- package/src/assets/web-panel/assets/{useFs-CrJe1BJi.js → useFs-C_fMqkQA.js} +1 -1
- package/src/assets/web-panel/assets/{usePersonalDataHub-DyEoD3Qm.js → usePersonalDataHub-D0Aih7lk.js} +1 -1
- package/src/assets/web-panel/assets/{vnode-CjohPxI0.js → vnode-Cv17kLab.js} +1 -1
- package/src/assets/web-panel/assets/{zoom-C5POL1_6.js → zoom-B8Mzvavx.js} +1 -1
- package/src/assets/web-panel/index.html +1 -1
- package/src/command-help-index.json +1 -1
- package/src/commands/serve.js +62 -9
- package/src/data/changelog.json +13 -0
- package/src/gateways/ws/ws-server.js +392 -33
- package/src/generated/cc-agent-protocol.schema.json +1442 -1
- package/src/lib/app-server/server.js +3 -1
- package/src/lib/app-server/websocket-transport.js +546 -0
- package/src/lib/public-ide-capability-manifest.js +4 -0
- package/src/runtime/__tests__/coding-agent-events.test.js +36 -0
- package/src/runtime/coding-agent-events.cjs +82 -0
- package/src/assets/web-panel/assets/EmailListRenderer-CcsFzV4y.js +0 -1
- package/src/assets/web-panel/assets/PdhVaultBrowser-jj7LhT04.js +0 -7
- package/src/assets/web-panel/assets/ProjectSettings-CJaXO_iE.js +0 -2
- package/src/assets/web-panel/assets/Projects-C21-MQ3H.js +0 -1
- package/src/assets/web-panel/assets/Skills-BhKkYF3_.js +0 -1
- package/src/assets/web-panel/assets/devWarning-B_acr36n.js +0 -1
- package/src/assets/web-panel/assets/index-BnLYpdox.js +0 -1
- package/src/assets/web-panel/assets/index-Dzmwsl_v.js +0 -1
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"bounded_transport",
|
|
16
16
|
"graph_effect_receipts",
|
|
17
17
|
"deterministic_trace",
|
|
18
|
-
"agent_stream_events"
|
|
18
|
+
"agent_stream_events",
|
|
19
|
+
"agent_stream_payloads"
|
|
19
20
|
]
|
|
20
21
|
},
|
|
21
22
|
"oneOf": [
|
|
@@ -1848,6 +1849,1446 @@
|
|
|
1848
1849
|
"$ref": "#/$defs/JsonValue"
|
|
1849
1850
|
}
|
|
1850
1851
|
},
|
|
1852
|
+
"AgentApprovalRequestStreamEvent": {
|
|
1853
|
+
"type": "object",
|
|
1854
|
+
"required": [
|
|
1855
|
+
"type",
|
|
1856
|
+
"id"
|
|
1857
|
+
],
|
|
1858
|
+
"properties": {
|
|
1859
|
+
"type": {
|
|
1860
|
+
"const": "approval_request"
|
|
1861
|
+
},
|
|
1862
|
+
"id": {
|
|
1863
|
+
"type": "string",
|
|
1864
|
+
"minLength": 1,
|
|
1865
|
+
"maxLength": 160
|
|
1866
|
+
},
|
|
1867
|
+
"session_id": {
|
|
1868
|
+
"type": "string",
|
|
1869
|
+
"maxLength": 160
|
|
1870
|
+
},
|
|
1871
|
+
"tool": {
|
|
1872
|
+
"type": [
|
|
1873
|
+
"string",
|
|
1874
|
+
"null"
|
|
1875
|
+
],
|
|
1876
|
+
"maxLength": 256
|
|
1877
|
+
},
|
|
1878
|
+
"command": {
|
|
1879
|
+
"type": [
|
|
1880
|
+
"string",
|
|
1881
|
+
"null"
|
|
1882
|
+
],
|
|
1883
|
+
"maxLength": 4096
|
|
1884
|
+
},
|
|
1885
|
+
"risk": {
|
|
1886
|
+
"type": [
|
|
1887
|
+
"string",
|
|
1888
|
+
"null"
|
|
1889
|
+
],
|
|
1890
|
+
"maxLength": 64
|
|
1891
|
+
},
|
|
1892
|
+
"rule": {
|
|
1893
|
+
"type": [
|
|
1894
|
+
"string",
|
|
1895
|
+
"null"
|
|
1896
|
+
],
|
|
1897
|
+
"maxLength": 512
|
|
1898
|
+
},
|
|
1899
|
+
"reason": {
|
|
1900
|
+
"type": [
|
|
1901
|
+
"string",
|
|
1902
|
+
"null"
|
|
1903
|
+
],
|
|
1904
|
+
"maxLength": 4096
|
|
1905
|
+
},
|
|
1906
|
+
"binding": {
|
|
1907
|
+
"type": "string",
|
|
1908
|
+
"minLength": 1,
|
|
1909
|
+
"maxLength": 512
|
|
1910
|
+
},
|
|
1911
|
+
"requested_permissions": {
|
|
1912
|
+
"type": "array",
|
|
1913
|
+
"maxItems": 64,
|
|
1914
|
+
"items": {
|
|
1915
|
+
"$ref": "#/$defs/PermissionGrant"
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
"AgentApprovalResolvedStreamEvent": {
|
|
1921
|
+
"type": "object",
|
|
1922
|
+
"required": [
|
|
1923
|
+
"type",
|
|
1924
|
+
"id",
|
|
1925
|
+
"approved",
|
|
1926
|
+
"via"
|
|
1927
|
+
],
|
|
1928
|
+
"properties": {
|
|
1929
|
+
"type": {
|
|
1930
|
+
"const": "approval_resolved"
|
|
1931
|
+
},
|
|
1932
|
+
"id": {
|
|
1933
|
+
"type": "string",
|
|
1934
|
+
"minLength": 1,
|
|
1935
|
+
"maxLength": 160
|
|
1936
|
+
},
|
|
1937
|
+
"approved": {
|
|
1938
|
+
"type": "boolean"
|
|
1939
|
+
},
|
|
1940
|
+
"decision": {
|
|
1941
|
+
"$ref": "#/$defs/ApprovalDecision"
|
|
1942
|
+
},
|
|
1943
|
+
"via": {
|
|
1944
|
+
"type": "string",
|
|
1945
|
+
"minLength": 1,
|
|
1946
|
+
"maxLength": 64
|
|
1947
|
+
},
|
|
1948
|
+
"session_id": {
|
|
1949
|
+
"type": "string",
|
|
1950
|
+
"maxLength": 160
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
"AgentCheckpointStreamEvent": {
|
|
1955
|
+
"type": "object",
|
|
1956
|
+
"required": [
|
|
1957
|
+
"type",
|
|
1958
|
+
"id"
|
|
1959
|
+
],
|
|
1960
|
+
"properties": {
|
|
1961
|
+
"type": {
|
|
1962
|
+
"const": "checkpoint"
|
|
1963
|
+
},
|
|
1964
|
+
"id": {
|
|
1965
|
+
"type": "string",
|
|
1966
|
+
"minLength": 1,
|
|
1967
|
+
"maxLength": 160
|
|
1968
|
+
},
|
|
1969
|
+
"tool": {
|
|
1970
|
+
"type": "string",
|
|
1971
|
+
"maxLength": 256
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
"AgentCompactionStreamEvent": {
|
|
1976
|
+
"type": "object",
|
|
1977
|
+
"required": [
|
|
1978
|
+
"type"
|
|
1979
|
+
],
|
|
1980
|
+
"properties": {
|
|
1981
|
+
"type": {
|
|
1982
|
+
"const": "compaction"
|
|
1983
|
+
},
|
|
1984
|
+
"stats": {
|
|
1985
|
+
"$ref": "#/$defs/JsonValue"
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
},
|
|
1989
|
+
"AgentCompactionDegradedStreamEvent": {
|
|
1990
|
+
"type": "object",
|
|
1991
|
+
"required": [
|
|
1992
|
+
"type",
|
|
1993
|
+
"reason"
|
|
1994
|
+
],
|
|
1995
|
+
"properties": {
|
|
1996
|
+
"type": {
|
|
1997
|
+
"const": "compaction-degraded"
|
|
1998
|
+
},
|
|
1999
|
+
"reason": {
|
|
2000
|
+
"type": "string",
|
|
2001
|
+
"minLength": 1,
|
|
2002
|
+
"maxLength": 1024
|
|
2003
|
+
},
|
|
2004
|
+
"summaryMode": {
|
|
2005
|
+
"type": "string",
|
|
2006
|
+
"maxLength": 64
|
|
2007
|
+
},
|
|
2008
|
+
"code": {
|
|
2009
|
+
"type": "string",
|
|
2010
|
+
"maxLength": 128
|
|
2011
|
+
},
|
|
2012
|
+
"commitState": {
|
|
2013
|
+
"type": "string",
|
|
2014
|
+
"maxLength": 128
|
|
2015
|
+
},
|
|
2016
|
+
"requestId": {
|
|
2017
|
+
"type": "string",
|
|
2018
|
+
"maxLength": 160
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
2022
|
+
"AgentCompactionUsageUnknownStreamEvent": {
|
|
2023
|
+
"type": "object",
|
|
2024
|
+
"required": [
|
|
2025
|
+
"type"
|
|
2026
|
+
],
|
|
2027
|
+
"properties": {
|
|
2028
|
+
"type": {
|
|
2029
|
+
"const": "compaction_usage_unknown"
|
|
2030
|
+
},
|
|
2031
|
+
"provider": {
|
|
2032
|
+
"type": "string",
|
|
2033
|
+
"maxLength": 128
|
|
2034
|
+
},
|
|
2035
|
+
"model": {
|
|
2036
|
+
"type": "string",
|
|
2037
|
+
"maxLength": 256
|
|
2038
|
+
},
|
|
2039
|
+
"source": {
|
|
2040
|
+
"type": "string",
|
|
2041
|
+
"maxLength": 128
|
|
2042
|
+
},
|
|
2043
|
+
"reason": {
|
|
2044
|
+
"type": "string",
|
|
2045
|
+
"maxLength": 1024
|
|
2046
|
+
},
|
|
2047
|
+
"usage_outcome": {
|
|
2048
|
+
"const": "unknown"
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
},
|
|
2052
|
+
"AgentCostBudgetExhaustedStreamEvent": {
|
|
2053
|
+
"type": "object",
|
|
2054
|
+
"required": [
|
|
2055
|
+
"type"
|
|
2056
|
+
],
|
|
2057
|
+
"properties": {
|
|
2058
|
+
"type": {
|
|
2059
|
+
"const": "cost_budget_exhausted"
|
|
2060
|
+
},
|
|
2061
|
+
"limit_usd": {
|
|
2062
|
+
"type": "number",
|
|
2063
|
+
"minimum": 0
|
|
2064
|
+
},
|
|
2065
|
+
"spent_usd": {
|
|
2066
|
+
"type": "number",
|
|
2067
|
+
"minimum": 0
|
|
2068
|
+
},
|
|
2069
|
+
"session_id": {
|
|
2070
|
+
"type": "string",
|
|
2071
|
+
"maxLength": 160
|
|
2072
|
+
},
|
|
2073
|
+
"turn": {
|
|
2074
|
+
"type": "integer",
|
|
2075
|
+
"minimum": 0
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
},
|
|
2079
|
+
"AgentElicitationCompleteStreamEvent": {
|
|
2080
|
+
"type": "object",
|
|
2081
|
+
"required": [
|
|
2082
|
+
"type",
|
|
2083
|
+
"elicitation_id"
|
|
2084
|
+
],
|
|
2085
|
+
"properties": {
|
|
2086
|
+
"type": {
|
|
2087
|
+
"const": "elicitation_complete"
|
|
2088
|
+
},
|
|
2089
|
+
"session_id": {
|
|
2090
|
+
"type": "string",
|
|
2091
|
+
"maxLength": 160
|
|
2092
|
+
},
|
|
2093
|
+
"server": {
|
|
2094
|
+
"type": [
|
|
2095
|
+
"string",
|
|
2096
|
+
"null"
|
|
2097
|
+
],
|
|
2098
|
+
"maxLength": 256
|
|
2099
|
+
},
|
|
2100
|
+
"elicitation_id": {
|
|
2101
|
+
"type": "string",
|
|
2102
|
+
"minLength": 1,
|
|
2103
|
+
"maxLength": 160
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
},
|
|
2107
|
+
"AgentElicitationDeferredStreamEvent": {
|
|
2108
|
+
"type": "object",
|
|
2109
|
+
"required": [
|
|
2110
|
+
"type",
|
|
2111
|
+
"mode",
|
|
2112
|
+
"message",
|
|
2113
|
+
"reason",
|
|
2114
|
+
"wire_action"
|
|
2115
|
+
],
|
|
2116
|
+
"properties": {
|
|
2117
|
+
"type": {
|
|
2118
|
+
"const": "elicitation_deferred"
|
|
2119
|
+
},
|
|
2120
|
+
"session_id": {
|
|
2121
|
+
"type": "string",
|
|
2122
|
+
"maxLength": 160
|
|
2123
|
+
},
|
|
2124
|
+
"server": {
|
|
2125
|
+
"type": [
|
|
2126
|
+
"string",
|
|
2127
|
+
"null"
|
|
2128
|
+
],
|
|
2129
|
+
"maxLength": 256
|
|
2130
|
+
},
|
|
2131
|
+
"request_id": {
|
|
2132
|
+
"anyOf": [
|
|
2133
|
+
{
|
|
2134
|
+
"type": "string",
|
|
2135
|
+
"maxLength": 160
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"type": "integer"
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"type": "null"
|
|
2142
|
+
}
|
|
2143
|
+
]
|
|
2144
|
+
},
|
|
2145
|
+
"mode": {
|
|
2146
|
+
"enum": [
|
|
2147
|
+
"form",
|
|
2148
|
+
"url"
|
|
2149
|
+
]
|
|
2150
|
+
},
|
|
2151
|
+
"message": {
|
|
2152
|
+
"type": "string",
|
|
2153
|
+
"maxLength": 4096
|
|
2154
|
+
},
|
|
2155
|
+
"requested_schema": {
|
|
2156
|
+
"$ref": "#/$defs/JsonValue"
|
|
2157
|
+
},
|
|
2158
|
+
"elicitation_id": {
|
|
2159
|
+
"type": [
|
|
2160
|
+
"string",
|
|
2161
|
+
"null"
|
|
2162
|
+
],
|
|
2163
|
+
"maxLength": 160
|
|
2164
|
+
},
|
|
2165
|
+
"url": {
|
|
2166
|
+
"type": [
|
|
2167
|
+
"string",
|
|
2168
|
+
"null"
|
|
2169
|
+
],
|
|
2170
|
+
"maxLength": 4096
|
|
2171
|
+
},
|
|
2172
|
+
"url_host": {
|
|
2173
|
+
"type": [
|
|
2174
|
+
"string",
|
|
2175
|
+
"null"
|
|
2176
|
+
],
|
|
2177
|
+
"maxLength": 512
|
|
2178
|
+
},
|
|
2179
|
+
"reason": {
|
|
2180
|
+
"type": "string",
|
|
2181
|
+
"minLength": 1,
|
|
2182
|
+
"maxLength": 1024
|
|
2183
|
+
},
|
|
2184
|
+
"wire_action": {
|
|
2185
|
+
"const": "decline"
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
},
|
|
2189
|
+
"AgentFeedbackAckStreamEvent": {
|
|
2190
|
+
"type": "object",
|
|
2191
|
+
"required": [
|
|
2192
|
+
"type"
|
|
2193
|
+
],
|
|
2194
|
+
"properties": {
|
|
2195
|
+
"type": {
|
|
2196
|
+
"const": "feedback_ack"
|
|
2197
|
+
},
|
|
2198
|
+
"turn_id": {
|
|
2199
|
+
"type": "string",
|
|
2200
|
+
"maxLength": 160
|
|
2201
|
+
},
|
|
2202
|
+
"kind": {
|
|
2203
|
+
"type": "string",
|
|
2204
|
+
"maxLength": 64
|
|
2205
|
+
},
|
|
2206
|
+
"session_id": {
|
|
2207
|
+
"type": "string",
|
|
2208
|
+
"maxLength": 160
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
"AgentHookProgressStreamEvent": {
|
|
2213
|
+
"type": "object",
|
|
2214
|
+
"required": [
|
|
2215
|
+
"type",
|
|
2216
|
+
"schema_version",
|
|
2217
|
+
"hook_event"
|
|
2218
|
+
],
|
|
2219
|
+
"properties": {
|
|
2220
|
+
"type": {
|
|
2221
|
+
"const": "hook_progress"
|
|
2222
|
+
},
|
|
2223
|
+
"schema_version": {
|
|
2224
|
+
"const": 1
|
|
2225
|
+
},
|
|
2226
|
+
"hook_event": {
|
|
2227
|
+
"type": "string",
|
|
2228
|
+
"minLength": 1,
|
|
2229
|
+
"maxLength": 96
|
|
2230
|
+
},
|
|
2231
|
+
"session_id": {
|
|
2232
|
+
"type": "string",
|
|
2233
|
+
"maxLength": 160
|
|
2234
|
+
},
|
|
2235
|
+
"parent_id": {
|
|
2236
|
+
"type": "string",
|
|
2237
|
+
"maxLength": 160
|
|
2238
|
+
},
|
|
2239
|
+
"turn_id": {
|
|
2240
|
+
"type": "string",
|
|
2241
|
+
"maxLength": 160
|
|
2242
|
+
},
|
|
2243
|
+
"tool_use_id": {
|
|
2244
|
+
"type": "string",
|
|
2245
|
+
"maxLength": 160
|
|
2246
|
+
},
|
|
2247
|
+
"hook_id": {
|
|
2248
|
+
"type": [
|
|
2249
|
+
"string",
|
|
2250
|
+
"null"
|
|
2251
|
+
],
|
|
2252
|
+
"maxLength": 160
|
|
2253
|
+
},
|
|
2254
|
+
"status": {
|
|
2255
|
+
"type": "string",
|
|
2256
|
+
"maxLength": 32
|
|
2257
|
+
},
|
|
2258
|
+
"decision": {
|
|
2259
|
+
"type": "string",
|
|
2260
|
+
"maxLength": 32
|
|
2261
|
+
},
|
|
2262
|
+
"duration_ms": {
|
|
2263
|
+
"type": "integer",
|
|
2264
|
+
"minimum": 0
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
"AgentHookResponseStreamEvent": {
|
|
2269
|
+
"type": "object",
|
|
2270
|
+
"required": [
|
|
2271
|
+
"type",
|
|
2272
|
+
"schema_version",
|
|
2273
|
+
"hook_event"
|
|
2274
|
+
],
|
|
2275
|
+
"properties": {
|
|
2276
|
+
"type": {
|
|
2277
|
+
"const": "hook_response"
|
|
2278
|
+
},
|
|
2279
|
+
"schema_version": {
|
|
2280
|
+
"const": 1
|
|
2281
|
+
},
|
|
2282
|
+
"hook_event": {
|
|
2283
|
+
"type": "string",
|
|
2284
|
+
"minLength": 1,
|
|
2285
|
+
"maxLength": 96
|
|
2286
|
+
},
|
|
2287
|
+
"session_id": {
|
|
2288
|
+
"type": "string",
|
|
2289
|
+
"maxLength": 160
|
|
2290
|
+
},
|
|
2291
|
+
"parent_id": {
|
|
2292
|
+
"type": "string",
|
|
2293
|
+
"maxLength": 160
|
|
2294
|
+
},
|
|
2295
|
+
"turn_id": {
|
|
2296
|
+
"type": "string",
|
|
2297
|
+
"maxLength": 160
|
|
2298
|
+
},
|
|
2299
|
+
"tool_use_id": {
|
|
2300
|
+
"type": "string",
|
|
2301
|
+
"maxLength": 160
|
|
2302
|
+
},
|
|
2303
|
+
"decision": {
|
|
2304
|
+
"type": "string",
|
|
2305
|
+
"maxLength": 32
|
|
2306
|
+
},
|
|
2307
|
+
"blocked": {
|
|
2308
|
+
"type": "boolean"
|
|
2309
|
+
},
|
|
2310
|
+
"requires_approval": {
|
|
2311
|
+
"type": "boolean"
|
|
2312
|
+
},
|
|
2313
|
+
"hook_count": {
|
|
2314
|
+
"type": "integer",
|
|
2315
|
+
"minimum": 0
|
|
2316
|
+
},
|
|
2317
|
+
"error": {
|
|
2318
|
+
"const": "hook_runtime_error"
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2321
|
+
},
|
|
2322
|
+
"AgentHookStartedStreamEvent": {
|
|
2323
|
+
"type": "object",
|
|
2324
|
+
"required": [
|
|
2325
|
+
"type",
|
|
2326
|
+
"schema_version",
|
|
2327
|
+
"hook_event"
|
|
2328
|
+
],
|
|
2329
|
+
"properties": {
|
|
2330
|
+
"type": {
|
|
2331
|
+
"const": "hook_started"
|
|
2332
|
+
},
|
|
2333
|
+
"schema_version": {
|
|
2334
|
+
"const": 1
|
|
2335
|
+
},
|
|
2336
|
+
"hook_event": {
|
|
2337
|
+
"type": "string",
|
|
2338
|
+
"minLength": 1,
|
|
2339
|
+
"maxLength": 96
|
|
2340
|
+
},
|
|
2341
|
+
"session_id": {
|
|
2342
|
+
"type": "string",
|
|
2343
|
+
"maxLength": 160
|
|
2344
|
+
},
|
|
2345
|
+
"parent_id": {
|
|
2346
|
+
"type": "string",
|
|
2347
|
+
"maxLength": 160
|
|
2348
|
+
},
|
|
2349
|
+
"turn_id": {
|
|
2350
|
+
"type": "string",
|
|
2351
|
+
"maxLength": 160
|
|
2352
|
+
},
|
|
2353
|
+
"tool_use_id": {
|
|
2354
|
+
"type": "string",
|
|
2355
|
+
"maxLength": 160
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
},
|
|
2359
|
+
"AgentIterationBudgetExhaustedStreamEvent": {
|
|
2360
|
+
"type": "object",
|
|
2361
|
+
"required": [
|
|
2362
|
+
"type"
|
|
2363
|
+
],
|
|
2364
|
+
"properties": {
|
|
2365
|
+
"type": {
|
|
2366
|
+
"const": "iteration_budget_exhausted"
|
|
2367
|
+
},
|
|
2368
|
+
"budget": {
|
|
2369
|
+
"type": "integer",
|
|
2370
|
+
"minimum": 0
|
|
2371
|
+
}
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
"AgentIterationWarningStreamEvent": {
|
|
2375
|
+
"type": "object",
|
|
2376
|
+
"required": [
|
|
2377
|
+
"type"
|
|
2378
|
+
],
|
|
2379
|
+
"properties": {
|
|
2380
|
+
"type": {
|
|
2381
|
+
"const": "iteration_warning"
|
|
2382
|
+
},
|
|
2383
|
+
"message": {
|
|
2384
|
+
"type": "string",
|
|
2385
|
+
"maxLength": 4096
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
},
|
|
2389
|
+
"AgentPlanUpdateStreamEvent": {
|
|
2390
|
+
"type": "object",
|
|
2391
|
+
"required": [
|
|
2392
|
+
"type"
|
|
2393
|
+
],
|
|
2394
|
+
"properties": {
|
|
2395
|
+
"type": {
|
|
2396
|
+
"const": "plan_update"
|
|
2397
|
+
},
|
|
2398
|
+
"active": {
|
|
2399
|
+
"type": "boolean"
|
|
2400
|
+
},
|
|
2401
|
+
"state": {
|
|
2402
|
+
"type": [
|
|
2403
|
+
"string",
|
|
2404
|
+
"null"
|
|
2405
|
+
],
|
|
2406
|
+
"maxLength": 128
|
|
2407
|
+
},
|
|
2408
|
+
"plan_id": {
|
|
2409
|
+
"type": [
|
|
2410
|
+
"string",
|
|
2411
|
+
"null"
|
|
2412
|
+
],
|
|
2413
|
+
"maxLength": 160
|
|
2414
|
+
},
|
|
2415
|
+
"plan_version": {
|
|
2416
|
+
"type": [
|
|
2417
|
+
"integer",
|
|
2418
|
+
"null"
|
|
2419
|
+
],
|
|
2420
|
+
"minimum": 0
|
|
2421
|
+
},
|
|
2422
|
+
"previous_plan_id": {
|
|
2423
|
+
"type": [
|
|
2424
|
+
"string",
|
|
2425
|
+
"null"
|
|
2426
|
+
],
|
|
2427
|
+
"maxLength": 160
|
|
2428
|
+
},
|
|
2429
|
+
"items": {
|
|
2430
|
+
"type": "array",
|
|
2431
|
+
"items": {
|
|
2432
|
+
"$ref": "#/$defs/JsonValue"
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
"risk": {
|
|
2436
|
+
"$ref": "#/$defs/JsonValue"
|
|
2437
|
+
},
|
|
2438
|
+
"execution_lock": {
|
|
2439
|
+
"$ref": "#/$defs/JsonValue"
|
|
2440
|
+
},
|
|
2441
|
+
"session_id": {
|
|
2442
|
+
"type": "string",
|
|
2443
|
+
"maxLength": 160
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
"AgentQuestionRequestStreamEvent": {
|
|
2448
|
+
"type": "object",
|
|
2449
|
+
"required": [
|
|
2450
|
+
"type",
|
|
2451
|
+
"id",
|
|
2452
|
+
"question"
|
|
2453
|
+
],
|
|
2454
|
+
"properties": {
|
|
2455
|
+
"type": {
|
|
2456
|
+
"const": "question_request"
|
|
2457
|
+
},
|
|
2458
|
+
"id": {
|
|
2459
|
+
"type": "string",
|
|
2460
|
+
"minLength": 1,
|
|
2461
|
+
"maxLength": 160
|
|
2462
|
+
},
|
|
2463
|
+
"question": {
|
|
2464
|
+
"type": "string",
|
|
2465
|
+
"minLength": 1,
|
|
2466
|
+
"maxLength": 8192
|
|
2467
|
+
},
|
|
2468
|
+
"options": {
|
|
2469
|
+
"type": "array",
|
|
2470
|
+
"items": {
|
|
2471
|
+
"$ref": "#/$defs/JsonValue"
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
2474
|
+
"multiSelect": {
|
|
2475
|
+
"type": "boolean"
|
|
2476
|
+
},
|
|
2477
|
+
"session_id": {
|
|
2478
|
+
"type": "string",
|
|
2479
|
+
"maxLength": 160
|
|
2480
|
+
},
|
|
2481
|
+
"binding": {
|
|
2482
|
+
"$ref": "#/$defs/JsonValue"
|
|
2483
|
+
},
|
|
2484
|
+
"metadata": {
|
|
2485
|
+
"$ref": "#/$defs/JsonValue"
|
|
2486
|
+
}
|
|
2487
|
+
}
|
|
2488
|
+
},
|
|
2489
|
+
"AgentQuestionResolvedStreamEvent": {
|
|
2490
|
+
"type": "object",
|
|
2491
|
+
"required": [
|
|
2492
|
+
"type",
|
|
2493
|
+
"id"
|
|
2494
|
+
],
|
|
2495
|
+
"properties": {
|
|
2496
|
+
"type": {
|
|
2497
|
+
"const": "question_resolved"
|
|
2498
|
+
},
|
|
2499
|
+
"id": {
|
|
2500
|
+
"type": "string",
|
|
2501
|
+
"minLength": 1,
|
|
2502
|
+
"maxLength": 160
|
|
2503
|
+
},
|
|
2504
|
+
"answer": {
|
|
2505
|
+
"$ref": "#/$defs/JsonValue"
|
|
2506
|
+
},
|
|
2507
|
+
"via": {
|
|
2508
|
+
"type": "string",
|
|
2509
|
+
"maxLength": 64
|
|
2510
|
+
},
|
|
2511
|
+
"session_id": {
|
|
2512
|
+
"type": "string",
|
|
2513
|
+
"maxLength": 160
|
|
2514
|
+
}
|
|
2515
|
+
}
|
|
2516
|
+
},
|
|
2517
|
+
"AgentQuestionResponseRejectedStreamEvent": {
|
|
2518
|
+
"type": "object",
|
|
2519
|
+
"required": [
|
|
2520
|
+
"type",
|
|
2521
|
+
"id",
|
|
2522
|
+
"reason"
|
|
2523
|
+
],
|
|
2524
|
+
"properties": {
|
|
2525
|
+
"type": {
|
|
2526
|
+
"const": "question_response_rejected"
|
|
2527
|
+
},
|
|
2528
|
+
"id": {
|
|
2529
|
+
"type": "string",
|
|
2530
|
+
"minLength": 1,
|
|
2531
|
+
"maxLength": 160
|
|
2532
|
+
},
|
|
2533
|
+
"reason": {
|
|
2534
|
+
"type": "string",
|
|
2535
|
+
"minLength": 1,
|
|
2536
|
+
"maxLength": 256
|
|
2537
|
+
},
|
|
2538
|
+
"session_id": {
|
|
2539
|
+
"type": "string",
|
|
2540
|
+
"maxLength": 160
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
},
|
|
2544
|
+
"AgentRawStreamEvent": {
|
|
2545
|
+
"type": "object",
|
|
2546
|
+
"required": [
|
|
2547
|
+
"type"
|
|
2548
|
+
],
|
|
2549
|
+
"properties": {
|
|
2550
|
+
"type": {
|
|
2551
|
+
"const": "raw"
|
|
2552
|
+
},
|
|
2553
|
+
"subtype": {
|
|
2554
|
+
"type": "string",
|
|
2555
|
+
"maxLength": 128
|
|
2556
|
+
},
|
|
2557
|
+
"text": {
|
|
2558
|
+
"type": "string"
|
|
2559
|
+
}
|
|
2560
|
+
}
|
|
2561
|
+
},
|
|
2562
|
+
"AgentRecoveryDegradedStreamEvent": {
|
|
2563
|
+
"type": "object",
|
|
2564
|
+
"required": [
|
|
2565
|
+
"type",
|
|
2566
|
+
"component",
|
|
2567
|
+
"error"
|
|
2568
|
+
],
|
|
2569
|
+
"properties": {
|
|
2570
|
+
"type": {
|
|
2571
|
+
"const": "recovery_degraded"
|
|
2572
|
+
},
|
|
2573
|
+
"component": {
|
|
2574
|
+
"type": "string",
|
|
2575
|
+
"minLength": 1,
|
|
2576
|
+
"maxLength": 128
|
|
2577
|
+
},
|
|
2578
|
+
"session_id": {
|
|
2579
|
+
"type": "string",
|
|
2580
|
+
"maxLength": 160
|
|
2581
|
+
},
|
|
2582
|
+
"error": {
|
|
2583
|
+
"type": "string",
|
|
2584
|
+
"minLength": 1,
|
|
2585
|
+
"maxLength": 4096
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
},
|
|
2589
|
+
"AgentRemoteControlStreamEvent": {
|
|
2590
|
+
"type": "object",
|
|
2591
|
+
"required": [
|
|
2592
|
+
"type",
|
|
2593
|
+
"subtype"
|
|
2594
|
+
],
|
|
2595
|
+
"properties": {
|
|
2596
|
+
"type": {
|
|
2597
|
+
"const": "remote_control"
|
|
2598
|
+
},
|
|
2599
|
+
"subtype": {
|
|
2600
|
+
"enum": [
|
|
2601
|
+
"pairing",
|
|
2602
|
+
"unavailable"
|
|
2603
|
+
]
|
|
2604
|
+
},
|
|
2605
|
+
"pairing_uri": {
|
|
2606
|
+
"type": "string",
|
|
2607
|
+
"maxLength": 4096
|
|
2608
|
+
},
|
|
2609
|
+
"remote_session_id": {
|
|
2610
|
+
"type": "string",
|
|
2611
|
+
"maxLength": 160
|
|
2612
|
+
},
|
|
2613
|
+
"expires_at": {
|
|
2614
|
+
"$ref": "#/$defs/JsonValue"
|
|
2615
|
+
},
|
|
2616
|
+
"error": {
|
|
2617
|
+
"type": "string",
|
|
2618
|
+
"maxLength": 4096
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2621
|
+
},
|
|
2622
|
+
"AgentResultStreamEvent": {
|
|
2623
|
+
"type": "object",
|
|
2624
|
+
"required": [
|
|
2625
|
+
"type",
|
|
2626
|
+
"subtype",
|
|
2627
|
+
"is_error"
|
|
2628
|
+
],
|
|
2629
|
+
"properties": {
|
|
2630
|
+
"type": {
|
|
2631
|
+
"const": "result"
|
|
2632
|
+
},
|
|
2633
|
+
"subtype": {
|
|
2634
|
+
"type": "string",
|
|
2635
|
+
"minLength": 1,
|
|
2636
|
+
"maxLength": 128
|
|
2637
|
+
},
|
|
2638
|
+
"is_error": {
|
|
2639
|
+
"type": "boolean"
|
|
2640
|
+
},
|
|
2641
|
+
"result": {
|
|
2642
|
+
"type": "string"
|
|
2643
|
+
},
|
|
2644
|
+
"error": {
|
|
2645
|
+
"type": "string"
|
|
2646
|
+
},
|
|
2647
|
+
"interrupted": {
|
|
2648
|
+
"type": "boolean"
|
|
2649
|
+
},
|
|
2650
|
+
"session_id": {
|
|
2651
|
+
"type": "string",
|
|
2652
|
+
"maxLength": 160
|
|
2653
|
+
},
|
|
2654
|
+
"turn": {
|
|
2655
|
+
"type": "integer",
|
|
2656
|
+
"minimum": 0
|
|
2657
|
+
},
|
|
2658
|
+
"num_turns": {
|
|
2659
|
+
"type": "integer",
|
|
2660
|
+
"minimum": 0
|
|
2661
|
+
},
|
|
2662
|
+
"duration_ms": {
|
|
2663
|
+
"type": "integer",
|
|
2664
|
+
"minimum": 0
|
|
2665
|
+
},
|
|
2666
|
+
"tool_calls": {
|
|
2667
|
+
"type": "integer",
|
|
2668
|
+
"minimum": 0
|
|
2669
|
+
},
|
|
2670
|
+
"usage": {
|
|
2671
|
+
"$ref": "#/$defs/JsonValue"
|
|
2672
|
+
},
|
|
2673
|
+
"denials": {
|
|
2674
|
+
"type": "array",
|
|
2675
|
+
"items": {
|
|
2676
|
+
"$ref": "#/$defs/JsonValue"
|
|
2677
|
+
}
|
|
2678
|
+
}
|
|
2679
|
+
}
|
|
2680
|
+
},
|
|
2681
|
+
"AgentResumeAckStreamEvent": {
|
|
2682
|
+
"type": "object",
|
|
2683
|
+
"required": [
|
|
2684
|
+
"type"
|
|
2685
|
+
],
|
|
2686
|
+
"properties": {
|
|
2687
|
+
"type": {
|
|
2688
|
+
"const": "resume_ack"
|
|
2689
|
+
},
|
|
2690
|
+
"token": {
|
|
2691
|
+
"type": "string",
|
|
2692
|
+
"maxLength": 512
|
|
2693
|
+
},
|
|
2694
|
+
"action": {
|
|
2695
|
+
"type": "string",
|
|
2696
|
+
"maxLength": 64
|
|
2697
|
+
},
|
|
2698
|
+
"session_id": {
|
|
2699
|
+
"type": "string",
|
|
2700
|
+
"maxLength": 160
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
"AgentSessionErrorStreamEvent": {
|
|
2705
|
+
"type": "object",
|
|
2706
|
+
"required": [
|
|
2707
|
+
"type"
|
|
2708
|
+
],
|
|
2709
|
+
"properties": {
|
|
2710
|
+
"type": {
|
|
2711
|
+
"const": "session_error"
|
|
2712
|
+
},
|
|
2713
|
+
"error": {
|
|
2714
|
+
"type": "string",
|
|
2715
|
+
"maxLength": 4096
|
|
2716
|
+
},
|
|
2717
|
+
"message": {
|
|
2718
|
+
"type": "string",
|
|
2719
|
+
"maxLength": 4096
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
"AgentSlashCommandResultStreamEvent": {
|
|
2724
|
+
"type": "object",
|
|
2725
|
+
"required": [
|
|
2726
|
+
"type",
|
|
2727
|
+
"request_id",
|
|
2728
|
+
"command",
|
|
2729
|
+
"ok"
|
|
2730
|
+
],
|
|
2731
|
+
"properties": {
|
|
2732
|
+
"type": {
|
|
2733
|
+
"const": "slash_command_result"
|
|
2734
|
+
},
|
|
2735
|
+
"request_id": {
|
|
2736
|
+
"type": "string",
|
|
2737
|
+
"minLength": 1,
|
|
2738
|
+
"maxLength": 160
|
|
2739
|
+
},
|
|
2740
|
+
"command": {
|
|
2741
|
+
"type": "string",
|
|
2742
|
+
"minLength": 1,
|
|
2743
|
+
"maxLength": 128
|
|
2744
|
+
},
|
|
2745
|
+
"ok": {
|
|
2746
|
+
"type": "boolean"
|
|
2747
|
+
},
|
|
2748
|
+
"text": {
|
|
2749
|
+
"type": "string"
|
|
2750
|
+
},
|
|
2751
|
+
"error": {
|
|
2752
|
+
"$ref": "#/$defs/JsonValue"
|
|
2753
|
+
},
|
|
2754
|
+
"session_id": {
|
|
2755
|
+
"type": "string",
|
|
2756
|
+
"maxLength": 160
|
|
2757
|
+
}
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
"AgentContentStreamEvent": {
|
|
2761
|
+
"type": "object",
|
|
2762
|
+
"required": [
|
|
2763
|
+
"type",
|
|
2764
|
+
"event"
|
|
2765
|
+
],
|
|
2766
|
+
"properties": {
|
|
2767
|
+
"type": {
|
|
2768
|
+
"const": "stream_event"
|
|
2769
|
+
},
|
|
2770
|
+
"event": {
|
|
2771
|
+
"$ref": "#/$defs/JsonValue"
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
},
|
|
2775
|
+
"AgentStreamRetryStreamEvent": {
|
|
2776
|
+
"type": "object",
|
|
2777
|
+
"required": [
|
|
2778
|
+
"type"
|
|
2779
|
+
],
|
|
2780
|
+
"properties": {
|
|
2781
|
+
"type": {
|
|
2782
|
+
"const": "stream_retry"
|
|
2783
|
+
},
|
|
2784
|
+
"attempt": {
|
|
2785
|
+
"type": "integer",
|
|
2786
|
+
"minimum": 0
|
|
2787
|
+
},
|
|
2788
|
+
"message": {
|
|
2789
|
+
"type": "string",
|
|
2790
|
+
"maxLength": 4096
|
|
2791
|
+
}
|
|
2792
|
+
}
|
|
2793
|
+
},
|
|
2794
|
+
"AgentStructuredResultStreamEvent": {
|
|
2795
|
+
"type": "object",
|
|
2796
|
+
"required": [
|
|
2797
|
+
"type",
|
|
2798
|
+
"schema_digest",
|
|
2799
|
+
"valid",
|
|
2800
|
+
"value"
|
|
2801
|
+
],
|
|
2802
|
+
"properties": {
|
|
2803
|
+
"type": {
|
|
2804
|
+
"const": "structured_result"
|
|
2805
|
+
},
|
|
2806
|
+
"schema_digest": {
|
|
2807
|
+
"$ref": "#/$defs/Digest"
|
|
2808
|
+
},
|
|
2809
|
+
"valid": {
|
|
2810
|
+
"type": "boolean"
|
|
2811
|
+
},
|
|
2812
|
+
"value": {
|
|
2813
|
+
"$ref": "#/$defs/JsonValue"
|
|
2814
|
+
},
|
|
2815
|
+
"errors": {
|
|
2816
|
+
"type": "array",
|
|
2817
|
+
"items": {
|
|
2818
|
+
"$ref": "#/$defs/JsonValue"
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2823
|
+
"AgentSubagentCompletedStreamEvent": {
|
|
2824
|
+
"type": "object",
|
|
2825
|
+
"required": [
|
|
2826
|
+
"type",
|
|
2827
|
+
"schema_version",
|
|
2828
|
+
"subagent_id",
|
|
2829
|
+
"parent_id",
|
|
2830
|
+
"status",
|
|
2831
|
+
"background"
|
|
2832
|
+
],
|
|
2833
|
+
"properties": {
|
|
2834
|
+
"type": {
|
|
2835
|
+
"const": "subagent_completed"
|
|
2836
|
+
},
|
|
2837
|
+
"schema_version": {
|
|
2838
|
+
"const": 1
|
|
2839
|
+
},
|
|
2840
|
+
"subagent_id": {
|
|
2841
|
+
"type": "string",
|
|
2842
|
+
"minLength": 1,
|
|
2843
|
+
"maxLength": 160
|
|
2844
|
+
},
|
|
2845
|
+
"parent_id": {
|
|
2846
|
+
"type": "string",
|
|
2847
|
+
"minLength": 1,
|
|
2848
|
+
"maxLength": 160
|
|
2849
|
+
},
|
|
2850
|
+
"role": {
|
|
2851
|
+
"type": "string",
|
|
2852
|
+
"maxLength": 96
|
|
2853
|
+
},
|
|
2854
|
+
"status": {
|
|
2855
|
+
"enum": [
|
|
2856
|
+
"completed",
|
|
2857
|
+
"failed"
|
|
2858
|
+
]
|
|
2859
|
+
},
|
|
2860
|
+
"background": {
|
|
2861
|
+
"type": "boolean"
|
|
2862
|
+
},
|
|
2863
|
+
"iteration_count": {
|
|
2864
|
+
"type": "integer",
|
|
2865
|
+
"minimum": 0
|
|
2866
|
+
}
|
|
2867
|
+
}
|
|
2868
|
+
},
|
|
2869
|
+
"AgentSubagentProgressStreamEvent": {
|
|
2870
|
+
"type": "object",
|
|
2871
|
+
"required": [
|
|
2872
|
+
"type",
|
|
2873
|
+
"schema_version",
|
|
2874
|
+
"subagent_id",
|
|
2875
|
+
"parent_id",
|
|
2876
|
+
"event_type"
|
|
2877
|
+
],
|
|
2878
|
+
"properties": {
|
|
2879
|
+
"type": {
|
|
2880
|
+
"const": "subagent_progress"
|
|
2881
|
+
},
|
|
2882
|
+
"schema_version": {
|
|
2883
|
+
"const": 1
|
|
2884
|
+
},
|
|
2885
|
+
"subagent_id": {
|
|
2886
|
+
"type": "string",
|
|
2887
|
+
"minLength": 1,
|
|
2888
|
+
"maxLength": 160
|
|
2889
|
+
},
|
|
2890
|
+
"parent_id": {
|
|
2891
|
+
"type": "string",
|
|
2892
|
+
"minLength": 1,
|
|
2893
|
+
"maxLength": 160
|
|
2894
|
+
},
|
|
2895
|
+
"role": {
|
|
2896
|
+
"type": "string",
|
|
2897
|
+
"maxLength": 96
|
|
2898
|
+
},
|
|
2899
|
+
"event_type": {
|
|
2900
|
+
"type": "string",
|
|
2901
|
+
"minLength": 1,
|
|
2902
|
+
"maxLength": 96
|
|
2903
|
+
},
|
|
2904
|
+
"tool": {
|
|
2905
|
+
"type": "string",
|
|
2906
|
+
"maxLength": 128
|
|
2907
|
+
},
|
|
2908
|
+
"iteration_count": {
|
|
2909
|
+
"type": "integer",
|
|
2910
|
+
"minimum": 0
|
|
2911
|
+
},
|
|
2912
|
+
"token_count": {
|
|
2913
|
+
"type": "integer",
|
|
2914
|
+
"minimum": 0
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
},
|
|
2918
|
+
"AgentSubagentStartedStreamEvent": {
|
|
2919
|
+
"type": "object",
|
|
2920
|
+
"required": [
|
|
2921
|
+
"type",
|
|
2922
|
+
"schema_version",
|
|
2923
|
+
"subagent_id",
|
|
2924
|
+
"parent_id",
|
|
2925
|
+
"background"
|
|
2926
|
+
],
|
|
2927
|
+
"properties": {
|
|
2928
|
+
"type": {
|
|
2929
|
+
"const": "subagent_started"
|
|
2930
|
+
},
|
|
2931
|
+
"schema_version": {
|
|
2932
|
+
"const": 1
|
|
2933
|
+
},
|
|
2934
|
+
"subagent_id": {
|
|
2935
|
+
"type": "string",
|
|
2936
|
+
"minLength": 1,
|
|
2937
|
+
"maxLength": 160
|
|
2938
|
+
},
|
|
2939
|
+
"parent_id": {
|
|
2940
|
+
"type": "string",
|
|
2941
|
+
"minLength": 1,
|
|
2942
|
+
"maxLength": 160
|
|
2943
|
+
},
|
|
2944
|
+
"role": {
|
|
2945
|
+
"type": "string",
|
|
2946
|
+
"maxLength": 96
|
|
2947
|
+
},
|
|
2948
|
+
"background": {
|
|
2949
|
+
"type": "boolean"
|
|
2950
|
+
},
|
|
2951
|
+
"max_iterations": {
|
|
2952
|
+
"type": "integer",
|
|
2953
|
+
"minimum": 0
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
},
|
|
2957
|
+
"AgentSystemStreamEvent": {
|
|
2958
|
+
"type": "object",
|
|
2959
|
+
"required": [
|
|
2960
|
+
"type",
|
|
2961
|
+
"subtype"
|
|
2962
|
+
],
|
|
2963
|
+
"properties": {
|
|
2964
|
+
"type": {
|
|
2965
|
+
"const": "system"
|
|
2966
|
+
},
|
|
2967
|
+
"subtype": {
|
|
2968
|
+
"type": "string",
|
|
2969
|
+
"minLength": 1,
|
|
2970
|
+
"maxLength": 64
|
|
2971
|
+
},
|
|
2972
|
+
"session_id": {
|
|
2973
|
+
"type": "string",
|
|
2974
|
+
"maxLength": 160
|
|
2975
|
+
},
|
|
2976
|
+
"model": {
|
|
2977
|
+
"type": "string",
|
|
2978
|
+
"maxLength": 256
|
|
2979
|
+
},
|
|
2980
|
+
"provider": {
|
|
2981
|
+
"type": "string",
|
|
2982
|
+
"maxLength": 128
|
|
2983
|
+
},
|
|
2984
|
+
"permission_mode": {
|
|
2985
|
+
"type": "string",
|
|
2986
|
+
"maxLength": 64
|
|
2987
|
+
},
|
|
2988
|
+
"tools": {
|
|
2989
|
+
"type": "array",
|
|
2990
|
+
"items": {
|
|
2991
|
+
"type": "string"
|
|
2992
|
+
}
|
|
2993
|
+
},
|
|
2994
|
+
"slash_commands": {
|
|
2995
|
+
"type": "array",
|
|
2996
|
+
"items": {
|
|
2997
|
+
"type": "string"
|
|
2998
|
+
}
|
|
2999
|
+
},
|
|
3000
|
+
"input_format": {
|
|
3001
|
+
"type": "string",
|
|
3002
|
+
"maxLength": 64
|
|
3003
|
+
},
|
|
3004
|
+
"additional_directories": {
|
|
3005
|
+
"type": "array",
|
|
3006
|
+
"items": {
|
|
3007
|
+
"type": "string"
|
|
3008
|
+
}
|
|
3009
|
+
},
|
|
3010
|
+
"resumed_messages": {
|
|
3011
|
+
"type": "integer",
|
|
3012
|
+
"minimum": 0
|
|
3013
|
+
},
|
|
3014
|
+
"turns": {
|
|
3015
|
+
"type": "integer",
|
|
3016
|
+
"minimum": 0
|
|
3017
|
+
},
|
|
3018
|
+
"protocol_version": {
|
|
3019
|
+
"type": [
|
|
3020
|
+
"integer",
|
|
3021
|
+
"null"
|
|
3022
|
+
],
|
|
3023
|
+
"minimum": 1
|
|
3024
|
+
},
|
|
3025
|
+
"features": {
|
|
3026
|
+
"type": "array",
|
|
3027
|
+
"items": {
|
|
3028
|
+
"type": "string"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3031
|
+
"downgraded": {
|
|
3032
|
+
"type": "boolean"
|
|
3033
|
+
},
|
|
3034
|
+
"disabled_features": {
|
|
3035
|
+
"type": "array",
|
|
3036
|
+
"items": {
|
|
3037
|
+
"type": "string"
|
|
3038
|
+
}
|
|
3039
|
+
},
|
|
3040
|
+
"ok": {
|
|
3041
|
+
"type": "boolean"
|
|
3042
|
+
},
|
|
3043
|
+
"reason": {
|
|
3044
|
+
"type": [
|
|
3045
|
+
"string",
|
|
3046
|
+
"null"
|
|
3047
|
+
],
|
|
3048
|
+
"maxLength": 1024
|
|
3049
|
+
}
|
|
3050
|
+
}
|
|
3051
|
+
},
|
|
3052
|
+
"AgentTokenUsageStreamEvent": {
|
|
3053
|
+
"type": "object",
|
|
3054
|
+
"required": [
|
|
3055
|
+
"type"
|
|
3056
|
+
],
|
|
3057
|
+
"properties": {
|
|
3058
|
+
"type": {
|
|
3059
|
+
"const": "token_usage"
|
|
3060
|
+
},
|
|
3061
|
+
"usage": {
|
|
3062
|
+
"$ref": "#/$defs/JsonValue"
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
},
|
|
3066
|
+
"AgentToolResultStreamEvent": {
|
|
3067
|
+
"type": "object",
|
|
3068
|
+
"required": [
|
|
3069
|
+
"type",
|
|
3070
|
+
"tool"
|
|
3071
|
+
],
|
|
3072
|
+
"properties": {
|
|
3073
|
+
"type": {
|
|
3074
|
+
"const": "tool_result"
|
|
3075
|
+
},
|
|
3076
|
+
"id": {
|
|
3077
|
+
"type": "string",
|
|
3078
|
+
"maxLength": 160
|
|
3079
|
+
},
|
|
3080
|
+
"plan_item_id": {
|
|
3081
|
+
"type": "string",
|
|
3082
|
+
"maxLength": 160
|
|
3083
|
+
},
|
|
3084
|
+
"turn": {
|
|
3085
|
+
"type": "integer",
|
|
3086
|
+
"minimum": 0
|
|
3087
|
+
},
|
|
3088
|
+
"tool": {
|
|
3089
|
+
"type": "string",
|
|
3090
|
+
"minLength": 1,
|
|
3091
|
+
"maxLength": 256
|
|
3092
|
+
},
|
|
3093
|
+
"is_error": {
|
|
3094
|
+
"type": "boolean"
|
|
3095
|
+
},
|
|
3096
|
+
"error": {
|
|
3097
|
+
"type": [
|
|
3098
|
+
"string",
|
|
3099
|
+
"null"
|
|
3100
|
+
]
|
|
3101
|
+
},
|
|
3102
|
+
"result": {
|
|
3103
|
+
"$ref": "#/$defs/JsonValue"
|
|
3104
|
+
},
|
|
3105
|
+
"permission_decision_id": {
|
|
3106
|
+
"type": [
|
|
3107
|
+
"string",
|
|
3108
|
+
"null"
|
|
3109
|
+
],
|
|
3110
|
+
"maxLength": 160
|
|
3111
|
+
},
|
|
3112
|
+
"permission_decision": {
|
|
3113
|
+
"$ref": "#/$defs/JsonValue"
|
|
3114
|
+
}
|
|
3115
|
+
}
|
|
3116
|
+
},
|
|
3117
|
+
"AgentToolUseStreamEvent": {
|
|
3118
|
+
"type": "object",
|
|
3119
|
+
"required": [
|
|
3120
|
+
"type",
|
|
3121
|
+
"tool"
|
|
3122
|
+
],
|
|
3123
|
+
"properties": {
|
|
3124
|
+
"type": {
|
|
3125
|
+
"const": "tool_use"
|
|
3126
|
+
},
|
|
3127
|
+
"id": {
|
|
3128
|
+
"type": "string",
|
|
3129
|
+
"maxLength": 160
|
|
3130
|
+
},
|
|
3131
|
+
"plan_item_id": {
|
|
3132
|
+
"type": "string",
|
|
3133
|
+
"maxLength": 160
|
|
3134
|
+
},
|
|
3135
|
+
"turn": {
|
|
3136
|
+
"type": "integer",
|
|
3137
|
+
"minimum": 0
|
|
3138
|
+
},
|
|
3139
|
+
"tool": {
|
|
3140
|
+
"type": "string",
|
|
3141
|
+
"minLength": 1,
|
|
3142
|
+
"maxLength": 256
|
|
3143
|
+
},
|
|
3144
|
+
"args": {
|
|
3145
|
+
"$ref": "#/$defs/JsonValue"
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
},
|
|
3149
|
+
"AgentUserStreamEvent": {
|
|
3150
|
+
"type": "object",
|
|
3151
|
+
"required": [
|
|
3152
|
+
"type"
|
|
3153
|
+
],
|
|
3154
|
+
"properties": {
|
|
3155
|
+
"type": {
|
|
3156
|
+
"const": "user"
|
|
3157
|
+
},
|
|
3158
|
+
"message": {
|
|
3159
|
+
"$ref": "#/$defs/JsonValue"
|
|
3160
|
+
},
|
|
3161
|
+
"session_id": {
|
|
3162
|
+
"type": "string",
|
|
3163
|
+
"maxLength": 160
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
},
|
|
3167
|
+
"AgentStreamEventPayload": {
|
|
3168
|
+
"oneOf": [
|
|
3169
|
+
{
|
|
3170
|
+
"$ref": "#/$defs/AgentApprovalRequestStreamEvent"
|
|
3171
|
+
},
|
|
3172
|
+
{
|
|
3173
|
+
"$ref": "#/$defs/AgentApprovalResolvedStreamEvent"
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"$ref": "#/$defs/AgentCheckpointStreamEvent"
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"$ref": "#/$defs/AgentCompactionStreamEvent"
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"$ref": "#/$defs/AgentCompactionDegradedStreamEvent"
|
|
3183
|
+
},
|
|
3184
|
+
{
|
|
3185
|
+
"$ref": "#/$defs/AgentCompactionUsageUnknownStreamEvent"
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
"$ref": "#/$defs/AgentCostBudgetExhaustedStreamEvent"
|
|
3189
|
+
},
|
|
3190
|
+
{
|
|
3191
|
+
"$ref": "#/$defs/AgentElicitationCompleteStreamEvent"
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"$ref": "#/$defs/AgentElicitationDeferredStreamEvent"
|
|
3195
|
+
},
|
|
3196
|
+
{
|
|
3197
|
+
"$ref": "#/$defs/AgentFeedbackAckStreamEvent"
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"$ref": "#/$defs/AgentHookProgressStreamEvent"
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"$ref": "#/$defs/AgentHookResponseStreamEvent"
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
"$ref": "#/$defs/AgentHookStartedStreamEvent"
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
"$ref": "#/$defs/AgentIterationBudgetExhaustedStreamEvent"
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
"$ref": "#/$defs/AgentIterationWarningStreamEvent"
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"$ref": "#/$defs/AgentPlanUpdateStreamEvent"
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
"$ref": "#/$defs/AgentQuestionRequestStreamEvent"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"$ref": "#/$defs/AgentQuestionResolvedStreamEvent"
|
|
3222
|
+
},
|
|
3223
|
+
{
|
|
3224
|
+
"$ref": "#/$defs/AgentQuestionResponseRejectedStreamEvent"
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
"$ref": "#/$defs/AgentRawStreamEvent"
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"$ref": "#/$defs/AgentRecoveryDegradedStreamEvent"
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"$ref": "#/$defs/AgentRemoteControlStreamEvent"
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"$ref": "#/$defs/AgentResultStreamEvent"
|
|
3237
|
+
},
|
|
3238
|
+
{
|
|
3239
|
+
"$ref": "#/$defs/AgentResumeAckStreamEvent"
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"$ref": "#/$defs/AgentSessionErrorStreamEvent"
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"$ref": "#/$defs/AgentSlashCommandResultStreamEvent"
|
|
3246
|
+
},
|
|
3247
|
+
{
|
|
3248
|
+
"$ref": "#/$defs/AgentContentStreamEvent"
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"$ref": "#/$defs/AgentStreamRetryStreamEvent"
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"$ref": "#/$defs/AgentStructuredResultStreamEvent"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"$ref": "#/$defs/AgentSubagentCompletedStreamEvent"
|
|
3258
|
+
},
|
|
3259
|
+
{
|
|
3260
|
+
"$ref": "#/$defs/AgentSubagentProgressStreamEvent"
|
|
3261
|
+
},
|
|
3262
|
+
{
|
|
3263
|
+
"$ref": "#/$defs/AgentSubagentStartedStreamEvent"
|
|
3264
|
+
},
|
|
3265
|
+
{
|
|
3266
|
+
"$ref": "#/$defs/AgentSystemStreamEvent"
|
|
3267
|
+
},
|
|
3268
|
+
{
|
|
3269
|
+
"$ref": "#/$defs/AgentTokenUsageStreamEvent"
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"$ref": "#/$defs/AgentToolResultStreamEvent"
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"$ref": "#/$defs/AgentToolUseStreamEvent"
|
|
3276
|
+
},
|
|
3277
|
+
{
|
|
3278
|
+
"$ref": "#/$defs/AgentUserStreamEvent"
|
|
3279
|
+
}
|
|
3280
|
+
]
|
|
3281
|
+
},
|
|
3282
|
+
"CanonicalAgentStreamEvent": {
|
|
3283
|
+
"allOf": [
|
|
3284
|
+
{
|
|
3285
|
+
"$ref": "#/$defs/AgentStreamEventEnvelope"
|
|
3286
|
+
},
|
|
3287
|
+
{
|
|
3288
|
+
"$ref": "#/$defs/AgentStreamEventPayload"
|
|
3289
|
+
}
|
|
3290
|
+
]
|
|
3291
|
+
},
|
|
1851
3292
|
"InitializeParams": {
|
|
1852
3293
|
"type": "object",
|
|
1853
3294
|
"additionalProperties": false,
|