openpond 0.2.17 → 0.2.19

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 (109) hide show
  1. package/dist/app-server.d.ts +2 -0
  2. package/dist/app-server.js +1 -1
  3. package/dist/chunks/{app-layer-CFIW5CWC.js → app-layer-LMB3B4TY.js} +1 -1
  4. package/dist/chunks/{app-server-runtime-Q7NJ6PXF.js → app-server-runtime-IILK75PB.js} +1 -1
  5. package/dist/chunks/{apps-67PSSK6Q.js → apps-2MNOKPO2.js} +1 -1
  6. package/dist/chunks/{chunk-VL3RGI55.js → chunk-CUB5BQIQ.js} +2 -2
  7. package/dist/chunks/{chunk-MACBJI6D.js → chunk-E764DRA6.js} +1 -1
  8. package/dist/chunks/chunk-FRWPAVCD.js +5 -0
  9. package/dist/chunks/{chunk-G54T4IWQ.js → chunk-GWDPEBFV.js} +1 -1
  10. package/dist/chunks/{chunk-BE35DIOI.js → chunk-HKYGCUA6.js} +1 -1
  11. package/dist/chunks/{chunk-SKKAWYCQ.js → chunk-IGRYR3PT.js} +1 -1
  12. package/dist/chunks/{chunk-CULWDNK3.js → chunk-L32JRSK7.js} +314 -313
  13. package/dist/chunks/{chunk-PRA6LX2G.js → chunk-M3FDHTJ2.js} +1 -1
  14. package/dist/chunks/{chunk-N3KS3AJK.js → chunk-P7EHGAOW.js} +1 -1
  15. package/dist/chunks/{chunk-GHKJKXDF.js → chunk-U2AWYZZC.js} +1 -1
  16. package/dist/chunks/{cli-BCBRWI2M.js → cli-EQJBPK7F.js} +1 -1
  17. package/dist/chunks/{configuration-command-D66B4TXT.js → configuration-command-DSNTY5II.js} +1 -1
  18. package/dist/chunks/{core-commands-D6OHIVUG.js → core-commands-IDPOMDVM.js} +1 -1
  19. package/dist/chunks/{desktop-test-RBRWSLEM.js → desktop-test-VNGOXPKF.js} +1 -1
  20. package/dist/chunks/{extension-MP3XCX56.js → extension-A5RB7I6T.js} +1 -1
  21. package/dist/chunks/{help-XVBIPQHN.js → help-46NAZU6H.js} +1 -1
  22. package/dist/chunks/{opchat-NYSALH7B.js → opchat-2VPS674O.js} +1 -1
  23. package/dist/chunks/{organizations-ZCQX3SY3.js → organizations-H4HZDRYM.js} +1 -1
  24. package/dist/chunks/{profile-PFR6PWNE.js → profile-TATWHJYY.js} +1 -1
  25. package/dist/chunks/{project-agent-KSMTTZYC.js → project-agent-3YOZKDEE.js} +1 -1
  26. package/dist/chunks/{sandbox-command-MVBSIKB6.js → sandbox-command-RYX3KKMX.js} +1 -1
  27. package/dist/chunks/{sandbox-template-2OWCTKBP.js → sandbox-template-XYY5C3FD.js} +1 -1
  28. package/dist/chunks/{src-7TTHR4DL.js → src-4R2FGHSH.js} +1 -1
  29. package/dist/chunks/src-OQTW7BBY.js +319 -0
  30. package/dist/chunks/{teams-bot-IUE3CWSW.js → teams-bot-FUALFQMX.js} +1 -1
  31. package/dist/chunks/{workspaces-WI56RXUN.js → workspaces-EBBXI77I.js} +1 -1
  32. package/dist/cli.js +1 -1
  33. package/dist/web/assets/{App-DQfdLgyV.js → App-CmqvOgHr.js} +4 -4
  34. package/dist/web/assets/{AppDialog-BnldMLvF.js → AppDialog-DdKmw4d6.js} +1 -1
  35. package/dist/web/assets/{AppTerminalPanel-DR5SeX9y.js → AppTerminalPanel-W2pjVUtg.js} +2 -2
  36. package/dist/web/assets/{AppsView-Bu_XEgkd.js → AppsView-RKIWikGP.js} +1 -1
  37. package/dist/web/assets/{BrowserSidebar-BdKPWbN8.js → BrowserSidebar-Dqo6nl7J.js} +1 -1
  38. package/dist/web/assets/{CartesianChart-CSkLcF_5.js → CartesianChart-DTZeIAQy.js} +1 -1
  39. package/dist/web/assets/{CollaborationTabs-C9cRq5ob.js → CollaborationTabs-h4UCjUB4.js} +1 -1
  40. package/dist/web/assets/{CommandMenu-Deqzk3u9.js → CommandMenu-B2SH7g8V.js} +1 -1
  41. package/dist/web/assets/{CommunityView-B5dKYacH.js → CommunityView-BtI1_qwS.js} +1 -1
  42. package/dist/web/assets/{ComposerCreateImproveStrip-5LPlQFN4.js → ComposerCreateImproveStrip-BW8RhDkB.js} +1 -1
  43. package/dist/web/assets/{GetStartedView-DmuGykfx.js → GetStartedView-Fqk2AYt7.js} +1 -1
  44. package/dist/web/assets/HostedModelLearningReview-mBYA71Zs.js +1 -0
  45. package/dist/web/assets/{HostedModelLearningSettings-BsdX-CkH.js → HostedModelLearningSettings-CgS4Z4WT.js} +1 -1
  46. package/dist/web/assets/{LabModelVersionDetailPage-BUO5cpDh.js → LabModelVersionDetailPage-Dpr2GpAR.js} +1 -1
  47. package/dist/web/assets/{LabSkillSidebar-mTpdM-G8.js → LabSkillSidebar-BDmNaZ8f.js} +1 -1
  48. package/dist/web/assets/{LabsRoute-BhfxBg5_.js → LabsRoute-CVWKsnzj.js} +4 -4
  49. package/dist/web/assets/{MainChatThread-BAxA18lN.js → MainChatThread-Bq6f3AUB.js} +2 -2
  50. package/dist/web/assets/{MainPane-Dv5USGqR.js → MainPane-CGa9bSOr.js} +4 -4
  51. package/dist/web/assets/{MarkdownText-DWGLUbdE.js → MarkdownText-BORA69YO.js} +1 -1
  52. package/dist/web/assets/{Messages-CuhCtaya.js → Messages-Bwyst8lC.js} +1 -1
  53. package/dist/web/assets/{NativeSkillSidebar-B8OMVpPT.js → NativeSkillSidebar-Dt4xs-gi.js} +1 -1
  54. package/dist/web/assets/{NewExperienceSwitcher-kIKV8_Wd.js → NewExperienceSwitcher-C-T2my1F.js} +1 -1
  55. package/dist/web/assets/{NewProjectDialog-B-7dHoT6.js → NewProjectDialog-Bd-8y1vE.js} +1 -1
  56. package/dist/web/assets/{OutputsPage-C4DRT8pF.js → OutputsPage-DYnvMsY-.js} +1 -1
  57. package/dist/web/assets/{ProjectsPage-CLjW6Kc3.js → ProjectsPage-BPytEvtz.js} +1 -1
  58. package/dist/web/assets/{RightChatPanelStack-C4-4VLb-.js → RightChatPanelStack-CJR0y6c5.js} +1 -1
  59. package/dist/web/assets/{RightSidebarHomePanel-CVbfOg2p.js → RightSidebarHomePanel-Cn0x7kgh.js} +1 -1
  60. package/dist/web/assets/{ScheduledWorkPage-CWzwbOOZ.js → ScheduledWorkPage-DaHVYiok.js} +1 -1
  61. package/dist/web/assets/SettingsView-DwIdA2Qy.js +9 -0
  62. package/dist/web/assets/{TeamChatView-miR9w_53.js → TeamChatView-C1VmxtuK.js} +1 -1
  63. package/dist/web/assets/{TerminalOverlay-BOmx_hJX.js → TerminalOverlay-CPIWstqb.js} +1 -1
  64. package/dist/web/assets/{TrainingCreationPanel-DSRejaYV.js → TrainingCreationPanel-CjFkopVx.js} +1 -1
  65. package/dist/web/assets/{TrainingDraftPanel-XBH6Uh0_.js → TrainingDraftPanel-BbiN33_a.js} +1 -1
  66. package/dist/web/assets/{UsageSettingsSection-DROtDdak.js → UsageSettingsSection-BxT4ZptX.js} +1 -1
  67. package/dist/web/assets/{WorkSidebarPanel-CHwObGs6.js → WorkSidebarPanel-nb-GyANT.js} +1 -1
  68. package/dist/web/assets/{WorkspaceDiffPanel-BoB_1R8w.js → WorkspaceDiffPanel-DFi28DQv.js} +3 -3
  69. package/dist/web/assets/{WorkspaceEnvironmentMenu-Dvqy2NJP.js → WorkspaceEnvironmentMenu-DW6IImGA.js} +1 -1
  70. package/dist/web/assets/{WorkspaceGitDialogs-BC45mifk.js → WorkspaceGitDialogs-DvV8_9aF.js} +1 -1
  71. package/dist/web/assets/{WorkspaceMonacoEditor-cDO3Elh0.js → WorkspaceMonacoEditor-BYqlTbx1.js} +3 -3
  72. package/dist/web/assets/{arrow-up-right-Dv3nebbh.js → arrow-up-right-BQGeuv2m.js} +1 -1
  73. package/dist/web/assets/{chat-file-links-DQYtkwit.js → chat-file-links-BjlG4ZTF.js} +1 -1
  74. package/dist/web/assets/chevron-up-BbI7fj2g.js +1 -0
  75. package/dist/web/assets/{clipboard-CnNPmg50.js → clipboard-CImDHdf4.js} +1 -1
  76. package/dist/web/assets/{cloud-upload-DisZOwXE.js → cloud-upload-DSrjiFxa.js} +1 -1
  77. package/dist/web/assets/{cssMode-Bd8sFlb5.js → cssMode-CO6QKs7A.js} +1 -1
  78. package/dist/web/assets/{folder-open-D0PIN0Cj.js → folder-open-DWt_CiJ4.js} +1 -1
  79. package/dist/web/assets/{folder-plus-DTNZNwa9.js → folder-plus-DZJsMZZS.js} +1 -1
  80. package/dist/web/assets/{git-commit-horizontal-C0QdA7uv.js → git-commit-horizontal-BmhX8D3M.js} +1 -1
  81. package/dist/web/assets/{htmlMode-Cu-nKV7Z.js → htmlMode-BbhUfh60.js} +1 -1
  82. package/dist/web/assets/{index-De4k_YMo.js → index-VrrkDcgt.js} +2 -2
  83. package/dist/web/assets/{info-B-n_omgE.js → info-C0HVDnJn.js} +1 -1
  84. package/dist/web/assets/{jsonMode-B377iBCv.js → jsonMode-qUE2PjNm.js} +1 -1
  85. package/dist/web/assets/{lspLanguageFeatures-BBHfVtV0.js → lspLanguageFeatures-CfX3VOob.js} +1 -1
  86. package/dist/web/assets/{minimize-2-C6JQGKgk.js → minimize-2-BPu3-DJH.js} +1 -1
  87. package/dist/web/assets/{monaco.contribution-CCSCAu65.js → monaco.contribution-BtbXAYNA.js} +2 -2
  88. package/dist/web/assets/{monaco.contribution-BDLeUQLG.js → monaco.contribution-CKQpqdUm.js} +2 -2
  89. package/dist/web/assets/{monaco.contribution-CIq6sYw4.js → monaco.contribution-DBKGSgm8.js} +2 -2
  90. package/dist/web/assets/{monaco.contribution-B0l6Oe3a.js → monaco.contribution-adURqSPk.js} +2 -2
  91. package/dist/web/assets/{play-B5O4Hz_W.js → play-CUyIuBFF.js} +1 -1
  92. package/dist/web/assets/{python-BQkq0gZA.js → python-q4l4w80D.js} +1 -1
  93. package/dist/web/assets/{refresh-cw-D2E-pp4H.js → refresh-cw-IMz7arkM.js} +1 -1
  94. package/dist/web/assets/{save-CPNNuWwp.js → save-Cj-5iVpt.js} +1 -1
  95. package/dist/web/assets/{square-DUgXVoF0.js → square-zOxRs5It.js} +1 -1
  96. package/dist/web/assets/{toggleHighContrast-BbQBtO9I.js → toggleHighContrast-Dj-u2UZ6.js} +1 -1
  97. package/dist/web/assets/{tsMode-CsVhouTE.js → tsMode-B-r-e3os.js} +1 -1
  98. package/dist/web/assets/{upload-t7xHt3GY.js → upload-BpElaH7O.js} +1 -1
  99. package/dist/web/assets/{useLocalAgentSchedules-D4lJelHt.js → useLocalAgentSchedules-wyJ9JjmR.js} +1 -1
  100. package/dist/web/assets/{wifi-off-B_QPKtA-.js → wifi-off-DWRK-TPQ.js} +1 -1
  101. package/dist/web/assets/{workers-p7TrE4Qa.js → workers-Pk9mKuOt.js} +1 -1
  102. package/dist/web/assets/{yaml-C8adeAyH.js → yaml-hbr5HzqB.js} +1 -1
  103. package/dist/web/index.html +1 -1
  104. package/package.json +1 -1
  105. package/dist/chunks/chunk-RB7BWSFJ.js +0 -5
  106. package/dist/chunks/src-ITECV3AD.js +0 -319
  107. package/dist/web/assets/HostedModelLearningReview-BRPSFNza.js +0 -1
  108. package/dist/web/assets/SettingsView-BIwO8elm.js +0 -9
  109. package/dist/web/assets/chevron-up-BUOpWd2a.js +0 -1
