openpond 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{actions-command-F55CBR2K.js → actions-command-R5R3KR5Q.js} +1 -1
- package/dist/chunks/{app-layer-GNYLOBCX.js → app-layer-JNSKATX7.js} +1 -1
- package/dist/chunks/{app-server-runtime-HUJLAGR5.js → app-server-runtime-FV4KHBTY.js} +1 -1
- package/dist/chunks/{apps-HZ5JGBDR.js → apps-3TXUNF65.js} +1 -1
- package/dist/chunks/{chunk-KV2IXO2T.js → chunk-2LADHICK.js} +1 -1
- package/dist/chunks/{chunk-V5CGBGTX.js → chunk-37V5TT45.js} +1 -1
- package/dist/chunks/{chunk-SE4J5XAW.js → chunk-3ZEV5UKA.js} +1 -1
- package/dist/chunks/{chunk-GPZYIVFV.js → chunk-4HIHSG5M.js} +11 -11
- package/dist/chunks/{chunk-SFCXYOXL.js → chunk-EESJULVS.js} +1 -1
- package/dist/chunks/{chunk-WJVRQDHW.js → chunk-FESS4IR4.js} +245 -245
- package/dist/chunks/{chunk-EG3XB6M6.js → chunk-K4QLUFGX.js} +1 -1
- package/dist/chunks/{chunk-XAYIETBO.js → chunk-LYWUCJTV.js} +12 -12
- package/dist/chunks/{chunk-T5XCPX4P.js → chunk-NWI7H753.js} +2 -2
- package/dist/chunks/{chunk-GEANXBLX.js → chunk-OD6AGGH6.js} +1 -1
- package/dist/chunks/{chunk-AF57BF75.js → chunk-QUW7WK32.js} +1 -1
- package/dist/chunks/chunk-U6HOHOOI.js +2 -0
- package/dist/chunks/{chunk-I7G35U7K.js → chunk-ZKA3XSM7.js} +1 -1
- package/dist/chunks/{cli-OXPCJL6M.js → cli-ZZTJVJRT.js} +1 -1
- package/dist/chunks/{configuration-command-HAPIYG25.js → configuration-command-54D6TOEV.js} +1 -1
- package/dist/chunks/{core-commands-N37UZEVE.js → core-commands-F35UFIXE.js} +1 -1
- package/dist/chunks/{desktop-test-V7FBEG7U.js → desktop-test-U2MMP2NE.js} +1 -1
- package/dist/chunks/{extension-NEPOQ44P.js → extension-WY2RL5ZH.js} +1 -1
- package/dist/chunks/{help-HC4N5ZQC.js → help-VGDW6SBX.js} +1 -1
- package/dist/chunks/{opchat-C7XRN4ZW.js → opchat-QK2KIHN3.js} +1 -1
- package/dist/chunks/{organizations-LQGRZJ2V.js → organizations-MUDOF6VM.js} +1 -1
- package/dist/chunks/{profile-UWM24A7R.js → profile-FW5COIFH.js} +1 -1
- package/dist/chunks/{project-agent-2ME52ZJW.js → project-agent-G6GJOIVI.js} +1 -1
- package/dist/chunks/{sandbox-command-53L3ZICT.js → sandbox-command-H7INTQJZ.js} +1 -1
- package/dist/chunks/{sandbox-template-55HUM5H7.js → sandbox-template-7MXJQ3X4.js} +1 -1
- package/dist/chunks/{src-W6QOW5JR.js → src-4QYE5G3N.js} +3 -3
- package/dist/chunks/{src-VGW2UEMV.js → src-E7WA3OPU.js} +1 -1
- package/dist/chunks/{teams-bot-FHD2HCHN.js → teams-bot-ZDTMGPCU.js} +1 -1
- package/dist/chunks/{workspaces-UQ2GPN5U.js → workspaces-UB2HJGNE.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/web/assets/{App-BoJQRfeu.js → App-DNZ5VhFd.js} +29 -29
- package/dist/web/assets/{AppDialog-rdfmJsGF.js → AppDialog-CtqbY289.js} +1 -1
- package/dist/web/assets/{AppTerminalPanel-CLW0kxtg.js → AppTerminalPanel-C1U1RKU6.js} +2 -2
- package/dist/web/assets/{AppsView-DxMXadnp.js → AppsView-BeGbrJkU.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-BH_jl0JS.js → BrowserSidebar-XgQLeXw1.js} +1 -1
- package/dist/web/assets/{CartesianChart-oT_rMYpf.js → CartesianChart-Cp_-LaJY.js} +1 -1
- package/dist/web/assets/{CollaborationTabs-CukgFGE0.js → CollaborationTabs-BL6guh-3.js} +1 -1
- package/dist/web/assets/{CommandMenu-2btBTgOF.js → CommandMenu-B-DEtpTp.js} +1 -1
- package/dist/web/assets/{CommunityView-DMTREmN5.js → CommunityView-DcEhEMm_.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-3tN55cg9.js → ComposerCreateImproveStrip-C4mCZcKl.js} +1 -1
- package/dist/web/assets/{GetStartedView-CMHL24_w.js → GetStartedView-BUlaCO6a.js} +1 -1
- package/dist/web/assets/HostedModelLearningReview-CZyb95R_.js +1 -0
- package/dist/web/assets/{HostedModelLearningSettings-xqd2lSW3.js → HostedModelLearningSettings-D2o7rh0w.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-Bpnya5DM.js → LabModelVersionDetailPage-Bb1XRvo_.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-BKZjScr8.js → LabSkillSidebar-CPucMztm.js} +1 -1
- package/dist/web/assets/LabsRoute-C_HDADl0.js +32 -0
- package/dist/web/assets/{MainChatThread-Bosxokt-.js → MainChatThread-CnXHxCy3.js} +2 -2
- package/dist/web/assets/{MainPane-Di-Rwe7x.js → MainPane-DjnT-kvm.js} +4 -4
- package/dist/web/assets/{MarkdownText-dK4SBPp_.js → MarkdownText-_zVYW4pN.js} +1 -1
- package/dist/web/assets/{Messages-ftYRMKYa.js → Messages-DxctstDI.js} +1 -1
- package/dist/web/assets/{NativeSkillSidebar-Cwo7JdB2.js → NativeSkillSidebar-DV4AGiCD.js} +1 -1
- package/dist/web/assets/{NewExperienceSwitcher-C1_JzTq2.js → NewExperienceSwitcher-CZCLJj99.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-CxP6v6YW.js → NewProjectDialog-CQSipZ5d.js} +1 -1
- package/dist/web/assets/{OutputsPage-DL21_Alp.js → OutputsPage-aPJP4mTV.js} +1 -1
- package/dist/web/assets/{ProjectsPage-BO9VyvMA.js → ProjectsPage-CyThuXQv.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-DaqAnzdR.js → RightChatPanelStack-jsP9CukH.js} +1 -1
- package/dist/web/assets/{RightSidebarHomePanel-PbUG12AO.js → RightSidebarHomePanel-CtH0vZ36.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-BhL-cXML.js → ScheduledWorkPage-BY_4jFm7.js} +1 -1
- package/dist/web/assets/{SettingsView-D6-s7G88.js → SettingsView-ZPnupcpg.js} +3 -3
- package/dist/web/assets/{TeamChatView-DbS1N-fo.js → TeamChatView-DWjwVxMp.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-CphyBXJR.js → TerminalOverlay-DxuUGKYH.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-Czsdraix.js → TrainingCreationPanel-CjIPEoTX.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-Bq3B5pUk.js → TrainingDraftPanel-CxevAlkr.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-B74FNwaP.js → UsageSettingsSection-CY1lQB_g.js} +1 -1
- package/dist/web/assets/{WorkSidebarPanel-BgaK4XSg.js → WorkSidebarPanel-DMsiwOSi.js} +1 -1
- package/dist/web/assets/{WorkspaceDiffPanel-C3seHnVY.js → WorkspaceDiffPanel-HdfItqu2.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-DPghQUdv.js → WorkspaceEnvironmentMenu-7DSF_BpI.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-D8c6Okb_.js → WorkspaceGitDialogs-Ck8BzH11.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-2kjRFf4l.js → WorkspaceMonacoEditor-gsEP4W37.js} +3 -3
- package/dist/web/assets/{arrow-up-right-C5X-29oa.js → arrow-up-right-BK6EpHpC.js} +1 -1
- package/dist/web/assets/{chat-file-links-Bmz9kVct.js → chat-file-links-BQe708gU.js} +1 -1
- package/dist/web/assets/chevron-up-CHxYR4AX.js +1 -0
- package/dist/web/assets/{clipboard-fvHMXPWa.js → clipboard-DOmCP7eR.js} +1 -1
- package/dist/web/assets/{cloud-upload-BAycsdHL.js → cloud-upload-DLtawDYW.js} +1 -1
- package/dist/web/assets/{cssMode-Yis679a5.js → cssMode-C0Qw8i_8.js} +1 -1
- package/dist/web/assets/{folder-open-bii4KUCv.js → folder-open-B_Ayxxo8.js} +1 -1
- package/dist/web/assets/{folder-plus-B0B7mUCx.js → folder-plus-CPgtt3pN.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-B6yTdtnB.js → git-commit-horizontal-23xCJjd8.js} +1 -1
- package/dist/web/assets/{htmlMode-DHeBSKVF.js → htmlMode-DuQ7zaau.js} +1 -1
- package/dist/web/assets/{index-667pXXsu.js → index-BoaTQ0Rb.js} +1 -1
- package/dist/web/assets/{info-NCOESX3I.js → info-CQ2kJJ5E.js} +1 -1
- package/dist/web/assets/{jsonMode-C4oxy1cU.js → jsonMode-DVQSEPUy.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-CLj3WGZW.js → lspLanguageFeatures-DWKH3min.js} +1 -1
- package/dist/web/assets/{minimize-2-DtI1vgd7.js → minimize-2-1M-fFBeP.js} +1 -1
- package/dist/web/assets/{monaco.contribution-DZPgekIQ.js → monaco.contribution-B5Jz7f4W.js} +2 -2
- package/dist/web/assets/{monaco.contribution-DhVPJ-oY.js → monaco.contribution-DB7pp5Y-.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Ddw-TznO.js → monaco.contribution-jXX7-l5p.js} +2 -2
- package/dist/web/assets/{monaco.contribution-DrW6DjWP.js → monaco.contribution-ytVV-s22.js} +2 -2
- package/dist/web/assets/{play-DB3XFAnG.js → play-D9jaK5MP.js} +1 -1
- package/dist/web/assets/{python-DLyUeEeL.js → python-_yRitN2I.js} +1 -1
- package/dist/web/assets/{refresh-cw-0zSLZtfp.js → refresh-cw-DZHqZGos.js} +1 -1
- package/dist/web/assets/{save-BCZlshOA.js → save-DOT3oYfU.js} +1 -1
- package/dist/web/assets/{square-CRytZWR_.js → square-D_1V6onE.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-TXg0rI_R.js → toggleHighContrast-C06C-luq.js} +1 -1
- package/dist/web/assets/{tsMode-Bj1019AY.js → tsMode-CTMYvh-R.js} +1 -1
- package/dist/web/assets/{upload-CnE9u7GB.js → upload-EAAHd0Nx.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-qI87RHVI.js → useLocalAgentSchedules-DBsx4aIY.js} +1 -1
- package/dist/web/assets/{wifi-off-CfuwRBx7.js → wifi-off-DYRTrfYa.js} +1 -1
- package/dist/web/assets/{workers-CXdUI7wU.js → workers-DAytqxd3.js} +1 -1
- package/dist/web/assets/{yaml-AP8aiwLm.js → yaml-iZnWWABr.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/dist/chunks/chunk-NVGMZ2IN.js +0 -2
- package/dist/web/assets/HostedModelLearningReview-CqkSelkC.js +0 -1
- package/dist/web/assets/LabsRoute-BhPFmA_Z.js +0 -32
- package/dist/web/assets/chevron-up-NbP9vY4E.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
3
|
-
import{o as vt,p as St}from"./chunk-
|
|
3
|
+
import{o as vt,p as St}from"./chunk-2LADHICK.js";import{Da as yt}from"./chunk-QUW7WK32.js";import{j as pe,k as ht,m as me}from"./chunk-4HIHSG5M.js";import"./chunk-6MI4KKWF.js";import"./chunk-SDO4FC4Q.js";import"./chunk-IR3YJWPW.js";import"./chunk-6FA3GG5B.js";import"./chunk-KDXLNQNF.js";import"./chunk-LYWUCJTV.js";import{J as He,K as ee,M as pt,N as mt,Q as ft,T as gt}from"./chunk-FYCJSUFV.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import{f as dt,h as ct}from"./chunk-H7IWJN7L.js";import{a as i}from"./chunk-FTQLQJQV.js";import{createInterface as oo}from"node:readline/promises";import{stdin as Fe,stdout as k}from"node:process";import{pathToFileURL as io}from"node:url";function ge(){return{text:"",cursor:0,history:[],historyIndex:null}}i(ge,"createComposer");function wt(e,t){let r=e.text.slice(0,e.cursor),n=e.text.slice(e.cursor);return{...e,text:`${r}${t}${n}`,cursor:e.cursor+t.length,historyIndex:null}}i(wt,"insertText");function fe(e,t){return{...e,text:t,cursor:t.length}}i(fe,"replaceComposerText");function Rr(e){let t=e.text.trim();return t?{state:{text:"",cursor:0,history:[...e.history.filter(r=>r!==t),t].slice(-100),historyIndex:null},action:{type:"submit",text:t}}:{state:{...e,text:"",cursor:0,historyIndex:null},action:{type:"none"}}}i(Rr,"submitComposer");function Tt(e,t){if(t==="ctrl+c")return{state:e,action:{type:"cancel-or-exit"}};if(t==="ctrl+d")return{state:e,action:e.text?{type:"none"}:{type:"exit"}};if(t==="ctrl+l")return{state:e,action:{type:"rerender"}};if(t==="enter")return Rr(e);if(t==="alt+enter")return{state:wt(e,`
|
|
4
4
|
`),action:{type:"none"}};if(t==="backspace")return e.cursor<=0?{state:e,action:{type:"none"}}:{state:{...e,text:`${e.text.slice(0,e.cursor-1)}${e.text.slice(e.cursor)}`,cursor:e.cursor-1},action:{type:"none"}};if(t==="delete")return e.cursor>=e.text.length?{state:e,action:{type:"none"}}:{state:{...e,text:`${e.text.slice(0,e.cursor)}${e.text.slice(e.cursor+1)}`},action:{type:"none"}};if(t==="left")return{state:{...e,cursor:Math.max(0,e.cursor-1)},action:{type:"none"}};if(t==="right")return{state:{...e,cursor:Math.min(e.text.length,e.cursor+1)},action:{type:"none"}};if(t==="home"||t==="ctrl+a")return{state:{...e,cursor:0},action:{type:"none"}};if(t==="end"||t==="ctrl+e")return{state:{...e,cursor:e.text.length},action:{type:"none"}};if(t==="ctrl+u")return{state:{...e,text:e.text.slice(e.cursor),cursor:0},action:{type:"none"}};if(t==="ctrl+k")return{state:{...e,text:e.text.slice(0,e.cursor)},action:{type:"none"}};if(t==="up"){if(e.history.length===0)return{state:e,action:{type:"none"}};let r=e.historyIndex===null?e.history.length-1:Math.max(0,e.historyIndex-1);return{state:fe({...e,historyIndex:r},e.history[r]??""),action:{type:"none"}}}if(t==="down"){if(e.historyIndex===null)return{state:e,action:{type:"none"}};let r=e.historyIndex+1;return r>=e.history.length?{state:{...e,text:"",cursor:0,historyIndex:null},action:{type:"none"}}:{state:fe({...e,historyIndex:r},e.history[r]??""),action:{type:"none"}}}return t.length>0?{state:wt(e,t),action:{type:"none"}}:{state:e,action:{type:"none"}}}i(Tt,"handleComposerKey");var bt="A turn is already running. Wait for it to finish before sending another line.";function Mr(){let e=!1;return{isRunning(){return e},tryStartSubmission(){return e?!1:(e=!0,!0)},failSubmission(){e=!1},applyRuntimeEvent(t){t.name==="turn.started"&&(e=!0),(t.name==="turn.completed"||t.name==="turn.failed"||t.name==="turn.interrupted")&&(e=!1)}}}i(Mr,"createTerminalTurnSubmissionGuard");function Pt(){return Mr()}i(Pt,"createLineModeTurnGuard");var he=[{name:"help",usage:"/help",description:"show this help"},{name:"providers",usage:"/providers",description:"list providers"},{name:"provider",usage:"/provider [id]",description:"switch provider",requiresArgument:!0},{name:"model",usage:"/model [id]",description:"list or switch model"},{name:"apps",usage:"/apps",description:"list connectable apps"},{name:"install",usage:"/install <app>",description:"open app details",requiresArgument:!0},{name:"projects",usage:"/projects",description:"list projects"},{name:"project",usage:"/project <id>",description:"switch project",requiresArgument:!0},{name:"permissions",usage:"/permissions [ask|full-access]",description:"show or change command access"},{name:"profile",usage:"/profile [status|diff|catalog|check|push]",description:"show or sync profile"},{name:"agents",usage:"/agents",description:"list agents"},{name:"agent",usage:"/agent <id>",description:"select agent",requiresArgument:!0},{name:"run",usage:"/run <action> [json]",description:"run profile action",requiresArgument:!0},{name:"settings",usage:"/settings",description:"show settings"},{name:"logs",usage:"/logs",description:"show recent events"},{name:"compact",usage:"/compact",description:"compact current session"},{name:"clear",usage:"/clear",description:"clear terminal transcript"},{name:"exit",usage:"/exit",description:"exit"},{name:"hooks",usage:"/hooks",description:"show hook status"},{name:"start",usage:"/start",description:"start a new session"}];function ze(e){if(!e.startsWith("/"))return null;let[t="",...r]=e.slice(1).trim().split(/\s+/),n=t.toLowerCase();if(!n)return null;if(n==="exit"||n==="quit")return{type:"exit"};if(n==="help")return{type:"help"};if(n==="clear")return{type:"clear"};if(n==="agents")return{type:"agents"};if(n==="apps")return{type:"apps"};if(n==="agent")return{type:"agent",id:r.join(" ").trim()};if(n==="install")return{type:"install",id:r.join(" ").trim()};if(n==="projects")return{type:"projects"};if(n==="project")return{type:"project",id:r.join(" ").trim()};if(n==="model")return{type:"model",id:r.join(" ").trim()||null};if(n==="permissions")return{type:"permissions",args:r};if(n==="profile")return{type:"profile",args:r};if(n==="logs")return{type:"logs"};if(n==="providers")return{type:"providers"};if(n==="provider")return{type:"provider",id:r.join(" ").trim()||null};if(n==="compact")return{type:"compact"};if(n==="hooks")return{type:"hooks"};if(n==="start")return{type:"start"};if(n==="run"){let o=r[0]??"",s=r.slice(1).join(" ").trim();return s?{type:"run",action:o,input:JSON.parse(s)}:{type:"run",action:o,input:void 0}}return n==="settings"?{type:"settings",args:r}:{type:"unknown",command:n}}i(ze,"parseSlashCommand");function xt(e){let t=e.trim();if(!t.startsWith("!"))return null;let r=t.slice(1).trim();return r?{command:r}:null}i(xt,"parseDirectCommandPrompt");function Ct(){let e=Math.max(...he.map(t=>t.usage.length));return["Commands:",...he.map(t=>`${t.usage.padEnd(e+2)}${t.description}`)].join(`
|
|
5
5
|
`)}i(Ct,"helpText");var ye=class{static{i(this,"RawInput")}input;onKey;previousRawMode=!1;dataHandler=null;constructor(t,r){this.input=t,this.onKey=r}start(){this.previousRawMode=this.input.isRaw??!1,this.input.setRawMode(!0),this.input.resume(),this.dataHandler=t=>{for(let r of Or(t))this.onKey(r)},this.input.on("data",this.dataHandler)}stop(){this.dataHandler&&this.input.off("data",this.dataHandler),this.dataHandler=null,this.input.setRawMode(this.previousRawMode),this.input.pause()}};function Or(e){let t=e.toString("utf8"),r=[];for(let n=0;n<t.length;n+=1){let o=t[n],s=t[n+1];if(o==="\x1B"){let a=jr(t,n);r.push(a.key),n=a.end;continue}o===""?r.push("ctrl+c"):o===""?r.push("ctrl+d"):o==="\f"?r.push("ctrl+l"):o===""?r.push("ctrl+a"):o===""?r.push("ctrl+e"):o==="\v"?r.push("ctrl+k"):o===""?r.push("ctrl+u"):o==="\x7F"||o==="\b"?r.push("backspace"):o==="\r"||o===`
|
|
6
6
|
`?r.push("enter"):(o>=" "||o&&s)&&r.push(o)}return r}i(Or,"decodeKeys");function jr(e,t){let r=e.slice(t);return r.startsWith("\x1B\r")||r.startsWith(`\x1B
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{p as f}from"./chunk-CCJG7GLE.js";import"./chunk-ZVOO7FKM.js";import"./chunk-OGPHXXCD.js";import"./chunk-
|
|
2
|
+
import{p as f}from"./chunk-CCJG7GLE.js";import"./chunk-ZVOO7FKM.js";import"./chunk-OGPHXXCD.js";import"./chunk-K4QLUFGX.js";import"./chunk-U6HOHOOI.js";import"./chunk-KDXLNQNF.js";import"./chunk-CWQWV2T3.js";import"./chunk-LYWUCJTV.js";import"./chunk-GLUWATL5.js";import"./chunk-ZKA3XSM7.js";import"./chunk-FYCJSUFV.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-NWI7H753.js";import{a as g,c as a,d}from"./chunk-3M53YXEI.js";import{a as s}from"./chunk-FTQLQJQV.js";function c(){return["usage: teams-bot <overview|bind|rebind|diagnostics|diagnostic-run>"," teams-bot overview --team-id <id>"," teams-bot bind --team-id <id> --token <token> [--project-id <id>] [--agent-id <id>] [--microsoft-connection-id <id>]"," teams-bot rebind <bindingId> --team-id <id> [--project-id <id>] [--agent-id <id>] [--microsoft-connection-id <id>]"," teams-bot diagnostics <bindingId> --team-id <id>"," teams-bot diagnostic-run <bindingId> --team-id <id> --prompt <text> [--attachments-json <json-array>] [--action-input-json <json-object>]"].join(`
|
|
3
3
|
`)}s(c,"usage");function u(n,o){if(!(o in n))return;let t=a(n,o);return!t||t==="null"||t==="none"?null:t}s(u,"nullableOption");function b(n){let o=d(n,"usage: teams-bot rebind <bindingId>"),t=u(n,"sandboxId"),r=u(n,"projectId"),i=u(n,"agentId"),e=u(n,"microsoftConnectionId");return{teamId:o,...t!==void 0?{sandboxId:t}:{},...r!==void 0?{projectId:r}:{},...i!==void 0?{agentId:i}:{},...e!==void 0?{microsoftConnectionId:e}:{}}}s(b,"bindingTargetInput");function l(n){let o=a(n,"attachmentsJson");if(!o)return;let t=g(o,"attachments-json");if(!Array.isArray(t))throw new Error("attachments-json must be a JSON array");for(let r of t)if(!r||typeof r!="object"||Array.isArray(r))throw new Error("attachments-json entries must be JSON objects");return t}s(l,"attachmentsInput");function w(n){let o=a(n,"actionInputJson");if(!o)return;let t=g(o,"action-input-json");if(!t||typeof t!="object"||Array.isArray(t))throw new Error("action-input-json must be a JSON object");return t}s(w,"actionInput");async function j(n,o){let t=o[0]||"overview",r=await f(n);if(t==="overview"){let i=d(n,"usage: teams-bot overview");console.log(JSON.stringify(await r.getMicrosoftTeamsBotOverview({teamId:i}),null,2));return}if(t==="bind"){let i=a(n,"token");if(!i)throw new Error(c());let e=await r.bindMicrosoftTeamsBotConversation({...b(n),token:i});console.log(JSON.stringify(e,null,2));return}if(t==="rebind"){let i=o[1]?.trim();if(!i)throw new Error(c());let e=await r.rebindMicrosoftTeamsBotConversation(i,b(n));console.log(JSON.stringify(e,null,2));return}if(t==="diagnostics"){let i=o[1]?.trim(),e=d(n,"usage: teams-bot diagnostics <bindingId>");if(!i)throw new Error(c());console.log(JSON.stringify(await r.sendMicrosoftTeamsBotDiagnostic({teamId:e,bindingId:i}),null,2));return}if(t==="diagnostic-run"){let i=o[1]?.trim(),e=d(n,"usage: teams-bot diagnostic-run <bindingId>"),m=a(n,"prompt");if(!i||!m)throw new Error(c());console.log(JSON.stringify(await r.sendMicrosoftTeamsBotDiagnosticRun({teamId:e,bindingId:i,prompt:m,attachments:l(n),actionInput:w(n)}),null,2));return}throw new Error(c())}s(j,"runTeamsBotCommand");export{j as runTeamsBotCommand};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-
|
|
2
|
+
import{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"./chunk-3ZEV5UKA.js";import"./chunk-37V5TT45.js";import"./chunk-FTQLQJQV.js";export{a as MACOS_GIT_MISSING_DEVELOPER_TOOLS_ERROR,C as appWorkspacePaths,B as assertSafeBranchName,d as checkWorkspaceGitAvailability,J as checkoutBranch,K as checkoutBranchAtPath,M as clearWorkspaceDiffCacheForTests,D as cloneWorkspace,H as createAndCheckoutBranch,I as createAndCheckoutBranchAtPath,A as expectedRemoteUrl,t as isGeneratedWorkspacePath,i as isGitRepo,c as isMacOSGitDeveloperToolsMissing,u as isVisibleGitWorkspaceFile,r as isWorkspaceDirectory,E as lastFetchAt,z as listPlainWorkspaceFiles,P as loadGitCommitDiffAtPath,N as loadWorkspaceDiff,O as loadWorkspaceDiffAtPath,Q as loadWorkspaceFile,T as loadWorkspaceFileAtPath,R as loadWorkspaceImageFile,S as loadWorkspaceImageFileAtPath,F as loadWorkspaceState,G as loadWorkspaceStateAtPath,n as localVideoContentType,L as mapWorkspaceDiffEntriesWithConcurrency,s as normalizeWorkspaceFilePath,w as parseBranchStatusLine,x as parseNumstat,v as parseStatusLine,h as pathExists,p as readLocalImageFile,q as readLocalVideoFile,l as readWorkspaceDocumentPreview,k as readWorkspaceFile,o as readWorkspaceImageFile,g as redactRemoteUrl,b as runWorkspaceCommand,f as sourceFromRemote,e as startMacOSCommandLineToolsInstall,j as truncatePatch,y as uniqueSortedPaths,m as workspaceImageContentType};
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
3
|
-
import{a as m,b as l}from"./chunks/chunk-ZVOO7FKM.js";import"./chunks/chunk-GLUWATL5.js";import{b as u}from"./chunks/chunk-
|
|
3
|
+
import{a as m,b as l}from"./chunks/chunk-ZVOO7FKM.js";import"./chunks/chunk-GLUWATL5.js";import{b as u}from"./chunks/chunk-ZKA3XSM7.js";import{a as c,j as d}from"./chunks/chunk-NWI7H753.js";import{f as s}from"./chunks/chunk-3M53YXEI.js";import{a as i}from"./chunks/chunk-FTQLQJQV.js";function f(e){return!e.command&&s(e.options.version)?"version":s(e.options.checkUpdate)?"check-update":!e.command&&s(e.options.help)?"help":!e.command&&s(e.options.tui)?"tui":e.command?"command":"ui"}i(f,"resolveCliTopLevelAction");async function v(e=process.argv.slice(2)){if(await C(e))return;let{command:r,options:o,rest:t}=u(e);typeof o.home=="string"&&(process.env.OPENPOND_HOME=(await import("./chunks/dist-NKLXFA37.js")).resolveOpenPondHome({home:o.home}));let n=f({command:r,options:o});if(n==="version"){console.log(c());return}if(n==="check-update"){await(await import("./chunks/core-commands-F35UFIXE.js")).runCheckUpdate();return}if(n==="help"){(await import("./chunks/help-VGDW6SBX.js")).printHelp();return}let a=m(o),p=l(o);if(a&&(process.env.OPENPOND_ACCOUNT=a),p&&(process.env.OPENPOND_BASE_URL=p),n==="tui"){await(await import("./chunks/app-layer-JNSKATX7.js")).runOpenPondTerminalCommand(o,t);return}if(n==="ui"){await(await import("./chunks/app-layer-JNSKATX7.js")).runOpenPondServerCommand("web",o,t);return}await d({command:r,options:o,rest:t})||((await import("./chunks/help-VGDW6SBX.js")).printHelp(),process.exit(1))}i(v,"runOpenPondCli");async function C(e){if(e[0]==="__app-server"){process.argv=[process.execPath,"openpond-app-server",...e.slice(1)];let[{createOpenPondAppServer:r},{runOpenPondAppServerCli:o}]=await Promise.all([import("./chunks/app-server-runtime-FV4KHBTY.js"),import("./chunks/cli-ZZTJVJRT.js")]);return await o(r),!0}if(e[0]==="__server"){process.argv=[process.execPath,"openpond-server",...e.slice(1)];let[{createOpenPondServer:r},{runOpenPondServerCli:o}]=await Promise.all([import("./chunks/src-4QYE5G3N.js"),import("./chunks/cli-ZZTJVJRT.js")]),{createOpenPondAppServer:t}=await import("./chunks/app-server-runtime-FV4KHBTY.js");return await o({createOpenPondServer:r,createOpenPondAppServer:t}),!0}return e[0]==="__terminal"?(await(await import("./chunks/src-E7WA3OPU.js")).runOpenPondTerminalCli(e.slice(1)),!0):!1}i(C,"runEmbeddedCompanion");v().catch(e=>{let r=e instanceof Error?e.message:String(e),o=e.issue;if(process.argv.includes("--json")&&!(e instanceof Error&&e.name==="OpenPondChildProcessExitError"))console.log(JSON.stringify({error:o??{code:"CLI_ERROR",message:r}}));else if(o&&typeof o=="object"){let n=o;console.error(`${n.code}: ${n.message}
|
|
4
4
|
${n.path}
|
|
5
5
|
${n.action}`)}else console.error(r);let t=typeof e.exitCode=="number"?e.exitCode:1;process.exit(t)});export{v as runOpenPondCli};
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import"./chunks/chunk-X37KMV27.js";import{a as Cr,b as Dr,c as Er,d as Fr,e as Gr,f as Hr,g as Ir,h as Jr,i as Kr,j as Lr,k as Mr,l as Nr}from"./chunks/chunk-RWSAGQTP.js";import{a as ir,b as jr,c as kr}from"./chunks/chunk-22UARBPW.js";import{a as lr,b as nr,c as qr,d as sr,e as ur,f as vr,g as wr,h as yr,i as zr,j as Ar,k as Br}from"./chunks/chunk-I5K74TOH.js";import{A as Mo,B as No,C as Oo,D as Po,E as Qo,F as Ro,G as So,H as To,I as Uo,b as ho,c as io,d as jo,e as ko,f as lo,g as no,h as qo,i as so,j as uo,k as vo,l as wo,m as yo,n as zo,o as Ao,p as Bo,q as Co,r as Do,s as Eo,t as Fo,u as Go,v as Ho,w as Io,x as Jo,y as Ko,z as Lo}from"./chunks/chunk-DUA3QP6Y.js";import"./chunks/chunk-3NDRIQTI.js";import"./chunks/chunk-3A7HZJNE.js";import{a as Vo,b as Wo,c as Xo,d as Yo,e as Zo,f as _o,g as $o,h as or,i as rr,j as er,k as fr,l as mr,m as pr,n as tr,o as xr,p as ar,q as br,r as cr,s as dr,t as gr,u as hr}from"./chunks/chunk-EAPFMACH.js";import"./chunks/chunk-6FA3GG5B.js";import"./chunks/chunk-OGPHXXCD.js";import"./chunks/chunk-
|
|
2
|
+
import"./chunks/chunk-X37KMV27.js";import{a as Cr,b as Dr,c as Er,d as Fr,e as Gr,f as Hr,g as Ir,h as Jr,i as Kr,j as Lr,k as Mr,l as Nr}from"./chunks/chunk-RWSAGQTP.js";import{a as ir,b as jr,c as kr}from"./chunks/chunk-22UARBPW.js";import{a as lr,b as nr,c as qr,d as sr,e as ur,f as vr,g as wr,h as yr,i as zr,j as Ar,k as Br}from"./chunks/chunk-I5K74TOH.js";import{A as Mo,B as No,C as Oo,D as Po,E as Qo,F as Ro,G as So,H as To,I as Uo,b as ho,c as io,d as jo,e as ko,f as lo,g as no,h as qo,i as so,j as uo,k as vo,l as wo,m as yo,n as zo,o as Ao,p as Bo,q as Co,r as Do,s as Eo,t as Fo,u as Go,v as Ho,w as Io,x as Jo,y as Ko,z as Lo}from"./chunks/chunk-DUA3QP6Y.js";import"./chunks/chunk-3NDRIQTI.js";import"./chunks/chunk-3A7HZJNE.js";import{a as Vo,b as Wo,c as Xo,d as Yo,e as Zo,f as _o,g as $o,h as or,i as rr,j as er,k as fr,l as mr,m as pr,n as tr,o as xr,p as ar,q as br,r as cr,s as dr,t as gr,u as hr}from"./chunks/chunk-EAPFMACH.js";import"./chunks/chunk-6FA3GG5B.js";import"./chunks/chunk-OGPHXXCD.js";import"./chunks/chunk-K4QLUFGX.js";import"./chunks/chunk-U6HOHOOI.js";import{f as ao,g as bo,h as co}from"./chunks/chunk-KDXLNQNF.js";import{$,A as D,B as E,C as F,D as G,E as H,F as I,G as J,H as K,I as L,J as M,K as N,L as O,M as P,N as Q,O as R,P as S,Q as T,U,V,W,X,Y,Z,_,a as o,aa as oo,b as p,ba as ro,c as t,ca as eo,d as x,da as fo,e as a,ea as mo,f as b,fa as po,g as c,ga as to,h as d,ha as xo,i as g,ia as go,j as h,k as i,l as j,n as k,o as l,p as n,q,r as s,s as u,t as v,u as w,v as y,w as z,x as A,y as B,z as C}from"./chunks/chunk-CWQWV2T3.js";import"./chunks/chunk-LYWUCJTV.js";import{a as r,b as e,c as f,d as m}from"./chunks/chunk-GLUWATL5.js";import"./chunks/chunk-FYCJSUFV.js";import"./chunks/chunk-HZP5U2AA.js";import"./chunks/chunk-ES2ISFJC.js";import"./chunks/chunk-H7IWJN7L.js";import"./chunks/chunk-FTQLQJQV.js";export{fo as DEFAULT_CACHE_TTL_MS,yo as DEFAULT_LOCAL_PROFILE,e as DEFAULT_OPENPOND_API_BASE_URL,m as DEFAULT_OPENPOND_CHAT_API_BASE_URL,f as DEFAULT_OPENPOND_OPCHAT_API_BASE_URL,r as DEFAULT_OPENPOND_WEB_BASE_URL,zo as DEFAULT_PROFILE_AGENT,Xo as OPENPOND_MANIFEST_FILE_NAME,ho as OpenPondProfileSetupRequiredError,bo as OpenPondSandboxClient,wo as PROFILE_MANIFEST,vo as PROFILE_REPO_MANIFEST,go as SANDBOX_RUNTIME_PROFILE_IDS,Yo as SANDBOX_TEMPLATE_BUILD_PLAN_FILE_NAME,Zo as SANDBOX_TEMPLATE_BUILD_PLAN_KIND,Wo as SANDBOX_TEMPLATE_PREVIEW_PORT_MAX,Vo as SANDBOX_TEMPLATE_PREVIEW_PORT_MIN,_o as SandboxTemplateManifestSchema,$o as SandboxTemplateValidationDiagnosticSchema,o as apiFetch,jo as assertOpenPondProfileActionReady,io as buildOpenPondProfileSetupGate,Q as checkOpenPondApiHealth,lo as collectProfileSourceUploadEntries,To as commitActiveProfileChanges,p as commitFiles,Lr as computeAtr,Jr as computeBollinger,Gr as computeEma,Fr as computeEmaSeries,Ir as computeMaCross,Hr as computeMacd,Kr as computePriceChange,Cr as computeRsi,Er as computeSma,Dr as computeSmaSeries,Mr as consumeAgentCreateStream,jr as consumeStream,M as createAgentFromPrompt,Nr as createClient,k as createHeadlessApps,i as createLocalProject,co as createOpenPondSandboxClient,j as createRepo,Co as defaultLocalProfileRepoPath,mr as defineSandboxTemplate,H as deleteOrArchiveSchedule,t as deployApp,q as deployLatestTemplate,Do as emptyProfileState,V as executeHostedTool,T as executeUserTool,v as fetchToolManifest,ko as formatOpenPondProfileSetupRequirement,fr as formatSandboxTemplateDiagnostics,kr as formatStreamItem,u as getAppEnvironment,L as getAppExecutionTimeline,O as getAppRuntimeSummary,mo as getCachedApps,to as getCachedTools,W as getConfigPath,g as getDeploymentDetail,b as getDeploymentLogs,c as getDeploymentStatus,d as getLatestDeploymentForApp,sr as getOpChatModel,wr as getOpChatProvider,P as getOpenPondAccount,B as getOpenToolRecipe,C as getOpenToolRules,K as getScheduleExecutionLog,l as getTemplateStatus,N as getUserPerformance,qo as hostedPublishStatusFromPayload,uo as hostedRunStatusFromRunSummary,so as hostedRunSummaryFromPayload,no as hostedSourceCheckStatusFromPayload,Eo as initLocalProfileRepo,Io as installAgentPackageIntoActiveProfile,y as listAppSchedules,h as listApps,_ as listConfiguredProfiles,J as listDeploymentScheduleExecutionLogs,ur as listHostedModels,yr as listHostedProviders,qr as listOpChatModels,vr as listOpChatProviders,z as listOpenToolRecipes,I as listScheduleExecutionLogs,n as listTemplateBranches,w as listUserTools,Z as loadConfig,Y as loadGlobalConfig,Fo as loadLocalProfileRepo,Lo as loadOpenPondProfileLibrary,Jo as loadOpenPondProfileState,Mo as loadOpenPondProfileStateForRef,Bo as mergeActiveLocalProfileConfig,Ao as mergeProfileRepoManifestEntry,ir as normalizeDataFrames,ao as normalizeSandboxApiUrl,Ko as openPondProfileRef,er as parseSandboxTemplateYaml,S as postAgentDigest,x as promotePreviewToProduction,Go as registerLocalProfileRepo,Oo as removeOpenPondProfile,Ho as renameActiveProfileAgent,Po as requireActiveLocalProfile,nr as resolveHostedChatApiBaseUrl,lr as resolveOpChatApiBaseUrl,U as resolveWorkerBaseUrl,Ro as runAgentSdkProjectCommand,R as runAssistantMode,Br as runOpChatSmoke,So as runProfileCheck,Qo as runProfileSdkCommand,G as runScheduleNow,cr as sandboxTemplateBuildMetadata,dr as sandboxTemplateBuildPlan,tr as sandboxTemplateDurableVolume,br as sandboxTemplateExecutableEntries,ar as sandboxTemplateFileInput,hr as sandboxTemplateJsonSchema,xr as sandboxTemplatePreviewPort,pr as sandboxTemplateResources,gr as sandboxTemplateScaffoldFiles,ro as saveConfig,eo as saveGlobalConfig,oo as saveProfileApiKey,Uo as saveProfilePushStatus,A as searchOpenToolRecipes,No as selectOpenPondProfile,zr as sendHostedChatTurn,$ as setActiveProfile,po as setCachedApps,xo as setCachedTools,a as startAppLifecycle,D as startAppSchedules,E as stopAppSchedules,F as stopCurrentAppSchedules,Ar as streamHostedChatTurn,s as updateAppEnvironment,X as updateGlobalConfig,rr as validateSandboxTemplateManifest,or as validateSandboxTemplateYaml};
|