@axiom-lattice/react-sdk 8.2.0 → 8.3.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 (91) hide show
  1. package/dist/{AgentDetailSideApp-PNN6EZAK.mjs → AgentDetailSideApp-YQS5GL7P.mjs} +11 -11
  2. package/dist/AgentGovernanceWorkbench-KYHOZTRY.mjs +24 -0
  3. package/dist/{LangfuseDashboard-LRYMXATJ.mjs → LangfuseDashboard-LSPULCS3.mjs} +2 -2
  4. package/dist/{MessageGraph-G4S25PLS.mjs → MessageGraph-WUWP2CE3.mjs} +7 -7
  5. package/dist/{ReactChart-UNBTHGFX.mjs → ReactChart-7WQQAQ73.mjs} +7 -7
  6. package/dist/SkillFlow-JD3N76HE.mjs +14 -0
  7. package/dist/{TasksSideApp-PKIA6WVE.mjs → TasksSideApp-IPFBRDSJ.mjs} +8 -8
  8. package/dist/ThreadMaintenancePanel-7I7GQXRA.mjs +12 -0
  9. package/dist/{TopologyRuntimeView-EQIYLMTF.mjs → TopologyRuntimeView-WFMC2GME.mjs} +8 -8
  10. package/dist/WorkflowAutomationView-CZIAN5D7.mjs +22 -0
  11. package/dist/{chunk-UAZQVVSC.mjs → chunk-26OKWQ4A.mjs} +7 -7
  12. package/dist/{chunk-O6LQDULL.mjs → chunk-32DXGO5I.mjs} +8 -8
  13. package/dist/{chunk-HJBIRTLF.mjs → chunk-3AO7CBZZ.mjs} +3 -3
  14. package/dist/{chunk-M5PVHJ2T.mjs → chunk-5RHFR3E7.mjs} +10 -10
  15. package/dist/{chunk-MDGPZ6PT.mjs → chunk-A5M2ER2U.mjs} +2825 -2302
  16. package/dist/chunk-A5M2ER2U.mjs.map +1 -0
  17. package/dist/{chunk-7IRISB5X.mjs → chunk-FAACGXSL.mjs} +2 -2
  18. package/dist/{chunk-MI623NH3.mjs → chunk-J53HT62X.mjs} +35 -16
  19. package/dist/{chunk-MI623NH3.mjs.map → chunk-J53HT62X.mjs.map} +1 -1
  20. package/dist/{chunk-ON5OXKYT.mjs → chunk-KX44YKCV.mjs} +3 -3
  21. package/dist/{chunk-THI4W7JV.mjs → chunk-QGHDHTJT.mjs} +3 -3
  22. package/dist/{chunk-ZZ23HKVT.mjs → chunk-SXIYLREM.mjs} +4 -4
  23. package/dist/{chunk-FXPJL27K.mjs → chunk-TZBEU4AN.mjs} +4 -4
  24. package/dist/{chunk-6KAXO3UV.mjs → chunk-VSNPATWP.mjs} +4 -4
  25. package/dist/{chunk-PT4E2OUU.mjs → chunk-WQ4VG47Y.mjs} +3 -3
  26. package/dist/{chunk-UHXZUMQE.mjs → chunk-XW7LPNDA.mjs} +3 -3
  27. package/dist/{embed-page-AgentDetailSideApp-RY4FAEAM.js → embed-page-AgentDetailSideApp-WDDE7BEH.js} +1 -1
  28. package/dist/{embed-page-AgentGovernanceWorkbench-UFDULZ5A.js → embed-page-AgentGovernanceWorkbench-7YPU3QB2.js} +1 -1
  29. package/dist/{embed-page-LangfuseDashboard-GNNJGAA2.js → embed-page-LangfuseDashboard-BEOJDMWF.js} +1 -1
  30. package/dist/{embed-page-MessageGraph-S7GCLNLR.js → embed-page-MessageGraph-LNNMCH6I.js} +1 -1
  31. package/dist/{embed-page-ReactChart-LWZPH244.js → embed-page-ReactChart-D7RZQB2H.js} +1 -1
  32. package/dist/{embed-page-SkillFlow-OVIGJFUH.js → embed-page-SkillFlow-3X24ILKU.js} +1 -1
  33. package/dist/{embed-page-TasksSideApp-AOS4MZAI.js → embed-page-TasksSideApp-KD4S22SL.js} +1 -1
  34. package/dist/{embed-page-ThreadMaintenancePanel-PXL2TJBO.js → embed-page-ThreadMaintenancePanel-V327PV5R.js} +1 -1
  35. package/dist/{embed-page-TopologyRuntimeView-GRM34Z2Z.js → embed-page-TopologyRuntimeView-Z7MY6U5T.js} +1 -1
  36. package/dist/{embed-page-WorkflowAutomationView-JV26AHRB.js → embed-page-WorkflowAutomationView-4MY4HG7R.js} +1 -1
  37. package/dist/embed-page-chunk-4XKCMM5C.js +211 -0
  38. package/dist/{embed-page-chunk-YCTDKWKW.js → embed-page-chunk-ASEIOK7X.js} +1 -1
  39. package/dist/{embed-page-chunk-6ZHR5GWS.js → embed-page-chunk-BSRASK7V.js} +6 -6
  40. package/dist/{embed-page-chunk-ABGWNVMG.js → embed-page-chunk-BZKAPY7M.js} +1 -1
  41. package/dist/embed-page-chunk-CFFDP526.js +6835 -0
  42. package/dist/{embed-page-chunk-5XP4FJW7.js → embed-page-chunk-EM6VGUZ2.js} +1 -1
  43. package/dist/{embed-page-chunk-3UK7XM33.js → embed-page-chunk-G5MXFDNZ.js} +1 -1
  44. package/dist/{embed-page-chunk-OQUMCCF5.js → embed-page-chunk-G5PDHDBZ.js} +1 -1
  45. package/dist/{embed-page-chunk-YM76GTXK.js → embed-page-chunk-HZZ5HNTF.js} +1 -1
  46. package/dist/{embed-page-chunk-ONXC5S22.js → embed-page-chunk-PMOGSY6W.js} +1 -1
  47. package/dist/{embed-page-en-G5J7KW6V.js → embed-page-en-JOTELYAL.js} +1 -1
  48. package/dist/{embed-page-zh-72QSTYRF.js → embed-page-zh-BPO6ZSJM.js} +1 -1
  49. package/dist/embed-page.js +1 -1
  50. package/dist/{en-4BUDQBEG.mjs → en-NBPWP767.mjs} +7 -2
  51. package/dist/{en-4BUDQBEG.mjs.map → en-NBPWP767.mjs.map} +1 -1
  52. package/dist/index.d.mts +36 -2
  53. package/dist/index.d.ts +36 -2
  54. package/dist/index.js +2291 -1733
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +14 -14
  57. package/dist/web-app.js +12 -2
  58. package/dist/web-app.js.map +1 -1
  59. package/dist/web-app.mjs +2 -2
  60. package/dist/{zh-CRWCRGUL.mjs → zh-RL3CUJIQ.mjs} +7 -2
  61. package/dist/{zh-CRWCRGUL.mjs.map → zh-RL3CUJIQ.mjs.map} +1 -1
  62. package/package.json +2 -2
  63. package/dist/AgentGovernanceWorkbench-RHZHXKXL.mjs +0 -24
  64. package/dist/SkillFlow-ZZZGU7G5.mjs +0 -14
  65. package/dist/ThreadMaintenancePanel-HJQ24NMZ.mjs +0 -12
  66. package/dist/WorkflowAutomationView-WR4LQ7CY.mjs +0 -22
  67. package/dist/chunk-MDGPZ6PT.mjs.map +0 -1
  68. package/dist/embed-page-chunk-NNQHJZ5Q.js +0 -211
  69. package/dist/embed-page-chunk-SQSVDSG6.js +0 -6746
  70. /package/dist/{AgentDetailSideApp-PNN6EZAK.mjs.map → AgentDetailSideApp-YQS5GL7P.mjs.map} +0 -0
  71. /package/dist/{AgentGovernanceWorkbench-RHZHXKXL.mjs.map → AgentGovernanceWorkbench-KYHOZTRY.mjs.map} +0 -0
  72. /package/dist/{LangfuseDashboard-LRYMXATJ.mjs.map → LangfuseDashboard-LSPULCS3.mjs.map} +0 -0
  73. /package/dist/{MessageGraph-G4S25PLS.mjs.map → MessageGraph-WUWP2CE3.mjs.map} +0 -0
  74. /package/dist/{ReactChart-UNBTHGFX.mjs.map → ReactChart-7WQQAQ73.mjs.map} +0 -0
  75. /package/dist/{SkillFlow-ZZZGU7G5.mjs.map → SkillFlow-JD3N76HE.mjs.map} +0 -0
  76. /package/dist/{TasksSideApp-PKIA6WVE.mjs.map → TasksSideApp-IPFBRDSJ.mjs.map} +0 -0
  77. /package/dist/{ThreadMaintenancePanel-HJQ24NMZ.mjs.map → ThreadMaintenancePanel-7I7GQXRA.mjs.map} +0 -0
  78. /package/dist/{TopologyRuntimeView-EQIYLMTF.mjs.map → TopologyRuntimeView-WFMC2GME.mjs.map} +0 -0
  79. /package/dist/{WorkflowAutomationView-WR4LQ7CY.mjs.map → WorkflowAutomationView-CZIAN5D7.mjs.map} +0 -0
  80. /package/dist/{chunk-UAZQVVSC.mjs.map → chunk-26OKWQ4A.mjs.map} +0 -0
  81. /package/dist/{chunk-O6LQDULL.mjs.map → chunk-32DXGO5I.mjs.map} +0 -0
  82. /package/dist/{chunk-HJBIRTLF.mjs.map → chunk-3AO7CBZZ.mjs.map} +0 -0
  83. /package/dist/{chunk-M5PVHJ2T.mjs.map → chunk-5RHFR3E7.mjs.map} +0 -0
  84. /package/dist/{chunk-7IRISB5X.mjs.map → chunk-FAACGXSL.mjs.map} +0 -0
  85. /package/dist/{chunk-ON5OXKYT.mjs.map → chunk-KX44YKCV.mjs.map} +0 -0
  86. /package/dist/{chunk-THI4W7JV.mjs.map → chunk-QGHDHTJT.mjs.map} +0 -0
  87. /package/dist/{chunk-ZZ23HKVT.mjs.map → chunk-SXIYLREM.mjs.map} +0 -0
  88. /package/dist/{chunk-FXPJL27K.mjs.map → chunk-TZBEU4AN.mjs.map} +0 -0
  89. /package/dist/{chunk-6KAXO3UV.mjs.map → chunk-VSNPATWP.mjs.map} +0 -0
  90. /package/dist/{chunk-PT4E2OUU.mjs.map → chunk-WQ4VG47Y.mjs.map} +0 -0
  91. /package/dist/{chunk-UHXZUMQE.mjs.map → chunk-XW7LPNDA.mjs.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{C as M,E as N,F as S,I as z,J as w}from"./embed-page-chunk-SQSVDSG6.js";import{g as D}from"./embed-page-chunk-NNQHJZ5Q.js";import{v as $,w as L}from"./embed-page-chunk-F7ZUYG42.js";import{k as v}from"./embed-page-chunk-YCTDKWKW.js";import{a as B}from"./embed-page-chunk-QV7QAJ4N.js";import{Ja as O,Sa as P,ba as C,bb as R}from"./embed-page-chunk-F7TA3LRH.js";import{a as Y}from"./embed-page-chunk-R5QL57JJ.js";import{f as I}from"./embed-page-chunk-QBTAJ2YI.js";var f=I(Y());function q(t,o){if(t.parentId&&t.parentId!==t.id&&o.has(t.parentId))return t.parentId;for(let c of t.dependencies??[])if(c!==t.id&&o.has(c))return c}function A(t,o){let u=o?.hideCompleted??!1?t.filter(e=>!w(e.status)):t,g=new Map(u.map(e=>[e.id,e])),p=new Map;for(let e of u)p.set(e.id,q(e,g));let l=new Set;for(let e of p.keys()){if(l.has(e))continue;let n=new Map,d=e,y=0;for(;d!==void 0&&!l.has(d)&&!n.has(d);)n.set(d,y),y+=1,d=p.get(d);if(d!==void 0&&n.has(d)){let h=n.get(d);for(let[x,s]of n)s>=h&&l.add(x)}}for(let e of l)p.set(e,void 0);let m=new Map;for(let e of u)m.set(e.id,[]);for(let e of u){let n=p.get(e.id);n!==void 0&&m.get(n).push(e.id)}let r=e=>({task:g.get(e),children:(m.get(e)??[]).map(r)});return u.filter(e=>p.get(e.id)===void 0).map(e=>r(e.id))}var i=I(B()),{Text:E}=R,J=16,K=3,Q=D(({css:t,token:o})=>({root:t`
1
+ import{C as M,E as N,F as S,I as z,J as w}from"./embed-page-chunk-CFFDP526.js";import{g as D}from"./embed-page-chunk-4XKCMM5C.js";import{v as $,w as L}from"./embed-page-chunk-F7ZUYG42.js";import{k as v}from"./embed-page-chunk-ASEIOK7X.js";import{a as B}from"./embed-page-chunk-QV7QAJ4N.js";import{Ja as O,Sa as P,ba as C,bb as R}from"./embed-page-chunk-F7TA3LRH.js";import{a as Y}from"./embed-page-chunk-R5QL57JJ.js";import{f as I}from"./embed-page-chunk-QBTAJ2YI.js";var f=I(Y());function q(t,o){if(t.parentId&&t.parentId!==t.id&&o.has(t.parentId))return t.parentId;for(let c of t.dependencies??[])if(c!==t.id&&o.has(c))return c}function A(t,o){let u=o?.hideCompleted??!1?t.filter(e=>!w(e.status)):t,g=new Map(u.map(e=>[e.id,e])),p=new Map;for(let e of u)p.set(e.id,q(e,g));let l=new Set;for(let e of p.keys()){if(l.has(e))continue;let n=new Map,d=e,y=0;for(;d!==void 0&&!l.has(d)&&!n.has(d);)n.set(d,y),y+=1,d=p.get(d);if(d!==void 0&&n.has(d)){let h=n.get(d);for(let[x,s]of n)s>=h&&l.add(x)}}for(let e of l)p.set(e,void 0);let m=new Map;for(let e of u)m.set(e.id,[]);for(let e of u){let n=p.get(e.id);n!==void 0&&m.get(n).push(e.id)}let r=e=>({task:g.get(e),children:(m.get(e)??[]).map(r)});return u.filter(e=>p.get(e.id)===void 0).map(e=>r(e.id))}var i=I(B()),{Text:E}=R,J=16,K=3,Q=D(({css:t,token:o})=>({root:t`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{b as sn,c as an,d as En}from"./embed-page-chunk-GSUSX54K.js";import{a as cn,b as Ae,e as ke,f as vn,h as Cn,i as _n}from"./embed-page-chunk-DJKD2PHO.js";import{j as ln}from"./embed-page-chunk-SQSVDSG6.js";import{A as yn,Ba as An,D as xn,E as Me,F as Fe,Pa as kn,Sa as Tn,Z as wn,ha as Sn,ma as bn,y as Oe}from"./embed-page-chunk-F7ZUYG42.js";import{k as _e}from"./embed-page-chunk-YCTDKWKW.js";import{a as Ve}from"./embed-page-chunk-QV7QAJ4N.js";import{Ja as mn,Za as se,ba as dn,bb as Xe,ha as Te,ia as gn,pa as hn}from"./embed-page-chunk-F7TA3LRH.js";import{a as lr}from"./embed-page-chunk-R5QL57JJ.js";import{f as Re}from"./embed-page-chunk-QBTAJ2YI.js";var ie=Re(lr());var E=Re(Ve());if(typeof document<"u"){let u="workflow-node-spin-keyframes";if(!document.getElementById(u)){let o=document.createElement("style");o.id=u,o.textContent="@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }",document.head.appendChild(o)}}var{Text:ae}=Xe,Qe={opacity:0},De={running:{color:"#1677ff",icon:(0,E.jsx)(bn,{size:14,style:{animation:"spin 1s linear infinite"}})},completed:{color:"#52c41a",icon:(0,E.jsx)(Oe,{size:14})},failed:{color:"#ff4d4f",icon:(0,E.jsx)(Me,{size:14})},interrupted:{color:"#faad14",icon:(0,E.jsx)(yn,{size:14})},skipped:{color:"#8c8c8c",icon:(0,E.jsx)(Fe,{size:14})}},Nn={running:"chatWorkspace.workflowNode.stepStatus.running",completed:"chatWorkspace.workflowNode.stepStatus.completed",failed:"chatWorkspace.workflowNode.stepStatus.failed",interrupted:"chatWorkspace.workflowNode.stepStatus.interrupted",skipped:"chatWorkspace.workflowNode.stepStatus.skipped"},In={color:"#d9d9d9",icon:(0,E.jsx)(Fe,{size:14})},Ln={agent:{color:"#6366f1",bg:"#EEF2FF",border:"#6366f1"},map:{color:"#10b981",bg:"#ECFDF5",border:"#10b981"},terminal:{color:"#64748b",bg:"#F8FAFC",border:"#94a3b8"}},Rn={success:{color:"#22c55e",bg:"#F0FDF4",label:"chatWorkspace.workflowNode.terminal.success"},failed:{color:"#ef4444",bg:"#FEF2F2",label:"chatWorkspace.workflowNode.terminal.failed"},__default:{color:"#94a3b8",bg:"#F8FAFC",label:"chatWorkspace.workflowNode.terminal.stop"}};function cr(u){return(u||"?").split(/[\s_-]+/).filter(Boolean).map(o=>o[0]).join("").toUpperCase().slice(0,2)}function un({schema:u,t:o}){let p=u;if(!p||typeof p!="object")return(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowNode.noSchema")});let m=p.properties,S=p.required||[],I=p.items,g=a=>a==="string"?"green":a==="number"||a==="integer"?"orange":a==="boolean"?"purple":a==="array"?"cyan":a==="object"?"blue":"default",c=a=>{let s=a.type;if(s==="array"&&a.items){let h=a.items.type;return h?`Array<${h}>`:"Array"}return s||"any"};return(0,E.jsxs)("div",{style:{maxWidth:340,maxHeight:360,overflow:"auto",fontSize:12},children:[m&&(0,E.jsxs)("div",{children:[(0,E.jsx)(ae,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5,display:"block",marginBottom:6},children:o("chatWorkspace.workflowNode.properties")}),Object.entries(m).map(([a,s])=>{let h=S.includes(a),r=s.description,l=c(s),A=s.properties,O=s.items,D=!!(A||O);return(0,E.jsx)(Te,{title:D?(0,E.jsx)(un,{t:o,schema:D?A?s:O:void 0}):r||void 0,placement:"left",overlayStyle:{maxWidth:360},children:(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"3px 6px",borderRadius:4,marginBottom:2,background:h?"rgba(99,102,241,0.04)":"transparent",cursor:D?"pointer":"default"},children:[(0,E.jsx)(ae,{style:{fontSize:11,fontWeight:h?600:400,fontFamily:"monospace"},children:a}),h&&(0,E.jsx)("span",{style:{color:"#ef4444",fontSize:9},children:"*"}),r&&!D&&(0,E.jsx)(ae,{type:"secondary",style:{fontSize:10,flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r}),(0,E.jsx)(se,{color:g(l),style:{margin:0,fontSize:9,padding:"0 4px",lineHeight:"16px",marginLeft:"auto"},children:l})]})},a)})]}),!m&&I&&(0,E.jsxs)("div",{children:[(0,E.jsx)(ae,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5,display:"block",marginBottom:4},children:o("chatWorkspace.workflowNode.items")}),(0,E.jsx)(un,{t:o,schema:I})]})]})}var On=72,sr=3,ar=({data:u})=>{let o=_e();if(!u)return null;let{nodeType:p,name:m,description:S,ref:I,refAgentName:g,refAgentType:c,refDeleted:a,outputKey:s,nodeSchema:h,config:r,status:l,source:A,innerRef:O,inputTemplate:D,ask:Z,condition:j,runState:N,pending:B}=u,C=Ln[p]||Ln.agent,W=Rn[l||""]||Rn.__default,P=N?De[N.status]||De.running:null,z=P?.color,U=P?.icon,q=l==="success"?(0,E.jsx)(Oe,{size:14,color:"#22c55e"}):l==="failed"?(0,E.jsx)(Me,{size:14,color:"#ef4444"}):(0,E.jsx)(Fe,{size:14,color:"#94a3b8"}),fe=l==="success"?(0,E.jsx)(Oe,{size:32,color:W.color}):l==="failed"?(0,E.jsx)(Me,{size:32,color:W.color}):(0,E.jsx)(xn,{size:32,color:W.color}),ue=r?.title,oe=r?.maxRetries,J=r?.timeout,te=r?.batchSize,X=r?.maxConcurrency,G=r?.innerConcurrency,ee=N?.selected,_=!!N||B;function de(V){return V==null?"-":V<1e3?`${V}ms`:`${(V/1e3).toFixed(1)}s`}if(p==="terminal"){let V=W.color,ne=W.bg,pe=o(W.label),ce=fe;_&&(N?(V=z||V,pe=N.status,ce=(0,E.jsx)("span",{style:{fontSize:18},children:U})):B&&(V=In.color,ne="#fafafa",pe=o("chatWorkspace.workflowNode.pending"),ce=(0,E.jsx)(Fe,{size:18,style:{color:In.color}})));let me=ee&&z?`0 4px 16px ${z}30`:"0 2px 8px rgba(0,0,0,0.06)";return(0,E.jsxs)("div",{style:{padding:4,display:"flex",flexDirection:"column",alignItems:"center",opacity:B?.5:1},children:[(0,E.jsx)(ke,{type:"target",position:Ae.Top,style:Qe}),(0,E.jsx)(Te,{title:_&&N?o(Nn[N.status]):m,children:(0,E.jsx)("div",{style:{width:On,height:On,borderRadius:"50%",background:ne,border:`${sr}px solid ${B?`${V}80`:V}`,borderStyle:B?"dashed":"solid",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:me,transition:"all 0.2s ease",cursor:"default"},onMouseEnter:B?void 0:K=>{K.currentTarget.style.transform="scale(1.08)",K.currentTarget.style.boxShadow=`0 4px 16px ${V}30`},onMouseLeave:B?void 0:K=>{K.currentTarget.style.transform="scale(1)",K.currentTarget.style.boxShadow=me},children:ce})}),(0,E.jsx)(ae,{style:{fontSize:11,color:V,marginTop:6,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.5px"},children:pe}),(0,E.jsx)(ke,{type:"source",position:Ae.Bottom,style:Qe})]})}let le=_&&z?z:C.border,Ee=_&&z?z:C.color,he=p==="agent"?(0,E.jsx)(Tn,{size:14}):p==="map"?(0,E.jsx)(An,{size:14}):cr(m),ve=N?de(N.durationMs):null,Se=ee&&z?`0 4px 14px ${z}20`:"0 1px 6px rgba(0,0,0,0.08)",be=_&&z?z:C.color;return(0,E.jsxs)("div",{style:{padding:4},children:[(0,E.jsx)(ke,{type:"target",position:Ae.Top,style:Qe}),(0,E.jsxs)("div",{style:{width:260,minHeight:90,boxSizing:"border-box",background:"#fff",borderRadius:12,boxShadow:Se,border:"1px solid #e5e7eb",borderLeft:`3px solid ${le}`,borderStyle:I?"dashed":"solid",overflow:"hidden",transition:"all 0.2s ease",...B?{opacity:.5,borderStyle:"dashed"}:{}},onMouseEnter:B?void 0:V=>{V.currentTarget.style.transform="translateY(-2px)",V.currentTarget.style.boxShadow=`0 4px 12px ${be}20`},onMouseLeave:B?void 0:V=>{V.currentTarget.style.transform="translateY(0)",V.currentTarget.style.boxShadow=Se},children:[(0,E.jsxs)("div",{style:{background:C.bg,padding:"6px 12px",display:"flex",alignItems:"center",gap:6,borderBottom:"1px solid #f1f5f9"},children:[(0,E.jsx)("div",{style:{width:24,height:24,borderRadius:"50%",backgroundColor:Ee,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:10,fontWeight:600,flexShrink:0},children:he}),(0,E.jsx)("div",{style:{flex:1,minWidth:0},children:(0,E.jsx)(ae,{strong:!0,style:{fontSize:12,color:C.color},ellipsis:{tooltip:m},children:m})}),_&&U&&(0,E.jsx)(Te,{title:N?o(Nn[N.status]):void 0,children:(0,E.jsx)("span",{style:{color:z,fontSize:12,display:"flex",flexShrink:0},children:U})})]}),(0,E.jsxs)("div",{style:{padding:"10px 12px"},children:[S&&(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11,display:"block",marginTop:2,lineHeight:1.4},ellipsis:{tooltip:S},children:S}),p==="map"&&A&&(0,E.jsxs)(ae,{type:"secondary",style:{fontSize:11,display:"block",marginTop:4,lineHeight:1.4,color:C.color,background:C.bg,padding:"2px 6px",borderRadius:4,maxHeight:32,overflow:"hidden"},ellipsis:{tooltip:A},children:["\u2190 ",A]}),p!=="map"&&D&&(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11,display:"block",marginTop:4,lineHeight:1.4,color:C.color,background:C.bg,padding:"2px 6px",borderRadius:4,maxHeight:32,overflow:"hidden"},ellipsis:{tooltip:D},children:D}),(0,E.jsxs)("div",{style:{display:"flex",gap:4,marginTop:6,flexWrap:"wrap"},children:[!_&&p==="agent"&&I&&(0,E.jsx)(Te,{title:a?o("chatWorkspace.workflowNode.refDeleted",{ref:I}):o("chatWorkspace.workflowNode.refDelegated",{name:g??I}),children:(0,E.jsx)(se,{color:a?"red":"purple",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},icon:(0,E.jsx)(Sn,{size:10}),children:a?o("chatWorkspace.workflowNode.refDeletedTag",{ref:I}):`\u2192 ${g??I}`})}),!_&&p==="agent"&&!I&&(0,E.jsx)(se,{color:"default",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:o("chatWorkspace.workflowNode.inline")}),Z&&(0,E.jsx)(Te,{title:o("chatWorkspace.workflowNode.askTooltip"),children:(0,E.jsx)("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:20,height:20,borderRadius:"50%",background:"#fff7e6",border:"1px solid #ffd591",cursor:"default"},children:(0,E.jsx)(kn,{size:12,style:{color:"#fa8c16"}})})}),j&&(0,E.jsx)(Te,{title:o("chatWorkspace.workflowNode.when",{condition:j}),children:(0,E.jsx)("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:20,height:20,borderRadius:"50%",background:"#f0f5ff",border:"1px solid #adc6ff",cursor:"default"},children:(0,E.jsx)(wn,{size:12,style:{color:"#2f54eb"}})})}),!_&&p==="map"&&O&&(0,E.jsx)(se,{color:"purple",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:O}),!_&&p==="map"&&D&&(0,E.jsx)(se,{color:"default",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px",maxWidth:120},title:D,children:D.length>20?D.slice(0,18)+"\u2026":D}),!_&&p==="map"&&(te||X||G)&&(0,E.jsxs)(se,{color:"cyan",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:[te??50,"\xD7",X??10,"\xD7",G??5]}),!_&&oe?(0,E.jsxs)(se,{style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:["\u21BB ",oe]}):null,!_&&J?(0,E.jsxs)(se,{style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:["\u23F1 ",J,"s"]}):null,ve&&(0,E.jsx)(se,{color:N?"blue":"default",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:ve}),s&&(0,E.jsx)("span",{style:{marginLeft:"auto"}}),s&&(0,E.jsx)(gn,{trigger:"hover",placement:"right",mouseEnterDelay:.2,title:(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6},children:[(0,E.jsx)(ae,{strong:!0,style:{fontSize:12},children:o("chatWorkspace.workflowNode.output")}),(0,E.jsx)(ae,{style:{fontSize:11,fontFamily:"monospace",color:"#6366f1"},children:s})]}),content:h?(0,E.jsx)(un,{t:o,schema:h}):(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowNode.noSchema")}),children:(0,E.jsxs)(se,{style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px",flexShrink:0,cursor:"default"},children:["\u2192 ",s]})})]})]})]}),(0,E.jsx)(ke,{type:"source",position:Ae.Bottom,style:Qe})]})},Mn=ar;var H=Re(Ve()),{Text:ge}=Xe;function Fn(u){return new Date(u).toLocaleString()}function ur(u){return u.input?typeof u.input.rendered=="string"?u.input.rendered:typeof u.input.description=="string"?u.input.description:JSON.stringify(u.input,null,2):null}function pr(u){return u.output?typeof u.output.result=="string"?u.output.result:typeof u.output=="object"?JSON.stringify(u.output,null,2):String(u.output):null}function fr({step:u}){let o=_e(),p=ur(u),m=pr(u),S=De[u.status]||De.running,I=[{key:"io",label:o("chatWorkspace.workflowCanvas.tabIo"),children:(0,H.jsxs)(H.Fragment,{children:[p&&(0,H.jsxs)("div",{style:{marginBottom:m?12:0},children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5},children:o("chatWorkspace.workflowCanvas.input")}),(0,H.jsx)("div",{style:{background:"rgba(0,0,0,0.02)",borderRadius:8,padding:"8px 10px",marginTop:4,maxHeight:200,overflow:"auto"},children:u.input?.description?(0,H.jsx)(ln,{content:p}):(0,H.jsx)("pre",{style:{margin:0,fontSize:11,whiteSpace:"pre-wrap",wordBreak:"break-word",fontFamily:"monospace"},children:p})})]}),m&&(0,H.jsxs)("div",{children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5},children:o("chatWorkspace.workflowCanvas.output")}),(0,H.jsx)("div",{style:{background:"linear-gradient(135deg, rgba(99,102,241,0.04) 0%, rgba(99,102,241,0.01) 100%)",borderRadius:8,padding:"8px 10px",marginTop:4,maxHeight:200,overflow:"auto"},children:u.output?.result?(0,H.jsx)(ln,{content:m}):(0,H.jsx)("pre",{style:{margin:0,fontSize:11,whiteSpace:"pre-wrap",wordBreak:"break-word",fontFamily:"monospace"},children:m})})]}),!p&&!m&&(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowCanvas.noIo")})]})}];return(0,H.jsxs)("div",{style:{maxWidth:480},children:[(0,H.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:12},children:[(0,H.jsx)("span",{style:{color:S.color,fontSize:14},children:S.icon}),(0,H.jsx)(ge,{strong:!0,style:{fontSize:14},children:u.stepName}),(0,H.jsx)(se,{color:"purple",style:{fontSize:11},children:u.stepType})]}),u.edgePurpose&&(0,H.jsx)("div",{style:{marginBottom:10},children:(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowCanvas.purpose",{purpose:u.edgePurpose})})}),u.errorMessage&&(0,H.jsx)("div",{style:{background:"#FEF2F2",border:"1px solid #FECACA",borderRadius:8,padding:"8px 12px",marginBottom:12,overflow:"hidden"},children:(0,H.jsx)(ge,{type:"danger",style:{fontSize:11,whiteSpace:"pre-wrap",wordBreak:"break-word"},children:u.errorMessage})}),(0,H.jsx)(hn,{activeKey:"io",items:I,size:"small",style:{marginBottom:-8}}),(0,H.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:12,paddingTop:8,borderTop:"1px solid #f0f0f0"},children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10},children:o("chatWorkspace.workflowCanvas.started",{time:Fn(u.startedAt)})}),u.completedAt&&(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10},children:o("chatWorkspace.workflowCanvas.ended",{time:Fn(u.completedAt)})})]})]})}function Pe(u,o){return u.find(p=>p.stepName===o.name)??null}function Ze(u,o,p,m){let S=u.ref&&m?m.get(u.ref):void 0;return{nodeType:u.type,name:u.name,description:u.description,ref:u.ref,refAgentName:S?.name,refAgentType:S?.type,refDeleted:u.ref&&m?!S:void 0,outputKey:u.output?.key,nodeSchema:u.output?.schema,config:u.config,status:u.status,source:u.source,innerRef:u.node?.ref,inputTemplate:u.input?.template,ask:u.ask,condition:u.condition,runState:o,pending:p}}function Dn(u){let o=new Map;for(let p of u)if(p.parentGroup&&p.type!=="terminal"){let m=o.get(p.parentGroup)||[];m.push(p.id),o.set(p.parentGroup,m)}return Array.from(o.entries()).map(([p,m])=>({sourceId:p,childIds:m}))}function dr(){let u=_e();return(0,H.jsxs)("div",{style:{width:"100%",height:"100%",position:"relative",pointerEvents:"none"},children:[(0,H.jsx)(ke,{type:"target",position:Ae.Top,style:{opacity:0}}),(0,H.jsx)(ke,{type:"source",position:Ae.Bottom,style:{opacity:0}}),(0,H.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,border:"2px dashed #a78bfa",borderRadius:12,background:"rgba(167, 139, 250, 0.04)"}}),(0,H.jsx)("div",{style:{position:"absolute",top:8,left:12,fontSize:12,fontWeight:600,color:"#7c3aed",padding:"2px 8px",background:"rgba(167, 139, 250, 0.08)",borderRadius:6,whiteSpace:"nowrap",zIndex:2},children:u("chatWorkspace.workflowCanvas.parallel")})]})}function gr(u,o){let p=u.nodes,m=u.edges,S=Dn(p),I=new Set(S.map(N=>N.sourceId)),g=new Set(S.flatMap(N=>N.childIds)),c=268,a=100,s=40;for(let N of S){let B=p.find(C=>C.id===N.sourceId);if(B){let C=N.childIds.length;B.width=C*c+(C-1)*s+40,B.height=a+100}}let h=p.filter(N=>!g.has(N.id)),r=an(h,m,{nodeWidth:c,nodeHeight:a,ranksep:120}),l=h.find(N=>!I.has(N.id)&&N.type!=="terminal"),A=l?r.get(l.id):void 0,O=l?l.width??c:c,D=A?A.x+O/2:0;for(let N of h){if(I.has(N.id))continue;let B=r.get(N.id);if(!B)continue;let C=N.width??c;B.x=D-C/2}let Z=h.filter(N=>r.has(N.id)&&!I.has(N.id)&&N.type!=="terminal").map(N=>{let B=r.get(N.id);return{id:N.id,type:"workflow",position:B,data:{...Ze(N,void 0,void 0,o)}}});for(let N of S){let B=p.find(J=>J.id===N.sourceId),C=r.get(N.sourceId);if(!B||!C)continue;let W=B.width,P=B.height,z=N.childIds.length,U=D-W/2,q=z*c+(z-1)*s,fe=D-q/2,ue=C.y+(P-a)/2;for(let J=0;J<z;J++){let te=N.childIds[J],X=p.find(G=>G.id===te);X&&Z.push({id:X.id,type:"workflow",position:{x:fe+J*(c+s),y:ue},data:{...Ze(X,void 0,void 0,o),parallelGroup:!0},style:{zIndex:2}})}let oe=`group_${N.sourceId}`;Z.push({id:oe,type:"groupLabel",position:{x:U,y:C.y},data:{},selectable:!1,draggable:!1,style:{zIndex:0,width:W,height:P}})}let j=[];for(let N of m){let B=sn(N);for(let C of B){let W=p.find(U=>U.id===C);if(W?.type==="terminal"&&W.name==="__end"||I.has(N.from)&&p.find(q=>q.id===C)?.parentGroup===N.from)continue;let P=I.has(N.from)?`group_${N.from}`:N.from,z=I.has(C)?`group_${C}`:C;j.push({id:`${P}-${z}`,source:P,target:z,type:"straight",markerEnd:{type:cn.ArrowClosed}})}}return{nodes:Z,edges:j}}function hr(u,o,p,m){let S=u.nodes,I=u.edges,g=Dn(S),c=new Set(g.map(C=>C.sourceId)),a=new Set(g.flatMap(C=>C.childIds)),s=268,h=100,r=40;for(let C of g){let W=S.find(P=>P.id===C.sourceId);if(W){let P=C.childIds.length;W.width=P*s+(P-1)*r+40,W.height=h+100}}let l=S.filter(C=>!a.has(C.id)),A=an(l,I,{nodeWidth:s,nodeHeight:h,ranksep:120}),O=l.find(C=>!c.has(C.id)&&C.type!=="terminal"),D=O?A.get(O.id):void 0,Z=O?O.width??s:s,j=D?D.x+Z/2:0;for(let C of l){if(c.has(C.id))continue;let W=A.get(C.id);if(!W)continue;let P=C.width??s;W.x=j-P/2}let N=l.filter(C=>A.has(C.id)&&!c.has(C.id)).map(C=>{let W=A.get(C.id),P=Pe(o,C),z=C.type==="terminal",U=P&&(!z||P.status!=="running")?{status:P.status,stepType:P.stepType,durationMs:P.durationMs,selected:!1}:void 0;return{id:C.id,type:"workflow",position:W,style:z?{width:s,height:h}:void 0,data:Ze(C,U,!P&&!z,m)}});for(let C of g){let W=S.find(X=>X.id===C.sourceId),P=A.get(C.sourceId);if(!W||!P)continue;let z=W.width,U=W.height,q=C.childIds.length,fe=q*s+(q-1)*r,ue=j-fe/2,oe=P.y+(U-h)/2;for(let X=0;X<q;X++){let G=C.childIds[X],ee=S.find(le=>le.id===G);if(!ee)continue;let _=Pe(o,ee),de=_?{status:_.status,stepType:_.stepType,durationMs:_.durationMs,selected:!1}:void 0;N.push({id:ee.id,type:"workflow",position:{x:ue+X*(s+r),y:oe},data:{...Ze(ee,de,!_,m),parallelGroup:!0},style:{zIndex:2}})}let J=j-z/2,te=`group_${C.sourceId}`;N.push({id:te,type:"groupLabel",position:{x:J,y:P.y},data:{},selectable:!1,draggable:!1,style:{zIndex:0,width:z,height:U}})}let B=[];for(let C of I){let W=sn(C);for(let P of W){if(c.has(C.from)&&S.find(_=>_.id===P)?.parentGroup===C.from)continue;let z=c.has(C.from)?`group_${C.from}`:C.from,U=c.has(P)?`group_${P}`:P,q=S.find(ee=>ee.id===C.from),ue=(q?Pe(o,q):void 0)!==void 0,oe=S.find(ee=>ee.id===P),te=(oe?Pe(o,oe):void 0)!==void 0,X=ue&&te,G=X?"#6366f1":"#d9d9d9";B.push({id:`${z}-${U}`,source:z,target:U,type:"straight",animated:X,style:X?{stroke:G,strokeWidth:2}:{stroke:G,strokeWidth:2,strokeDasharray:"6 4",opacity:.25},markerEnd:{type:cn.ArrowClosed,color:G,width:20,height:20}})}}return{nodes:N,edges:B}}var mr=({dsl:u,steps:o,assistantId:p,agentNameMap:m,onNodeClick:S,height:I="100%"})=>{let g=_e(),c=!!o,a=(0,ie.useMemo)(()=>({workflow:Mn,groupLabel:dr}),[]),{nodes:s,edges:h}=(0,ie.useMemo)(()=>c?hr(u,o,void 0,m):gr(u,m),[u,o,c,m]),[r,l,A]=Cn(s),[O,D,Z]=_n(h),[j,N]=(0,ie.useState)(null),B=(0,ie.useMemo)(()=>{if(!c||!j)return null;let U=u.nodes.find(q=>q.id===j);return U?Pe(o,U):null},[u.nodes,o,j,c]);(0,ie.useEffect)(()=>{l(s),D(h)},[s,h,l,D]);let C=(0,ie.useCallback)(()=>{l(U=>U.map(q=>({...q,data:{...q.data,runState:q.data.runState?{...q.data.runState,selected:!1}:void 0}})))},[l]);(0,ie.useEffect)(()=>{c&&l(U=>U.map(q=>({...q,data:{...q.data,runState:q.data.runState?{...q.data.runState,selected:q.id===j}:void 0}})))},[j,l,c]);let W=(0,ie.useCallback)((U,q)=>{c?N(q.id):S?.(q.id)},[c,S]),P=(0,ie.useCallback)(()=>{c&&(C(),N(null))},[c,C]),z=(0,ie.useCallback)(()=>{C(),N(null)},[C]);return!u.nodes||u.nodes.length===0?c?(0,H.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300},children:(0,H.jsx)(mn,{size:"large"})}):(0,H.jsx)(dn,{description:g("chatWorkspace.workflowCanvas.noNodes")}):(0,H.jsx)(vn,{children:(0,H.jsx)(En,{nodes:r,edges:O,nodeTypes:a,onNodesChange:A,onEdgesChange:Z,onNodeClick:W,onPaneClick:c?P:void 0,height:I,fitView:!0,fitViewOptions:c?{padding:.3}:void 0,minZoom:c?.3:void 0,maxZoom:c?1.5:void 0,nodesDraggable:!1,nodesConnectable:c?!1:void 0,defaultEdgeOptions:c?void 0:{style:{strokeWidth:2}},backgroundGap:c?20:void 0,miniMap:c?{nodeStrokeWidth:3,pannable:!0,zoomable:!0,style:{backgroundColor:"#f5f5f5"}}:void 0,children:c&&B&&j&&(0,H.jsxs)("div",{style:{position:"absolute",right:24,top:24,width:460,maxHeight:"calc(100% - 48px)",background:"#fff",borderRadius:16,boxShadow:"0 8px 30px rgba(0,0,0,0.12)",border:"1px solid #e5e7eb",zIndex:10,overflow:"auto",padding:20},children:[(0,H.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:8},children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11,textTransform:"uppercase",letterSpacing:.5},children:g("chatWorkspace.workflowCanvas.stepDetail")}),(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11,cursor:"pointer"},onClick:z,children:g("common.close")})]}),(0,H.jsx)(fr,{step:B})]})})})},Gr=mr;var yr=Object.create,Pn=Object.defineProperty,xr=Object.getOwnPropertyDescriptor,wr=Object.getOwnPropertyNames,Sr=Object.getPrototypeOf,br=Object.prototype.hasOwnProperty,$=(u,o)=>()=>(o||(u((o={exports:{}}).exports,o),u=null),o.exports),Ar=(u,o,p,m)=>{if(o&&typeof o=="object"||typeof o=="function")for(var S=wr(o),I=0,g=S.length,c;I<g;I++)c=S[I],!br.call(u,c)&&c!==p&&Pn(u,c,{get:(a=>o[a]).bind(null,c),enumerable:!(m=xr(o,c))||m.enumerable});return u},kr=(u,o,p)=>(p=u!=null?yr(Sr(u)):{},Ar(o||!u||!u.__esModule?Pn(p,"default",{value:u,enumerable:!0}):p,u)),We=$(((u,o)=>{function p(a){return typeof a>"u"||a===null}function m(a){return typeof a=="object"&&a!==null}function S(a){return Array.isArray(a)?a:p(a)?[]:[a]}function I(a,s){if(s){let h=Object.keys(s);for(let r=0,l=h.length;r<l;r+=1){let A=h[r];a[A]=s[A]}}return a}function g(a,s){let h="";for(let r=0;r<s;r+=1)h+=a;return h}function c(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}o.exports.isNothing=p,o.exports.isObject=m,o.exports.toArray=S,o.exports.repeat=g,o.exports.isNegativeZero=c,o.exports.extend=I})),He=$(((u,o)=>{function p(S,I){let g="",c=S.reason||"(unknown reason)";return S.mark?(S.mark.name&&(g+='in "'+S.mark.name+'" '),g+="("+(S.mark.line+1)+":"+(S.mark.column+1)+")",!I&&S.mark.snippet&&(g+=`
1
+ import{b as sn,c as an,d as En}from"./embed-page-chunk-GSUSX54K.js";import{a as cn,b as Ae,e as ke,f as vn,h as Cn,i as _n}from"./embed-page-chunk-DJKD2PHO.js";import{j as ln}from"./embed-page-chunk-CFFDP526.js";import{A as yn,Ba as An,D as xn,E as Me,F as Fe,Pa as kn,Sa as Tn,Z as wn,ha as Sn,ma as bn,y as Oe}from"./embed-page-chunk-F7ZUYG42.js";import{k as _e}from"./embed-page-chunk-ASEIOK7X.js";import{a as Ve}from"./embed-page-chunk-QV7QAJ4N.js";import{Ja as mn,Za as se,ba as dn,bb as Xe,ha as Te,ia as gn,pa as hn}from"./embed-page-chunk-F7TA3LRH.js";import{a as lr}from"./embed-page-chunk-R5QL57JJ.js";import{f as Re}from"./embed-page-chunk-QBTAJ2YI.js";var ie=Re(lr());var E=Re(Ve());if(typeof document<"u"){let u="workflow-node-spin-keyframes";if(!document.getElementById(u)){let o=document.createElement("style");o.id=u,o.textContent="@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }",document.head.appendChild(o)}}var{Text:ae}=Xe,Qe={opacity:0},De={running:{color:"#1677ff",icon:(0,E.jsx)(bn,{size:14,style:{animation:"spin 1s linear infinite"}})},completed:{color:"#52c41a",icon:(0,E.jsx)(Oe,{size:14})},failed:{color:"#ff4d4f",icon:(0,E.jsx)(Me,{size:14})},interrupted:{color:"#faad14",icon:(0,E.jsx)(yn,{size:14})},skipped:{color:"#8c8c8c",icon:(0,E.jsx)(Fe,{size:14})}},Nn={running:"chatWorkspace.workflowNode.stepStatus.running",completed:"chatWorkspace.workflowNode.stepStatus.completed",failed:"chatWorkspace.workflowNode.stepStatus.failed",interrupted:"chatWorkspace.workflowNode.stepStatus.interrupted",skipped:"chatWorkspace.workflowNode.stepStatus.skipped"},In={color:"#d9d9d9",icon:(0,E.jsx)(Fe,{size:14})},Ln={agent:{color:"#6366f1",bg:"#EEF2FF",border:"#6366f1"},map:{color:"#10b981",bg:"#ECFDF5",border:"#10b981"},terminal:{color:"#64748b",bg:"#F8FAFC",border:"#94a3b8"}},Rn={success:{color:"#22c55e",bg:"#F0FDF4",label:"chatWorkspace.workflowNode.terminal.success"},failed:{color:"#ef4444",bg:"#FEF2F2",label:"chatWorkspace.workflowNode.terminal.failed"},__default:{color:"#94a3b8",bg:"#F8FAFC",label:"chatWorkspace.workflowNode.terminal.stop"}};function cr(u){return(u||"?").split(/[\s_-]+/).filter(Boolean).map(o=>o[0]).join("").toUpperCase().slice(0,2)}function un({schema:u,t:o}){let p=u;if(!p||typeof p!="object")return(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowNode.noSchema")});let m=p.properties,S=p.required||[],I=p.items,g=a=>a==="string"?"green":a==="number"||a==="integer"?"orange":a==="boolean"?"purple":a==="array"?"cyan":a==="object"?"blue":"default",c=a=>{let s=a.type;if(s==="array"&&a.items){let h=a.items.type;return h?`Array<${h}>`:"Array"}return s||"any"};return(0,E.jsxs)("div",{style:{maxWidth:340,maxHeight:360,overflow:"auto",fontSize:12},children:[m&&(0,E.jsxs)("div",{children:[(0,E.jsx)(ae,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5,display:"block",marginBottom:6},children:o("chatWorkspace.workflowNode.properties")}),Object.entries(m).map(([a,s])=>{let h=S.includes(a),r=s.description,l=c(s),A=s.properties,O=s.items,D=!!(A||O);return(0,E.jsx)(Te,{title:D?(0,E.jsx)(un,{t:o,schema:D?A?s:O:void 0}):r||void 0,placement:"left",overlayStyle:{maxWidth:360},children:(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,padding:"3px 6px",borderRadius:4,marginBottom:2,background:h?"rgba(99,102,241,0.04)":"transparent",cursor:D?"pointer":"default"},children:[(0,E.jsx)(ae,{style:{fontSize:11,fontWeight:h?600:400,fontFamily:"monospace"},children:a}),h&&(0,E.jsx)("span",{style:{color:"#ef4444",fontSize:9},children:"*"}),r&&!D&&(0,E.jsx)(ae,{type:"secondary",style:{fontSize:10,flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r}),(0,E.jsx)(se,{color:g(l),style:{margin:0,fontSize:9,padding:"0 4px",lineHeight:"16px",marginLeft:"auto"},children:l})]})},a)})]}),!m&&I&&(0,E.jsxs)("div",{children:[(0,E.jsx)(ae,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5,display:"block",marginBottom:4},children:o("chatWorkspace.workflowNode.items")}),(0,E.jsx)(un,{t:o,schema:I})]})]})}var On=72,sr=3,ar=({data:u})=>{let o=_e();if(!u)return null;let{nodeType:p,name:m,description:S,ref:I,refAgentName:g,refAgentType:c,refDeleted:a,outputKey:s,nodeSchema:h,config:r,status:l,source:A,innerRef:O,inputTemplate:D,ask:Z,condition:j,runState:N,pending:B}=u,C=Ln[p]||Ln.agent,W=Rn[l||""]||Rn.__default,P=N?De[N.status]||De.running:null,z=P?.color,U=P?.icon,q=l==="success"?(0,E.jsx)(Oe,{size:14,color:"#22c55e"}):l==="failed"?(0,E.jsx)(Me,{size:14,color:"#ef4444"}):(0,E.jsx)(Fe,{size:14,color:"#94a3b8"}),fe=l==="success"?(0,E.jsx)(Oe,{size:32,color:W.color}):l==="failed"?(0,E.jsx)(Me,{size:32,color:W.color}):(0,E.jsx)(xn,{size:32,color:W.color}),ue=r?.title,oe=r?.maxRetries,J=r?.timeout,te=r?.batchSize,X=r?.maxConcurrency,G=r?.innerConcurrency,ee=N?.selected,_=!!N||B;function de(V){return V==null?"-":V<1e3?`${V}ms`:`${(V/1e3).toFixed(1)}s`}if(p==="terminal"){let V=W.color,ne=W.bg,pe=o(W.label),ce=fe;_&&(N?(V=z||V,pe=N.status,ce=(0,E.jsx)("span",{style:{fontSize:18},children:U})):B&&(V=In.color,ne="#fafafa",pe=o("chatWorkspace.workflowNode.pending"),ce=(0,E.jsx)(Fe,{size:18,style:{color:In.color}})));let me=ee&&z?`0 4px 16px ${z}30`:"0 2px 8px rgba(0,0,0,0.06)";return(0,E.jsxs)("div",{style:{padding:4,display:"flex",flexDirection:"column",alignItems:"center",opacity:B?.5:1},children:[(0,E.jsx)(ke,{type:"target",position:Ae.Top,style:Qe}),(0,E.jsx)(Te,{title:_&&N?o(Nn[N.status]):m,children:(0,E.jsx)("div",{style:{width:On,height:On,borderRadius:"50%",background:ne,border:`${sr}px solid ${B?`${V}80`:V}`,borderStyle:B?"dashed":"solid",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:me,transition:"all 0.2s ease",cursor:"default"},onMouseEnter:B?void 0:K=>{K.currentTarget.style.transform="scale(1.08)",K.currentTarget.style.boxShadow=`0 4px 16px ${V}30`},onMouseLeave:B?void 0:K=>{K.currentTarget.style.transform="scale(1)",K.currentTarget.style.boxShadow=me},children:ce})}),(0,E.jsx)(ae,{style:{fontSize:11,color:V,marginTop:6,fontWeight:600,textTransform:"uppercase",letterSpacing:"0.5px"},children:pe}),(0,E.jsx)(ke,{type:"source",position:Ae.Bottom,style:Qe})]})}let le=_&&z?z:C.border,Ee=_&&z?z:C.color,he=p==="agent"?(0,E.jsx)(Tn,{size:14}):p==="map"?(0,E.jsx)(An,{size:14}):cr(m),ve=N?de(N.durationMs):null,Se=ee&&z?`0 4px 14px ${z}20`:"0 1px 6px rgba(0,0,0,0.08)",be=_&&z?z:C.color;return(0,E.jsxs)("div",{style:{padding:4},children:[(0,E.jsx)(ke,{type:"target",position:Ae.Top,style:Qe}),(0,E.jsxs)("div",{style:{width:260,minHeight:90,boxSizing:"border-box",background:"#fff",borderRadius:12,boxShadow:Se,border:"1px solid #e5e7eb",borderLeft:`3px solid ${le}`,borderStyle:I?"dashed":"solid",overflow:"hidden",transition:"all 0.2s ease",...B?{opacity:.5,borderStyle:"dashed"}:{}},onMouseEnter:B?void 0:V=>{V.currentTarget.style.transform="translateY(-2px)",V.currentTarget.style.boxShadow=`0 4px 12px ${be}20`},onMouseLeave:B?void 0:V=>{V.currentTarget.style.transform="translateY(0)",V.currentTarget.style.boxShadow=Se},children:[(0,E.jsxs)("div",{style:{background:C.bg,padding:"6px 12px",display:"flex",alignItems:"center",gap:6,borderBottom:"1px solid #f1f5f9"},children:[(0,E.jsx)("div",{style:{width:24,height:24,borderRadius:"50%",backgroundColor:Ee,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:10,fontWeight:600,flexShrink:0},children:he}),(0,E.jsx)("div",{style:{flex:1,minWidth:0},children:(0,E.jsx)(ae,{strong:!0,style:{fontSize:12,color:C.color},ellipsis:{tooltip:m},children:m})}),_&&U&&(0,E.jsx)(Te,{title:N?o(Nn[N.status]):void 0,children:(0,E.jsx)("span",{style:{color:z,fontSize:12,display:"flex",flexShrink:0},children:U})})]}),(0,E.jsxs)("div",{style:{padding:"10px 12px"},children:[S&&(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11,display:"block",marginTop:2,lineHeight:1.4},ellipsis:{tooltip:S},children:S}),p==="map"&&A&&(0,E.jsxs)(ae,{type:"secondary",style:{fontSize:11,display:"block",marginTop:4,lineHeight:1.4,color:C.color,background:C.bg,padding:"2px 6px",borderRadius:4,maxHeight:32,overflow:"hidden"},ellipsis:{tooltip:A},children:["\u2190 ",A]}),p!=="map"&&D&&(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11,display:"block",marginTop:4,lineHeight:1.4,color:C.color,background:C.bg,padding:"2px 6px",borderRadius:4,maxHeight:32,overflow:"hidden"},ellipsis:{tooltip:D},children:D}),(0,E.jsxs)("div",{style:{display:"flex",gap:4,marginTop:6,flexWrap:"wrap"},children:[!_&&p==="agent"&&I&&(0,E.jsx)(Te,{title:a?o("chatWorkspace.workflowNode.refDeleted",{ref:I}):o("chatWorkspace.workflowNode.refDelegated",{name:g??I}),children:(0,E.jsx)(se,{color:a?"red":"purple",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},icon:(0,E.jsx)(Sn,{size:10}),children:a?o("chatWorkspace.workflowNode.refDeletedTag",{ref:I}):`\u2192 ${g??I}`})}),!_&&p==="agent"&&!I&&(0,E.jsx)(se,{color:"default",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:o("chatWorkspace.workflowNode.inline")}),Z&&(0,E.jsx)(Te,{title:o("chatWorkspace.workflowNode.askTooltip"),children:(0,E.jsx)("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:20,height:20,borderRadius:"50%",background:"#fff7e6",border:"1px solid #ffd591",cursor:"default"},children:(0,E.jsx)(kn,{size:12,style:{color:"#fa8c16"}})})}),j&&(0,E.jsx)(Te,{title:o("chatWorkspace.workflowNode.when",{condition:j}),children:(0,E.jsx)("div",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:20,height:20,borderRadius:"50%",background:"#f0f5ff",border:"1px solid #adc6ff",cursor:"default"},children:(0,E.jsx)(wn,{size:12,style:{color:"#2f54eb"}})})}),!_&&p==="map"&&O&&(0,E.jsx)(se,{color:"purple",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:O}),!_&&p==="map"&&D&&(0,E.jsx)(se,{color:"default",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px",maxWidth:120},title:D,children:D.length>20?D.slice(0,18)+"\u2026":D}),!_&&p==="map"&&(te||X||G)&&(0,E.jsxs)(se,{color:"cyan",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:[te??50,"\xD7",X??10,"\xD7",G??5]}),!_&&oe?(0,E.jsxs)(se,{style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:["\u21BB ",oe]}):null,!_&&J?(0,E.jsxs)(se,{style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:["\u23F1 ",J,"s"]}):null,ve&&(0,E.jsx)(se,{color:N?"blue":"default",style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px"},children:ve}),s&&(0,E.jsx)("span",{style:{marginLeft:"auto"}}),s&&(0,E.jsx)(gn,{trigger:"hover",placement:"right",mouseEnterDelay:.2,title:(0,E.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6},children:[(0,E.jsx)(ae,{strong:!0,style:{fontSize:12},children:o("chatWorkspace.workflowNode.output")}),(0,E.jsx)(ae,{style:{fontSize:11,fontFamily:"monospace",color:"#6366f1"},children:s})]}),content:h?(0,E.jsx)(un,{t:o,schema:h}):(0,E.jsx)(ae,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowNode.noSchema")}),children:(0,E.jsxs)(se,{style:{margin:0,fontSize:10,padding:"0 5px",lineHeight:"16px",flexShrink:0,cursor:"default"},children:["\u2192 ",s]})})]})]})]}),(0,E.jsx)(ke,{type:"source",position:Ae.Bottom,style:Qe})]})},Mn=ar;var H=Re(Ve()),{Text:ge}=Xe;function Fn(u){return new Date(u).toLocaleString()}function ur(u){return u.input?typeof u.input.rendered=="string"?u.input.rendered:typeof u.input.description=="string"?u.input.description:JSON.stringify(u.input,null,2):null}function pr(u){return u.output?typeof u.output.result=="string"?u.output.result:typeof u.output=="object"?JSON.stringify(u.output,null,2):String(u.output):null}function fr({step:u}){let o=_e(),p=ur(u),m=pr(u),S=De[u.status]||De.running,I=[{key:"io",label:o("chatWorkspace.workflowCanvas.tabIo"),children:(0,H.jsxs)(H.Fragment,{children:[p&&(0,H.jsxs)("div",{style:{marginBottom:m?12:0},children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5},children:o("chatWorkspace.workflowCanvas.input")}),(0,H.jsx)("div",{style:{background:"rgba(0,0,0,0.02)",borderRadius:8,padding:"8px 10px",marginTop:4,maxHeight:200,overflow:"auto"},children:u.input?.description?(0,H.jsx)(ln,{content:p}):(0,H.jsx)("pre",{style:{margin:0,fontSize:11,whiteSpace:"pre-wrap",wordBreak:"break-word",fontFamily:"monospace"},children:p})})]}),m&&(0,H.jsxs)("div",{children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10,textTransform:"uppercase",letterSpacing:.5},children:o("chatWorkspace.workflowCanvas.output")}),(0,H.jsx)("div",{style:{background:"linear-gradient(135deg, rgba(99,102,241,0.04) 0%, rgba(99,102,241,0.01) 100%)",borderRadius:8,padding:"8px 10px",marginTop:4,maxHeight:200,overflow:"auto"},children:u.output?.result?(0,H.jsx)(ln,{content:m}):(0,H.jsx)("pre",{style:{margin:0,fontSize:11,whiteSpace:"pre-wrap",wordBreak:"break-word",fontFamily:"monospace"},children:m})})]}),!p&&!m&&(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowCanvas.noIo")})]})}];return(0,H.jsxs)("div",{style:{maxWidth:480},children:[(0,H.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:12},children:[(0,H.jsx)("span",{style:{color:S.color,fontSize:14},children:S.icon}),(0,H.jsx)(ge,{strong:!0,style:{fontSize:14},children:u.stepName}),(0,H.jsx)(se,{color:"purple",style:{fontSize:11},children:u.stepType})]}),u.edgePurpose&&(0,H.jsx)("div",{style:{marginBottom:10},children:(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11},children:o("chatWorkspace.workflowCanvas.purpose",{purpose:u.edgePurpose})})}),u.errorMessage&&(0,H.jsx)("div",{style:{background:"#FEF2F2",border:"1px solid #FECACA",borderRadius:8,padding:"8px 12px",marginBottom:12,overflow:"hidden"},children:(0,H.jsx)(ge,{type:"danger",style:{fontSize:11,whiteSpace:"pre-wrap",wordBreak:"break-word"},children:u.errorMessage})}),(0,H.jsx)(hn,{activeKey:"io",items:I,size:"small",style:{marginBottom:-8}}),(0,H.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:12,paddingTop:8,borderTop:"1px solid #f0f0f0"},children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10},children:o("chatWorkspace.workflowCanvas.started",{time:Fn(u.startedAt)})}),u.completedAt&&(0,H.jsx)(ge,{type:"secondary",style:{fontSize:10},children:o("chatWorkspace.workflowCanvas.ended",{time:Fn(u.completedAt)})})]})]})}function Pe(u,o){return u.find(p=>p.stepName===o.name)??null}function Ze(u,o,p,m){let S=u.ref&&m?m.get(u.ref):void 0;return{nodeType:u.type,name:u.name,description:u.description,ref:u.ref,refAgentName:S?.name,refAgentType:S?.type,refDeleted:u.ref&&m?!S:void 0,outputKey:u.output?.key,nodeSchema:u.output?.schema,config:u.config,status:u.status,source:u.source,innerRef:u.node?.ref,inputTemplate:u.input?.template,ask:u.ask,condition:u.condition,runState:o,pending:p}}function Dn(u){let o=new Map;for(let p of u)if(p.parentGroup&&p.type!=="terminal"){let m=o.get(p.parentGroup)||[];m.push(p.id),o.set(p.parentGroup,m)}return Array.from(o.entries()).map(([p,m])=>({sourceId:p,childIds:m}))}function dr(){let u=_e();return(0,H.jsxs)("div",{style:{width:"100%",height:"100%",position:"relative",pointerEvents:"none"},children:[(0,H.jsx)(ke,{type:"target",position:Ae.Top,style:{opacity:0}}),(0,H.jsx)(ke,{type:"source",position:Ae.Bottom,style:{opacity:0}}),(0,H.jsx)("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,border:"2px dashed #a78bfa",borderRadius:12,background:"rgba(167, 139, 250, 0.04)"}}),(0,H.jsx)("div",{style:{position:"absolute",top:8,left:12,fontSize:12,fontWeight:600,color:"#7c3aed",padding:"2px 8px",background:"rgba(167, 139, 250, 0.08)",borderRadius:6,whiteSpace:"nowrap",zIndex:2},children:u("chatWorkspace.workflowCanvas.parallel")})]})}function gr(u,o){let p=u.nodes,m=u.edges,S=Dn(p),I=new Set(S.map(N=>N.sourceId)),g=new Set(S.flatMap(N=>N.childIds)),c=268,a=100,s=40;for(let N of S){let B=p.find(C=>C.id===N.sourceId);if(B){let C=N.childIds.length;B.width=C*c+(C-1)*s+40,B.height=a+100}}let h=p.filter(N=>!g.has(N.id)),r=an(h,m,{nodeWidth:c,nodeHeight:a,ranksep:120}),l=h.find(N=>!I.has(N.id)&&N.type!=="terminal"),A=l?r.get(l.id):void 0,O=l?l.width??c:c,D=A?A.x+O/2:0;for(let N of h){if(I.has(N.id))continue;let B=r.get(N.id);if(!B)continue;let C=N.width??c;B.x=D-C/2}let Z=h.filter(N=>r.has(N.id)&&!I.has(N.id)&&N.type!=="terminal").map(N=>{let B=r.get(N.id);return{id:N.id,type:"workflow",position:B,data:{...Ze(N,void 0,void 0,o)}}});for(let N of S){let B=p.find(J=>J.id===N.sourceId),C=r.get(N.sourceId);if(!B||!C)continue;let W=B.width,P=B.height,z=N.childIds.length,U=D-W/2,q=z*c+(z-1)*s,fe=D-q/2,ue=C.y+(P-a)/2;for(let J=0;J<z;J++){let te=N.childIds[J],X=p.find(G=>G.id===te);X&&Z.push({id:X.id,type:"workflow",position:{x:fe+J*(c+s),y:ue},data:{...Ze(X,void 0,void 0,o),parallelGroup:!0},style:{zIndex:2}})}let oe=`group_${N.sourceId}`;Z.push({id:oe,type:"groupLabel",position:{x:U,y:C.y},data:{},selectable:!1,draggable:!1,style:{zIndex:0,width:W,height:P}})}let j=[];for(let N of m){let B=sn(N);for(let C of B){let W=p.find(U=>U.id===C);if(W?.type==="terminal"&&W.name==="__end"||I.has(N.from)&&p.find(q=>q.id===C)?.parentGroup===N.from)continue;let P=I.has(N.from)?`group_${N.from}`:N.from,z=I.has(C)?`group_${C}`:C;j.push({id:`${P}-${z}`,source:P,target:z,type:"straight",markerEnd:{type:cn.ArrowClosed}})}}return{nodes:Z,edges:j}}function hr(u,o,p,m){let S=u.nodes,I=u.edges,g=Dn(S),c=new Set(g.map(C=>C.sourceId)),a=new Set(g.flatMap(C=>C.childIds)),s=268,h=100,r=40;for(let C of g){let W=S.find(P=>P.id===C.sourceId);if(W){let P=C.childIds.length;W.width=P*s+(P-1)*r+40,W.height=h+100}}let l=S.filter(C=>!a.has(C.id)),A=an(l,I,{nodeWidth:s,nodeHeight:h,ranksep:120}),O=l.find(C=>!c.has(C.id)&&C.type!=="terminal"),D=O?A.get(O.id):void 0,Z=O?O.width??s:s,j=D?D.x+Z/2:0;for(let C of l){if(c.has(C.id))continue;let W=A.get(C.id);if(!W)continue;let P=C.width??s;W.x=j-P/2}let N=l.filter(C=>A.has(C.id)&&!c.has(C.id)).map(C=>{let W=A.get(C.id),P=Pe(o,C),z=C.type==="terminal",U=P&&(!z||P.status!=="running")?{status:P.status,stepType:P.stepType,durationMs:P.durationMs,selected:!1}:void 0;return{id:C.id,type:"workflow",position:W,style:z?{width:s,height:h}:void 0,data:Ze(C,U,!P&&!z,m)}});for(let C of g){let W=S.find(X=>X.id===C.sourceId),P=A.get(C.sourceId);if(!W||!P)continue;let z=W.width,U=W.height,q=C.childIds.length,fe=q*s+(q-1)*r,ue=j-fe/2,oe=P.y+(U-h)/2;for(let X=0;X<q;X++){let G=C.childIds[X],ee=S.find(le=>le.id===G);if(!ee)continue;let _=Pe(o,ee),de=_?{status:_.status,stepType:_.stepType,durationMs:_.durationMs,selected:!1}:void 0;N.push({id:ee.id,type:"workflow",position:{x:ue+X*(s+r),y:oe},data:{...Ze(ee,de,!_,m),parallelGroup:!0},style:{zIndex:2}})}let J=j-z/2,te=`group_${C.sourceId}`;N.push({id:te,type:"groupLabel",position:{x:J,y:P.y},data:{},selectable:!1,draggable:!1,style:{zIndex:0,width:z,height:U}})}let B=[];for(let C of I){let W=sn(C);for(let P of W){if(c.has(C.from)&&S.find(_=>_.id===P)?.parentGroup===C.from)continue;let z=c.has(C.from)?`group_${C.from}`:C.from,U=c.has(P)?`group_${P}`:P,q=S.find(ee=>ee.id===C.from),ue=(q?Pe(o,q):void 0)!==void 0,oe=S.find(ee=>ee.id===P),te=(oe?Pe(o,oe):void 0)!==void 0,X=ue&&te,G=X?"#6366f1":"#d9d9d9";B.push({id:`${z}-${U}`,source:z,target:U,type:"straight",animated:X,style:X?{stroke:G,strokeWidth:2}:{stroke:G,strokeWidth:2,strokeDasharray:"6 4",opacity:.25},markerEnd:{type:cn.ArrowClosed,color:G,width:20,height:20}})}}return{nodes:N,edges:B}}var mr=({dsl:u,steps:o,assistantId:p,agentNameMap:m,onNodeClick:S,height:I="100%"})=>{let g=_e(),c=!!o,a=(0,ie.useMemo)(()=>({workflow:Mn,groupLabel:dr}),[]),{nodes:s,edges:h}=(0,ie.useMemo)(()=>c?hr(u,o,void 0,m):gr(u,m),[u,o,c,m]),[r,l,A]=Cn(s),[O,D,Z]=_n(h),[j,N]=(0,ie.useState)(null),B=(0,ie.useMemo)(()=>{if(!c||!j)return null;let U=u.nodes.find(q=>q.id===j);return U?Pe(o,U):null},[u.nodes,o,j,c]);(0,ie.useEffect)(()=>{l(s),D(h)},[s,h,l,D]);let C=(0,ie.useCallback)(()=>{l(U=>U.map(q=>({...q,data:{...q.data,runState:q.data.runState?{...q.data.runState,selected:!1}:void 0}})))},[l]);(0,ie.useEffect)(()=>{c&&l(U=>U.map(q=>({...q,data:{...q.data,runState:q.data.runState?{...q.data.runState,selected:q.id===j}:void 0}})))},[j,l,c]);let W=(0,ie.useCallback)((U,q)=>{c?N(q.id):S?.(q.id)},[c,S]),P=(0,ie.useCallback)(()=>{c&&(C(),N(null))},[c,C]),z=(0,ie.useCallback)(()=>{C(),N(null)},[C]);return!u.nodes||u.nodes.length===0?c?(0,H.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300},children:(0,H.jsx)(mn,{size:"large"})}):(0,H.jsx)(dn,{description:g("chatWorkspace.workflowCanvas.noNodes")}):(0,H.jsx)(vn,{children:(0,H.jsx)(En,{nodes:r,edges:O,nodeTypes:a,onNodesChange:A,onEdgesChange:Z,onNodeClick:W,onPaneClick:c?P:void 0,height:I,fitView:!0,fitViewOptions:c?{padding:.3}:void 0,minZoom:c?.3:void 0,maxZoom:c?1.5:void 0,nodesDraggable:!1,nodesConnectable:c?!1:void 0,defaultEdgeOptions:c?void 0:{style:{strokeWidth:2}},backgroundGap:c?20:void 0,miniMap:c?{nodeStrokeWidth:3,pannable:!0,zoomable:!0,style:{backgroundColor:"#f5f5f5"}}:void 0,children:c&&B&&j&&(0,H.jsxs)("div",{style:{position:"absolute",right:24,top:24,width:460,maxHeight:"calc(100% - 48px)",background:"#fff",borderRadius:16,boxShadow:"0 8px 30px rgba(0,0,0,0.12)",border:"1px solid #e5e7eb",zIndex:10,overflow:"auto",padding:20},children:[(0,H.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:8},children:[(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11,textTransform:"uppercase",letterSpacing:.5},children:g("chatWorkspace.workflowCanvas.stepDetail")}),(0,H.jsx)(ge,{type:"secondary",style:{fontSize:11,cursor:"pointer"},onClick:z,children:g("common.close")})]}),(0,H.jsx)(fr,{step:B})]})})})},Gr=mr;var yr=Object.create,Pn=Object.defineProperty,xr=Object.getOwnPropertyDescriptor,wr=Object.getOwnPropertyNames,Sr=Object.getPrototypeOf,br=Object.prototype.hasOwnProperty,$=(u,o)=>()=>(o||(u((o={exports:{}}).exports,o),u=null),o.exports),Ar=(u,o,p,m)=>{if(o&&typeof o=="object"||typeof o=="function")for(var S=wr(o),I=0,g=S.length,c;I<g;I++)c=S[I],!br.call(u,c)&&c!==p&&Pn(u,c,{get:(a=>o[a]).bind(null,c),enumerable:!(m=xr(o,c))||m.enumerable});return u},kr=(u,o,p)=>(p=u!=null?yr(Sr(u)):{},Ar(o||!u||!u.__esModule?Pn(p,"default",{value:u,enumerable:!0}):p,u)),We=$(((u,o)=>{function p(a){return typeof a>"u"||a===null}function m(a){return typeof a=="object"&&a!==null}function S(a){return Array.isArray(a)?a:p(a)?[]:[a]}function I(a,s){if(s){let h=Object.keys(s);for(let r=0,l=h.length;r<l;r+=1){let A=h[r];a[A]=s[A]}}return a}function g(a,s){let h="";for(let r=0;r<s;r+=1)h+=a;return h}function c(a){return a===0&&Number.NEGATIVE_INFINITY===1/a}o.exports.isNothing=p,o.exports.isObject=m,o.exports.toArray=S,o.exports.repeat=g,o.exports.isNegativeZero=c,o.exports.extend=I})),He=$(((u,o)=>{function p(S,I){let g="",c=S.reason||"(unknown reason)";return S.mark?(S.mark.name&&(g+='in "'+S.mark.name+'" '),g+="("+(S.mark.line+1)+":"+(S.mark.column+1)+")",!I&&S.mark.snippet&&(g+=`
2
2
 
3
3
  `+S.mark.snippet),c+" "+g):c}function m(S,I){Error.call(this),this.name="YAMLException",this.reason=S,this.mark=I,this.message=p(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}m.prototype=Object.create(Error.prototype),m.prototype.constructor=m,m.prototype.toString=function(I){return this.name+": "+p(this,I)},o.exports=m})),Tr=$(((u,o)=>{var p=We();function m(g,c,a,s,h){let r="",l="",A=Math.floor(h/2)-1;return s-c>A&&(r=" ... ",c=s-A+r.length),a-s>A&&(l=" ...",a=s+A-l.length),{str:r+g.slice(c,a).replace(/\t/g,"\u2192")+l,pos:s-c+r.length}}function S(g,c){return p.repeat(" ",c-g.length)+g}function I(g,c){if(c=Object.create(c||null),!g.buffer)return null;c.maxLength||(c.maxLength=79),typeof c.indent!="number"&&(c.indent=1),typeof c.linesBefore!="number"&&(c.linesBefore=3),typeof c.linesAfter!="number"&&(c.linesAfter=2);let a=/\r?\n|\r|\0/g,s=[0],h=[],r,l=-1;for(;r=a.exec(g.buffer);)h.push(r.index),s.push(r.index+r[0].length),g.position<=r.index&&l<0&&(l=s.length-2);l<0&&(l=s.length-1);let A="",O=Math.min(g.line+c.linesAfter,h.length).toString().length,D=c.maxLength-(c.indent+O+3);for(let j=1;j<=c.linesBefore&&!(l-j<0);j++){let N=m(g.buffer,s[l-j],h[l-j],g.position-(s[l]-s[l-j]),D);A=p.repeat(" ",c.indent)+S((g.line-j+1).toString(),O)+" | "+N.str+`
4
4
  `+A}let Z=m(g.buffer,s[l],h[l],g.position,D);A+=p.repeat(" ",c.indent)+S((g.line+1).toString(),O)+" | "+Z.str+`
@@ -1,4 +1,4 @@
1
- import{a as gr,b as Sn}from"./embed-page-chunk-ABGWNVMG.js";import{b as qi,c as $i}from"./embed-page-chunk-3UK7XM33.js";import{a as Io}from"./embed-page-chunk-5XP4FJW7.js";import{c as xo,d as To}from"./embed-page-chunk-GSUSX54K.js";import{b as st,c as Mi,d as ko,e as Rt,f as wo,g as Ni,h as Rn,i as In,j as Oi,l as Fi,m as _i}from"./embed-page-chunk-DJKD2PHO.js";import{a as cn}from"./embed-page-chunk-D7YTSCUO.js";import{a as Ki,b as Hi}from"./embed-page-chunk-YM76GTXK.js";import{J as Wi,K as Ro,L as Co,M as So,N as zi,O as Ao,P as Bi,Q as ji,R as Po,S as Cn,U as pr,V as Gi,b as Si,d as mo,e as Ai,f as yo,g as vo,j as xn,o as Tn,p as ho,q as Pi,t as Ei,u as Di,v as Li,w as bo}from"./embed-page-chunk-SQSVDSG6.js";import{g as Ci,i as Nt}from"./embed-page-chunk-NNQHJZ5Q.js";import{a as et}from"./embed-page-chunk-ONXC5S22.js";import{b as Xr,j as Jr,l as ei,o as vt,t as co}from"./embed-page-chunk-6ZHR5GWS.js";import{Da as xi,H as ui,J as pi,La as Ti,N as gi,Q as fi,S as mi,Sa as fo,Ta as Ri,U as go,Ua as Ii,ba as yi,g as li,m as di,n as Gn,ra as vi,sa as hi,ta as bi,va as ki,wa as wi,z as ci}from"./embed-page-chunk-F7ZUYG42.js";import{k as W}from"./embed-page-chunk-YCTDKWKW.js";import{a as z}from"./embed-page-chunk-QV7QAJ4N.js";import{B as oi,G as uo,Ja as Mt,Oa as ii,P as wn,Q as ri,Qa as ai,Ra as cr,Sa as ur,bb as si,ea as dr,i as ti,s as ni,sa as po,z as jn}from"./embed-page-chunk-B2KNZ3EW.js";import{Da as ge,Ia as Me,Ja as Tt,La as at,Ma as We,W as Qt,Ya as lo,Za as He,_ as U,_a as Qr,aa as kn,ba as Gt,bb as Be,db as Yr,fa as it,ha as Yt,ja as sr,ka as lr,pa as Ur,sa as dn,va as Zr,ya as Vr,za as Lt}from"./embed-page-chunk-F7TA3LRH.js";import{a as Ce}from"./embed-page-chunk-R5QL57JJ.js";import{f as C}from"./embed-page-chunk-QBTAJ2YI.js";var Hs={react:{label:"capability",color:"blue"},capability:{label:"capability",color:"blue"},deep_agent:{label:"orchestrator",color:"orange"},orchestrator:{label:"orchestrator",color:"orange"},processing:{label:"workflow",color:"purple"},workflow:{label:"workflow",color:"purple"},a2a_remote:{label:"remote",color:"cyan"},remote:{label:"remote",color:"cyan"}};function An(e){return Hs[e]??{label:"capability",color:"blue"}}var Us={enabled:"green",draft:"orange",disabled:"default"};function Zi(e){return Us[e]??"default"}var Ui={blue:"#3b82f6",orange:"#f59e0b",green:"#22c55e",purple:"#a855f7",cyan:"#06b6d4"};function Kn(e){return Ui[e]??Ui.cyan}function Yd(e){let t={enabled:"#22c55e",draft:"#f59e0b",disabled:"#d9d9d9"};return t[e]??t.disabled}function Pn(e){return typeof e.graphDefinition=="object"&&e.graphDefinition!==null?e.graphDefinition:{}}function mr(e){return((Pn(e).metadata??{}).tags??"").split(",").map(r=>r.trim()).filter(Boolean)}function yr(e){let o=(Pn(e).metadata??{}).version;return o?o.startsWith("v")?o:`v${o}`:"v1"}function vr(e){let o=(Pn(e).metadata??{}).status??"enabled";return o==="draft"||o==="disabled"?o:"enabled"}function fr(e){let n=Pn(e).subAgents??[],o=Array.isArray(n)?n.filter(Boolean):[];return Array.from(new Set(o))}function Xd(e){return e.map(t=>{let n=Pn(t),o=String(n.type??"react");return{id:t.id,name:t.name,description:t.description,type:An(o).label,tags:mr(t),version:yr(t),status:vr(t),subAgents:fr(t)}})}function Jd(e){let t=new Set(e.map(r=>r.id)),n=e.map(r=>({id:r.id,label:r.name,type:An(String(Pn(r).type??"react")).label,subAgentCount:fr(r).length})),o=[];for(let r of e)for(let i of fr(r))t.has(i)&&o.push({source:r.id,target:i});return{nodes:n,edges:o}}var Se=C(Ce());var te=C(Ce());var b=C(z()),{TextArea:Zs}=Me,{Text:It}=Be,Vi=["data","execution","workflow","assistant"],Qi={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"},Vs={react:"chatConfig.agentPanel.typeDesc.react",deep_agent:"chatConfig.agentPanel.typeDesc.deepAgent",processing:"chatConfig.agentPanel.typeDesc.processing"},qn=(e,t)=>{if(Array.isArray(e)){let n=e.map(o=>qn(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,qn(o,n)])):e},Yi=e=>{if(typeof e!="string")return qn(e??null);try{return qn(JSON.parse(e))}catch{return e}},Xi=e=>JSON.stringify(qn({...e,tools:[...e.tools].sort(),subAgents:[...e.subAgents].sort()})),Qs=Ci(({token:e,css:t})=>({modalBody:t`
1
+ import{a as gr,b as Sn}from"./embed-page-chunk-BZKAPY7M.js";import{b as qi,c as $i}from"./embed-page-chunk-G5MXFDNZ.js";import{a as Io}from"./embed-page-chunk-EM6VGUZ2.js";import{c as xo,d as To}from"./embed-page-chunk-GSUSX54K.js";import{b as st,c as Mi,d as ko,e as Rt,f as wo,g as Ni,h as Rn,i as In,j as Oi,l as Fi,m as _i}from"./embed-page-chunk-DJKD2PHO.js";import{a as cn}from"./embed-page-chunk-D7YTSCUO.js";import{a as Ki,b as Hi}from"./embed-page-chunk-HZZ5HNTF.js";import{J as Wi,K as Ro,L as Co,M as So,N as zi,O as Ao,P as Bi,Q as ji,R as Po,S as Cn,U as pr,V as Gi,b as Si,d as mo,e as Ai,f as yo,g as vo,j as xn,o as Tn,p as ho,q as Pi,t as Ei,u as Di,v as Li,w as bo}from"./embed-page-chunk-CFFDP526.js";import{g as Ci,i as Nt}from"./embed-page-chunk-4XKCMM5C.js";import{a as et}from"./embed-page-chunk-PMOGSY6W.js";import{b as Xr,j as Jr,l as ei,o as vt,t as co}from"./embed-page-chunk-BSRASK7V.js";import{Da as xi,H as ui,J as pi,La as Ti,N as gi,Q as fi,S as mi,Sa as fo,Ta as Ri,U as go,Ua as Ii,ba as yi,g as li,m as di,n as Gn,ra as vi,sa as hi,ta as bi,va as ki,wa as wi,z as ci}from"./embed-page-chunk-F7ZUYG42.js";import{k as W}from"./embed-page-chunk-ASEIOK7X.js";import{a as z}from"./embed-page-chunk-QV7QAJ4N.js";import{B as oi,G as uo,Ja as Mt,Oa as ii,P as wn,Q as ri,Qa as ai,Ra as cr,Sa as ur,bb as si,ea as dr,i as ti,s as ni,sa as po,z as jn}from"./embed-page-chunk-B2KNZ3EW.js";import{Da as ge,Ia as Me,Ja as Tt,La as at,Ma as We,W as Qt,Ya as lo,Za as He,_ as U,_a as Qr,aa as kn,ba as Gt,bb as Be,db as Yr,fa as it,ha as Yt,ja as sr,ka as lr,pa as Ur,sa as dn,va as Zr,ya as Vr,za as Lt}from"./embed-page-chunk-F7TA3LRH.js";import{a as Ce}from"./embed-page-chunk-R5QL57JJ.js";import{f as C}from"./embed-page-chunk-QBTAJ2YI.js";var Hs={react:{label:"capability",color:"blue"},capability:{label:"capability",color:"blue"},deep_agent:{label:"orchestrator",color:"orange"},orchestrator:{label:"orchestrator",color:"orange"},processing:{label:"workflow",color:"purple"},workflow:{label:"workflow",color:"purple"},a2a_remote:{label:"remote",color:"cyan"},remote:{label:"remote",color:"cyan"}};function An(e){return Hs[e]??{label:"capability",color:"blue"}}var Us={enabled:"green",draft:"orange",disabled:"default"};function Zi(e){return Us[e]??"default"}var Ui={blue:"#3b82f6",orange:"#f59e0b",green:"#22c55e",purple:"#a855f7",cyan:"#06b6d4"};function Kn(e){return Ui[e]??Ui.cyan}function Yd(e){let t={enabled:"#22c55e",draft:"#f59e0b",disabled:"#d9d9d9"};return t[e]??t.disabled}function Pn(e){return typeof e.graphDefinition=="object"&&e.graphDefinition!==null?e.graphDefinition:{}}function mr(e){return((Pn(e).metadata??{}).tags??"").split(",").map(r=>r.trim()).filter(Boolean)}function yr(e){let o=(Pn(e).metadata??{}).version;return o?o.startsWith("v")?o:`v${o}`:"v1"}function vr(e){let o=(Pn(e).metadata??{}).status??"enabled";return o==="draft"||o==="disabled"?o:"enabled"}function fr(e){let n=Pn(e).subAgents??[],o=Array.isArray(n)?n.filter(Boolean):[];return Array.from(new Set(o))}function Xd(e){return e.map(t=>{let n=Pn(t),o=String(n.type??"react");return{id:t.id,name:t.name,description:t.description,type:An(o).label,tags:mr(t),version:yr(t),status:vr(t),subAgents:fr(t)}})}function Jd(e){let t=new Set(e.map(r=>r.id)),n=e.map(r=>({id:r.id,label:r.name,type:An(String(Pn(r).type??"react")).label,subAgentCount:fr(r).length})),o=[];for(let r of e)for(let i of fr(r))t.has(i)&&o.push({source:r.id,target:i});return{nodes:n,edges:o}}var Se=C(Ce());var te=C(Ce());var b=C(z()),{TextArea:Zs}=Me,{Text:It}=Be,Vi=["data","execution","workflow","assistant"],Qi={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"},Vs={react:"chatConfig.agentPanel.typeDesc.react",deep_agent:"chatConfig.agentPanel.typeDesc.deepAgent",processing:"chatConfig.agentPanel.typeDesc.processing"},qn=(e,t)=>{if(Array.isArray(e)){let n=e.map(o=>qn(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,qn(o,n)])):e},Yi=e=>{if(typeof e!="string")return qn(e??null);try{return qn(JSON.parse(e))}catch{return e}},Xi=e=>JSON.stringify(qn({...e,tools:[...e.tools].sort(),subAgents:[...e.subAgents].sort()})),Qs=Ci(({token:e,css:t})=>({modalBody:t`
2
2
  padding: 0;
3
3
  height: 92vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{W as ye,X as be,c as he}from"./embed-page-chunk-SQSVDSG6.js";import{a as ce,c as ue,m as ge,n as O,q as Ae}from"./embed-page-chunk-NNQHJZ5Q.js";import{g as ie,k as pe,n as le,s as me}from"./embed-page-chunk-6ZHR5GWS.js";import{B as fe,ca as J}from"./embed-page-chunk-F7ZUYG42.js";import{a as C,e as U,f as D,g as $,k as q,n as se,o as de}from"./embed-page-chunk-YCTDKWKW.js";import{a as N}from"./embed-page-chunk-QV7QAJ4N.js";import{i as Z,j as Ne,k as Oe,l as je,m as Fe}from"./embed-page-chunk-34RWKVD7.js";import{Ja as ae,M as oe}from"./embed-page-chunk-F7TA3LRH.js";import{a as re}from"./embed-page-chunk-R5QL57JJ.js";import{c as L,f as _}from"./embed-page-chunk-QBTAJ2YI.js";var Pe=L(z=>{"use strict";Object.defineProperty(z,"__esModule",{value:!0});z.default=void 0;var st={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"},Vt=z.default=st});var We=L(G=>{"use strict";var dt=Ne().default;Object.defineProperty(G,"__esModule",{value:!0});G.default=void 0;var _e=dt(Oe()),pt=je(),lt=(0,_e.default)((0,_e.default)({},pt.commonLocale),{},{locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",week:"\u5468",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA",yearFormat:"YYYY\u5E74",cellDateFormat:"D",monthBeforeYear:!1}),Jt=G.default=lt});var ee=L(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.default=void 0;var ct={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},en=K.default=ct});var te=L(X=>{"use strict";var Le=Z().default;Object.defineProperty(X,"__esModule",{value:!0});X.default=void 0;var ut=Le(We()),mt=Le(ee()),xe={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},ut.default),timePickerLocale:Object.assign({},mt.default)};xe.lang.ok="\u786E\u5B9A";var nn=X.default=xe});var ve=L(Q=>{"use strict";var ft=Z().default;Object.defineProperty(Q,"__esModule",{value:!0});Q.default=void 0;var gt=ft(te()),on=Q.default=gt.default});var Me=L(Y=>{"use strict";var V=Z().default;Object.defineProperty(Y,"__esModule",{value:!0});Y.default=void 0;var At=V(Pe()),ht=V(ve()),yt=V(te()),bt=V(ee()),w="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}",Ct={locale:"zh-cn",Pagination:At.default,DatePicker:yt.default,TimePicker:bt.default,Calendar:ht.default,global:{placeholder:"\u8BF7\u9009\u62E9",close:"\u5173\u95ED"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckAll:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",emptyText:"\u6682\u65E0\u6570\u636E",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",deselectAll:"\u53D6\u6D88\u5168\u9009",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00",collapse:"\u6536\u8D77"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:w,method:w,array:w,object:w,number:w,date:w,boolean:w,integer:w,float:w,regexp:w,email:w,url:w,hex:w},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},ColorPicker:{presetEmpty:"\u6682\u65E0",transparent:"\u65E0\u8272",singleColor:"\u5355\u8272",gradientColor:"\u6E10\u53D8\u8272"}},sn=Y.default=Ct});var Ue=L((pn,qe)=>{"use strict";qe.exports=Me()});var A=_(re());var y=class extends Error{code;retryable;status;constructor(t,n,r,i){super(n),this.name="AgentWebAppRuntimeClientError",this.code=t,this.retryable=r,this.status=i}};function x(){return new y("STREAM_FAILED","Stream failed",!0)}var He=new Set(["WEB_APP_NOT_FOUND","WEB_APP_DISABLED","USER_ID_REQUIRED","INVALID_USER_ID","PROJECT_NOT_ALLOWED","PROJECT_SELECTOR_DISABLED","MODEL_NOT_ALLOWED","FEATURE_DISABLED","THREAD_NOT_FOUND","STREAM_CONFLICT","STREAM_FAILED","INVALID_REQUEST","INTERNAL_ERROR"]);function v(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function T(e,t){return Object.keys(e).length===t.length&&t.every(r=>r in e)}function Be(e){return v(e)&&T(e,["code","message","retryable"])&&typeof e.code=="string"&&He.has(e.code)&&typeof e.message=="string"&&typeof e.retryable=="boolean"}function ze(e){if(!v(e))return!1;let t=e.data===void 0?["id","type","prompt"]:["id","type","prompt","data"];return T(e,t)&&typeof e.id=="string"&&typeof e.type=="string"&&typeof e.prompt=="string"&&(e.data===void 0||v(e.data))}var Ge=new Set([C.HUMAN,C.AI,C.TOOL,C.INTERRUPT,C.MESSAGE_COMPLETED,C.MESSAGE_FAILED,C.THREAD_IDLE]);function Ke(e,t){let n;try{n=JSON.parse(e)}catch{throw x()}if(!v(n)||typeof n.type!="string")throw x();if(Ge.has(n.type)||n.type==="error"&&v(n.data)&&!v(n.error)){let r=$(n,t);return r.length===0?[]:r}switch(n.type){case"message.delta":if(T(n,["type","text"])&&typeof n.text=="string")return[n];break;case"message.completed":if(T(n,["type","messageId"])&&typeof n.messageId=="string")return[n];break;case"tool.started":if(T(n,["type","id","name"])&&typeof n.id=="string"&&typeof n.name=="string")return[n];break;case"tool.completed":if(T(n,["type","id"])&&typeof n.id=="string")return[n];break;case"interrupt.created":if(T(n,["type","interrupt"])&&ze(n.interrupt))return[n];break;case"genui.render":if(T(n,["type","block"])&&U(n.block))return[n];break;case"error":if(T(n,["type","error"])&&Be(n.error))return[n];break;case"stream.completed":if(T(n,["type"]))return[n];break}throw x()}function Xe(e){return e instanceof Error&&e.name==="AbortError"}async function Ce(e,t){let n=D({allowGenUI:!0,allowInterrupts:!0}),r=e.getReader(),i=new TextDecoder,o="",a=!1,s=!1;try{for(;!a;){let d;try{d=await r.read()}catch(l){if(Xe(l))return;throw x()}d.done&&(s=!0);try{o+=i.decode(d.value,{stream:!d.done})}catch{throw x()}let h=o.split(/\r?\n\r?\n/);o=d.done?"":h.pop()??"";for(let l of h){let g=l.split(/\r?\n/).filter(f=>f==="data"||f.startsWith("data:")).map(f=>f==="data"?"":f.slice(5).replace(/^ /,""));if(g.length!==0){for(let f of Ke(g.join(`
1
+ import{W as ye,X as be,c as he}from"./embed-page-chunk-CFFDP526.js";import{a as ce,c as ue,m as ge,n as O,q as Ae}from"./embed-page-chunk-4XKCMM5C.js";import{g as ie,k as pe,n as le,s as me}from"./embed-page-chunk-BSRASK7V.js";import{B as fe,ca as J}from"./embed-page-chunk-F7ZUYG42.js";import{a as C,e as U,f as D,g as $,k as q,n as se,o as de}from"./embed-page-chunk-ASEIOK7X.js";import{a as N}from"./embed-page-chunk-QV7QAJ4N.js";import{i as Z,j as Ne,k as Oe,l as je,m as Fe}from"./embed-page-chunk-34RWKVD7.js";import{Ja as ae,M as oe}from"./embed-page-chunk-F7TA3LRH.js";import{a as re}from"./embed-page-chunk-R5QL57JJ.js";import{c as L,f as _}from"./embed-page-chunk-QBTAJ2YI.js";var Pe=L(z=>{"use strict";Object.defineProperty(z,"__esModule",{value:!0});z.default=void 0;var st={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"},Vt=z.default=st});var We=L(G=>{"use strict";var dt=Ne().default;Object.defineProperty(G,"__esModule",{value:!0});G.default=void 0;var _e=dt(Oe()),pt=je(),lt=(0,_e.default)((0,_e.default)({},pt.commonLocale),{},{locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",week:"\u5468",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA",yearFormat:"YYYY\u5E74",cellDateFormat:"D",monthBeforeYear:!1}),Jt=G.default=lt});var ee=L(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.default=void 0;var ct={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},en=K.default=ct});var te=L(X=>{"use strict";var Le=Z().default;Object.defineProperty(X,"__esModule",{value:!0});X.default=void 0;var ut=Le(We()),mt=Le(ee()),xe={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},ut.default),timePickerLocale:Object.assign({},mt.default)};xe.lang.ok="\u786E\u5B9A";var nn=X.default=xe});var ve=L(Q=>{"use strict";var ft=Z().default;Object.defineProperty(Q,"__esModule",{value:!0});Q.default=void 0;var gt=ft(te()),on=Q.default=gt.default});var Me=L(Y=>{"use strict";var V=Z().default;Object.defineProperty(Y,"__esModule",{value:!0});Y.default=void 0;var At=V(Pe()),ht=V(ve()),yt=V(te()),bt=V(ee()),w="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}",Ct={locale:"zh-cn",Pagination:At.default,DatePicker:yt.default,TimePicker:bt.default,Calendar:ht.default,global:{placeholder:"\u8BF7\u9009\u62E9",close:"\u5173\u95ED"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckAll:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",emptyText:"\u6682\u65E0\u6570\u636E",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",deselectAll:"\u53D6\u6D88\u5168\u9009",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00",collapse:"\u6536\u8D77"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:w,method:w,array:w,object:w,number:w,date:w,boolean:w,integer:w,float:w,regexp:w,email:w,url:w,hex:w},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},ColorPicker:{presetEmpty:"\u6682\u65E0",transparent:"\u65E0\u8272",singleColor:"\u5355\u8272",gradientColor:"\u6E10\u53D8\u8272"}},sn=Y.default=Ct});var Ue=L((pn,qe)=>{"use strict";qe.exports=Me()});var A=_(re());var y=class extends Error{code;retryable;status;constructor(t,n,r,i){super(n),this.name="AgentWebAppRuntimeClientError",this.code=t,this.retryable=r,this.status=i}};function x(){return new y("STREAM_FAILED","Stream failed",!0)}var He=new Set(["WEB_APP_NOT_FOUND","WEB_APP_DISABLED","USER_ID_REQUIRED","INVALID_USER_ID","PROJECT_NOT_ALLOWED","PROJECT_SELECTOR_DISABLED","MODEL_NOT_ALLOWED","FEATURE_DISABLED","THREAD_NOT_FOUND","STREAM_CONFLICT","STREAM_FAILED","INVALID_REQUEST","INTERNAL_ERROR"]);function v(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function T(e,t){return Object.keys(e).length===t.length&&t.every(r=>r in e)}function Be(e){return v(e)&&T(e,["code","message","retryable"])&&typeof e.code=="string"&&He.has(e.code)&&typeof e.message=="string"&&typeof e.retryable=="boolean"}function ze(e){if(!v(e))return!1;let t=e.data===void 0?["id","type","prompt"]:["id","type","prompt","data"];return T(e,t)&&typeof e.id=="string"&&typeof e.type=="string"&&typeof e.prompt=="string"&&(e.data===void 0||v(e.data))}var Ge=new Set([C.HUMAN,C.AI,C.TOOL,C.INTERRUPT,C.MESSAGE_COMPLETED,C.MESSAGE_FAILED,C.THREAD_IDLE]);function Ke(e,t){let n;try{n=JSON.parse(e)}catch{throw x()}if(!v(n)||typeof n.type!="string")throw x();if(Ge.has(n.type)||n.type==="error"&&v(n.data)&&!v(n.error)){let r=$(n,t);return r.length===0?[]:r}switch(n.type){case"message.delta":if(T(n,["type","text"])&&typeof n.text=="string")return[n];break;case"message.completed":if(T(n,["type","messageId"])&&typeof n.messageId=="string")return[n];break;case"tool.started":if(T(n,["type","id","name"])&&typeof n.id=="string"&&typeof n.name=="string")return[n];break;case"tool.completed":if(T(n,["type","id"])&&typeof n.id=="string")return[n];break;case"interrupt.created":if(T(n,["type","interrupt"])&&ze(n.interrupt))return[n];break;case"genui.render":if(T(n,["type","block"])&&U(n.block))return[n];break;case"error":if(T(n,["type","error"])&&Be(n.error))return[n];break;case"stream.completed":if(T(n,["type"]))return[n];break}throw x()}function Xe(e){return e instanceof Error&&e.name==="AbortError"}async function Ce(e,t){let n=D({allowGenUI:!0,allowInterrupts:!0}),r=e.getReader(),i=new TextDecoder,o="",a=!1,s=!1;try{for(;!a;){let d;try{d=await r.read()}catch(l){if(Xe(l))return;throw x()}d.done&&(s=!0);try{o+=i.decode(d.value,{stream:!d.done})}catch{throw x()}let h=o.split(/\r?\n\r?\n/);o=d.done?"":h.pop()??"";for(let l of h){let g=l.split(/\r?\n/).filter(f=>f==="data"||f.startsWith("data:")).map(f=>f==="data"?"":f.slice(5).replace(/^ /,""));if(g.length!==0){for(let f of Ke(g.join(`
2
2
  `),n))if(await t(f),a=f.type==="stream.completed",a)break;if(a)break}}if(d.done)break}if(!a)throw x()}finally{if(!s)try{await r.cancel()}catch{}r.releaseLock()}}var Qe=new Set(["WEB_APP_NOT_FOUND","WEB_APP_DISABLED","USER_ID_REQUIRED","INVALID_USER_ID","PROJECT_NOT_ALLOWED","PROJECT_SELECTOR_DISABLED","MODEL_NOT_ALLOWED","FEATURE_DISABLED","THREAD_NOT_FOUND","STREAM_CONFLICT","STREAM_FAILED","RUN_CANCEL_UNAVAILABLE","RUN_CANCEL_STORE_UNAVAILABLE","INVALID_REQUEST","INTERNAL_ERROR"]);function c(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function b(e,t,n=[]){let r=Object.keys(e);return t.every(i=>i in e)&&r.every(i=>t.includes(i)||n.includes(i))}function p(e){return typeof e=="string"}function j(e){if(!c(e)||!b(e,["id","projectId","createdAt","updatedAt"],["label"])||!p(e.id)||!p(e.projectId)||e.label!==void 0&&!p(e.label)||!p(e.createdAt)||!p(e.updatedAt))return;let t=new Date(e.createdAt),n=new Date(e.updatedAt);if(!(Number.isNaN(t.getTime())||Number.isNaN(n.getTime())))return{id:e.id,projectId:e.projectId,...e.label===void 0?{}:{label:e.label},createdAt:t,updatedAt:n}}function we(e){if(!c(e)||e.success!==!1||!c(e.error))return!1;let t=e.error;return b(e,["success","error"])&&b(t,["code","message","retryable"])&&typeof t.code=="string"&&Qe.has(t.code)&&typeof t.message=="string"&&typeof t.retryable=="boolean"}function Ve(e){if(!c(e))return!1;let t=["projectSelector","modelSelector","threadManagement","attachments","hitl","genUI"];return b(e,t,["files"])&&t.every(n=>typeof e[n]=="boolean")&&(e.files===void 0||typeof e.files=="boolean")}function Ye(e){return Array.isArray(e)&&e.length<=6&&e.every(t=>c(t)&&b(t,["label","text"])&&p(t.label)&&t.label.length>=1&&t.label.length<=40&&p(t.text)&&t.text.length>=1&&t.text.length<=500)}function Je(e){return c(e)&&b(e,[],["title","welcomeMessage","primaryColor","quickPrompts"])&&(e.title===void 0||p(e.title))&&(e.welcomeMessage===void 0||p(e.welcomeMessage))&&(e.primaryColor===void 0||p(e.primaryColor))&&(e.quickPrompts===void 0||Ye(e.quickPrompts))}function Ze(e){if(!c(e)||!b(e,["webApp","projects","models"],["thread"])||!c(e.webApp))return;let t=e.webApp;if(!b(t,["id","name","assistant","defaultProjectId","features","appearance","identityAssurance"],["description","defaultModelKey"])||!p(t.id)||!p(t.name)||!p(t.defaultProjectId)||t.description!==void 0&&!p(t.description)||t.defaultModelKey!==void 0&&!p(t.defaultModelKey)||t.identityAssurance!=="unverified"||!c(t.assistant)||!b(t.assistant,["id","name"],["description"])||!p(t.assistant.id)||!p(t.assistant.name)||t.assistant.description!==void 0&&!p(t.assistant.description)||!Ve(t.features)||!Je(t.appearance)||!Array.isArray(e.projects)||!e.projects.every(r=>c(r)&&b(r,["id","name"])&&p(r.id)&&p(r.name))||!Array.isArray(e.models)||!e.models.every(r=>c(r)&&b(r,["key","label"])&&p(r.key)&&p(r.label)))return;let n=e.thread===void 0?void 0:j(e.thread);if(!(e.thread!==void 0&&!n))return{...e,...n?{thread:n}:{}}}function et(e){if(!c(e)||!b(e,["records","total"])||!Array.isArray(e.records)||typeof e.total!="number")return;let t=e.records.map(j);return t.every(n=>n!==void 0)?{records:t,total:e.total}:void 0}function tt(e){return c(e)&&p(e.id)&&(e.role==="human"||e.role==="ai")&&(e.content===void 0||p(e.content)||Array.isArray(e.content)&&e.content.every(t=>U(t)!==void 0))}function nt(e){return c(e)&&b(e,["messages"])&&Array.isArray(e.messages)&&e.messages.every(tt)?e:void 0}function rt(e){return c(e)&&b(e,["ref","name","mimeType","size"])&&p(e.ref)&&p(e.name)&&p(e.mimeType)&&typeof e.size=="number"?e:void 0}function Ee(e,t){return n=>c(n)&&b(n,e)&&t(n)?n:void 0}function ot(e){let t=c(e.payload)?e.payload:{},n=typeof t.prompt=="string"?t.prompt:typeof t.message=="string"?t.message:"Input required";return{id:e.interruptId,type:e.type,prompt:n,...c(t.data)?{data:t.data}:{}}}var F=class{constructor(t){this.options=t;this.baseUrl=`${t.gatewayUrl.replace(/\/+$/,"")}/api/web-apps/${encodeURIComponent(t.webAppId)}/runtime`,this.fetchImplementation=t.fetch??globalThis.fetch.bind(globalThis),this.translate=t.translate}baseUrl;fetchImplementation;translate;async bootstrap(t={},n){return this.request("bootstrap",Ze,{query:t,signal:n})}async listThreads(t={},n){return this.request("threads",et,{query:t,signal:n})}async createThread(t={},n){return this.request("threads",j,{method:"POST",body:t,signal:n})}async updateThread(t,n,r){return this.request(`threads/${encodeURIComponent(t)}`,j,{method:"PATCH",body:n,signal:r})}async deleteThread(t,n={},r){await this.request(`threads/${encodeURIComponent(t)}`,Ee(["id"],i=>p(i.id)),{method:"DELETE",query:n,signal:r})}async getMessages(t,n={},r){return this.request(`threads/${encodeURIComponent(t)}/messages`,nt,{query:n,signal:r})}async streamMessage(t,n,r,i){return this.streamRequest(`threads/${encodeURIComponent(t)}/messages/stream`,n,r,i)}async resumeInterrupt(t,n,r,i,o){return this.streamRequest(`threads/${encodeURIComponent(t)}/interrupts/${encodeURIComponent(n)}/resume`,r,i,o)}async streamRequest(t,n,r,i){let o;try{o=await this.fetchRequest(t,{method:"POST",body:n,signal:i})}catch(a){throw Re(a)||a instanceof y?a:new y("STREAM_FAILED",this.translate?.("integration.error.streamFailed")??"Stream failed",!0)}if(o.ok||await this.throwResponseError(o),!o.body||!o.headers.get("content-type")?.toLowerCase().includes("text/event-stream")){if(o.body)try{await o.body.cancel()}catch{}throw new y("STREAM_FAILED",this.translate?.("integration.error.streamFailed")??"Stream failed",!0,o.status)}await Ce(o.body,r)}async commandsRunStart(t,n,r,i={},o){return this.request(`api/assistants/${encodeURIComponent(t)}/threads/${encodeURIComponent(n)}/commands`,a=>c(a)&&typeof a.messageId=="string"?{messageId:a.messageId}:void 0,{method:"POST",query:i,body:{command:"run.start",args:r},signal:o})}async commandsRespond(t,n,r,i={},o){return this.request(`api/assistants/${encodeURIComponent(t)}/threads/${encodeURIComponent(n)}/commands`,a=>{if(!c(a)||typeof a.messageId!="string"||typeof a.interruptId!="string")return;let s=typeof a.accepted=="boolean"?a.accepted:void 0,d=typeof a.commandId=="string"?a.commandId:void 0;return{messageId:a.messageId,interruptId:a.interruptId,...s===void 0?{}:{accepted:s},...d===void 0?{}:{commandId:d}}},{method:"POST",query:i,body:{command:"input.respond",args:r},signal:o})}async getThreadStatus(t,n,r={},i){return this.request(`api/assistants/${encodeURIComponent(t)}/threads/${encodeURIComponent(n)}/status`,o=>c(o)&&typeof o.status=="string"&&typeof o.pendingMessages=="number"&&Array.isArray(o.interrupts)?{status:o.status,pendingMessages:o.pendingMessages,interrupts:o.interrupts.map(a=>ot(a))}:void 0,{query:r,signal:i})}async streamThreadEvents(t,n,r,i,o){let a=await this.fetchRequest(`api/assistants/${encodeURIComponent(t)}/threads/${encodeURIComponent(n)}/stream/events`,{method:"POST",query:{projectId:r.projectId,modelKey:r.modelKey},body:{channels:["messages","tools","input","lifecycle"],...r.since?{since:r.since}:{}},signal:o});if(a.ok||await this.throwResponseError(a),!a.body)throw new y("STREAM_FAILED",this.translate?.("integration.error.streamFailed")??"Stream failed",!0,a.status);let s=D({allowInterrupts:r.allowInterrupts??!0,allowGenUI:r.allowGenUI??!1}),d=new TextDecoder,h="",l=!1,g=a.body.getReader();try{for(;;){let{done:f,value:S}=await g.read();if(f)break;h+=d.decode(S,{stream:!0});let k=h.indexOf(`
3
3
 
4
4
  `);for(;k>=0;){let W=h.slice(0,k);h=h.slice(k+2),k=h.indexOf(`
@@ -1 +1 @@
1
- import{c as L,o as j}from"./embed-page-chunk-6ZHR5GWS.js";import{k as P}from"./embed-page-chunk-YCTDKWKW.js";import{a as _}from"./embed-page-chunk-QV7QAJ4N.js";import{Ja as V}from"./embed-page-chunk-B2KNZ3EW.js";import{Da as g,Ia as v,La as b,Ma as M,_ as R,_a as U,bb as O,za as E}from"./embed-page-chunk-F7TA3LRH.js";import{a as D}from"./embed-page-chunk-R5QL57JJ.js";import{f as w}from"./embed-page-chunk-QBTAJ2YI.js";var d=w(D());function G(f){let k=j("__GLOBAL__"),[z,a]=(0,d.useState)(!1),[u,S]=(0,d.useState)(null),x=(0,d.useCallback)(()=>{f?.onUnauthorized?f.onUnauthorized():window.dispatchEvent(new CustomEvent("lattice:unauthorized"))},[f?.onUnauthorized]),s=(0,d.useCallback)(async(l,o,n,F)=>{a(!0),S(null);try{return await k.request(o,{method:l,body:n,headers:F?.headers})}catch(C){throw C instanceof L&&x(),S(C),C}finally{a(!1)}},[k,x]),I=(0,d.useCallback)((l,o)=>s("GET",l,void 0,o),[s]),r=(0,d.useCallback)((l,o,n)=>s("POST",l,o,n),[s]),t=(0,d.useCallback)((l,o,n)=>s("PUT",l,o,n),[s]),m=(0,d.useCallback)((l,o)=>s("DELETE",l,void 0,o),[s]);return{get:I,post:r,put:t,del:m,isLoading:z,error:u}}var T=w(D());var e=w(_()),{TextArea:W}=v,{Text:h}=O,H=({open:f,onCancel:k,onSuccess:z,skill:a})=>{let[u]=g.useForm(),[S,x]=(0,T.useState)(!1),{post:s,put:I}=G(),{token:r}=U.useToken(),t=P(),m=!!a,l=[{key:"category",value:"global"}],[o,n]=(0,T.useState)(l);(0,T.useEffect)(()=>{f&&a?(u.setFieldsValue({name:a.name,description:a.description,license:a.license||"",compatibility:a.compatibility||"",content:a.content||""}),a.metadata?n(Object.entries(a.metadata).map(([i,c])=>({key:i,value:c}))):n(l)):f&&!a&&(u.resetFields(),n(l))},[f,a]);let F=async()=>{try{let i=await u.validateFields();x(!0);let c=o.length>0?o.reduce((B,q)=>(q.key&&(B[q.key]=q.value),B),{}):void 0,p={id:i.name,name:i.name,description:i.description,license:i.license||void 0,compatibility:i.compatibility||void 0,metadata:c,content:i.content||void 0,subSkills:void 0},y;m?y=await I(`/api/skills/${a.id}`,p):y=await s("/api/skills",p),y.success?(b.success(t(m?"chatConfig.skill.updated":"chatConfig.skill.created")),u.resetFields(),n(l),z?.(),k()):b.error(y.message||t(m?"chatConfig.skill.updateFailed":"chatConfig.skill.createFailed"))}catch(i){if(i.errorFields)return;b.error(i.message||t(m?"chatConfig.skill.updateError":"chatConfig.skill.createError"))}finally{x(!1)}},C=()=>{u.resetFields(),n(l),k()},A=(i,c,p)=>{let y=[...o];y[i]={...y[i],[c]:p},n(y)},$=()=>{n([...o,{key:"",value:""}])};return(0,e.jsx)(M,{title:t(m?"chatConfig.skill.edit.title":"chatConfig.skill.create.title"),open:f,onCancel:C,footer:null,width:520,destroyOnClose:!0,styles:{body:{padding:16}},children:(0,e.jsx)(g,{form:u,layout:"vertical",onFinish:F,autoComplete:"off",children:(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.name")}),(0,e.jsx)(g.Item,{name:"name",rules:[{required:!0,message:t("chatConfig.skill.validation.nameRequired")},{pattern:/^[a-z0-9]+(-[a-z0-9]+)*$/,message:t("chatConfig.skill.validation.namePattern")},{min:1,max:64,message:t("chatConfig.skill.validation.nameLength")}],style:{marginBottom:0},children:(0,e.jsx)(v,{placeholder:"e.g., data-analysis",disabled:m})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.description")}),(0,e.jsx)(g.Item,{name:"description",rules:[{required:!0,message:t("chatConfig.skill.validation.descriptionRequired")}],style:{marginBottom:0},children:(0,e.jsx)(W,{placeholder:t("chatConfig.skill.placeholder.description"),autoSize:{minRows:2,maxRows:4}})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.license")}),(0,e.jsx)(g.Item,{name:"license",style:{marginBottom:0},children:(0,e.jsx)(v,{placeholder:t("chatConfig.skill.placeholder.license")})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.compatibility")}),(0,e.jsx)(g.Item,{name:"compatibility",style:{marginBottom:0},children:(0,e.jsx)(v,{placeholder:t("chatConfig.skill.placeholder.compatibility")})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary,fontWeight:500},children:t("chatConfig.skill.field.metadata")}),(0,e.jsx)(R,{size:"small",icon:(0,e.jsx)(V,{}),onClick:$,children:t("chatConfig.skill.metadata.add")})]}),(0,e.jsxs)(E,{direction:"vertical",size:8,style:{width:"100%"},children:[o.length===0&&(0,e.jsx)(h,{style:{fontSize:11,color:r.colorTextTertiary},children:t("chatConfig.skill.metadata.empty")}),o.map((i,c)=>(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4,width:"100%"},children:[(0,e.jsx)(h,{style:{fontSize:11,color:r.colorTextSecondary},children:t("chatConfig.skill.metadata.row",{index:c+1})}),(0,e.jsxs)(E,{style:{width:"100%"},size:8,wrap:!0,children:[(0,e.jsx)(v,{value:i.key,placeholder:t("chatConfig.keyValue.key"),style:{width:140},onChange:p=>A(c,"key",p.target.value)}),(0,e.jsx)(v,{value:i.value,placeholder:t("chatConfig.keyValue.value"),style:{flex:1,minWidth:200},onChange:p=>A(c,"value",p.target.value)})]})]},c))]})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.content")}),(0,e.jsx)(g.Item,{name:"content",style:{marginBottom:0},children:(0,e.jsx)(W,{placeholder:t("chatConfig.skill.placeholder.content"),autoSize:{minRows:4,maxRows:8}})})]}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:8,marginTop:8},children:[(0,e.jsx)(R,{onClick:C,children:t("common.cancel")}),(0,e.jsx)(R,{type:"primary",htmlType:"submit",loading:S,children:t(m?"chatConfig.skill.action.save":"chatConfig.skill.action.create")})]})]})})})},ie=H;export{G as a,ie as b};
1
+ import{c as L,o as j}from"./embed-page-chunk-BSRASK7V.js";import{k as P}from"./embed-page-chunk-ASEIOK7X.js";import{a as _}from"./embed-page-chunk-QV7QAJ4N.js";import{Ja as V}from"./embed-page-chunk-B2KNZ3EW.js";import{Da as g,Ia as v,La as b,Ma as M,_ as R,_a as U,bb as O,za as E}from"./embed-page-chunk-F7TA3LRH.js";import{a as D}from"./embed-page-chunk-R5QL57JJ.js";import{f as w}from"./embed-page-chunk-QBTAJ2YI.js";var d=w(D());function G(f){let k=j("__GLOBAL__"),[z,a]=(0,d.useState)(!1),[u,S]=(0,d.useState)(null),x=(0,d.useCallback)(()=>{f?.onUnauthorized?f.onUnauthorized():window.dispatchEvent(new CustomEvent("lattice:unauthorized"))},[f?.onUnauthorized]),s=(0,d.useCallback)(async(l,o,n,F)=>{a(!0),S(null);try{return await k.request(o,{method:l,body:n,headers:F?.headers})}catch(C){throw C instanceof L&&x(),S(C),C}finally{a(!1)}},[k,x]),I=(0,d.useCallback)((l,o)=>s("GET",l,void 0,o),[s]),r=(0,d.useCallback)((l,o,n)=>s("POST",l,o,n),[s]),t=(0,d.useCallback)((l,o,n)=>s("PUT",l,o,n),[s]),m=(0,d.useCallback)((l,o)=>s("DELETE",l,void 0,o),[s]);return{get:I,post:r,put:t,del:m,isLoading:z,error:u}}var T=w(D());var e=w(_()),{TextArea:W}=v,{Text:h}=O,H=({open:f,onCancel:k,onSuccess:z,skill:a})=>{let[u]=g.useForm(),[S,x]=(0,T.useState)(!1),{post:s,put:I}=G(),{token:r}=U.useToken(),t=P(),m=!!a,l=[{key:"category",value:"global"}],[o,n]=(0,T.useState)(l);(0,T.useEffect)(()=>{f&&a?(u.setFieldsValue({name:a.name,description:a.description,license:a.license||"",compatibility:a.compatibility||"",content:a.content||""}),a.metadata?n(Object.entries(a.metadata).map(([i,c])=>({key:i,value:c}))):n(l)):f&&!a&&(u.resetFields(),n(l))},[f,a]);let F=async()=>{try{let i=await u.validateFields();x(!0);let c=o.length>0?o.reduce((B,q)=>(q.key&&(B[q.key]=q.value),B),{}):void 0,p={id:i.name,name:i.name,description:i.description,license:i.license||void 0,compatibility:i.compatibility||void 0,metadata:c,content:i.content||void 0,subSkills:void 0},y;m?y=await I(`/api/skills/${a.id}`,p):y=await s("/api/skills",p),y.success?(b.success(t(m?"chatConfig.skill.updated":"chatConfig.skill.created")),u.resetFields(),n(l),z?.(),k()):b.error(y.message||t(m?"chatConfig.skill.updateFailed":"chatConfig.skill.createFailed"))}catch(i){if(i.errorFields)return;b.error(i.message||t(m?"chatConfig.skill.updateError":"chatConfig.skill.createError"))}finally{x(!1)}},C=()=>{u.resetFields(),n(l),k()},A=(i,c,p)=>{let y=[...o];y[i]={...y[i],[c]:p},n(y)},$=()=>{n([...o,{key:"",value:""}])};return(0,e.jsx)(M,{title:t(m?"chatConfig.skill.edit.title":"chatConfig.skill.create.title"),open:f,onCancel:C,footer:null,width:520,destroyOnClose:!0,styles:{body:{padding:16}},children:(0,e.jsx)(g,{form:u,layout:"vertical",onFinish:F,autoComplete:"off",children:(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.name")}),(0,e.jsx)(g.Item,{name:"name",rules:[{required:!0,message:t("chatConfig.skill.validation.nameRequired")},{pattern:/^[a-z0-9]+(-[a-z0-9]+)*$/,message:t("chatConfig.skill.validation.namePattern")},{min:1,max:64,message:t("chatConfig.skill.validation.nameLength")}],style:{marginBottom:0},children:(0,e.jsx)(v,{placeholder:"e.g., data-analysis",disabled:m})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.description")}),(0,e.jsx)(g.Item,{name:"description",rules:[{required:!0,message:t("chatConfig.skill.validation.descriptionRequired")}],style:{marginBottom:0},children:(0,e.jsx)(W,{placeholder:t("chatConfig.skill.placeholder.description"),autoSize:{minRows:2,maxRows:4}})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.license")}),(0,e.jsx)(g.Item,{name:"license",style:{marginBottom:0},children:(0,e.jsx)(v,{placeholder:t("chatConfig.skill.placeholder.license")})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.compatibility")}),(0,e.jsx)(g.Item,{name:"compatibility",style:{marginBottom:0},children:(0,e.jsx)(v,{placeholder:t("chatConfig.skill.placeholder.compatibility")})})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary,fontWeight:500},children:t("chatConfig.skill.field.metadata")}),(0,e.jsx)(R,{size:"small",icon:(0,e.jsx)(V,{}),onClick:$,children:t("chatConfig.skill.metadata.add")})]}),(0,e.jsxs)(E,{direction:"vertical",size:8,style:{width:"100%"},children:[o.length===0&&(0,e.jsx)(h,{style:{fontSize:11,color:r.colorTextTertiary},children:t("chatConfig.skill.metadata.empty")}),o.map((i,c)=>(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4,width:"100%"},children:[(0,e.jsx)(h,{style:{fontSize:11,color:r.colorTextSecondary},children:t("chatConfig.skill.metadata.row",{index:c+1})}),(0,e.jsxs)(E,{style:{width:"100%"},size:8,wrap:!0,children:[(0,e.jsx)(v,{value:i.key,placeholder:t("chatConfig.keyValue.key"),style:{width:140},onChange:p=>A(c,"key",p.target.value)}),(0,e.jsx)(v,{value:i.value,placeholder:t("chatConfig.keyValue.value"),style:{flex:1,minWidth:200},onChange:p=>A(c,"value",p.target.value)})]})]},c))]})]}),(0,e.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,e.jsx)(h,{style:{fontSize:12,color:r.colorTextSecondary},children:t("chatConfig.skill.field.content")}),(0,e.jsx)(g.Item,{name:"content",style:{marginBottom:0},children:(0,e.jsx)(W,{placeholder:t("chatConfig.skill.placeholder.content"),autoSize:{minRows:4,maxRows:8}})})]}),(0,e.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:8,marginTop:8},children:[(0,e.jsx)(R,{onClick:C,children:t("common.cancel")}),(0,e.jsx)(R,{type:"primary",htmlType:"submit",loading:S,children:t(m?"chatConfig.skill.action.save":"chatConfig.skill.action.create")})]})]})})})},ie=H;export{G as a,ie as b};
@@ -1 +1 @@
1
- import"./embed-page-chunk-QBTAJ2YI.js";var t={"chat.empty.createConversationFirst":"Please create a conversation first","chat.empty.question":"Ready to turn data into insightful charts in seconds?","chat.empty.welcomePrefix":"Hey","chat.empty.userFallback":"there","chat.sender.attachments":"Attachments","chat.sender.uploadFile":"Upload File","chat.sender.rootDirectory":"Root Directory","chat.sender.filesUploading":"Files are still uploading...","chat.sender.uploadFailed":"{{name}} file upload failed.{{reason}}","chat.sender.fileTooLarge":"File must be smaller than {{max}}MB! {{name}} is too large.","chat.sender.thinking":"{{frame}} Thinking...","chat.sender.messagesWaiting":"{{count}} messages waiting...","chat.sender.placeholder":"Type / to see available skills, or @ to reference files","chat.sender.moreMatches":"...and {{count}} more \u2014 keep typing to narrow","chat.error.streamError":"Stream error","chat.error.hitlResponseRejected":"The agent did not accept this response. Please retry.","chat.error.interruptNotFound":"Unable to resolve the pending interrupt. Please retry.","chat.stop.superseded":"Response interrupted by a new message.","chat.stop.stopped":"Response stopped.","chat.layout.toggleMenu":"Toggle menu","chat.layout.closeDetail":"Close detail panel","chat.layout.closeTools":"Close tool panel","chat.menu.branding":"Menu","chat.menu.expandSidebar":"Expand sidebar","chat.menu.collapseSidebar":"Collapse sidebar","chat.menu.newThread":"New Thread","chat.agent.fallbackName":"Agent","chat.agent.selectTitle":"Select Agent","chat.agent.empty":"No agents available","chat.agent.search":"Search agents","chat.agent.noResults":"No matching agents","chat.agent.onboardingTitle":"Agent switching moved here","chat.agent.onboardingDescription":"Click this agent item to switch agents.","chat.agent.onboardingGotIt":"Got it","chat.model.label":"Model","chat.model.placeholder":"Model","chat.model.empty":"No models available","chat.budget.hint":"Run effort budget","chat.budget.turns":"~{{count}} turns","chat.budget.current":"Run effort: {{level}}","chat.budget.low":"Low","chat.budget.lowDescription":"Light task","chat.budget.medium":"Medium","chat.budget.mediumDescription":"Standard task","chat.budget.high":"High","chat.budget.highDescription":"Multi-step task","chat.budget.max":"Max","chat.budget.maxDescription":"Long task","chat.workspace.selectPlaceholder":"Workspace","chat.workspace.selectTitle":"Select Workspace","chat.project.selectPlaceholder":"Project","chat.project.selectTitle":"Select Project","chat.project.empty":"No projects","chat.project.nameRequired":"Project name is required","chat.project.nameTooLong":"Name must be {{max}} characters or less","chat.project.selectWorkspaceFirst":"Please select a workspace first","chat.project.created":'Project "{{name}}" created',"chat.project.createFailed":"Failed to create project","chat.project.createTitle":"Create New Project","chat.project.namePlaceholder":"Enter project name","chat.thread.create":"Create New Conversation","chat.thread.createFailed":"Failed to create new thread","chat.thread.history":"Conversation History","chat.thread.refreshHistory":"Refresh Conversation History","chat.thread.searchPlaceholder":"Search conversations\u2026","chat.thread.sortName":"Name","chat.thread.sortUpdated":"Updated","chat.thread.sortCreated":"Created","chat.thread.sortAscending":"Ascending","chat.thread.sortDescending":"Descending","chat.thread.loading":"Loading conversations...","chat.thread.noMatch":'No conversations match "{{query}}"',"chat.thread.empty":"No conversations yet","chat.thread.nameLabel":"Conversation name","chat.thread.status.idle":"Idle","chat.thread.status.busy":"Working","chat.thread.status.interrupted":"Interrupted","chat.thread.status.error":"Error","chat.thread.saveName":"Save name","chat.thread.cancelRename":"Cancel rename","chat.thread.rename":"Rename conversation","chat.thread.renamed":"Conversation renamed","chat.thread.renameFailed":"Failed to rename conversation","chat.thread.delete":"Delete conversation","chat.thread.deleteTitle":"Delete Conversation","chat.thread.deleteConfirm":"Are you sure you want to delete this conversation? This action cannot be undone.","chat.thread.deleted":"Conversation deleted","chat.thread.deleteFailed":"Failed to delete conversation","chat.pin.pin":"Pin to Menu","chat.pin.unpin":"Unpin from Menu","chat.pin.pinTitle":"Pin to Menu","chat.pin.enterName":"Please enter a menu name","chat.pin.pinned":"Pinned to menu","chat.pin.unpinned":"Unpinned from menu","chat.pin.pinFailed":"Failed to pin to menu","chat.pin.unpinFailed":"Failed to unpin from menu","chat.pin.namePlaceholder":"Menu name (required)","chat.pin.groupPlaceholder":"Group (optional, select or type new)","chat.sideApp.unnamed":"Unnamed","chat.sideApp.allTabs":"All tabs","chat.sideApp.close":"Close","chat.sideApp.empty":"Select an app to start","chat.sideApp.componentNotFound":"Component view not found","chat.todo.title":"Todos","chat.todo.noTasks":"No tasks","chat.todo.inProgress":"{{count}} in progress","chat.todo.completed":"{{count}} completed","chat.todo.progressTooltip":"{{completed}} / {{total}} tasks completed","chat.task.title":"Tasks","chat.task.noTasks":"No tasks","chat.task.inProgress":"{{count}} in progress","chat.task.completed":"{{count}} completed","chat.task.progressTooltip":"{{completed}} / {{total}} tasks completed","chat.customMenu.invalid":"Invalid menu item","chat.customMenu.empty":"(empty)","chat.customMenu.htmlPage":"Custom HTML Page","chat.customMenu.componentNotFound":'Component "{{name}}" not found',"chat.customMenu.invalidMcpApp":"Invalid MCP App menu item","chat.customMenu.unknownType":"Unknown content type: {{type}}","chat.customMenu.fileFallback":"File","chat.file.changed":"File Changed","chat.file.explorer":"File Explorer","chat.file.count":"{{count}} files","chat.copilot.agentBuilder":"Agent Builder","chat.copilot.viewing":"Viewing: {{name}}","chat.copilot.close":"Close copilot","chat.copilot.selectWorkflow":"Select a workflow to start","chat.environment.title":"Environment","chat.environment.tools":"Tools","chat.environment.capabilities":"Capabilities","chat.environment.subAgents":"Sub-agents","chat.environment.runtime":"Runtime","chat.environment.model":"Model: {{model}}","chat.environment.db":"DB: {{db}}","chat.environment.skills":"Skills: {{skills}}","chat.environment.channels":"Channels","chat.environment.noChannels":"No channels configured","chat.viewToggle.chat":"Chat","chat.viewToggle.graph":"Execution","chat.viewToggle.aria":"Switch view","chat.trace.backToCurrent":"Back to current","chat.trace.collapseOlder":"Collapse older","chat.trace.expandAll":"Expand all","chat.trace.parallelBadge":"Parallel \xD7{{count}}","chat.trace.jumpToChat":"Chat","chat.trace.phase.understand":"Understand & plan","chat.trace.phase.act":"Execute","chat.trace.phase.delegate":"Delegate","chat.trace.phase.answer":"Answer","chat.trace.phase.earlier":"Earlier","chat.trace.node.human":"User","chat.trace.summary.steps":"{{count}} steps","chat.trace.summary.steps_one":"{{count}} step","chat.trace.summary.steps_other":"{{count}} steps","chat.menu.history":"History","chat.error.resumeStreamError":"Resume stream error","chat.error.copySucceeded":"Error details copied","chat.error.copyFailed":"Failed to copy","chat.error.sectionFallback":"this section","chat.error.renderFailed":"Failed to render {{label}}","chat.error.details":"Error details","chat.error.copyDetails":"Copy Details","chat.error.boundary.sidebar":"Sidebar","chat.error.boundary.chatPanel":"Chat panel","chat.error.boundary.detailPanel":"Detail panel","chat.error.boundary.toolsPanel":"Tools panel","chat.error.boundary.thread":"Thread","chat.error.boundary.chatShell":"Chat shell","chat.agent.defaultName":"AI Assistant","chat.file.toggleDirectory":"Toggle file directory","chat.conversation.creating":"Creating conversation...","chat.tools.loading":"Loading tools...","chat.skills.loading":"Loading skills...","chat.schedule.none":"No schedules","chat.schedule.scheduledCount":"{{count}} scheduled","chat.schedule.totalCount":"{{count}} total","chat.topology.outgoing":"{{count}} out","chat.topology.incoming":"{{count}} in","chat.config.executableRequired":"Choose a template or enter a custom executable","chat.voice.unavailable":"Voice input unavailable: No STT model configured","chat.voice.transcribing":"Transcribing...","chat.voice.retryHint":"Transcription failed, tap to retry","chat.voice.rerecordHint":"Tap to re-record","chat.voice.stopRecordingAuto":"Stop recording ({{seconds}}s, {{segments}} segments transcribed)","chat.voice.stopRecording":"Stop recording ({{seconds}}s)","chat.voice.start":"Start voice input","chat.voice.noModel":"No STT model configured","chat.voice.uploading":"Uploading...","chat.voice.modeAuto":"Auto","chat.voice.modeManual":"Manual","chat.voice.segments":"{{count}} segments","chat.voice.segments_one":"{{count}} segment","chat.voice.segments_other":"{{count}} segments","chat.voice.recordingStatus":"{{mode}} mode, recording {{time}}{{chunks}} \u2014 tap to stop","chat.voice.errNotSupported":"Voice input not supported. Use Chrome, Edge, or Safari.","chat.voice.errFormatNotSupported":"Audio recording format not supported in this browser.","chat.voice.errRecordingFailed":"Recording failed, please try again.","chat.voice.errRecordInitFailed":"Recording initialization failed.","chat.voice.errMicPermission":"Please allow microphone access in browser settings","chat.voice.errMicAccess":"Cannot access microphone","chat.voice.errStopTimeout":"Stop recording timed out","chat.voice.errTranscribeFailed":"Transcription failed","chat.voice.errRetryFailed":"Retry failed","chat.analysis.quickTitle":"Quick Analysis","chat.analysis.categoriesTitle":"Analysis Categories","chat.analysis.viewMore":"View more analysis options","chat.analysis.category.sales":"Sales Analysis","chat.analysis.category.financial":"Financial Analysis","chat.analysis.category.operations":"Operations Analysis","chat.analysis.sales.comprehensive.label":"Comprehensive Sales Analysis","chat.analysis.sales.comprehensive.description":"Analyze sales revenue by specified dimensions with trend analysis and growth opportunities","chat.analysis.sales.performance.label":"Sales Performance Analysis","chat.analysis.sales.performance.description":"Aggregate omni-channel sales, evaluate performance achievement rate, and compare with historical growth","chat.analysis.sales.topCustomers.label":"Top Customer Analysis","chat.analysis.sales.topCustomers.description":"Identify top 10% customers by sales volume, analyze their purchase preferences and churn risks","chat.analysis.sales.trend.label":"Sales Trend Analysis","chat.analysis.sales.trend.description":"Analyze sales peaks and troughs through time series, forecast sales trends for the next quarter","chat.analysis.sales.repPerformance.label":"Sales Representative Performance","chat.analysis.sales.repPerformance.description":"Quantitatively evaluate conversion rates, average order value, and contract fulfillment efficiency of each sales representative","chat.analysis.sales.regional.label":"Regional Sales Comparison","chat.analysis.sales.regional.description":"Compare sales penetration across different geographic regions, identify markets with abnormal performance","chat.analysis.sales.productVolume.label":"Product Volume Analysis","chat.analysis.sales.productVolume.description":"Count sales quantities of each SKU, identify best-selling products and slow-moving inventory","chat.analysis.financial.grossMargin.label":"Product Line Gross Margin Analysis","chat.analysis.financial.grossMargin.description":"Compare gross margin levels across product lines, identify high-margin contributors and loss-making businesses","chat.analysis.financial.customerProfitability.label":"Customer Profitability Analysis","chat.analysis.financial.customerProfitability.description":"Analyze net profit contribution by different customer dimensions, identify core high-quality customers and high-service-cost customers","chat.analysis.financial.monthlyReport.label":"Monthly Financial Report","chat.analysis.financial.monthlyReport.description":"Based on this month's accounting data, automatically generate income statement, balance sheet, and cash flow statement summaries","chat.analysis.financial.ratio.label":"Financial Ratio Analysis","chat.analysis.financial.ratio.description":"Calculate and analyze key indicators such as current ratio, debt-to-asset ratio, and ROE to assess company financial health","chat.analysis.financial.cashflow.label":"Cash Flow Analysis","chat.analysis.financial.cashflow.description":"Track cash flows from operating, investing, and financing activities, analyze reasons for changes in net cash flow","chat.analysis.financial.costStructure.label":"Cost Structure Analysis","chat.analysis.financial.costStructure.description":"Break down direct costs and indirect expenses of products or services, identify core drivers affecting total costs","chat.analysis.operations.supplierEvaluation.label":"Supplier Performance Evaluation","chat.analysis.operations.supplierEvaluation.description":"Based on delivery quality, response speed, and price competitiveness, conduct comprehensive rating of core suppliers","chat.analysis.operations.inventoryTurnover.label":"Inventory Turnover Analysis","chat.analysis.operations.inventoryTurnover.description":"Calculate inventory turnover rate and days, identify slow-moving inventory materials to release capital","chat.analysis.operations.deliveryOntime.label":"On-Time Delivery Analysis","chat.analysis.operations.deliveryOntime.description":"Count order lead time from placement to delivery, analyze core links causing delayed deliveries","chat.analysis.operations.procurementCost.label":"Procurement Cost Analysis","chat.analysis.operations.procurementCost.description":"Monitor raw material procurement price fluctuations, analyze impact of procurement premiums or savings on profit","chat.analysis.operations.productionEfficiency.label":"Production Efficiency Analysis","chat.analysis.operations.productionEfficiency.description":"Calculate Overall Equipment Effectiveness (OEE) or per capita output, identify efficiency bottlenecks on production lines","chat.analysis.operations.orderFulfillment.label":"Order Fulfillment Analysis","chat.analysis.operations.orderFulfillment.description":"Analyze the full process from order receipt to final delivery, optimize order processing response time","chat.skillCategory.businessAnalysis":"Business Analysis","chat.skillCategory.codeGeneration":"Code Generation","chat.skillCategory.documentProcessing":"Document Processing","chat.skillCategory.dataAnalysis":"Data Analysis","chat.skillCategory.toolOperations":"Tool Operations","chat.skillCategory.general":"General Skills","chat.skillCategory.global":"Global Skills","chat.skillCategory.viewMore":"View more skill categories","chat.skillCategory.quickActions":"\u2728 Quick actions","chat.threadMaintenance.button":"Thread maintenance","chat.threadMaintenance.title":"Thread Maintenance","chat.threadMaintenance.missingContext":"No thread or assistant selected.","chat.threadMaintenance.loadFailed":"Failed to load thread maintenance data.","chat.threadMaintenance.copy":"Copy thread","chat.threadMaintenance.copySuccess":"Copied to thread {{id}}.","chat.threadMaintenance.switchToCopy":"Switch to copy","chat.threadMaintenance.copyFailed":"Failed to copy the thread.","chat.threadMaintenance.status":"Status","chat.threadMaintenance.pendingMessages":"Pending messages","chat.threadMaintenance.storage":"Storage","chat.threadMaintenance.checkpoints":"Checkpoints","chat.threadMaintenance.channelValues":"Channel values","chat.threadMaintenance.pendingWrites":"Pending writes","chat.threadMaintenance.interrupts":"Pending interrupts","chat.threadMaintenance.noInterrupts":"No pending interrupts.","chat.threadMaintenance.history":"Recent checkpoints","chat.threadMaintenance.noHistory":"No checkpoints","chat.threadMaintenance.checkpointId":"Checkpoint","chat.threadMaintenance.checkpointTime":"Created","chat.threadMaintenance.unknown":"Unknown","chat.threadMaintenance.viewState":"View state","chat.threadMaintenance.stateTitle":"Checkpoint state","chat.threadMaintenance.stateFailed":"Failed to load checkpoint state.","chat.threadMaintenance.loadingState":"Loading state\u2026","chat.threadMaintenance.pruneDelete":"Delete thread","chat.threadMaintenance.pruneDeleteTitle":"Delete thread","chat.threadMaintenance.pruneDeleteConfirm":"Delete this thread and its checkpoints?","chat.threadMaintenance.pruneKeepLatest":"Keep latest","chat.threadMaintenance.pruneKeepTitle":"Prune checkpoints","chat.threadMaintenance.pruneKeepConfirm":"Keep the latest {{count}} checkpoints?","chat.threadMaintenance.pruneFailed":"Thread maintenance failed.","chat.threadMaintenance.keepLabel":"Checkpoints to keep","chat.threadMaintenance.statusLoadFailed":"Failed to load thread status.","chat.threadMaintenance.storageLoadFailed":"Storage accounting is unavailable.","chat.threadMaintenance.historyLoadFailed":"Failed to load thread history.","chat.threadMaintenance.runs":"Runs","chat.threadMaintenance.noRuns":"No runs","chat.threadMaintenance.runStatus":"Status","chat.threadMaintenance.runId":"Run ID","chat.threadMaintenance.runCreated":"Created","chat.threadMaintenance.runOwner":"Owner / attempts","chat.threadMaintenance.interruptRun":"Interrupt","chat.threadMaintenance.rollbackRun":"Rollback","chat.threadMaintenance.interruptRunConfirm":"Interrupt this run?","chat.threadMaintenance.rollbackRunConfirm":"Roll back this run?","chat.threadMaintenance.runCancelFailed":"Failed to cancel the run.","chat.threadMaintenance.runsLoadFailed":"Failed to load runs.","chat.thread.createOptions.menuLabel":"Create with options\u2026","chat.thread.createOptions.open":"More create options","chat.thread.createOptions.title":"Create Thread with Options","chat.thread.createOptions.ttlLabel":"TTL (minutes)","chat.thread.createOptions.ttlPlaceholder":"No TTL","chat.thread.createOptions.ttlHint":"Empty or 0 means no expiry.","chat.thread.createOptions.superstepsLabel":"Supersteps JSON","chat.thread.createOptions.superstepsPlaceholder":'[{"updates":[{"values":{"messages":[]}}]}]',"chat.thread.createOptions.invalidSupersteps":"Supersteps must be an array of updates with object values.","chat.thread.createOptions.createFailed":"Failed to create thread.","chat.run.status.pending":"Queued","chat.run.status.running":"Running","chat.run.status.awaitingInput":"Waiting for your confirmation","chat.run.status.interrupted":"Interrupted","chat.run.status.timeout":"Timed out","chat.run.status.error":"Run failed","chat.run.elapsed":"{{seconds}}s","chat.run.cancel":"Cancel","chat.run.cancelFailed":"Failed to cancel. Try again.","chat.run.dismiss":"Dismiss","chat.run.error.quota":"This tenant is at capacity. Try again shortly.","chat.run.error.rejected":"This conversation is already running. Wait for the current reply.","chat.run.error.rollbackInProgress":"A rollback is still in progress. Try again shortly.","chat.run.error.unavailable":"The run queue is temporarily unavailable. Try again shortly.","chat.run.error.notFound":"This run no longer exists.","chat.run.error.joinTimeout":"The run is still in progress.","chat.run.error.affinity":"The run moved to another replica. Reconnect and try again.","chat.run.error.network":"Network connection failed. Check your connection and try again.","chat.run.error.stateIncompatible":"The runtime state is incompatible. Start a new conversation.","chat.run.error.generic":"The run failed. Try again later.","chat.messageRail.label":"Your messages","chat.messageRail.jump":"Jump to your message: {{preview}}"},n={messages:t};export{n as default,t as messages};
1
+ import"./embed-page-chunk-QBTAJ2YI.js";var t={"chat.empty.createConversationFirst":"Please create a conversation first","chat.empty.question":"Ready to turn data into insightful charts in seconds?","chat.empty.welcomePrefix":"Hey","chat.empty.userFallback":"there","chat.sender.attachments":"Attachments","chat.sender.uploadFile":"Upload File","chat.sender.rootDirectory":"Root Directory","chat.sender.filesUploading":"Files are still uploading...","chat.sender.uploadFailed":"{{name}} file upload failed.{{reason}}","chat.sender.fileTooLarge":"File must be smaller than {{max}}MB! {{name}} is too large.","chat.sender.thinking":"{{frame}} Thinking...","chat.sender.messagesWaiting":"{{count}} messages waiting...","chat.sender.placeholder":"Type / to see available skills, or @ to reference files","chat.sender.moreMatches":"...and {{count}} more \u2014 keep typing to narrow","chat.error.streamError":"Stream error","chat.error.hitlResponseRejected":"The agent did not accept this response. Please retry.","chat.error.interruptNotFound":"Unable to resolve the pending interrupt. Please retry.","chat.stop.superseded":"Response interrupted by a new message.","chat.stop.stopped":"Response stopped.","chat.layout.toggleMenu":"Toggle menu","chat.layout.closeDetail":"Close detail panel","chat.layout.closeTools":"Close tool panel","chat.menu.branding":"Menu","chat.menu.expandSidebar":"Expand sidebar","chat.menu.collapseSidebar":"Collapse sidebar","chat.menu.newThread":"New Thread","chat.agent.fallbackName":"Agent","chat.agent.selectTitle":"Select Agent","chat.agent.empty":"No agents available","chat.agent.search":"Search agents","chat.agent.noResults":"No matching agents","chat.agent.onboardingTitle":"Agent switching moved here","chat.agent.onboardingDescription":"Click this agent item to switch agents.","chat.agent.onboardingGotIt":"Got it","chat.model.label":"Model","chat.model.placeholder":"Model","chat.model.empty":"No models available","chat.budget.hint":"Run effort budget","chat.budget.turns":"~{{count}} turns","chat.budget.current":"Run effort: {{level}}","chat.budget.low":"Low","chat.budget.lowDescription":"Light task","chat.budget.medium":"Medium","chat.budget.mediumDescription":"Standard task","chat.budget.high":"High","chat.budget.highDescription":"Multi-step task","chat.budget.max":"Max","chat.budget.maxDescription":"Long task","chat.workspace.selectPlaceholder":"Workspace","chat.workspace.selectTitle":"Select Workspace","chat.project.selectPlaceholder":"Project","chat.project.selectTitle":"Select Project","chat.project.empty":"No projects","chat.project.nameRequired":"Project name is required","chat.project.nameTooLong":"Name must be {{max}} characters or less","chat.project.selectWorkspaceFirst":"Please select a workspace first","chat.project.created":'Project "{{name}}" created',"chat.project.createFailed":"Failed to create project","chat.project.createTitle":"Create New Project","chat.project.namePlaceholder":"Enter project name","chat.thread.create":"Create New Conversation","chat.thread.createFailed":"Failed to create new thread","chat.thread.history":"Conversation History","chat.thread.refreshHistory":"Refresh Conversation History","chat.thread.searchPlaceholder":"Search conversations\u2026","chat.thread.sortName":"Name","chat.thread.sortUpdated":"Updated","chat.thread.sortCreated":"Created","chat.thread.sortAscending":"Ascending","chat.thread.sortDescending":"Descending","chat.thread.loading":"Loading conversations...","chat.thread.noMatch":'No conversations match "{{query}}"',"chat.thread.empty":"No conversations yet","chat.thread.nameLabel":"Conversation name","chat.thread.status.idle":"Idle","chat.thread.status.busy":"Working","chat.thread.status.interrupted":"Interrupted","chat.thread.status.error":"Error","chat.thread.saveName":"Save name","chat.thread.cancelRename":"Cancel rename","chat.thread.rename":"Rename conversation","chat.thread.renamed":"Conversation renamed","chat.thread.renameFailed":"Failed to rename conversation","chat.thread.delete":"Delete conversation","chat.thread.deleteTitle":"Delete Conversation","chat.thread.deleteConfirm":"Are you sure you want to delete this conversation? This action cannot be undone.","chat.thread.deleted":"Conversation deleted","chat.thread.deleteFailed":"Failed to delete conversation","chat.pin.pin":"Pin to Menu","chat.pin.unpin":"Unpin from Menu","chat.pin.pinTitle":"Pin to Menu","chat.pin.enterName":"Please enter a menu name","chat.pin.pinned":"Pinned to menu","chat.pin.unpinned":"Unpinned from menu","chat.pin.pinFailed":"Failed to pin to menu","chat.pin.unpinFailed":"Failed to unpin from menu","chat.pin.namePlaceholder":"Menu name (required)","chat.pin.groupPlaceholder":"Group (optional, select or type new)","chat.sideApp.unnamed":"Unnamed","chat.sideApp.allTabs":"All tabs","chat.sideApp.close":"Close","chat.sideApp.empty":"Select an app to start","chat.sideApp.componentNotFound":"Component view not found","chat.todo.title":"Todos","chat.todo.noTasks":"No tasks","chat.todo.inProgress":"{{count}} in progress","chat.todo.completed":"{{count}} completed","chat.todo.progressTooltip":"{{completed}} / {{total}} tasks completed","chat.task.title":"Tasks","chat.task.noTasks":"No tasks","chat.task.inProgress":"{{count}} in progress","chat.task.completed":"{{count}} completed","chat.task.progressTooltip":"{{completed}} / {{total}} tasks completed","chat.customMenu.invalid":"Invalid menu item","chat.customMenu.empty":"(empty)","chat.customMenu.htmlPage":"Custom HTML Page","chat.customMenu.componentNotFound":'Component "{{name}}" not found',"chat.customMenu.invalidMcpApp":"Invalid MCP App menu item","chat.customMenu.unknownType":"Unknown content type: {{type}}","chat.customMenu.fileFallback":"File","chat.file.changed":"File Changed","chat.file.explorer":"File Explorer","chat.file.count":"{{count}} files","chat.copilot.agentBuilder":"Agent Builder","chat.copilot.viewing":"Viewing: {{name}}","chat.copilot.close":"Close copilot","chat.copilot.selectWorkflow":"Select a workflow to start","chat.environment.title":"Environment","chat.environment.tools":"Tools","chat.environment.capabilities":"Capabilities","chat.environment.subAgents":"Sub-agents","chat.environment.runtime":"Runtime","chat.environment.model":"Model: {{model}}","chat.environment.db":"DB: {{db}}","chat.environment.skills":"Skills: {{skills}}","chat.environment.channels":"Channels","chat.environment.noChannels":"No channels configured","chat.viewToggle.chat":"Chat","chat.viewToggle.graph":"Execution","chat.viewToggle.aria":"Switch view","chat.trace.backToCurrent":"Back to current","chat.trace.collapseOlder":"Collapse older","chat.trace.expandAll":"Expand all","chat.trace.parallelBadge":"Parallel \xD7{{count}}","chat.trace.jumpToChat":"Chat","chat.trace.phase.understand":"Understand & plan","chat.trace.phase.act":"Execute","chat.trace.phase.delegate":"Delegate","chat.trace.phase.answer":"Answer","chat.trace.phase.earlier":"Earlier","chat.trace.node.human":"User","chat.trace.summary.steps":"{{count}} steps","chat.trace.summary.steps_one":"{{count}} step","chat.trace.summary.steps_other":"{{count}} steps","chat.menu.history":"History","chat.error.resumeStreamError":"Resume stream error","chat.error.copySucceeded":"Error details copied","chat.error.copyFailed":"Failed to copy","chat.error.sectionFallback":"this section","chat.error.renderFailed":"Failed to render {{label}}","chat.error.details":"Error details","chat.error.copyDetails":"Copy Details","chat.error.boundary.sidebar":"Sidebar","chat.error.boundary.chatPanel":"Chat panel","chat.error.boundary.detailPanel":"Detail panel","chat.error.boundary.toolsPanel":"Tools panel","chat.error.boundary.thread":"Thread","chat.error.boundary.chatShell":"Chat shell","chat.agent.defaultName":"AI Assistant","chat.file.toggleDirectory":"Toggle file directory","chat.conversation.creating":"Creating conversation...","chat.tools.loading":"Loading tools...","chat.skills.loading":"Loading skills...","chat.schedule.none":"No schedules","chat.schedule.scheduledCount":"{{count}} scheduled","chat.schedule.totalCount":"{{count}} total","chat.topology.outgoing":"{{count}} out","chat.topology.incoming":"{{count}} in","chat.config.executableRequired":"Choose a template or enter a custom executable","chat.voice.unavailable":"Voice input unavailable: No STT model configured","chat.voice.transcribing":"Transcribing...","chat.voice.retryHint":"Transcription failed, tap to retry","chat.voice.rerecordHint":"Tap to re-record","chat.voice.stopRecordingAuto":"Stop recording ({{seconds}}s, {{segments}} segments transcribed)","chat.voice.stopRecording":"Stop recording ({{seconds}}s)","chat.voice.start":"Start voice input","chat.voice.noModel":"No STT model configured","chat.voice.uploading":"Uploading...","chat.voice.modeAuto":"Auto","chat.voice.modeManual":"Manual","chat.voice.segments":"{{count}} segments","chat.voice.segments_one":"{{count}} segment","chat.voice.segments_other":"{{count}} segments","chat.voice.recordingStatus":"{{mode}} mode, recording {{time}}{{chunks}} \u2014 tap to stop","chat.voice.errNotSupported":"Voice input not supported. Use Chrome, Edge, or Safari.","chat.voice.errFormatNotSupported":"Audio recording format not supported in this browser.","chat.voice.errRecordingFailed":"Recording failed, please try again.","chat.voice.errRecordInitFailed":"Recording initialization failed.","chat.voice.errMicPermission":"Please allow microphone access in browser settings","chat.voice.errMicAccess":"Cannot access microphone","chat.voice.errStopTimeout":"Stop recording timed out","chat.voice.errTranscribeFailed":"Transcription failed","chat.voice.errRetryFailed":"Retry failed","chat.analysis.quickTitle":"Quick Analysis","chat.analysis.categoriesTitle":"Analysis Categories","chat.analysis.viewMore":"View more analysis options","chat.analysis.category.sales":"Sales Analysis","chat.analysis.category.financial":"Financial Analysis","chat.analysis.category.operations":"Operations Analysis","chat.analysis.sales.comprehensive.label":"Comprehensive Sales Analysis","chat.analysis.sales.comprehensive.description":"Analyze sales revenue by specified dimensions with trend analysis and growth opportunities","chat.analysis.sales.performance.label":"Sales Performance Analysis","chat.analysis.sales.performance.description":"Aggregate omni-channel sales, evaluate performance achievement rate, and compare with historical growth","chat.analysis.sales.topCustomers.label":"Top Customer Analysis","chat.analysis.sales.topCustomers.description":"Identify top 10% customers by sales volume, analyze their purchase preferences and churn risks","chat.analysis.sales.trend.label":"Sales Trend Analysis","chat.analysis.sales.trend.description":"Analyze sales peaks and troughs through time series, forecast sales trends for the next quarter","chat.analysis.sales.repPerformance.label":"Sales Representative Performance","chat.analysis.sales.repPerformance.description":"Quantitatively evaluate conversion rates, average order value, and contract fulfillment efficiency of each sales representative","chat.analysis.sales.regional.label":"Regional Sales Comparison","chat.analysis.sales.regional.description":"Compare sales penetration across different geographic regions, identify markets with abnormal performance","chat.analysis.sales.productVolume.label":"Product Volume Analysis","chat.analysis.sales.productVolume.description":"Count sales quantities of each SKU, identify best-selling products and slow-moving inventory","chat.analysis.financial.grossMargin.label":"Product Line Gross Margin Analysis","chat.analysis.financial.grossMargin.description":"Compare gross margin levels across product lines, identify high-margin contributors and loss-making businesses","chat.analysis.financial.customerProfitability.label":"Customer Profitability Analysis","chat.analysis.financial.customerProfitability.description":"Analyze net profit contribution by different customer dimensions, identify core high-quality customers and high-service-cost customers","chat.analysis.financial.monthlyReport.label":"Monthly Financial Report","chat.analysis.financial.monthlyReport.description":"Based on this month's accounting data, automatically generate income statement, balance sheet, and cash flow statement summaries","chat.analysis.financial.ratio.label":"Financial Ratio Analysis","chat.analysis.financial.ratio.description":"Calculate and analyze key indicators such as current ratio, debt-to-asset ratio, and ROE to assess company financial health","chat.analysis.financial.cashflow.label":"Cash Flow Analysis","chat.analysis.financial.cashflow.description":"Track cash flows from operating, investing, and financing activities, analyze reasons for changes in net cash flow","chat.analysis.financial.costStructure.label":"Cost Structure Analysis","chat.analysis.financial.costStructure.description":"Break down direct costs and indirect expenses of products or services, identify core drivers affecting total costs","chat.analysis.operations.supplierEvaluation.label":"Supplier Performance Evaluation","chat.analysis.operations.supplierEvaluation.description":"Based on delivery quality, response speed, and price competitiveness, conduct comprehensive rating of core suppliers","chat.analysis.operations.inventoryTurnover.label":"Inventory Turnover Analysis","chat.analysis.operations.inventoryTurnover.description":"Calculate inventory turnover rate and days, identify slow-moving inventory materials to release capital","chat.analysis.operations.deliveryOntime.label":"On-Time Delivery Analysis","chat.analysis.operations.deliveryOntime.description":"Count order lead time from placement to delivery, analyze core links causing delayed deliveries","chat.analysis.operations.procurementCost.label":"Procurement Cost Analysis","chat.analysis.operations.procurementCost.description":"Monitor raw material procurement price fluctuations, analyze impact of procurement premiums or savings on profit","chat.analysis.operations.productionEfficiency.label":"Production Efficiency Analysis","chat.analysis.operations.productionEfficiency.description":"Calculate Overall Equipment Effectiveness (OEE) or per capita output, identify efficiency bottlenecks on production lines","chat.analysis.operations.orderFulfillment.label":"Order Fulfillment Analysis","chat.analysis.operations.orderFulfillment.description":"Analyze the full process from order receipt to final delivery, optimize order processing response time","chat.skillCategory.businessAnalysis":"Business Analysis","chat.skillCategory.codeGeneration":"Code Generation","chat.skillCategory.documentProcessing":"Document Processing","chat.skillCategory.dataAnalysis":"Data Analysis","chat.skillCategory.toolOperations":"Tool Operations","chat.skillCategory.general":"General Skills","chat.skillCategory.global":"Global Skills","chat.skillCategory.viewMore":"View more skill categories","chat.skillCategory.quickActions":"\u2728 Quick actions","chat.threadMaintenance.button":"Thread maintenance","chat.threadMaintenance.title":"Thread Maintenance","chat.threadMaintenance.missingContext":"No thread or assistant selected.","chat.threadMaintenance.loadFailed":"Failed to load thread maintenance data.","chat.threadMaintenance.copy":"Copy thread","chat.threadMaintenance.copySuccess":"Copied to thread {{id}}.","chat.threadMaintenance.switchToCopy":"Switch to copy","chat.threadMaintenance.copyFailed":"Failed to copy the thread.","chat.threadMaintenance.status":"Status","chat.threadMaintenance.pendingMessages":"Pending messages","chat.threadMaintenance.storage":"Storage","chat.threadMaintenance.checkpoints":"Checkpoints","chat.threadMaintenance.channelValues":"Channel values","chat.threadMaintenance.pendingWrites":"Pending writes","chat.threadMaintenance.interrupts":"Pending interrupts","chat.threadMaintenance.noInterrupts":"No pending interrupts.","chat.threadMaintenance.history":"Recent checkpoints","chat.threadMaintenance.noHistory":"No checkpoints","chat.threadMaintenance.checkpointId":"Checkpoint","chat.threadMaintenance.checkpointTime":"Created","chat.threadMaintenance.unknown":"Unknown","chat.threadMaintenance.viewState":"View state","chat.threadMaintenance.stateTitle":"Checkpoint state","chat.threadMaintenance.stateFailed":"Failed to load checkpoint state.","chat.threadMaintenance.loadingState":"Loading state\u2026","chat.threadMaintenance.pruneDelete":"Delete thread","chat.threadMaintenance.pruneDeleteTitle":"Delete thread","chat.threadMaintenance.pruneDeleteConfirm":"Delete this thread and its checkpoints?","chat.threadMaintenance.pruneKeepLatest":"Keep latest","chat.threadMaintenance.pruneKeepTitle":"Prune checkpoints","chat.threadMaintenance.pruneKeepConfirm":"Keep the latest {{count}} checkpoints?","chat.threadMaintenance.pruneFailed":"Thread maintenance failed.","chat.threadMaintenance.keepLabel":"Checkpoints to keep","chat.threadMaintenance.statusLoadFailed":"Failed to load thread status.","chat.threadMaintenance.storageLoadFailed":"Storage accounting is unavailable.","chat.threadMaintenance.historyLoadFailed":"Failed to load thread history.","chat.threadMaintenance.runs":"Runs","chat.threadMaintenance.noRuns":"No runs","chat.threadMaintenance.runStatus":"Status","chat.threadMaintenance.runId":"Run ID","chat.threadMaintenance.runCreated":"Created","chat.threadMaintenance.runOwner":"Owner / attempts","chat.threadMaintenance.interruptRun":"Interrupt","chat.threadMaintenance.rollbackRun":"Rollback","chat.threadMaintenance.interruptRunConfirm":"Interrupt this run?","chat.threadMaintenance.rollbackRunConfirm":"Roll back this run?","chat.threadMaintenance.runCancelFailed":"Failed to cancel the run.","chat.threadMaintenance.runsLoadFailed":"Failed to load runs.","chat.thread.createOptions.menuLabel":"Create with options\u2026","chat.thread.createOptions.open":"More create options","chat.thread.createOptions.title":"Create Thread with Options","chat.thread.createOptions.ttlLabel":"TTL (minutes)","chat.thread.createOptions.ttlPlaceholder":"No TTL","chat.thread.createOptions.ttlHint":"Empty or 0 means no expiry.","chat.thread.createOptions.superstepsLabel":"Supersteps JSON","chat.thread.createOptions.superstepsPlaceholder":'[{"updates":[{"values":{"messages":[]}}]}]',"chat.thread.createOptions.invalidSupersteps":"Supersteps must be an array of updates with object values.","chat.thread.createOptions.createFailed":"Failed to create thread.","chat.run.status.pending":"Queued","chat.run.status.running":"Running","chat.run.status.awaitingInput":"Waiting for your confirmation","chat.run.status.interrupted":"Interrupted","chat.run.status.timeout":"Timed out","chat.run.status.error":"Run failed","chat.run.elapsed":"{{seconds}}s","chat.run.cancel":"Cancel","chat.run.cancelFailed":"Failed to cancel. Try again.","chat.run.dismiss":"Dismiss","chat.run.error.quota":"This tenant is at capacity. Try again shortly.","chat.run.error.rejected":"This conversation is already running. Wait for the current reply.","chat.run.error.rollbackInProgress":"A rollback is still in progress. Try again shortly.","chat.run.error.unavailable":"The run queue is temporarily unavailable. Try again shortly.","chat.run.error.notFound":"This run no longer exists.","chat.run.error.joinTimeout":"The run is still in progress.","chat.run.error.affinity":"The run moved to another replica. Reconnect and try again.","chat.run.error.network":"Network connection failed. Check your connection and try again.","chat.run.error.stateIncompatible":"The runtime state is incompatible. Start a new conversation.","chat.run.error.generic":"The run failed. Try again later.","chat.messageRail.label":"Your messages","chat.messageRail.jump":"Jump to your message: {{preview}}","chat.run.status.queued":"{{count}} queued","chat.queue.count":"{{count}} queued","chat.queue.queued":"Queued message","chat.queue.cancel":"Remove queued message","chat.queue.cancelFailed":"Could not remove the queued message"},n={messages:t};export{n as default,t as messages};
@@ -1 +1 @@
1
- import"./embed-page-chunk-QBTAJ2YI.js";var t={"chat.empty.createConversationFirst":"\u8BF7\u5148\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8BDD","chat.empty.question":"\u51C6\u5907\u597D\u51E0\u79D2\u5185\u628A\u6570\u636E\u53D8\u6210\u6709\u6D1E\u5BDF\u529B\u7684\u56FE\u8868\u4E86\u5417\uFF1F","chat.empty.welcomePrefix":"\u4F60\u597D","chat.empty.userFallback":"\u670B\u53CB","chat.sender.attachments":"\u9644\u4EF6","chat.sender.uploadFile":"\u4E0A\u4F20\u6587\u4EF6","chat.sender.rootDirectory":"\u6839\u76EE\u5F55","chat.sender.filesUploading":"\u6587\u4EF6\u4ECD\u5728\u4E0A\u4F20\u4E2D\u2026","chat.sender.uploadFailed":"{{name}} \u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\u3002{{reason}}","chat.sender.fileTooLarge":"\u6587\u4EF6\u5FC5\u987B\u5C0F\u4E8E {{max}}MB\uFF01{{name}} \u8FC7\u5927\u3002","chat.sender.thinking":"{{frame}} \u601D\u8003\u4E2D\u2026","chat.sender.messagesWaiting":"{{count}} \u6761\u6D88\u606F\u7B49\u5F85\u4E2D\u2026","chat.sender.placeholder":"\u8F93\u5165 / \u67E5\u770B\u53EF\u7528\u6280\u80FD\uFF0C\u6216\u8F93\u5165 @ \u5F15\u7528\u6587\u4EF6","chat.sender.moreMatches":"\u2026\u8FD8\u6709 {{count}} \u4E2A\u5339\u914D\u9879 \u2014 \u7EE7\u7EED\u8F93\u5165\u4EE5\u7F29\u5C0F\u8303\u56F4","chat.error.streamError":"\u6D41\u5F0F\u4F20\u8F93\u9519\u8BEF","chat.error.hitlResponseRejected":"\u667A\u80FD\u4F53\u672A\u63A5\u53D7\u8BE5\u54CD\u5E94\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.error.interruptNotFound":"\u65E0\u6CD5\u89E3\u6790\u5F85\u5904\u7406\u7684\u4E2D\u65AD\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.stop.superseded":"\u54CD\u5E94\u5DF2\u88AB\u65B0\u6D88\u606F\u6253\u65AD\u3002","chat.stop.stopped":"\u54CD\u5E94\u5DF2\u505C\u6B62\u3002","chat.layout.toggleMenu":"\u5207\u6362\u83DC\u5355","chat.layout.closeDetail":"\u5173\u95ED\u8BE6\u60C5\u9762\u677F","chat.layout.closeTools":"\u5173\u95ED\u5DE5\u5177\u9762\u677F","chat.menu.branding":"\u83DC\u5355","chat.menu.expandSidebar":"\u5C55\u5F00\u4FA7\u8FB9\u680F","chat.menu.collapseSidebar":"\u6536\u8D77\u4FA7\u8FB9\u680F","chat.menu.newThread":"\u65B0\u5EFA\u4F1A\u8BDD","chat.agent.fallbackName":"\u667A\u80FD\u4F53","chat.agent.selectTitle":"\u9009\u62E9\u667A\u80FD\u4F53","chat.agent.empty":"\u6682\u65E0\u53EF\u7528\u667A\u80FD\u4F53","chat.agent.search":"\u641C\u7D22\u667A\u80FD\u4F53","chat.agent.noResults":"\u6CA1\u6709\u5339\u914D\u7684\u667A\u80FD\u4F53","chat.agent.onboardingTitle":"Agent \u5207\u6362\u8FC1\u79FB\u5230\u8FD9\u91CC","chat.agent.onboardingDescription":"\u70B9\u51FB\u8FD9\u4E2A Agent \u9879\u5373\u53EF\u5207\u6362 Agent\u3002","chat.agent.onboardingGotIt":"\u77E5\u9053\u4E86","chat.model.label":"\u6A21\u578B","chat.model.placeholder":"\u6A21\u578B","chat.model.empty":"\u6682\u65E0\u53EF\u7528\u6A21\u578B","chat.budget.hint":"\u672C\u8F6E\u6267\u884C\u9884\u7B97","chat.budget.turns":"\u7EA6 {{count}} \u8F6E","chat.budget.current":"\u672C\u8F6E\u6267\u884C\u9884\u7B97\uFF1A{{level}}","chat.budget.low":"\u5C0F","chat.budget.lowDescription":"\u8F7B\u91CF\u4EFB\u52A1","chat.budget.medium":"\u4E2D","chat.budget.mediumDescription":"\u5E38\u89C4\u4EFB\u52A1","chat.budget.high":"\u9AD8","chat.budget.highDescription":"\u591A\u6B65\u9AA4\u4EFB\u52A1","chat.budget.max":"\u6700\u5927","chat.budget.maxDescription":"\u957F\u4EFB\u52A1","chat.workspace.selectPlaceholder":"\u5DE5\u4F5C\u533A","chat.workspace.selectTitle":"\u9009\u62E9\u5DE5\u4F5C\u533A","chat.project.selectPlaceholder":"\u9879\u76EE","chat.project.selectTitle":"\u9009\u62E9\u9879\u76EE","chat.project.empty":"\u6682\u65E0\u9879\u76EE","chat.project.nameRequired":"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0","chat.project.nameTooLong":"\u540D\u79F0\u4E0D\u5F97\u8D85\u8FC7 {{max}} \u4E2A\u5B57\u7B26","chat.project.selectWorkspaceFirst":"\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u5DE5\u4F5C\u533A","chat.project.created":"\u9879\u76EE\u300C{{name}}\u300D\u5DF2\u521B\u5EFA","chat.project.createFailed":"\u521B\u5EFA\u9879\u76EE\u5931\u8D25","chat.project.createTitle":"\u65B0\u5EFA\u9879\u76EE","chat.project.namePlaceholder":"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0","chat.thread.create":"\u65B0\u5EFA\u5BF9\u8BDD","chat.thread.createFailed":"\u65B0\u5EFA\u4F1A\u8BDD\u5931\u8D25","chat.thread.history":"\u5386\u53F2\u5BF9\u8BDD","chat.thread.refreshHistory":"\u5237\u65B0\u5386\u53F2\u5BF9\u8BDD","chat.thread.searchPlaceholder":"\u641C\u7D22\u5BF9\u8BDD\u2026","chat.thread.sortName":"\u540D\u79F0","chat.thread.sortUpdated":"\u66F4\u65B0\u65F6\u95F4","chat.thread.sortCreated":"\u521B\u5EFA\u65F6\u95F4","chat.thread.sortAscending":"\u5347\u5E8F","chat.thread.sortDescending":"\u964D\u5E8F","chat.thread.loading":"\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD\u2026","chat.thread.noMatch":"\u6CA1\u6709\u4E0E\u300C{{query}}\u300D\u5339\u914D\u7684\u5BF9\u8BDD","chat.thread.empty":"\u6682\u65E0\u5BF9\u8BDD","chat.thread.nameLabel":"\u5BF9\u8BDD\u540D\u79F0","chat.thread.status.idle":"\u7A7A\u95F2","chat.thread.status.busy":"\u8FD0\u884C\u4E2D","chat.thread.status.interrupted":"\u5DF2\u4E2D\u65AD","chat.thread.status.error":"\u9519\u8BEF","chat.thread.saveName":"\u4FDD\u5B58\u540D\u79F0","chat.thread.cancelRename":"\u53D6\u6D88\u91CD\u547D\u540D","chat.thread.rename":"\u91CD\u547D\u540D\u5BF9\u8BDD","chat.thread.renamed":"\u5BF9\u8BDD\u5DF2\u91CD\u547D\u540D","chat.thread.renameFailed":"\u91CD\u547D\u540D\u5BF9\u8BDD\u5931\u8D25","chat.thread.delete":"\u5220\u9664\u5BF9\u8BDD","chat.thread.deleteTitle":"\u5220\u9664\u5BF9\u8BDD","chat.thread.deleteConfirm":"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u5BF9\u8BDD\u5417\uFF1F\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002","chat.thread.deleted":"\u5BF9\u8BDD\u5DF2\u5220\u9664","chat.thread.deleteFailed":"\u5220\u9664\u5BF9\u8BDD\u5931\u8D25","chat.pin.pin":"\u56FA\u5B9A\u5230\u83DC\u5355","chat.pin.unpin":"\u4ECE\u83DC\u5355\u53D6\u6D88\u56FA\u5B9A","chat.pin.pinTitle":"\u56FA\u5B9A\u5230\u83DC\u5355","chat.pin.enterName":"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0","chat.pin.pinned":"\u5DF2\u56FA\u5B9A\u5230\u83DC\u5355","chat.pin.unpinned":"\u5DF2\u4ECE\u83DC\u5355\u53D6\u6D88\u56FA\u5B9A","chat.pin.pinFailed":"\u56FA\u5B9A\u5230\u83DC\u5355\u5931\u8D25","chat.pin.unpinFailed":"\u4ECE\u83DC\u5355\u53D6\u6D88\u56FA\u5B9A\u5931\u8D25","chat.pin.namePlaceholder":"\u83DC\u5355\u540D\u79F0\uFF08\u5FC5\u586B\uFF09","chat.pin.groupPlaceholder":"\u5206\u7EC4\uFF08\u53EF\u9009\uFF0C\u53EF\u9009\u62E9\u6216\u8F93\u5165\u65B0\u5206\u7EC4\uFF09","chat.sideApp.unnamed":"\u672A\u547D\u540D","chat.sideApp.allTabs":"\u6240\u6709\u6807\u7B7E\u9875","chat.sideApp.close":"\u5173\u95ED","chat.sideApp.empty":"\u9009\u62E9\u4E00\u4E2A\u5E94\u7528\u5F00\u59CB\u4F7F\u7528","chat.sideApp.componentNotFound":"\u672A\u627E\u5230\u7EC4\u4EF6\u89C6\u56FE","chat.todo.title":"\u5F85\u529E","chat.todo.noTasks":"\u6682\u65E0\u4EFB\u52A1","chat.todo.inProgress":"{{count}} \u9879\u8FDB\u884C\u4E2D","chat.todo.completed":"\u5DF2\u5B8C\u6210 {{count}} \u9879","chat.todo.progressTooltip":"\u5DF2\u5B8C\u6210 {{completed}} / {{total}} \u9879\u4EFB\u52A1","chat.task.title":"\u4EFB\u52A1","chat.task.noTasks":"\u6682\u65E0\u4EFB\u52A1","chat.task.inProgress":"{{count}} \u9879\u8FDB\u884C\u4E2D","chat.task.completed":"\u5DF2\u5B8C\u6210 {{count}} \u9879","chat.task.progressTooltip":"\u5DF2\u5B8C\u6210 {{completed}} / {{total}} \u9879\u4EFB\u52A1","chat.customMenu.invalid":"\u65E0\u6548\u7684\u83DC\u5355\u9879","chat.customMenu.empty":"\uFF08\u7A7A\uFF09","chat.customMenu.htmlPage":"\u81EA\u5B9A\u4E49 HTML \u9875\u9762","chat.customMenu.componentNotFound":"\u672A\u627E\u5230\u7EC4\u4EF6\u300C{{name}}\u300D","chat.customMenu.invalidMcpApp":"\u65E0\u6548\u7684 MCP \u5E94\u7528\u83DC\u5355\u9879","chat.customMenu.unknownType":"\u672A\u77E5\u7684\u5185\u5BB9\u7C7B\u578B\uFF1A{{type}}","chat.customMenu.fileFallback":"\u6587\u4EF6","chat.file.changed":"\u6587\u4EF6\u5DF2\u53D8\u66F4","chat.file.explorer":"\u6587\u4EF6\u6D4F\u89C8\u5668","chat.file.count":"{{count}} \u4E2A\u6587\u4EF6","chat.copilot.agentBuilder":"\u667A\u80FD\u4F53\u6784\u5EFA\u5668","chat.copilot.viewing":"\u6B63\u5728\u67E5\u770B\uFF1A{{name}}","chat.copilot.close":"\u5173\u95ED\u526F\u9A7E\u9A76","chat.copilot.selectWorkflow":"\u9009\u62E9\u4E00\u4E2A\u5DE5\u4F5C\u6D41\u5F00\u59CB","chat.environment.title":"\u8FD0\u884C\u73AF\u5883","chat.environment.tools":"\u5DE5\u5177","chat.environment.capabilities":"\u80FD\u529B","chat.environment.subAgents":"\u5B50\u667A\u80FD\u4F53","chat.environment.runtime":"\u8FD0\u884C\u65F6","chat.environment.model":"\u6A21\u578B\uFF1A{{model}}","chat.environment.db":"\u6570\u636E\u5E93\uFF1A{{db}}","chat.environment.skills":"\u6280\u80FD\uFF1A{{skills}}","chat.environment.channels":"\u6E20\u9053","chat.environment.noChannels":"\u672A\u914D\u7F6E\u6E20\u9053","chat.viewToggle.chat":"\u5BF9\u8BDD","chat.viewToggle.graph":"\u6267\u884C\u8FC7\u7A0B","chat.viewToggle.aria":"\u89C6\u56FE\u5207\u6362","chat.trace.backToCurrent":"\u56DE\u5230\u5F53\u524D","chat.trace.collapseOlder":"\u6536\u8D77\u66F4\u65E9","chat.trace.expandAll":"\u5C55\u5F00\u5168\u90E8","chat.trace.parallelBadge":"\u5E76\u53D1 \xD7{{count}}","chat.trace.jumpToChat":"\u5BF9\u8BDD","chat.trace.phase.understand":"\u7406\u89E3\u4E0E\u89C4\u5212","chat.trace.phase.act":"\u6267\u884C","chat.trace.phase.delegate":"\u59D4\u6D3E","chat.trace.phase.answer":"\u56DE\u7B54","chat.trace.phase.earlier":"\u66F4\u65E9","chat.trace.node.human":"\u7528\u6237","chat.trace.summary.steps":"{{count}} \u4E2A\u6B65\u9AA4","chat.trace.summary.steps_one":"{{count}} \u4E2A\u6B65\u9AA4","chat.trace.summary.steps_other":"{{count}} \u4E2A\u6B65\u9AA4","chat.menu.history":"\u5386\u53F2","chat.error.resumeStreamError":"\u6062\u590D\u6D41\u5F0F\u4F20\u8F93\u9519\u8BEF","chat.error.copySucceeded":"\u5DF2\u590D\u5236\u9519\u8BEF\u8BE6\u60C5","chat.error.copyFailed":"\u590D\u5236\u5931\u8D25","chat.error.sectionFallback":"\u6B64\u533A\u57DF","chat.error.renderFailed":"\u6E32\u67D3 {{label}} \u5931\u8D25","chat.error.details":"\u9519\u8BEF\u8BE6\u60C5","chat.error.copyDetails":"\u590D\u5236\u8BE6\u60C5","chat.error.boundary.sidebar":"\u4FA7\u8FB9\u680F","chat.error.boundary.chatPanel":"\u5BF9\u8BDD\u9762\u677F","chat.error.boundary.detailPanel":"\u8BE6\u60C5\u9762\u677F","chat.error.boundary.toolsPanel":"\u5DE5\u5177\u9762\u677F","chat.error.boundary.thread":"\u4F1A\u8BDD","chat.error.boundary.chatShell":"\u5BF9\u8BDD\u5916\u58F3","chat.agent.defaultName":"AI \u52A9\u624B","chat.file.toggleDirectory":"\u5207\u6362\u6587\u4EF6\u76EE\u5F55","chat.conversation.creating":"\u6B63\u5728\u521B\u5EFA\u5BF9\u8BDD\u2026","chat.tools.loading":"\u6B63\u5728\u52A0\u8F7D\u5DE5\u5177\u2026","chat.skills.loading":"\u6B63\u5728\u52A0\u8F7D\u6280\u80FD\u2026","chat.schedule.none":"\u6682\u65E0\u5B9A\u65F6\u4EFB\u52A1","chat.schedule.scheduledCount":"\u5DF2\u5B89\u6392 {{count}} \u9879","chat.schedule.totalCount":"\u5171 {{count}} \u9879","chat.topology.outgoing":"{{count}} \u51FA","chat.topology.incoming":"{{count}} \u5165","chat.config.executableRequired":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u6A21\u677F\u6216\u8F93\u5165\u81EA\u5B9A\u4E49\u53EF\u6267\u884C\u6587\u4EF6","chat.voice.unavailable":"\u8BED\u97F3\u8F93\u5165\u4E0D\u53EF\u7528\uFF1A\u672A\u914D\u7F6E STT \u6A21\u578B","chat.voice.transcribing":"\u8F6C\u5F55\u4E2D\u2026","chat.voice.retryHint":"\u8F6C\u5F55\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5","chat.voice.rerecordHint":"\u70B9\u51FB\u91CD\u65B0\u5F55\u5236","chat.voice.stopRecordingAuto":"\u505C\u6B62\u5F55\u5236\uFF08{{seconds}} \u79D2\uFF0C\u5DF2\u8F6C\u5F55 {{segments}} \u6BB5\uFF09","chat.voice.stopRecording":"\u505C\u6B62\u5F55\u5236\uFF08{{seconds}} \u79D2\uFF09","chat.voice.start":"\u5F00\u59CB\u8BED\u97F3\u8F93\u5165","chat.voice.noModel":"\u672A\u914D\u7F6E STT \u6A21\u578B","chat.voice.uploading":"\u4E0A\u4F20\u4E2D\u2026","chat.voice.modeAuto":"\u81EA\u52A8","chat.voice.modeManual":"\u624B\u52A8","chat.voice.segments":"{{count}} \u6BB5","chat.voice.segments_one":"{{count}} \u6BB5","chat.voice.segments_other":"{{count}} \u6BB5","chat.voice.recordingStatus":"{{mode}}\u6A21\u5F0F\uFF0C\u5F55\u5236\u4E2D {{time}}{{chunks}} \u2014 \u70B9\u51FB\u505C\u6B62","chat.voice.errNotSupported":"\u4E0D\u652F\u6301\u8BED\u97F3\u8F93\u5165\uFF0C\u8BF7\u4F7F\u7528 Chrome\u3001Edge \u6216 Safari\u3002","chat.voice.errFormatNotSupported":"\u6B64\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u8BE5\u97F3\u9891\u5F55\u5236\u683C\u5F0F\u3002","chat.voice.errRecordingFailed":"\u5F55\u5236\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.voice.errRecordInitFailed":"\u5F55\u5236\u521D\u59CB\u5316\u5931\u8D25\u3002","chat.voice.errMicPermission":"\u8BF7\u5728\u6D4F\u89C8\u5668\u8BBE\u7F6E\u4E2D\u5141\u8BB8\u9EA6\u514B\u98CE\u6743\u9650","chat.voice.errMicAccess":"\u65E0\u6CD5\u8BBF\u95EE\u9EA6\u514B\u98CE","chat.voice.errStopTimeout":"\u505C\u6B62\u5F55\u5236\u8D85\u65F6","chat.voice.errTranscribeFailed":"\u8F6C\u5F55\u5931\u8D25","chat.voice.errRetryFailed":"\u91CD\u8BD5\u5931\u8D25","chat.analysis.quickTitle":"\u5FEB\u901F\u5206\u6790","chat.analysis.categoriesTitle":"\u5206\u6790\u7C7B\u522B","chat.analysis.viewMore":"\u67E5\u770B\u66F4\u591A\u5206\u6790\u9009\u9879","chat.analysis.category.sales":"\u9500\u552E\u5206\u6790","chat.analysis.category.financial":"\u8D22\u52A1\u5206\u6790","chat.analysis.category.operations":"\u8FD0\u8425\u5206\u6790","chat.analysis.sales.comprehensive.label":"\u7EFC\u5408\u9500\u552E\u5206\u6790","chat.analysis.sales.comprehensive.description":"\u6309\u6307\u5B9A\u7EF4\u5EA6\u5206\u6790\u9500\u552E\u6536\u5165\uFF0C\u5E76\u8FDB\u884C\u8D8B\u52BF\u5206\u6790\u4E0E\u589E\u957F\u673A\u4F1A\u8BC6\u522B","chat.analysis.sales.performance.label":"\u9500\u552E\u4E1A\u7EE9\u5206\u6790","chat.analysis.sales.performance.description":"\u6C47\u603B\u5168\u6E20\u9053\u9500\u552E\u989D\uFF0C\u8BC4\u4F30\u4E1A\u7EE9\u8FBE\u6210\u7387\uFF0C\u5E76\u4E0E\u5386\u53F2\u589E\u957F\u5BF9\u6BD4","chat.analysis.sales.topCustomers.label":"\u5927\u5BA2\u6237\u5206\u6790","chat.analysis.sales.topCustomers.description":"\u8BC6\u522B\u9500\u552E\u989D\u524D 10% \u7684\u5BA2\u6237\uFF0C\u5206\u6790\u5176\u8D2D\u4E70\u504F\u597D\u4E0E\u6D41\u5931\u98CE\u9669","chat.analysis.sales.trend.label":"\u9500\u552E\u8D8B\u52BF\u5206\u6790","chat.analysis.sales.trend.description":"\u901A\u8FC7\u65F6\u95F4\u5E8F\u5217\u5206\u6790\u9500\u552E\u5CF0\u8C37\uFF0C\u9884\u6D4B\u4E0B\u4E00\u5B63\u5EA6\u9500\u552E\u8D8B\u52BF","chat.analysis.sales.repPerformance.label":"\u9500\u552E\u4EBA\u5458\u4E1A\u7EE9","chat.analysis.sales.repPerformance.description":"\u91CF\u5316\u8BC4\u4F30\u6BCF\u4F4D\u9500\u552E\u4EBA\u5458\u7684\u8F6C\u5316\u7387\u3001\u5BA2\u5355\u4EF7\u4E0E\u5408\u540C\u5C65\u7EA6\u6548\u7387","chat.analysis.sales.regional.label":"\u533A\u57DF\u9500\u552E\u5BF9\u6BD4","chat.analysis.sales.regional.description":"\u5BF9\u6BD4\u4E0D\u540C\u5730\u7406\u533A\u57DF\u7684\u9500\u552E\u6E17\u900F\u7387\uFF0C\u8BC6\u522B\u8868\u73B0\u5F02\u5E38\u7684\u5E02\u573A","chat.analysis.sales.productVolume.label":"\u5546\u54C1\u9500\u91CF\u5206\u6790","chat.analysis.sales.productVolume.description":"\u7EDF\u8BA1\u5404 SKU \u7684\u9500\u91CF\uFF0C\u8BC6\u522B\u7545\u9500\u5546\u54C1\u4E0E\u6EDE\u9500\u5E93\u5B58","chat.analysis.financial.grossMargin.label":"\u4EA7\u54C1\u7EBF\u6BDB\u5229\u5206\u6790","chat.analysis.financial.grossMargin.description":"\u5BF9\u6BD4\u5404\u4EA7\u54C1\u7EBF\u7684\u6BDB\u5229\u6C34\u5E73\uFF0C\u8BC6\u522B\u9AD8\u6BDB\u5229\u8D21\u732E\u4E0E\u4E8F\u635F\u4E1A\u52A1","chat.analysis.financial.customerProfitability.label":"\u5BA2\u6237\u76C8\u5229\u5206\u6790","chat.analysis.financial.customerProfitability.description":"\u6309\u4E0D\u540C\u5BA2\u6237\u7EF4\u5EA6\u5206\u6790\u51C0\u5229\u6DA6\u8D21\u732E\uFF0C\u8BC6\u522B\u6838\u5FC3\u4F18\u8D28\u5BA2\u6237\u4E0E\u9AD8\u670D\u52A1\u6210\u672C\u5BA2\u6237","chat.analysis.financial.monthlyReport.label":"\u6708\u5EA6\u8D22\u52A1\u62A5\u544A","chat.analysis.financial.monthlyReport.description":"\u57FA\u4E8E\u672C\u6708\u6838\u7B97\u6570\u636E\uFF0C\u81EA\u52A8\u751F\u6210\u5229\u6DA6\u8868\u3001\u8D44\u4EA7\u8D1F\u503A\u8868\u4E0E\u73B0\u91D1\u6D41\u91CF\u8868\u6458\u8981","chat.analysis.financial.ratio.label":"\u8D22\u52A1\u6BD4\u7387\u5206\u6790","chat.analysis.financial.ratio.description":"\u8BA1\u7B97\u5E76\u5206\u6790\u6D41\u52A8\u6BD4\u7387\u3001\u8D44\u4EA7\u8D1F\u503A\u7387\u3001ROE \u7B49\u5173\u952E\u6307\u6807\uFF0C\u8BC4\u4F30\u516C\u53F8\u8D22\u52A1\u5065\u5EB7\u5EA6","chat.analysis.financial.cashflow.label":"\u73B0\u91D1\u6D41\u5206\u6790","chat.analysis.financial.cashflow.description":"\u8FFD\u8E2A\u7ECF\u8425\u3001\u6295\u8D44\u4E0E\u7B79\u8D44\u6D3B\u52A8\u73B0\u91D1\u6D41\uFF0C\u5206\u6790\u51C0\u73B0\u91D1\u6D41\u53D8\u52A8\u7684\u539F\u56E0\u4E0E\u8D8B\u52BF","chat.analysis.financial.costStructure.label":"\u6210\u672C\u7ED3\u6784\u5206\u6790","chat.analysis.financial.costStructure.description":"\u62C6\u89E3\u4EA7\u54C1\u6216\u670D\u52A1\u7684\u76F4\u63A5\u6210\u672C\u4E0E\u95F4\u63A5\u8D39\u7528\uFF0C\u8BC6\u522B\u5F71\u54CD\u603B\u6210\u672C\u7684\u6838\u5FC3\u9A71\u52A8\u56E0\u7D20","chat.analysis.operations.supplierEvaluation.label":"\u4F9B\u5E94\u5546\u7EE9\u6548\u8BC4\u4F30","chat.analysis.operations.supplierEvaluation.description":"\u57FA\u4E8E\u4EA4\u4ED8\u8D28\u91CF\u3001\u54CD\u5E94\u901F\u5EA6\u4E0E\u4EF7\u683C\u7ADE\u4E89\u529B\uFF0C\u5BF9\u6838\u5FC3\u4F9B\u5E94\u5546\u8FDB\u884C\u7EFC\u5408\u8BC4\u7EA7","chat.analysis.operations.inventoryTurnover.label":"\u5E93\u5B58\u5468\u8F6C\u5206\u6790","chat.analysis.operations.inventoryTurnover.description":"\u8BA1\u7B97\u5E93\u5B58\u5468\u8F6C\u7387\u4E0E\u5468\u8F6C\u5929\u6570\uFF0C\u8BC6\u522B\u5446\u6EDE\u5E93\u5B58\u7269\u6599\u4EE5\u91CA\u653E\u8D44\u91D1","chat.analysis.operations.deliveryOntime.label":"\u51C6\u65F6\u4EA4\u4ED8\u5206\u6790","chat.analysis.operations.deliveryOntime.description":"\u7EDF\u8BA1\u8BA2\u5355\u4ECE\u4E0B\u5355\u5230\u4EA4\u4ED8\u7684\u5468\u671F\uFF0C\u5206\u6790\u5BFC\u81F4\u5EF6\u8FDF\u4EA4\u4ED8\u7684\u6838\u5FC3\u73AF\u8282","chat.analysis.operations.procurementCost.label":"\u91C7\u8D2D\u6210\u672C\u5206\u6790","chat.analysis.operations.procurementCost.description":"\u76D1\u63A7\u539F\u6750\u6599\u91C7\u8D2D\u4EF7\u683C\u6CE2\u52A8\uFF0C\u5206\u6790\u91C7\u8D2D\u6EA2\u4EF7\u6216\u8282\u7EA6\u5BF9\u5229\u6DA6\u7684\u5F71\u54CD","chat.analysis.operations.productionEfficiency.label":"\u751F\u4EA7\u6548\u7387\u5206\u6790","chat.analysis.operations.productionEfficiency.description":"\u8BA1\u7B97\u8BBE\u5907\u7EFC\u5408\u6548\u7387\uFF08OEE\uFF09\u6216\u4EBA\u5747\u4EA7\u51FA\uFF0C\u8BC6\u522B\u4EA7\u7EBF\u6548\u7387\u74F6\u9888","chat.analysis.operations.orderFulfillment.label":"\u8BA2\u5355\u5C65\u7EA6\u5206\u6790","chat.analysis.operations.orderFulfillment.description":"\u5206\u6790\u4ECE\u63A5\u5355\u5230\u6700\u7EC8\u4EA4\u4ED8\u7684\u5168\u6D41\u7A0B\uFF0C\u4F18\u5316\u8BA2\u5355\u5904\u7406\u54CD\u5E94\u65F6\u95F4","chat.skillCategory.businessAnalysis":"\u4E1A\u52A1\u5206\u6790","chat.skillCategory.codeGeneration":"\u4EE3\u7801\u751F\u6210","chat.skillCategory.documentProcessing":"\u6587\u6863\u5904\u7406","chat.skillCategory.dataAnalysis":"\u6570\u636E\u5206\u6790","chat.skillCategory.toolOperations":"\u5DE5\u5177\u64CD\u4F5C","chat.skillCategory.general":"\u901A\u7528\u6280\u80FD","chat.skillCategory.global":"\u5168\u5C40\u6280\u80FD","chat.skillCategory.viewMore":"\u67E5\u770B\u66F4\u591A\u6280\u80FD\u5206\u7C7B","chat.skillCategory.quickActions":"\u2728 \u5FEB\u6377\u64CD\u4F5C","chat.threadMaintenance.button":"\u7EBF\u7A0B\u7EF4\u62A4","chat.threadMaintenance.title":"\u7EBF\u7A0B\u7EF4\u62A4","chat.threadMaintenance.missingContext":"\u672A\u9009\u62E9\u7EBF\u7A0B\u6216 Agent\u3002","chat.threadMaintenance.loadFailed":"\u52A0\u8F7D\u7EBF\u7A0B\u7EF4\u62A4\u6570\u636E\u5931\u8D25\u3002","chat.threadMaintenance.copy":"\u590D\u5236\u7EBF\u7A0B","chat.threadMaintenance.copySuccess":"\u5DF2\u590D\u5236\u5230\u7EBF\u7A0B {{id}}\u3002","chat.threadMaintenance.switchToCopy":"\u5207\u6362\u5230\u526F\u672C","chat.threadMaintenance.copyFailed":"\u590D\u5236\u7EBF\u7A0B\u5931\u8D25\u3002","chat.threadMaintenance.status":"\u72B6\u6001","chat.threadMaintenance.pendingMessages":"\u5F85\u5904\u7406\u6D88\u606F","chat.threadMaintenance.storage":"\u5B58\u50A8","chat.threadMaintenance.checkpoints":"\u68C0\u67E5\u70B9","chat.threadMaintenance.channelValues":"\u901A\u9053\u503C","chat.threadMaintenance.pendingWrites":"\u5F85\u5199\u5165","chat.threadMaintenance.interrupts":"\u5F85\u5904\u7406\u4E2D\u65AD","chat.threadMaintenance.noInterrupts":"\u6682\u65E0\u5F85\u5904\u7406\u4E2D\u65AD\u3002","chat.threadMaintenance.history":"\u6700\u8FD1\u68C0\u67E5\u70B9","chat.threadMaintenance.noHistory":"\u6682\u65E0\u68C0\u67E5\u70B9","chat.threadMaintenance.checkpointId":"\u68C0\u67E5\u70B9","chat.threadMaintenance.checkpointTime":"\u521B\u5EFA\u65F6\u95F4","chat.threadMaintenance.unknown":"\u672A\u77E5","chat.threadMaintenance.viewState":"\u67E5\u770B\u72B6\u6001","chat.threadMaintenance.stateTitle":"\u68C0\u67E5\u70B9\u72B6\u6001","chat.threadMaintenance.stateFailed":"\u52A0\u8F7D\u68C0\u67E5\u70B9\u72B6\u6001\u5931\u8D25\u3002","chat.threadMaintenance.loadingState":"\u6B63\u5728\u52A0\u8F7D\u72B6\u6001\u2026","chat.threadMaintenance.pruneDelete":"\u5220\u9664\u7EBF\u7A0B","chat.threadMaintenance.pruneDeleteTitle":"\u5220\u9664\u7EBF\u7A0B","chat.threadMaintenance.pruneDeleteConfirm":"\u5220\u9664\u6B64\u7EBF\u7A0B\u53CA\u5176\u68C0\u67E5\u70B9\uFF1F","chat.threadMaintenance.pruneKeepLatest":"\u4FDD\u7559\u6700\u65B0","chat.threadMaintenance.pruneKeepTitle":"\u6E05\u7406\u68C0\u67E5\u70B9","chat.threadMaintenance.pruneKeepConfirm":"\u4FDD\u7559\u6700\u65B0 {{count}} \u4E2A\u68C0\u67E5\u70B9\uFF1F","chat.threadMaintenance.pruneFailed":"\u7EBF\u7A0B\u7EF4\u62A4\u5931\u8D25\u3002","chat.threadMaintenance.keepLabel":"\u4FDD\u7559\u68C0\u67E5\u70B9\u6570\u91CF","chat.threadMaintenance.statusLoadFailed":"\u52A0\u8F7D\u7EBF\u7A0B\u72B6\u6001\u5931\u8D25\u3002","chat.threadMaintenance.storageLoadFailed":"\u5B58\u50A8\u7EDF\u8BA1\u4E0D\u53EF\u7528\u3002","chat.threadMaintenance.historyLoadFailed":"\u52A0\u8F7D\u7EBF\u7A0B\u5386\u53F2\u5931\u8D25\u3002","chat.threadMaintenance.runs":"\u8FD0\u884C\u8BB0\u5F55","chat.threadMaintenance.noRuns":"\u6682\u65E0\u8FD0\u884C\u8BB0\u5F55","chat.threadMaintenance.runStatus":"\u72B6\u6001","chat.threadMaintenance.runId":"\u8FD0\u884C ID","chat.threadMaintenance.runCreated":"\u521B\u5EFA\u65F6\u95F4","chat.threadMaintenance.runOwner":"\u6267\u884C\u8005 / \u5C1D\u8BD5\u6B21\u6570","chat.threadMaintenance.interruptRun":"\u4E2D\u65AD","chat.threadMaintenance.rollbackRun":"\u56DE\u6EDA","chat.threadMaintenance.interruptRunConfirm":"\u4E2D\u65AD\u6B64\u6B21\u8FD0\u884C\uFF1F","chat.threadMaintenance.rollbackRunConfirm":"\u56DE\u6EDA\u6B64\u6B21\u8FD0\u884C\uFF1F","chat.threadMaintenance.runCancelFailed":"\u53D6\u6D88\u8FD0\u884C\u5931\u8D25\u3002","chat.threadMaintenance.runsLoadFailed":"\u52A0\u8F7D\u8FD0\u884C\u8BB0\u5F55\u5931\u8D25\u3002","chat.thread.createOptions.menuLabel":"\u5E26\u9009\u9879\u521B\u5EFA\u2026","chat.thread.createOptions.open":"\u66F4\u591A\u521B\u5EFA\u9009\u9879","chat.thread.createOptions.title":"\u5E26\u9009\u9879\u521B\u5EFA\u7EBF\u7A0B","chat.thread.createOptions.ttlLabel":"TTL\uFF08\u5206\u949F\uFF09","chat.thread.createOptions.ttlPlaceholder":"\u65E0 TTL","chat.thread.createOptions.ttlHint":"\u7559\u7A7A\u6216 0 \u8868\u793A\u6C38\u4E0D\u8FC7\u671F\u3002","chat.thread.createOptions.superstepsLabel":"Supersteps JSON","chat.thread.createOptions.superstepsPlaceholder":'[{"updates":[{"values":{"messages":[]}}]}]',"chat.thread.createOptions.invalidSupersteps":"Supersteps \u5FC5\u987B\u662F\u5305\u542B updates \u548C\u5BF9\u8C61 values \u7684\u6570\u7EC4\u3002","chat.thread.createOptions.createFailed":"\u521B\u5EFA\u7EBF\u7A0B\u5931\u8D25\u3002","chat.run.status.pending":"\u6392\u961F\u4E2D","chat.run.status.running":"\u8FD0\u884C\u4E2D","chat.run.status.awaitingInput":"\u7B49\u5F85\u4F60\u7684\u786E\u8BA4","chat.run.status.interrupted":"\u5DF2\u4E2D\u65AD","chat.run.status.timeout":"\u6267\u884C\u8D85\u65F6","chat.run.status.error":"\u6267\u884C\u5931\u8D25","chat.run.elapsed":"{{seconds}} \u79D2","chat.run.cancel":"\u53D6\u6D88","chat.run.cancelFailed":"\u53D6\u6D88\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.run.dismiss":"\u5173\u95ED","chat.run.error.quota":"\u5F53\u524D\u79DF\u6237\u5E76\u53D1\u5DF2\u6EE1\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.run.error.rejected":"\u8BE5\u5BF9\u8BDD\u6B63\u5728\u6267\u884C\uFF0C\u8BF7\u7B49\u5F85\u5F53\u524D\u56DE\u590D\u5B8C\u6210\u3002","chat.run.error.rollbackInProgress":"\u6B63\u5728\u56DE\u6EDA\u4E0A\u4E00\u6761\u6267\u884C\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.run.error.unavailable":"\u6267\u884C\u961F\u5217\u6682\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.run.error.notFound":"\u6267\u884C\u8BB0\u5F55\u5DF2\u4E0D\u5B58\u5728\u3002","chat.run.error.joinTimeout":"\u6267\u884C\u4ECD\u5728\u8FDB\u884C\u4E2D\u3002","chat.run.error.affinity":"\u6267\u884C\u5DF2\u5207\u6362\u5230\u5176\u4ED6\u526F\u672C\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u3002","chat.run.error.network":"\u7F51\u7EDC\u8FDE\u63A5\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002","chat.run.error.stateIncompatible":"\u8FD0\u884C\u65F6\u72B6\u6001\u4E0D\u517C\u5BB9\uFF0C\u8BF7\u65B0\u5EFA\u5BF9\u8BDD\u91CD\u8BD5\u3002","chat.run.error.generic":"\u6267\u884C\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.messageRail.label":"\u4F60\u7684\u6D88\u606F","chat.messageRail.jump":"\u8DF3\u8F6C\u5230\u4F60\u7684\u6D88\u606F\uFF1A{{preview}}"},c={messages:t};export{c as default,t as messages};
1
+ import"./embed-page-chunk-QBTAJ2YI.js";var t={"chat.empty.createConversationFirst":"\u8BF7\u5148\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8BDD","chat.empty.question":"\u51C6\u5907\u597D\u51E0\u79D2\u5185\u628A\u6570\u636E\u53D8\u6210\u6709\u6D1E\u5BDF\u529B\u7684\u56FE\u8868\u4E86\u5417\uFF1F","chat.empty.welcomePrefix":"\u4F60\u597D","chat.empty.userFallback":"\u670B\u53CB","chat.sender.attachments":"\u9644\u4EF6","chat.sender.uploadFile":"\u4E0A\u4F20\u6587\u4EF6","chat.sender.rootDirectory":"\u6839\u76EE\u5F55","chat.sender.filesUploading":"\u6587\u4EF6\u4ECD\u5728\u4E0A\u4F20\u4E2D\u2026","chat.sender.uploadFailed":"{{name}} \u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\u3002{{reason}}","chat.sender.fileTooLarge":"\u6587\u4EF6\u5FC5\u987B\u5C0F\u4E8E {{max}}MB\uFF01{{name}} \u8FC7\u5927\u3002","chat.sender.thinking":"{{frame}} \u601D\u8003\u4E2D\u2026","chat.sender.messagesWaiting":"{{count}} \u6761\u6D88\u606F\u7B49\u5F85\u4E2D\u2026","chat.sender.placeholder":"\u8F93\u5165 / \u67E5\u770B\u53EF\u7528\u6280\u80FD\uFF0C\u6216\u8F93\u5165 @ \u5F15\u7528\u6587\u4EF6","chat.sender.moreMatches":"\u2026\u8FD8\u6709 {{count}} \u4E2A\u5339\u914D\u9879 \u2014 \u7EE7\u7EED\u8F93\u5165\u4EE5\u7F29\u5C0F\u8303\u56F4","chat.error.streamError":"\u6D41\u5F0F\u4F20\u8F93\u9519\u8BEF","chat.error.hitlResponseRejected":"\u667A\u80FD\u4F53\u672A\u63A5\u53D7\u8BE5\u54CD\u5E94\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.error.interruptNotFound":"\u65E0\u6CD5\u89E3\u6790\u5F85\u5904\u7406\u7684\u4E2D\u65AD\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.stop.superseded":"\u54CD\u5E94\u5DF2\u88AB\u65B0\u6D88\u606F\u6253\u65AD\u3002","chat.stop.stopped":"\u54CD\u5E94\u5DF2\u505C\u6B62\u3002","chat.layout.toggleMenu":"\u5207\u6362\u83DC\u5355","chat.layout.closeDetail":"\u5173\u95ED\u8BE6\u60C5\u9762\u677F","chat.layout.closeTools":"\u5173\u95ED\u5DE5\u5177\u9762\u677F","chat.menu.branding":"\u83DC\u5355","chat.menu.expandSidebar":"\u5C55\u5F00\u4FA7\u8FB9\u680F","chat.menu.collapseSidebar":"\u6536\u8D77\u4FA7\u8FB9\u680F","chat.menu.newThread":"\u65B0\u5EFA\u4F1A\u8BDD","chat.agent.fallbackName":"\u667A\u80FD\u4F53","chat.agent.selectTitle":"\u9009\u62E9\u667A\u80FD\u4F53","chat.agent.empty":"\u6682\u65E0\u53EF\u7528\u667A\u80FD\u4F53","chat.agent.search":"\u641C\u7D22\u667A\u80FD\u4F53","chat.agent.noResults":"\u6CA1\u6709\u5339\u914D\u7684\u667A\u80FD\u4F53","chat.agent.onboardingTitle":"Agent \u5207\u6362\u8FC1\u79FB\u5230\u8FD9\u91CC","chat.agent.onboardingDescription":"\u70B9\u51FB\u8FD9\u4E2A Agent \u9879\u5373\u53EF\u5207\u6362 Agent\u3002","chat.agent.onboardingGotIt":"\u77E5\u9053\u4E86","chat.model.label":"\u6A21\u578B","chat.model.placeholder":"\u6A21\u578B","chat.model.empty":"\u6682\u65E0\u53EF\u7528\u6A21\u578B","chat.budget.hint":"\u672C\u8F6E\u6267\u884C\u9884\u7B97","chat.budget.turns":"\u7EA6 {{count}} \u8F6E","chat.budget.current":"\u672C\u8F6E\u6267\u884C\u9884\u7B97\uFF1A{{level}}","chat.budget.low":"\u5C0F","chat.budget.lowDescription":"\u8F7B\u91CF\u4EFB\u52A1","chat.budget.medium":"\u4E2D","chat.budget.mediumDescription":"\u5E38\u89C4\u4EFB\u52A1","chat.budget.high":"\u9AD8","chat.budget.highDescription":"\u591A\u6B65\u9AA4\u4EFB\u52A1","chat.budget.max":"\u6700\u5927","chat.budget.maxDescription":"\u957F\u4EFB\u52A1","chat.workspace.selectPlaceholder":"\u5DE5\u4F5C\u533A","chat.workspace.selectTitle":"\u9009\u62E9\u5DE5\u4F5C\u533A","chat.project.selectPlaceholder":"\u9879\u76EE","chat.project.selectTitle":"\u9009\u62E9\u9879\u76EE","chat.project.empty":"\u6682\u65E0\u9879\u76EE","chat.project.nameRequired":"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0","chat.project.nameTooLong":"\u540D\u79F0\u4E0D\u5F97\u8D85\u8FC7 {{max}} \u4E2A\u5B57\u7B26","chat.project.selectWorkspaceFirst":"\u8BF7\u5148\u9009\u62E9\u4E00\u4E2A\u5DE5\u4F5C\u533A","chat.project.created":"\u9879\u76EE\u300C{{name}}\u300D\u5DF2\u521B\u5EFA","chat.project.createFailed":"\u521B\u5EFA\u9879\u76EE\u5931\u8D25","chat.project.createTitle":"\u65B0\u5EFA\u9879\u76EE","chat.project.namePlaceholder":"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0","chat.thread.create":"\u65B0\u5EFA\u5BF9\u8BDD","chat.thread.createFailed":"\u65B0\u5EFA\u4F1A\u8BDD\u5931\u8D25","chat.thread.history":"\u5386\u53F2\u5BF9\u8BDD","chat.thread.refreshHistory":"\u5237\u65B0\u5386\u53F2\u5BF9\u8BDD","chat.thread.searchPlaceholder":"\u641C\u7D22\u5BF9\u8BDD\u2026","chat.thread.sortName":"\u540D\u79F0","chat.thread.sortUpdated":"\u66F4\u65B0\u65F6\u95F4","chat.thread.sortCreated":"\u521B\u5EFA\u65F6\u95F4","chat.thread.sortAscending":"\u5347\u5E8F","chat.thread.sortDescending":"\u964D\u5E8F","chat.thread.loading":"\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD\u2026","chat.thread.noMatch":"\u6CA1\u6709\u4E0E\u300C{{query}}\u300D\u5339\u914D\u7684\u5BF9\u8BDD","chat.thread.empty":"\u6682\u65E0\u5BF9\u8BDD","chat.thread.nameLabel":"\u5BF9\u8BDD\u540D\u79F0","chat.thread.status.idle":"\u7A7A\u95F2","chat.thread.status.busy":"\u8FD0\u884C\u4E2D","chat.thread.status.interrupted":"\u5DF2\u4E2D\u65AD","chat.thread.status.error":"\u9519\u8BEF","chat.thread.saveName":"\u4FDD\u5B58\u540D\u79F0","chat.thread.cancelRename":"\u53D6\u6D88\u91CD\u547D\u540D","chat.thread.rename":"\u91CD\u547D\u540D\u5BF9\u8BDD","chat.thread.renamed":"\u5BF9\u8BDD\u5DF2\u91CD\u547D\u540D","chat.thread.renameFailed":"\u91CD\u547D\u540D\u5BF9\u8BDD\u5931\u8D25","chat.thread.delete":"\u5220\u9664\u5BF9\u8BDD","chat.thread.deleteTitle":"\u5220\u9664\u5BF9\u8BDD","chat.thread.deleteConfirm":"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u5BF9\u8BDD\u5417\uFF1F\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002","chat.thread.deleted":"\u5BF9\u8BDD\u5DF2\u5220\u9664","chat.thread.deleteFailed":"\u5220\u9664\u5BF9\u8BDD\u5931\u8D25","chat.pin.pin":"\u56FA\u5B9A\u5230\u83DC\u5355","chat.pin.unpin":"\u4ECE\u83DC\u5355\u53D6\u6D88\u56FA\u5B9A","chat.pin.pinTitle":"\u56FA\u5B9A\u5230\u83DC\u5355","chat.pin.enterName":"\u8BF7\u8F93\u5165\u83DC\u5355\u540D\u79F0","chat.pin.pinned":"\u5DF2\u56FA\u5B9A\u5230\u83DC\u5355","chat.pin.unpinned":"\u5DF2\u4ECE\u83DC\u5355\u53D6\u6D88\u56FA\u5B9A","chat.pin.pinFailed":"\u56FA\u5B9A\u5230\u83DC\u5355\u5931\u8D25","chat.pin.unpinFailed":"\u4ECE\u83DC\u5355\u53D6\u6D88\u56FA\u5B9A\u5931\u8D25","chat.pin.namePlaceholder":"\u83DC\u5355\u540D\u79F0\uFF08\u5FC5\u586B\uFF09","chat.pin.groupPlaceholder":"\u5206\u7EC4\uFF08\u53EF\u9009\uFF0C\u53EF\u9009\u62E9\u6216\u8F93\u5165\u65B0\u5206\u7EC4\uFF09","chat.sideApp.unnamed":"\u672A\u547D\u540D","chat.sideApp.allTabs":"\u6240\u6709\u6807\u7B7E\u9875","chat.sideApp.close":"\u5173\u95ED","chat.sideApp.empty":"\u9009\u62E9\u4E00\u4E2A\u5E94\u7528\u5F00\u59CB\u4F7F\u7528","chat.sideApp.componentNotFound":"\u672A\u627E\u5230\u7EC4\u4EF6\u89C6\u56FE","chat.todo.title":"\u5F85\u529E","chat.todo.noTasks":"\u6682\u65E0\u4EFB\u52A1","chat.todo.inProgress":"{{count}} \u9879\u8FDB\u884C\u4E2D","chat.todo.completed":"\u5DF2\u5B8C\u6210 {{count}} \u9879","chat.todo.progressTooltip":"\u5DF2\u5B8C\u6210 {{completed}} / {{total}} \u9879\u4EFB\u52A1","chat.task.title":"\u4EFB\u52A1","chat.task.noTasks":"\u6682\u65E0\u4EFB\u52A1","chat.task.inProgress":"{{count}} \u9879\u8FDB\u884C\u4E2D","chat.task.completed":"\u5DF2\u5B8C\u6210 {{count}} \u9879","chat.task.progressTooltip":"\u5DF2\u5B8C\u6210 {{completed}} / {{total}} \u9879\u4EFB\u52A1","chat.customMenu.invalid":"\u65E0\u6548\u7684\u83DC\u5355\u9879","chat.customMenu.empty":"\uFF08\u7A7A\uFF09","chat.customMenu.htmlPage":"\u81EA\u5B9A\u4E49 HTML \u9875\u9762","chat.customMenu.componentNotFound":"\u672A\u627E\u5230\u7EC4\u4EF6\u300C{{name}}\u300D","chat.customMenu.invalidMcpApp":"\u65E0\u6548\u7684 MCP \u5E94\u7528\u83DC\u5355\u9879","chat.customMenu.unknownType":"\u672A\u77E5\u7684\u5185\u5BB9\u7C7B\u578B\uFF1A{{type}}","chat.customMenu.fileFallback":"\u6587\u4EF6","chat.file.changed":"\u6587\u4EF6\u5DF2\u53D8\u66F4","chat.file.explorer":"\u6587\u4EF6\u6D4F\u89C8\u5668","chat.file.count":"{{count}} \u4E2A\u6587\u4EF6","chat.copilot.agentBuilder":"\u667A\u80FD\u4F53\u6784\u5EFA\u5668","chat.copilot.viewing":"\u6B63\u5728\u67E5\u770B\uFF1A{{name}}","chat.copilot.close":"\u5173\u95ED\u526F\u9A7E\u9A76","chat.copilot.selectWorkflow":"\u9009\u62E9\u4E00\u4E2A\u5DE5\u4F5C\u6D41\u5F00\u59CB","chat.environment.title":"\u8FD0\u884C\u73AF\u5883","chat.environment.tools":"\u5DE5\u5177","chat.environment.capabilities":"\u80FD\u529B","chat.environment.subAgents":"\u5B50\u667A\u80FD\u4F53","chat.environment.runtime":"\u8FD0\u884C\u65F6","chat.environment.model":"\u6A21\u578B\uFF1A{{model}}","chat.environment.db":"\u6570\u636E\u5E93\uFF1A{{db}}","chat.environment.skills":"\u6280\u80FD\uFF1A{{skills}}","chat.environment.channels":"\u6E20\u9053","chat.environment.noChannels":"\u672A\u914D\u7F6E\u6E20\u9053","chat.viewToggle.chat":"\u5BF9\u8BDD","chat.viewToggle.graph":"\u6267\u884C\u8FC7\u7A0B","chat.viewToggle.aria":"\u89C6\u56FE\u5207\u6362","chat.trace.backToCurrent":"\u56DE\u5230\u5F53\u524D","chat.trace.collapseOlder":"\u6536\u8D77\u66F4\u65E9","chat.trace.expandAll":"\u5C55\u5F00\u5168\u90E8","chat.trace.parallelBadge":"\u5E76\u53D1 \xD7{{count}}","chat.trace.jumpToChat":"\u5BF9\u8BDD","chat.trace.phase.understand":"\u7406\u89E3\u4E0E\u89C4\u5212","chat.trace.phase.act":"\u6267\u884C","chat.trace.phase.delegate":"\u59D4\u6D3E","chat.trace.phase.answer":"\u56DE\u7B54","chat.trace.phase.earlier":"\u66F4\u65E9","chat.trace.node.human":"\u7528\u6237","chat.trace.summary.steps":"{{count}} \u4E2A\u6B65\u9AA4","chat.trace.summary.steps_one":"{{count}} \u4E2A\u6B65\u9AA4","chat.trace.summary.steps_other":"{{count}} \u4E2A\u6B65\u9AA4","chat.menu.history":"\u5386\u53F2","chat.error.resumeStreamError":"\u6062\u590D\u6D41\u5F0F\u4F20\u8F93\u9519\u8BEF","chat.error.copySucceeded":"\u5DF2\u590D\u5236\u9519\u8BEF\u8BE6\u60C5","chat.error.copyFailed":"\u590D\u5236\u5931\u8D25","chat.error.sectionFallback":"\u6B64\u533A\u57DF","chat.error.renderFailed":"\u6E32\u67D3 {{label}} \u5931\u8D25","chat.error.details":"\u9519\u8BEF\u8BE6\u60C5","chat.error.copyDetails":"\u590D\u5236\u8BE6\u60C5","chat.error.boundary.sidebar":"\u4FA7\u8FB9\u680F","chat.error.boundary.chatPanel":"\u5BF9\u8BDD\u9762\u677F","chat.error.boundary.detailPanel":"\u8BE6\u60C5\u9762\u677F","chat.error.boundary.toolsPanel":"\u5DE5\u5177\u9762\u677F","chat.error.boundary.thread":"\u4F1A\u8BDD","chat.error.boundary.chatShell":"\u5BF9\u8BDD\u5916\u58F3","chat.agent.defaultName":"AI \u52A9\u624B","chat.file.toggleDirectory":"\u5207\u6362\u6587\u4EF6\u76EE\u5F55","chat.conversation.creating":"\u6B63\u5728\u521B\u5EFA\u5BF9\u8BDD\u2026","chat.tools.loading":"\u6B63\u5728\u52A0\u8F7D\u5DE5\u5177\u2026","chat.skills.loading":"\u6B63\u5728\u52A0\u8F7D\u6280\u80FD\u2026","chat.schedule.none":"\u6682\u65E0\u5B9A\u65F6\u4EFB\u52A1","chat.schedule.scheduledCount":"\u5DF2\u5B89\u6392 {{count}} \u9879","chat.schedule.totalCount":"\u5171 {{count}} \u9879","chat.topology.outgoing":"{{count}} \u51FA","chat.topology.incoming":"{{count}} \u5165","chat.config.executableRequired":"\u8BF7\u9009\u62E9\u4E00\u4E2A\u6A21\u677F\u6216\u8F93\u5165\u81EA\u5B9A\u4E49\u53EF\u6267\u884C\u6587\u4EF6","chat.voice.unavailable":"\u8BED\u97F3\u8F93\u5165\u4E0D\u53EF\u7528\uFF1A\u672A\u914D\u7F6E STT \u6A21\u578B","chat.voice.transcribing":"\u8F6C\u5F55\u4E2D\u2026","chat.voice.retryHint":"\u8F6C\u5F55\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5","chat.voice.rerecordHint":"\u70B9\u51FB\u91CD\u65B0\u5F55\u5236","chat.voice.stopRecordingAuto":"\u505C\u6B62\u5F55\u5236\uFF08{{seconds}} \u79D2\uFF0C\u5DF2\u8F6C\u5F55 {{segments}} \u6BB5\uFF09","chat.voice.stopRecording":"\u505C\u6B62\u5F55\u5236\uFF08{{seconds}} \u79D2\uFF09","chat.voice.start":"\u5F00\u59CB\u8BED\u97F3\u8F93\u5165","chat.voice.noModel":"\u672A\u914D\u7F6E STT \u6A21\u578B","chat.voice.uploading":"\u4E0A\u4F20\u4E2D\u2026","chat.voice.modeAuto":"\u81EA\u52A8","chat.voice.modeManual":"\u624B\u52A8","chat.voice.segments":"{{count}} \u6BB5","chat.voice.segments_one":"{{count}} \u6BB5","chat.voice.segments_other":"{{count}} \u6BB5","chat.voice.recordingStatus":"{{mode}}\u6A21\u5F0F\uFF0C\u5F55\u5236\u4E2D {{time}}{{chunks}} \u2014 \u70B9\u51FB\u505C\u6B62","chat.voice.errNotSupported":"\u4E0D\u652F\u6301\u8BED\u97F3\u8F93\u5165\uFF0C\u8BF7\u4F7F\u7528 Chrome\u3001Edge \u6216 Safari\u3002","chat.voice.errFormatNotSupported":"\u6B64\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u8BE5\u97F3\u9891\u5F55\u5236\u683C\u5F0F\u3002","chat.voice.errRecordingFailed":"\u5F55\u5236\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.voice.errRecordInitFailed":"\u5F55\u5236\u521D\u59CB\u5316\u5931\u8D25\u3002","chat.voice.errMicPermission":"\u8BF7\u5728\u6D4F\u89C8\u5668\u8BBE\u7F6E\u4E2D\u5141\u8BB8\u9EA6\u514B\u98CE\u6743\u9650","chat.voice.errMicAccess":"\u65E0\u6CD5\u8BBF\u95EE\u9EA6\u514B\u98CE","chat.voice.errStopTimeout":"\u505C\u6B62\u5F55\u5236\u8D85\u65F6","chat.voice.errTranscribeFailed":"\u8F6C\u5F55\u5931\u8D25","chat.voice.errRetryFailed":"\u91CD\u8BD5\u5931\u8D25","chat.analysis.quickTitle":"\u5FEB\u901F\u5206\u6790","chat.analysis.categoriesTitle":"\u5206\u6790\u7C7B\u522B","chat.analysis.viewMore":"\u67E5\u770B\u66F4\u591A\u5206\u6790\u9009\u9879","chat.analysis.category.sales":"\u9500\u552E\u5206\u6790","chat.analysis.category.financial":"\u8D22\u52A1\u5206\u6790","chat.analysis.category.operations":"\u8FD0\u8425\u5206\u6790","chat.analysis.sales.comprehensive.label":"\u7EFC\u5408\u9500\u552E\u5206\u6790","chat.analysis.sales.comprehensive.description":"\u6309\u6307\u5B9A\u7EF4\u5EA6\u5206\u6790\u9500\u552E\u6536\u5165\uFF0C\u5E76\u8FDB\u884C\u8D8B\u52BF\u5206\u6790\u4E0E\u589E\u957F\u673A\u4F1A\u8BC6\u522B","chat.analysis.sales.performance.label":"\u9500\u552E\u4E1A\u7EE9\u5206\u6790","chat.analysis.sales.performance.description":"\u6C47\u603B\u5168\u6E20\u9053\u9500\u552E\u989D\uFF0C\u8BC4\u4F30\u4E1A\u7EE9\u8FBE\u6210\u7387\uFF0C\u5E76\u4E0E\u5386\u53F2\u589E\u957F\u5BF9\u6BD4","chat.analysis.sales.topCustomers.label":"\u5927\u5BA2\u6237\u5206\u6790","chat.analysis.sales.topCustomers.description":"\u8BC6\u522B\u9500\u552E\u989D\u524D 10% \u7684\u5BA2\u6237\uFF0C\u5206\u6790\u5176\u8D2D\u4E70\u504F\u597D\u4E0E\u6D41\u5931\u98CE\u9669","chat.analysis.sales.trend.label":"\u9500\u552E\u8D8B\u52BF\u5206\u6790","chat.analysis.sales.trend.description":"\u901A\u8FC7\u65F6\u95F4\u5E8F\u5217\u5206\u6790\u9500\u552E\u5CF0\u8C37\uFF0C\u9884\u6D4B\u4E0B\u4E00\u5B63\u5EA6\u9500\u552E\u8D8B\u52BF","chat.analysis.sales.repPerformance.label":"\u9500\u552E\u4EBA\u5458\u4E1A\u7EE9","chat.analysis.sales.repPerformance.description":"\u91CF\u5316\u8BC4\u4F30\u6BCF\u4F4D\u9500\u552E\u4EBA\u5458\u7684\u8F6C\u5316\u7387\u3001\u5BA2\u5355\u4EF7\u4E0E\u5408\u540C\u5C65\u7EA6\u6548\u7387","chat.analysis.sales.regional.label":"\u533A\u57DF\u9500\u552E\u5BF9\u6BD4","chat.analysis.sales.regional.description":"\u5BF9\u6BD4\u4E0D\u540C\u5730\u7406\u533A\u57DF\u7684\u9500\u552E\u6E17\u900F\u7387\uFF0C\u8BC6\u522B\u8868\u73B0\u5F02\u5E38\u7684\u5E02\u573A","chat.analysis.sales.productVolume.label":"\u5546\u54C1\u9500\u91CF\u5206\u6790","chat.analysis.sales.productVolume.description":"\u7EDF\u8BA1\u5404 SKU \u7684\u9500\u91CF\uFF0C\u8BC6\u522B\u7545\u9500\u5546\u54C1\u4E0E\u6EDE\u9500\u5E93\u5B58","chat.analysis.financial.grossMargin.label":"\u4EA7\u54C1\u7EBF\u6BDB\u5229\u5206\u6790","chat.analysis.financial.grossMargin.description":"\u5BF9\u6BD4\u5404\u4EA7\u54C1\u7EBF\u7684\u6BDB\u5229\u6C34\u5E73\uFF0C\u8BC6\u522B\u9AD8\u6BDB\u5229\u8D21\u732E\u4E0E\u4E8F\u635F\u4E1A\u52A1","chat.analysis.financial.customerProfitability.label":"\u5BA2\u6237\u76C8\u5229\u5206\u6790","chat.analysis.financial.customerProfitability.description":"\u6309\u4E0D\u540C\u5BA2\u6237\u7EF4\u5EA6\u5206\u6790\u51C0\u5229\u6DA6\u8D21\u732E\uFF0C\u8BC6\u522B\u6838\u5FC3\u4F18\u8D28\u5BA2\u6237\u4E0E\u9AD8\u670D\u52A1\u6210\u672C\u5BA2\u6237","chat.analysis.financial.monthlyReport.label":"\u6708\u5EA6\u8D22\u52A1\u62A5\u544A","chat.analysis.financial.monthlyReport.description":"\u57FA\u4E8E\u672C\u6708\u6838\u7B97\u6570\u636E\uFF0C\u81EA\u52A8\u751F\u6210\u5229\u6DA6\u8868\u3001\u8D44\u4EA7\u8D1F\u503A\u8868\u4E0E\u73B0\u91D1\u6D41\u91CF\u8868\u6458\u8981","chat.analysis.financial.ratio.label":"\u8D22\u52A1\u6BD4\u7387\u5206\u6790","chat.analysis.financial.ratio.description":"\u8BA1\u7B97\u5E76\u5206\u6790\u6D41\u52A8\u6BD4\u7387\u3001\u8D44\u4EA7\u8D1F\u503A\u7387\u3001ROE \u7B49\u5173\u952E\u6307\u6807\uFF0C\u8BC4\u4F30\u516C\u53F8\u8D22\u52A1\u5065\u5EB7\u5EA6","chat.analysis.financial.cashflow.label":"\u73B0\u91D1\u6D41\u5206\u6790","chat.analysis.financial.cashflow.description":"\u8FFD\u8E2A\u7ECF\u8425\u3001\u6295\u8D44\u4E0E\u7B79\u8D44\u6D3B\u52A8\u73B0\u91D1\u6D41\uFF0C\u5206\u6790\u51C0\u73B0\u91D1\u6D41\u53D8\u52A8\u7684\u539F\u56E0\u4E0E\u8D8B\u52BF","chat.analysis.financial.costStructure.label":"\u6210\u672C\u7ED3\u6784\u5206\u6790","chat.analysis.financial.costStructure.description":"\u62C6\u89E3\u4EA7\u54C1\u6216\u670D\u52A1\u7684\u76F4\u63A5\u6210\u672C\u4E0E\u95F4\u63A5\u8D39\u7528\uFF0C\u8BC6\u522B\u5F71\u54CD\u603B\u6210\u672C\u7684\u6838\u5FC3\u9A71\u52A8\u56E0\u7D20","chat.analysis.operations.supplierEvaluation.label":"\u4F9B\u5E94\u5546\u7EE9\u6548\u8BC4\u4F30","chat.analysis.operations.supplierEvaluation.description":"\u57FA\u4E8E\u4EA4\u4ED8\u8D28\u91CF\u3001\u54CD\u5E94\u901F\u5EA6\u4E0E\u4EF7\u683C\u7ADE\u4E89\u529B\uFF0C\u5BF9\u6838\u5FC3\u4F9B\u5E94\u5546\u8FDB\u884C\u7EFC\u5408\u8BC4\u7EA7","chat.analysis.operations.inventoryTurnover.label":"\u5E93\u5B58\u5468\u8F6C\u5206\u6790","chat.analysis.operations.inventoryTurnover.description":"\u8BA1\u7B97\u5E93\u5B58\u5468\u8F6C\u7387\u4E0E\u5468\u8F6C\u5929\u6570\uFF0C\u8BC6\u522B\u5446\u6EDE\u5E93\u5B58\u7269\u6599\u4EE5\u91CA\u653E\u8D44\u91D1","chat.analysis.operations.deliveryOntime.label":"\u51C6\u65F6\u4EA4\u4ED8\u5206\u6790","chat.analysis.operations.deliveryOntime.description":"\u7EDF\u8BA1\u8BA2\u5355\u4ECE\u4E0B\u5355\u5230\u4EA4\u4ED8\u7684\u5468\u671F\uFF0C\u5206\u6790\u5BFC\u81F4\u5EF6\u8FDF\u4EA4\u4ED8\u7684\u6838\u5FC3\u73AF\u8282","chat.analysis.operations.procurementCost.label":"\u91C7\u8D2D\u6210\u672C\u5206\u6790","chat.analysis.operations.procurementCost.description":"\u76D1\u63A7\u539F\u6750\u6599\u91C7\u8D2D\u4EF7\u683C\u6CE2\u52A8\uFF0C\u5206\u6790\u91C7\u8D2D\u6EA2\u4EF7\u6216\u8282\u7EA6\u5BF9\u5229\u6DA6\u7684\u5F71\u54CD","chat.analysis.operations.productionEfficiency.label":"\u751F\u4EA7\u6548\u7387\u5206\u6790","chat.analysis.operations.productionEfficiency.description":"\u8BA1\u7B97\u8BBE\u5907\u7EFC\u5408\u6548\u7387\uFF08OEE\uFF09\u6216\u4EBA\u5747\u4EA7\u51FA\uFF0C\u8BC6\u522B\u4EA7\u7EBF\u6548\u7387\u74F6\u9888","chat.analysis.operations.orderFulfillment.label":"\u8BA2\u5355\u5C65\u7EA6\u5206\u6790","chat.analysis.operations.orderFulfillment.description":"\u5206\u6790\u4ECE\u63A5\u5355\u5230\u6700\u7EC8\u4EA4\u4ED8\u7684\u5168\u6D41\u7A0B\uFF0C\u4F18\u5316\u8BA2\u5355\u5904\u7406\u54CD\u5E94\u65F6\u95F4","chat.skillCategory.businessAnalysis":"\u4E1A\u52A1\u5206\u6790","chat.skillCategory.codeGeneration":"\u4EE3\u7801\u751F\u6210","chat.skillCategory.documentProcessing":"\u6587\u6863\u5904\u7406","chat.skillCategory.dataAnalysis":"\u6570\u636E\u5206\u6790","chat.skillCategory.toolOperations":"\u5DE5\u5177\u64CD\u4F5C","chat.skillCategory.general":"\u901A\u7528\u6280\u80FD","chat.skillCategory.global":"\u5168\u5C40\u6280\u80FD","chat.skillCategory.viewMore":"\u67E5\u770B\u66F4\u591A\u6280\u80FD\u5206\u7C7B","chat.skillCategory.quickActions":"\u2728 \u5FEB\u6377\u64CD\u4F5C","chat.threadMaintenance.button":"\u7EBF\u7A0B\u7EF4\u62A4","chat.threadMaintenance.title":"\u7EBF\u7A0B\u7EF4\u62A4","chat.threadMaintenance.missingContext":"\u672A\u9009\u62E9\u7EBF\u7A0B\u6216 Agent\u3002","chat.threadMaintenance.loadFailed":"\u52A0\u8F7D\u7EBF\u7A0B\u7EF4\u62A4\u6570\u636E\u5931\u8D25\u3002","chat.threadMaintenance.copy":"\u590D\u5236\u7EBF\u7A0B","chat.threadMaintenance.copySuccess":"\u5DF2\u590D\u5236\u5230\u7EBF\u7A0B {{id}}\u3002","chat.threadMaintenance.switchToCopy":"\u5207\u6362\u5230\u526F\u672C","chat.threadMaintenance.copyFailed":"\u590D\u5236\u7EBF\u7A0B\u5931\u8D25\u3002","chat.threadMaintenance.status":"\u72B6\u6001","chat.threadMaintenance.pendingMessages":"\u5F85\u5904\u7406\u6D88\u606F","chat.threadMaintenance.storage":"\u5B58\u50A8","chat.threadMaintenance.checkpoints":"\u68C0\u67E5\u70B9","chat.threadMaintenance.channelValues":"\u901A\u9053\u503C","chat.threadMaintenance.pendingWrites":"\u5F85\u5199\u5165","chat.threadMaintenance.interrupts":"\u5F85\u5904\u7406\u4E2D\u65AD","chat.threadMaintenance.noInterrupts":"\u6682\u65E0\u5F85\u5904\u7406\u4E2D\u65AD\u3002","chat.threadMaintenance.history":"\u6700\u8FD1\u68C0\u67E5\u70B9","chat.threadMaintenance.noHistory":"\u6682\u65E0\u68C0\u67E5\u70B9","chat.threadMaintenance.checkpointId":"\u68C0\u67E5\u70B9","chat.threadMaintenance.checkpointTime":"\u521B\u5EFA\u65F6\u95F4","chat.threadMaintenance.unknown":"\u672A\u77E5","chat.threadMaintenance.viewState":"\u67E5\u770B\u72B6\u6001","chat.threadMaintenance.stateTitle":"\u68C0\u67E5\u70B9\u72B6\u6001","chat.threadMaintenance.stateFailed":"\u52A0\u8F7D\u68C0\u67E5\u70B9\u72B6\u6001\u5931\u8D25\u3002","chat.threadMaintenance.loadingState":"\u6B63\u5728\u52A0\u8F7D\u72B6\u6001\u2026","chat.threadMaintenance.pruneDelete":"\u5220\u9664\u7EBF\u7A0B","chat.threadMaintenance.pruneDeleteTitle":"\u5220\u9664\u7EBF\u7A0B","chat.threadMaintenance.pruneDeleteConfirm":"\u5220\u9664\u6B64\u7EBF\u7A0B\u53CA\u5176\u68C0\u67E5\u70B9\uFF1F","chat.threadMaintenance.pruneKeepLatest":"\u4FDD\u7559\u6700\u65B0","chat.threadMaintenance.pruneKeepTitle":"\u6E05\u7406\u68C0\u67E5\u70B9","chat.threadMaintenance.pruneKeepConfirm":"\u4FDD\u7559\u6700\u65B0 {{count}} \u4E2A\u68C0\u67E5\u70B9\uFF1F","chat.threadMaintenance.pruneFailed":"\u7EBF\u7A0B\u7EF4\u62A4\u5931\u8D25\u3002","chat.threadMaintenance.keepLabel":"\u4FDD\u7559\u68C0\u67E5\u70B9\u6570\u91CF","chat.threadMaintenance.statusLoadFailed":"\u52A0\u8F7D\u7EBF\u7A0B\u72B6\u6001\u5931\u8D25\u3002","chat.threadMaintenance.storageLoadFailed":"\u5B58\u50A8\u7EDF\u8BA1\u4E0D\u53EF\u7528\u3002","chat.threadMaintenance.historyLoadFailed":"\u52A0\u8F7D\u7EBF\u7A0B\u5386\u53F2\u5931\u8D25\u3002","chat.threadMaintenance.runs":"\u8FD0\u884C\u8BB0\u5F55","chat.threadMaintenance.noRuns":"\u6682\u65E0\u8FD0\u884C\u8BB0\u5F55","chat.threadMaintenance.runStatus":"\u72B6\u6001","chat.threadMaintenance.runId":"\u8FD0\u884C ID","chat.threadMaintenance.runCreated":"\u521B\u5EFA\u65F6\u95F4","chat.threadMaintenance.runOwner":"\u6267\u884C\u8005 / \u5C1D\u8BD5\u6B21\u6570","chat.threadMaintenance.interruptRun":"\u4E2D\u65AD","chat.threadMaintenance.rollbackRun":"\u56DE\u6EDA","chat.threadMaintenance.interruptRunConfirm":"\u4E2D\u65AD\u6B64\u6B21\u8FD0\u884C\uFF1F","chat.threadMaintenance.rollbackRunConfirm":"\u56DE\u6EDA\u6B64\u6B21\u8FD0\u884C\uFF1F","chat.threadMaintenance.runCancelFailed":"\u53D6\u6D88\u8FD0\u884C\u5931\u8D25\u3002","chat.threadMaintenance.runsLoadFailed":"\u52A0\u8F7D\u8FD0\u884C\u8BB0\u5F55\u5931\u8D25\u3002","chat.thread.createOptions.menuLabel":"\u5E26\u9009\u9879\u521B\u5EFA\u2026","chat.thread.createOptions.open":"\u66F4\u591A\u521B\u5EFA\u9009\u9879","chat.thread.createOptions.title":"\u5E26\u9009\u9879\u521B\u5EFA\u7EBF\u7A0B","chat.thread.createOptions.ttlLabel":"TTL\uFF08\u5206\u949F\uFF09","chat.thread.createOptions.ttlPlaceholder":"\u65E0 TTL","chat.thread.createOptions.ttlHint":"\u7559\u7A7A\u6216 0 \u8868\u793A\u6C38\u4E0D\u8FC7\u671F\u3002","chat.thread.createOptions.superstepsLabel":"Supersteps JSON","chat.thread.createOptions.superstepsPlaceholder":'[{"updates":[{"values":{"messages":[]}}]}]',"chat.thread.createOptions.invalidSupersteps":"Supersteps \u5FC5\u987B\u662F\u5305\u542B updates \u548C\u5BF9\u8C61 values \u7684\u6570\u7EC4\u3002","chat.thread.createOptions.createFailed":"\u521B\u5EFA\u7EBF\u7A0B\u5931\u8D25\u3002","chat.run.status.pending":"\u6392\u961F\u4E2D","chat.run.status.running":"\u8FD0\u884C\u4E2D","chat.run.status.awaitingInput":"\u7B49\u5F85\u4F60\u7684\u786E\u8BA4","chat.run.status.interrupted":"\u5DF2\u4E2D\u65AD","chat.run.status.timeout":"\u6267\u884C\u8D85\u65F6","chat.run.status.error":"\u6267\u884C\u5931\u8D25","chat.run.elapsed":"{{seconds}} \u79D2","chat.run.cancel":"\u53D6\u6D88","chat.run.cancelFailed":"\u53D6\u6D88\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002","chat.run.dismiss":"\u5173\u95ED","chat.run.error.quota":"\u5F53\u524D\u79DF\u6237\u5E76\u53D1\u5DF2\u6EE1\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.run.error.rejected":"\u8BE5\u5BF9\u8BDD\u6B63\u5728\u6267\u884C\uFF0C\u8BF7\u7B49\u5F85\u5F53\u524D\u56DE\u590D\u5B8C\u6210\u3002","chat.run.error.rollbackInProgress":"\u6B63\u5728\u56DE\u6EDA\u4E0A\u4E00\u6761\u6267\u884C\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.run.error.unavailable":"\u6267\u884C\u961F\u5217\u6682\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.run.error.notFound":"\u6267\u884C\u8BB0\u5F55\u5DF2\u4E0D\u5B58\u5728\u3002","chat.run.error.joinTimeout":"\u6267\u884C\u4ECD\u5728\u8FDB\u884C\u4E2D\u3002","chat.run.error.affinity":"\u6267\u884C\u5DF2\u5207\u6362\u5230\u5176\u4ED6\u526F\u672C\uFF0C\u8BF7\u91CD\u65B0\u8FDE\u63A5\u3002","chat.run.error.network":"\u7F51\u7EDC\u8FDE\u63A5\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u91CD\u8BD5\u3002","chat.run.error.stateIncompatible":"\u8FD0\u884C\u65F6\u72B6\u6001\u4E0D\u517C\u5BB9\uFF0C\u8BF7\u65B0\u5EFA\u5BF9\u8BDD\u91CD\u8BD5\u3002","chat.run.error.generic":"\u6267\u884C\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002","chat.messageRail.label":"\u4F60\u7684\u6D88\u606F","chat.messageRail.jump":"\u8DF3\u8F6C\u5230\u4F60\u7684\u6D88\u606F\uFF1A{{preview}}","chat.run.status.queued":"{{count}} \u6761\u6392\u961F","chat.queue.count":"{{count}} \u6761\u6392\u961F","chat.queue.queued":"\u6392\u961F\u4E2D\u7684\u6D88\u606F","chat.queue.cancel":"\u79FB\u9664\u6392\u961F\u6D88\u606F","chat.queue.cancelFailed":"\u79FB\u9664\u6392\u961F\u6D88\u606F\u5931\u8D25"},c={messages:t};export{c as default,t as messages};