@axiom-lattice/react-sdk 6.0.0 → 6.1.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.
- package/dist/{AgentDetailSideApp-QZPV7MNB.mjs → AgentDetailSideApp-6FBJVX34.mjs} +8 -8
- package/dist/AgentGovernanceWorkbench-EOHBGBDO.mjs +20 -0
- package/dist/{MessageGraph-JX6Y3VFH.mjs → MessageGraph-W3ZJZWQX.mjs} +4 -4
- package/dist/{ReactChart-LYUXL5M6.mjs → ReactChart-WZM5FNED.mjs} +4 -4
- package/dist/{SkillFlow-7OCWAF5V.mjs → SkillFlow-IEUMMNOL.mjs} +4 -4
- package/dist/{TasksSideApp-TWDLVB4D.mjs → TasksSideApp-LV4XG5T3.mjs} +5 -5
- package/dist/{TeamWorkspace-FGFAUD5Z.mjs → TeamWorkspace-Y5BLJDDP.mjs} +4 -4
- package/dist/{TopologyRuntimeView-O3VL4A7R.mjs → TopologyRuntimeView-6QPO555O.mjs} +5 -5
- package/dist/{WorkflowAutomationView-D4YMZLRJ.mjs → WorkflowAutomationView-PJAN5335.mjs} +7 -7
- package/dist/{chunk-UZWBRDTU.mjs → chunk-APWKT32P.mjs} +6 -6
- package/dist/{chunk-QABSNIMF.mjs → chunk-CEKDKFK4.mjs} +3 -3
- package/dist/{chunk-IODHU3BD.mjs → chunk-CTWP76BZ.mjs} +3 -3
- package/dist/{chunk-IFRTNJ2P.mjs → chunk-ED5Z75BU.mjs} +2 -2
- package/dist/{chunk-UDSGQ7R7.mjs → chunk-ENDMVOPK.mjs} +3 -3
- package/dist/{chunk-466FV4VM.mjs → chunk-FJHVMIR4.mjs} +3 -3
- package/dist/{chunk-7JDWJZ5M.mjs → chunk-OZPJVRTV.mjs} +278 -42
- package/dist/chunk-OZPJVRTV.mjs.map +1 -0
- package/dist/{chunk-JJIGSAPR.mjs → chunk-QYAJFSZG.mjs} +6 -6
- package/dist/{chunk-3ZEMSWAC.mjs → chunk-TXYO3AFN.mjs} +4 -4
- package/dist/{chunk-6BWBE7MR.mjs → chunk-WUPFAL2J.mjs} +7 -7
- package/dist/{embed-page-AgentDetailSideApp-JYVZKSUU.js → embed-page-AgentDetailSideApp-2UFH4RJG.js} +1 -1
- package/dist/{embed-page-AgentGovernanceWorkbench-SD2EHW2B.js → embed-page-AgentGovernanceWorkbench-3JOSRW2V.js} +1 -1
- package/dist/{embed-page-MessageGraph-GLQXKAVC.js → embed-page-MessageGraph-SPB75EHC.js} +1 -1
- package/dist/{embed-page-ReactChart-74MHCE2K.js → embed-page-ReactChart-EE4A5WKS.js} +1 -1
- package/dist/{embed-page-SkillFlow-NDAK3GAD.js → embed-page-SkillFlow-H2ARZGEX.js} +1 -1
- package/dist/{embed-page-TasksSideApp-DA4LUTMD.js → embed-page-TasksSideApp-BQMOLOUF.js} +1 -1
- package/dist/{embed-page-TeamWorkspace-DUB3L6V6.js → embed-page-TeamWorkspace-QXMRVXWU.js} +1 -1
- package/dist/{embed-page-TopologyRuntimeView-NFBHAICN.js → embed-page-TopologyRuntimeView-OSV75P6Y.js} +1 -1
- package/dist/{embed-page-WorkflowAutomationView-43YGTXGF.js → embed-page-WorkflowAutomationView-KJ6HJ5UT.js} +1 -1
- package/dist/{embed-page-chunk-UHH575CK.js → embed-page-chunk-DBUC6J4G.js} +1 -1
- package/dist/{embed-page-chunk-C4ZV4IXK.js → embed-page-chunk-E6F5YZBR.js} +1 -1
- package/dist/{embed-page-chunk-BVSC3MSO.js → embed-page-chunk-FGKHXQAJ.js} +1 -1
- package/dist/{embed-page-chunk-2PFKLMTR.js → embed-page-chunk-GSCVATOA.js} +1 -1
- package/dist/{embed-page-chunk-GKHIPXZ2.js → embed-page-chunk-IIEDLN7W.js} +1 -1
- package/dist/{embed-page-chunk-P477ZTUO.js → embed-page-chunk-U4XSGC4Y.js} +163 -163
- package/dist/{embed-page-chunk-DWIBLGBW.js → embed-page-chunk-VXWRPT33.js} +1 -1
- package/dist/{embed-page-en-S4MXFPIU.js → embed-page-en-X6B6RVNL.js} +1 -1
- package/dist/{embed-page-zh-SSMSF5LE.js → embed-page-zh-EQ5X2M32.js} +1 -1
- package/dist/embed-page.js +1 -1
- package/dist/{en-4IN5LWNF.mjs → en-DQDMGSNU.mjs} +21 -1
- package/dist/{en-4IN5LWNF.mjs.map → en-DQDMGSNU.mjs.map} +1 -1
- package/dist/index.d.mts +31 -1
- package/dist/index.d.ts +31 -1
- package/dist/index.js +1760 -1482
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/web-app.js +40 -0
- package/dist/web-app.js.map +1 -1
- package/dist/web-app.mjs +1 -1
- package/dist/{zh-RAN4V57S.mjs → zh-BKAP45UO.mjs} +21 -1
- package/dist/{zh-RAN4V57S.mjs.map → zh-BKAP45UO.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/AgentGovernanceWorkbench-25C3AKQI.mjs +0 -20
- package/dist/chunk-7JDWJZ5M.mjs.map +0 -1
- /package/dist/{AgentDetailSideApp-QZPV7MNB.mjs.map → AgentDetailSideApp-6FBJVX34.mjs.map} +0 -0
- /package/dist/{AgentGovernanceWorkbench-25C3AKQI.mjs.map → AgentGovernanceWorkbench-EOHBGBDO.mjs.map} +0 -0
- /package/dist/{MessageGraph-JX6Y3VFH.mjs.map → MessageGraph-W3ZJZWQX.mjs.map} +0 -0
- /package/dist/{ReactChart-LYUXL5M6.mjs.map → ReactChart-WZM5FNED.mjs.map} +0 -0
- /package/dist/{SkillFlow-7OCWAF5V.mjs.map → SkillFlow-IEUMMNOL.mjs.map} +0 -0
- /package/dist/{TasksSideApp-TWDLVB4D.mjs.map → TasksSideApp-LV4XG5T3.mjs.map} +0 -0
- /package/dist/{TeamWorkspace-FGFAUD5Z.mjs.map → TeamWorkspace-Y5BLJDDP.mjs.map} +0 -0
- /package/dist/{TopologyRuntimeView-O3VL4A7R.mjs.map → TopologyRuntimeView-6QPO555O.mjs.map} +0 -0
- /package/dist/{WorkflowAutomationView-D4YMZLRJ.mjs.map → WorkflowAutomationView-PJAN5335.mjs.map} +0 -0
- /package/dist/{chunk-UZWBRDTU.mjs.map → chunk-APWKT32P.mjs.map} +0 -0
- /package/dist/{chunk-QABSNIMF.mjs.map → chunk-CEKDKFK4.mjs.map} +0 -0
- /package/dist/{chunk-IODHU3BD.mjs.map → chunk-CTWP76BZ.mjs.map} +0 -0
- /package/dist/{chunk-IFRTNJ2P.mjs.map → chunk-ED5Z75BU.mjs.map} +0 -0
- /package/dist/{chunk-UDSGQ7R7.mjs.map → chunk-ENDMVOPK.mjs.map} +0 -0
- /package/dist/{chunk-466FV4VM.mjs.map → chunk-FJHVMIR4.mjs.map} +0 -0
- /package/dist/{chunk-JJIGSAPR.mjs.map → chunk-QYAJFSZG.mjs.map} +0 -0
- /package/dist/{chunk-3ZEMSWAC.mjs.map → chunk-TXYO3AFN.mjs.map} +0 -0
- /package/dist/{chunk-6BWBE7MR.mjs.map → chunk-WUPFAL2J.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as fr,b as An}from"./embed-page-chunk-
|
|
1
|
+
import{a as fr,b as An}from"./embed-page-chunk-FGKHXQAJ.js";import{b as $i,c as Hi}from"./embed-page-chunk-IIEDLN7W.js";import{a as Co}from"./embed-page-chunk-DBUC6J4G.js";import{c as To,d as Ro}from"./embed-page-chunk-WTOAQDQN.js";import{b as st,c as Ni,d as wo,e as Rt,f as xo,g as Oi,h as In,i as Cn,j as Fi,l as _i,m as zi}from"./embed-page-chunk-V2GBFWLG.js";import{a as qi,b as Ui}from"./embed-page-chunk-VXWRPT33.js";import{A as fi,Aa as Pi,Ba as vo,C as mi,Ca as ho,D as yi,F as fo,Fa as Tn,L as vi,La as Rn,Ma as bo,Na as Ei,Qa as Di,Ra as Li,Sa as Mi,Ta as ko,Y as hi,Z as bi,_ as ki,aa as wi,ba as xi,d as di,f as ci,fb as Wi,g as Kn,ga as Ti,gb as Io,hb as So,ib as Ao,jb as Bi,ka as Ri,kb as Po,lb as ji,mb as Gi,nb as Eo,oa as mo,ob as Sn,p as ui,pa as Ii,qa as Ci,qb as gr,ra as Si,rb as Ki,sa as Nt,x as pi,xa as Ai,z as gi,za as yo}from"./embed-page-chunk-U4XSGC4Y.js";import{C as uo,D as et,j as Jr,q as ei,r as z,v as ti,y as vt}from"./embed-page-chunk-GSCVATOA.js";import{a as W}from"./embed-page-chunk-QV7QAJ4N.js";import{Bb as xn,Cb as ii,Cc as ai,Ec as si,Fc as ur,Gc as pr,Ha as co,Ia as He,Ja as Yr,La as Be,Ma as Xr,Rc as li,Sb as cr,U as Yt,W as U,Wa as ni,Y as wn,Z as Gt,_ as it,aa as Xt,ca as lr,da as dr,eb as oi,ec as go,fa as Zr,ia as cn,la as Vr,lb as Gn,na as Qr,nb as ri,oa as Lt,ra as ge,sb as po,ta as Me,va as Tt,xa as at,xc as Mt,ya as ze}from"./embed-page-chunk-MHGVD4EV.js";import{a as Ie}from"./embed-page-chunk-R5QL57JJ.js";import{f as R}from"./embed-page-chunk-QBTAJ2YI.js";var Zs={react:{label:"capability",color:"blue"},capability:{label:"capability",color:"blue"},deep_agent:{label:"orchestrator",color:"orange"},orchestrator:{label:"orchestrator",color:"orange"},team:{label:"team",color:"green"},processing:{label:"workflow",color:"purple"},workflow:{label:"workflow",color:"purple"},a2a_remote:{label:"remote",color:"cyan"},remote:{label:"remote",color:"cyan"}};function Pn(e){return Zs[e]??{label:"capability",color:"blue"}}var Vs={enabled:"green",draft:"orange",disabled:"default"};function Vi(e){return Vs[e]??"default"}var Zi={blue:"#3b82f6",orange:"#f59e0b",green:"#22c55e",purple:"#a855f7",cyan:"#06b6d4"};function qn(e){return Zi[e]??Zi.cyan}function Jd(e){let t={enabled:"#22c55e",draft:"#f59e0b",disabled:"#d9d9d9"};return t[e]??t.disabled}function En(e){return typeof e.graphDefinition=="object"&&e.graphDefinition!==null?e.graphDefinition:{}}function yr(e){return((En(e).metadata??{}).tags??"").split(",").map(r=>r.trim()).filter(Boolean)}function vr(e){let o=(En(e).metadata??{}).version;return o?o.startsWith("v")?o:`v${o}`:"v1"}function hr(e){let o=(En(e).metadata??{}).status??"enabled";return o==="draft"||o==="disabled"?o:"enabled"}function mr(e){let n=En(e).subAgents??[],o=Array.isArray(n)?n.filter(Boolean):[];return Array.from(new Set(o))}function ec(e){return e.map(t=>{let n=En(t),o=String(n.type??"react");return{id:t.id,name:t.name,description:t.description,type:Pn(o).label,tags:yr(t),version:vr(t),status:hr(t),subAgents:mr(t)}})}function tc(e){let t=new Set(e.map(r=>r.id)),n=e.map(r=>({id:r.id,label:r.name,type:Pn(String(En(r).type??"react")).label,subAgentCount:mr(r).length})),o=[];for(let r of e)for(let i of mr(r))t.has(i)&&o.push({source:r.id,target:i});return{nodes:n,edges:o}}var Se=R(Ie());var te=R(Ie());var b=R(W()),{TextArea:Qs}=Me,{Text:It}=Be,Qi=["data","execution","workflow","assistant"],Yi={data:"chatConfig.agentPanel.category.data",execution:"chatConfig.agentPanel.category.execution",workflow:"chatConfig.agentPanel.category.workflow",assistant:"chatConfig.agentPanel.category.assistant",other:"chatConfig.agentPanel.category.other"},Ys={react:"chatConfig.agentPanel.typeDesc.react",deep_agent:"chatConfig.agentPanel.typeDesc.deepAgent",team:"chatConfig.agentPanel.typeDesc.team",processing:"chatConfig.agentPanel.typeDesc.processing"},$n=(e,t)=>{if(Array.isArray(e)){let n=e.map(o=>$n(o));return(t==="tools"||t==="subAgents")&&n.every(o=>typeof o=="string")?[...n].sort():n}return e!==null&&typeof e=="object"?Object.fromEntries(Object.entries(e).sort(([n],[o])=>n.localeCompare(o)).map(([n,o])=>[n,$n(o,n)])):e},Xi=e=>{if(typeof e!="string")return $n(e??null);try{return $n(JSON.parse(e))}catch{return e}},Ji=e=>JSON.stringify($n({...e,tools:[...e.tools].sort(),subAgents:[...e.subAgents].sort()})),Xs=Si(({token:e,css:t})=>({modalBody:t`
|
|
2
2
|
padding: 0;
|
|
3
3
|
height: 92vh;
|
|
4
4
|
width: 100%;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{Pa as T,Xa as C,Ya as j,va as S}from"./embed-page-chunk-
|
|
1
|
+
import{Pa as T,Xa as C,Ya as j,va as S}from"./embed-page-chunk-U4XSGC4Y.js";import{r as d,y as x}from"./embed-page-chunk-GSCVATOA.js";import{a as p}from"./embed-page-chunk-QV7QAJ4N.js";import{La as I,U as v,W as b,lb as P}from"./embed-page-chunk-MHGVD4EV.js";import{a as M}from"./embed-page-chunk-R5QL57JJ.js";import{f as a}from"./embed-page-chunk-QBTAJ2YI.js";var h=a(M());var t=a(p()),{Text:c}=I,_=({workflowContext:e,onClose:g,onToolCompleted:m,initialMessageRequest:n,onInitialMessageSubmitted:u,attemptedInitialMessageRequestIdsRef:f,rawInitialMessage:o,showHeader:s=!0})=>{let r=d(),$=x("agent-architect"),y=e?.id?`${$.tenantId}:${e.id}`:null,A=(0,h.useMemo)(()=>{if(e?.id&&e?.name)return e.type==="agent"?`[Context: You're viewing agent "${e.name}" (assistant: ${e.id})]`:`[Context: You're viewing workflow "${e.name}" (agent: ${e.id})]`},[e]),L=(0,h.useMemo)(()=>{if(!n||!e?.id)return null;if(o)return n;let l;return e.type==="workflow"?l=[`Purpose: ${n.content.trim()}`,"",`Workflow "${e.id}" has been created with an empty YAML DSL. Based on the purpose above, load the 'create-workflow' skill, design the workflow using the YAML needs+if DSL, and update it via update_workflow. Make sure to include a descriptive name.`].join(`
|
|
2
2
|
`):l=[`Purpose: ${n.content.trim()}`,"",`Configure the topology for workflow "${e.id}" based on this purpose. Create sub-agents, set up the processing pipeline, and wire them together with topology edges.`,"The current name is a placeholder \u2014 feel free to update it via update_processing_agent if you have a better one."].join(`
|
|
3
3
|
`),{...n,content:l}},[n?.requestId,n?.content,e?.id,e?.type,o]);return(0,t.jsxs)("div",{style:{height:"100%",display:"flex",flexDirection:"column",borderLeft:"1px solid #f0f0f0",background:"rgba(255, 255, 255, 0.92)"},children:[s&&(0,t.jsxs)("div",{style:{padding:"12px 12px",borderBottom:"1px solid #f0f0f0",display:"flex",justifyContent:"space-between",alignItems:"flex-start"},children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(c,{strong:!0,children:r("chat.copilot.agentBuilder")}),e&&(0,t.jsx)("div",{children:(0,t.jsx)(c,{type:"secondary",style:{fontSize:12},children:r("chat.copilot.viewing",{name:e.name})})})]}),g&&(0,t.jsx)(b,{type:"text",size:"small","aria-label":r("chat.copilot.close"),icon:(0,t.jsx)(P,{}),onClick:g})]}),y?(0,t.jsxs)(S,{threadId:y,assistantId:"agent-architect",options:{streaming:!0},onToolCompleted:m,children:[(0,t.jsx)(C,{request:L,onSubmitted:u,attemptedRequestIdsRef:f}),(0,t.jsx)(j,{showHeader:!1,showEmptyState:!1,showDatabaseSlot:!1,showSkillSlot:!1,showAgentSlot:!1,showMetricsDataSourceSlot:!1,systemContext:A})]}):(0,t.jsxs)("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100%",textAlign:"center",gap:4,padding:"0 8px"},children:[(0,t.jsx)(c,{strong:!0,children:r("chat.copilot.agentBuilder")}),(0,t.jsx)(c,{type:"secondary",children:r("chat.copilot.selectWorkflow")})]})]})};var i=a(p()),O=({project:e,projects:g,value:m,onChange:n,selectable:u=!0,loading:f})=>{let o=d();return e?(0,i.jsxs)("div",{"data-testid":"training-context-card",style:{display:"flex",alignItems:"center",gap:8},children:[(0,i.jsx)("span",{style:{fontSize:12,color:"rgba(0,0,0,0.45)",flexShrink:0},children:o("governance.learning.projectLabel")}),u?(0,i.jsx)(T,{kind:"training",value:m??e.id,onChange:s=>{s&&n?.(s)},style:{minWidth:0}}):(0,i.jsx)("span",{style:{fontSize:12,fontWeight:500},children:e.name})]}):f?null:(0,i.jsx)(v,{type:"warning",showIcon:!0,message:o("governance.learning.noProject"),description:o("governance.learning.noProjectDescription")})};export{O as a,_ as b};
|