openpond 0.2.11 → 0.2.13
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/app-server.d.ts +6 -0
- package/dist/app-server.js +1 -1
- package/dist/chunks/{actions-command-V5DZWEON.js → actions-command-Q5HXY5XD.js} +1 -1
- package/dist/chunks/{app-layer-Y7SEYQCA.js → app-layer-S6H572UM.js} +1 -1
- package/dist/chunks/app-server-runtime-GIFUDGYZ.js +2 -0
- package/dist/chunks/{apps-HSS4KWPK.js → apps-K5HMFAPI.js} +1 -1
- package/dist/chunks/{chunk-3T5XJEDM.js → chunk-3GLSX322.js} +2 -2
- package/dist/chunks/{chunk-3DJF6IZ7.js → chunk-3V5FPSOK.js} +1 -1
- package/dist/chunks/{chunk-WW5SGVGJ.js → chunk-3YH3S5U2.js} +1 -1
- package/dist/chunks/{chunk-LCKCUSP7.js → chunk-ECH6PXVK.js} +1 -1
- package/dist/chunks/{chunk-UW6ES5DM.js → chunk-I4FOBNHQ.js} +15 -15
- package/dist/chunks/chunk-MPQWFPGA.js +5 -0
- package/dist/chunks/{chunk-B3RE35SQ.js → chunk-MSF7ZBFG.js} +1 -1
- package/dist/chunks/{chunk-RPS53CGT.js → chunk-NHBCFMAC.js} +1 -1
- package/dist/chunks/{chunk-2I4W24NK.js → chunk-NYPLOXEP.js} +1 -1
- package/dist/chunks/{chunk-J2MP4LSF.js → chunk-OHGSESPN.js} +1 -1
- package/dist/chunks/chunk-OW4KET6I.js +5 -0
- package/dist/chunks/{chunk-O4IARD7H.js → chunk-R33VLNFY.js} +1 -1
- package/dist/chunks/{chunk-ENCAWWFY.js → chunk-XK77GSBL.js} +346 -337
- package/dist/chunks/{chunk-GA7VBKCH.js → chunk-ZMRT4B4H.js} +14 -14
- package/dist/chunks/{cli-KSVNPTUC.js → cli-XJJYXKXM.js} +1 -1
- package/dist/chunks/{configuration-command-QFJTY4ZU.js → configuration-command-Q7XVBZ2E.js} +1 -1
- package/dist/chunks/{core-commands-TO3M5MO4.js → core-commands-6GZ7T4SK.js} +1 -1
- package/dist/chunks/{desktop-test-5SU5G4FN.js → desktop-test-EKPOPWTL.js} +1 -1
- package/dist/chunks/{extension-DCZ5DPRY.js → extension-A2BWJMRQ.js} +1 -1
- package/dist/chunks/{help-IHCPRO43.js → help-MTWG7AXZ.js} +1 -1
- package/dist/chunks/{opchat-YQVCNDDK.js → opchat-4QGK6MRL.js} +1 -1
- package/dist/chunks/{organizations-TJAS5AO2.js → organizations-TTUM577J.js} +1 -1
- package/dist/chunks/{profile-2XAUWXP5.js → profile-C33CIJOV.js} +1 -1
- package/dist/chunks/{project-agent-EN66WJBL.js → project-agent-5P3ALPRY.js} +1 -1
- package/dist/chunks/{sandbox-command-LYUXPY4U.js → sandbox-command-CEIXSDW2.js} +1 -1
- package/dist/chunks/{sandbox-template-HXH2CSY4.js → sandbox-template-KTKWVKZ7.js} +1 -1
- package/dist/chunks/src-7NWHHROY.js +319 -0
- package/dist/chunks/{src-4DML3FLR.js → src-ZAF6VEWJ.js} +1 -1
- package/dist/chunks/{teams-bot-YH7QUK2N.js → teams-bot-O7IFQ3L6.js} +1 -1
- package/dist/chunks/{workspaces-DC33D43W.js → workspaces-I5BVMFVY.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/web/assets/{App-Br9-pOIC.js → App-BqgpZNh-.js} +33 -33
- package/dist/web/assets/{AppDialog-C6Xd84LF.js → AppDialog-BCzsyF8y.js} +1 -1
- package/dist/web/assets/{AppTerminalPanel-CjLTHGd7.js → AppTerminalPanel-Cqtaoc93.js} +2 -2
- package/dist/web/assets/{AppsView-BaOXLPG_.js → AppsView-BHz8ruGV.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-C1UHkaci.js → BrowserSidebar-vrHh2y_s.js} +1 -1
- package/dist/web/assets/{CartesianChart-CC6gURj1.js → CartesianChart-C5PgQkxh.js} +1 -1
- package/dist/web/assets/{CollaborationTabs-D3v9jxIV.js → CollaborationTabs-OSqxEZgD.js} +1 -1
- package/dist/web/assets/{CommandMenu-DZJ4xot1.js → CommandMenu-XMeH3T6m.js} +1 -1
- package/dist/web/assets/{CommunityView-VElVyeHB.js → CommunityView-BPsy_BnG.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-D_Pldm1h.js → ComposerCreateImproveStrip-Bsh9eyj1.js} +1 -1
- package/dist/web/assets/{GetStartedView-Ciy_6VB-.js → GetStartedView-Ay67q9mX.js} +1 -1
- package/dist/web/assets/HostedModelLearningReview-C8PfSxcz.js +1 -0
- package/dist/web/assets/{HostedModelLearningSettings-Cba2jDOj.js → HostedModelLearningSettings-MG_1VD7H.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-YGGjl8dY.js → LabModelVersionDetailPage-CPkCZhBg.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-D55wufz-.js → LabSkillSidebar-Y06Ghxe7.js} +1 -1
- package/dist/web/assets/{LabsRoute-BvJAvcAo.js → LabsRoute-CBy4evwc.js} +4 -4
- package/dist/web/assets/{MainChatThread-CQ9hEgUz.js → MainChatThread-CqG9WewR.js} +2 -2
- package/dist/web/assets/{MainPane-CH2CUmxD.js → MainPane-CQVCd0hz.js} +4 -4
- package/dist/web/assets/{MarkdownText-B7CT2cwK.js → MarkdownText-BSXFJB5s.js} +1 -1
- package/dist/web/assets/{Messages-9_Bf5Lii.js → Messages-CcKLreir.js} +1 -1
- package/dist/web/assets/{NativeSkillSidebar-BIpYM4uF.js → NativeSkillSidebar-BF4T1Tuy.js} +1 -1
- package/dist/web/assets/{NewExperienceSwitcher-D6RLDRgD.js → NewExperienceSwitcher-BH2-_iQt.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-DlnYnpsm.js → NewProjectDialog-BSkPgqLX.js} +1 -1
- package/dist/web/assets/{OutputsPage-D1JY14ij.js → OutputsPage-DBAfj1e_.js} +1 -1
- package/dist/web/assets/{ProjectsPage-kRy0z4oP.js → ProjectsPage-DOTViI5-.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-D0Zdekbb.js → RightChatPanelStack-D3wuMm3F.js} +1 -1
- package/dist/web/assets/{RightSidebarHomePanel-BCW78Zbx.js → RightSidebarHomePanel-DLP1LFoX.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-D2iewjFh.js → ScheduledWorkPage-BETU42Pi.js} +1 -1
- package/dist/web/assets/{SettingsView-CLSg--Vp.css → SettingsView-B9Tn0_zX.css} +1 -1
- package/dist/web/assets/SettingsView-D2eKwMH6.js +9 -0
- package/dist/web/assets/{TeamChatView-BhcWyJXF.js → TeamChatView-ytGArG3p.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-GXVklUL1.js → TerminalOverlay-FV-T6Vk6.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-DPEt3Kcq.js → TrainingCreationPanel-D7UhsNpa.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-BiYk2Ti6.js → TrainingDraftPanel-BZ4ZhYbm.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-DOR-WjP_.js → UsageSettingsSection-Ml9cMCUi.js} +1 -1
- package/dist/web/assets/{WorkSidebarPanel-MFyj6kAC.js → WorkSidebarPanel-DZZK0_vI.js} +1 -1
- package/dist/web/assets/{WorkspaceDiffPanel-Dhk5IRNe.js → WorkspaceDiffPanel-CSLiV2LC.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-CR-2HGxj.js → WorkspaceEnvironmentMenu-dqDA6sik.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-YTvn4Rpj.js → WorkspaceGitDialogs-C9ptN_7-.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-C_NHJaDf.js → WorkspaceMonacoEditor-BOa6xAaO.js} +3 -3
- package/dist/web/assets/{arrow-up-right-B_joTAq0.js → arrow-up-right-Qq_YNPUt.js} +1 -1
- package/dist/web/assets/{chat-file-links-CtG3brZZ.js → chat-file-links-z54bmvhH.js} +1 -1
- package/dist/web/assets/chevron-up-CIrVx_eP.js +1 -0
- package/dist/web/assets/{clipboard-BuMCABK6.js → clipboard-C_cLfHiu.js} +1 -1
- package/dist/web/assets/{cloud-upload-Cx6hdgxq.js → cloud-upload-B1A_725d.js} +1 -1
- package/dist/web/assets/{cssMode-DgBmbKa2.js → cssMode-DKjB86V7.js} +1 -1
- package/dist/web/assets/{folder-open-CbqwcgQ4.js → folder-open-BAqrqIkA.js} +1 -1
- package/dist/web/assets/{folder-plus-DsZqlrho.js → folder-plus-Aw6rEy1D.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-DI-UCrjd.js → git-commit-horizontal-75RSWQ3Q.js} +1 -1
- package/dist/web/assets/{htmlMode-BuyogX60.js → htmlMode-CH03ACqd.js} +1 -1
- package/dist/web/assets/{index-BPeus0zA.js → index-C0gdp_hv.js} +2 -2
- package/dist/web/assets/{info-Csd_7rfz.js → info-CXzXdZ1o.js} +1 -1
- package/dist/web/assets/{jsonMode-DflDpOXZ.js → jsonMode-Bvmzl5ln.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-C_Z8VeHY.js → lspLanguageFeatures-BKXLyuIE.js} +1 -1
- package/dist/web/assets/{minimize-2-CiM53hsa.js → minimize-2-C-6SC3Bs.js} +1 -1
- package/dist/web/assets/{monaco.contribution-JwSEb0Jo.js → monaco.contribution-BON5T_eJ.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CGcq8kux.js → monaco.contribution-BwSCuTR3.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CRL61P2H.js → monaco.contribution-Cv_QTWVQ.js} +2 -2
- package/dist/web/assets/{monaco.contribution-BINeU8ff.js → monaco.contribution-rtAnmt_x.js} +2 -2
- package/dist/web/assets/{play-DkIcSdr1.js → play-BnkiBq8x.js} +1 -1
- package/dist/web/assets/{python--dgmZUVn.js → python-Rd5MxRAN.js} +1 -1
- package/dist/web/assets/{refresh-cw-DgmxGLBV.js → refresh-cw-BISaiIBt.js} +1 -1
- package/dist/web/assets/{save-C_D7xpZD.js → save-BcVbYiGU.js} +1 -1
- package/dist/web/assets/{square-BcHQSDWK.js → square-Bn32OIid.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-8waBinRS.js → toggleHighContrast-DDw4wPS9.js} +1 -1
- package/dist/web/assets/{tsMode-BBuDuuGt.js → tsMode-Dt73U5ww.js} +1 -1
- package/dist/web/assets/{upload-C7vLlEEp.js → upload-AB1N3bCZ.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-Bjl2NojO.js → useLocalAgentSchedules-D7QTyYKj.js} +1 -1
- package/dist/web/assets/{wifi-off-BLh536Wc.js → wifi-off-BAX1UWLx.js} +1 -1
- package/dist/web/assets/{workers-B6wHgIsA.js → workers-DE3-vPyS.js} +1 -1
- package/dist/web/assets/{yaml-8rW7oQNv.js → yaml-C0JBPZbg.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/dist/chunks/app-server-runtime-R7O7EWVF.js +0 -2
- package/dist/chunks/chunk-5NGYLR3V.js +0 -5
- package/dist/chunks/chunk-B6IIGPWS.js +0 -6
- package/dist/chunks/src-KE3LWA75.js +0 -319
- package/dist/web/assets/HostedModelLearningReview-__PVEYUw.js +0 -1
- package/dist/web/assets/SettingsView-JjtvXV3D.js +0 -9
- package/dist/web/assets/chevron-up-BKSpg6hY.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-3V5FPSOK.js";import{Fa as yt}from"./chunk-3YH3S5U2.js";import{j as pe,k as ht,m as me}from"./chunk-ZMRT4B4H.js";import"./chunk-6MI4KKWF.js";import"./chunk-SDO4FC4Q.js";import"./chunk-IR3YJWPW.js";import"./chunk-J2S7BOZU.js";import"./chunk-I4FOBNHQ.js";import"./chunk-6FA3GG5B.js";import{J as He,K as ee,M as pt,N as mt,Q as ft,T as gt}from"./chunk-NNLI4OWY.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-G2VYRU27.js";import"./chunk-ZVOO7FKM.js";import"./chunk-OGPHXXCD.js";import"./chunk-
|
|
2
|
+
import{p as f}from"./chunk-G2VYRU27.js";import"./chunk-ZVOO7FKM.js";import"./chunk-OGPHXXCD.js";import"./chunk-OW4KET6I.js";import"./chunk-SS3EG6S2.js";import"./chunk-GLUWATL5.js";import"./chunk-R33VLNFY.js";import"./chunk-J2S7BOZU.js";import"./chunk-I4FOBNHQ.js";import"./chunk-NYPLOXEP.js";import"./chunk-NNLI4OWY.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-3GLSX322.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-NHBCFMAC.js";import"./chunk-OHGSESPN.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-NYPLOXEP.js";import{a as c,j as d}from"./chunks/chunk-3GLSX322.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-UA2RQUA4.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-6GZ7T4SK.js")).runCheckUpdate();return}if(n==="help"){(await import("./chunks/help-MTWG7AXZ.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-S6H572UM.js")).runOpenPondTerminalCommand(o,t);return}if(n==="ui"){await(await import("./chunks/app-layer-S6H572UM.js")).runOpenPondServerCommand("web",o,t);return}await d({command:r,options:o,rest:t})||((await import("./chunks/help-MTWG7AXZ.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-GIFUDGYZ.js"),import("./chunks/cli-XJJYXKXM.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-7NWHHROY.js"),import("./chunks/cli-XJJYXKXM.js")]),{createOpenPondAppServer:t}=await import("./chunks/app-server-runtime-GIFUDGYZ.js");return await o({createOpenPondServer:r,createOpenPondAppServer:t}),!0}return e[0]==="__terminal"?(await(await import("./chunks/src-ZAF6VEWJ.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 Er,b as Fr,c as Gr,d as Hr,e as Ir,f as Jr,g as Kr,h as Lr,i as Mr,j as Nr,k as Or,l as Pr}from"./chunks/chunk-Y7ZYJQGZ.js";import{a as kr,b as lr,c as nr}from"./chunks/chunk-22UARBPW.js";import{a as qr,b as sr,c as ur,d as vr,e as wr,f as yr,g as zr,h as Ar,i as Br,j as Cr,k as Dr}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,J as Vo,K as Wo,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-BB6DJKXX.js";import"./chunks/chunk-73KFNV3D.js";import"./chunks/chunk-OGPHXXCD.js";import"./chunks/chunk-
|
|
2
|
+
import"./chunks/chunk-X37KMV27.js";import{a as Er,b as Fr,c as Gr,d as Hr,e as Ir,f as Jr,g as Kr,h as Lr,i as Mr,j as Nr,k as Or,l as Pr}from"./chunks/chunk-Y7ZYJQGZ.js";import{a as kr,b as lr,c as nr}from"./chunks/chunk-22UARBPW.js";import{a as qr,b as sr,c as ur,d as vr,e as wr,f as yr,g as zr,h as Ar,i as Br,j as Cr,k as Dr}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,J as Vo,K as Wo,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-BB6DJKXX.js";import"./chunks/chunk-73KFNV3D.js";import"./chunks/chunk-OGPHXXCD.js";import"./chunks/chunk-OW4KET6I.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-SS3EG6S2.js";import{a as r,b as e,c as f,d as m}from"./chunks/chunk-GLUWATL5.js";import"./chunks/chunk-R33VLNFY.js";import{f as ao,g as bo,h as co}from"./chunks/chunk-J2S7BOZU.js";import"./chunks/chunk-I4FOBNHQ.js";import"./chunks/chunk-3A7HZJNE.js";import{a as Xo,b as Yo,c as Zo,d as _o,e as $o,f as or,g as rr,h as er,i as fr,j as mr,k as pr,l as tr,m as xr,n as ar,o as br,p as cr,q as dr,r as gr,s as hr,t as ir,u as jr}from"./chunks/chunk-EAPFMACH.js";import"./chunks/chunk-6FA3GG5B.js";import"./chunks/chunk-NNLI4OWY.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,Zo 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,_o as SANDBOX_TEMPLATE_BUILD_PLAN_FILE_NAME,$o as SANDBOX_TEMPLATE_BUILD_PLAN_KIND,Yo as SANDBOX_TEMPLATE_PREVIEW_PORT_MAX,Xo as SANDBOX_TEMPLATE_PREVIEW_PORT_MIN,or as SandboxTemplateManifestSchema,rr as SandboxTemplateValidationDiagnosticSchema,o as apiFetch,jo as assertOpenPondProfileActionReady,io as buildOpenPondProfileSetupGate,Q as checkOpenPondApiHealth,lo as collectProfileSourceUploadEntries,Uo as commitActiveProfileChanges,p as commitFiles,Nr as computeAtr,Lr as computeBollinger,Ir as computeEma,Hr as computeEmaSeries,Kr as computeMaCross,Jr as computeMacd,Mr as computePriceChange,Er as computeRsi,Gr as computeSma,Fr as computeSmaSeries,Or as consumeAgentCreateStream,lr as consumeStream,M as createAgentFromPrompt,Pr as createClient,k as createHeadlessApps,i as createLocalProject,co as createOpenPondSandboxClient,j as createRepo,Co as defaultLocalProfileRepoPath,tr 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,pr as formatSandboxTemplateDiagnostics,nr 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,vr as getOpChatModel,zr 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,wr as listHostedModels,Ar as listHostedProviders,ur as listOpChatModels,yr 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,Po as loadOpenPondProfileStateFromSource,Bo as mergeActiveLocalProfileConfig,Ao as mergeProfileRepoManifestEntry,kr as normalizeDataFrames,ao as normalizeSandboxApiUrl,Ko as openPondProfileRef,mr as parseSandboxTemplateYaml,S as postAgentDigest,Wo as prepareAgentSdkRuntimePackage,x as promotePreviewToProduction,Go as registerLocalProfileRepo,Oo as removeOpenPondProfile,Ho as renameActiveProfileAgent,Qo as requireActiveLocalProfile,sr as resolveHostedChatApiBaseUrl,qr as resolveOpChatApiBaseUrl,U as resolveWorkerBaseUrl,So as runAgentSdkProjectCommand,R as runAssistantMode,Dr as runOpChatSmoke,To as runProfileCheck,Ro as runProfileSdkCommand,G as runScheduleNow,gr as sandboxTemplateBuildMetadata,hr as sandboxTemplateBuildPlan,ar as sandboxTemplateDurableVolume,dr as sandboxTemplateExecutableEntries,cr as sandboxTemplateFileInput,jr as sandboxTemplateJsonSchema,br as sandboxTemplatePreviewPort,xr as sandboxTemplateResources,ir as sandboxTemplateScaffoldFiles,ro as saveConfig,eo as saveGlobalConfig,oo as saveProfileApiKey,Vo as saveProfilePushStatus,A as searchOpenToolRecipes,No as selectOpenPondProfile,Br as sendHostedChatTurn,$ as setActiveProfile,po as setCachedApps,xo as setCachedTools,a as startAppLifecycle,D as startAppSchedules,E as stopAppSchedules,F as stopCurrentAppSchedules,Cr as streamHostedChatTurn,s as updateAppEnvironment,X as updateGlobalConfig,fr as validateSandboxTemplateManifest,er as validateSandboxTemplateYaml};
|