@axiom-lattice/react-sdk 4.7.0 → 4.9.0

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.
Files changed (55) hide show
  1. package/dist/{AgentDetailSideApp-2JNOJJ5P.mjs → AgentDetailSideApp-ACWJRNBF.mjs} +6 -6
  2. package/dist/{AgentGovernanceWorkbench-7774UCO4.mjs → AgentGovernanceWorkbench-WPFLPKX2.mjs} +7 -7
  3. package/dist/{MessageGraph-H4EQ63JD.mjs → MessageGraph-ATBGFDKC.mjs} +2 -2
  4. package/dist/{ReactChart-OUESIJLS.mjs → ReactChart-MVMTUCC2.mjs} +2 -2
  5. package/dist/{TasksSideApp-U5Y2CDWG.mjs → TasksSideApp-4D57XVVN.mjs} +3 -3
  6. package/dist/{TeamWorkspace-PJDSDACR.mjs → TeamWorkspace-CKDGQXDK.mjs} +2 -2
  7. package/dist/{TopologyRuntimeView-SP5W2FQ6.mjs → TopologyRuntimeView-VQHTSHS7.mjs} +3 -3
  8. package/dist/{WorkflowAutomationView-ZJHBPJJS.mjs → WorkflowAutomationView-ML2C3UJ6.mjs} +5 -5
  9. package/dist/{chunk-EJSF5V4C.mjs → chunk-2XFDXZBC.mjs} +1419 -1194
  10. package/dist/chunk-2XFDXZBC.mjs.map +1 -0
  11. package/dist/{chunk-TY6EAWI3.mjs → chunk-4OHEHIO2.mjs} +4 -4
  12. package/dist/{chunk-K24VIDPM.mjs → chunk-6TVIQLUM.mjs} +4 -4
  13. package/dist/{chunk-DKZKSZKS.mjs → chunk-CXXXJ65D.mjs} +2 -2
  14. package/dist/{chunk-KCNPUCUF.mjs → chunk-H4KWXUGY.mjs} +5 -5
  15. package/dist/{chunk-4OIV2Y4N.mjs → chunk-ZFTTVO6A.mjs} +2 -2
  16. package/dist/{chunk-A74LL4G7.mjs → chunk-ZMSYTPCA.mjs} +2 -2
  17. package/dist/{embed-page-AgentDetailSideApp-RYW35RDW.js → embed-page-AgentDetailSideApp-BVJK7WIS.js} +1 -1
  18. package/dist/{embed-page-AgentGovernanceWorkbench-SSI2N4CW.js → embed-page-AgentGovernanceWorkbench-L2YHPRNE.js} +1 -1
  19. package/dist/{embed-page-MessageGraph-JMMRV4NA.js → embed-page-MessageGraph-JOQ46UE2.js} +1 -1
  20. package/dist/{embed-page-ReactChart-RR7SDQLQ.js → embed-page-ReactChart-I5AYTSII.js} +1 -1
  21. package/dist/{embed-page-SkillFlow-HY7PD43P.js → embed-page-SkillFlow-YLB5XPFH.js} +1 -1
  22. package/dist/{embed-page-TasksSideApp-BASG7DZU.js → embed-page-TasksSideApp-QLJVB7UK.js} +1 -1
  23. package/dist/{embed-page-TeamWorkspace-47MYCJUC.js → embed-page-TeamWorkspace-BZZEAYSB.js} +1 -1
  24. package/dist/{embed-page-TopologyRuntimeView-43FFLV2R.js → embed-page-TopologyRuntimeView-FRA3AXQQ.js} +1 -1
  25. package/dist/{embed-page-WorkflowAutomationView-PJFMBIO4.js → embed-page-WorkflowAutomationView-D745PK3W.js} +1 -1
  26. package/dist/{embed-page-chunk-Z47FPHYE.js → embed-page-chunk-4WBAN7QL.js} +154 -154
  27. package/dist/{embed-page-chunk-U5ZOEKY3.js → embed-page-chunk-FVMSMU4J.js} +1 -1
  28. package/dist/{embed-page-chunk-KYQEC2CK.js → embed-page-chunk-FWGNJMXD.js} +1 -1
  29. package/dist/{embed-page-chunk-2VT6CPNX.js → embed-page-chunk-K5YYUAPL.js} +1 -1
  30. package/dist/{embed-page-chunk-YZLW7PUO.js → embed-page-chunk-M2PV36MX.js} +1 -1
  31. package/dist/{embed-page-chunk-U7GYZWFZ.js → embed-page-chunk-P5PFV3N7.js} +1 -1
  32. package/dist/{embed-page-chunk-7ZBZKXBU.js → embed-page-chunk-WMLR2GQK.js} +4 -4
  33. package/dist/embed-page.js +1 -1
  34. package/dist/index.d.mts +5 -2
  35. package/dist/index.d.ts +5 -2
  36. package/dist/index.js +2897 -2761
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +8 -114
  39. package/dist/index.mjs.map +1 -1
  40. package/package.json +3 -3
  41. package/dist/chunk-EJSF5V4C.mjs.map +0 -1
  42. /package/dist/{AgentDetailSideApp-2JNOJJ5P.mjs.map → AgentDetailSideApp-ACWJRNBF.mjs.map} +0 -0
  43. /package/dist/{AgentGovernanceWorkbench-7774UCO4.mjs.map → AgentGovernanceWorkbench-WPFLPKX2.mjs.map} +0 -0
  44. /package/dist/{MessageGraph-H4EQ63JD.mjs.map → MessageGraph-ATBGFDKC.mjs.map} +0 -0
  45. /package/dist/{ReactChart-OUESIJLS.mjs.map → ReactChart-MVMTUCC2.mjs.map} +0 -0
  46. /package/dist/{TasksSideApp-U5Y2CDWG.mjs.map → TasksSideApp-4D57XVVN.mjs.map} +0 -0
  47. /package/dist/{TeamWorkspace-PJDSDACR.mjs.map → TeamWorkspace-CKDGQXDK.mjs.map} +0 -0
  48. /package/dist/{TopologyRuntimeView-SP5W2FQ6.mjs.map → TopologyRuntimeView-VQHTSHS7.mjs.map} +0 -0
  49. /package/dist/{WorkflowAutomationView-ZJHBPJJS.mjs.map → WorkflowAutomationView-ML2C3UJ6.mjs.map} +0 -0
  50. /package/dist/{chunk-TY6EAWI3.mjs.map → chunk-4OHEHIO2.mjs.map} +0 -0
  51. /package/dist/{chunk-K24VIDPM.mjs.map → chunk-6TVIQLUM.mjs.map} +0 -0
  52. /package/dist/{chunk-DKZKSZKS.mjs.map → chunk-CXXXJ65D.mjs.map} +0 -0
  53. /package/dist/{chunk-KCNPUCUF.mjs.map → chunk-H4KWXUGY.mjs.map} +0 -0
  54. /package/dist/{chunk-4OIV2Y4N.mjs.map → chunk-ZFTTVO6A.mjs.map} +0 -0
  55. /package/dist/{chunk-A74LL4G7.mjs.map → chunk-ZMSYTPCA.mjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{b as f}from"./embed-page-chunk-YZLW7PUO.js";import"./embed-page-chunk-Z47FPHYE.js";import"./embed-page-chunk-7ZBZKXBU.js";import{a as b}from"./embed-page-chunk-MB65DZAX.js";import"./embed-page-chunk-VW3NF5NT.js";import"./embed-page-chunk-5JDQ456X.js";import"./embed-page-chunk-6KCBXVIT.js";import{a as g}from"./embed-page-chunk-FZRTVFHF.js";import"./embed-page-chunk-4BKXE5ON.js";import"./embed-page-chunk-IX4WLWCY.js";import"./embed-page-chunk-EUOOO2LS.js";import{b as U,e as s}from"./embed-page-chunk-6Y3UYJ6Z.js";var h=U(d=>{"use strict";var E=g();d.createRoot=E.createRoot,d.hydrateRoot=E.hydrateRoot;var ee});var T=s(h()),k=s(g());var y="axiom-web-app-embed";var x=["axiom:hello","axiom:identity","axiom:send","axiom:config"];function w(e,t){return{source:y,version:1,type:e,payload:t}}var N=6,z=40,B=500;function H(e){if(typeof e!="object"||e===null||Array.isArray(e))return!1;let t=e,n=Object.keys(t);return n.length!==2||!n.includes("label")||!n.includes("text")?!1:typeof t.label=="string"&&t.label.length>=1&&t.label.length<=z&&typeof t.text=="string"&&t.text.length>=1&&t.text.length<=B}function Q(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){if(t.length>=N)break;H(n)&&t.push({label:n.label,text:n.text})}return t}function _(e){if(typeof e!="object"||e===null)return null;let t=e,n={};if(typeof t.welcome=="string"&&t.welcome.length>0&&(n.welcome=t.welcome),Array.isArray(t.quicks)){let r=Q(t.quicks);(r.length>0||t.quicks.length===0)&&(n.quicks=r)}return n.welcome===void 0&&n.quicks===void 0?null:n}function R(e,t){if(typeof e!="object"||e===null)return null;let n=e;return n.source!==y||n.version!==1||typeof n.type!="string"||!t.includes(n.type)?null:{type:n.type,payload:n.payload}}var p=s(b()),P=/^[A-Za-z0-9._:@-]{1,128}$/,q="Open this chat from the host page embed to start chatting.",v="axiom-embed-root",C="axiom-embed-style",A=32768,G=`
1
+ import{b as f}from"./embed-page-chunk-M2PV36MX.js";import"./embed-page-chunk-4WBAN7QL.js";import"./embed-page-chunk-WMLR2GQK.js";import{a as b}from"./embed-page-chunk-MB65DZAX.js";import"./embed-page-chunk-VW3NF5NT.js";import"./embed-page-chunk-5JDQ456X.js";import"./embed-page-chunk-6KCBXVIT.js";import{a as g}from"./embed-page-chunk-FZRTVFHF.js";import"./embed-page-chunk-4BKXE5ON.js";import"./embed-page-chunk-IX4WLWCY.js";import"./embed-page-chunk-EUOOO2LS.js";import{b as U,e as s}from"./embed-page-chunk-6Y3UYJ6Z.js";var h=U(d=>{"use strict";var E=g();d.createRoot=E.createRoot,d.hydrateRoot=E.hydrateRoot;var ee});var T=s(h()),k=s(g());var y="axiom-web-app-embed";var x=["axiom:hello","axiom:identity","axiom:send","axiom:config"];function w(e,t){return{source:y,version:1,type:e,payload:t}}var N=6,z=40,B=500;function H(e){if(typeof e!="object"||e===null||Array.isArray(e))return!1;let t=e,n=Object.keys(t);return n.length!==2||!n.includes("label")||!n.includes("text")?!1:typeof t.label=="string"&&t.label.length>=1&&t.label.length<=z&&typeof t.text=="string"&&t.text.length>=1&&t.text.length<=B}function Q(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){if(t.length>=N)break;H(n)&&t.push({label:n.label,text:n.text})}return t}function _(e){if(typeof e!="object"||e===null)return null;let t=e,n={};if(typeof t.welcome=="string"&&t.welcome.length>0&&(n.welcome=t.welcome),Array.isArray(t.quicks)){let r=Q(t.quicks);(r.length>0||t.quicks.length===0)&&(n.quicks=r)}return n.welcome===void 0&&n.quicks===void 0?null:n}function R(e,t){if(typeof e!="object"||e===null)return null;let n=e;return n.source!==y||n.version!==1||typeof n.type!="string"||!t.includes(n.type)?null:{type:n.type,payload:n.payload}}var p=s(b()),P=/^[A-Za-z0-9._:@-]{1,128}$/,q="Open this chat from the host page embed to start chatting.",v="axiom-embed-root",C="axiom-embed-style",A=32768,G=`
2
2
  html, body, #${v} { height: 100%; margin: 0; }
