openpond 0.2.0 → 0.2.2
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 +2 -0
- package/dist/chunks/app-layer-GNYLOBCX.js +3 -0
- package/dist/chunks/app-server-runtime-VAGY4LQS.js +2 -0
- package/dist/chunks/apps-HZ5JGBDR.js +2 -0
- package/dist/chunks/chunk-22UARBPW.js +3 -0
- package/dist/chunks/chunk-3A7HZJNE.js +1 -0
- package/dist/chunks/chunk-3M53YXEI.js +2 -0
- package/dist/chunks/chunk-3NDRIQTI.js +2 -0
- package/dist/chunks/chunk-6FA3GG5B.js +33 -0
- package/dist/chunks/chunk-6MI4KKWF.js +2 -0
- package/dist/chunks/chunk-7D2LMRP7.js +2 -0
- package/dist/chunks/chunk-A42DFLOR.js +16 -0
- package/dist/chunks/chunk-AF57BF75.js +24 -0
- package/dist/chunks/chunk-BX4J2VDU.js +2 -0
- package/dist/chunks/chunk-BZMVB3GS.js +2 -0
- package/dist/chunks/chunk-CCJG7GLE.js +5 -0
- package/dist/chunks/chunk-CWQWV2T3.js +2 -0
- package/dist/chunks/chunk-DUA3QP6Y.js +19 -0
- package/dist/chunks/chunk-EAPFMACH.js +10 -0
- package/dist/chunks/chunk-EG3XB6M6.js +5 -0
- package/dist/chunks/chunk-ES2ISFJC.js +66 -0
- package/dist/chunks/chunk-FTQLQJQV.js +2 -0
- package/dist/chunks/chunk-FYCJSUFV.js +53 -0
- package/dist/chunks/chunk-GEANXBLX.js +2 -0
- package/dist/chunks/chunk-GLUWATL5.js +2 -0
- package/dist/chunks/chunk-GPZYIVFV.js +2199 -0
- package/dist/chunks/chunk-H7IWJN7L.js +17 -0
- package/dist/chunks/chunk-HZP5U2AA.js +3 -0
- package/dist/chunks/chunk-I5K74TOH.js +3 -0
- package/dist/chunks/chunk-I7G35U7K.js +2 -0
- package/dist/chunks/chunk-IR3YJWPW.js +7 -0
- package/dist/chunks/chunk-J7WZSLHS.js +18 -0
- package/dist/chunks/chunk-K35OOAW2.js +6 -0
- package/dist/chunks/chunk-KDXLNQNF.js +12 -0
- package/dist/chunks/chunk-KJYNLFWD.js +2872 -0
- package/dist/chunks/chunk-KV2IXO2T.js +6 -0
- package/dist/chunks/chunk-NVGMZ2IN.js +2 -0
- package/dist/chunks/chunk-OGPHXXCD.js +1 -0
- package/dist/chunks/chunk-RAKJWIYO.js +36 -0
- package/dist/chunks/chunk-RWSAGQTP.js +2 -0
- package/dist/chunks/chunk-SDO4FC4Q.js +2 -0
- package/dist/chunks/chunk-T5XCPX4P.js +3 -0
- package/dist/chunks/chunk-VYUMTRB3.js +5 -0
- package/dist/chunks/chunk-X37KMV27.js +1 -0
- package/dist/chunks/chunk-XAYIETBO.js +28 -0
- package/dist/chunks/chunk-XEOEKFG6.js +71 -0
- package/dist/chunks/chunk-ZVOO7FKM.js +2 -0
- package/dist/chunks/cli-UYTSZB4Y.js +2 -0
- package/dist/chunks/configuration-command-HAPIYG25.js +2 -0
- package/dist/chunks/continual-D75WA7E7.js +7 -0
- package/dist/chunks/core-commands-N37UZEVE.js +2 -0
- package/dist/chunks/database-X2CUV732.js +2 -0
- package/dist/chunks/desktop-test-V7FBEG7U.js +3 -0
- package/dist/chunks/dist-NKLXFA37.js +2 -0
- package/dist/chunks/extension-NEPOQ44P.js +5 -0
- package/dist/chunks/help-HC4N5ZQC.js +8 -0
- package/dist/chunks/module-ES6BEMUI-ZVL3F6NW.js +2 -0
- package/dist/chunks/module-asyncify-2EFITU5U-R7TVXNAE.js +2 -0
- package/dist/chunks/opchat-C7XRN4ZW.js +3 -0
- package/dist/chunks/organizations-LQGRZJ2V.js +2 -0
- package/dist/chunks/profile-UWM24A7R.js +3 -0
- package/dist/chunks/project-agent-2ME52ZJW.js +2 -0
- package/dist/chunks/sandbox-command-53L3ZICT.js +2 -0
- package/dist/chunks/sandbox-template-55HUM5H7.js +10 -0
- package/dist/chunks/src-EYJF2LWV.js +319 -0
- package/dist/chunks/src-VGW2UEMV.js +82 -0
- package/dist/chunks/taskset-PISBOILQ.js +2 -0
- package/dist/chunks/teams-bot-FHD2HCHN.js +3 -0
- package/dist/chunks/training-2NDOWH5S.js +2 -0
- package/dist/chunks/workspaces-CQFVCR7T.js +2 -0
- package/dist/cli.js +3 -109
- package/dist/index.js +1 -31230
- package/dist/sandbox-template/manifest.js +1 -18380
- package/dist/web/assets/App-BoJQRfeu.js +176 -0
- package/dist/web/assets/AppDialog-rdfmJsGF.js +1 -0
- package/dist/web/assets/AppTerminalPanel-CLW0kxtg.js +2 -0
- package/dist/web/assets/{AppsView-B1NUuAIf.js → AppsView-DxMXadnp.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-DOvYxXeP.js → BrowserSidebar-BH_jl0JS.js} +1 -1
- package/dist/web/assets/{CartesianChart-pOrYpzBr.js → CartesianChart-oT_rMYpf.js} +1 -1
- package/dist/web/assets/{CollaborationTabs-CgbR-MBJ.js → CollaborationTabs-CukgFGE0.js} +1 -1
- package/dist/web/assets/{CommandMenu-CrIr4qUX.js → CommandMenu-2btBTgOF.js} +1 -1
- package/dist/web/assets/{CommunityView-CvAVQ_HZ.js → CommunityView-DMTREmN5.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-DybcKwwd.js → ComposerCreateImproveStrip-3tN55cg9.js} +1 -1
- package/dist/web/assets/GetStartedView-CMHL24_w.js +1 -0
- package/dist/web/assets/HostedModelLearningReview-CqkSelkC.js +1 -0
- package/dist/web/assets/HostedModelLearningSettings-xqd2lSW3.js +1 -0
- package/dist/web/assets/LabModelVersionDetailPage-Bpnya5DM.js +1 -0
- package/dist/web/assets/{LabSkillSidebar-CuaYrtiu.js → LabSkillSidebar-BKZjScr8.js} +1 -1
- package/dist/web/assets/LabsRoute-BhPFmA_Z.js +32 -0
- package/dist/web/assets/LabsRoute-C1FWCoYb.css +1 -0
- package/dist/web/assets/MainChatThread-Bosxokt-.js +2 -0
- package/dist/web/assets/MainPane-Di-Rwe7x.js +8 -0
- package/dist/web/assets/{MarkdownText-DOlVQR8a.js → MarkdownText-dK4SBPp_.js} +1 -1
- package/dist/web/assets/{Messages-DMubppta.js → Messages-ftYRMKYa.js} +6 -6
- package/dist/web/assets/{NativeSkillSidebar-DSFwZ-od.js → NativeSkillSidebar-Cwo7JdB2.js} +1 -1
- package/dist/web/assets/{NewExperienceSwitcher-Dj0ePIJ-.js → NewExperienceSwitcher-C1_JzTq2.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-B8NQV-Ji.js → NewProjectDialog-CxP6v6YW.js} +1 -1
- package/dist/web/assets/{OutputsPage-D_LDYTgV.js → OutputsPage-DL21_Alp.js} +1 -1
- package/dist/web/assets/{ProjectsPage-xjDYPc_W.js → ProjectsPage-BO9VyvMA.js} +1 -1
- package/dist/web/assets/RightChatPanelStack-DaqAnzdR.js +1 -0
- package/dist/web/assets/{RightSidebarHomePanel-j0VckZUu.js → RightSidebarHomePanel-PbUG12AO.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-1aT4bBY-.js → ScheduledWorkPage-BhL-cXML.js} +1 -1
- package/dist/web/assets/{SettingsView-BSpuMDpv.js → SettingsView-D6-s7G88.js} +7 -7
- package/dist/web/assets/TeamChatView-DbS1N-fo.js +3 -0
- package/dist/web/assets/{TerminalOverlay-CrSwUk2d.js → TerminalOverlay-CphyBXJR.js} +3 -3
- package/dist/web/assets/{TrainingCreationPanel-B4HMRwUg.js → TrainingCreationPanel-Czsdraix.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-D4r1tN3I.js → TrainingDraftPanel-Bq3B5pUk.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-2aymqwIM.js → UsageSettingsSection-B74FNwaP.js} +5 -5
- package/dist/web/assets/{WorkSidebarPanel-B0X0OiR6.js → WorkSidebarPanel-BgaK4XSg.js} +1 -1
- package/dist/web/assets/WorkspaceDiffPanel-C3seHnVY.js +14 -0
- package/dist/web/assets/{WorkspaceEnvironmentMenu-OAfMEt7L.js → WorkspaceEnvironmentMenu-DPghQUdv.js} +3 -3
- package/dist/web/assets/{WorkspaceGitDialogs-YxcPH2Rq.js → WorkspaceGitDialogs-D8c6Okb_.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-COKTiQZl.js → WorkspaceMonacoEditor-2kjRFf4l.js} +36 -36
- package/dist/web/assets/{arrow-up-right-_TX-awvK.js → arrow-up-right-C5X-29oa.js} +1 -1
- package/dist/web/assets/chat-file-links-Bmz9kVct.js +1 -0
- package/dist/web/assets/chevron-up-NbP9vY4E.js +1 -0
- package/dist/web/assets/{clipboard-CyRSS8Sy.js → clipboard-fvHMXPWa.js} +1 -1
- package/dist/web/assets/{cloud-upload-uBJBUYTy.js → cloud-upload-BAycsdHL.js} +1 -1
- package/dist/web/assets/{cssMode-BrXSsZYs.js → cssMode-Yis679a5.js} +1 -1
- package/dist/web/assets/{folder-open-DktdZNW7.js → folder-open-bii4KUCv.js} +1 -1
- package/dist/web/assets/{folder-plus-DO06i9Vo.js → folder-plus-B0B7mUCx.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-zFSIkPs7.js → git-commit-horizontal-B6yTdtnB.js} +1 -1
- package/dist/web/assets/{htmlMode-X9UMFkjt.js → htmlMode-DHeBSKVF.js} +1 -1
- package/dist/web/assets/{index-UOGdfLzi.js → index-667pXXsu.js} +1 -1
- package/dist/web/assets/{index-ByQIHpc9.css → index-BGMzUaup.css} +1 -1
- package/dist/web/assets/{info-BEJXUqCD.js → info-NCOESX3I.js} +1 -1
- package/dist/web/assets/{jsonMode-DIsB-j2E.js → jsonMode-C4oxy1cU.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-CmZ17KpA.js → lspLanguageFeatures-CLj3WGZW.js} +1 -1
- package/dist/web/assets/{minimize-2-DumTpFtE.js → minimize-2-DtI1vgd7.js} +1 -1
- package/dist/web/assets/{monaco.contribution-D6w5PJji.js → monaco.contribution-DZPgekIQ.js} +2 -2
- package/dist/web/assets/{monaco.contribution-DJ_NmcHu.js → monaco.contribution-Ddw-TznO.js} +2 -2
- package/dist/web/assets/{monaco.contribution-YVDfJcG4.js → monaco.contribution-DhVPJ-oY.js} +2 -2
- package/dist/web/assets/{monaco.contribution-LZEujgny.js → monaco.contribution-DrW6DjWP.js} +2 -2
- package/dist/web/assets/{play-CLFeH7CU.js → play-DB3XFAnG.js} +1 -1
- package/dist/web/assets/{python-Djbda_qZ.js → python-DLyUeEeL.js} +1 -1
- package/dist/web/assets/{refresh-cw-B4IpQ_7Q.js → refresh-cw-0zSLZtfp.js} +1 -1
- package/dist/web/assets/{save-BbTHztnA.js → save-BCZlshOA.js} +1 -1
- package/dist/web/assets/{square-BJrVbmz6.js → square-CRytZWR_.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-BopU5W9S.js → toggleHighContrast-TXg0rI_R.js} +1 -1
- package/dist/web/assets/{tsMode-CH_0_YDX.js → tsMode-Bj1019AY.js} +1 -1
- package/dist/web/assets/{upload-UumVeufu.js → upload-CnE9u7GB.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-BRa23U7O.js → useLocalAgentSchedules-qI87RHVI.js} +1 -1
- package/dist/web/assets/{wifi-off-BWJWivn6.js → wifi-off-CfuwRBx7.js} +1 -1
- package/dist/web/assets/{workers-pTe8RvSI.js → workers-CXdUI7wU.js} +1 -1
- package/dist/web/assets/{yaml-DNLASORn.js → yaml-AP8aiwLm.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +4 -3
- package/dist/chunks/actions-command-6N5XWMR6.js +0 -185
- package/dist/chunks/app-layer-F3CGXB33.js +0 -216
- package/dist/chunks/app-server-runtime-RHO5TFUC.js +0 -23
- package/dist/chunks/apps-L5XCL7QY.js +0 -429
- package/dist/chunks/chunk-26AMV5ZI.js +0 -634
- package/dist/chunks/chunk-3EB7I67T.js +0 -630
- package/dist/chunks/chunk-3ELF4FXY.js +0 -96
- package/dist/chunks/chunk-3VEYNDHN.js +0 -669
- package/dist/chunks/chunk-4KA25HUP.js +0 -5648
- package/dist/chunks/chunk-4L3ZJS2T.js +0 -1207
- package/dist/chunks/chunk-6SMNG6YA.js +0 -1303
- package/dist/chunks/chunk-7RIGZB7N.js +0 -1148
- package/dist/chunks/chunk-A6G3PFA5.js +0 -2164
- package/dist/chunks/chunk-BVY5JYM6.js +0 -512
- package/dist/chunks/chunk-DLQQIWN2.js +0 -648
- package/dist/chunks/chunk-FJ2JGB2N.js +0 -1373
- package/dist/chunks/chunk-FQS2QL5F.js +0 -14522
- package/dist/chunks/chunk-G65WAOJV.js +0 -1643
- package/dist/chunks/chunk-JTHL5XJ2.js +0 -1838
- package/dist/chunks/chunk-K4TZEHAW.js +0 -602
- package/dist/chunks/chunk-KCRCIQPD.js +0 -66
- package/dist/chunks/chunk-KSRWKXRB.js +0 -12
- package/dist/chunks/chunk-MUMPWI4O.js +0 -92
- package/dist/chunks/chunk-NTK22KJD.js +0 -10707
- package/dist/chunks/chunk-OCBRPU2K.js +0 -629
- package/dist/chunks/chunk-PS37DB5F.js +0 -183
- package/dist/chunks/chunk-R3C3MNSI.js +0 -140
- package/dist/chunks/chunk-SMNFI2FU.js +0 -113
- package/dist/chunks/chunk-UACZUFIA.js +0 -47
- package/dist/chunks/chunk-UZMVNKXM.js +0 -1275
- package/dist/chunks/chunk-VT6BLHMB.js +0 -67198
- package/dist/chunks/chunk-W5GKHH77.js +0 -168
- package/dist/chunks/chunk-X6F4LBTQ.js +0 -832
- package/dist/chunks/chunk-X7ZG4TSW.js +0 -3063
- package/dist/chunks/chunk-XA4KBDMY.js +0 -13723
- package/dist/chunks/chunk-YVCYVDNP.js +0 -746
- package/dist/chunks/chunk-ZNQEROWP.js +0 -254
- package/dist/chunks/cli-D2MUUBEX.js +0 -23
- package/dist/chunks/configuration-command-NR6JYIUD.js +0 -187
- package/dist/chunks/continual-37CE4LLJ.js +0 -803
- package/dist/chunks/core-commands-SWGIOZLW.js +0 -50
- package/dist/chunks/database-DEYUZDIM.js +0 -20
- package/dist/chunks/desktop-test-QOS7G5NE.js +0 -148
- package/dist/chunks/dist-AKYCQNNF.js +0 -187
- package/dist/chunks/extension-HJUJBQAD.js +0 -9378
- package/dist/chunks/help-J6PZ23IC.js +0 -67
- package/dist/chunks/opchat-ABX5YBAT.js +0 -169
- package/dist/chunks/organizations-CPNC47DO.js +0 -806
- package/dist/chunks/profile-Q3HB5MIO.js +0 -1136
- package/dist/chunks/project-agent-YHUBX4OR.js +0 -516
- package/dist/chunks/sandbox-command-YFL5QTWX.js +0 -1661
- package/dist/chunks/sandbox-template-Z6P7NTNF.js +0 -1655
- package/dist/chunks/src-7XEENEBI.js +0 -3628
- package/dist/chunks/src-KBBIV4NT.js +0 -56125
- package/dist/chunks/taskset-2TRZBRRT.js +0 -66
- package/dist/chunks/teams-bot-WD33NLH5.js +0 -146
- package/dist/chunks/training-4XH37UZB.js +0 -17
- package/dist/chunks/workspaces-WG2MH2WE.js +0 -99
- package/dist/web/assets/App-C9aGkxVg.js +0 -173
- package/dist/web/assets/AppDialog-CK6_lg8c.js +0 -1
- package/dist/web/assets/AppTerminalPanel-BKqgX4sd.js +0 -2
- package/dist/web/assets/GetStartedView-DVInkexN.js +0 -1
- package/dist/web/assets/LabModelVersionDetailPage-NaaPElmM.js +0 -1
- package/dist/web/assets/LabsRoute-BRR6x3SX.js +0 -2
- package/dist/web/assets/LabsRoute-CGFgymTX.css +0 -1
- package/dist/web/assets/MainChatThread-BfkjCZB9.js +0 -2
- package/dist/web/assets/MainPane-Gw-YK38n.js +0 -8
- package/dist/web/assets/RightChatPanelStack-BktRQ9wg.js +0 -1
- package/dist/web/assets/TeamChatView-BPWJbDf1.js +0 -3
- package/dist/web/assets/WorkspaceDiffPanel-Pg7GL0br.js +0 -14
- package/dist/web/assets/chat-file-links-CWLsRYvW.js +0 -1
- package/dist/web/assets/chevron-up--mNnEqha.js +0 -1
- package/dist/web/assets/index-BEPmTPIA.js +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
resolveGitBranch,
|
|
4
|
-
runAccount,
|
|
5
|
-
runBacktestRun,
|
|
6
|
-
runCheckUpdate,
|
|
7
|
-
runDeployWatch,
|
|
8
|
-
runHealth,
|
|
9
|
-
runLogin,
|
|
10
|
-
runOpentool,
|
|
11
|
-
runProfiles,
|
|
12
|
-
runRepoCreate,
|
|
13
|
-
runRepoPush,
|
|
14
|
-
runTemplateBranches,
|
|
15
|
-
runTemplateStatus,
|
|
16
|
-
runTemplateUpdate,
|
|
17
|
-
runToolList,
|
|
18
|
-
runToolRun
|
|
19
|
-
} from "./chunk-K4TZEHAW.js";
|
|
20
|
-
import "./chunk-3VEYNDHN.js";
|
|
21
|
-
import "./chunk-FJ2JGB2N.js";
|
|
22
|
-
import "./chunk-SMNFI2FU.js";
|
|
23
|
-
import "./chunk-KSRWKXRB.js";
|
|
24
|
-
import "./chunk-PS37DB5F.js";
|
|
25
|
-
import "./chunk-4KA25HUP.js";
|
|
26
|
-
import "./chunk-ZNQEROWP.js";
|
|
27
|
-
import "./chunk-7RIGZB7N.js";
|
|
28
|
-
import "./chunk-4L3ZJS2T.js";
|
|
29
|
-
import "./chunk-JTHL5XJ2.js";
|
|
30
|
-
import "./chunk-FQS2QL5F.js";
|
|
31
|
-
import "./chunk-MUMPWI4O.js";
|
|
32
|
-
import "./chunk-UACZUFIA.js";
|
|
33
|
-
export {
|
|
34
|
-
resolveGitBranch,
|
|
35
|
-
runAccount,
|
|
36
|
-
runBacktestRun,
|
|
37
|
-
runCheckUpdate,
|
|
38
|
-
runDeployWatch,
|
|
39
|
-
runHealth,
|
|
40
|
-
runLogin,
|
|
41
|
-
runOpentool,
|
|
42
|
-
runProfiles,
|
|
43
|
-
runRepoCreate,
|
|
44
|
-
runRepoPush,
|
|
45
|
-
runTemplateBranches,
|
|
46
|
-
runTemplateStatus,
|
|
47
|
-
runTemplateUpdate,
|
|
48
|
-
runToolList,
|
|
49
|
-
runToolRun
|
|
50
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
PERSISTENCE_TABLES_SQL,
|
|
4
|
-
deleteLocalRecord,
|
|
5
|
-
getLocalRecord,
|
|
6
|
-
listLocalRecords,
|
|
7
|
-
openStorageDatabase,
|
|
8
|
-
putLocalRecord,
|
|
9
|
-
withLocalDatabase
|
|
10
|
-
} from "./chunk-ZNQEROWP.js";
|
|
11
|
-
import "./chunk-UACZUFIA.js";
|
|
12
|
-
export {
|
|
13
|
-
PERSISTENCE_TABLES_SQL,
|
|
14
|
-
deleteLocalRecord,
|
|
15
|
-
getLocalRecord,
|
|
16
|
-
listLocalRecords,
|
|
17
|
-
openStorageDatabase,
|
|
18
|
-
putLocalRecord,
|
|
19
|
-
withLocalDatabase
|
|
20
|
-
};
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
runProcessCommand
|
|
4
|
-
} from "./chunk-3VEYNDHN.js";
|
|
5
|
-
import "./chunk-FJ2JGB2N.js";
|
|
6
|
-
import "./chunk-SMNFI2FU.js";
|
|
7
|
-
import "./chunk-KSRWKXRB.js";
|
|
8
|
-
import {
|
|
9
|
-
CliUsageError
|
|
10
|
-
} from "./chunk-PS37DB5F.js";
|
|
11
|
-
import "./chunk-4KA25HUP.js";
|
|
12
|
-
import "./chunk-ZNQEROWP.js";
|
|
13
|
-
import "./chunk-7RIGZB7N.js";
|
|
14
|
-
import "./chunk-4L3ZJS2T.js";
|
|
15
|
-
import "./chunk-JTHL5XJ2.js";
|
|
16
|
-
import "./chunk-FQS2QL5F.js";
|
|
17
|
-
import {
|
|
18
|
-
optionString,
|
|
19
|
-
parseBooleanOption
|
|
20
|
-
} from "./chunk-MUMPWI4O.js";
|
|
21
|
-
import "./chunk-UACZUFIA.js";
|
|
22
|
-
|
|
23
|
-
// src/cli/desktop-test.ts
|
|
24
|
-
import path from "node:path";
|
|
25
|
-
import { access } from "node:fs/promises";
|
|
26
|
-
import { constants } from "node:fs";
|
|
27
|
-
import { createRequire } from "node:module";
|
|
28
|
-
var DESKTOP_HARNESS_SCRIPT = path.join("scripts", "desktop-harness.ts");
|
|
29
|
-
async function runDesktopTestCommand(options, rest) {
|
|
30
|
-
const invocation = await buildDesktopHarnessInvocation({ options, rest });
|
|
31
|
-
const result = await runProcessCommand(invocation.command, invocation.args, {
|
|
32
|
-
cwd: invocation.cwd,
|
|
33
|
-
inherit: true,
|
|
34
|
-
timeoutMs: 0
|
|
35
|
-
});
|
|
36
|
-
if (result.code !== 0) {
|
|
37
|
-
throw new HarnessCommandFailedError(result.code);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
async function buildDesktopHarnessInvocation(input) {
|
|
41
|
-
const options = input.options;
|
|
42
|
-
const rest = input.rest;
|
|
43
|
-
const action = rest[0];
|
|
44
|
-
if (action !== "run" && action !== "attach") {
|
|
45
|
-
throw new CliUsageError(desktopHarnessCliUsage());
|
|
46
|
-
}
|
|
47
|
-
const scenarios = rest.slice(1);
|
|
48
|
-
if (scenarios.length === 0) {
|
|
49
|
-
throw new CliUsageError("usage: openpond desktop-test run <scenario...> [options]");
|
|
50
|
-
}
|
|
51
|
-
const startCwd = optionString(options, "cwd") || input.cwd || process.cwd();
|
|
52
|
-
const repoRoot = await resolveDesktopHarnessRepoRoot(startCwd);
|
|
53
|
-
const env = input.env ?? process.env;
|
|
54
|
-
const command = env.OPENPOND_NODE_BINARY?.trim() || process.execPath;
|
|
55
|
-
const tsxCli = createRequire(import.meta.url).resolve("tsx/cli");
|
|
56
|
-
const args = [tsxCli, DESKTOP_HARNESS_SCRIPT, "run", ...scenarios];
|
|
57
|
-
const launchMode = resolveLaunchMode(options, action);
|
|
58
|
-
if (launchMode) args.push(`--${launchMode}`);
|
|
59
|
-
appendStringFlag(args, "--app", options, "app");
|
|
60
|
-
appendStringFlag(args, "--server", options, "server");
|
|
61
|
-
appendStringFlag(args, "--token", options, "token");
|
|
62
|
-
appendStringFlag(args, "--token-file", options, "tokenFile");
|
|
63
|
-
appendStringFlag(args, "--devtools-port", options, "devtoolsPort");
|
|
64
|
-
appendStringFlag(args, "--artifacts-dir", options, "artifactsDir");
|
|
65
|
-
appendJsonFlag(args, options);
|
|
66
|
-
appendStringFlag(args, "--grep", options, "grep");
|
|
67
|
-
appendStringFlag(args, "--timeout-ms", options, "timeoutMs");
|
|
68
|
-
if (parseBooleanOption(options.keepHome)) args.push("--keep-home");
|
|
69
|
-
return { command, args, cwd: repoRoot };
|
|
70
|
-
}
|
|
71
|
-
async function resolveDesktopHarnessRepoRoot(startCwd) {
|
|
72
|
-
let current = path.resolve(startCwd);
|
|
73
|
-
while (true) {
|
|
74
|
-
const scriptPath = path.join(current, DESKTOP_HARNESS_SCRIPT);
|
|
75
|
-
if (await fileExists(scriptPath)) return current;
|
|
76
|
-
const parent = path.dirname(current);
|
|
77
|
-
if (parent === current) {
|
|
78
|
-
throw new CliUsageError(
|
|
79
|
-
`Could not find ${DESKTOP_HARNESS_SCRIPT}. Run this command from the OpenPond source checkout or pass --cwd <repo>.`
|
|
80
|
-
);
|
|
81
|
-
}
|
|
82
|
-
current = parent;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function resolveLaunchMode(options, action) {
|
|
86
|
-
let mode = action === "attach" ? "attach" : null;
|
|
87
|
-
for (const candidate of ["isolated", "attach", "packaged", "none"]) {
|
|
88
|
-
if (!parseBooleanOption(options[candidate])) continue;
|
|
89
|
-
if (mode && mode !== candidate) {
|
|
90
|
-
throw new CliUsageError("Choose only one desktop harness launch mode: --isolated, --attach, --packaged, or --none.");
|
|
91
|
-
}
|
|
92
|
-
mode = candidate;
|
|
93
|
-
}
|
|
94
|
-
return mode;
|
|
95
|
-
}
|
|
96
|
-
function appendStringFlag(args, flag, options, key) {
|
|
97
|
-
const value = optionString(options, key);
|
|
98
|
-
if (!value) return;
|
|
99
|
-
args.push(flag, value);
|
|
100
|
-
}
|
|
101
|
-
function appendJsonFlag(args, options) {
|
|
102
|
-
const json = optionString(options, "json");
|
|
103
|
-
const jsonPath = optionString(options, "jsonPath");
|
|
104
|
-
if (json && isBooleanLiteral(json)) {
|
|
105
|
-
throw new CliUsageError("harness --json requires a report path. Use --json <path> or --json-path <path>.");
|
|
106
|
-
}
|
|
107
|
-
if (json && jsonPath && json !== jsonPath) {
|
|
108
|
-
throw new CliUsageError("Use only one JSON report path: --json <path> or --json-path <path>.");
|
|
109
|
-
}
|
|
110
|
-
const value = json || jsonPath;
|
|
111
|
-
if (value) args.push("--json", value);
|
|
112
|
-
}
|
|
113
|
-
function isBooleanLiteral(value) {
|
|
114
|
-
return /^(true|false|1|0|yes|no)$/i.test(value);
|
|
115
|
-
}
|
|
116
|
-
async function fileExists(filePath) {
|
|
117
|
-
try {
|
|
118
|
-
await access(filePath, constants.R_OK);
|
|
119
|
-
return true;
|
|
120
|
-
} catch {
|
|
121
|
-
return false;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function desktopHarnessCliUsage() {
|
|
125
|
-
return [
|
|
126
|
-
"usage: openpond desktop-test run <scenario...> [options]",
|
|
127
|
-
" openpond desktop-test attach <scenario...> [options]",
|
|
128
|
-
"",
|
|
129
|
-
"Options include --isolated, --attach, --packaged, --none, --app <path>,",
|
|
130
|
-
"--server <url>, --token <token>, --token-file <path>, --devtools-port <port>, --artifacts-dir <path>,",
|
|
131
|
-
"--json <path>, --json-path <path>, --grep <pattern>, --timeout-ms <ms>,",
|
|
132
|
-
"--keep-home, and --cwd <repo>."
|
|
133
|
-
].join("\n");
|
|
134
|
-
}
|
|
135
|
-
var HarnessCommandFailedError = class extends Error {
|
|
136
|
-
exitCode;
|
|
137
|
-
constructor(code) {
|
|
138
|
-
const exitCode = typeof code === "number" && code > 0 ? code : 1;
|
|
139
|
-
super(`desktop harness failed with exit code ${exitCode}`);
|
|
140
|
-
this.name = "HarnessCommandFailedError";
|
|
141
|
-
this.exitCode = exitCode;
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
export {
|
|
145
|
-
buildDesktopHarnessInvocation,
|
|
146
|
-
resolveDesktopHarnessRepoRoot,
|
|
147
|
-
runDesktopTestCommand
|
|
148
|
-
};
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
CLIENT_CHOICE_KEYS,
|
|
4
|
-
ClientChoicesSchema,
|
|
5
|
-
ConfigSchema,
|
|
6
|
-
CredentialReferenceSchema,
|
|
7
|
-
LAYOUT_PREFERENCE_KEYS,
|
|
8
|
-
MISSING_REVISION,
|
|
9
|
-
MigrationResolutionsSchema,
|
|
10
|
-
accountId,
|
|
11
|
-
acquireFileLock,
|
|
12
|
-
artifactReference,
|
|
13
|
-
assertConfigRunCurrent,
|
|
14
|
-
assertHomeCompatible,
|
|
15
|
-
atomicWriteFile,
|
|
16
|
-
captureConfigRun,
|
|
17
|
-
clearCache,
|
|
18
|
-
collectArtifactOrphans,
|
|
19
|
-
configEditorSchema,
|
|
20
|
-
configRecoveryRevisions,
|
|
21
|
-
configToPreferences,
|
|
22
|
-
credentialVersions,
|
|
23
|
-
deleteCredential,
|
|
24
|
-
diffConfig,
|
|
25
|
-
effectivePreferences,
|
|
26
|
-
exportRecoveryBackup,
|
|
27
|
-
exportSettings,
|
|
28
|
-
fileRevision,
|
|
29
|
-
initializeHome,
|
|
30
|
-
layoutPreferences,
|
|
31
|
-
listCache,
|
|
32
|
-
mergeConfig,
|
|
33
|
-
newCredentialId,
|
|
34
|
-
patchConfig,
|
|
35
|
-
preferencesToConfig,
|
|
36
|
-
privateDirectory,
|
|
37
|
-
processIsDead,
|
|
38
|
-
publishManagedArtifact,
|
|
39
|
-
readAccountConfiguration,
|
|
40
|
-
readCache,
|
|
41
|
-
readClientChoices,
|
|
42
|
-
readConfig,
|
|
43
|
-
readCredential,
|
|
44
|
-
readCredentials,
|
|
45
|
-
readJsonFile,
|
|
46
|
-
readMigrationJournal,
|
|
47
|
-
readOptionalFile,
|
|
48
|
-
readPreferences,
|
|
49
|
-
recoverMigration,
|
|
50
|
-
releaseArtifactReference,
|
|
51
|
-
rememberValidConfig,
|
|
52
|
-
replaceConfigText,
|
|
53
|
-
resolveEffectiveConfig,
|
|
54
|
-
resolveStoredPath,
|
|
55
|
-
restartMigration,
|
|
56
|
-
restoreConfigRevision,
|
|
57
|
-
restoreRecoveryBackup,
|
|
58
|
-
serializeConfig,
|
|
59
|
-
setProjectTrust,
|
|
60
|
-
updateAccountConfiguration,
|
|
61
|
-
updateClientChoices,
|
|
62
|
-
updateConfig,
|
|
63
|
-
updateJsonFile,
|
|
64
|
-
updatePreferences,
|
|
65
|
-
validateConfigDocument,
|
|
66
|
-
validateConfigText,
|
|
67
|
-
validateManagedArtifacts,
|
|
68
|
-
validateMigratedHome,
|
|
69
|
-
watchConfig,
|
|
70
|
-
withFileLock,
|
|
71
|
-
withManagedArtifact,
|
|
72
|
-
writeCache,
|
|
73
|
-
writeCredential
|
|
74
|
-
} from "./chunk-4KA25HUP.js";
|
|
75
|
-
import {
|
|
76
|
-
PERSISTENCE_TABLES_SQL,
|
|
77
|
-
PersistenceError,
|
|
78
|
-
assertStorageAncestors,
|
|
79
|
-
bindHomeCallbacks,
|
|
80
|
-
deleteLocalRecord,
|
|
81
|
-
expandHome,
|
|
82
|
-
getLocalRecord,
|
|
83
|
-
isMissing,
|
|
84
|
-
listLocalRecords,
|
|
85
|
-
openStorageDatabase,
|
|
86
|
-
persistenceIssue,
|
|
87
|
-
protectPrivateDirectory,
|
|
88
|
-
putLocalRecord,
|
|
89
|
-
resolveConfigPath,
|
|
90
|
-
resolveOpenPondHome,
|
|
91
|
-
storagePaths,
|
|
92
|
-
withLocalDatabase,
|
|
93
|
-
withOpenPondHome
|
|
94
|
-
} from "./chunk-ZNQEROWP.js";
|
|
95
|
-
import "./chunk-FQS2QL5F.js";
|
|
96
|
-
import "./chunk-UACZUFIA.js";
|
|
97
|
-
export {
|
|
98
|
-
CLIENT_CHOICE_KEYS,
|
|
99
|
-
ClientChoicesSchema,
|
|
100
|
-
ConfigSchema,
|
|
101
|
-
CredentialReferenceSchema,
|
|
102
|
-
LAYOUT_PREFERENCE_KEYS,
|
|
103
|
-
MISSING_REVISION,
|
|
104
|
-
MigrationResolutionsSchema,
|
|
105
|
-
PERSISTENCE_TABLES_SQL,
|
|
106
|
-
PersistenceError,
|
|
107
|
-
accountId,
|
|
108
|
-
acquireFileLock,
|
|
109
|
-
artifactReference,
|
|
110
|
-
assertConfigRunCurrent,
|
|
111
|
-
assertHomeCompatible,
|
|
112
|
-
assertStorageAncestors,
|
|
113
|
-
atomicWriteFile,
|
|
114
|
-
bindHomeCallbacks,
|
|
115
|
-
captureConfigRun,
|
|
116
|
-
clearCache,
|
|
117
|
-
collectArtifactOrphans,
|
|
118
|
-
configEditorSchema,
|
|
119
|
-
configRecoveryRevisions,
|
|
120
|
-
configToPreferences,
|
|
121
|
-
credentialVersions,
|
|
122
|
-
deleteCredential,
|
|
123
|
-
deleteLocalRecord,
|
|
124
|
-
diffConfig,
|
|
125
|
-
effectivePreferences,
|
|
126
|
-
expandHome,
|
|
127
|
-
exportRecoveryBackup,
|
|
128
|
-
exportSettings,
|
|
129
|
-
fileRevision,
|
|
130
|
-
getLocalRecord,
|
|
131
|
-
initializeHome,
|
|
132
|
-
isMissing,
|
|
133
|
-
layoutPreferences,
|
|
134
|
-
listCache,
|
|
135
|
-
listLocalRecords,
|
|
136
|
-
mergeConfig,
|
|
137
|
-
newCredentialId,
|
|
138
|
-
openStorageDatabase,
|
|
139
|
-
patchConfig,
|
|
140
|
-
persistenceIssue,
|
|
141
|
-
preferencesToConfig,
|
|
142
|
-
privateDirectory,
|
|
143
|
-
processIsDead,
|
|
144
|
-
protectPrivateDirectory,
|
|
145
|
-
publishManagedArtifact,
|
|
146
|
-
putLocalRecord,
|
|
147
|
-
readAccountConfiguration,
|
|
148
|
-
readCache,
|
|
149
|
-
readClientChoices,
|
|
150
|
-
readConfig,
|
|
151
|
-
readCredential,
|
|
152
|
-
readCredentials,
|
|
153
|
-
readJsonFile,
|
|
154
|
-
readMigrationJournal,
|
|
155
|
-
readOptionalFile,
|
|
156
|
-
readPreferences,
|
|
157
|
-
recoverMigration,
|
|
158
|
-
releaseArtifactReference,
|
|
159
|
-
rememberValidConfig,
|
|
160
|
-
replaceConfigText,
|
|
161
|
-
resolveConfigPath,
|
|
162
|
-
resolveEffectiveConfig,
|
|
163
|
-
resolveOpenPondHome,
|
|
164
|
-
resolveStoredPath,
|
|
165
|
-
restartMigration,
|
|
166
|
-
restoreConfigRevision,
|
|
167
|
-
restoreRecoveryBackup,
|
|
168
|
-
serializeConfig,
|
|
169
|
-
setProjectTrust,
|
|
170
|
-
storagePaths,
|
|
171
|
-
updateAccountConfiguration,
|
|
172
|
-
updateClientChoices,
|
|
173
|
-
updateConfig,
|
|
174
|
-
updateJsonFile,
|
|
175
|
-
updatePreferences,
|
|
176
|
-
validateConfigDocument,
|
|
177
|
-
validateConfigText,
|
|
178
|
-
validateManagedArtifacts,
|
|
179
|
-
validateMigratedHome,
|
|
180
|
-
watchConfig,
|
|
181
|
-
withFileLock,
|
|
182
|
-
withLocalDatabase,
|
|
183
|
-
withManagedArtifact,
|
|
184
|
-
withOpenPondHome,
|
|
185
|
-
writeCache,
|
|
186
|
-
writeCredential
|
|
187
|
-
};
|