openpond 0.0.36 → 0.0.38
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/README.md +4 -3
- package/dist/api/types.d.ts +0 -50
- package/dist/api.d.ts +2 -8
- package/dist/chunks/{app-layer-4AA4YYGK.js → app-layer-DPUJRNO2.js} +6 -3
- package/dist/chunks/{apps-V2JTB5MD.js → apps-AKBI6AS7.js} +16 -132
- package/dist/chunks/chunk-275WCETC.js +668 -0
- package/dist/chunks/{chunk-3DOOLZZM.js → chunk-43YI36NA.js} +1 -1
- package/dist/chunks/{chunk-NWQTF6O4.js → chunk-AHNFNWUN.js} +28 -3
- package/dist/chunks/{chunk-3JJBNVNX.js → chunk-AHPQTEIJ.js} +23 -19
- package/dist/chunks/chunk-FWLOFUPU.js +864 -0
- package/dist/chunks/{chunk-JAS6QZ2W.js → chunk-GB6VUZUA.js} +1 -1
- package/dist/chunks/{chunk-NVTC3XOA.js → chunk-GDZYDLEL.js} +8 -10
- package/dist/chunks/{chunk-G6WW2656.js → chunk-HLCTINEP.js} +1 -1
- package/dist/chunks/{chunk-MJT7EW5Q.js → chunk-HS2AGRDV.js} +1 -1
- package/dist/chunks/{chunk-CJSD5ADV.js → chunk-JWF37O5E.js} +2 -2
- package/dist/chunks/chunk-KSRWKXRB.js +12 -0
- package/dist/chunks/{chunk-7IPF4X3K.js → chunk-LZZM3IHS.js} +1004 -89
- package/dist/chunks/{chunk-TYYR7KWY.js → chunk-MPGSHXGF.js} +7 -5
- package/dist/chunks/chunk-MUMPWI4O.js +92 -0
- package/dist/chunks/{chunk-MSX2J653.js → chunk-QRM7XMAO.js} +5 -36
- package/dist/chunks/{chunk-65BVQIHR.js → chunk-SLMP353Q.js} +6 -6
- package/dist/chunks/chunk-T4QXKU5Y.js +1 -0
- package/dist/chunks/{chunk-GALAW74P.js → chunk-V35STJF4.js} +30 -11
- package/dist/chunks/{chunk-YLULZMWE.js → chunk-XCATKTK3.js} +51 -139
- package/dist/chunks/{chunk-LHYK6QO2.js → chunk-XEJ7XXUQ.js} +1 -0
- package/dist/chunks/{chunk-YRFQKUZD.js → chunk-XERQHYBO.js} +89 -27
- package/dist/chunks/{chunk-6L5WJF7T.js → chunk-YTJL6XPU.js} +2 -2
- package/dist/chunks/{chunk-NWVIUBJ3.js → chunk-ZI4GDAUB.js} +573 -1217
- package/dist/chunks/cli-2KBVNDRY.js +23 -0
- package/dist/chunks/{cli-RJHEE4FA.js → cli-7BKDWFNU.js} +5 -5
- package/dist/chunks/{core-commands-CQSPCVC4.js → core-commands-YN4RMWA3.js} +7 -4
- package/dist/chunks/{extend-4MZ75SHV.js → extend-REGNTBK3.js} +18 -13
- package/dist/chunks/extension-7K77DAVL.js +121 -0
- package/dist/chunks/{harness-YVZU42S7.js → harness-BHQRMXJR.js} +6 -3
- package/dist/chunks/{help-6SULYXVS.js → help-VREQNA4I.js} +2 -1
- package/dist/chunks/{opchat-XGS4AXHA.js → opchat-D63YTNSX.js} +12 -7
- package/dist/chunks/{organizations-4GFQ3NT2.js → organizations-I46KG7TC.js} +8 -5
- package/dist/chunks/{profile-VWMBIHIE.js → profile-WKZJHEPG.js} +11 -8
- package/dist/chunks/{project-agent-SQ6ODALG.js → project-agent-ZUC3YMCT.js} +10 -7
- package/dist/chunks/{sandbox-command-34S2V7BN.js → sandbox-command-AAOPFTI5.js} +7 -4
- package/dist/chunks/{sandbox-template-VP5HMGQI.js → sandbox-template-GKNVR4C5.js} +11 -7
- package/dist/chunks/{src-X3R3XIJT.js → src-MWDIK56B.js} +1997 -1247
- package/dist/chunks/{src-YHUMH6W6.js → src-RPW5TOPI.js} +3 -3
- package/dist/chunks/{teams-bot-EIVRNO5S.js → teams-bot-PSL3ZO6Z.js} +6 -3
- package/dist/chunks/{workspaces-2N52V3BI.js → workspaces-BPXC2DHT.js} +6 -2
- package/dist/cli.js +14 -11
- package/dist/client-types.d.ts +1 -9
- package/dist/client.d.ts +3 -3
- package/dist/index.js +27 -55
- package/dist/profile/local-profile-types.d.ts +1 -0
- package/dist/profile/profile-skills.d.ts +2 -0
- package/dist/web/assets/{AppDialog-j4N-gIi3.js → AppDialog-DrwJb_wG.js} +1 -1
- package/dist/web/assets/{AppsView-YiK3pqNb.js → AppsView-DPagLMsc.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-BWFLEQ8j.js → BrowserSidebar-DMn2V8RV.js} +1 -1
- package/dist/web/assets/{CloudWorkView-3sS_1bhN.js → CloudWorkView-Cl_7mM3c.js} +1 -1
- package/dist/web/assets/{CommandMenu-B11OrTCq.js → CommandMenu-CHMQLez_.js} +1 -1
- package/dist/web/assets/{CommunityView-DXyXTWhP.js → CommunityView-DcHVDUk0.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-3NoRiJJq.js → ComposerCreateImproveStrip-BZ3Dgzmo.js} +1 -1
- package/dist/web/assets/{GetStartedView-CPV5lgVH.js → GetStartedView-DTRotFqz.js} +1 -1
- package/dist/web/assets/LabSkillSidebar-CVxtS9pd.css +1 -0
- package/dist/web/assets/LabSkillSidebar-D-PqFe1T.js +1 -0
- package/dist/web/assets/LabsRoute-BrJkBNig.css +1 -0
- package/dist/web/assets/LabsRoute-Dew1BwK5.js +3 -0
- package/dist/web/assets/MainChatThread-BaPxxzrw.js +2 -0
- package/dist/web/assets/{MakeAgentTutorialLearningPanel-C6F-kJQd.js → MakeAgentTutorialLearningPanel-CBsfnONQ.js} +2 -2
- package/dist/web/assets/{MarkdownText-CkVkr3P1.js → MarkdownText-DGLfAM_Z.js} +4 -4
- package/dist/web/assets/Messages-CIX9uTjX.js +10 -0
- package/dist/web/assets/NativeSkillSidebar-AP_uHn6g.js +1 -0
- package/dist/web/assets/{NewProjectDialog-DBMhkTvD.js → NewProjectDialog-C6lHkafU.js} +1 -1
- package/dist/web/assets/{PostTrainingLearningPanel-B1Rp7iIL.js → PostTrainingLearningPanel-CZEgPc8O.js} +2 -2
- package/dist/web/assets/{PostTrainingStatusPill-BGZ9h5eW.js → PostTrainingStatusPill-CeEpwUDB.js} +1 -1
- package/dist/web/assets/{ProfileSettingsSection-2NOHEz2b.js → ProfileSettingsSection-EumMLlEp.js} +1 -1
- package/dist/web/assets/RightChatPanelStack-MXBcx3zO.js +1 -0
- package/dist/web/assets/{SettingsView-uHhQnazW.css → SettingsView-Caljbns2.css} +1 -1
- package/dist/web/assets/SettingsView-DyURG_Uh.js +6 -0
- package/dist/web/assets/{TeamChatView-qVscSedQ.js → TeamChatView-D3v6aqJ3.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-Bkw7XqMy.js → TerminalOverlay-BKl0p8pa.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-COg1wvw8.js → TrainingCreationPanel-CfZQTuT5.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-BNK2znmI.js → TrainingDraftPanel-DslRPSDW.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-CUxBaohC.js → UsageSettingsSection-zDAwzTGl.js} +1 -1
- package/dist/web/assets/WorkspaceDiffPanel-C_MZPPlL.js +14 -0
- package/dist/web/assets/{WorkspaceEnvironmentMenu-C0-mH7oF.js → WorkspaceEnvironmentMenu-BUAnn80j.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-VvC2px0X.js → WorkspaceGitDialogs-Drbf4ujA.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-CUIwoHv1.js → WorkspaceMonacoEditor-DPGcG8fy.js} +3 -3
- package/dist/web/assets/{activity-BhqHgkfJ.js → activity-Dnr3jqb3.js} +1 -1
- package/dist/web/assets/{boxes-BpqUKFIm.js → boxes-BinC8UPn.js} +1 -1
- package/dist/web/assets/{chevron-up-BTn9DVRP.js → chevron-up-Bjp_-_Cb.js} +1 -1
- package/dist/web/assets/{circle-x-B9Qa8o5a.js → circle-x-ubnvEYuE.js} +1 -1
- package/dist/web/assets/{copy-BsYs6wBI.js → copy-B_ZCCUMz.js} +1 -1
- package/dist/web/assets/{create-pipeline-request-vxgKoAvv.js → create-pipeline-request-D6uLUxe9.js} +3 -3
- package/dist/web/assets/{cssMode-mw8RI2fR.js → cssMode-CKN9CcfG.js} +1 -1
- package/dist/web/assets/file-8HAMlTmQ.js +1 -0
- package/dist/web/assets/{git-branch-C7qQYFIs.js → git-branch-l2Zih3Bv.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-CbX4pTOA.js → git-commit-horizontal-Bxi8YPep.js} +1 -1
- package/dist/web/assets/{htmlMode-Cc4Czh_M.js → htmlMode-CeUcNhBZ.js} +1 -1
- package/dist/web/assets/index-BMFyOFRU.css +1 -0
- package/dist/web/assets/index-BzwcDzbT.js +1 -0
- package/dist/web/assets/index-KoQSSt_f.js +177 -0
- package/dist/web/assets/{info-BNGbwgtq.js → info-JTbDQxHx.js} +1 -1
- package/dist/web/assets/{jsonMode-CbqbqGVz.js → jsonMode-97z0Yz9u.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-DKiKr5tH.js → lspLanguageFeatures-D4Tp-JmI.js} +1 -1
- package/dist/web/assets/{make-agent-tutorial-KKauJpB9.js → make-agent-tutorial-D6nBCgv-.js} +1 -1
- package/dist/web/assets/{monaco.contribution-Dxc4IxFM.js → monaco.contribution-B3j6oown.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CNgwz_pw.js → monaco.contribution-BXHxPPWL.js} +2 -2
- package/dist/web/assets/{monaco.contribution-D_-wu578.js → monaco.contribution-C2P5zIzh.js} +2 -2
- package/dist/web/assets/{monaco.contribution-CdUAX47Q.js → monaco.contribution-C8c6OtGi.js} +2 -2
- package/dist/web/assets/{monitor-CNdx_GTg.js → monitor-kzHtxHnA.js} +1 -1
- package/dist/web/assets/{play-BLRANWaV.js → play-C-37dnR1.js} +1 -1
- package/dist/web/assets/{python-DYgDMu2R.js → python-CGpDXY7_.js} +1 -1
- package/dist/web/assets/{refresh-cw-BFjjwYNf.js → refresh-cw-BAaaPCXl.js} +1 -1
- package/dist/web/assets/{reply-D012cuZl.js → reply-9rehU13k.js} +1 -1
- package/dist/web/assets/{rotate-cw-CTfjlR4G.js → rotate-cw-C1Z_Xs23.js} +1 -1
- package/dist/web/assets/{save-B1zYlRyN.js → save-Cvxs3XyC.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-D9XFH7EA.js → toggleHighContrast-CD42jH4g.js} +1 -1
- package/dist/web/assets/{tsMode-BU-tuKsY.js → tsMode-ZROIxEjv.js} +1 -1
- package/dist/web/assets/{upload-DU_81jvL.js → upload-DvCSGERK.js} +1 -1
- package/dist/web/assets/{wifi-off-TPsBnbGW.js → wifi-off-BIb94PkS.js} +1 -1
- package/dist/web/assets/{workers-NhWySRdT.js → workers-oYqbrVYG.js} +1 -1
- package/dist/web/assets/{yaml-DWXa_3ZL.js → yaml-WqBjNgOO.js} +1 -1
- package/dist/web/index.html +2 -2
- package/docs/command-reference.md +16 -1
- package/package.json +1 -1
- package/dist/chunks/cli-4JA3SIDE.js +0 -19
- package/dist/web/assets/LabsRoute-B_nsEZXy.js +0 -3
- package/dist/web/assets/LabsRoute-dNN-odU0.css +0 -1
- package/dist/web/assets/MainChatThread-Dg7p3R2O.js +0 -2
- package/dist/web/assets/Messages-C7uHGoFw.js +0 -10
- package/dist/web/assets/NativeSkillSidebar-BPpoHjEW.js +0 -1
- package/dist/web/assets/RightChatPanelStack-CLK7_zKe.js +0 -1
- package/dist/web/assets/SettingsView-BAqea_KX.js +0 -6
- package/dist/web/assets/WorkspaceDiffPanel-qfFj8IRq.js +0 -14
- package/dist/web/assets/credit-card-BCePAwMI.js +0 -1
- package/dist/web/assets/index-9tbdqUau.css +0 -1
- package/dist/web/assets/index-B_3z_lxq.js +0 -1
- package/dist/web/assets/index-Cr_RZ7GD.js +0 -177
- package/dist/web/tokens/eth.svg +0 -1
- package/dist/web/tokens/usdc.svg +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
now
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HS2AGRDV.js";
|
|
5
5
|
|
|
6
6
|
// ../server/src/workspace/workspace-command.ts
|
|
7
7
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -192,6 +192,12 @@ var WORKSPACE_IMAGE_CONTENT_TYPES = /* @__PURE__ */ new Map([
|
|
|
192
192
|
[".png", "image/png"],
|
|
193
193
|
[".webp", "image/webp"]
|
|
194
194
|
]);
|
|
195
|
+
var LOCAL_VIDEO_CONTENT_TYPES = /* @__PURE__ */ new Map([
|
|
196
|
+
[".m4v", "video/x-m4v"],
|
|
197
|
+
[".mov", "video/quicktime"],
|
|
198
|
+
[".mp4", "video/mp4"],
|
|
199
|
+
[".webm", "video/webm"]
|
|
200
|
+
]);
|
|
195
201
|
function safeAppSegment(appId) {
|
|
196
202
|
return appId.replace(/[^a-zA-Z0-9._-]/g, "-").slice(0, 120) || "app";
|
|
197
203
|
}
|
|
@@ -250,6 +256,9 @@ async function readWorkspaceFile(repoPath, filePath) {
|
|
|
250
256
|
function workspaceImageContentType(filePath) {
|
|
251
257
|
return WORKSPACE_IMAGE_CONTENT_TYPES.get(path2.extname(filePath).toLowerCase()) ?? null;
|
|
252
258
|
}
|
|
259
|
+
function localVideoContentType(filePath) {
|
|
260
|
+
return LOCAL_VIDEO_CONTENT_TYPES.get(path2.extname(filePath).toLowerCase()) ?? null;
|
|
261
|
+
}
|
|
253
262
|
async function readWorkspaceImageFile(repoPath, filePath) {
|
|
254
263
|
const normalizedPath = normalizeWorkspaceFilePath(filePath);
|
|
255
264
|
if (!normalizedPath) return null;
|
|
@@ -272,7 +281,7 @@ async function readWorkspaceImageFile(repoPath, filePath) {
|
|
|
272
281
|
}
|
|
273
282
|
}
|
|
274
283
|
async function readLocalImageFile(filePath) {
|
|
275
|
-
const cleanedPath =
|
|
284
|
+
const cleanedPath = cleanLocalAssetPath(filePath);
|
|
276
285
|
if (!cleanedPath) return null;
|
|
277
286
|
const contentType = workspaceImageContentType(cleanedPath);
|
|
278
287
|
if (!contentType) return null;
|
|
@@ -290,7 +299,21 @@ async function readLocalImageFile(filePath) {
|
|
|
290
299
|
return null;
|
|
291
300
|
}
|
|
292
301
|
}
|
|
293
|
-
function
|
|
302
|
+
async function readLocalVideoFile(filePath) {
|
|
303
|
+
const cleanedPath = cleanLocalAssetPath(filePath);
|
|
304
|
+
if (!cleanedPath) return null;
|
|
305
|
+
const contentType = localVideoContentType(cleanedPath);
|
|
306
|
+
if (!contentType) return null;
|
|
307
|
+
const target = path2.resolve(cleanedPath);
|
|
308
|
+
try {
|
|
309
|
+
const stat = await fs2.lstat(target);
|
|
310
|
+
if (!stat.isFile()) return null;
|
|
311
|
+
return { path: target, contentType, sizeBytes: stat.size };
|
|
312
|
+
} catch {
|
|
313
|
+
return null;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
function cleanLocalAssetPath(value) {
|
|
294
317
|
let cleaned = value.trim();
|
|
295
318
|
if (!cleaned) return null;
|
|
296
319
|
cleaned = cleaned.replace(/^['"`]+|['"`]+$/g, "");
|
|
@@ -1188,8 +1211,10 @@ export {
|
|
|
1188
1211
|
truncatePatch,
|
|
1189
1212
|
readWorkspaceFile,
|
|
1190
1213
|
workspaceImageContentType,
|
|
1214
|
+
localVideoContentType,
|
|
1191
1215
|
readWorkspaceImageFile,
|
|
1192
1216
|
readLocalImageFile,
|
|
1217
|
+
readLocalVideoFile,
|
|
1193
1218
|
isWorkspaceDirectory,
|
|
1194
1219
|
normalizeWorkspaceFilePath,
|
|
1195
1220
|
isGeneratedWorkspacePath,
|
|
@@ -1,22 +1,10 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
checkOpenPondApiHealth,
|
|
4
|
-
createHeadlessApps,
|
|
5
|
-
createRepo,
|
|
6
|
-
deployLatestTemplate,
|
|
7
3
|
ensureApiKey,
|
|
8
|
-
executeHostedTool,
|
|
9
4
|
fetchAppsWithCache,
|
|
10
5
|
formatTokenizedRepoUrl,
|
|
11
6
|
formatTokenizedRepoUrlForPrint,
|
|
12
|
-
getDeploymentDetail,
|
|
13
7
|
getGitRemoteUrl,
|
|
14
|
-
getLatestDeploymentForApp,
|
|
15
|
-
getOpenPondAccount,
|
|
16
|
-
getTemplateStatus,
|
|
17
|
-
listConfiguredProfiles,
|
|
18
|
-
listTemplateBranches,
|
|
19
|
-
loadConfig,
|
|
20
8
|
pollDeploymentLogs,
|
|
21
9
|
promptConfirm,
|
|
22
10
|
promptForApiKey,
|
|
@@ -26,11 +14,8 @@ import {
|
|
|
26
14
|
resolveAppTarget,
|
|
27
15
|
resolveRepoUrl,
|
|
28
16
|
runCommand,
|
|
29
|
-
saveProfileApiKey,
|
|
30
|
-
setActiveProfile,
|
|
31
|
-
submitBacktestRun,
|
|
32
17
|
warnOnRepoHostMismatch
|
|
33
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-275WCETC.js";
|
|
34
19
|
import {
|
|
35
20
|
normalizeTemplateRepoUrl,
|
|
36
21
|
resolveApiBaseUrlOption,
|
|
@@ -38,15 +23,34 @@ import {
|
|
|
38
23
|
resolveBaseUrlOption,
|
|
39
24
|
resolveChatApiBaseUrlOption,
|
|
40
25
|
resolvePublicApiBaseUrl
|
|
41
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GDZYDLEL.js";
|
|
42
27
|
import {
|
|
43
28
|
compareSemver,
|
|
44
29
|
fetchLatestNpmVersion,
|
|
45
|
-
getInstalledCliVersion
|
|
30
|
+
getInstalledCliVersion
|
|
31
|
+
} from "./chunk-XCATKTK3.js";
|
|
32
|
+
import {
|
|
33
|
+
checkOpenPondApiHealth,
|
|
34
|
+
createHeadlessApps,
|
|
35
|
+
createRepo,
|
|
36
|
+
deployLatestTemplate,
|
|
37
|
+
executeHostedTool,
|
|
38
|
+
getDeploymentDetail,
|
|
39
|
+
getLatestDeploymentForApp,
|
|
40
|
+
getOpenPondAccount,
|
|
41
|
+
getTemplateStatus,
|
|
42
|
+
listConfiguredProfiles,
|
|
43
|
+
listTemplateBranches,
|
|
44
|
+
loadConfig,
|
|
45
|
+
saveProfileApiKey,
|
|
46
|
+
setActiveProfile,
|
|
47
|
+
submitBacktestRun
|
|
48
|
+
} from "./chunk-ZI4GDAUB.js";
|
|
49
|
+
import {
|
|
46
50
|
parseBooleanOption,
|
|
47
51
|
parseJsonOption,
|
|
48
52
|
resolveTemplateEnvironment
|
|
49
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-MUMPWI4O.js";
|
|
50
54
|
|
|
51
55
|
// src/cli/core-commands.ts
|
|
52
56
|
import { promises as fs, existsSync } from "node:fs";
|