3
3
  .axiom-embed-fill { height: 100% !important; min-height: 0 !important; }
4
4
  .axiom-embed-card { display: flex; align-items: center; justify-content: center; height: 100%; margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; color: #64748b; padding: 24px; box-sizing: border-box; text-align: center; }
package/dist/index.d.mts CHANGED
@@ -4551,6 +4551,8 @@ interface ProjectRoomMemberActions {
4551
4551
  }
4552
4552
  interface ProjectRoomBotActions {
4553
4553
  add(input: AddProjectBotMembershipInput): Promise<ProjectRoomBotRecord>;
4554
+ /** Resolves a (possibly virtual, public-project) bot to a real membership, materializing it. */
4555
+ ensure(membershipId: string): Promise<ProjectRoomBotRecord>;
4554
4556
  update(membershipId: string, patch: Omit<UpdateProjectBotMembershipInput, "expectedUpdatedAt">): Promise<ProjectRoomBotRecord>;
4555
4557
  pause(membershipId: string): Promise<ProjectRoomBotRecord>;
4556
4558
  resume(membershipId: string): Promise<ProjectRoomBotRecord>;
@@ -4583,8 +4585,9 @@ declare function ProjectRoomProvider({ children, projectId: explicitProjectId }:
4583
4585
  /**
4584
4586
  * Browser notifications for new project room messages.
4585
4587
  *
4586
- * This is opt-in (per browser) and only fires while a page is open — including a
4587
- * backgrounded tab. It does not deliver when the browser/app is closed.
4588
+ * Opt-in is stored in the shared notification-preferences store so the
4589
+ * personal-menu toggle and the CoSpace provider stay in sync. In-page
4590
+ * notifications only fire while a page is open (including a backgrounded tab).
4588
4591
  */
4589
4592
  type RoomNotificationPermission = NotificationPermission | "unsupported";
4590
4593
  interface RoomNotificationsState {
package/dist/index.d.ts CHANGED
@@ -4551,6 +4551,8 @@ interface ProjectRoomMemberActions {
4551
4551
  }
4552
4552
  interface ProjectRoomBotActions {
4553
4553
  add(input: AddProjectBotMembershipInput): Promise<ProjectRoomBotRecord>;
4554
+ /** Resolves a (possibly virtual, public-project) bot to a real membership, materializing it. */
4555
+ ensure(membershipId: string): Promise<ProjectRoomBotRecord>;
4554
4556
  update(membershipId: string, patch: Omit<UpdateProjectBotMembershipInput, "expectedUpdatedAt">): Promise<ProjectRoomBotRecord>;
4555
4557
  pause(membershipId: string): Promise<ProjectRoomBotRecord>;
4556
4558
  resume(membershipId: string): Promise<ProjectRoomBotRecord>;
@@ -4583,8 +4585,9 @@ declare function ProjectRoomProvider({ children, projectId: explicitProjectId }:
4583
4585
  /**
4584
4586
  * Browser notifications for new project room messages.
4585
4587
  *
4586
- * This is opt-in (per browser) and only fires while a page is open — including a
4587
- * backgrounded tab. It does not deliver when the browser/app is closed.
4588
+ * Opt-in is stored in the shared notification-preferences store so the
4589
+ * personal-menu toggle and the CoSpace provider stay in sync. In-page
4590
+ * notifications only fire while a page is open (including a backgrounded tab).
4588
4591
  */
4589
4592
  type RoomNotificationPermission = NotificationPermission | "unsupported";
4590
4593
  interface RoomNotificationsState {