@@ -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-TWA56GFU.js";import"./chunk-SS3EG6S2.js";import"./chunk-GLUWATL5.js";import"./chunk-UN3A7GEU.js";import"./chunk-J2S7BOZU.js";import"./chunk-A2PIGBPD.js";import"./chunk-SKKAWYCQ.js";import"./chunk-NNLI4OWY.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-VL3RGI55.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(`
2
+ import{p as f}from"./chunk-G2VYRU27.js";import"./chunk-ZVOO7FKM.js";import"./chunk-OGPHXXCD.js";import"./chunk-TWA56GFU.js";import"./chunk-SS3EG6S2.js";import"./chunk-GLUWATL5.js";import"./chunk-UN3A7GEU.js";import"./chunk-J2S7BOZU.js";import"./chunk-A2PIGBPD.js";import"./chunk-IGRYR3PT.js";import"./chunk-NNLI4OWY.js";import"./chunk-HZP5U2AA.js";import"./chunk-ES2ISFJC.js";import"./chunk-H7IWJN7L.js";import"./chunk-CUB5BQIQ.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-GHKJKXDF.js";import"./chunk-BE35DIOI.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};
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-U2AWYZZC.js";import"./chunk-HKYGCUA6.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-SKKAWYCQ.js";import{a as c,j as d}from"./chunks/chunk-VL3RGI55.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-D6OHIVUG.js")).runCheckUpdate();return}if(n==="help"){(await import("./chunks/help-XVBIPQHN.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-CFIW5CWC.js")).runOpenPondTerminalCommand(o,t);return}if(n==="ui"){await(await import("./chunks/app-layer-CFIW5CWC.js")).runOpenPondServerCommand("web",o,t);return}await d({command:r,options:o,rest:t})||((await import("./chunks/help-XVBIPQHN.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-Q7NJ6PXF.js"),import("./chunks/cli-BCBRWI2M.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-ITECV3AD.js"),import("./chunks/cli-BCBRWI2M.js")]),{createOpenPondAppServer:t}=await import("./chunks/app-server-runtime-Q7NJ6PXF.js");return await o({createOpenPondServer:r,createOpenPondAppServer:t}),!0}return e[0]==="__terminal"?(await(await import("./chunks/src-7TTHR4DL.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}
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-IGRYR3PT.js";import{a as c,j as d}from"./chunks/chunk-CUB5BQIQ.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-IDPOMDVM.js")).runCheckUpdate();return}if(n==="help"){(await import("./chunks/help-46NAZU6H.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-LMB3B4TY.js")).runOpenPondTerminalCommand(o,t);return}if(n==="ui"){await(await import("./chunks/app-layer-LMB3B4TY.js")).runOpenPondServerCommand("web",o,t);return}await d({command:r,options:o,rest:t})||((await import("./chunks/help-46NAZU6H.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-IILK75PB.js"),import("./chunks/cli-EQJBPK7F.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-OQTW7BBY.js"),import("./chunks/cli-EQJBPK7F.js")]),{createOpenPondAppServer:t}=await import("./chunks/app-server-runtime-IILK75PB.js");return await o({createOpenPondServer:r,createOpenPondAppServer:t}),!0}return e[0]==="__terminal"?(await(await import("./chunks/src-4R2FGHSH.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};