openpond 0.2.18 → 0.2.20

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 (104) hide show
  1. package/dist/app-server.js +1 -1
  2. package/dist/chunks/{app-layer-CFIW5CWC.js → app-layer-LMB3B4TY.js} +1 -1
  3. package/dist/chunks/{app-server-runtime-HD5JPAPM.js → app-server-runtime-WJVVQC3J.js} +1 -1
  4. package/dist/chunks/{apps-67PSSK6Q.js → apps-2MNOKPO2.js} +1 -1
  5. package/dist/chunks/{chunk-AH2O6IVI.js → chunk-7VRXJGFG.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-PGTNQ3XD.js → chunk-FC4HHYDK.js} +5 -5
  9. package/dist/chunks/{chunk-4S5RDPKU.js → chunk-GZX5FDUN.js} +1 -1
  10. package/dist/chunks/{chunk-SKKAWYCQ.js → chunk-IGRYR3PT.js} +1 -1
  11. package/dist/chunks/{chunk-PRA6LX2G.js → chunk-M3FDHTJ2.js} +1 -1
  12. package/dist/chunks/{chunk-N3KS3AJK.js → chunk-P7EHGAOW.js} +1 -1
  13. package/dist/chunks/{chunk-JKE45L33.js → chunk-QGHFQHLH.js} +1 -1
  14. package/dist/chunks/{cli-FKNLUIZM.js → cli-HSTHZVVW.js} +1 -1
  15. package/dist/chunks/{configuration-command-D66B4TXT.js → configuration-command-DSNTY5II.js} +1 -1
  16. package/dist/chunks/{core-commands-D6OHIVUG.js → core-commands-IDPOMDVM.js} +1 -1
  17. package/dist/chunks/{desktop-test-RBRWSLEM.js → desktop-test-VNGOXPKF.js} +1 -1
  18. package/dist/chunks/{extension-MP3XCX56.js → extension-A5RB7I6T.js} +1 -1
  19. package/dist/chunks/{help-XVBIPQHN.js → help-46NAZU6H.js} +1 -1
  20. package/dist/chunks/{opchat-NYSALH7B.js → opchat-2VPS674O.js} +1 -1
  21. package/dist/chunks/{organizations-ZCQX3SY3.js → organizations-H4HZDRYM.js} +1 -1
  22. package/dist/chunks/{profile-PFR6PWNE.js → profile-TATWHJYY.js} +1 -1
  23. package/dist/chunks/{project-agent-KSMTTZYC.js → project-agent-3YOZKDEE.js} +1 -1
  24. package/dist/chunks/{sandbox-command-MVBSIKB6.js → sandbox-command-RYX3KKMX.js} +1 -1
  25. package/dist/chunks/{sandbox-template-2OWCTKBP.js → sandbox-template-XYY5C3FD.js} +1 -1
  26. package/dist/chunks/{src-7TTHR4DL.js → src-4R2FGHSH.js} +1 -1
  27. package/dist/chunks/{src-W5JJF2NL.js → src-K54UA6AW.js} +40 -40
  28. package/dist/chunks/{teams-bot-IUE3CWSW.js → teams-bot-FUALFQMX.js} +1 -1
  29. package/dist/chunks/{workspaces-O5VJG3TD.js → workspaces-ZUWEETYO.js} +1 -1
  30. package/dist/cli.js +1 -1
  31. package/dist/web/assets/{App-CYWcs7S8.js → App-CmqvOgHr.js} +4 -4
  32. package/dist/web/assets/{AppDialog-Ba0_0yq9.js → AppDialog-DdKmw4d6.js} +1 -1
  33. package/dist/web/assets/{AppTerminalPanel-Dkmrs9vr.js → AppTerminalPanel-W2pjVUtg.js} +2 -2
  34. package/dist/web/assets/{AppsView-DTw4bGn4.js → AppsView-RKIWikGP.js} +1 -1
  35. package/dist/web/assets/{BrowserSidebar-BCDyYFbR.js → BrowserSidebar-Dqo6nl7J.js} +1 -1
  36. package/dist/web/assets/{CartesianChart-RJq_kOU1.js → CartesianChart-DTZeIAQy.js} +1 -1
  37. package/dist/web/assets/{CollaborationTabs-DYzFEvn3.js → CollaborationTabs-h4UCjUB4.js} +1 -1
  38. package/dist/web/assets/{CommandMenu-Gzomv0-I.js → CommandMenu-B2SH7g8V.js} +1 -1
  39. package/dist/web/assets/{CommunityView-Bbw9POsY.js → CommunityView-BtI1_qwS.js} +1 -1
  40. package/dist/web/assets/{ComposerCreateImproveStrip-CxCSccrw.js → ComposerCreateImproveStrip-BW8RhDkB.js} +1 -1
  41. package/dist/web/assets/{GetStartedView-D2H-GOva.js → GetStartedView-Fqk2AYt7.js} +1 -1
  42. package/dist/web/assets/HostedModelLearningReview-mBYA71Zs.js +1 -0
  43. package/dist/web/assets/{HostedModelLearningSettings-CrImZ5SD.js → HostedModelLearningSettings-CgS4Z4WT.js} +1 -1
  44. package/dist/web/assets/{LabModelVersionDetailPage-VLeQbYWF.js → LabModelVersionDetailPage-Dpr2GpAR.js} +1 -1
  45. package/dist/web/assets/{LabSkillSidebar-xFIOwcAU.js → LabSkillSidebar-BDmNaZ8f.js} +1 -1
  46. package/dist/web/assets/{LabsRoute--K78Pb_V.js → LabsRoute-CVWKsnzj.js} +4 -4
  47. package/dist/web/assets/{MainChatThread-D3G6QbR9.js → MainChatThread-Bq6f3AUB.js} +2 -2
  48. package/dist/web/assets/{MainPane-BB8WIemH.js → MainPane-CGa9bSOr.js} +4 -4
  49. package/dist/web/assets/{MarkdownText-DQBTMcMm.js → MarkdownText-BORA69YO.js} +1 -1
  50. package/dist/web/assets/{Messages-B1G4vIqt.js → Messages-Bwyst8lC.js} +1 -1
  51. package/dist/web/assets/{NativeSkillSidebar-DmcODSGl.js → NativeSkillSidebar-Dt4xs-gi.js} +1 -1
  52. package/dist/web/assets/{NewExperienceSwitcher-Dt0KJMMW.js → NewExperienceSwitcher-C-T2my1F.js} +1 -1
  53. package/dist/web/assets/{NewProjectDialog-BPGkYiMW.js → NewProjectDialog-Bd-8y1vE.js} +1 -1
  54. package/dist/web/assets/{OutputsPage-CtK7mzhz.js → OutputsPage-DYnvMsY-.js} +1 -1
  55. package/dist/web/assets/{ProjectsPage-0eahr0nB.js → ProjectsPage-BPytEvtz.js} +1 -1
  56. package/dist/web/assets/{RightChatPanelStack-AOmhhZJT.js → RightChatPanelStack-CJR0y6c5.js} +1 -1
  57. package/dist/web/assets/{RightSidebarHomePanel-CsGIwtRW.js → RightSidebarHomePanel-Cn0x7kgh.js} +1 -1
  58. package/dist/web/assets/{ScheduledWorkPage-CrPOFA5V.js → ScheduledWorkPage-DaHVYiok.js} +1 -1
  59. package/dist/web/assets/{SettingsView-Y9Vz9_lU.js → SettingsView-DwIdA2Qy.js} +4 -4
  60. package/dist/web/assets/{TeamChatView-eBh9hneg.js → TeamChatView-C1VmxtuK.js} +1 -1
  61. package/dist/web/assets/{TerminalOverlay-KwRmvkV1.js → TerminalOverlay-CPIWstqb.js} +1 -1
  62. package/dist/web/assets/{TrainingCreationPanel-A1koEF_3.js → TrainingCreationPanel-CjFkopVx.js} +1 -1
  63. package/dist/web/assets/{TrainingDraftPanel-D4NJSj08.js → TrainingDraftPanel-BbiN33_a.js} +1 -1
  64. package/dist/web/assets/{UsageSettingsSection-CLjJKcpc.js → UsageSettingsSection-BxT4ZptX.js} +1 -1
  65. package/dist/web/assets/{WorkSidebarPanel-CvJn9X1R.js → WorkSidebarPanel-nb-GyANT.js} +1 -1
  66. package/dist/web/assets/{WorkspaceDiffPanel-DSYhWDjl.js → WorkspaceDiffPanel-DFi28DQv.js} +3 -3
  67. package/dist/web/assets/{WorkspaceEnvironmentMenu-DrE4bKpT.js → WorkspaceEnvironmentMenu-DW6IImGA.js} +1 -1
  68. package/dist/web/assets/{WorkspaceGitDialogs-CrzqcjWN.js → WorkspaceGitDialogs-DvV8_9aF.js} +1 -1
  69. package/dist/web/assets/{WorkspaceMonacoEditor-BVyxy7WJ.js → WorkspaceMonacoEditor-BYqlTbx1.js} +3 -3
  70. package/dist/web/assets/{arrow-up-right-BjYBprzW.js → arrow-up-right-BQGeuv2m.js} +1 -1
  71. package/dist/web/assets/{chat-file-links-CY9VJ--b.js → chat-file-links-BjlG4ZTF.js} +1 -1
  72. package/dist/web/assets/chevron-up-BbI7fj2g.js +1 -0
  73. package/dist/web/assets/{clipboard-Da8F6Qgl.js → clipboard-CImDHdf4.js} +1 -1
  74. package/dist/web/assets/{cloud-upload-vaEzoz43.js → cloud-upload-DSrjiFxa.js} +1 -1
  75. package/dist/web/assets/{cssMode-Dv3-w8Kc.js → cssMode-CO6QKs7A.js} +1 -1
  76. package/dist/web/assets/{folder-open-C3Shiqpe.js → folder-open-DWt_CiJ4.js} +1 -1
  77. package/dist/web/assets/{folder-plus-L8wD4iw3.js → folder-plus-DZJsMZZS.js} +1 -1
  78. package/dist/web/assets/{git-commit-horizontal-CDk6sZyt.js → git-commit-horizontal-BmhX8D3M.js} +1 -1
  79. package/dist/web/assets/{htmlMode-BZ5NH84R.js → htmlMode-BbhUfh60.js} +1 -1
  80. package/dist/web/assets/{index-6TZT9oax.js → index-VrrkDcgt.js} +2 -2
  81. package/dist/web/assets/{info-BzFeT6rZ.js → info-C0HVDnJn.js} +1 -1
  82. package/dist/web/assets/{jsonMode-DkpuUCXl.js → jsonMode-qUE2PjNm.js} +1 -1
  83. package/dist/web/assets/{lspLanguageFeatures-BxsmW-WO.js → lspLanguageFeatures-CfX3VOob.js} +1 -1
  84. package/dist/web/assets/{minimize-2-DnM3eNEG.js → minimize-2-BPu3-DJH.js} +1 -1
  85. package/dist/web/assets/{monaco.contribution-iPQTj3JR.js → monaco.contribution-BtbXAYNA.js} +2 -2
  86. package/dist/web/assets/{monaco.contribution-CVC59ttJ.js → monaco.contribution-CKQpqdUm.js} +2 -2
  87. package/dist/web/assets/{monaco.contribution-CbMHUsGo.js → monaco.contribution-DBKGSgm8.js} +2 -2
  88. package/dist/web/assets/{monaco.contribution-DZPLEe65.js → monaco.contribution-adURqSPk.js} +2 -2
  89. package/dist/web/assets/{play-DW0yNt2R.js → play-CUyIuBFF.js} +1 -1
  90. package/dist/web/assets/{python-DTpbj29X.js → python-q4l4w80D.js} +1 -1
  91. package/dist/web/assets/{refresh-cw-BAHopOmY.js → refresh-cw-IMz7arkM.js} +1 -1
  92. package/dist/web/assets/{save-CFWKqkyZ.js → save-Cj-5iVpt.js} +1 -1
  93. package/dist/web/assets/{square-AVaXWpWj.js → square-zOxRs5It.js} +1 -1
  94. package/dist/web/assets/{toggleHighContrast-CZKHQ-c0.js → toggleHighContrast-Dj-u2UZ6.js} +1 -1
  95. package/dist/web/assets/{tsMode-BgOjIJPM.js → tsMode-B-r-e3os.js} +1 -1
  96. package/dist/web/assets/{upload-nqv0d2Sb.js → upload-BpElaH7O.js} +1 -1
  97. package/dist/web/assets/{useLocalAgentSchedules-xIEcLU8F.js → useLocalAgentSchedules-wyJ9JjmR.js} +1 -1
  98. package/dist/web/assets/{wifi-off-C6HLWTJm.js → wifi-off-DWRK-TPQ.js} +1 -1
  99. package/dist/web/assets/{workers-BNRLU1LU.js → workers-Pk9mKuOt.js} +1 -1
  100. package/dist/web/assets/{yaml-dAmUAqyv.js → yaml-hbr5HzqB.js} +1 -1
  101. package/dist/web/index.html +1 -1
  102. package/package.json +1 -1
  103. package/dist/web/assets/HostedModelLearningReview-DAxcFdXC.js +0 -1
  104. package/dist/web/assets/chevron-up-TrVwfRay.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-4S5RDPKU.js";import"./chunk-AH2O6IVI.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-GZX5FDUN.js";import"./chunk-7VRXJGFG.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-HD5JPAPM.js"),import("./chunks/cli-FKNLUIZM.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-W5JJF2NL.js"),import("./chunks/cli-FKNLUIZM.js")]),{createOpenPondAppServer:t}=await import("./chunks/app-server-runtime-HD5JPAPM.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-WJVVQC3J.js"),import("./chunks/cli-HSTHZVVW.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-K54UA6AW.js"),import("./chunks/cli-HSTHZVVW.js")]),{createOpenPondAppServer:t}=await import("./chunks/app-server-runtime-WJVVQC3J.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};