@axiom-lattice/react-sdk 4.6.1 → 4.6.2
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/{AgentDetailSideApp-3IKTT5EP.mjs → AgentDetailSideApp-4LEF6MS5.mjs} +6 -6
- package/dist/{AgentGovernanceWorkbench-SJYGZUBS.mjs → AgentGovernanceWorkbench-2DXFFSY4.mjs} +7 -7
- package/dist/{MessageGraph-2DLQE4CF.mjs → MessageGraph-AOTQBN3S.mjs} +2 -2
- package/dist/{ReactChart-UZRL2DT6.mjs → ReactChart-HPD5TQOE.mjs} +2 -2
- package/dist/{TasksSideApp-LJGEJHCJ.mjs → TasksSideApp-TSMN3OAM.mjs} +3 -3
- package/dist/{TeamWorkspace-MPS5CTI7.mjs → TeamWorkspace-JVO6SBQH.mjs} +2 -2
- package/dist/{TopologyRuntimeView-FCQZPEAF.mjs → TopologyRuntimeView-GHOPKUAU.mjs} +3 -3
- package/dist/{WorkflowAutomationView-COZISURR.mjs → WorkflowAutomationView-OLFR3AZH.mjs} +5 -5
- package/dist/{chunk-T6G7S34S.mjs → chunk-4QPBMVJD.mjs} +2 -2
- package/dist/{chunk-GIMKS3S3.mjs → chunk-D3657YM2.mjs} +2 -2
- package/dist/{chunk-WETKGEA6.mjs → chunk-ERYKIL3X.mjs} +4 -4
- package/dist/{chunk-WWLRMGB4.mjs → chunk-JWVMQZ6G.mjs} +4 -4
- package/dist/{chunk-PXBOJXSD.mjs → chunk-PS5OPS6W.mjs} +5 -5
- package/dist/{chunk-VUZRG7KX.mjs → chunk-Z6XUZLP7.mjs} +74 -61
- package/dist/chunk-Z6XUZLP7.mjs.map +1 -0
- package/dist/{chunk-4L6LWUPC.mjs → chunk-ZGGVWYV4.mjs} +2 -2
- package/dist/{embed-page-AgentDetailSideApp-2C2ZR62Q.js → embed-page-AgentDetailSideApp-NTLAFO5C.js} +1 -1
- package/dist/{embed-page-AgentGovernanceWorkbench-GG4ONSTS.js → embed-page-AgentGovernanceWorkbench-QPVBOMLH.js} +1 -1
- package/dist/{embed-page-MessageGraph-WMYTVUUC.js → embed-page-MessageGraph-JAJGMYKH.js} +1 -1
- package/dist/{embed-page-ReactChart-7XCMDMH6.js → embed-page-ReactChart-WUG6TEAZ.js} +1 -1
- package/dist/{embed-page-SkillFlow-XMMHEHQL.js → embed-page-SkillFlow-TSBZ4V2P.js} +1 -1
- package/dist/{embed-page-TasksSideApp-4ZJ4Q4CL.js → embed-page-TasksSideApp-TJI22YGD.js} +1 -1
- package/dist/{embed-page-TeamWorkspace-H5OOEN3K.js → embed-page-TeamWorkspace-OJJLN5VI.js} +1 -1
- package/dist/{embed-page-TopologyRuntimeView-QMXWERVC.js → embed-page-TopologyRuntimeView-ZFU4N6TV.js} +1 -1
- package/dist/{embed-page-WorkflowAutomationView-L2OEGCA5.js → embed-page-WorkflowAutomationView-ALXV7VQQ.js} +1 -1
- package/dist/{embed-page-chunk-CZE4IEB3.js → embed-page-chunk-DZQBVJ7Z.js} +1 -1
- package/dist/{embed-page-chunk-N2ISCAS7.js → embed-page-chunk-IPIJ2SG6.js} +1 -1
- package/dist/{embed-page-chunk-SUMYB6ZA.js → embed-page-chunk-N22EGQAJ.js} +1 -1
- package/dist/{embed-page-chunk-OHDEKFTU.js → embed-page-chunk-O72XBKQH.js} +2 -2
- package/dist/{embed-page-chunk-XIXSRYJY.js → embed-page-chunk-QMVIL4BJ.js} +190 -185
- package/dist/{embed-page-chunk-2G54EIW2.js → embed-page-chunk-UT3WYBZH.js} +1 -1
- package/dist/embed-page-chunk-YPNSOZYW.js +8 -0
- package/dist/embed-page.js +1 -1
- package/dist/index.js +63 -50
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/package.json +3 -3
- package/dist/chunk-VUZRG7KX.mjs.map +0 -1
- package/dist/embed-page-chunk-HEMNMC4X.js +0 -7
- /package/dist/{AgentDetailSideApp-3IKTT5EP.mjs.map → AgentDetailSideApp-4LEF6MS5.mjs.map} +0 -0
- /package/dist/{AgentGovernanceWorkbench-SJYGZUBS.mjs.map → AgentGovernanceWorkbench-2DXFFSY4.mjs.map} +0 -0
- /package/dist/{MessageGraph-2DLQE4CF.mjs.map → MessageGraph-AOTQBN3S.mjs.map} +0 -0
- /package/dist/{ReactChart-UZRL2DT6.mjs.map → ReactChart-HPD5TQOE.mjs.map} +0 -0
- /package/dist/{TasksSideApp-LJGEJHCJ.mjs.map → TasksSideApp-TSMN3OAM.mjs.map} +0 -0
- /package/dist/{TeamWorkspace-MPS5CTI7.mjs.map → TeamWorkspace-JVO6SBQH.mjs.map} +0 -0
- /package/dist/{TopologyRuntimeView-FCQZPEAF.mjs.map → TopologyRuntimeView-GHOPKUAU.mjs.map} +0 -0
- /package/dist/{WorkflowAutomationView-COZISURR.mjs.map → WorkflowAutomationView-OLFR3AZH.mjs.map} +0 -0
- /package/dist/{chunk-T6G7S34S.mjs.map → chunk-4QPBMVJD.mjs.map} +0 -0
- /package/dist/{chunk-GIMKS3S3.mjs.map → chunk-D3657YM2.mjs.map} +0 -0
- /package/dist/{chunk-WETKGEA6.mjs.map → chunk-ERYKIL3X.mjs.map} +0 -0
- /package/dist/{chunk-WWLRMGB4.mjs.map → chunk-JWVMQZ6G.mjs.map} +0 -0
- /package/dist/{chunk-PXBOJXSD.mjs.map → chunk-PS5OPS6W.mjs.map} +0 -0
- /package/dist/{chunk-4L6LWUPC.mjs.map → chunk-ZGGVWYV4.mjs.map} +0 -0
package/dist/embed-page.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as f}from"./embed-page-chunk-
|
|
1
|
+
import{b as f}from"./embed-page-chunk-O72XBKQH.js";import"./embed-page-chunk-QMVIL4BJ.js";import"./embed-page-chunk-YPNSOZYW.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-Z7USDLHI.js";import{a as g}from"./embed-page-chunk-O4QK5LWZ.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.js
CHANGED
|
@@ -88484,7 +88484,10 @@ ${JSON.stringify(
|
|
|
88484
88484
|
}, []);
|
|
88485
88485
|
const items3 = (0, import_react87.useMemo)(
|
|
88486
88486
|
() => deferredMessages.map((message49, index3) => ({
|
|
88487
|
-
|
|
88487
|
+
// Some locally-constructed threads (e.g. the Architect copilot) can
|
|
88488
|
+
// carry messages without a server id; fall back to the index so
|
|
88489
|
+
// Bubble.List always receives a key and does not warn.
|
|
88490
|
+
key: message49.id || `message-${index3}`,
|
|
88488
88491
|
role: message49.role,
|
|
88489
88492
|
typing: false,
|
|
88490
88493
|
content: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
|
|
@@ -104574,6 +104577,7 @@ var init_TaskCommentComposer = __esm({
|
|
|
104574
104577
|
value: content,
|
|
104575
104578
|
header: senderHeader,
|
|
104576
104579
|
prefix: attachButton,
|
|
104580
|
+
suffix: (_actionNode, { components }) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(components.SendButton, { "aria-label": "Send comment" }),
|
|
104577
104581
|
onChange: setContent,
|
|
104578
104582
|
onSubmit: (next) => void submit(next),
|
|
104579
104583
|
placeholder: "Add a comment\u2026",
|
|
@@ -109330,6 +109334,10 @@ var init_SideAppViewBrowser = __esm({
|
|
|
109330
109334
|
display: flex;
|
|
109331
109335
|
flex-direction: column;
|
|
109332
109336
|
align-items: center;
|
|
109337
|
+
// The wrapper spans the full width only to center the pill. Keep it
|
|
109338
|
+
// transparent to pointer events so the empty top band never intercepts
|
|
109339
|
+
// clicks on the content beneath; the visible pill/header opt back in.
|
|
109340
|
+
pointer-events: none;
|
|
109333
109341
|
`,
|
|
109334
109342
|
compactPill: css`
|
|
109335
109343
|
display: flex;
|
|
@@ -109348,6 +109356,7 @@ var init_SideAppViewBrowser = __esm({
|
|
|
109348
109356
|
cursor: default;
|
|
109349
109357
|
transition: all 0.2s ease;
|
|
109350
109358
|
margin-top: 0;
|
|
109359
|
+
pointer-events: auto;
|
|
109351
109360
|
|
|
109352
109361
|
&:hover {
|
|
109353
109362
|
color: ${token.colorText};
|
|
@@ -109373,6 +109382,7 @@ var init_SideAppViewBrowser = __esm({
|
|
|
109373
109382
|
padding: 4px 8px;
|
|
109374
109383
|
gap: 4px;
|
|
109375
109384
|
width: 100%;
|
|
109385
|
+
pointer-events: auto;
|
|
109376
109386
|
animation: floatIn 0.2s ease;
|
|
109377
109387
|
transition: background 0.2s ease;
|
|
109378
109388
|
|
|
@@ -109585,61 +109595,64 @@ var init_SideAppViewBrowser = __esm({
|
|
|
109585
109595
|
[openApp]
|
|
109586
109596
|
);
|
|
109587
109597
|
return /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)("div", { className: styles.container, children: [
|
|
109588
|
-
compact && items3.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
|
|
109598
|
+
compact && items3.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime250.jsx)("div", { className: styles.compactWrapper, children: expanded ? /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
|
|
109589
109599
|
"div",
|
|
109590
109600
|
{
|
|
109591
|
-
className: styles.
|
|
109601
|
+
className: `${styles.floatingHeader} ${autoPeek ? styles.floatingHeaderPeek : ""} ${isLeaving ? styles.floatingHeaderLeaving : ""}`,
|
|
109602
|
+
style: { width: "fit-content", maxWidth: "100%" },
|
|
109592
109603
|
onMouseEnter: handleMouseEnter,
|
|
109593
109604
|
onMouseLeave: handleMouseLeave,
|
|
109594
|
-
|
|
109595
|
-
|
|
109596
|
-
{
|
|
109597
|
-
|
|
109598
|
-
|
|
109599
|
-
|
|
109600
|
-
|
|
109601
|
-
|
|
109602
|
-
|
|
109603
|
-
|
|
109604
|
-
|
|
109605
|
-
|
|
109606
|
-
|
|
109607
|
-
|
|
109608
|
-
|
|
109609
|
-
|
|
109610
|
-
|
|
109611
|
-
|
|
109612
|
-
|
|
109613
|
-
|
|
109614
|
-
|
|
109615
|
-
|
|
109616
|
-
|
|
109617
|
-
|
|
109618
|
-
|
|
109619
|
-
|
|
109620
|
-
|
|
109621
|
-
|
|
109622
|
-
|
|
109623
|
-
|
|
109624
|
-
|
|
109625
|
-
|
|
109626
|
-
|
|
109627
|
-
|
|
109628
|
-
|
|
109629
|
-
|
|
109630
|
-
|
|
109631
|
-
|
|
109632
|
-
|
|
109633
|
-
|
|
109634
|
-
|
|
109635
|
-
|
|
109636
|
-
|
|
109637
|
-
|
|
109605
|
+
onAnimationEnd: handleFloatingAnimationEnd,
|
|
109606
|
+
children: [
|
|
109607
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)("div", { className: styles.floatingTabsStrip, children: items3.map((item) => /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(import_antd114.Tooltip, { title: item.label, placement: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
|
|
109608
|
+
"div",
|
|
109609
|
+
{
|
|
109610
|
+
"data-tab-key": item.key,
|
|
109611
|
+
className: `${styles.tab} ${item.key === activeKey ? "active" : ""}`,
|
|
109612
|
+
onClick: () => switchTab(item.key),
|
|
109613
|
+
onMouseEnter: () => setHoveredTab(item.key),
|
|
109614
|
+
onMouseLeave: () => setHoveredTab(null),
|
|
109615
|
+
children: [
|
|
109616
|
+
getTabIcon(item.componentKey),
|
|
109617
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)("span", { className: styles.tabLabel, children: item.label }),
|
|
109618
|
+
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
|
|
109619
|
+
"span",
|
|
109620
|
+
{
|
|
109621
|
+
className: `${styles.closeIndicator} ${hoveredTab === item.key || item.key === activeKey ? "always-visible" : ""}`,
|
|
109622
|
+
onClick: (e8) => {
|
|
109623
|
+
e8.stopPropagation();
|
|
109624
|
+
remove2(item.key);
|
|
109625
|
+
},
|
|
109626
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(import_icons36.CloseOutlined, { style: { fontSize: 10 } })
|
|
109627
|
+
}
|
|
109628
|
+
)
|
|
109629
|
+
]
|
|
109630
|
+
}
|
|
109631
|
+
) }, item.key)) }),
|
|
109632
|
+
items3.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(
|
|
109633
|
+
import_antd114.Dropdown,
|
|
109634
|
+
{
|
|
109635
|
+
menu: { items: dropdownItems },
|
|
109636
|
+
placement: "bottomRight",
|
|
109637
|
+
trigger: ["click"],
|
|
109638
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)("button", { className: styles.actionBtn, title: "All tabs", children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(import_icons36.MoreOutlined, {}) })
|
|
109639
|
+
}
|
|
109640
|
+
),
|
|
109641
|
+
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(import_antd114.Tooltip, { title: "Close", children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)("button", { className: styles.actionBtn, onClick: closeApp, children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(import_icons36.CloseOutlined, {}) }) })
|
|
109642
|
+
]
|
|
109643
|
+
}
|
|
109644
|
+
) : activeItem && /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
|
|
109645
|
+
"div",
|
|
109646
|
+
{
|
|
109647
|
+
className: styles.compactPill,
|
|
109648
|
+
onMouseEnter: handleMouseEnter,
|
|
109649
|
+
onMouseLeave: handleMouseLeave,
|
|
109650
|
+
children: [
|
|
109638
109651
|
getTabIcon(activeItem.componentKey),
|
|
109639
109652
|
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)("span", { className: styles.compactPillLabel, children: activeItem.label })
|
|
109640
|
-
]
|
|
109653
|
+
]
|
|
109641
109654
|
}
|
|
109642
|
-
),
|
|
109655
|
+
) }),
|
|
109643
109656
|
!compact && /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)("div", { className: styles.header, children: [
|
|
109644
109657
|
/* @__PURE__ */ (0, import_jsx_runtime250.jsx)("div", { className: styles.tabsStrip, children: items3.map((item) => /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(import_antd114.Tooltip, { title: item.label, placement: "bottom", children: /* @__PURE__ */ (0, import_jsx_runtime250.jsxs)(
|
|
109645
109658
|
"div",
|
|
@@ -142642,7 +142655,7 @@ var init_WorkspaceResourceManager = __esm({
|
|
|
142642
142655
|
)
|
|
142643
142656
|
}
|
|
142644
142657
|
),
|
|
142645
|
-
main: /* @__PURE__ */ (0, import_jsx_runtime369.jsx)(SideAppViewBrowser, { region: "content", showCloseButton: false }),
|
|
142658
|
+
main: /* @__PURE__ */ (0, import_jsx_runtime369.jsx)(SideAppViewBrowser, { region: "content", compact: false, showCloseButton: false }),
|
|
142646
142659
|
mainStyle: { padding: 0 }
|
|
142647
142660
|
}
|
|
142648
142661
|
),
|