@kingsoftcloud/ksadk-web 0.3.1 → 0.3.3
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/CHANGELOG.md +148 -4
- package/README.md +77 -4
- package/RELEASE_PROVENANCE.json +7 -0
- package/dist-ksadk/assets/{ArtifactsPanel-CakCqxEN.js → ArtifactsPanel-CytJCLMc.js} +1 -1
- package/dist-ksadk/assets/{CodeBlock-CynLknyO.js → CodeBlock-D6tEbvd9.js} +4 -4
- package/dist-ksadk/assets/{MathMessageMarkdown-3sQdOysS.js → MathMessageMarkdown-BBnihmbC.js} +4 -4
- package/dist-ksadk/assets/MathMessageMarkdown-BorAY7qD.css +1 -0
- package/dist-ksadk/assets/MermaidBlock-CI9NjqQx.js +312 -0
- package/dist-ksadk/assets/NativeTerminalPanel-Czpx2MSS.js +1 -0
- package/dist-ksadk/assets/abnfDiagram-VCTEODGH-CNsXewmF.js +1 -0
- package/dist-ksadk/assets/arc-x-74isv6.js +1 -0
- package/dist-ksadk/assets/architecture-7GRP2DOG-C3S9W0aD.js +1 -0
- package/dist-ksadk/assets/architectureDiagram-5GKGNRK7-tZ3w1B6m.js +36 -0
- package/dist-ksadk/assets/blockDiagram-NRAW4CY4-BEhGFh0b.js +129 -0
- package/dist-ksadk/assets/c4Diagram-UCG6FXSJ-zrSgZM44.js +38 -0
- package/dist-ksadk/assets/channel-CdffTTpb.js +1 -0
- package/dist-ksadk/assets/chunk-2Q5K7J3B-B6k89qGR.js +1 -0
- package/dist-ksadk/assets/{chunk-FMBD7UC4-B_fH2YuH.js → chunk-5VM5RSS4-VZAcej21.js} +1 -1
- package/dist-ksadk/assets/{chunk-ND2GUHAM-D6rFLaVV.js → chunk-F27PBJKO-DNUQP5bs.js} +1 -1
- package/dist-ksadk/assets/chunk-G27WJ6UU-BVuLv5Os.js +231 -0
- package/dist-ksadk/assets/{chunk-4BX2VUAB-B9drTgOW.js → chunk-JWPE2WC7-CEttzwEN.js} +1 -1
- package/dist-ksadk/assets/chunk-LCL6LL3I-BT3bzrVf.js +206 -0
- package/dist-ksadk/assets/chunk-POPQ4Y6H-BvutC1JH.js +1 -0
- package/dist-ksadk/assets/chunk-RHFEMEQ7-BIXm03MG.js +168 -0
- package/dist-ksadk/assets/chunk-SVP7TREG--LDO57tP.js +88 -0
- package/dist-ksadk/assets/chunk-XXDRQBXY-WtVtVhpq.js +1 -0
- package/dist-ksadk/assets/classDiagram-DTDB5LWJ-C0BU8Yr9.js +1 -0
- package/dist-ksadk/assets/classDiagram-v2-JRS7N3AN-C0BU8Yr9.js +1 -0
- package/dist-ksadk/assets/{cose-bilkent-S5V4N54A-ChNs_Mdk.js → cose-bilkent-JH36ORCC-CnqJMsPI.js} +1 -1
- package/dist-ksadk/assets/cynefin-OW5HDTMX-BckONr__.js +1 -0
- package/dist-ksadk/assets/cynefinDiagram-5FMLGOSQ-Ci9qjtA_.js +62 -0
- package/dist-ksadk/assets/cytoscape.esm-CyCl8rPi.js +321 -0
- package/dist-ksadk/assets/dagre-3AP2YEHR-Ll3LkcYP.js +4 -0
- package/dist-ksadk/assets/dagre-CKrj2THw.js +1 -0
- package/dist-ksadk/assets/diagram-S7CK7UJ4-BQ1slPEx.js +30 -0
- package/dist-ksadk/assets/diagram-UQ7AKVKN-BXz7DvIg.js +41 -0
- package/dist-ksadk/assets/diagram-VSXAHHWV-DOno97OL.js +3 -0
- package/dist-ksadk/assets/diagram-VX7I27RA-CU2kHvv3.js +24 -0
- package/dist-ksadk/assets/diagram-Z3DM3KII-mhpvOavV.js +24 -0
- package/dist-ksadk/assets/{dist-X4TnqwOK.js → dist-2cbEIexW.js} +1 -1
- package/dist-ksadk/assets/{dist-gLnrGsoU.js → dist-4j-rswH6.js} +1 -1
- package/dist-ksadk/assets/dist-B-VEMnGR.js +1 -0
- package/dist-ksadk/assets/{dist-o2OVmKvt.js → dist-B6XMlZpc.js} +1 -1
- package/dist-ksadk/assets/{dist-DWKByxWV.js → dist-BQCggVji.js} +1 -1
- package/dist-ksadk/assets/{dist-B-jNR6Vn.js → dist-BZiMQVbN.js} +1 -1
- package/dist-ksadk/assets/{dist-DQU9EWw-.js → dist-BvMDy0Xp.js} +1 -1
- package/dist-ksadk/assets/{dist-DJN_6Y39.js → dist-BxjBfG2w.js} +1 -1
- package/dist-ksadk/assets/{dist-j6Dxmf_j.js → dist-Byl0QKIY.js} +1 -1
- package/dist-ksadk/assets/{dist-CWV4lDr1.js → dist-C-Q0Ulfg.js} +2 -2
- package/dist-ksadk/assets/{dist-BIlKoW0k.js → dist-C-V2Wj4x.js} +1 -1
- package/dist-ksadk/assets/{dist-BB3-OwTQ.js → dist-CPZHorum.js} +1 -1
- package/dist-ksadk/assets/{dist-C1sz5Eo3.js → dist-CTeZLI0m.js} +1 -1
- package/dist-ksadk/assets/{dist-CmZHzlwZ.js → dist-CUFAKgYs.js} +1 -1
- package/dist-ksadk/assets/{dist-BjOdlDjj.js → dist-CaTDm1g0.js} +1 -1
- package/dist-ksadk/assets/{dist-_pHPTyZ-.js → dist-CoCI5ZIy.js} +1 -1
- package/dist-ksadk/assets/{dist-B5oS1zcj.js → dist-DGFsOxe9.js} +1 -1
- package/dist-ksadk/assets/{dist-4N2NMVYg.js → dist-DeO3Qj-D.js} +1 -1
- package/dist-ksadk/assets/{dist-D6MpCZtz.js → dist-DgSf2VGQ.js} +1 -1
- package/dist-ksadk/assets/{dist-DsHPdk3W.js → dist-DwwtGqH9.js} +1 -1
- package/dist-ksadk/assets/{dist-fhOuWds5.js → dist-hRISJdRx.js} +1 -1
- package/dist-ksadk/assets/{dist-Dli7qW-B.js → dist-oPMjOYRU.js} +1 -1
- package/dist-ksadk/assets/ebnfDiagram-PWID7BFC-DAH8tjOy.js +1 -0
- package/dist-ksadk/assets/erDiagram-SSCWMZ5O-JvDkJGJ3.js +99 -0
- package/dist-ksadk/assets/eventmodeling-NTZA5JFV-vjy4Z61x.js +1 -0
- package/dist-ksadk/assets/flowDiagram-A5DVABFB-CvJ64Qzs.js +1 -0
- package/dist-ksadk/assets/ganttDiagram-EL5Y4UJY-B-SEC706.js +292 -0
- package/dist-ksadk/assets/gitGraph-4MIJSDKK-CX3KwgqY.js +1 -0
- package/dist-ksadk/assets/gitGraphDiagram-WWUBYQGX-D7OJf_No.js +106 -0
- package/dist-ksadk/assets/index-BkDx9KsG.js +241 -0
- package/dist-ksadk/assets/index-DW7rZ4ml.css +2 -0
- package/dist-ksadk/assets/info-A6RAGUB7-CYHIOuL5.js +1 -0
- package/dist-ksadk/assets/infoDiagram-RXCK75RN-CTIHOSud.js +2 -0
- package/dist-ksadk/assets/{ishikawaDiagram-YF4QCWOH-K0OOfVna.js → ishikawaDiagram-5VMMS53U-HMO7FchJ.js} +6 -6
- package/dist-ksadk/assets/{journeyDiagram-JHISSGLW-8LeOJaZp.js → journeyDiagram-EYS64GPL-DeFbDr5t.js} +6 -6
- package/dist-ksadk/assets/{kanban-definition-UN3LZRKU-C6uCgZrW.js → kanban-definition-3QL26DDD-D3OeNqXY.js} +10 -10
- package/dist-ksadk/assets/katex-DCJHF0vD.js +257 -0
- package/dist-ksadk/assets/{linear-hdBcYzM8.js → linear-D3-vxS4W.js} +1 -1
- package/dist-ksadk/assets/mermaid-parser.core-C-Sc5_7E.js +166 -0
- package/dist-ksadk/assets/{mindmap-definition-RKZ34NQL-Bjy_2v4_.js → mindmap-definition-FBJOCRG2-D-XtspHN.js} +29 -29
- package/dist-ksadk/assets/packet-AYTQ26CC-Ctg2wH4o.js +1 -0
- package/dist-ksadk/assets/pegDiagram-XKGWAZYB-BYbAq9Nb.js +1 -0
- package/dist-ksadk/assets/pie-WAS4IAKB-CU6GnSzI.js +1 -0
- package/dist-ksadk/assets/pieDiagram-E7YTZNPT-DQ2yX4VQ.js +39 -0
- package/dist-ksadk/assets/{quadrantDiagram-W4KKPZXB-BmkRbwCg.js → quadrantDiagram-AXDQQJYC-rvRPUN0j.js} +6 -6
- package/dist-ksadk/assets/radar-RG4KPBEZ-Bhe0us4A.js +1 -0
- package/dist-ksadk/assets/railroad-74A4TZTK-DEgiNGfx.js +1 -0
- package/dist-ksadk/assets/railroad-abnf-HS5TGJTU-GK7ct0QX.js +1 -0
- package/dist-ksadk/assets/railroad-ebnf-LZEXJU2U-BzlcTUmk.js +1 -0
- package/dist-ksadk/assets/railroad-peg-WCYAUIDC-7ESM96BW.js +1 -0
- package/dist-ksadk/assets/railroadDiagram-O6MQD6OU-2OVn6qwA.js +1 -0
- package/dist-ksadk/assets/requirementDiagram-EFPCY7ZU-ChWVLAKz.js +84 -0
- package/dist-ksadk/assets/{sankeyDiagram-5OEKKPKP-l6iXmU65.js → sankeyDiagram-P5KCCOFB-Cb5gXi_j.js} +7 -7
- package/dist-ksadk/assets/{sequenceDiagram-3UESZ5HK-Cq6UBeQB.js → sequenceDiagram-WJ2MYXX4-D7g_-PUM.js} +10 -10
- package/dist-ksadk/assets/sizeCapture-X5ZJPWSS-D__whCj3.js +1 -0
- package/dist-ksadk/assets/stateDiagram-HBIQ2CUA-CpKIc0dl.js +1 -0
- package/dist-ksadk/assets/stateDiagram-v2-4QOOHH4V-D7ulg6TV.js +1 -0
- package/dist-ksadk/assets/swimlanes-XN3QIQJK-CFJohC2b.js +1 -0
- package/dist-ksadk/assets/swimlanesDiagram-VK2B7HYN-A-oZaquE.js +8 -0
- package/dist-ksadk/assets/{timeline-definition-PNZ67QCA-DEz24vV0.js → timeline-definition-24CTP7MA-Dg4AY0KC.js} +7 -7
- package/dist-ksadk/assets/treeView-Q6P3EWNA-D6u1mSx1.js +1 -0
- package/dist-ksadk/assets/treemap-WGGIJYW6-CM87Vav0.js +1 -0
- package/dist-ksadk/assets/vennDiagram-4TSXK5OY-A6cRoCBU.js +34 -0
- package/dist-ksadk/assets/wardley-WFR3VGLG-BPoQUTzr.js +1 -0
- package/dist-ksadk/assets/wardleyDiagram-VM6X3IG4-BVD1hMYl.js +78 -0
- package/dist-ksadk/assets/xychartDiagram-S5SC5T6Z-BlBLXETg.js +7 -0
- package/dist-ksadk/index.html +2 -2
- package/dist-lib/App.d.ts.map +1 -1
- package/dist-lib/{ArtifactsPanel-DjKIRTwo.js → ArtifactsPanel-D2EtX4X_.js} +1 -1
- package/dist-lib/{CodeBlock-C1D0R8wN.js → CodeBlock-CPaeJbtf.js} +3 -3
- package/dist-lib/{MathMessageMarkdown-D6LuI2LH.js → MathMessageMarkdown-Bpp4hI6Q.js} +2 -2
- package/dist-lib/{NativeTerminalPanel-BLhX4eDs.js → NativeTerminalPanel-CJXzKV0z.js} +1 -1
- package/dist-lib/{WorkspacePanelContainer-B7YlLAUJ.js → WorkspacePanelContainer-DbD-6xqx.js} +1925 -1263
- package/dist-lib/api/client.d.ts.map +1 -1
- package/dist-lib/api/events.d.ts +7 -0
- package/dist-lib/api/events.d.ts.map +1 -1
- package/dist-lib/api/run.d.ts +32 -0
- package/dist-lib/api/run.d.ts.map +1 -1
- package/dist-lib/api/session.d.ts +10 -1
- package/dist-lib/api/session.d.ts.map +1 -1
- package/dist-lib/capabilities-njdklP3r.js +200 -0
- package/dist-lib/capabilities.js +1 -1
- package/dist-lib/client-1WQCunUo.js +616 -0
- package/dist-lib/components/chat/A2UIActivityMessage.d.ts.map +1 -1
- package/dist-lib/components/chat/ChatComposer.d.ts +9 -1
- package/dist-lib/components/chat/ChatComposer.d.ts.map +1 -1
- package/dist-lib/components/chat/ChatMessageList.d.ts +4 -1
- package/dist-lib/components/chat/ChatMessageList.d.ts.map +1 -1
- package/dist-lib/components/chat/ChatSidebar.d.ts.map +1 -1
- package/dist-lib/components/chat/ConnectedComposer.d.ts +13 -2
- package/dist-lib/components/chat/ConnectedComposer.d.ts.map +1 -1
- package/dist-lib/components/chat/ConnectedMessageList.d.ts +2 -1
- package/dist-lib/components/chat/ConnectedMessageList.d.ts.map +1 -1
- package/dist-lib/components/chat/ExecutionModeMenu.d.ts +12 -0
- package/dist-lib/components/chat/ExecutionModeMenu.d.ts.map +1 -0
- package/dist-lib/components/chat/InteractionA2uiSurface.d.ts +14 -0
- package/dist-lib/components/chat/InteractionA2uiSurface.d.ts.map +1 -0
- package/dist-lib/components/chat/InteractionHistoryAnchor.d.ts +12 -0
- package/dist-lib/components/chat/InteractionHistoryAnchor.d.ts.map +1 -0
- package/dist-lib/components/chat/InteractionSchemaForm.d.ts +14 -0
- package/dist-lib/components/chat/InteractionSchemaForm.d.ts.map +1 -0
- package/dist-lib/components/chat/InteractionTray.d.ts +23 -0
- package/dist-lib/components/chat/InteractionTray.d.ts.map +1 -0
- package/dist-lib/components/chat/ModelSettingsMenu.d.ts +13 -0
- package/dist-lib/components/chat/ModelSettingsMenu.d.ts.map +1 -0
- package/dist-lib/components/chat/PermissionMenu.d.ts.map +1 -1
- package/dist-lib/components/chat/ProcessingBlocksView.d.ts +4 -1
- package/dist-lib/components/chat/ProcessingBlocksView.d.ts.map +1 -1
- package/dist-lib/components/chat/schema-fields.d.ts +13 -0
- package/dist-lib/components/chat/schema-fields.d.ts.map +1 -0
- package/dist-lib/components.js +4 -4
- package/dist-lib/conversation.js +28 -0
- package/dist-lib/core/api/facade.d.ts +26 -1
- package/dist-lib/core/api/facade.d.ts.map +1 -1
- package/dist-lib/core/api/types.d.ts +29 -1
- package/dist-lib/core/api/types.d.ts.map +1 -1
- package/dist-lib/core/conversation/client.d.ts +26 -0
- package/dist-lib/core/conversation/client.d.ts.map +1 -0
- package/dist-lib/core/conversation/contracts.d.ts +20 -0
- package/dist-lib/core/conversation/contracts.d.ts.map +1 -0
- package/dist-lib/core/conversation/errors.d.ts +12 -0
- package/dist-lib/core/conversation/errors.d.ts.map +1 -0
- package/dist-lib/core/conversation/hosted.d.ts +23 -0
- package/dist-lib/core/conversation/hosted.d.ts.map +1 -0
- package/dist-lib/core/conversation/index.d.ts +8 -0
- package/dist-lib/core/conversation/index.d.ts.map +1 -0
- package/dist-lib/core/conversation/presentation.d.ts +8 -0
- package/dist-lib/core/conversation/presentation.d.ts.map +1 -0
- package/dist-lib/core/conversation/reducer.d.ts +19 -0
- package/dist-lib/core/conversation/reducer.d.ts.map +1 -0
- package/dist-lib/core/conversation/renderer-registry.d.ts +20 -0
- package/dist-lib/core/conversation/renderer-registry.d.ts.map +1 -0
- package/dist-lib/core/conversation/types.d.ts +176 -0
- package/dist-lib/core/conversation/types.d.ts.map +1 -0
- package/dist-lib/core/interaction/a2ui-validate.d.ts +21 -0
- package/dist-lib/core/interaction/a2ui-validate.d.ts.map +1 -0
- package/dist-lib/core/interaction/adapters/agui.d.ts +23 -0
- package/dist-lib/core/interaction/adapters/agui.d.ts.map +1 -0
- package/dist-lib/core/interaction/adapters/normalize.d.ts +29 -0
- package/dist-lib/core/interaction/adapters/normalize.d.ts.map +1 -0
- package/dist-lib/core/interaction/adapters/responses.d.ts +25 -0
- package/dist-lib/core/interaction/adapters/responses.d.ts.map +1 -0
- package/dist-lib/core/interaction/adapters/session-events.d.ts +17 -0
- package/dist-lib/core/interaction/adapters/session-events.d.ts.map +1 -0
- package/dist-lib/core/interaction/client.d.ts +63 -0
- package/dist-lib/core/interaction/client.d.ts.map +1 -0
- package/dist-lib/core/interaction/index.d.ts +41 -0
- package/dist-lib/core/interaction/index.d.ts.map +1 -0
- package/dist-lib/core/interaction/store.d.ts +0 -0
- package/dist-lib/core/interaction/store.d.ts.map +1 -0
- package/dist-lib/core/interaction/types.d.ts +91 -0
- package/dist-lib/core/interaction/types.d.ts.map +1 -0
- package/dist-lib/core/run/dispatcher.d.ts.map +1 -1
- package/dist-lib/core/run/engine.d.ts +27 -1
- package/dist-lib/core/run/engine.d.ts.map +1 -1
- package/dist-lib/core/run/types.d.ts +39 -0
- package/dist-lib/core/run/types.d.ts.map +1 -1
- package/dist-lib/core/stream/kernel-events.d.ts +56 -0
- package/dist-lib/core/stream/kernel-events.d.ts.map +1 -0
- package/dist-lib/core/stream/types.d.ts +4 -0
- package/dist-lib/core/stream/types.d.ts.map +1 -1
- package/dist-lib/hooks/useBootstrap.d.ts +1 -0
- package/dist-lib/hooks/useBootstrap.d.ts.map +1 -1
- package/dist-lib/hooks/useInteractions.d.ts +34 -0
- package/dist-lib/hooks/useInteractions.d.ts.map +1 -0
- package/dist-lib/hooks/useRunAgent.d.ts +8 -6
- package/dist-lib/hooks/useRunAgent.d.ts.map +1 -1
- package/dist-lib/hooks/useSessionLifecycle.d.ts.map +1 -1
- package/dist-lib/public/conversation.d.ts +10 -0
- package/dist-lib/public/conversation.d.ts.map +1 -0
- package/dist-lib/public/runtime.d.ts +9 -0
- package/dist-lib/public/runtime.d.ts.map +1 -1
- package/dist-lib/public/types.d.ts +1 -0
- package/dist-lib/public/types.d.ts.map +1 -1
- package/dist-lib/runtime.js +2791 -1219
- package/dist-lib/stores/bootstrap.d.ts +4 -0
- package/dist-lib/stores/bootstrap.d.ts.map +1 -1
- package/dist-lib/stores/ui.d.ts +8 -14
- package/dist-lib/stores/ui.d.ts.map +1 -1
- package/dist-lib/styles.css +1 -1
- package/dist-lib/types/agent-control.d.ts +93 -0
- package/dist-lib/types/agent-control.d.ts.map +1 -0
- package/dist-lib/types/capabilities.d.ts +7 -0
- package/dist-lib/types/capabilities.d.ts.map +1 -1
- package/dist-lib/types/runtime-capability-matrix.d.ts +15 -0
- package/dist-lib/types/runtime-capability-matrix.d.ts.map +1 -0
- package/dist-lib/utils/capabilities.d.ts.map +1 -1
- package/dist-lib/utils/responses-stream.d.ts +1 -1
- package/dist-lib/utils/responses-stream.d.ts.map +1 -1
- package/dist-lib/utils/session-event-history.d.ts +54 -0
- package/dist-lib/utils/session-event-history.d.ts.map +1 -0
- package/dist-lib/utils/session-list.d.ts +1 -0
- package/dist-lib/utils/session-list.d.ts.map +1 -1
- package/package.json +14 -2
- package/schemas/release-provenance.schema.json +34 -0
- package/dist-ksadk/assets/MathMessageMarkdown-DeYh8QPr.css +0 -1
- package/dist-ksadk/assets/MermaidBlock-NERD_ef7.js +0 -303
- package/dist-ksadk/assets/NativeTerminalPanel-CiHWf82q.js +0 -1
- package/dist-ksadk/assets/arc-DrgjcKhl.js +0 -1
- package/dist-ksadk/assets/architecture-7EHR7CIX-CpZLRCcY.js +0 -1
- package/dist-ksadk/assets/architectureDiagram-3BPJPVTR-BXoVRbQ6.js +0 -36
- package/dist-ksadk/assets/blockDiagram-GPEHLZMM-BnaB3Ywv.js +0 -132
- package/dist-ksadk/assets/c4Diagram-AAUBKEIU-Dw4weZcp.js +0 -10
- package/dist-ksadk/assets/channel-Dt3rQTFI.js +0 -1
- package/dist-ksadk/assets/chunk-2J33WTMH-ChjpLK7j.js +0 -1
- package/dist-ksadk/assets/chunk-55IACEB6-CK4ROATy.js +0 -1
- package/dist-ksadk/assets/chunk-727SXJPM-B9KtTTgw.js +0 -206
- package/dist-ksadk/assets/chunk-AQP2D5EJ-1O1mki3m.js +0 -231
- package/dist-ksadk/assets/chunk-QZHKN3VN-iXEZtKQc.js +0 -1
- package/dist-ksadk/assets/classDiagram-4FO5ZUOK-DIveV17Q.js +0 -1
- package/dist-ksadk/assets/classDiagram-v2-Q7XG4LA2-DIveV17Q.js +0 -1
- package/dist-ksadk/assets/cytoscape.esm-DelgaX4f.js +0 -321
- package/dist-ksadk/assets/dagre-BM42HDAG-D0QXg_MQ.js +0 -4
- package/dist-ksadk/assets/dagre-Bx709z4p.js +0 -1
- package/dist-ksadk/assets/diagram-2AECGRRQ-DBDDKwBQ.js +0 -43
- package/dist-ksadk/assets/diagram-5GNKFQAL-BkwDOxmO.js +0 -10
- package/dist-ksadk/assets/diagram-KO2AKTUF-Bv8waYvY.js +0 -3
- package/dist-ksadk/assets/diagram-LMA3HP47-e1VECDdu.js +0 -24
- package/dist-ksadk/assets/diagram-OG6HWLK6-Ds9adfRl.js +0 -24
- package/dist-ksadk/assets/dist-B5J2uhNk.js +0 -1
- package/dist-ksadk/assets/erDiagram-TEJ5UH35-BPItFKH6.js +0 -85
- package/dist-ksadk/assets/eventmodeling-FCH6USID-DYFSxbqr.js +0 -1
- package/dist-ksadk/assets/flowDiagram-I6XJVG4X-BbYB9w5Y.js +0 -162
- package/dist-ksadk/assets/ganttDiagram-6RSMTGT7-TQXa0KXv.js +0 -292
- package/dist-ksadk/assets/gitGraph-WXDBUCRP-DyNYp6BN.js +0 -1
- package/dist-ksadk/assets/gitGraphDiagram-PVQCEYII-bKblCnpa.js +0 -106
- package/dist-ksadk/assets/graphlib-B8gBHxth.js +0 -1
- package/dist-ksadk/assets/index-R52pJJvg.js +0 -177
- package/dist-ksadk/assets/index-jJr3_955.css +0 -2
- package/dist-ksadk/assets/info-J43DQDTF-WUx7qTde.js +0 -1
- package/dist-ksadk/assets/infoDiagram-5YYISTIA-BGVT7J_i.js +0 -2
- package/dist-ksadk/assets/katex-CYWseY5E.js +0 -265
- package/dist-ksadk/assets/mermaid-parser.core-BWrDjSZM.js +0 -161
- package/dist-ksadk/assets/packet-YPE3B663-BN13y_xl.js +0 -1
- package/dist-ksadk/assets/pie-LRSECV5Y-ftSLXhhc.js +0 -1
- package/dist-ksadk/assets/pieDiagram-4H26LBE5-GmmqNiVH.js +0 -30
- package/dist-ksadk/assets/radar-GUYGQ44K-jaICkIeO.js +0 -1
- package/dist-ksadk/assets/requirementDiagram-4Y6WPE33-DSWFqL7c.js +0 -84
- package/dist-ksadk/assets/stateDiagram-AJRCARHV-qzTQpg3Y.js +0 -1
- package/dist-ksadk/assets/stateDiagram-v2-BHNVJYJU-BYCoYGAN.js +0 -1
- package/dist-ksadk/assets/treeView-BLDUP644-Cpib_vlz.js +0 -1
- package/dist-ksadk/assets/treemap-LRROVOQU-DQxfmVHK.js +0 -1
- package/dist-ksadk/assets/vennDiagram-CIIHVFJN-CMCixki2.js +0 -34
- package/dist-ksadk/assets/wardley-L42UT6IY-BQYHnnkU.js +0 -1
- package/dist-ksadk/assets/wardleyDiagram-YWT4CUSO-CVzB8F9K.js +0 -78
- package/dist-ksadk/assets/xychartDiagram-2RQKCTM6-BFBqBLc1.js +0 -7
- package/dist-lib/capabilities-CxHZ869f.js +0 -133
- package/dist-lib/components/chat/MenuChip.d.ts +0 -19
- package/dist-lib/components/chat/MenuChip.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,150 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.3 - 2026-08-28
|
|
4
|
+
|
|
5
|
+
### Headless conversation surface
|
|
6
|
+
|
|
7
|
+
- Add the Node/SSR-safe `@kingsoftcloud/ksadk-web/conversation` entrypoint with
|
|
8
|
+
strict ConversationSurface/Input/Item v1 decoders, input preflight, bounded
|
|
9
|
+
HTTP/SSE reconnect, passive renderer data, and the shared identity reducer.
|
|
10
|
+
- Route the bundled Hosted UI through the same conversation client and reducer
|
|
11
|
+
when a valid Surface is advertised. A Surface HTTP 404 keeps the existing
|
|
12
|
+
Responses / AG-UI / legacy path; malformed surfaces and server failures do
|
|
13
|
+
not silently bypass the declared contract.
|
|
14
|
+
- Preserve different item identities even when their text is equal, ignore
|
|
15
|
+
replayed `(itemId, sourceEventId)` pairs, keep terminal items monotonic, and
|
|
16
|
+
retain additive unknown item kinds for replay/audit without rendering a
|
|
17
|
+
repeated transcript card; newer schemas on known kinds safely downgrade to
|
|
18
|
+
one passive fallback card.
|
|
19
|
+
- Preserve the canonical item timeline for renderers: a separate native tool
|
|
20
|
+
result enriches its original `callId` tool card rather than rendering a
|
|
21
|
+
duplicate card, while reasoning, tools and answers keep their original
|
|
22
|
+
interleaving. Add an immutable exact `kind + payloadSchemaRef` trusted
|
|
23
|
+
renderer catalog; providers cannot supply executable UI code in event
|
|
24
|
+
payloads or claim a future schema version.
|
|
25
|
+
- Keep `output` and `reasoning` summaries as a compatibility view beside the
|
|
26
|
+
canonical timeline, so Studio can adopt the shared reducer without a second
|
|
27
|
+
text aggregation implementation during the 0.8.3 transition.
|
|
28
|
+
- Keep canonical approvals without a durable `revision` read-only. Consumers
|
|
29
|
+
must not guess a revision or submit them through the revision-CAS Interaction
|
|
30
|
+
API until the server supplies an authoritative value.
|
|
31
|
+
- Make attachment upload and model selection first-class canonical inputs in
|
|
32
|
+
Hosted UI. Unsupported inputs and oversized files fail before upload or turn
|
|
33
|
+
submission instead of silently degrading to legacy `RunAgent` behavior.
|
|
34
|
+
- Prove the headless entrypoint from a minimal independent consumer across two
|
|
35
|
+
turns, cursor reconnect, text/tool/approval/unknown-item rendering, and
|
|
36
|
+
revision-CAS approval submission.
|
|
37
|
+
- Add a repeatable release preflight that runs unit, Node contract, lint, all
|
|
38
|
+
production builds, canonical Conversation browser E2E, provenance checks,
|
|
39
|
+
npm packing, and a clean tarball-install public API smoke test.
|
|
40
|
+
|
|
41
|
+
## 0.3.2 - 2026-08-21
|
|
42
|
+
|
|
43
|
+
Release candidate for the durable Interaction/v1 web experience. This is the
|
|
44
|
+
reviewed source that replaces the internal beta sequence. Publication remains
|
|
45
|
+
blocked on the current-digest cross-repository preproduction gate and uses the
|
|
46
|
+
protected release workflow only after that gate is green.
|
|
47
|
+
|
|
48
|
+
- Unify the Hosted UI composer with Studio's compact attachment, approval,
|
|
49
|
+
model, Goal, and Plan controls. The runtime's ordinary agent loop remains
|
|
50
|
+
internal rather than appearing as a third user-selectable mode; a future
|
|
51
|
+
eval-driven improvement loop must advertise its own honest capability.
|
|
52
|
+
- Simplify the session list: completed runs no longer expose raw status text;
|
|
53
|
+
active sessions use a small activity ring and subtle background, while failed
|
|
54
|
+
sessions use a restrained error dot.
|
|
55
|
+
- Keep RuntimeCapabilityMatrix decoding executable before the TypeScript build,
|
|
56
|
+
so the same fail-closed contract projection is covered by both browser tests
|
|
57
|
+
and the npm publication workflow's Node compatibility gate.
|
|
58
|
+
|
|
59
|
+
## 0.3.2-beta.5 - 2026-08-21
|
|
60
|
+
|
|
61
|
+
When the composer Interaction tray owns a pending approval, its tool-history
|
|
62
|
+
row is now strictly read-only. This removes the second legacy approve/reject
|
|
63
|
+
entry point while preserving the command arguments and terminal audit result.
|
|
64
|
+
|
|
65
|
+
## 0.3.2-beta.4 - 2026-08-21
|
|
66
|
+
|
|
67
|
+
Fixes the legacy Responses approval bridge: a pending approval is retained in
|
|
68
|
+
the read-only tool history and also normalized into the unified Interaction
|
|
69
|
+
tray immediately above the composer. The submit still uses the compatible
|
|
70
|
+
Responses approval transport when Interaction/v1 is unavailable.
|
|
71
|
+
|
|
72
|
+
## 0.3.2-beta.3 - 2026-08-20
|
|
73
|
+
|
|
74
|
+
Adds package-internal release provenance. Hosted UI and the preproduction gate
|
|
75
|
+
can verify the resolved tarball's source basis and Interaction/v1 contract
|
|
76
|
+
digest instead of trusting an external evidence label.
|
|
77
|
+
|
|
78
|
+
## 0.3.2-beta.2 - 2026-08-20
|
|
79
|
+
|
|
80
|
+
Rebuilt the immutable beta artifact from the complete Interaction/v1 source.
|
|
81
|
+
This supersedes `0.3.2-beta.1`, whose vendored Hosted UI tarball predated the
|
|
82
|
+
two fixes below.
|
|
83
|
+
|
|
84
|
+
- Treat a successful `SubmitInteraction` receipt as durable acceptance, not as
|
|
85
|
+
proof that the framework execution has already completed its resolution.
|
|
86
|
+
- Add the queue tray and read-only historical interaction anchors to the
|
|
87
|
+
published artifact, rather than leaving them only on the Web source branch.
|
|
88
|
+
|
|
89
|
+
## 0.3.2-beta.1 - 2026-08-19
|
|
90
|
+
|
|
91
|
+
> Unifies durable human-in-the-loop decisions behind one `Interaction/v1`
|
|
92
|
+
> client. Counterpart of the agent-kernel Interaction/v1 contract: pending
|
|
93
|
+
> approvals, structured inputs, and AG-UI interrupts normalize to a single
|
|
94
|
+
> Interaction shape with one submit path (`SubmitInteraction`) with
|
|
95
|
+
> revision CAS, idempotency keys, and first-wins terminal semantics.
|
|
96
|
+
|
|
97
|
+
### Interaction/v1 (headless core)
|
|
98
|
+
|
|
99
|
+
- New `src/core/interaction/` module: `InteractionClientImpl` + shared
|
|
100
|
+
`InteractionStore` with strict first-wins semantics (a terminal record
|
|
101
|
+
never regresses to pending), revision-based optimistic concurrency, and
|
|
102
|
+
an idempotency-key double-submit guard.
|
|
103
|
+
- Transport adapters normalize three sources into the same Interaction:
|
|
104
|
+
Interaction/v1 SessionEvents (`interaction.requested` / `.resolved`,
|
|
105
|
+
rejection is `resolved.outcome="rejected"`, not a fifth event type),
|
|
106
|
+
Responses `mcp_approval_request`, and AG-UI interrupts. Components never
|
|
107
|
+
branch on the approval protocol.
|
|
108
|
+
- New public API: `POST /agentengine/api/v1/SubmitInteraction`
|
|
109
|
+
(`submitInteraction` on `ApiFacade`), receipt decoded with the canonical
|
|
110
|
+
agent-kernel/v1 strict decoder. Pure `/v1/responses` clients keep the
|
|
111
|
+
official `mcp_approval_response` path.
|
|
112
|
+
- Refresh/replay: session load replays recent durable SessionEvents into
|
|
113
|
+
the store so a pending Interaction is restored without creating a second
|
|
114
|
+
request; a double click, a stale tab, or a replayed history can never
|
|
115
|
+
duplicate a decision.
|
|
116
|
+
|
|
117
|
+
### UI
|
|
118
|
+
|
|
119
|
+
- `InteractionTray` renders above the composer with the current pending
|
|
120
|
+
item, pending count, and queue navigation; the composer input is
|
|
121
|
+
visually subordinated while a decision is pending.
|
|
122
|
+
- `InteractionHistoryAnchor` replaces interactive historical approval
|
|
123
|
+
buttons with a read-only status retaining actor, decision time,
|
|
124
|
+
outcome, and a redacted response summary.
|
|
125
|
+
- A2UI production wire locked to `0.9.1` with catalog digest validation
|
|
126
|
+
(`validateA2uiPresentation`). Unknown wire versions or catalog
|
|
127
|
+
mismatches fall back to the canonical JSON schema form, then to plain
|
|
128
|
+
approve/reject controls. A validation failure is never mapped to an
|
|
129
|
+
approval.
|
|
130
|
+
- Expiry: interactions with a past `expires_at` disable submission
|
|
131
|
+
client-side and surface an expired notice.
|
|
132
|
+
|
|
133
|
+
### Compatibility
|
|
134
|
+
|
|
135
|
+
- Old servers without the `interaction_v1` capability keep the 0.3.1
|
|
136
|
+
Responses (`mcp_approval_response`) and AG-UI (`resumeAguiInterrupt`)
|
|
137
|
+
callbacks; the fallback is isolated in the adapters and the shared UI is
|
|
138
|
+
unchanged.
|
|
139
|
+
- Public runtime bundle exports `InteractionClientImpl`, `Interaction`,
|
|
140
|
+
adapters, and `interactionIdempotencyKey`.
|
|
141
|
+
|
|
142
|
+
### Supply chain
|
|
143
|
+
|
|
144
|
+
- Refresh the lockfile's production transitive dependencies for the `0.3.2`
|
|
145
|
+
candidate: Mermaid/DOMPurify and PostCSS/nanoid now resolve to the patched
|
|
146
|
+
releases verified by `npm audit --omit=dev`.
|
|
147
|
+
|
|
3
148
|
## 0.3.1 - 2026-08-12
|
|
4
149
|
|
|
5
150
|
> Identity-aware runtime item reducer. Counterpart of the KsADK `0.8.1`
|
|
@@ -28,11 +173,10 @@
|
|
|
28
173
|
identity-aware version. `0.3.0` used the v1 heuristic reducer and will
|
|
29
174
|
duplicate or drop output when paired with canonical v2 producers.
|
|
30
175
|
|
|
31
|
-
## 0.3.0 - 2026-07-
|
|
176
|
+
## 0.3.0 - 2026-07-29
|
|
32
177
|
|
|
33
|
-
>
|
|
34
|
-
>
|
|
35
|
-
> created by this changelog entry.
|
|
178
|
+
> Published baseline for Hosted runtime transport and the KsADK `0.8.0`
|
|
179
|
+
> web integration.
|
|
36
180
|
|
|
37
181
|
### Hosted runtime transport
|
|
38
182
|
|
package/README.md
CHANGED
|
@@ -43,6 +43,7 @@ package entrypoints under `dist-lib`.
|
|
|
43
43
|
The npm package exposes these stable entrypoints:
|
|
44
44
|
|
|
45
45
|
- `@kingsoftcloud/ksadk-web/components`
|
|
46
|
+
- `@kingsoftcloud/ksadk-web/conversation` (headless, Node/SSR-safe)
|
|
46
47
|
- `@kingsoftcloud/ksadk-web/runtime`
|
|
47
48
|
- `@kingsoftcloud/ksadk-web/capabilities`
|
|
48
49
|
- `@kingsoftcloud/ksadk-web/styles`
|
|
@@ -51,6 +52,57 @@ The npm package exposes these stable entrypoints:
|
|
|
51
52
|
Hosted UI should import the shared shell from the package and keep private
|
|
52
53
|
auth, routing, feature flags, Docker, nginx, and Helm logic in its own repo.
|
|
53
54
|
|
|
55
|
+
### Headless conversation client
|
|
56
|
+
|
|
57
|
+
`@kingsoftcloud/ksadk-web/conversation` provides strict
|
|
58
|
+
`ConversationSurface/Input/Item` decoders, the identity reducer, passive
|
|
59
|
+
renderer data, and a small HTTP/SSE reference client. It has no React or DOM
|
|
60
|
+
runtime dependency and can be imported by Node/SSR applications.
|
|
61
|
+
|
|
62
|
+
```ts
|
|
63
|
+
import {
|
|
64
|
+
HttpConversationClient,
|
|
65
|
+
buildConversationInput,
|
|
66
|
+
} from '@kingsoftcloud/ksadk-web/conversation'
|
|
67
|
+
|
|
68
|
+
const client = new HttpConversationClient()
|
|
69
|
+
const bootstrap = await client.getSurface('agent-id', 'session-id')
|
|
70
|
+
const result = await client.streamTurn({
|
|
71
|
+
bootstrap,
|
|
72
|
+
input: buildConversationInput({
|
|
73
|
+
inputId: 'input-id',
|
|
74
|
+
sessionId: 'session-id',
|
|
75
|
+
idempotencyKey: 'turn-id',
|
|
76
|
+
parts: [{ kind: 'text', text: 'Hello' }],
|
|
77
|
+
}),
|
|
78
|
+
onUpdate(snapshot) {
|
|
79
|
+
// Render snapshot.presentation. It is already reduced by canonical item
|
|
80
|
+
// identity and is safe to replace after a reconnect or replay.
|
|
81
|
+
renderConversation(snapshot.presentation)
|
|
82
|
+
},
|
|
83
|
+
})
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
The client submits a turn once and only reconnects through the canonical Run
|
|
87
|
+
event endpoint. `onUpdate` and the final result use the same reducer: equal text
|
|
88
|
+
from different item identities is retained, replayed `(itemId, sourceEventId)`
|
|
89
|
+
pairs are idempotent, and a terminal item never regresses. It does not accept
|
|
90
|
+
tokens, cookies, credential modes, or provider-specific request fields;
|
|
91
|
+
applications keep authentication at their same-origin server boundary or in
|
|
92
|
+
an injected transport.
|
|
93
|
+
|
|
94
|
+
The bundled Hosted UI uses this same client and reducer when the server returns
|
|
95
|
+
a valid `ConversationSurface`. HTTP 404 is the compatibility signal for the
|
|
96
|
+
existing Responses / AG-UI / legacy path. A declared but invalid or unavailable
|
|
97
|
+
surface fails closed, and unknown item kinds or schema versions render as
|
|
98
|
+
passive fallback cards rather than provider-specific UI.
|
|
99
|
+
|
|
100
|
+
Approval and structured-input items are actionable only when their canonical
|
|
101
|
+
payload carries the server's durable, non-negative `revision`. Without that
|
|
102
|
+
value the shared Hosted UI intentionally renders the item read-only: it never
|
|
103
|
+
guesses revision `0` or bypasses the Interaction API's revision-CAS contract.
|
|
104
|
+
Likewise, unknown payloads and unsafe artifact URIs remain passive content.
|
|
105
|
+
|
|
54
106
|
## Release Contract
|
|
55
107
|
|
|
56
108
|
Consumers should record the resolved KSADK Web package version and lockfile
|
|
@@ -89,12 +141,33 @@ Before creating a release or dispatching the workflow, verify the payload:
|
|
|
89
141
|
|
|
90
142
|
```bash
|
|
91
143
|
npm ci
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
npm run build:all
|
|
95
|
-
npm pack --dry-run --access public
|
|
144
|
+
npx playwright install chromium
|
|
145
|
+
npm run release:preflight
|
|
96
146
|
```
|
|
97
147
|
|
|
148
|
+
The preflight is intentionally stricter than a development build: it requires
|
|
149
|
+
a clean worktree, checks the frozen Git source recorded in
|
|
150
|
+
`RELEASE_PROVENANCE.json`, rejects content changes under an already tagged
|
|
151
|
+
version, runs the canonical Conversation browser flow, creates the real npm
|
|
152
|
+
tarball, installs it into a disposable consumer, and imports the public
|
|
153
|
+
`@kingsoftcloud/ksadk-web/conversation` API. During development only, use
|
|
154
|
+
`npm run release:preflight -- --allow-unreleased --allow-dirty` to rehearse the
|
|
155
|
+
same tests without claiming the current commit is a releasable source.
|
|
156
|
+
|
|
157
|
+
After the next version is set and all code is committed, freeze its provenance
|
|
158
|
+
from that clean commit before the final attestation commit:
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
npm run release:provenance -- generate
|
|
162
|
+
git add RELEASE_PROVENANCE.json
|
|
163
|
+
git commit -m "chore(release): attest ksadk-web source"
|
|
164
|
+
npm run release:preflight
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
The generator refuses dirty worktrees and versions whose `vX.Y.Z` tag already
|
|
168
|
+
exists. Never edit `source_commit` by hand or regenerate provenance for an
|
|
169
|
+
already published version.
|
|
170
|
+
|
|
98
171
|
The publish workflow checks whether `package.json`'s exact version is already
|
|
99
172
|
present on npm. Existing versions are skipped because npm packages are
|
|
100
173
|
immutable; publish a new patch version for any package-content change.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{St as e,Tt as t,bt as n,gt as r,lt as i,n as a,t as o,ut as s,xt as c}from"./index-BkDx9KsG.js";var l=t(e(),1),u=n();function d(){let e=c(e=>e.visible),t=c(e=>e.content),n=c(e=>e.type),d=c(e=>e.hide),f=(0,l.useRef)(null);if(a(f),!e||!t)return null;let p=o(t);return(0,u.jsxs)(`aside`,{className:i(`flex h-full flex-shrink-0 flex-col border-l border-slate-200/30 bg-white dark:border-slate-800/40 dark:bg-slate-950`,`w-[min(42rem,50vw)]`),children:[(0,u.jsxs)(`div`,{className:`flex h-14 flex-shrink-0 items-center justify-between border-b border-slate-200/30 px-4 dark:border-slate-800/40`,children:[(0,u.jsxs)(`div`,{className:`flex min-w-0 items-center gap-2`,children:[(0,u.jsx)(`span`,{className:`text-sm font-semibold text-slate-900 dark:text-slate-100`,children:`Artifact`}),(0,u.jsx)(`span`,{className:`rounded-md bg-slate-100 px-1.5 py-0.5 font-mono text-[11px] text-slate-500 dark:bg-slate-900 dark:text-slate-400`,children:n})]}),(0,u.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[(0,u.jsxs)(`button`,{type:`button`,onClick:()=>{let e=new Blob([t],{type:`text/html;charset=utf-8`}),r=URL.createObjectURL(e),i=document.createElement(`a`);i.href=r,i.download=`artifact.${n===`svg`?`svg`:`html`}`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)},className:`inline-flex items-center gap-1.5 rounded-lg px-2.5 py-1.5 text-xs font-medium text-slate-600 transition hover:bg-slate-100 dark:text-slate-300 dark:hover:bg-slate-900`,title:`Download`,children:[(0,u.jsx)(r,{className:`h-3.5 w-3.5`}),`Download`]}),(0,u.jsx)(`button`,{type:`button`,onClick:d,className:`rounded-lg p-1.5 text-slate-500 transition hover:bg-slate-100 hover:text-slate-900 dark:text-slate-400 dark:hover:bg-slate-900 dark:hover:text-slate-100`,"aria-label":`Close Artifact`,title:`Close`,children:(0,u.jsx)(s,{className:`h-4 w-4`})})]})]}),(0,u.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,u.jsx)(`iframe`,{ref:f,srcDoc:p,sandbox:`allow-scripts allow-downloads`,title:`Artifact Preview`,className:`h-full w-full border-0 bg-white`})})]})}export{d as ArtifactsPanel};
|