@tangle-network/agent-app 0.43.56 → 0.43.57
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/dist/DesignCanvas-UNL34LS2.js +12 -0
- package/dist/DesignCanvasEditor-FJIVYOA2.js +13 -0
- package/dist/IntakeInterview-3ZIQMZS6.js +8 -0
- package/dist/InvitationsPanel-CJ7DR4F7.js +8 -0
- package/dist/MembersPanel-BB4OD2KB.js +8 -0
- package/dist/{TimelineEditor-I35SJJAJ.js → TimelineEditor-2ECKSU6P.js} +3 -3
- package/dist/{VaultPane-DrQ_tH6c.d.ts → VaultPane-BDP6SB_K.d.ts} +1 -0
- package/dist/{access-BZ81Btt5.d.ts → access-490O6aOU.d.ts} +16 -1
- package/dist/app-auth/index.d.ts +6 -1
- package/dist/app-auth/index.js +3 -3
- package/dist/app-auth/index.js.map +1 -1
- package/dist/{apply-Gk4raT2j.d.ts → apply-6wlMOLf8.d.ts} +30 -1
- package/dist/assets/index.d.ts +41 -0
- package/dist/assets/index.js +1 -1
- package/dist/assistant/index.d.ts +26 -6
- package/dist/assistant/index.js +9 -9
- package/dist/assistant/index.js.map +1 -1
- package/dist/{attachment-validation-D0csjCvz.d.ts → attachment-validation-tPRp-PP1.d.ts} +7 -1
- package/dist/{auth-DuptSkWh.d.ts → auth-_FU8w01b.d.ts} +4 -1
- package/dist/billing/index.d.ts +8 -0
- package/dist/billing/index.js +1 -1
- package/dist/brand/index.d.ts +2 -0
- package/dist/brand/index.js.map +1 -1
- package/dist/brand-extraction/index.d.ts +3 -0
- package/dist/brand-extraction/index.js.map +1 -1
- package/dist/catalog/index.d.ts +2 -0
- package/dist/catalog/index.js +1 -1
- package/dist/chat-routes/index.d.ts +41 -10
- package/dist/chat-routes/index.js +15 -15
- package/dist/chat-routes/index.js.map +1 -1
- package/dist/chat-store/index.d.ts +18 -4
- package/dist/chat-store/index.js +4 -4
- package/dist/chat-store/index.js.map +1 -1
- package/dist/{chunk-H5FM75MR.js → chunk-22GLESKE.js} +3 -3
- package/dist/chunk-22GLESKE.js.map +1 -0
- package/dist/{chunk-WEBBJBDH.js → chunk-2DRYTJHI.js} +1 -1
- package/dist/chunk-2DRYTJHI.js.map +1 -0
- package/dist/{chunk-7EVZUIHW.js → chunk-3EJ6SFJI.js} +1 -1
- package/dist/chunk-3EJ6SFJI.js.map +1 -0
- package/dist/{chunk-HRJJH3RX.js → chunk-3OFQFW5K.js} +4 -4
- package/dist/chunk-3OFQFW5K.js.map +1 -0
- package/dist/{chunk-7SUPA2YT.js → chunk-4KKXZQPT.js} +2 -2
- package/dist/chunk-4KKXZQPT.js.map +1 -0
- package/dist/{chunk-5PTGEJZL.js → chunk-5SD6HT2V.js} +1 -1
- package/dist/chunk-5SD6HT2V.js.map +1 -0
- package/dist/{chunk-7C64WKAH.js → chunk-5SXS3YAB.js} +2 -2
- package/dist/{chunk-L2TG5DBW.js → chunk-5TESA4SN.js} +1 -1
- package/dist/chunk-5TESA4SN.js.map +1 -0
- package/dist/{chunk-63CE7FEZ.js → chunk-6XIAPIW6.js} +1 -1
- package/dist/chunk-6XIAPIW6.js.map +1 -0
- package/dist/{chunk-MFRCM32T.js → chunk-7CTIUCQ4.js} +1 -1
- package/dist/chunk-7CTIUCQ4.js.map +1 -0
- package/dist/{chunk-6KVH5SP5.js → chunk-7YW6EBDX.js} +2 -2
- package/dist/chunk-7YW6EBDX.js.map +1 -0
- package/dist/{chunk-ZXNXAQAH.js → chunk-AP2UXKUK.js} +1 -1
- package/dist/chunk-AP2UXKUK.js.map +1 -0
- package/dist/{chunk-K63OWUDJ.js → chunk-BPSV5AA2.js} +2 -2
- package/dist/chunk-BPSV5AA2.js.map +1 -0
- package/dist/{chunk-MFI4ZM7W.js → chunk-BT4QFCTB.js} +1 -1
- package/dist/chunk-BT4QFCTB.js.map +1 -0
- package/dist/{chunk-ZYBWGSAZ.js → chunk-BVKQKGRK.js} +1 -1
- package/dist/chunk-BVKQKGRK.js.map +1 -0
- package/dist/{chunk-RVUISYUE.js → chunk-C3NSB66C.js} +7 -7
- package/dist/chunk-C3NSB66C.js.map +1 -0
- package/dist/{chunk-BQV42AFK.js → chunk-CCVWR33L.js} +1 -1
- package/dist/chunk-CCVWR33L.js.map +1 -0
- package/dist/{chunk-MCJSS6SM.js → chunk-CQZSAR77.js} +1 -1
- package/dist/chunk-CQZSAR77.js.map +1 -0
- package/dist/{chunk-3SVAA3MA.js → chunk-DJ4VJIH5.js} +1 -1
- package/dist/chunk-DJ4VJIH5.js.map +1 -0
- package/dist/{chunk-XKBIYSSM.js → chunk-DTSPS2HV.js} +3 -3
- package/dist/chunk-DTSPS2HV.js.map +1 -0
- package/dist/{chunk-4QN75UHX.js → chunk-E7N67FYI.js} +8 -8
- package/dist/chunk-E7N67FYI.js.map +1 -0
- package/dist/{chunk-2QI7XV2T.js → chunk-FBVLEGEG.js} +1 -1
- package/dist/{chunk-2QI7XV2T.js.map → chunk-FBVLEGEG.js.map} +1 -1
- package/dist/{chunk-5RMIUJDI.js → chunk-FKCB5FTD.js} +1 -1
- package/dist/chunk-FKCB5FTD.js.map +1 -0
- package/dist/{chunk-EEPJGZJW.js → chunk-GPBRL2XR.js} +1 -1
- package/dist/chunk-GPBRL2XR.js.map +1 -0
- package/dist/{chunk-G3HCU7TA.js → chunk-GXE6KHTS.js} +1 -1
- package/dist/chunk-GXE6KHTS.js.map +1 -0
- package/dist/{chunk-65P3HJY3.js → chunk-HCOROIRT.js} +1 -1
- package/dist/chunk-HCOROIRT.js.map +1 -0
- package/dist/{chunk-54GSK2KK.js → chunk-HYTIHYNV.js} +2 -2
- package/dist/chunk-HYTIHYNV.js.map +1 -0
- package/dist/{chunk-5MG74GVQ.js → chunk-IG46XCZM.js} +3 -3
- package/dist/chunk-IG46XCZM.js.map +1 -0
- package/dist/{chunk-ND3XEGBE.js → chunk-JDEGS53O.js} +1 -1
- package/dist/chunk-JDEGS53O.js.map +1 -0
- package/dist/{chunk-7W5XSTUF.js → chunk-JML7WKWU.js} +1 -1
- package/dist/chunk-JML7WKWU.js.map +1 -0
- package/dist/{chunk-Q4TKVF3L.js → chunk-JTLYXUEV.js} +1 -1
- package/dist/chunk-JTLYXUEV.js.map +1 -0
- package/dist/{chunk-CCRVDLV3.js → chunk-JWBZ74TW.js} +2 -2
- package/dist/chunk-JWBZ74TW.js.map +1 -0
- package/dist/{chunk-ZU5GNSOJ.js → chunk-K3LIPKFV.js} +3 -3
- package/dist/chunk-K3LIPKFV.js.map +1 -0
- package/dist/{chunk-GQRL6VNU.js → chunk-LGBO24FL.js} +1 -1
- package/dist/chunk-LGBO24FL.js.map +1 -0
- package/dist/{chunk-SWUVTGMR.js → chunk-MEUNTJL5.js} +3 -3
- package/dist/{chunk-SWUVTGMR.js.map → chunk-MEUNTJL5.js.map} +1 -1
- package/dist/{chunk-YNALYIQ3.js → chunk-NLSSFLLS.js} +1 -1
- package/dist/chunk-NLSSFLLS.js.map +1 -0
- package/dist/{chunk-HFC4BTWJ.js → chunk-PTUMBMVH.js} +1 -1
- package/dist/chunk-PTUMBMVH.js.map +1 -0
- package/dist/{chunk-R4NOKZMD.js → chunk-ROLFDOMJ.js} +3 -3
- package/dist/{chunk-NYATNLRK.js → chunk-RT5RKAFX.js} +1 -1
- package/dist/chunk-RT5RKAFX.js.map +1 -0
- package/dist/{chunk-GNL3MG5J.js → chunk-S564OFTL.js} +2 -2
- package/dist/{chunk-GUSCYE3S.js → chunk-TQOFR6XY.js} +1 -1
- package/dist/chunk-TQOFR6XY.js.map +1 -0
- package/dist/{chunk-47C6PJCW.js → chunk-TZO3SOUL.js} +1 -1
- package/dist/chunk-TZO3SOUL.js.map +1 -0
- package/dist/{chunk-YGUNTIT5.js → chunk-UKTYKG57.js} +1 -1
- package/dist/chunk-UKTYKG57.js.map +1 -0
- package/dist/{chunk-23LUHHHN.js → chunk-VCOD5AOR.js} +1 -1
- package/dist/chunk-VCOD5AOR.js.map +1 -0
- package/dist/{chunk-5I72FRZY.js → chunk-VOJB7MVG.js} +2 -2
- package/dist/{chunk-XWJXZ6WE.js → chunk-VTWKH4YU.js} +2 -2
- package/dist/chunk-VTWKH4YU.js.map +1 -0
- package/dist/{chunk-4K7BZYO7.js → chunk-VWAEWOWK.js} +3 -3
- package/dist/chunk-VWAEWOWK.js.map +1 -0
- package/dist/{chunk-M2EBUDZ7.js → chunk-VWOPOLVO.js} +2 -2
- package/dist/chunk-VWOPOLVO.js.map +1 -0
- package/dist/{chunk-BN2USWIR.js → chunk-VYECQAGM.js} +2 -2
- package/dist/chunk-VYECQAGM.js.map +1 -0
- package/dist/{chunk-SIXYZ2FB.js → chunk-YJMCRXQQ.js} +1 -1
- package/dist/chunk-YJMCRXQQ.js.map +1 -0
- package/dist/{chunk-PJC4NXPA.js → chunk-YKBDH2UY.js} +3 -3
- package/dist/chunk-YKBDH2UY.js.map +1 -0
- package/dist/{chunk-XAWFPMAR.js → chunk-YKOM4ZLQ.js} +1 -1
- package/dist/chunk-YKOM4ZLQ.js.map +1 -0
- package/dist/{chunk-TKVJE63N.js → chunk-YRMLYFVR.js} +3 -3
- package/dist/chunk-YRMLYFVR.js.map +1 -0
- package/dist/{chunk-USYXHDKE.js → chunk-YZ6KQULN.js} +2 -2
- package/dist/{command-stack-B_-WNfZU.d.ts → command-stack-TNPWJCzW.d.ts} +14 -2
- package/dist/{completion-Kaqp_tWk.d.ts → completion-CvcNUz07.d.ts} +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/{contract-KfqJh_au.d.ts → contract-TjB68uqA.d.ts} +17 -0
- package/dist/design-canvas/drizzle.d.ts +10 -2
- package/dist/design-canvas/drizzle.js.map +1 -1
- package/dist/design-canvas/index.d.ts +29 -11
- package/dist/design-canvas/index.js +1070 -17
- package/dist/design-canvas/index.js.map +1 -1
- package/dist/design-canvas-react/engine.d.ts +42 -6
- package/dist/design-canvas-react/engine.js +4 -4
- package/dist/design-canvas-react/index.d.ts +12 -7
- package/dist/design-canvas-react/index.js +11 -11
- package/dist/design-canvas-react/index.js.map +1 -1
- package/dist/design-canvas-react/lazy.d.ts +4 -4
- package/dist/design-canvas-react/lazy.js +1 -1
- package/dist/durable-chat/index.d.ts +46 -1
- package/dist/durable-chat/index.js +3 -3
- package/dist/eval/index.d.ts +1 -1
- package/dist/{export-presets-DAsU5Wal.d.ts → export-presets-mgVulRaV.d.ts} +10 -1
- package/dist/{flow-types-Cb_AblZs.d.ts → flow-types-CqomVAUN.d.ts} +1 -0
- package/dist/harness/index.d.ts +5 -0
- package/dist/harness/index.js +1 -1
- package/dist/index.d.ts +10 -18
- package/dist/index.js +30 -231
- package/dist/intakes/api.d.ts +3 -2
- package/dist/intakes/api.js +3 -3
- package/dist/intakes/api.js.map +1 -1
- package/dist/intakes/drizzle.d.ts +10 -2
- package/dist/intakes/drizzle.js +3 -3
- package/dist/intakes/drizzle.js.map +1 -1
- package/dist/intakes/index.d.ts +2 -2
- package/dist/intakes/index.js +2 -2
- package/dist/intakes-react/index.d.ts +2 -1
- package/dist/intakes-react/index.js +2 -2
- package/dist/intakes-react/lazy.d.ts +2 -1
- package/dist/intakes-react/lazy.js +1 -1
- package/dist/intakes-react/lazy.js.map +1 -1
- package/dist/integrations/index.d.ts +4 -0
- package/dist/integrations/index.js +1 -1
- package/dist/interactions/index.d.ts +13 -2
- package/dist/interactions/index.js +2 -2
- package/dist/{invitations-CZ5G2tIn.d.ts → invitations-DoYMvXea.d.ts} +11 -1
- package/dist/{invitations-schema-DaMO4hZE.d.ts → invitations-schema-_fI7HkJP.d.ts} +5 -1
- package/dist/knowledge/index.d.ts +2 -0
- package/dist/knowledge/index.js +1 -1
- package/dist/knowledge-loop/index.d.ts +4 -1
- package/dist/knowledge-loop/index.js +1 -1
- package/dist/{lazy-C7LiVeFt.d.ts → lazy-DrkVyDpe.d.ts} +2 -2
- package/dist/{mcp-BHfIoGLW.d.ts → mcp-BjPqQ-3C.d.ts} +4 -2
- package/dist/{mcp-rpc-DLw_r9PQ.d.ts → mcp-rpc-BfUOsalw.d.ts} +3 -0
- package/dist/missions/index.d.ts +25 -0
- package/dist/missions/index.js +1 -1
- package/dist/{model-Bzi5i63l.d.ts → model-C8U0HZxL.d.ts} +1 -0
- package/dist/{model-dF2h4xT9.d.ts → model-DmdkIteM.d.ts} +19 -0
- package/dist/{model-BBwyOuWG.d.ts → model-DnfO_PdJ.d.ts} +25 -1
- package/dist/model-resolution/index.d.ts +10 -0
- package/dist/model-resolution/index.js.map +1 -1
- package/dist/{operations-DLIvvD00.d.ts → operations-ByJ6yXOW.d.ts} +20 -2
- package/dist/{parts-1sRYSPjF.d.ts → parts-n9XUon0a.d.ts} +29 -1
- package/dist/plans/index.d.ts +6 -0
- package/dist/plans/index.js +1 -1
- package/dist/platform/index.d.ts +24 -2
- package/dist/platform/index.js +3 -3
- package/dist/platform/index.js.map +1 -1
- package/dist/preflight/index.d.ts +3 -0
- package/dist/preflight/index.js +1 -1
- package/dist/preset-cloudflare/index.d.ts +4 -1
- package/dist/preset-cloudflare/index.js +2 -2
- package/dist/redact/index.d.ts +5 -0
- package/dist/redact/index.js +1 -1
- package/dist/{roles-BC1n4t37.d.ts → roles-B4nU3jDi.d.ts} +12 -0
- package/dist/run/index.d.ts +3 -0
- package/dist/run/index.js +1 -1
- package/dist/run/index.js.map +1 -1
- package/dist/runtime/index.d.ts +11 -4
- package/dist/runtime/index.js +4 -4
- package/dist/sandbox/index.d.ts +96 -3
- package/dist/sandbox/index.js +6 -6
- package/dist/{sandbox-terminal-BIIC__CP.d.ts → sandbox-terminal-ChNEdHF8.d.ts} +5 -0
- package/dist/sequences/drizzle.d.ts +11 -1
- package/dist/sequences/drizzle.js +1 -1
- package/dist/sequences/drizzle.js.map +1 -1
- package/dist/sequences/index.d.ts +32 -7
- package/dist/sequences/index.js +1562 -47
- package/dist/sequences/index.js.map +1 -1
- package/dist/sequences-react/index.d.ts +32 -2
- package/dist/sequences-react/index.js +3 -3
- package/dist/sequences-react/index.js.map +1 -1
- package/dist/{sso-CNOsARMJ.d.ts → sso-Cm00S61u.d.ts} +13 -0
- package/dist/{stale-turn-lock-C8Na1cFZ.d.ts → stale-turn-lock-DucQzvXu.d.ts} +2 -0
- package/dist/store/index.d.ts +5 -0
- package/dist/store/index.js.map +1 -1
- package/dist/{store-gckrNq-g.d.ts → store-B7LLlk9p.d.ts} +22 -1
- package/dist/{store-CFyxgTlD.d.ts → store-CqfDtnPQ.d.ts} +8 -2
- package/dist/stream/index.d.ts +10 -4
- package/dist/stream/index.js +4 -4
- package/dist/{stream-normalizer-DWvtmY6F.d.ts → stream-normalizer-C3M--r6y.d.ts} +17 -1
- package/dist/studio/index.d.ts +37 -0
- package/dist/studio/index.js +1 -1
- package/dist/studio-react/index.d.ts +3 -0
- package/dist/studio-react/index.js +1 -1
- package/dist/studio-react/index.js.map +1 -1
- package/dist/tangle/index.d.ts +3 -0
- package/dist/tangle/index.js +1 -1
- package/dist/teams/drizzle.d.ts +8 -4
- package/dist/teams/drizzle.js +1 -1
- package/dist/teams/drizzle.js.map +1 -1
- package/dist/teams/index.d.ts +4 -2
- package/dist/teams/index.js +3 -3
- package/dist/teams/invitations-api.d.ts +10 -4
- package/dist/teams/invitations-api.js +4 -4
- package/dist/teams/invitations-api.js.map +1 -1
- package/dist/teams/members-api.d.ts +4 -2
- package/dist/teams/members-api.js +3 -3
- package/dist/teams/resend.d.ts +5 -4
- package/dist/teams/resend.js +1 -1
- package/dist/teams/resend.js.map +1 -1
- package/dist/teams-react/index.d.ts +7 -2
- package/dist/teams-react/index.js +3 -3
- package/dist/teams-react/lazy.d.ts +5 -2
- package/dist/teams-react/lazy.js +2 -2
- package/dist/teams-react/lazy.js.map +1 -1
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/index.js +1 -1
- package/dist/theme/tailwind-preset.d.ts +1 -0
- package/dist/theme/tailwind-preset.js.map +1 -1
- package/dist/theme-contract/cli.js +1 -1
- package/dist/theme-contract/index.d.ts +3 -0
- package/dist/theme-contract/index.js +1 -1
- package/dist/tools/index.d.ts +13 -6
- package/dist/tools/index.js +3 -3
- package/dist/trace/index.d.ts +6 -1
- package/dist/trace/index.js +2 -2
- package/dist/{turn-buffer-C9mEgoop.d.ts → turn-buffer-DGnAPKwa.d.ts} +6 -0
- package/dist/turn-stream/index.d.ts +28 -2
- package/dist/turn-stream/index.js +1 -1
- package/dist/turn-stream/index.js.map +1 -1
- package/dist/{types-BEOvc_ue.d.ts → types-CBRyqijY.d.ts} +10 -0
- package/dist/vault/index.d.ts +1 -1
- package/dist/vault/lazy.d.ts +3 -2
- package/dist/vault/lazy.js.map +1 -1
- package/dist/web/index.d.ts +4 -0
- package/dist/web/index.js +1 -1
- package/dist/web-react/index.d.ts +51 -8
- package/dist/web-react/index.js +9 -9
- package/dist/web-react/terminal.d.ts +2 -2
- package/dist/web-react/terminal.js +1 -1
- package/package.json +3 -2
- package/dist/DesignCanvas-5DJAFDNC.js +0 -12
- package/dist/DesignCanvasEditor-XUJZARSN.js +0 -13
- package/dist/IntakeInterview-WHVKMNQW.js +0 -8
- package/dist/InvitationsPanel-XUUWZBPV.js +0 -8
- package/dist/MembersPanel-FOVHWUQ3.js +0 -8
- package/dist/chunk-23LUHHHN.js.map +0 -1
- package/dist/chunk-3SVAA3MA.js.map +0 -1
- package/dist/chunk-47C6PJCW.js.map +0 -1
- package/dist/chunk-4K7BZYO7.js.map +0 -1
- package/dist/chunk-4QN75UHX.js.map +0 -1
- package/dist/chunk-54GSK2KK.js.map +0 -1
- package/dist/chunk-5MG74GVQ.js.map +0 -1
- package/dist/chunk-5PTGEJZL.js.map +0 -1
- package/dist/chunk-5RMIUJDI.js.map +0 -1
- package/dist/chunk-63CE7FEZ.js.map +0 -1
- package/dist/chunk-65P3HJY3.js.map +0 -1
- package/dist/chunk-6KVH5SP5.js.map +0 -1
- package/dist/chunk-7EVZUIHW.js.map +0 -1
- package/dist/chunk-7SUPA2YT.js.map +0 -1
- package/dist/chunk-7W5XSTUF.js.map +0 -1
- package/dist/chunk-BN2USWIR.js.map +0 -1
- package/dist/chunk-BQV42AFK.js.map +0 -1
- package/dist/chunk-CCRVDLV3.js.map +0 -1
- package/dist/chunk-EEPJGZJW.js.map +0 -1
- package/dist/chunk-G3HCU7TA.js.map +0 -1
- package/dist/chunk-GQRL6VNU.js.map +0 -1
- package/dist/chunk-GUSCYE3S.js.map +0 -1
- package/dist/chunk-H5FM75MR.js.map +0 -1
- package/dist/chunk-HFC4BTWJ.js.map +0 -1
- package/dist/chunk-HRJJH3RX.js.map +0 -1
- package/dist/chunk-K63OWUDJ.js.map +0 -1
- package/dist/chunk-L2TG5DBW.js.map +0 -1
- package/dist/chunk-M2EBUDZ7.js.map +0 -1
- package/dist/chunk-MCJSS6SM.js.map +0 -1
- package/dist/chunk-MFI4ZM7W.js.map +0 -1
- package/dist/chunk-MFRCM32T.js.map +0 -1
- package/dist/chunk-ND3XEGBE.js.map +0 -1
- package/dist/chunk-NEOV2NQ3.js +0 -1617
- package/dist/chunk-NEOV2NQ3.js.map +0 -1
- package/dist/chunk-NYATNLRK.js.map +0 -1
- package/dist/chunk-PJC4NXPA.js.map +0 -1
- package/dist/chunk-Q4TKVF3L.js.map +0 -1
- package/dist/chunk-RVUISYUE.js.map +0 -1
- package/dist/chunk-SIXYZ2FB.js.map +0 -1
- package/dist/chunk-TKVJE63N.js.map +0 -1
- package/dist/chunk-WEBBJBDH.js.map +0 -1
- package/dist/chunk-WFMUDX5J.js +0 -1092
- package/dist/chunk-WFMUDX5J.js.map +0 -1
- package/dist/chunk-XAWFPMAR.js.map +0 -1
- package/dist/chunk-XKBIYSSM.js.map +0 -1
- package/dist/chunk-XWJXZ6WE.js.map +0 -1
- package/dist/chunk-YGUNTIT5.js.map +0 -1
- package/dist/chunk-YNALYIQ3.js.map +0 -1
- package/dist/chunk-ZU5GNSOJ.js.map +0 -1
- package/dist/chunk-ZXNXAQAH.js.map +0 -1
- package/dist/chunk-ZYBWGSAZ.js.map +0 -1
- /package/dist/{DesignCanvas-5DJAFDNC.js.map → DesignCanvas-UNL34LS2.js.map} +0 -0
- /package/dist/{DesignCanvasEditor-XUJZARSN.js.map → DesignCanvasEditor-FJIVYOA2.js.map} +0 -0
- /package/dist/{IntakeInterview-WHVKMNQW.js.map → IntakeInterview-3ZIQMZS6.js.map} +0 -0
- /package/dist/{InvitationsPanel-XUUWZBPV.js.map → InvitationsPanel-CJ7DR4F7.js.map} +0 -0
- /package/dist/{MembersPanel-FOVHWUQ3.js.map → MembersPanel-BB4OD2KB.js.map} +0 -0
- /package/dist/{TimelineEditor-I35SJJAJ.js.map → TimelineEditor-2ECKSU6P.js.map} +0 -0
- /package/dist/{chunk-7C64WKAH.js.map → chunk-5SXS3YAB.js.map} +0 -0
- /package/dist/{chunk-R4NOKZMD.js.map → chunk-ROLFDOMJ.js.map} +0 -0
- /package/dist/{chunk-GNL3MG5J.js.map → chunk-S564OFTL.js.map} +0 -0
- /package/dist/{chunk-5I72FRZY.js.map → chunk-VOJB7MVG.js.map} +0 -0
- /package/dist/{chunk-USYXHDKE.js.map → chunk-YZ6KQULN.js.map} +0 -0
package/dist/assets/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
/** Define brand identity tokens including colors, font, logo, business name, and voice */
|
|
3
4
|
interface BrandTokens {
|
|
4
5
|
primaryColor: string;
|
|
5
6
|
accentColor: string;
|
|
@@ -9,8 +10,11 @@ interface BrandTokens {
|
|
|
9
10
|
businessName: string;
|
|
10
11
|
voice: string;
|
|
11
12
|
}
|
|
13
|
+
/** Define valid asset format strings for various media and copy types */
|
|
12
14
|
type AssetFormat = 'email' | 'image:feed' | 'image:story' | 'image:carousel' | 'video:reel' | 'video:feed' | 'copy:caption' | 'copy:headline' | 'copy:sms';
|
|
15
|
+
/** Define possible states representing the lifecycle status of an asset */
|
|
13
16
|
type AssetStatus = 'draft' | 'pending_review' | 'approved' | 'rejected' | 'scheduled' | 'published';
|
|
17
|
+
/** Define the structure for a hero section in an email with headline, image, and call-to-action fields */
|
|
14
18
|
interface EmailHeroSection {
|
|
15
19
|
type: 'hero';
|
|
16
20
|
headline: string;
|
|
@@ -19,16 +23,19 @@ interface EmailHeroSection {
|
|
|
19
23
|
ctaLabel?: string;
|
|
20
24
|
ctaUrl?: string;
|
|
21
25
|
}
|
|
26
|
+
/** Define the structure for the body section of an email containing plain text content */
|
|
22
27
|
interface EmailBodySection {
|
|
23
28
|
type: 'body';
|
|
24
29
|
text: string;
|
|
25
30
|
}
|
|
31
|
+
/** Define a feature section with headline, description, and optional image for email content */
|
|
26
32
|
interface EmailFeatureSection {
|
|
27
33
|
type: 'feature';
|
|
28
34
|
headline: string;
|
|
29
35
|
description: string;
|
|
30
36
|
imageUrl?: string;
|
|
31
37
|
}
|
|
38
|
+
/** Define the structure for an email testimonial section with quote, author, and optional details */
|
|
32
39
|
interface EmailTestimonialSection {
|
|
33
40
|
type: 'testimonial';
|
|
34
41
|
quote: string;
|
|
@@ -36,22 +43,28 @@ interface EmailTestimonialSection {
|
|
|
36
43
|
role?: string;
|
|
37
44
|
avatarUrl?: string;
|
|
38
45
|
}
|
|
46
|
+
/** Define a call-to-action section with label, URL, and optional subtext for email content */
|
|
39
47
|
interface EmailCtaSection {
|
|
40
48
|
type: 'cta';
|
|
41
49
|
label: string;
|
|
42
50
|
url: string;
|
|
43
51
|
subtext?: string;
|
|
44
52
|
}
|
|
53
|
+
/** Define a section representing a divider in an email layout */
|
|
45
54
|
interface EmailDividerSection {
|
|
46
55
|
type: 'divider';
|
|
47
56
|
}
|
|
57
|
+
/** Define a union type representing different sections of an email template */
|
|
48
58
|
type EmailSection = EmailHeroSection | EmailBodySection | EmailFeatureSection | EmailTestimonialSection | EmailCtaSection | EmailDividerSection;
|
|
59
|
+
/** Define the structure for email content including subject, optional preheader, and sections */
|
|
49
60
|
interface EmailContent {
|
|
50
61
|
subject: string;
|
|
51
62
|
preheader?: string;
|
|
52
63
|
sections: EmailSection[];
|
|
53
64
|
}
|
|
65
|
+
/** Define image layer categories for text, image, shape, or logo elements */
|
|
54
66
|
type ImageLayerType = 'text' | 'image' | 'shape' | 'logo';
|
|
67
|
+
/** Define properties for a text layer with position, style, and alignment options in an image */
|
|
55
68
|
interface ImageTextLayer {
|
|
56
69
|
type: 'text';
|
|
57
70
|
text: string;
|
|
@@ -63,6 +76,7 @@ interface ImageTextLayer {
|
|
|
63
76
|
width?: number;
|
|
64
77
|
align?: 'left' | 'center' | 'right';
|
|
65
78
|
}
|
|
79
|
+
/** Define properties for an image layer including position, size, URL, and optional opacity */
|
|
66
80
|
interface ImageImageLayer {
|
|
67
81
|
type: 'image';
|
|
68
82
|
url: string;
|
|
@@ -72,6 +86,7 @@ interface ImageImageLayer {
|
|
|
72
86
|
height: number;
|
|
73
87
|
opacity?: number;
|
|
74
88
|
}
|
|
89
|
+
/** Define properties for a shape layer representing rectangular or circular image elements */
|
|
75
90
|
interface ImageShapeLayer {
|
|
76
91
|
type: 'shape';
|
|
77
92
|
shape: 'rect' | 'circle' | 'rounded-rect';
|
|
@@ -82,13 +97,16 @@ interface ImageShapeLayer {
|
|
|
82
97
|
fill?: string;
|
|
83
98
|
opacity?: number;
|
|
84
99
|
}
|
|
100
|
+
/** Define properties for positioning and sizing a logo image layer in a layout */
|
|
85
101
|
interface ImageLogoLayer {
|
|
86
102
|
type: 'logo';
|
|
87
103
|
x: number;
|
|
88
104
|
y: number;
|
|
89
105
|
width?: number;
|
|
90
106
|
}
|
|
107
|
+
/** Resolve a union type representing different kinds of image layers */
|
|
91
108
|
type ImageLayer = ImageTextLayer | ImageImageLayer | ImageShapeLayer | ImageLogoLayer;
|
|
109
|
+
/** Define image background styles as color, gradient, or image with optional overlay settings */
|
|
92
110
|
type ImageBackground = {
|
|
93
111
|
type: 'color';
|
|
94
112
|
value: string;
|
|
@@ -103,13 +121,16 @@ type ImageBackground = {
|
|
|
103
121
|
overlay?: string;
|
|
104
122
|
overlayOpacity?: number;
|
|
105
123
|
};
|
|
124
|
+
/** Define the structure for an image slide with a background and multiple layers */
|
|
106
125
|
interface ImageSlide {
|
|
107
126
|
background: ImageBackground;
|
|
108
127
|
layers: ImageLayer[];
|
|
109
128
|
}
|
|
129
|
+
/** Define the structure for image content containing an array of image slides */
|
|
110
130
|
interface ImageContent {
|
|
111
131
|
slides: ImageSlide[];
|
|
112
132
|
}
|
|
133
|
+
/** Define properties for a video scene displaying animated text with optional background and effects */
|
|
113
134
|
interface VideoTextAnimationScene {
|
|
114
135
|
type: 'text-animation';
|
|
115
136
|
durationSeconds: number;
|
|
@@ -118,29 +139,35 @@ interface VideoTextAnimationScene {
|
|
|
118
139
|
animation?: 'fade' | 'slide-up' | 'typewriter';
|
|
119
140
|
background?: ImageBackground;
|
|
120
141
|
}
|
|
142
|
+
/** Define a scene that reveals an image with optional caption over a specified duration */
|
|
121
143
|
interface VideoImageRevealScene {
|
|
122
144
|
type: 'image-reveal';
|
|
123
145
|
durationSeconds: number;
|
|
124
146
|
imageUrl: string;
|
|
125
147
|
caption?: string;
|
|
126
148
|
}
|
|
149
|
+
/** Define a video slide scene with duration and associated image slide details */
|
|
127
150
|
interface VideoSlideScene {
|
|
128
151
|
type: 'slide';
|
|
129
152
|
durationSeconds: number;
|
|
130
153
|
slide: ImageSlide;
|
|
131
154
|
}
|
|
155
|
+
/** Define a countdown scene with duration, start time, and optional label for video sequences */
|
|
132
156
|
interface VideoCountdownScene {
|
|
133
157
|
type: 'countdown';
|
|
134
158
|
durationSeconds: number;
|
|
135
159
|
from: number;
|
|
136
160
|
label?: string;
|
|
137
161
|
}
|
|
162
|
+
/** Resolve a video scene as one of several specific animation or reveal types */
|
|
138
163
|
type VideoScene = VideoTextAnimationScene | VideoImageRevealScene | VideoSlideScene | VideoCountdownScene;
|
|
164
|
+
/** Define video caption segments with start and end times and associated text content */
|
|
139
165
|
interface VideoCaption {
|
|
140
166
|
startSeconds: number;
|
|
141
167
|
endSeconds: number;
|
|
142
168
|
text: string;
|
|
143
169
|
}
|
|
170
|
+
/** Describe video content including duration, scenes, optional audio, captions, and rendered URL */
|
|
144
171
|
interface VideoContent {
|
|
145
172
|
durationSeconds: number;
|
|
146
173
|
scenes: VideoScene[];
|
|
@@ -148,7 +175,9 @@ interface VideoContent {
|
|
|
148
175
|
captions?: VideoCaption[];
|
|
149
176
|
renderedUrl?: string;
|
|
150
177
|
}
|
|
178
|
+
/** Define platform options for copy content across various social media and communication channels */
|
|
151
179
|
type CopyPlatform = 'instagram' | 'tiktok' | 'x' | 'linkedin' | 'sms' | 'email-subject';
|
|
180
|
+
/** Define the structure for content with headline, body, platform, and optional hashtags and character count */
|
|
152
181
|
interface CopyContent {
|
|
153
182
|
headline: string;
|
|
154
183
|
body: string;
|
|
@@ -156,6 +185,7 @@ interface CopyContent {
|
|
|
156
185
|
platform: CopyPlatform;
|
|
157
186
|
characterCount?: number;
|
|
158
187
|
}
|
|
188
|
+
/** Map asset keys to their corresponding content types for various media and copy formats */
|
|
159
189
|
type AssetContentMap = {
|
|
160
190
|
email: EmailContent;
|
|
161
191
|
'image:feed': ImageContent;
|
|
@@ -167,6 +197,7 @@ type AssetContentMap = {
|
|
|
167
197
|
'copy:headline': CopyContent;
|
|
168
198
|
'copy:sms': CopyContent;
|
|
169
199
|
};
|
|
200
|
+
/** Define the structure and metadata for an asset including its format, brand, content, and status */
|
|
170
201
|
interface AssetSpec<F extends AssetFormat = AssetFormat> {
|
|
171
202
|
id: string;
|
|
172
203
|
workspaceId: string;
|
|
@@ -179,6 +210,7 @@ interface AssetSpec<F extends AssetFormat = AssetFormat> {
|
|
|
179
210
|
createdAt: string;
|
|
180
211
|
updatedAt: string;
|
|
181
212
|
}
|
|
213
|
+
/** Describe an asset variant with identification, approval status, and edit history details */
|
|
182
214
|
interface AssetVariant {
|
|
183
215
|
id: string;
|
|
184
216
|
parentId: string;
|
|
@@ -188,6 +220,7 @@ interface AssetVariant {
|
|
|
188
220
|
rejectedAt?: string;
|
|
189
221
|
editLog: ApprovalEvent[];
|
|
190
222
|
}
|
|
223
|
+
/** Describe an approval event with action details, user info, and optional edited fields */
|
|
191
224
|
interface ApprovalEvent {
|
|
192
225
|
assetId: string;
|
|
193
226
|
variantId?: string;
|
|
@@ -196,6 +229,7 @@ interface ApprovalEvent {
|
|
|
196
229
|
userId: string;
|
|
197
230
|
timestamp: string;
|
|
198
231
|
}
|
|
232
|
+
/** Define metrics for tracking impressions, clicks, conversions, and related rates */
|
|
199
233
|
interface ConversionMetrics {
|
|
200
234
|
impressions: number;
|
|
201
235
|
clicks: number;
|
|
@@ -204,6 +238,7 @@ interface ConversionMetrics {
|
|
|
204
238
|
cvr: number;
|
|
205
239
|
}
|
|
206
240
|
|
|
241
|
+
/** Validate brand token properties including colors, font, logo URL, business name, and voice */
|
|
207
242
|
declare const BrandTokensSchema: z.ZodObject<{
|
|
208
243
|
primaryColor: z.ZodString;
|
|
209
244
|
accentColor: z.ZodString;
|
|
@@ -213,6 +248,7 @@ declare const BrandTokensSchema: z.ZodObject<{
|
|
|
213
248
|
businessName: z.ZodString;
|
|
214
249
|
voice: z.ZodString;
|
|
215
250
|
}, z.core.$strip>;
|
|
251
|
+
/** Validate and parse email content objects with subject, optional preheader, and sections */
|
|
216
252
|
declare const EmailContentSchema: z.ZodObject<{
|
|
217
253
|
subject: z.ZodString;
|
|
218
254
|
preheader: z.ZodOptional<z.ZodString>;
|
|
@@ -246,6 +282,7 @@ declare const EmailContentSchema: z.ZodObject<{
|
|
|
246
282
|
type: z.ZodLiteral<"divider">;
|
|
247
283
|
}, z.core.$strip>], "type">>;
|
|
248
284
|
}, z.core.$strip>;
|
|
285
|
+
/** Validate image content with an array of one or more slides containing background details */
|
|
249
286
|
declare const ImageContentSchema: z.ZodObject<{
|
|
250
287
|
slides: z.ZodArray<z.ZodObject<{
|
|
251
288
|
background: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -308,6 +345,7 @@ declare const ImageContentSchema: z.ZodObject<{
|
|
|
308
345
|
}, z.core.$strip>], "type">>;
|
|
309
346
|
}, z.core.$strip>>;
|
|
310
347
|
}, z.core.$strip>;
|
|
348
|
+
/** Define the schema for validating video content including duration, scenes, audio, captions, and rendered URL */
|
|
311
349
|
declare const VideoContentSchema: z.ZodObject<{
|
|
312
350
|
durationSeconds: z.ZodNumber;
|
|
313
351
|
scenes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -416,6 +454,7 @@ declare const VideoContentSchema: z.ZodObject<{
|
|
|
416
454
|
}, z.core.$strip>>>;
|
|
417
455
|
renderedUrl: z.ZodOptional<z.ZodString>;
|
|
418
456
|
}, z.core.$strip>;
|
|
457
|
+
/** Validate and parse copy content with headline, body, optional hashtags, platform, and character count */
|
|
419
458
|
declare const CopyContentSchema: z.ZodObject<{
|
|
420
459
|
headline: z.ZodString;
|
|
421
460
|
body: z.ZodString;
|
|
@@ -430,6 +469,7 @@ declare const CopyContentSchema: z.ZodObject<{
|
|
|
430
469
|
}>;
|
|
431
470
|
characterCount: z.ZodOptional<z.ZodNumber>;
|
|
432
471
|
}, z.core.$strip>;
|
|
472
|
+
/** Validate approval event data including asset, action, user, timestamp, and optional fields */
|
|
433
473
|
declare const ApprovalEventSchema: z.ZodObject<{
|
|
434
474
|
assetId: z.ZodString;
|
|
435
475
|
variantId: z.ZodOptional<z.ZodString>;
|
|
@@ -443,6 +483,7 @@ declare const ApprovalEventSchema: z.ZodObject<{
|
|
|
443
483
|
userId: z.ZodString;
|
|
444
484
|
timestamp: z.ZodString;
|
|
445
485
|
}, z.core.$strip>;
|
|
486
|
+
/** Validate conversion metrics with nonnegative impressions, clicks, conversions, CTR, and CVR fields */
|
|
446
487
|
declare const ConversionMetricsSchema: z.ZodObject<{
|
|
447
488
|
impressions: z.ZodNumber;
|
|
448
489
|
clicks: z.ZodNumber;
|
package/dist/assets/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { ToolDetailRenderers, ChatUiMessage } from '../web-react/index.js';
|
|
4
|
-
import '../contract-
|
|
4
|
+
import '../contract-TjB68uqA.js';
|
|
5
5
|
import '@tangle-network/agent-interface';
|
|
6
6
|
import '../plans/index.js';
|
|
7
|
-
import '../parts-
|
|
7
|
+
import '../parts-n9XUon0a.js';
|
|
8
8
|
import '../agent-activity-C8ZG0F0M.js';
|
|
9
|
-
import '../flow-types-
|
|
10
|
-
import '../sandbox-terminal-
|
|
9
|
+
import '../flow-types-CqomVAUN.js';
|
|
10
|
+
import '../sandbox-terminal-ChNEdHF8.js';
|
|
11
11
|
import '../catalog/index.js';
|
|
12
12
|
import '../harness/index.js';
|
|
13
|
-
import '../attachment-validation-
|
|
14
|
-
import '../stream-normalizer-
|
|
13
|
+
import '../attachment-validation-tPRp-PP1.js';
|
|
14
|
+
import '../stream-normalizer-C3M--r6y.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Wire + UI types for the in-app assistant panel. The wire shapes mirror the
|
|
@@ -20,6 +20,7 @@ import '../stream-normalizer-DWvtmY6F.js';
|
|
|
20
20
|
* is the source of truth for what it accepts and emits.
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
|
+
/** Define delivery modes for assistant interaction as either steering or queue */
|
|
23
24
|
type AssistantDeliveryMode = "steering" | "queue";
|
|
24
25
|
/** Request body for `POST /api/v1/assistant/chat`. */
|
|
25
26
|
interface ChatRequest {
|
|
@@ -33,12 +34,14 @@ interface ChatRequest {
|
|
|
33
34
|
/** Per-turn idempotency key — guards against double-charge on retry. */
|
|
34
35
|
turnKey?: string;
|
|
35
36
|
}
|
|
37
|
+
/** Describe the structure of data representing a thread event with optional model information */
|
|
36
38
|
interface ThreadEventData {
|
|
37
39
|
threadId: string;
|
|
38
40
|
turnId: string;
|
|
39
41
|
/** The model slug this turn ran against, when the server reports it. */
|
|
40
42
|
model?: string | null;
|
|
41
43
|
}
|
|
44
|
+
/** Define data structure representing a delta event with associated text content */
|
|
42
45
|
interface DeltaEventData {
|
|
43
46
|
text: string;
|
|
44
47
|
}
|
|
@@ -57,6 +60,7 @@ interface ToolCallEventData {
|
|
|
57
60
|
* exactly what was called. Omitted by servers predating the field. */
|
|
58
61
|
args?: Record<string, unknown>;
|
|
59
62
|
}
|
|
63
|
+
/** Describe event data emitted after a tool execution completes with success or error details */
|
|
60
64
|
interface ToolResultEventData {
|
|
61
65
|
callId: string;
|
|
62
66
|
name: string;
|
|
@@ -100,6 +104,7 @@ interface ConnectionRequirement {
|
|
|
100
104
|
interface ConnectRequirementResult {
|
|
101
105
|
connected: boolean;
|
|
102
106
|
}
|
|
107
|
+
/** Describe the data structure for events proposing tool usage with optional integration requirements */
|
|
103
108
|
interface ToolProposalEventData {
|
|
104
109
|
/** Null only if the server has no proposal store wired (tools then unusable). */
|
|
105
110
|
proposalId: string | null;
|
|
@@ -110,6 +115,7 @@ interface ToolProposalEventData {
|
|
|
110
115
|
* and their current connection status. Omitted for non-authoring tools. */
|
|
111
116
|
requirements?: ConnectionRequirement[];
|
|
112
117
|
}
|
|
118
|
+
/** Describe usage event data including tokens, cost, balance, duration, and replay status */
|
|
113
119
|
interface UsageEventData {
|
|
114
120
|
promptTokens: number | null;
|
|
115
121
|
completionTokens: number | null;
|
|
@@ -121,6 +127,7 @@ interface UsageEventData {
|
|
|
121
127
|
/** True when a completed turn was replayed from storage (no charge). */
|
|
122
128
|
replayed?: boolean;
|
|
123
129
|
}
|
|
130
|
+
/** Describe the data emitted when a process turn completes including status and optional flags */
|
|
124
131
|
interface DoneEventData {
|
|
125
132
|
turnId: string;
|
|
126
133
|
status: string;
|
|
@@ -129,6 +136,7 @@ interface DoneEventData {
|
|
|
129
136
|
/** True when the agentic loop hit its tool-round cap. */
|
|
130
137
|
capped?: boolean;
|
|
131
138
|
}
|
|
139
|
+
/** Describe error event data including code and message fields */
|
|
132
140
|
interface ErrorEventData {
|
|
133
141
|
code: string;
|
|
134
142
|
message: string;
|
|
@@ -202,6 +210,7 @@ interface ConfirmedResult {
|
|
|
202
210
|
* (e.g. the key's name). */
|
|
203
211
|
args?: unknown;
|
|
204
212
|
}
|
|
213
|
+
/** Define the structure and properties of a chat message including optional tool activity details */
|
|
205
214
|
interface ChatMessage {
|
|
206
215
|
id: string;
|
|
207
216
|
role: ChatRole;
|
|
@@ -234,6 +243,7 @@ interface PendingProposal {
|
|
|
234
243
|
* confirm again. Null/absent when the card has not failed a retry. */
|
|
235
244
|
retryError?: string | null;
|
|
236
245
|
}
|
|
246
|
+
/** Describe usage cost, balance, token counts, duration, and replay status for a settled turn */
|
|
237
247
|
interface UsageInfo {
|
|
238
248
|
costUsd: number | null;
|
|
239
249
|
balanceUsd: number | null;
|
|
@@ -312,6 +322,7 @@ interface AssistantClientConfig {
|
|
|
312
322
|
*/
|
|
313
323
|
headers?: () => Record<string, string>;
|
|
314
324
|
}
|
|
325
|
+
/** Define options for an assistant model including identifier, label, pricing, and context tokens */
|
|
315
326
|
interface AssistantModelOption {
|
|
316
327
|
slug: string;
|
|
317
328
|
label: string;
|
|
@@ -320,6 +331,7 @@ interface AssistantModelOption {
|
|
|
320
331
|
/** Context window in tokens, when known. */
|
|
321
332
|
contextTokens?: number;
|
|
322
333
|
}
|
|
334
|
+
/** Define the structure for assistant model options including a default model slug and available models */
|
|
323
335
|
interface AssistantModels {
|
|
324
336
|
/** The slug the server uses when a turn selects no model. */
|
|
325
337
|
default: string | null;
|
|
@@ -360,6 +372,7 @@ type ThreadHistoryResult = {
|
|
|
360
372
|
} | {
|
|
361
373
|
status: "error";
|
|
362
374
|
};
|
|
375
|
+
/** Represent the outcome of a confirmation process with success or failure details */
|
|
363
376
|
type ConfirmResult = {
|
|
364
377
|
ok: true;
|
|
365
378
|
output: unknown;
|
|
@@ -368,6 +381,7 @@ type ConfirmResult = {
|
|
|
368
381
|
ok: false;
|
|
369
382
|
error: string;
|
|
370
383
|
};
|
|
384
|
+
/** Represent invalid client input errors with a specific code INVALID_REQUEST */
|
|
371
385
|
declare class AssistantClientInputError extends Error {
|
|
372
386
|
readonly code = "INVALID_REQUEST";
|
|
373
387
|
}
|
|
@@ -460,6 +474,7 @@ interface AssistantState {
|
|
|
460
474
|
* helpers; this hook is the glue between them and the network.
|
|
461
475
|
*/
|
|
462
476
|
|
|
477
|
+
/** Define options for configuring how the assistant sends messages */
|
|
463
478
|
interface AssistantSendOptions {
|
|
464
479
|
deliveryMode?: AssistantDeliveryMode;
|
|
465
480
|
}
|
|
@@ -484,6 +499,7 @@ interface UseAssistantChatOptions {
|
|
|
484
499
|
*/
|
|
485
500
|
onConnectRequirement?: (requirement: ConnectionRequirement) => Promise<ConnectRequirementResult>;
|
|
486
501
|
}
|
|
502
|
+
/** Define the structure and behavior of an assistant chat session with state, model selection, and message handling */
|
|
487
503
|
interface AssistantChat {
|
|
488
504
|
state: AssistantState;
|
|
489
505
|
/** Proposal ids whose confirmation is currently in flight (for disabling). */
|
|
@@ -511,6 +527,7 @@ interface AssistantChat {
|
|
|
511
527
|
* held closed until it resolves so a turn can't run against hidden context. */
|
|
512
528
|
restoring: boolean;
|
|
513
529
|
}
|
|
530
|
+
/** Manage assistant chat state and interactions for a given user ID with optional configurations */
|
|
514
531
|
declare function useAssistantChat(userId: string | null, options?: UseAssistantChatOptions): AssistantChat;
|
|
515
532
|
|
|
516
533
|
/**
|
|
@@ -533,6 +550,7 @@ declare function useAssistantChat(userId: string | null, options?: UseAssistantC
|
|
|
533
550
|
* dedup holds, no torn state.
|
|
534
551
|
*/
|
|
535
552
|
|
|
553
|
+
/** Resolve and return the current assistant models from the per-client cache with immediate client swap updates */
|
|
536
554
|
declare function useAssistantModels(): AssistantModels;
|
|
537
555
|
|
|
538
556
|
/**
|
|
@@ -550,6 +568,7 @@ declare function useAssistantModels(): AssistantModels;
|
|
|
550
568
|
* user or the client changed, and the request is aborted on the swap.
|
|
551
569
|
*/
|
|
552
570
|
|
|
571
|
+
/** Manage and interact with a list of assistant threads including loading, refreshing, and removing threads */
|
|
553
572
|
interface AssistantThreads {
|
|
554
573
|
threads: AssistantThreadSummary[];
|
|
555
574
|
loading: boolean;
|
|
@@ -568,6 +587,7 @@ interface AssistantThreads {
|
|
|
568
587
|
* shows the delete affordance. */
|
|
569
588
|
canRemove: boolean;
|
|
570
589
|
}
|
|
590
|
+
/** Resolve and manage assistant threads state for a given user including pending deletions and refresh logic */
|
|
571
591
|
declare function useAssistantThreads(userId: string | null): AssistantThreads;
|
|
572
592
|
|
|
573
593
|
interface AssistantDockProps {
|
package/dist/assistant/index.js
CHANGED
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
ChatMessages,
|
|
4
4
|
ModelPicker,
|
|
5
5
|
ProviderLogo
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-C3NSB66C.js";
|
|
7
|
+
import "../chunk-HCOROIRT.js";
|
|
8
|
+
import "../chunk-BPSV5AA2.js";
|
|
9
|
+
import "../chunk-FBVLEGEG.js";
|
|
10
|
+
import "../chunk-DTSPS2HV.js";
|
|
11
|
+
import "../chunk-IG46XCZM.js";
|
|
12
|
+
import "../chunk-YKOM4ZLQ.js";
|
|
13
|
+
import "../chunk-YJMCRXQQ.js";
|
|
14
|
+
import "../chunk-CQZSAR77.js";
|
|
15
15
|
|
|
16
16
|
// src/assistant/sse.ts
|
|
17
17
|
var SSEChunkParser = class {
|