openpond 0.0.56 → 0.0.58
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 +3 -0
- package/dist/chunks/actions-command-BNVIILSL.js +184 -0
- package/dist/chunks/{app-layer-T26MAAGI.js → app-layer-RNQXXM6L.js} +5 -4
- package/dist/chunks/{app-server-runtime-64AV5AXJ.js → app-server-runtime-WYIRC5LV.js} +7 -7
- package/dist/chunks/{apps-7KLTYKHN.js → apps-LV3CSMLT.js} +5 -4
- package/dist/chunks/{chunk-M2OSF2YN.js → chunk-2J3LG4U7.js} +2 -2
- package/dist/chunks/{chunk-3HW6OSHP.js → chunk-63N6442Q.js} +1 -1
- package/dist/chunks/{chunk-6QWTEC2D.js → chunk-7QLVLGDM.js} +1 -1
- package/dist/chunks/{chunk-Q4YKGVNG.js → chunk-AD6KZWHL.js} +519 -131
- package/dist/chunks/{chunk-H44J7BB4.js → chunk-BFR6VZ2A.js} +1 -1
- package/dist/chunks/{chunk-KHNHUA2H.js → chunk-DXSHQ6TO.js} +111 -1
- package/dist/chunks/{chunk-FCVVOMIP.js → chunk-FHP7OMEI.js} +3 -31
- package/dist/chunks/{chunk-MIZHCABO.js → chunk-I23UKEYS.js} +1 -1
- package/dist/chunks/{chunk-EIRW6Z6S.js → chunk-LMQ4MPQI.js} +2 -2
- package/dist/chunks/{chunk-OSLQMUIB.js → chunk-OI65U2B5.js} +1 -1
- package/dist/chunks/{chunk-55KT7K5P.js → chunk-PVGJXCAK.js} +3 -2
- package/dist/chunks/chunk-QETF6ILG.js +15004 -0
- package/dist/chunks/{chunk-CW6FAJEF.js → chunk-QIB27QOT.js} +5 -5
- package/dist/chunks/{chunk-JSRCXDIL.js → chunk-RC3N77IV.js} +52 -32
- package/dist/chunks/chunk-SKUS4NPW.js +633 -0
- package/dist/chunks/{chunk-US7DOPAH.js → chunk-VG4H4TQG.js} +65 -58
- package/dist/chunks/{cli-J7EKEJZV.js → cli-EPVMUYQT.js} +6 -6
- package/dist/chunks/{core-commands-SND555SC.js → core-commands-H2UC3LHG.js} +6 -5
- package/dist/chunks/{desktop-test-WSWXNSFS.js → desktop-test-TV64EY5A.js} +5 -4
- package/dist/chunks/{extension-3IKF6YQE.js → extension-XMWCG6YG.js} +9 -9
- package/dist/chunks/{help-DHGNXUA4.js → help-NEYFMHWQ.js} +1 -1
- package/dist/chunks/{opchat-XYKT5KKO.js → opchat-ZL5JJQ5L.js} +5 -4
- package/dist/chunks/{organizations-HKVC4CSA.js → organizations-4IEC35QB.js} +8 -7
- package/dist/chunks/{profile-PLWXQHKF.js → profile-EVASCDIN.js} +6 -5
- package/dist/chunks/{project-agent-JNSP56KG.js → project-agent-DMN64RZJ.js} +6 -5
- package/dist/chunks/{sandbox-command-Z6LNNSSL.js → sandbox-command-WKGVO32R.js} +6 -5
- package/dist/chunks/{sandbox-template-FVW2UTI4.js → sandbox-template-BJUS4KJM.js} +7 -6
- package/dist/chunks/{src-6UCIW76H.js → src-NJYDLJ2M.js} +727 -521
- package/dist/chunks/{src-2TP42H76.js → src-SR3UHNV4.js} +4 -4
- package/dist/chunks/{teams-bot-FNPT4Q2B.js → teams-bot-HUXYJ6XA.js} +5 -4
- package/dist/chunks/{workspaces-4A2OR2OP.js → workspaces-N2WWI77O.js} +2 -2
- package/dist/cli.js +13 -13
- package/dist/web/assets/{AppDialog-BEKS_Ixr.js → AppDialog-CxLYXiI1.js} +1 -1
- package/dist/web/assets/{AppsView-CbuT2sT2.js → AppsView-CVTUkahv.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-DgqVeW5u.js → BrowserSidebar-oHniLA05.js} +1 -1
- package/dist/web/assets/{CommandMenu-CQcaEB76.js → CommandMenu-Db_5OiKs.js} +1 -1
- package/dist/web/assets/{CommunityView-CYX6iFcg.js → CommunityView-HTwMEO-T.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-DY4SQbL4.js → ComposerCreateImproveStrip-ER26yFe-.js} +1 -1
- package/dist/web/assets/{GetStartedView-DnxeZaBB.js → GetStartedView-l9MUYMYH.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-DYTfYGWv.js → LabModelVersionDetailPage-Dgf-DlJi.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-BpD-kjP_.js → LabSkillSidebar-CyX8sVm1.js} +1 -1
- package/dist/web/assets/{LabsRoute-DVC7eZCs.js → LabsRoute-BC1ST9qT.js} +3 -3
- package/dist/web/assets/{MainChatThread-DTiX_8MC.js → MainChatThread-BfW92Rv1.js} +2 -2
- package/dist/web/assets/{MainPane-CNoHJkXy.js → MainPane-DlciH8yR.js} +3 -3
- package/dist/web/assets/{MarkdownText-_JhfBcQL.js → MarkdownText-CyOeCVjf.js} +1 -1
- package/dist/web/assets/{Messages-Bo0-Uvcz.js → Messages-BDtEbIKv.js} +1 -1
- package/dist/web/assets/{NativeSkillSidebar-CHQ87FW2.js → NativeSkillSidebar-D0BlvEtE.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-B-1KuU5u.js → NewProjectDialog-CiGPfI5s.js} +1 -1
- package/dist/web/assets/{OutputsPage-BSimpEpA.js → OutputsPage-DNU2yD7q.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-B8ZOyuFO.js → RightChatPanelStack-Cs63fQwk.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-Blwy1G8r.js → ScheduledWorkPage-DMKHFbeE.js} +1 -1
- package/dist/web/assets/{SettingsView-CTLTakyn.js → SettingsView-L0g-g2fL.js} +3 -3
- package/dist/web/assets/{TeamChatView-dN3fUCbZ.js → TeamChatView-CSVMTUAE.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-CPVGeO7U.js → TerminalOverlay-Bb0RJR04.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-ettNNJBP.js → TrainingCreationPanel-VIWlpVV2.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-DUJBuII1.js → TrainingDraftPanel-MTYsR-Ry.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-BOZR3JE_.js → UsageSettingsSection-Cdc_jGFX.js} +1 -1
- package/dist/web/assets/{WorkspaceDiffPanel-99MjzMkW.js → WorkspaceDiffPanel-BgIbxMMu.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-C3s3mTyu.js → WorkspaceEnvironmentMenu-C97GqYn9.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-BvurXjNP.js → WorkspaceGitDialogs-CK6ahRty.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-BCXg9mBQ.js → WorkspaceMonacoEditor-BQoN7jWa.js} +3 -3
- package/dist/web/assets/{arrow-up-right-DRIT5z3q.js → arrow-up-right-CzBZuWNj.js} +1 -1
- package/dist/web/assets/{chevron-up-Hglu-Zx3.js → chevron-up-DW-qEVSP.js} +1 -1
- package/dist/web/assets/{circle-alert-Crh3Zr2m.js → circle-alert-B_xROoPY.js} +1 -1
- package/dist/web/assets/{cloud-upload-mSm9KIL4.js → cloud-upload-CjLR-8-r.js} +1 -1
- package/dist/web/assets/{cssMode-CkQ4x6JA.js → cssMode-CQQJhS7v.js} +1 -1
- package/dist/web/assets/{folder-git-2-B8TV5i0V.js → folder-git-2-ktXin28y.js} +1 -1
- package/dist/web/assets/{folder-open-DXaun_C3.js → folder-open-BpUcIJHn.js} +1 -1
- package/dist/web/assets/{folder-plus-CUbTwu82.js → folder-plus-8NHsIAxQ.js} +1 -1
- package/dist/web/assets/{folder-DMeODEQJ.js → folder-tLv6TMN2.js} +1 -1
- package/dist/web/assets/{git-branch-CUlgF0kK.js → git-branch-DO3iP_fL.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-DAQfyhbS.js → git-commit-horizontal-BSWa2I3g.js} +1 -1
- package/dist/web/assets/{htmlMode-BfyAplZo.js → htmlMode-DaAKO9wk.js} +1 -1
- package/dist/web/assets/index-BtiK52K1.js +1 -0
- package/dist/web/assets/index-DHxBMQIJ.js +174 -0
- package/dist/web/assets/{info-Ll3PkeGE.js → info-DiEvrUda.js} +1 -1
- package/dist/web/assets/{jsonMode-C9Vibh0P.js → jsonMode-Biu1ZTZ7.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-CFoA9--Z.js → lspLanguageFeatures-lwoDxGgl.js} +1 -1
- package/dist/web/assets/{monaco.contribution-C2q-tDuk.js → monaco.contribution-BqQSY5-t.js} +2 -2
- package/dist/web/assets/{monaco.contribution-C8tRjUqy.js → monaco.contribution-Ce2MS2Nv.js} +2 -2
- package/dist/web/assets/{monaco.contribution-vWDjhuCI.js → monaco.contribution-DzHhgeLy.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Co4ZPnCC.js → monaco.contribution-Ic8LKME8.js} +2 -2
- package/dist/web/assets/{play-lC5KpmRD.js → play-D9F3t5Cx.js} +1 -1
- package/dist/web/assets/{python-I5xkyvMs.js → python-BhVCwr-K.js} +1 -1
- package/dist/web/assets/{refresh-cw-8a_wz4tX.js → refresh-cw-DRN17xPU.js} +1 -1
- package/dist/web/assets/{save-Dj9ex3Ce.js → save-CDZwpzlG.js} +1 -1
- package/dist/web/assets/{square-DfEM9XgY.js → square-Cf_AXs4a.js} +1 -1
- package/dist/web/assets/{square-pen-CgX3HoJ6.js → square-pen-ChJgNiDm.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-BkNzz1Bg.js → toggleHighContrast-Bb_m9pXM.js} +1 -1
- package/dist/web/assets/{tsMode-CNwaV0ZJ.js → tsMode-BaWkaSHN.js} +1 -1
- package/dist/web/assets/{upload-Co5zYY9Z.js → upload-Cef29aCP.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-QY4_XS2F.js → useLocalAgentSchedules-CAAqoZ0V.js} +1 -1
- package/dist/web/assets/{wifi-off-CFzyn7Tf.js → wifi-off-C8cC22F6.js} +1 -1
- package/dist/web/assets/{workers-DqFxl1zu.js → workers-GOdHtcZt.js} +1 -1
- package/dist/web/assets/{yaml-Bbm66uDK.js → yaml-jBIxwMeR.js} +1 -1
- package/dist/web/index.html +1 -1
- package/docs/command-reference.md +21 -0
- package/package.json +2 -1
- package/dist/web/assets/index-Blindd8c.js +0 -1
- package/dist/web/assets/index-CDJX5ZxL.js +0 -174
|
@@ -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-OI65U2B5.js";
|
|
5
5
|
|
|
6
6
|
// ../server/src/workspace/workspace-command.ts
|
|
7
7
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -171,6 +171,7 @@ function composedSignal(callerSignal, timeoutSignal, timeoutMs) {
|
|
|
171
171
|
// ../../packages/cloud/dist/urls.js
|
|
172
172
|
var DEFAULT_OPENPOND_WEB_BASE_URL = "https://openpond.ai";
|
|
173
173
|
var DEFAULT_OPENPOND_API_BASE_URL = "https://api.openpond.ai";
|
|
174
|
+
var DEFAULT_OPENPOND_OPCHAT_API_BASE_URL = "https://api.openpond.ai/opchat/v1";
|
|
174
175
|
|
|
175
176
|
// ../../packages/cloud/dist/sandbox/url.js
|
|
176
177
|
function normalizeSandboxApiUrl(baseUrlOrApiUrl) {
|
|
@@ -1727,11 +1728,120 @@ function createOpenPondSandboxClient(options) {
|
|
|
1727
1728
|
return new OpenPondSandboxClient(options);
|
|
1728
1729
|
}
|
|
1729
1730
|
|
|
1731
|
+
// ../../packages/cloud/dist/hosted-chat.js
|
|
1732
|
+
import { randomUUID } from "node:crypto";
|
|
1733
|
+
function normalizeApiBaseUrl(value) {
|
|
1734
|
+
const trimmed = normalizeOptionalOpChatApiBaseUrl(value);
|
|
1735
|
+
if (!trimmed)
|
|
1736
|
+
throw new Error("apiBaseUrl is required");
|
|
1737
|
+
return trimmed;
|
|
1738
|
+
}
|
|
1739
|
+
function trimTrailingSlashes(value) {
|
|
1740
|
+
return value.replace(/\/+$/, "");
|
|
1741
|
+
}
|
|
1742
|
+
function normalizeOptionalOpChatApiBaseUrl(value) {
|
|
1743
|
+
let trimmed = trimTrailingSlashes(value?.trim() ?? "");
|
|
1744
|
+
if (!trimmed)
|
|
1745
|
+
return null;
|
|
1746
|
+
trimmed = trimmed.replace(/\/chat\/completions$/i, "").replace(/\/models(?:\/[^/]+)?$/i, "");
|
|
1747
|
+
if (trimmed.endsWith("/opchat/v1"))
|
|
1748
|
+
return trimmed;
|
|
1749
|
+
if (trimmed.endsWith("/opchat"))
|
|
1750
|
+
return `${trimmed}/v1`;
|
|
1751
|
+
if (trimmed.endsWith("/v1")) {
|
|
1752
|
+
trimmed = trimmed.slice(0, -"/v1".length);
|
|
1753
|
+
}
|
|
1754
|
+
return `${trimTrailingSlashes(trimmed)}/opchat/v1`;
|
|
1755
|
+
}
|
|
1756
|
+
function resolveOpChatApiBaseUrl(options = {}) {
|
|
1757
|
+
const runtimeEnv = options.env ?? (typeof process !== "undefined" ? process.env : {});
|
|
1758
|
+
const explicit = normalizeOptionalOpChatApiBaseUrl(options.opChatApiBaseUrl) ?? normalizeOptionalOpChatApiBaseUrl(runtimeEnv.OPENPOND_OPCHAT_API_URL);
|
|
1759
|
+
if (explicit)
|
|
1760
|
+
return explicit;
|
|
1761
|
+
const migrationInput = normalizeOptionalOpChatApiBaseUrl(options.chatApiBaseUrl) ?? normalizeOptionalOpChatApiBaseUrl(runtimeEnv.OPENPOND_CHAT_API_URL) ?? normalizeOptionalOpChatApiBaseUrl(runtimeEnv.OPENPOND_GATEWAY_URL);
|
|
1762
|
+
if (migrationInput)
|
|
1763
|
+
return migrationInput;
|
|
1764
|
+
const apiBase = normalizeOptionalOpChatApiBaseUrl(options.apiBaseUrl) ?? normalizeOptionalOpChatApiBaseUrl(runtimeEnv.OPENPOND_API_URL);
|
|
1765
|
+
return apiBase ?? DEFAULT_OPENPOND_OPCHAT_API_BASE_URL;
|
|
1766
|
+
}
|
|
1767
|
+
function requireToken(value) {
|
|
1768
|
+
const trimmed = value.trim();
|
|
1769
|
+
if (!trimmed)
|
|
1770
|
+
throw new Error("OpenPond API key is required");
|
|
1771
|
+
return trimmed;
|
|
1772
|
+
}
|
|
1773
|
+
function hostedHeaders(requestUrl, token, accept, requestId) {
|
|
1774
|
+
const headers = new Headers();
|
|
1775
|
+
headers.set("Authorization", `Bearer ${requireToken(token)}`);
|
|
1776
|
+
headers.set("Content-Type", "application/json");
|
|
1777
|
+
headers.set("Accept", accept);
|
|
1778
|
+
headers.set("x-openpond-client", "openpond-code");
|
|
1779
|
+
headers.set("x-openpond-request-id", requestId || randomUUID());
|
|
1780
|
+
return withVercelProtectionBypass(requestUrl, headers);
|
|
1781
|
+
}
|
|
1782
|
+
async function readError(response) {
|
|
1783
|
+
const text = await response.text().catch(() => "");
|
|
1784
|
+
if (!text)
|
|
1785
|
+
return response.statusText || `HTTP ${response.status}`;
|
|
1786
|
+
try {
|
|
1787
|
+
const payload = JSON.parse(text);
|
|
1788
|
+
const error = typeof payload.error === "string" ? payload.error : payload.error && typeof payload.error === "object" && !Array.isArray(payload.error) ? payload.error : null;
|
|
1789
|
+
const code = typeof payload.code === "string" ? payload.code : error && typeof error !== "string" && typeof error.code === "string" ? error.code : null;
|
|
1790
|
+
const message = typeof payload.message === "string" ? payload.message : error && typeof error !== "string" && typeof error.message === "string" ? error.message : null;
|
|
1791
|
+
const label = typeof error === "string" ? error : error && typeof error.type === "string" ? error.type : null;
|
|
1792
|
+
return [code, label, message].filter(Boolean).join(": ") || text;
|
|
1793
|
+
} catch {
|
|
1794
|
+
return text;
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
function buildHostedChatBody(options, stream) {
|
|
1798
|
+
const body = {
|
|
1799
|
+
model: options.model,
|
|
1800
|
+
messages: options.messages,
|
|
1801
|
+
stream
|
|
1802
|
+
};
|
|
1803
|
+
if (typeof options.temperature === "number") {
|
|
1804
|
+
body.temperature = options.temperature;
|
|
1805
|
+
}
|
|
1806
|
+
if (typeof options.maxTokens === "number") {
|
|
1807
|
+
body.max_tokens = options.maxTokens;
|
|
1808
|
+
}
|
|
1809
|
+
if (options.tools) {
|
|
1810
|
+
body.tools = options.tools;
|
|
1811
|
+
}
|
|
1812
|
+
const toolChoice = options.toolChoice ?? options.tool_choice;
|
|
1813
|
+
if (toolChoice !== void 0) {
|
|
1814
|
+
body.tool_choice = toolChoice;
|
|
1815
|
+
}
|
|
1816
|
+
if (options.metadata) {
|
|
1817
|
+
body.metadata = options.metadata;
|
|
1818
|
+
}
|
|
1819
|
+
return body;
|
|
1820
|
+
}
|
|
1821
|
+
async function sendHostedChatTurn(options) {
|
|
1822
|
+
const apiBaseUrl = normalizeApiBaseUrl(options.apiBaseUrl);
|
|
1823
|
+
const requestUrl = `${apiBaseUrl}/chat/completions`;
|
|
1824
|
+
const response = await fetch(requestUrl, {
|
|
1825
|
+
method: "POST",
|
|
1826
|
+
headers: hostedHeaders(requestUrl, options.token, "application/json", options.requestId),
|
|
1827
|
+
body: JSON.stringify(buildHostedChatBody(options, false)),
|
|
1828
|
+
signal: options.signal
|
|
1829
|
+
});
|
|
1830
|
+
if (!response.ok) {
|
|
1831
|
+
throw new Error(`Hosted chat failed: ${response.status} ${await readError(response)}`);
|
|
1832
|
+
}
|
|
1833
|
+
return await response.json();
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1730
1836
|
export {
|
|
1731
1837
|
withVercelProtectionBypass,
|
|
1838
|
+
OpenPondApiError,
|
|
1732
1839
|
apiFetch,
|
|
1840
|
+
readApiJson,
|
|
1733
1841
|
DEFAULT_OPENPOND_WEB_BASE_URL,
|
|
1734
1842
|
DEFAULT_OPENPOND_API_BASE_URL,
|
|
1735
1843
|
normalizeSandboxApiUrl,
|
|
1736
|
-
createOpenPondSandboxClient
|
|
1844
|
+
createOpenPondSandboxClient,
|
|
1845
|
+
resolveOpChatApiBaseUrl,
|
|
1846
|
+
sendHostedChatTurn
|
|
1737
1847
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
createOpenPondSandboxClient
|
|
4
|
-
} from "./chunk-KHNHUA2H.js";
|
|
5
2
|
import {
|
|
6
3
|
mapUiBaseToApiBase,
|
|
7
4
|
resolveBaseUrl,
|
|
8
5
|
resolveSandboxApiUrlOption
|
|
9
6
|
} from "./chunk-SMNFI2FU.js";
|
|
7
|
+
import {
|
|
8
|
+
createOpenPondSandboxClient
|
|
9
|
+
} from "./chunk-DXSHQ6TO.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_CACHE_TTL_MS,
|
|
12
12
|
SANDBOX_RUNTIME_PROFILE_IDS,
|
|
@@ -291,34 +291,6 @@ async function promptForPath(defaultPath) {
|
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
// ../../packages/sdk/src/work.ts
|
|
295
|
-
var MAX_WORK_INPUT_BYTES = 100 * 1024 * 1024;
|
|
296
|
-
var WORK_OUTPUT_MIME_TYPES = Object.freeze({
|
|
297
|
-
".avif": "image/avif",
|
|
298
|
-
".csv": "text/csv",
|
|
299
|
-
".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
300
|
-
".gif": "image/gif",
|
|
301
|
-
".html": "text/html",
|
|
302
|
-
".jpeg": "image/jpeg",
|
|
303
|
-
".jpg": "image/jpeg",
|
|
304
|
-
".json": "application/json",
|
|
305
|
-
".m4a": "audio/mp4",
|
|
306
|
-
".md": "text/markdown",
|
|
307
|
-
".mov": "video/quicktime",
|
|
308
|
-
".mp3": "audio/mpeg",
|
|
309
|
-
".mp4": "video/mp4",
|
|
310
|
-
".pdf": "application/pdf",
|
|
311
|
-
".png": "image/png",
|
|
312
|
-
".pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
313
|
-
".svg": "image/svg+xml",
|
|
314
|
-
".tsv": "text/tab-separated-values",
|
|
315
|
-
".txt": "text/plain",
|
|
316
|
-
".wav": "audio/wav",
|
|
317
|
-
".webm": "video/webm",
|
|
318
|
-
".webp": "image/webp",
|
|
319
|
-
".xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
320
|
-
});
|
|
321
|
-
|
|
322
294
|
// src/cli/common/vercel-protection.ts
|
|
323
295
|
import { spawnSync } from "node:child_process";
|
|
324
296
|
import path from "node:path";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
saveConfig,
|
|
13
13
|
saveProfileApiKey,
|
|
14
14
|
setActiveProfile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PVGJXCAK.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_OPENPOND_API_BASE_URL,
|
|
18
18
|
DEFAULT_OPENPOND_WEB_BASE_URL,
|
|
19
19
|
withVercelProtectionBypass
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-DXSHQ6TO.js";
|
|
21
21
|
|
|
22
22
|
// ../../packages/runtime/dist/chat.js
|
|
23
23
|
import { randomUUID } from "node:crypto";
|
|
@@ -3,7 +3,7 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
|
|
|
3
3
|
// ../server/src/constants.ts
|
|
4
4
|
var DEFAULT_HOST = "127.0.0.1";
|
|
5
5
|
var DEFAULT_PORT = 17874;
|
|
6
|
-
var VERSION = "0.0.
|
|
6
|
+
var VERSION = "0.0.58";
|
|
7
7
|
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.";
|
|
8
8
|
var APP_PREFERENCES_CACHE_TYPE = "app_preferences";
|
|
9
9
|
var APP_PREFERENCES_CACHE_KEY = "global";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
ToolDeclarationSchema,
|
|
15
15
|
createHarnessAdvanceReceipt,
|
|
16
16
|
validateConnectedAppToolCallRequest
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VG4H4TQG.js";
|
|
18
18
|
import {
|
|
19
19
|
external_exports,
|
|
20
20
|
yaml
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
DEFAULT_OPENPOND_API_BASE_URL,
|
|
24
24
|
DEFAULT_OPENPOND_WEB_BASE_URL,
|
|
25
25
|
apiFetch
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DXSHQ6TO.js";
|
|
27
27
|
|
|
28
28
|
// ../../packages/cloud/dist/profile/profile-skills.js
|
|
29
29
|
import { createHash } from "node:crypto";
|
|
@@ -12838,6 +12838,7 @@ export {
|
|
|
12838
12838
|
TurnSchema,
|
|
12839
12839
|
ApprovalSchema,
|
|
12840
12840
|
createPlaceholderPanes,
|
|
12841
|
+
OpenPondActionCatalogEntrySchema,
|
|
12841
12842
|
SHIPPED_OPENPOND_SKILL_NAMES,
|
|
12842
12843
|
BUILT_IN_OPENPOND_PROFILE_SKILLS,
|
|
12843
12844
|
OpenPondExtensionSourceRequestSchema,
|