openpond 0.0.68 → 0.0.69
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-DLOKFA34.js → actions-command-6N5XWMR6.js} +4 -4
- package/dist/chunks/{app-layer-K7NAOLDL.js → app-layer-EXXOWJ5H.js} +7 -7
- package/dist/chunks/{app-server-runtime-OFZZIWAB.js → app-server-runtime-7FBQBE3C.js} +10 -10
- package/dist/chunks/{apps-5VSVJLM7.js → apps-RZSDOFAG.js} +7 -7
- package/dist/chunks/{chunk-N6FKRVAT.js → chunk-47EIAYI7.js} +2 -2
- package/dist/chunks/{chunk-7FW2CVYN.js → chunk-4L3ZJS2T.js} +426 -1
- package/dist/chunks/{chunk-OOJP442J.js → chunk-5TKZBMQM.js} +1 -1
- package/dist/chunks/{chunk-WEB37YVJ.js → chunk-7C4OIFOC.js} +1 -1
- package/dist/chunks/{chunk-MUS7KPXK.js → chunk-BLFIIAWZ.js} +1931 -19
- package/dist/chunks/{chunk-3KLQ52B2.js → chunk-BVY5JYM6.js} +4 -9
- package/dist/chunks/{chunk-DBHSOTYZ.js → chunk-D7BO5Y5J.js} +3 -24
- package/dist/chunks/chunk-DLQQIWN2.js +648 -0
- package/dist/chunks/{chunk-T55IL3GI.js → chunk-DNXBJZAU.js} +1 -1
- package/dist/chunks/{chunk-KLD7NT5J.js → chunk-F36ZVO6U.js} +3 -3
- package/dist/chunks/{chunk-TSDVA7QP.js → chunk-FEOLMLYU.js} +8 -12
- package/dist/chunks/{chunk-QETF6ILG.js → chunk-FQS2QL5F.js} +359 -841
- package/dist/chunks/{chunk-J2REM7LE.js → chunk-HFPUR4CQ.js} +5 -116
- package/dist/chunks/{chunk-JIEUB6OS.js → chunk-J3YDKJFD.js} +1 -1
- package/dist/chunks/{chunk-JGOP4GCK.js → chunk-JTHL5XJ2.js} +5 -25
- package/dist/chunks/{chunk-OQLYO7TA.js → chunk-MMRJNSWY.js} +34 -81
- package/dist/chunks/{chunk-HFQHD35D.js → chunk-NPNIL6SQ.js} +1 -1
- package/dist/chunks/{chunk-IG72OKNB.js → chunk-OOM2PHBE.js} +2080 -16400
- package/dist/chunks/{chunk-PSGEH4FC.js → chunk-QTN6HXOR.js} +3 -3
- package/dist/chunks/{chunk-HNY7OSDY.js → chunk-SFMNGWNO.js} +1 -1
- package/dist/chunks/{chunk-TBEBLKCQ.js → chunk-WBAZFKC7.js} +3 -3
- package/dist/chunks/{chunk-NA4L2HQM.js → chunk-Y57RTLVV.js} +33 -33
- package/dist/chunks/{chunk-Z2ZWHU7O.js → chunk-YVCYVDNP.js} +1 -1
- package/dist/chunks/{cli-6WFY2ULA.js → cli-HIXVXM72.js} +8 -8
- package/dist/chunks/{core-commands-HQ3HL34W.js → core-commands-34SVH6ZQ.js} +8 -8
- package/dist/chunks/{desktop-test-RU6SRARQ.js → desktop-test-66DPBNJX.js} +7 -7
- package/dist/chunks/{extension-4KFKWMC4.js → extension-ZMRHCDO3.js} +36 -87
- package/dist/chunks/{help-ZUCPOR22.js → help-COHCZEP2.js} +1 -1
- package/dist/chunks/{opchat-AZX7SYM7.js → opchat-2PGW2GNN.js} +10 -18
- package/dist/chunks/{organizations-GV6Z7G4J.js → organizations-NZ4OY56V.js} +9 -9
- package/dist/chunks/{profile-TSLGZPUI.js → profile-GEMTRPUG.js} +11 -11
- package/dist/chunks/{project-agent-SHIQZWPY.js → project-agent-NX6YBGWC.js} +10 -10
- package/dist/chunks/{sandbox-command-TRS66NUT.js → sandbox-command-UEY53OJO.js} +8 -8
- package/dist/chunks/{sandbox-template-RVWXD5O3.js → sandbox-template-YKYRB645.js} +10 -10
- package/dist/chunks/{src-VUJ6EBOU.js → src-IXYDKOBI.js} +799 -965
- package/dist/chunks/{src-Q3BOITLJ.js → src-LKJBD5AM.js} +5 -5
- package/dist/chunks/{teams-bot-CLCMGBW5.js → teams-bot-K6KZHZJV.js} +7 -7
- package/dist/chunks/{workspaces-IIPITOCV.js → workspaces-WXM72UZF.js} +2 -2
- package/dist/cli.js +13 -13
- package/dist/index.js +15 -56
- package/dist/web/assets/App-BF9L0JUv.js +171 -0
- package/dist/web/assets/{AppDialog-sLTPiFGX.js → AppDialog-DX-xs3KA.js} +1 -1
- package/dist/web/assets/{AppTerminalPanel-B0NCyY4L.js → AppTerminalPanel-CYVj_ITT.js} +2 -2
- package/dist/web/assets/{AppsView-DyDyktK2.js → AppsView-ByjyGog7.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-C-PQxmQa.js → BrowserSidebar-BDwtMAZl.js} +1 -1
- package/dist/web/assets/{CartesianChart-CnerMhTr.js → CartesianChart-Dv6jJfPR.js} +1 -1
- package/dist/web/assets/{CollaborationTabs-DJEp6dux.js → CollaborationTabs-CC5AIhMh.js} +1 -1
- package/dist/web/assets/{CommandMenu-B5lGz8rG.js → CommandMenu-Ct0Sx7yP.js} +1 -1
- package/dist/web/assets/{CommunityView-DQJaHBa5.js → CommunityView-C_zVE0jg.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-7hBR2bdV.js → ComposerCreateImproveStrip-CNn4OywM.js} +1 -1
- package/dist/web/assets/{GetStartedView-l1Cz1e7g.js → GetStartedView-DRFpHDLd.js} +1 -1
- package/dist/web/assets/LabModelVersionDetailPage-BzF-IVXQ.js +1 -0
- package/dist/web/assets/{LabSkillSidebar-jlX5I_D5.js → LabSkillSidebar-B9jY4AgE.js} +1 -1
- package/dist/web/assets/{LabsRoute-D3w6nPSa.css → LabsRoute-CS_orT9s.css} +1 -1
- package/dist/web/assets/LabsRoute-Di1Zs4gZ.js +2 -0
- package/dist/web/assets/{MainChatThread-B1nXTMAf.js → MainChatThread-8VzlD8Hi.js} +2 -2
- package/dist/web/assets/{MainPane-DxVcMBFo.js → MainPane-StAOFINE.js} +3 -3
- package/dist/web/assets/{MarkdownText-B3njGyZS.js → MarkdownText-B8D_ftSJ.js} +1 -1
- package/dist/web/assets/{Messages-yBS4UHWl.js → Messages-TY62tiDp.js} +1 -1
- package/dist/web/assets/{NativeSkillSidebar-DaD52aW1.js → NativeSkillSidebar-DjebFRoi.js} +1 -1
- package/dist/web/assets/{NewExperienceSwitcher-C7X_K5Xl.js → NewExperienceSwitcher-C-bJxHxY.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-NuPVF2Y7.js → NewProjectDialog-Cx8QcZm7.js} +1 -1
- package/dist/web/assets/{OutputsPage-Bmof4Tdv.js → OutputsPage-Y9HM-SHX.js} +1 -1
- package/dist/web/assets/{ProjectsPage-D7opg6ff.js → ProjectsPage-BBr58yKT.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-BzsNeSwx.js → RightChatPanelStack-DzUbDKwp.js} +1 -1
- package/dist/web/assets/{RightSidebarHomePanel-D8dAMHcp.js → RightSidebarHomePanel-Dx-1elSI.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-Dkjhof6t.js → ScheduledWorkPage-BuXw_W8b.js} +1 -1
- package/dist/web/assets/SettingsView-DB_zPHYY.js +6 -0
- package/dist/web/assets/{TeamChatView-DIxvrgai.js → TeamChatView-Bkyhu40R.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-Cd0Sp9LD.js → TerminalOverlay-CaCkZDzO.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-DACYaOny.js → TrainingCreationPanel-Vvi41WNT.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-DBWJW8ZD.js → TrainingDraftPanel-C2C3hffI.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-B3sbqaUV.js → UsageSettingsSection-DpPBd-ra.js} +1 -1
- package/dist/web/assets/{WorkSidebarPanel-D4yXQ64j.js → WorkSidebarPanel-CeWGboTh.js} +1 -1
- package/dist/web/assets/{WorkspaceDiffPanel-CBgPVF1P.js → WorkspaceDiffPanel-D_zKOW4K.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-Bp-9V7Jq.js → WorkspaceEnvironmentMenu-BTz9FISP.js} +3 -3
- package/dist/web/assets/{WorkspaceGitDialogs-BxU5Uhpz.js → WorkspaceGitDialogs-BnBRUYpS.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-Db_sWYFt.js → WorkspaceMonacoEditor--GOVrHFp.js} +3 -3
- package/dist/web/assets/{activity-BzKyRXbd.js → activity-DA5DNQwD.js} +1 -1
- package/dist/web/assets/{arrow-up-right-DaIxkG4K.js → arrow-up-right-BRZWXpqJ.js} +1 -1
- package/dist/web/assets/{chat-file-links-wORSEipQ.js → chat-file-links-CgFHK89C.js} +1 -1
- package/dist/web/assets/chevron-up-DSv2auz_.js +1 -0
- package/dist/web/assets/{clipboard-BTRsPPaK.js → clipboard-dPd_3lpG.js} +1 -1
- package/dist/web/assets/{cloud-upload-BYXHJoKd.js → cloud-upload-DOwvN4hp.js} +1 -1
- package/dist/web/assets/{cssMode-Be446Wgi.js → cssMode-BM4j9M0D.js} +1 -1
- package/dist/web/assets/{folder-open-KtKTXn4w.js → folder-open-DavjPCw4.js} +1 -1
- package/dist/web/assets/{folder-plus-9-Xcli22.js → folder-plus-Dyqast6G.js} +1 -1
- package/dist/web/assets/{git-branch-CLGxzDjJ.js → git-branch-zKnZdQiX.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-CmVYsUnh.js → git-commit-horizontal-s3X0cQlz.js} +1 -1
- package/dist/web/assets/{htmlMode-DTjTyBB_.js → htmlMode-Nlx7ckXa.js} +1 -1
- package/dist/web/assets/{index-DqWw2ymf.js → index-5-B6FIuE.js} +1 -1
- package/dist/web/assets/index-CQ3CPVHZ.css +1 -0
- package/dist/web/assets/index-CuoGlf-W.js +1 -0
- package/dist/web/assets/{info-BLmP4K0e.js → info-CVvrNOHr.js} +1 -1
- package/dist/web/assets/{jsonMode-Z-2iim-u.js → jsonMode-B7monA6g.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-Cr2iCfG2.js → lspLanguageFeatures-CcJ9GDtK.js} +1 -1
- package/dist/web/assets/{minimize-2-CWA6iO3r.js → minimize-2-O1DnznGK.js} +1 -1
- package/dist/web/assets/{monaco.contribution-YhqlKmCp.js → monaco.contribution-2PozfA9g.js} +2 -2
- package/dist/web/assets/{monaco.contribution-BtMcDmCM.js → monaco.contribution-BMAF2bmO.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Cac9eBUk.js → monaco.contribution-BSJ2jQTi.js} +2 -2
- package/dist/web/assets/{monaco.contribution-NtjNqMdv.js → monaco.contribution-QOOCizYq.js} +2 -2
- package/dist/web/assets/{play-DYSQH2rx.js → play-BpCc5ZbR.js} +1 -1
- package/dist/web/assets/{python-CNqOWXNv.js → python-BK41iew-.js} +1 -1
- package/dist/web/assets/{refresh-cw-DMysDKOA.js → refresh-cw-Csoy1ev1.js} +1 -1
- package/dist/web/assets/{save-HPZ4ZiDi.js → save-Dbztj0W7.js} +1 -1
- package/dist/web/assets/{square-D-mpY1a-.js → square-ju7fWa0W.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-Bccdn3Qi.js → toggleHighContrast-DrmwDpyz.js} +1 -1
- package/dist/web/assets/{tsMode-BhcKJxhG.js → tsMode-CFgCMr7d.js} +1 -1
- package/dist/web/assets/{upload-DE7xaWVj.js → upload-C5nhiSMq.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-C0J--_MD.js → useLocalAgentSchedules-LAsobERb.js} +1 -1
- package/dist/web/assets/{wifi-off-CrCfhll9.js → wifi-off-BHxh2UbA.js} +1 -1
- package/dist/web/assets/{workers-DCaGzukk.js → workers-FKb-NyBI.js} +1 -1
- package/dist/web/assets/{yaml-CCfH63KB.js → yaml-C5DbF9S6.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/api/vercel-protection.d.ts +0 -1
- package/dist/chunks/chunk-MLWNI3WG.js +0 -15395
- package/dist/web/assets/App-D7vhbyMO.js +0 -171
- package/dist/web/assets/LabModelVersionDetailPage-D2PfI3-r.js +0 -1
- package/dist/web/assets/LabsRoute-VOgPrf94.js +0 -2
- package/dist/web/assets/SettingsView-CWTAUy2b.js +0 -6
- package/dist/web/assets/chevron-up-C8-qSzck.js +0 -1
- package/dist/web/assets/index-AzqEDIEY.css +0 -1
- package/dist/web/assets/index-C5uP_Gug.js +0 -1
|
@@ -3,7 +3,7 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
|
|
|
3
3
|
import {
|
|
4
4
|
createReadyLineParser,
|
|
5
5
|
openUrlWithSystemBrowser
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FEOLMLYU.js";
|
|
7
7
|
import {
|
|
8
8
|
ApprovalSchema,
|
|
9
9
|
ContextUsageSnapshotSchema,
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
DEFAULT_OPENPOND_CHAT_MODEL,
|
|
13
13
|
DEFAULT_OPENPOND_COMMAND_ACCESS_MODE,
|
|
14
14
|
OpenPondCommandAccessModeSchema
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MMRJNSWY.js";
|
|
16
16
|
import {
|
|
17
17
|
CONNECTED_APP_CATALOG,
|
|
18
18
|
buildConnectedAppInstallUrl,
|
|
19
19
|
connectedAppById
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BLFIIAWZ.js";
|
|
21
21
|
import "./chunk-X7ZG4TSW.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JTHL5XJ2.js";
|
|
23
|
+
import "./chunk-FQS2QL5F.js";
|
|
24
24
|
import "./chunk-UACZUFIA.js";
|
|
25
25
|
|
|
26
26
|
// ../terminal/src/index.ts
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
resolveSandboxClient
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-HFPUR4CQ.js";
|
|
5
|
+
import "./chunk-SFMNGWNO.js";
|
|
6
6
|
import "./chunk-SMNFI2FU.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-Y57RTLVV.js";
|
|
8
|
+
import "./chunk-4L3ZJS2T.js";
|
|
9
|
+
import "./chunk-JTHL5XJ2.js";
|
|
10
|
+
import "./chunk-D7BO5Y5J.js";
|
|
11
11
|
import "./chunk-KSRWKXRB.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-FQS2QL5F.js";
|
|
13
13
|
import {
|
|
14
14
|
optionString,
|
|
15
15
|
parseJsonOption,
|
|
@@ -45,8 +45,8 @@ import {
|
|
|
45
45
|
truncatePatch,
|
|
46
46
|
uniqueSortedPaths,
|
|
47
47
|
workspaceImageContentType
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-7C4OIFOC.js";
|
|
49
|
+
import "./chunk-NPNIL6SQ.js";
|
|
50
50
|
import "./chunk-UACZUFIA.js";
|
|
51
51
|
export {
|
|
52
52
|
MACOS_GIT_MISSING_DEVELOPER_TOOLS_ERROR,
|
package/dist/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
parseArgs
|
|
5
|
-
} from "./chunks/chunk-
|
|
5
|
+
} from "./chunks/chunk-SFMNGWNO.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveAccountOption,
|
|
8
8
|
resolveBaseUrlOption
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
getInstalledCliVersion,
|
|
12
12
|
runCliCommand
|
|
13
|
-
} from "./chunks/chunk-
|
|
13
|
+
} from "./chunks/chunk-Y57RTLVV.js";
|
|
14
14
|
import "./chunks/chunk-KSRWKXRB.js";
|
|
15
15
|
import {
|
|
16
16
|
parseBooleanOption
|
|
@@ -37,11 +37,11 @@ async function runOpenPondCli(argv = process.argv.slice(2)) {
|
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
if (action === "check-update") {
|
|
40
|
-
await (await import("./chunks/core-commands-
|
|
40
|
+
await (await import("./chunks/core-commands-34SVH6ZQ.js")).runCheckUpdate();
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
43
|
if (action === "help") {
|
|
44
|
-
(await import("./chunks/help-
|
|
44
|
+
(await import("./chunks/help-COHCZEP2.js")).printHelp();
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const selectedAccount = resolveAccountOption(options);
|
|
@@ -53,25 +53,25 @@ async function runOpenPondCli(argv = process.argv.slice(2)) {
|
|
|
53
53
|
process.env.OPENPOND_BASE_URL = selectedBaseUrl;
|
|
54
54
|
}
|
|
55
55
|
if (action === "tui") {
|
|
56
|
-
await (await import("./chunks/app-layer-
|
|
56
|
+
await (await import("./chunks/app-layer-EXXOWJ5H.js")).runOpenPondTerminalCommand(options, rest);
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
59
|
if (action === "ui") {
|
|
60
|
-
await (await import("./chunks/app-layer-
|
|
60
|
+
await (await import("./chunks/app-layer-EXXOWJ5H.js")).runOpenPondServerCommand("web", options, rest);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
if (await runCliCommand({ command, options, rest })) {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
(await import("./chunks/help-
|
|
66
|
+
(await import("./chunks/help-COHCZEP2.js")).printHelp();
|
|
67
67
|
process.exit(1);
|
|
68
68
|
}
|
|
69
69
|
async function runEmbeddedCompanion(argv) {
|
|
70
70
|
if (argv[0] === "__app-server") {
|
|
71
71
|
process.argv = [process.execPath, "openpond-app-server", ...argv.slice(1)];
|
|
72
72
|
const [{ createOpenPondAppServer }, { runOpenPondAppServerCli }] = await Promise.all([
|
|
73
|
-
import("./chunks/app-server-runtime-
|
|
74
|
-
import("./chunks/cli-
|
|
73
|
+
import("./chunks/app-server-runtime-7FBQBE3C.js"),
|
|
74
|
+
import("./chunks/cli-HIXVXM72.js")
|
|
75
75
|
]);
|
|
76
76
|
await runOpenPondAppServerCli(createOpenPondAppServer);
|
|
77
77
|
return true;
|
|
@@ -79,15 +79,15 @@ async function runEmbeddedCompanion(argv) {
|
|
|
79
79
|
if (argv[0] === "__server") {
|
|
80
80
|
process.argv = [process.execPath, "openpond-server", ...argv.slice(1)];
|
|
81
81
|
const [{ createOpenPondServer }, { runOpenPondServerCli }] = await Promise.all([
|
|
82
|
-
import("./chunks/src-
|
|
83
|
-
import("./chunks/cli-
|
|
82
|
+
import("./chunks/src-IXYDKOBI.js"),
|
|
83
|
+
import("./chunks/cli-HIXVXM72.js")
|
|
84
84
|
]);
|
|
85
|
-
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-
|
|
85
|
+
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-7FBQBE3C.js");
|
|
86
86
|
await runOpenPondServerCli({ createOpenPondServer, createOpenPondAppServer });
|
|
87
87
|
return true;
|
|
88
88
|
}
|
|
89
89
|
if (argv[0] === "__terminal") {
|
|
90
|
-
await (await import("./chunks/src-
|
|
90
|
+
await (await import("./chunks/src-LKJBD5AM.js")).runOpenPondTerminalCli(argv.slice(1));
|
|
91
91
|
return true;
|
|
92
92
|
}
|
|
93
93
|
return false;
|
package/dist/index.js
CHANGED
|
@@ -5,24 +5,6 @@ var __export = (target, all) => {
|
|
|
5
5
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
// ../../packages/cloud/src/api/vercel-protection.ts
|
|
9
|
-
var VERCEL_PROTECTION_BYPASS_HEADER = "x-vercel-protection-bypass";
|
|
10
|
-
function withVercelProtectionBypass(requestUrl, inputHeaders, env = typeof process === "undefined" ? {} : process.env) {
|
|
11
|
-
const headers = new Headers(inputHeaders);
|
|
12
|
-
const secret = env.VERCEL_AUTOMATION_BYPASS_SECRET?.trim();
|
|
13
|
-
if (!secret || !isOpenPondStagingUrl(requestUrl)) return headers;
|
|
14
|
-
headers.set(VERCEL_PROTECTION_BYPASS_HEADER, secret);
|
|
15
|
-
return headers;
|
|
16
|
-
}
|
|
17
|
-
function isOpenPondStagingUrl(requestUrl) {
|
|
18
|
-
try {
|
|
19
|
-
const hostname3 = new URL(requestUrl).hostname.toLowerCase();
|
|
20
|
-
return hostname3 === "staging.openpond.ai" || hostname3 === "staging-api.openpond.ai" || hostname3.endsWith(".staging-api.openpond.ai");
|
|
21
|
-
} catch {
|
|
22
|
-
return false;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
8
|
// ../../packages/cloud/src/api/core.ts
|
|
27
9
|
var DEFAULT_API_TIMEOUT_MS = 3e4;
|
|
28
10
|
var DEFAULT_API_RESPONSE_BYTES = 8 * 1024 * 1024;
|
|
@@ -65,7 +47,7 @@ var OpenPondApiError = class extends Error {
|
|
|
65
47
|
async function apiFetch(baseUrl, token, requestPath, options = {}) {
|
|
66
48
|
const { timeoutMs = DEFAULT_API_TIMEOUT_MS, maxResponseBytes = DEFAULT_API_RESPONSE_BYTES, ...init } = options;
|
|
67
49
|
const requestUrl = `${baseUrl}${requestPath}`;
|
|
68
|
-
const headers =
|
|
50
|
+
const headers = new Headers(init.headers);
|
|
69
51
|
headers.set("Content-Type", "application/json");
|
|
70
52
|
const apiKey = process.env.OPENPOND_API_KEY;
|
|
71
53
|
const trimmedToken = token?.trim() || "";
|
|
@@ -1270,14 +1252,14 @@ function requireToken(value) {
|
|
|
1270
1252
|
if (!trimmed) throw new Error("OpenPond API key is required");
|
|
1271
1253
|
return trimmed;
|
|
1272
1254
|
}
|
|
1273
|
-
function hostedHeaders(
|
|
1255
|
+
function hostedHeaders(token, accept, requestId) {
|
|
1274
1256
|
const headers = new Headers();
|
|
1275
1257
|
headers.set("Authorization", `Bearer ${requireToken(token)}`);
|
|
1276
1258
|
headers.set("Content-Type", "application/json");
|
|
1277
1259
|
headers.set("Accept", accept);
|
|
1278
1260
|
headers.set("x-openpond-client", "openpond-code");
|
|
1279
1261
|
headers.set("x-openpond-request-id", requestId || randomUUID2());
|
|
1280
|
-
return
|
|
1262
|
+
return headers;
|
|
1281
1263
|
}
|
|
1282
1264
|
async function readError(response) {
|
|
1283
1265
|
const text5 = await response.text().catch(() => "");
|
|
@@ -1322,7 +1304,7 @@ async function listOpChatModels(options) {
|
|
|
1322
1304
|
const requestUrl = `${apiBaseUrl}/models`;
|
|
1323
1305
|
const response = await fetch(requestUrl, {
|
|
1324
1306
|
method: "GET",
|
|
1325
|
-
headers: hostedHeaders(
|
|
1307
|
+
headers: hostedHeaders(options.token, "application/json"),
|
|
1326
1308
|
signal: options.signal
|
|
1327
1309
|
});
|
|
1328
1310
|
if (!response.ok) {
|
|
@@ -1341,7 +1323,7 @@ async function getOpChatModel(options) {
|
|
|
1341
1323
|
requestUrl,
|
|
1342
1324
|
{
|
|
1343
1325
|
method: "GET",
|
|
1344
|
-
headers: hostedHeaders(
|
|
1326
|
+
headers: hostedHeaders(options.token, "application/json"),
|
|
1345
1327
|
signal: options.signal
|
|
1346
1328
|
}
|
|
1347
1329
|
);
|
|
@@ -1360,7 +1342,7 @@ async function listOpChatProviders(options) {
|
|
|
1360
1342
|
const requestUrl = `${apiBaseUrl}/providers`;
|
|
1361
1343
|
const response = await fetch(requestUrl, {
|
|
1362
1344
|
method: "GET",
|
|
1363
|
-
headers: hostedHeaders(
|
|
1345
|
+
headers: hostedHeaders(options.token, "application/json"),
|
|
1364
1346
|
signal: options.signal
|
|
1365
1347
|
});
|
|
1366
1348
|
if (!response.ok) {
|
|
@@ -1379,7 +1361,7 @@ async function getOpChatProvider(options) {
|
|
|
1379
1361
|
requestUrl,
|
|
1380
1362
|
{
|
|
1381
1363
|
method: "GET",
|
|
1382
|
-
headers: hostedHeaders(
|
|
1364
|
+
headers: hostedHeaders(options.token, "application/json"),
|
|
1383
1365
|
signal: options.signal
|
|
1384
1366
|
}
|
|
1385
1367
|
);
|
|
@@ -1399,7 +1381,6 @@ async function sendHostedChatTurn(options) {
|
|
|
1399
1381
|
const response = await fetch(requestUrl, {
|
|
1400
1382
|
method: "POST",
|
|
1401
1383
|
headers: hostedHeaders(
|
|
1402
|
-
requestUrl,
|
|
1403
1384
|
options.token,
|
|
1404
1385
|
"application/json",
|
|
1405
1386
|
options.requestId
|
|
@@ -1449,7 +1430,6 @@ async function* streamHostedChatTurn(options) {
|
|
|
1449
1430
|
const response = await fetch(requestUrl, {
|
|
1450
1431
|
method: "POST",
|
|
1451
1432
|
headers: hostedHeaders(
|
|
1452
|
-
requestUrl,
|
|
1453
1433
|
options.token,
|
|
1454
1434
|
"text/event-stream",
|
|
1455
1435
|
options.requestId
|
|
@@ -2266,8 +2246,7 @@ function sanitizeAccount(value) {
|
|
|
2266
2246
|
if (typeof input.apiKey === "string") out.apiKey = input.apiKey;
|
|
2267
2247
|
if (typeof input.baseUrl === "string") out.baseUrl = input.baseUrl;
|
|
2268
2248
|
if (typeof input.apiBaseUrl === "string") out.apiBaseUrl = input.apiBaseUrl;
|
|
2269
|
-
if (typeof input.chatApiBaseUrl === "string")
|
|
2270
|
-
out.chatApiBaseUrl = input.chatApiBaseUrl;
|
|
2249
|
+
if (typeof input.chatApiBaseUrl === "string") out.chatApiBaseUrl = input.chatApiBaseUrl;
|
|
2271
2250
|
if (typeof input.environment === "string")
|
|
2272
2251
|
out.environment = input.environment;
|
|
2273
2252
|
const session = sanitizeSession(input.session);
|
|
@@ -2290,8 +2269,7 @@ function extractLegacyAccount(raw, handle) {
|
|
|
2290
2269
|
if (typeof raw.apiKey === "string") out.apiKey = raw.apiKey;
|
|
2291
2270
|
if (typeof raw.baseUrl === "string") out.baseUrl = raw.baseUrl;
|
|
2292
2271
|
if (typeof raw.apiBaseUrl === "string") out.apiBaseUrl = raw.apiBaseUrl;
|
|
2293
|
-
if (typeof raw.chatApiBaseUrl === "string")
|
|
2294
|
-
out.chatApiBaseUrl = raw.chatApiBaseUrl;
|
|
2272
|
+
if (typeof raw.chatApiBaseUrl === "string") out.chatApiBaseUrl = raw.chatApiBaseUrl;
|
|
2295
2273
|
const session = extractLegacySession(raw);
|
|
2296
2274
|
if (session) out.session = session;
|
|
2297
2275
|
return out;
|
|
@@ -3644,25 +3622,6 @@ function asyncRequestHeaders(options = {}) {
|
|
|
3644
3622
|
return options.async || options.respondAsync ? { Prefer: "respond-async" } : void 0;
|
|
3645
3623
|
}
|
|
3646
3624
|
|
|
3647
|
-
// ../../packages/cloud/dist/api/vercel-protection.js
|
|
3648
|
-
var VERCEL_PROTECTION_BYPASS_HEADER2 = "x-vercel-protection-bypass";
|
|
3649
|
-
function withVercelProtectionBypass2(requestUrl, inputHeaders, env = typeof process === "undefined" ? {} : process.env) {
|
|
3650
|
-
const headers = new Headers(inputHeaders);
|
|
3651
|
-
const secret = env.VERCEL_AUTOMATION_BYPASS_SECRET?.trim();
|
|
3652
|
-
if (!secret || !isOpenPondStagingUrl2(requestUrl))
|
|
3653
|
-
return headers;
|
|
3654
|
-
headers.set(VERCEL_PROTECTION_BYPASS_HEADER2, secret);
|
|
3655
|
-
return headers;
|
|
3656
|
-
}
|
|
3657
|
-
function isOpenPondStagingUrl2(requestUrl) {
|
|
3658
|
-
try {
|
|
3659
|
-
const hostname3 = new URL(requestUrl).hostname.toLowerCase();
|
|
3660
|
-
return hostname3 === "staging.openpond.ai" || hostname3 === "staging-api.openpond.ai" || hostname3.endsWith(".staging-api.openpond.ai");
|
|
3661
|
-
} catch {
|
|
3662
|
-
return false;
|
|
3663
|
-
}
|
|
3664
|
-
}
|
|
3665
|
-
|
|
3666
3625
|
// ../../packages/cloud/dist/api/core.js
|
|
3667
3626
|
var DEFAULT_API_TIMEOUT_MS2 = 3e4;
|
|
3668
3627
|
var DEFAULT_API_RESPONSE_BYTES2 = 8 * 1024 * 1024;
|
|
@@ -3705,7 +3664,7 @@ var OpenPondApiError2 = class extends Error {
|
|
|
3705
3664
|
async function apiFetch2(baseUrl, token, requestPath, options = {}) {
|
|
3706
3665
|
const { timeoutMs = DEFAULT_API_TIMEOUT_MS2, maxResponseBytes = DEFAULT_API_RESPONSE_BYTES2, ...init } = options;
|
|
3707
3666
|
const requestUrl = `${baseUrl}${requestPath}`;
|
|
3708
|
-
const headers =
|
|
3667
|
+
const headers = new Headers(init.headers);
|
|
3709
3668
|
headers.set("Content-Type", "application/json");
|
|
3710
3669
|
const apiKey = process.env.OPENPOND_API_KEY;
|
|
3711
3670
|
const trimmedToken = token?.trim() || "";
|
|
@@ -3900,7 +3859,7 @@ function apiRootUrlFromSandboxApiUrl(sandboxApiUrl) {
|
|
|
3900
3859
|
return sandboxApiUrl.slice(0, -suffix.length);
|
|
3901
3860
|
}
|
|
3902
3861
|
function isOpenPondHostedApiHost(hostname3) {
|
|
3903
|
-
return hostname3 === "api.openpond.ai" || hostname3
|
|
3862
|
+
return hostname3 === "api.openpond.ai" || hostname3.startsWith("api") && hostname3.endsWith(".openpond.ai");
|
|
3904
3863
|
}
|
|
3905
3864
|
|
|
3906
3865
|
// ../../packages/cloud/dist/sandbox/sandbox-instance-client.js
|
|
@@ -19423,7 +19382,7 @@ function date4(params) {
|
|
|
19423
19382
|
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
19424
19383
|
config(en_default());
|
|
19425
19384
|
|
|
19426
|
-
// ../../
|
|
19385
|
+
// ../../node_modules/.pnpm/@openpond+harness@0.2.5/node_modules/@openpond/harness/dist/sha256.js
|
|
19427
19386
|
var INITIAL_STATE = new Uint32Array([
|
|
19428
19387
|
1779033703,
|
|
19429
19388
|
3144134277,
|
|
@@ -19501,7 +19460,7 @@ var ROUND_CONSTANTS = new Uint32Array([
|
|
|
19501
19460
|
3329325298
|
|
19502
19461
|
]);
|
|
19503
19462
|
|
|
19504
|
-
// ../../
|
|
19463
|
+
// ../../node_modules/.pnpm/@openpond+harness@0.2.5/node_modules/@openpond/harness/dist/common.js
|
|
19505
19464
|
var MAX_PORTABLE_PATH_BYTES = 2e3;
|
|
19506
19465
|
var MAX_PORTABLE_ASSET_BYTES = 25e7;
|
|
19507
19466
|
var ReleaseIdSchema = external_exports.string().trim().min(1).max(240);
|
|
@@ -19541,7 +19500,7 @@ function safeRelativePath(value) {
|
|
|
19541
19500
|
return !normalized.split("/").some((part) => !part || part === "." || part === "..");
|
|
19542
19501
|
}
|
|
19543
19502
|
|
|
19544
|
-
// ../../
|
|
19503
|
+
// ../../node_modules/.pnpm/@openpond+harness@0.2.5/node_modules/@openpond/harness/dist/refiner-profiles.js
|
|
19545
19504
|
var RefinerProposalRouteSchema = external_exports.enum(["memory", "prompt", "skill", "agent"]);
|
|
19546
19505
|
var RefinerExternalRouteSchema = external_exports.enum(["runtime", "product", "taskset", "training"]);
|
|
19547
19506
|
var RefinerReviewInstructionSchema = external_exports.object({
|
|
@@ -19602,7 +19561,7 @@ var RefinerTransitionReceiptSchema = external_exports.object({
|
|
|
19602
19561
|
contentHash: ReleaseHashSchema
|
|
19603
19562
|
}).strict();
|
|
19604
19563
|
|
|
19605
|
-
// ../../
|
|
19564
|
+
// ../../node_modules/.pnpm/@openpond+harness@0.2.5/node_modules/@openpond/harness/dist/refiner.js
|
|
19606
19565
|
var RefinerNoActionDecisionSchema = external_exports.object({
|
|
19607
19566
|
schemaVersion: external_exports.literal("openpond.localHarnessRefinerDecision.v1"),
|
|
19608
19567
|
decision: external_exports.literal("no_action"),
|