openpond 0.0.30 → 0.0.32
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/{app-layer-FIGCNZJX.js → app-layer-CUQQUVJS.js} +20 -3
- package/dist/chunks/{apps-4RMNCKXS.js → apps-TAYMUCWX.js} +3 -3
- package/dist/chunks/{chunk-57P2GCW5.js → chunk-3UOLQG6N.js} +1 -1
- package/dist/chunks/{chunk-MFS3SYUH.js → chunk-3ZJIEA5F.js} +1 -1
- package/dist/chunks/{chunk-4S3XGFGL.js → chunk-4HQURM3N.js} +1 -1
- package/dist/chunks/{chunk-BNVHGSI7.js → chunk-4M4WAORL.js} +874 -798
- package/dist/chunks/{chunk-DANRS43D.js → chunk-5RHZKQRK.js} +14 -76
- package/dist/chunks/{chunk-BNPFMGZD.js → chunk-D264OHTR.js} +4 -5
- package/dist/chunks/{chunk-BBEVMP6O.js → chunk-DCNAXREU.js} +179 -160
- package/dist/chunks/chunk-E5RVRUJB.js +1222 -0
- package/dist/chunks/{chunk-RJXX6TJA.js → chunk-EONKWOLU.js} +2 -2
- package/dist/chunks/{chunk-VQX33YAG.js → chunk-FQW3AQVJ.js} +689 -121
- package/dist/chunks/{chunk-GGKA4HLQ.js → chunk-GYZYZGKS.js} +238 -69
- package/dist/chunks/{chunk-KMSMK7PI.js → chunk-OXQG773T.js} +33 -33
- package/dist/chunks/{chunk-BX4XSB2J.js → chunk-PJXJ2HRT.js} +1816 -1113
- package/dist/chunks/chunk-Q5MZCRJA.js +70 -0
- package/dist/chunks/{chunk-OV3KAFWB.js → chunk-W2DJR3FA.js} +1 -1
- package/dist/chunks/{chunk-KEDXE4BA.js → chunk-XADW35CL.js} +3 -3
- package/dist/chunks/{chunk-IUTUUNAX.js → chunk-Y4F4XD5V.js} +1 -1
- package/dist/chunks/{cli-2L4NB7HD.js → cli-WW5BVN5Z.js} +4 -3
- package/dist/chunks/{cli-5RL7B2Z3.js → cli-ZOCP7X5M.js} +6 -6
- package/dist/chunks/{core-commands-AZJZGTZS.js → core-commands-SYGK7K57.js} +4 -4
- package/dist/chunks/{extend-6IWYZI37.js → extend-Q5HZ7TMA.js} +11 -11
- package/dist/chunks/fileFromPath-DHCRY3BD.js +2151 -0
- package/dist/chunks/{harness-SSNXDSKM.js → harness-ZPBPQVAS.js} +3 -3
- package/dist/chunks/{help-MUJJMI3Q.js → help-3V3TRQNX.js} +1 -1
- package/dist/chunks/{opchat-RW4CFAQB.js → opchat-OUPMEFE5.js} +5 -5
- package/dist/chunks/{organizations-V7DTNLSI.js → organizations-5CSLBDAW.js} +4 -4
- package/dist/chunks/{profile-WDBKJ7YW.js → profile-OQYSXHOG.js} +206 -166
- package/dist/chunks/{project-agent-3TZ3BPYN.js → project-agent-TBTWOUJF.js} +6 -7
- package/dist/chunks/{sandbox-command-HOYHF4NC.js → sandbox-command-HCHPY7KW.js} +4 -4
- package/dist/chunks/{sandbox-template-IYGB4CZU.js → sandbox-template-PNTOZ6W3.js} +5 -6
- package/dist/chunks/{src-CBPRIWG5.js → src-C6MXLDYQ.js} +22 -6
- package/dist/chunks/{src-ZRQKSQTD.js → src-GZT4UX6I.js} +80887 -52945
- package/dist/chunks/{teams-bot-UWGCFL6C.js → teams-bot-CQ76XI6T.js} +3 -3
- package/dist/chunks/workspaces-DHVVOTVR.js +93 -0
- package/dist/cli.js +10 -10
- package/dist/config.d.ts +0 -2
- package/dist/index.js +273 -69
- package/dist/profile/local-profile-types.d.ts +8 -2
- package/dist/profile/local-profile.d.ts +3 -1
- package/dist/sandbox/types/org-project-agent.d.ts +1 -2
- package/dist/web/assets/{AppsView-Bu-Nc3Ew.js → AppsView-CF2g-7FH.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-CCguQ-DR.js → BrowserSidebar-lUsLUl20.js} +1 -1
- package/dist/web/assets/CloudWorkView-BnfGW4OV.js +1 -0
- package/dist/web/assets/{CommandMenu-CnodJFHD.js → CommandMenu-BsS4Bgb6.js} +1 -1
- package/dist/web/assets/{CommunityView-CIbjNUZr.js → CommunityView-C8qVOwlp.js} +1 -1
- package/dist/web/assets/ComposerCreateImproveStrip-C_LIpfSq.js +1 -0
- package/dist/web/assets/GetStartedView-Du533wOh.js +1 -0
- package/dist/web/assets/LabsRoute-CgKtVYTP.css +1 -0
- package/dist/web/assets/LabsRoute-yk8lNMQc.js +3 -0
- package/dist/web/assets/{NewProjectDialog-CaKiCoVS.js → NewProjectDialog-DH7wA1z9.js} +1 -1
- package/dist/web/assets/ProfileSettingsSection-CqnfjiCl.css +1 -0
- package/dist/web/assets/ProfileSettingsSection-D7JvMZdW.js +1 -0
- package/dist/web/assets/SettingsView-C9TgCaWG.js +63 -0
- package/dist/web/assets/TeamChatView-D_CE7br9.js +3 -0
- package/dist/web/assets/{TerminalOverlay-C1iP4OS1.js → TerminalOverlay-CC-VDSlp.js} +1 -1
- package/dist/web/assets/TrainingCreationPanel-NFCoaBUI.js +1 -0
- package/dist/web/assets/TrainingDraftPanel-BWEmVFjM.js +1 -0
- package/dist/web/assets/WorkspaceDiffPanel-SlLlGZM1.js +14 -0
- package/dist/web/assets/{WorkspaceEnvironmentMenu-B8JJbwIz.js → WorkspaceEnvironmentMenu-BAoMBTVD.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-B4sp9BGn.js → WorkspaceGitDialogs-CVIFrzyl.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-BBqimG5X.js → WorkspaceMonacoEditor-0trp0-TI.js} +3 -3
- package/dist/web/assets/{boxes-DAaDUabq.js → boxes-CFihgX2z.js} +1 -1
- package/dist/web/assets/create-pipeline-request-AJWLMTyw.js +4 -0
- package/dist/web/assets/{cssMode-CBF1mieJ.js → cssMode-HvqfCFyP.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-CAickXpN.js → git-commit-horizontal-C5mUmACv.js} +1 -1
- package/dist/web/assets/{htmlMode-2u8OHtWO.js → htmlMode-C8btgUt-.js} +1 -1
- package/dist/web/assets/index-8H-GDlM5.css +1 -0
- package/dist/web/assets/index-D7Vr3zcV.js +192 -0
- package/dist/web/assets/index-DUqAiF57.js +1 -0
- package/dist/web/assets/{info-CQNTh78o.js → info-D0xuy5IB.js} +1 -1
- package/dist/web/assets/{jsonMode-C4CWXViX.js → jsonMode-5zVz9G0X.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-CBs_BOlB.js → lspLanguageFeatures-DxlSSL7c.js} +1 -1
- package/dist/web/assets/{monaco.contribution-lOXpG2xQ.js → monaco.contribution-B1pWWwqT.js} +2 -2
- package/dist/web/assets/{monaco.contribution-sd3cFkcN.js → monaco.contribution-BKpVvKK9.js} +2 -2
- package/dist/web/assets/{monaco.contribution-C1LUxAKf.js → monaco.contribution-BXdXsSWI.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Cpf6dWsh.js → monaco.contribution-CIjjzpUR.js} +2 -2
- package/dist/web/assets/{monitor-DsIswrMV.js → monitor-B4-9Shtp.js} +1 -1
- package/dist/web/assets/{play-CeRw21NV.js → play-BJdhBqQE.js} +1 -1
- package/dist/web/assets/{python-CXYq3BUl.js → python-CEK8J4w_.js} +1 -1
- package/dist/web/assets/{refresh-cw-N5b_6AP5.js → refresh-cw-DE0u_nmZ.js} +1 -1
- package/dist/web/assets/{reply-BSKjZrJg.js → reply-2MfLJ93n.js} +1 -1
- package/dist/web/assets/{save-D0oHH1a3.js → save-CBIVKaf8.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-DRjlcwes.js → toggleHighContrast-CC73mtvA.js} +1 -1
- package/dist/web/assets/training-BY8siNUK.css +1 -0
- package/dist/web/assets/training-model-data-BXUCzS0p.js +1 -0
- package/dist/web/assets/{tsMode-x-1A7ZcB.js → tsMode-Bhn9wr_1.js} +1 -1
- package/dist/web/assets/{wifi-off-Dt52ofzh.js → wifi-off-BKTqnqj0.js} +1 -1
- package/dist/web/assets/{workers-Ciff6Dzi.js → workers-C_adgrEg.js} +1 -1
- package/dist/web/assets/{yaml-CB67Kxnz.js → yaml-DDRAcADU.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunks/chunk-OG75GMVO.js +0 -1
- package/dist/web/assets/CloudWorkView-Dr3xqLE5.js +0 -1
- package/dist/web/assets/GetStartedView-C8nyH_PT.js +0 -1
- package/dist/web/assets/LabsExtensions-GtJzxDnK.js +0 -1
- package/dist/web/assets/LabsProfile-DG7rWYur.js +0 -1
- package/dist/web/assets/LabsRoute-D6MDHBzq.js +0 -2
- package/dist/web/assets/LabsRoute-TEt9j1vB.css +0 -1
- package/dist/web/assets/LabsSignals-BfsDN86w.js +0 -1
- package/dist/web/assets/LabsSignals-D6iA6Ryl.css +0 -1
- package/dist/web/assets/ProfileSettingsSection-DTQS2DVL.css +0 -1
- package/dist/web/assets/ProfileSettingsSection-DxEzoF3K.js +0 -1
- package/dist/web/assets/ProfileView-CEscW7Ru.js +0 -1
- package/dist/web/assets/SettingsView-JIRR_FO4.js +0 -63
- package/dist/web/assets/TeamChatView-B5M1ThhJ.js +0 -3
- package/dist/web/assets/TrainingSettingsSection-BDYvI2te.js +0 -1
- package/dist/web/assets/TrainingView-CoCFK6W3.js +0 -5
- package/dist/web/assets/WorkspaceDiffPanel-CMxKQeo7.js +0 -14
- package/dist/web/assets/index-BdY6A-YN.css +0 -1
- package/dist/web/assets/index-CU2qhUYV.js +0 -195
- package/dist/web/assets/index-Dz2B3-4C.js +0 -1
- package/dist/web/assets/settings-lists-BEg6LMcy.css +0 -1
- package/dist/web/assets/training-model-data-BPrc68VG.js +0 -1
|
@@ -1,70 +1,19 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DEFAULT_HOST,
|
|
4
|
+
DEFAULT_PORT,
|
|
5
|
+
parseListen
|
|
6
|
+
} from "./chunk-Q5MZCRJA.js";
|
|
2
7
|
import {
|
|
3
8
|
getBundledRuntimeVersion,
|
|
4
9
|
openUrlWithSystemBrowser
|
|
5
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Y4F4XD5V.js";
|
|
6
11
|
|
|
7
12
|
// ../server/src/cli.ts
|
|
8
13
|
import { existsSync } from "node:fs";
|
|
9
|
-
import path2 from "node:path";
|
|
10
|
-
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
11
|
-
|
|
12
|
-
// ../server/src/constants.ts
|
|
13
|
-
var DEFAULT_HOST = "127.0.0.1";
|
|
14
|
-
var DEFAULT_PORT = 17874;
|
|
15
|
-
var VERSION = "0.0.30";
|
|
16
|
-
var HOSTED_CHAT_SYSTEM_PROMPT = "You are OpenPond Chat. Respond in the user's language. If the user's latest message is language-neutral, ambiguous, or only a short test, respond in English. Be concise and directly answer the latest request. Do not use emojis. Use Markdown when it improves scanability. If you emit reasoning or thinking content, keep it sparse and user-readable: at most one short sentence for major progress, decisions, or blockers. Omit reasoning for routine searches, reads, tool calls, and obvious next steps. Do not restate the user request, narrate every action, or include code blocks, code excerpts, diffs, raw tool payloads, or markdown examples in reasoning. Put necessary code or exact snippets only in the final assistant answer. When the user asks to show or preview an image that is available as a workspace path or signed image URL, use Markdown image syntax like  instead of a bare path or raw HTML. For workspace-backed answers, use a Codex-style shape: brief outcome first, then Changed Files if files changed, then Verification if checks ran. End with a concise final answer that summarizes the result and verification when relevant. Do not mention raw tool JSON, internal repo paths, or origin/remote URLs unless the user explicitly asks for them or they are necessary to explain a git/deploy failure.";
|
|
17
|
-
var APP_PREFERENCES_CACHE_TYPE = "app_preferences";
|
|
18
|
-
var APP_PREFERENCES_CACHE_KEY = "global";
|
|
19
|
-
|
|
20
|
-
// ../server/src/utils.ts
|
|
21
|
-
import { randomUUID } from "node:crypto";
|
|
22
14
|
import path from "node:path";
|
|
23
15
|
import { fileURLToPath } from "node:url";
|
|
24
|
-
|
|
25
|
-
return (/* @__PURE__ */ new Date()).toISOString();
|
|
26
|
-
}
|
|
27
|
-
function textFromUnknown(value) {
|
|
28
|
-
if (typeof value === "string") return value;
|
|
29
|
-
if (value instanceof Error) return value.message || value.name;
|
|
30
|
-
if (value === null || value === void 0) return "";
|
|
31
|
-
try {
|
|
32
|
-
return JSON.stringify(value);
|
|
33
|
-
} catch {
|
|
34
|
-
return String(value);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
function extractDelta(params) {
|
|
38
|
-
if (!params || typeof params !== "object") return "";
|
|
39
|
-
const record = params;
|
|
40
|
-
for (const key of ["delta", "text", "output", "chunk", "message"]) {
|
|
41
|
-
if (typeof record[key] === "string") return record[key];
|
|
42
|
-
}
|
|
43
|
-
if (record.delta && typeof record.delta === "object") return textFromUnknown(record.delta);
|
|
44
|
-
return "";
|
|
45
|
-
}
|
|
46
|
-
function event(input) {
|
|
47
|
-
return {
|
|
48
|
-
id: randomUUID(),
|
|
49
|
-
timestamp: now(),
|
|
50
|
-
...input
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
function parseListen(input) {
|
|
54
|
-
const value = input.replace(/^https?:\/\//, "");
|
|
55
|
-
const [host, port] = value.split(":");
|
|
56
|
-
return {
|
|
57
|
-
host: host || DEFAULT_HOST,
|
|
58
|
-
port: port ? Number.parseInt(port, 10) : DEFAULT_PORT
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function isCliEntrypoint(metaUrl) {
|
|
62
|
-
const entry = process.argv[1] ? path.resolve(process.argv[1]) : "";
|
|
63
|
-
return entry === path.resolve(fileURLToPath(metaUrl));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// ../server/src/cli.ts
|
|
67
|
-
var __dirname = path2.dirname(fileURLToPath2(import.meta.url));
|
|
16
|
+
var __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
68
17
|
function requireValue(args, index, flag) {
|
|
69
18
|
const value = args[index + 1];
|
|
70
19
|
if (!value || value.startsWith("--")) throw new Error(`${flag} requires a value.`);
|
|
@@ -109,7 +58,7 @@ function parseCliArgs(args) {
|
|
|
109
58
|
port = parsePort(requireValue(args, i, arg), arg);
|
|
110
59
|
i += 1;
|
|
111
60
|
} else if (arg === "--web-root") {
|
|
112
|
-
webRoot =
|
|
61
|
+
webRoot = path.resolve(requireValue(args, i, arg));
|
|
113
62
|
i += 1;
|
|
114
63
|
} else if (arg === "--open-browser") {
|
|
115
64
|
openBrowser = true;
|
|
@@ -130,17 +79,17 @@ function parseCliArgs(args) {
|
|
|
130
79
|
function defaultWebRootCandidates() {
|
|
131
80
|
return [
|
|
132
81
|
process.env.OPENPOND_WEB_ROOT,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
82
|
+
path.resolve(process.cwd(), "apps/web/dist"),
|
|
83
|
+
path.resolve(__dirname, "../../web/dist"),
|
|
84
|
+
path.resolve(process.cwd(), "web"),
|
|
85
|
+
path.resolve(__dirname, "../web")
|
|
137
86
|
].filter((candidate) => Boolean(candidate));
|
|
138
87
|
}
|
|
139
88
|
function resolveWebRoot(explicitWebRoot) {
|
|
140
89
|
const candidates = explicitWebRoot ? [explicitWebRoot] : defaultWebRootCandidates();
|
|
141
90
|
for (const candidate of candidates) {
|
|
142
|
-
const resolved =
|
|
143
|
-
if (existsSync(
|
|
91
|
+
const resolved = path.resolve(candidate);
|
|
92
|
+
if (existsSync(path.join(resolved, "index.html"))) return resolved;
|
|
144
93
|
}
|
|
145
94
|
return null;
|
|
146
95
|
}
|
|
@@ -239,17 +188,6 @@ async function runOpenPondServerCli(createOpenPondServer) {
|
|
|
239
188
|
}
|
|
240
189
|
|
|
241
190
|
export {
|
|
242
|
-
DEFAULT_HOST,
|
|
243
|
-
DEFAULT_PORT,
|
|
244
|
-
VERSION,
|
|
245
|
-
HOSTED_CHAT_SYSTEM_PROMPT,
|
|
246
|
-
APP_PREFERENCES_CACHE_TYPE,
|
|
247
|
-
APP_PREFERENCES_CACHE_KEY,
|
|
248
|
-
now,
|
|
249
|
-
textFromUnknown,
|
|
250
|
-
extractDelta,
|
|
251
|
-
event,
|
|
252
|
-
isCliEntrypoint,
|
|
253
191
|
resolveWebLaunchMessages,
|
|
254
192
|
runOpenPondServerCli
|
|
255
193
|
};
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
mapUiBaseToApiBase,
|
|
6
6
|
resolveBaseUrl,
|
|
7
7
|
resolveSandboxApiUrlOption
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3ZJIEA5F.js";
|
|
9
9
|
import {
|
|
10
10
|
parseBooleanOption
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OXQG773T.js";
|
|
12
12
|
|
|
13
13
|
// ../../packages/cloud/src/api/core.ts
|
|
14
14
|
var DEFAULT_API_TIMEOUT_MS = 3e4;
|
|
@@ -859,8 +859,6 @@ function sanitizeLocalOpenPondProfile(value) {
|
|
|
859
859
|
...typeof push.sourceRef === "string" || push.sourceRef === null ? { sourceRef: push.sourceRef } : {},
|
|
860
860
|
...push.promotionStatus === "uploaded" || push.promotionStatus === "hosted_source_materialized" || push.promotionStatus === "hosted_source_materialize_failed" || push.promotionStatus === "hosted_source_check_pending" || push.promotionStatus === "hosted_source_check_failed" || push.promotionStatus === "hosted_source_published" || push.promotionStatus === "hosted_source_publish_failed" || push.promotionStatus === "hosted_run_pending" || push.promotionStatus === "hosted_run_passed" || push.promotionStatus === "hosted_run_failed" || push.promotionStatus === null ? { promotionStatus: push.promotionStatus } : {},
|
|
861
861
|
...push.hostedRunStatus === "not_started" || push.hostedRunStatus === "running" || push.hostedRunStatus === "passed" || push.hostedRunStatus === "failed" || push.hostedRunStatus === null ? { hostedRunStatus: push.hostedRunStatus } : {},
|
|
862
|
-
...typeof push.localGoalId === "string" || push.localGoalId === null ? { localGoalId: push.localGoalId } : {},
|
|
863
|
-
...typeof push.hostedGoalId === "string" || push.hostedGoalId === null ? { hostedGoalId: push.hostedGoalId } : {},
|
|
864
862
|
...typeof push.hostedRunAgentId === "string" || push.hostedRunAgentId === null ? { hostedRunAgentId: push.hostedRunAgentId } : {},
|
|
865
863
|
...typeof push.hostedRunId === "string" || push.hostedRunId === null ? { hostedRunId: push.hostedRunId } : {},
|
|
866
864
|
...typeof push.hostedRunAt === "string" || push.hostedRunAt === null ? { hostedRunAt: push.hostedRunAt } : {},
|
|
@@ -3936,7 +3934,7 @@ function summarizeSandboxSecret(secret) {
|
|
|
3936
3934
|
};
|
|
3937
3935
|
}
|
|
3938
3936
|
|
|
3939
|
-
// src/process-runner.ts
|
|
3937
|
+
// ../../packages/cloud/src/process-runner.ts
|
|
3940
3938
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
3941
3939
|
import { spawn } from "node:child_process";
|
|
3942
3940
|
var DEFAULT_PROCESS_TIMEOUT_MS = 10 * 60 * 1e3;
|
|
@@ -4130,6 +4128,7 @@ export {
|
|
|
4130
4128
|
submitBacktestTx,
|
|
4131
4129
|
submitBacktestDetail,
|
|
4132
4130
|
executeHostedTool,
|
|
4131
|
+
openPondConfigDirectory,
|
|
4133
4132
|
writePrivateJsonFile,
|
|
4134
4133
|
loadGlobalConfig,
|
|
4135
4134
|
loadConfig,
|