openpond 0.0.60 → 0.0.62
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-BNVIILSL.js → actions-command-DZ6D7JTO.js} +2 -2
- package/dist/chunks/{app-layer-RNQXXM6L.js → app-layer-MSLVVYLM.js} +5 -5
- package/dist/chunks/{app-server-runtime-7LGK37P6.js → app-server-runtime-BRG7A5VD.js} +8 -8
- package/dist/chunks/{apps-LV3CSMLT.js → apps-6PAXKTB5.js} +5 -5
- package/dist/chunks/{chunk-XFZYNYRI.js → chunk-4NHAH3MT.js} +5979 -3817
- package/dist/chunks/{chunk-7QLVLGDM.js → chunk-64LYEFLR.js} +1 -1
- package/dist/chunks/{chunk-AHILPQXV.js → chunk-6JT34APP.js} +3 -3
- package/dist/chunks/{chunk-LMQ4MPQI.js → chunk-BFAL2CV3.js} +51 -57
- package/dist/chunks/{chunk-TOCZQEPW.js → chunk-FYB6ELFM.js} +1 -1
- package/dist/chunks/{chunk-RC3N77IV.js → chunk-GMX47RLP.js} +35 -33
- package/dist/chunks/{chunk-VG4H4TQG.js → chunk-IY2AW5F3.js} +1768 -57
- package/dist/chunks/{chunk-FHP7OMEI.js → chunk-J2REM7LE.js} +1 -1
- package/dist/chunks/{chunk-DXSHQ6TO.js → chunk-JGOP4GCK.js} +16 -5
- package/dist/chunks/{chunk-SKUS4NPW.js → chunk-K4JEWEJQ.js} +154 -5
- package/dist/chunks/{chunk-2J3LG4U7.js → chunk-KMBJLBQH.js} +2 -2
- package/dist/chunks/{chunk-LDRWEAOB.js → chunk-MBF44RYK.js} +1 -1
- package/dist/chunks/{chunk-NFNEENNR.js → chunk-OYWTQABY.js} +1 -1
- package/dist/chunks/{chunk-I23UKEYS.js → chunk-PLDCQVNW.js} +115 -18
- package/dist/chunks/{chunk-PVGJXCAK.js → chunk-T4FMK5GN.js} +54 -52
- package/dist/chunks/{chunk-63N6442Q.js → chunk-T55IL3GI.js} +1 -1
- package/dist/chunks/{cli-DBZ7S6ZF.js → cli-L25X2EZL.js} +7 -7
- package/dist/chunks/{core-commands-H2UC3LHG.js → core-commands-STKFZZVR.js} +6 -6
- package/dist/chunks/{desktop-test-TV64EY5A.js → desktop-test-ACKJN4UV.js} +5 -5
- package/dist/chunks/{extension-XMWCG6YG.js → extension-MVWXKSAD.js} +16 -51
- package/dist/chunks/{help-NEYFMHWQ.js → help-4MQ4EOIS.js} +1 -1
- package/dist/chunks/{opchat-ZL5JJQ5L.js → opchat-DUIZT4G6.js} +5 -5
- package/dist/chunks/{organizations-4IEC35QB.js → organizations-ATM4CZII.js} +7 -7
- package/dist/chunks/{profile-EVASCDIN.js → profile-5H3GF252.js} +12 -7
- package/dist/chunks/{project-agent-DMN64RZJ.js → project-agent-RSKSO5GT.js} +27 -7
- package/dist/chunks/{sandbox-command-WKGVO32R.js → sandbox-command-MTYSZR6P.js} +6 -6
- package/dist/chunks/{sandbox-template-BJUS4KJM.js → sandbox-template-RZ5AJ4KB.js} +7 -7
- package/dist/chunks/{src-KLQEJ6RO.js → src-PW337SIJ.js} +4 -4
- package/dist/chunks/{src-E2UCLY54.js → src-WKH7EP7W.js} +1273 -422
- package/dist/chunks/{teams-bot-HUXYJ6XA.js → teams-bot-FF3LDAYL.js} +5 -5
- package/dist/chunks/{workspaces-4OKABHI3.js → workspaces-QKADU2A6.js} +2 -2
- package/dist/cli.js +13 -13
- package/dist/index.js +16 -5
- package/dist/sandbox/client-handles.d.ts +2 -1
- package/dist/sandbox/client.d.ts +3 -1
- package/dist/sandbox/sandbox-instance-client.d.ts +2 -1
- package/dist/sandbox/types/org-project-agent.d.ts +23 -1
- package/dist/web/assets/{AppDialog-CxLYXiI1.js → AppDialog-1RkKL2v6.js} +1 -1
- package/dist/web/assets/{AppsView-CVTUkahv.js → AppsView-B6hDEt-h.js} +1 -1
- package/dist/web/assets/BrowserSidebar-CkAMOgiq.js +1 -0
- package/dist/web/assets/CommandMenu-9oAkS4X3.js +1 -0
- package/dist/web/assets/CommunityView-Dyuq5N28.js +1 -0
- package/dist/web/assets/ComposerCreateImproveStrip-D91cw5AT.js +1 -0
- package/dist/web/assets/{GetStartedView-l9MUYMYH.js → GetStartedView-BZpcZgjB.js} +1 -1
- package/dist/web/assets/LabModelVersionDetailPage-C0jNkciw.js +1 -0
- package/dist/web/assets/LabSkillSidebar-JGCPqTB1.js +1 -0
- package/dist/web/assets/LabsRoute-Dpv5Haqy.js +3 -0
- package/dist/web/assets/MainChatThread-B4_iIn3g.js +2 -0
- package/dist/web/assets/MainPane-o4HIxmNz.js +6 -0
- package/dist/web/assets/MarkdownText-DgS9KdyT.js +9 -0
- package/dist/web/assets/Messages-DjMa9H1T.js +10 -0
- package/dist/web/assets/NativeSkillSidebar-Q3fwLOiO.js +1 -0
- package/dist/web/assets/{NewProjectDialog-CiGPfI5s.js → NewProjectDialog-CUb0umRT.js} +1 -1
- package/dist/web/assets/OutputsPage-DD_1STRQ.js +1 -0
- package/dist/web/assets/RightChatPanelStack-2dFyjK7Z.js +1 -0
- package/dist/web/assets/ScheduledWorkPage-DPjweWpP.js +1 -0
- package/dist/web/assets/SettingsView-BS5m5vdt.css +1 -0
- package/dist/web/assets/SettingsView-DJGgGPL0.js +6 -0
- package/dist/web/assets/TeamChatView-CZmbzRk7.js +3 -0
- package/dist/web/assets/{TerminalOverlay-Bb0RJR04.js → TerminalOverlay-CpjrArXn.js} +1 -1
- package/dist/web/assets/TrainingCreationPanel-Tbj3qk8-.js +1 -0
- package/dist/web/assets/TrainingDraftPanel-BhggD-hn.js +1 -0
- package/dist/web/assets/{UsageSettingsSection-Cdc_jGFX.js → UsageSettingsSection-CXM6LKim.js} +1 -1
- package/dist/web/assets/WorkspaceDiffPanel-CoMkI8dY.js +14 -0
- package/dist/web/assets/WorkspaceEnvironmentMenu-CZyjk82C.js +32 -0
- package/dist/web/assets/{WorkspaceGitDialogs-CK6ahRty.js → WorkspaceGitDialogs-DTj3DOsf.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-BQoN7jWa.js → WorkspaceMonacoEditor-DaNMLEnU.js} +3 -3
- package/dist/web/assets/{arrow-up-right-CzBZuWNj.js → arrow-up-right-wvL_rSwe.js} +1 -1
- package/dist/web/assets/{chevron-up-DW-qEVSP.js → chevron-up-BbyiUcq_.js} +1 -1
- package/dist/web/assets/{cloud-upload-CjLR-8-r.js → cloud-upload-Bgv1fA6E.js} +1 -1
- package/dist/web/assets/{cssMode-CQQJhS7v.js → cssMode-BG9jdNNX.js} +1 -1
- package/dist/web/assets/{folder-open-BpUcIJHn.js → folder-open-CRAYp6pW.js} +1 -1
- package/dist/web/assets/{folder-plus-8NHsIAxQ.js → folder-plus-BgsuJVU0.js} +1 -1
- package/dist/web/assets/{git-branch-DO3iP_fL.js → git-branch-CicxCU5U.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-BSWa2I3g.js → git-commit-horizontal-BRkwl6bp.js} +1 -1
- package/dist/web/assets/{htmlMode-DaAKO9wk.js → htmlMode-B69EEM3s.js} +1 -1
- package/dist/web/assets/index-BGdmnwp7.js +1 -0
- package/dist/web/assets/index-Bt9mPk1q.css +1 -0
- package/dist/web/assets/index-Dcpm2LlR.js +178 -0
- package/dist/web/assets/{info-DiEvrUda.js → info-BxhCcEsF.js} +1 -1
- package/dist/web/assets/{jsonMode-Biu1ZTZ7.js → jsonMode-D0tzZkp2.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-lwoDxGgl.js → lspLanguageFeatures-DFpYfxMH.js} +1 -1
- package/dist/web/assets/{monaco.contribution-Ce2MS2Nv.js → monaco.contribution-BFP-1c-A.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Ic8LKME8.js → monaco.contribution-BzGRrg8l.js} +2 -2
- package/dist/web/assets/{monaco.contribution-DzHhgeLy.js → monaco.contribution-K53jgqut.js} +2 -2
- package/dist/web/assets/{monaco.contribution-BqQSY5-t.js → monaco.contribution-lS_l56Q7.js} +2 -2
- package/dist/web/assets/{play-D9F3t5Cx.js → play-B8en8HVG.js} +1 -1
- package/dist/web/assets/{python-BhVCwr-K.js → python-DPtRb2z3.js} +1 -1
- package/dist/web/assets/{refresh-cw-DRN17xPU.js → refresh-cw-CRZeaNu7.js} +1 -1
- package/dist/web/assets/{save-CDZwpzlG.js → save-oO8erge1.js} +1 -1
- package/dist/web/assets/{square-Cf_AXs4a.js → square-CSULphDY.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-Bb_m9pXM.js → toggleHighContrast-CmDdOtfT.js} +1 -1
- package/dist/web/assets/{tsMode-BaWkaSHN.js → tsMode-B0TCT940.js} +1 -1
- package/dist/web/assets/{upload-Cef29aCP.js → upload-dz-oCLFE.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-CAAqoZ0V.js → useLocalAgentSchedules-DPga1Kwi.js} +1 -1
- package/dist/web/assets/{wifi-off-C8cC22F6.js → wifi-off-BZpON33U.js} +1 -1
- package/dist/web/assets/{workers-GOdHtcZt.js → workers-DXVEq1Aw.js} +1 -1
- package/dist/web/assets/{yaml-jBIxwMeR.js → yaml-B8TBCEpi.js} +1 -1
- package/dist/web/index.html +2 -2
- package/docs/command-reference.md +2 -0
- package/package.json +1 -1
- package/dist/web/assets/BrowserSidebar-oHniLA05.js +0 -1
- package/dist/web/assets/CommandMenu-Db_5OiKs.js +0 -1
- package/dist/web/assets/CommunityView-HTwMEO-T.js +0 -1
- package/dist/web/assets/ComposerCreateImproveStrip-ER26yFe-.js +0 -1
- package/dist/web/assets/LabModelVersionDetailPage-Dgf-DlJi.js +0 -1
- package/dist/web/assets/LabSkillSidebar-CyX8sVm1.js +0 -1
- package/dist/web/assets/LabsRoute-BC1ST9qT.js +0 -3
- package/dist/web/assets/MainChatThread-BfW92Rv1.js +0 -2
- package/dist/web/assets/MainPane-DlciH8yR.js +0 -6
- package/dist/web/assets/MarkdownText-CyOeCVjf.js +0 -9
- package/dist/web/assets/Messages-BDtEbIKv.js +0 -9
- package/dist/web/assets/NativeSkillSidebar-D0BlvEtE.js +0 -1
- package/dist/web/assets/OutputsPage-DNU2yD7q.js +0 -1
- package/dist/web/assets/RightChatPanelStack-Cs63fQwk.js +0 -1
- package/dist/web/assets/ScheduledWorkPage-DMKHFbeE.js +0 -1
- package/dist/web/assets/SettingsView-C39BqlSI.css +0 -1
- package/dist/web/assets/SettingsView-L0g-g2fL.js +0 -6
- package/dist/web/assets/TeamChatView-CSVMTUAE.js +0 -3
- package/dist/web/assets/TrainingCreationPanel-VIWlpVV2.js +0 -1
- package/dist/web/assets/TrainingDraftPanel-MTYsR-Ry.js +0 -1
- package/dist/web/assets/WorkspaceDiffPanel-BgIbxMMu.js +0 -14
- package/dist/web/assets/WorkspaceEnvironmentMenu-C97GqYn9.js +0 -32
- package/dist/web/assets/circle-alert-B_xROoPY.js +0 -1
- package/dist/web/assets/folder-git-2-ktXin28y.js +0 -1
- package/dist/web/assets/folder-tLv6TMN2.js +0 -1
- package/dist/web/assets/index-BtiK52K1.js +0 -1
- package/dist/web/assets/index-CE2hroF6.css +0 -1
- package/dist/web/assets/index-DHxBMQIJ.js +0 -174
- package/dist/web/assets/square-pen-ChJgNiDm.js +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
runAppServerJsonl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OYWTQABY.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_HOST,
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
parseListen
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FYB6ELFM.js";
|
|
10
10
|
import {
|
|
11
11
|
getBundledRuntimeVersion,
|
|
12
12
|
openUrlWithSystemBrowser
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BFAL2CV3.js";
|
|
14
14
|
|
|
15
15
|
// ../server/src/cli.ts
|
|
16
16
|
import { existsSync } from "node:fs";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
saveConfig,
|
|
13
13
|
saveProfileApiKey,
|
|
14
14
|
setActiveProfile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-T4FMK5GN.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-JGOP4GCK.js";
|
|
21
21
|
|
|
22
22
|
// ../../packages/runtime/dist/chat.js
|
|
23
23
|
import { randomUUID } from "node:crypto";
|
|
@@ -546,53 +546,24 @@ async function* streamOpChatChatCompletion(options) {
|
|
|
546
546
|
if (!response.body) {
|
|
547
547
|
throw new Error("OpenPond OpChat request failed: streaming response body is missing.");
|
|
548
548
|
}
|
|
549
|
-
const completion = await readBufferedOpChatStream(response.body);
|
|
550
|
-
const { content, finishReason, raw, reasoningText, toolCalls, usage } = completion;
|
|
551
|
-
if (reasoningText)
|
|
552
|
-
yield { type: "reasoning_delta", text: reasoningText, raw };
|
|
553
|
-
if (content)
|
|
554
|
-
yield { type: "text_delta", text: content, raw };
|
|
555
|
-
if (toolCalls.length > 0) {
|
|
556
|
-
yield { type: "tool_call_delta", toolCalls, raw };
|
|
557
|
-
}
|
|
558
|
-
if (toolCalls.length > 0 && reasoningText) {
|
|
559
|
-
yield {
|
|
560
|
-
type: "continuation",
|
|
561
|
-
continuation: {
|
|
562
|
-
kind: "chat_completions_reasoning",
|
|
563
|
-
reasoningContent: reasoningText
|
|
564
|
-
},
|
|
565
|
-
raw
|
|
566
|
-
};
|
|
567
|
-
}
|
|
568
|
-
if (usage)
|
|
569
|
-
yield { type: "usage", usage, raw };
|
|
570
|
-
yield {
|
|
571
|
-
type: "finish",
|
|
572
|
-
finishReason,
|
|
573
|
-
raw
|
|
574
|
-
};
|
|
575
|
-
}
|
|
576
|
-
async function readBufferedOpChatStream(body) {
|
|
577
|
-
const reader = body.getReader();
|
|
578
|
-
const decoder = new TextDecoder();
|
|
579
549
|
const toolCalls = /* @__PURE__ */ new Map();
|
|
580
|
-
let
|
|
581
|
-
let content = "";
|
|
582
|
-
let dataLines = [];
|
|
550
|
+
let sawDone = false;
|
|
583
551
|
let finishReason = null;
|
|
584
552
|
let lastPayload = {};
|
|
585
|
-
let
|
|
586
|
-
let sawDone = false;
|
|
553
|
+
let accumulatedReasoning = "";
|
|
587
554
|
let usage = null;
|
|
555
|
+
const reader = response.body.getReader();
|
|
556
|
+
const decoder = new TextDecoder();
|
|
557
|
+
let buffer = "";
|
|
558
|
+
let dataLines = [];
|
|
588
559
|
const consumeEvent = () => {
|
|
589
560
|
if (dataLines.length === 0)
|
|
590
|
-
return;
|
|
561
|
+
return [];
|
|
591
562
|
const data = dataLines.join("\n");
|
|
592
563
|
dataLines = [];
|
|
593
564
|
if (data === "[DONE]") {
|
|
594
565
|
sawDone = true;
|
|
595
|
-
return;
|
|
566
|
+
return [];
|
|
596
567
|
}
|
|
597
568
|
let payload;
|
|
598
569
|
try {
|
|
@@ -608,23 +579,32 @@ async function readBufferedOpChatStream(body) {
|
|
|
608
579
|
const choices = Array.isArray(record.choices) ? record.choices : [];
|
|
609
580
|
const choice = choices[0] && typeof choices[0] === "object" ? choices[0] : {};
|
|
610
581
|
const delta = choice.delta && typeof choice.delta === "object" ? choice.delta : {};
|
|
611
|
-
|
|
612
|
-
|
|
582
|
+
const deltas = [];
|
|
583
|
+
const reasoningChunk = streamTextValue(delta.reasoning_content);
|
|
584
|
+
if (reasoningChunk) {
|
|
585
|
+
accumulatedReasoning += reasoningChunk;
|
|
586
|
+
deltas.push({ type: "reasoning_delta", text: reasoningChunk, raw: payload });
|
|
587
|
+
}
|
|
588
|
+
const textChunk = streamTextValue(delta.content);
|
|
589
|
+
if (textChunk) {
|
|
590
|
+
deltas.push({ type: "text_delta", text: textChunk, raw: payload });
|
|
591
|
+
}
|
|
613
592
|
mergeOpChatToolCallDeltas(toolCalls, delta.tool_calls);
|
|
614
593
|
finishReason = stringValue(choice.finish_reason) ?? finishReason;
|
|
615
594
|
usage = parseUsage(payload) ?? usage;
|
|
595
|
+
return deltas;
|
|
616
596
|
};
|
|
617
597
|
const consumeLine = (line) => {
|
|
618
598
|
const normalized = line.endsWith("\r") ? line.slice(0, -1) : line;
|
|
619
599
|
if (!normalized) {
|
|
620
|
-
consumeEvent();
|
|
621
|
-
return;
|
|
600
|
+
return consumeEvent();
|
|
622
601
|
}
|
|
623
602
|
if (normalized.startsWith(":"))
|
|
624
|
-
return;
|
|
603
|
+
return [];
|
|
625
604
|
if (normalized.startsWith("data:")) {
|
|
626
605
|
dataLines.push(normalized.slice("data:".length).trimStart());
|
|
627
606
|
}
|
|
607
|
+
return [];
|
|
628
608
|
};
|
|
629
609
|
try {
|
|
630
610
|
while (true) {
|
|
@@ -634,27 +614,41 @@ async function readBufferedOpChatStream(body) {
|
|
|
634
614
|
buffer += decoder.decode(result.value, { stream: true });
|
|
635
615
|
const lines = buffer.split("\n");
|
|
636
616
|
buffer = lines.pop() ?? "";
|
|
637
|
-
for (const line of lines)
|
|
638
|
-
consumeLine(line)
|
|
617
|
+
for (const line of lines) {
|
|
618
|
+
for (const delta of consumeLine(line))
|
|
619
|
+
yield delta;
|
|
620
|
+
}
|
|
639
621
|
}
|
|
640
622
|
buffer += decoder.decode();
|
|
641
|
-
if (buffer)
|
|
642
|
-
consumeLine(buffer)
|
|
643
|
-
|
|
623
|
+
if (buffer) {
|
|
624
|
+
for (const delta of consumeLine(buffer))
|
|
625
|
+
yield delta;
|
|
626
|
+
}
|
|
627
|
+
for (const delta of consumeEvent())
|
|
628
|
+
yield delta;
|
|
644
629
|
} finally {
|
|
645
630
|
reader.releaseLock();
|
|
646
631
|
}
|
|
647
632
|
if (!sawDone) {
|
|
648
633
|
throw new Error("OpenPond OpChat request failed: stream ended before [DONE].");
|
|
649
634
|
}
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
635
|
+
const completedToolCalls = completedOpChatToolCalls(toolCalls);
|
|
636
|
+
if (completedToolCalls.length > 0) {
|
|
637
|
+
yield { type: "tool_call_delta", toolCalls: completedToolCalls, raw: lastPayload };
|
|
638
|
+
}
|
|
639
|
+
if (completedToolCalls.length > 0 && accumulatedReasoning) {
|
|
640
|
+
yield {
|
|
641
|
+
type: "continuation",
|
|
642
|
+
continuation: {
|
|
643
|
+
kind: "chat_completions_reasoning",
|
|
644
|
+
reasoningContent: accumulatedReasoning
|
|
645
|
+
},
|
|
646
|
+
raw: lastPayload
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
if (usage)
|
|
650
|
+
yield { type: "usage", usage, raw: lastPayload };
|
|
651
|
+
yield { type: "finish", finishReason, raw: lastPayload };
|
|
658
652
|
}
|
|
659
653
|
function mergeOpChatToolCallDeltas(calls, value) {
|
|
660
654
|
if (!Array.isArray(value))
|
|
@@ -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.62";
|
|
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";
|
|
@@ -317,6 +317,7 @@ var AGENT_OPTION_SCHEMA = {
|
|
|
317
317
|
agentId: string,
|
|
318
318
|
agentEdit: json,
|
|
319
319
|
allowLatestSource: boolean,
|
|
320
|
+
allowedActions: string,
|
|
320
321
|
attachmentsJson: json,
|
|
321
322
|
baseSha: string,
|
|
322
323
|
chatMode: string,
|
|
@@ -341,6 +342,7 @@ var AGENT_OPTION_SCHEMA = {
|
|
|
341
342
|
payload: json,
|
|
342
343
|
projectId: string,
|
|
343
344
|
prompt: string,
|
|
345
|
+
provider: string,
|
|
344
346
|
publishedSnapshotId: string,
|
|
345
347
|
ref: string,
|
|
346
348
|
requirePublishedSnapshot: boolean,
|
|
@@ -397,7 +399,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
397
399
|
name: "help",
|
|
398
400
|
usage: "openpond help",
|
|
399
401
|
optionSchema: {},
|
|
400
|
-
handler: async () => (await import("./help-
|
|
402
|
+
handler: async () => (await import("./help-4MQ4EOIS.js")).printHelp()
|
|
401
403
|
},
|
|
402
404
|
{
|
|
403
405
|
name: "version",
|
|
@@ -409,19 +411,19 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
409
411
|
name: "check-update",
|
|
410
412
|
usage: "openpond check-update",
|
|
411
413
|
optionSchema: {},
|
|
412
|
-
handler: async () => (await import("./core-commands-
|
|
414
|
+
handler: async () => (await import("./core-commands-STKFZZVR.js")).runCheckUpdate()
|
|
413
415
|
},
|
|
414
416
|
{
|
|
415
417
|
name: "login",
|
|
416
418
|
usage: "openpond login [--base-url <url>]",
|
|
417
419
|
optionSchema: CLI_GLOBAL_OPTION_SCHEMA,
|
|
418
|
-
handler: async ({ options }) => (await import("./core-commands-
|
|
420
|
+
handler: async ({ options }) => (await import("./core-commands-STKFZZVR.js")).runLogin(options)
|
|
419
421
|
},
|
|
420
422
|
{
|
|
421
423
|
name: "init",
|
|
422
424
|
usage: "openpond init [--path <dir>]",
|
|
423
425
|
optionSchema: { path: "string" },
|
|
424
|
-
handler: async ({ options }) => (await import("./profile-
|
|
426
|
+
handler: async ({ options }) => (await import("./profile-5H3GF252.js")).runOpenPondInitCommand(options)
|
|
425
427
|
},
|
|
426
428
|
{
|
|
427
429
|
name: "profile",
|
|
@@ -449,13 +451,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
449
451
|
publishHostedSource: "boolean",
|
|
450
452
|
teamId: "string"
|
|
451
453
|
},
|
|
452
|
-
handler: async ({ options, rest }) => (await import("./profile-
|
|
454
|
+
handler: async ({ options, rest }) => (await import("./profile-5H3GF252.js")).runOpenPondProfileCommand(options, rest)
|
|
453
455
|
},
|
|
454
456
|
{
|
|
455
457
|
name: "agents",
|
|
456
458
|
usage: "openpond agents [--json]",
|
|
457
459
|
optionSchema: { json: "boolean" },
|
|
458
|
-
handler: async ({ options, rest }) => (await import("./profile-
|
|
460
|
+
handler: async ({ options, rest }) => (await import("./profile-5H3GF252.js")).runOpenPondAgentsCommand(options, rest)
|
|
459
461
|
},
|
|
460
462
|
{
|
|
461
463
|
name: "actions",
|
|
@@ -475,7 +477,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
475
477
|
teamId: "string",
|
|
476
478
|
timeoutMs: "integer"
|
|
477
479
|
},
|
|
478
|
-
handler: async ({ options, rest }) => (await import("./actions-command-
|
|
480
|
+
handler: async ({ options, rest }) => (await import("./actions-command-DZ6D7JTO.js")).runProjectActionsCommand(options, rest)
|
|
479
481
|
},
|
|
480
482
|
...profileSdkAliasDefinitions(),
|
|
481
483
|
{
|
|
@@ -488,25 +490,25 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
488
490
|
"openpond extension remove <owner/repo> [--json]"
|
|
489
491
|
],
|
|
490
492
|
optionSchema: { all: "boolean", json: "boolean", ref: "string" },
|
|
491
|
-
handler: async ({ options, rest }) => (await import("./extension-
|
|
493
|
+
handler: async ({ options, rest }) => (await import("./extension-MVWXKSAD.js")).runOpenPondExtensionCommand(options, rest)
|
|
492
494
|
},
|
|
493
495
|
{
|
|
494
496
|
name: "profiles",
|
|
495
497
|
usage: "openpond profiles [args]",
|
|
496
498
|
optionSchema: { json: "boolean" },
|
|
497
|
-
handler: async ({ options, rest }) => (await import("./core-commands-
|
|
499
|
+
handler: async ({ options, rest }) => (await import("./core-commands-STKFZZVR.js")).runProfiles(options, rest)
|
|
498
500
|
},
|
|
499
501
|
{
|
|
500
502
|
name: "account",
|
|
501
503
|
usage: "openpond account",
|
|
502
504
|
optionSchema: { json: "boolean" },
|
|
503
|
-
handler: async () => (await import("./core-commands-
|
|
505
|
+
handler: async () => (await import("./core-commands-STKFZZVR.js")).runAccount()
|
|
504
506
|
},
|
|
505
507
|
{
|
|
506
508
|
name: "health",
|
|
507
509
|
usage: "openpond health",
|
|
508
510
|
optionSchema: { json: "boolean" },
|
|
509
|
-
handler: async ({ options }) => (await import("./core-commands-
|
|
511
|
+
handler: async ({ options }) => (await import("./core-commands-STKFZZVR.js")).runHealth(options)
|
|
510
512
|
},
|
|
511
513
|
{
|
|
512
514
|
name: "app-server",
|
|
@@ -514,7 +516,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
514
516
|
optionSchema: {
|
|
515
517
|
storeDir: "string"
|
|
516
518
|
},
|
|
517
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
519
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MSLVVYLM.js")).runOpenPondServerCommand("app-server", options, rest)
|
|
518
520
|
},
|
|
519
521
|
{
|
|
520
522
|
name: "serve",
|
|
@@ -525,7 +527,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
525
527
|
listen: "string",
|
|
526
528
|
port: "integer"
|
|
527
529
|
},
|
|
528
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
530
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MSLVVYLM.js")).runOpenPondServerCommand("serve", options, rest)
|
|
529
531
|
},
|
|
530
532
|
{
|
|
531
533
|
name: "ui",
|
|
@@ -538,7 +540,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
538
540
|
port: "integer",
|
|
539
541
|
webRoot: "string"
|
|
540
542
|
},
|
|
541
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
543
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MSLVVYLM.js")).runOpenPondServerCommand("web", options, rest)
|
|
542
544
|
},
|
|
543
545
|
{
|
|
544
546
|
name: "tui",
|
|
@@ -552,13 +554,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
552
554
|
provider: "string",
|
|
553
555
|
server: "string"
|
|
554
556
|
},
|
|
555
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
557
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MSLVVYLM.js")).runOpenPondTerminalCommand(options, rest)
|
|
556
558
|
},
|
|
557
559
|
{
|
|
558
560
|
name: "chat",
|
|
559
561
|
usage: "openpond chat (--message-file <path>|--message <text>|--stdin) --non-interactive [--provider <id>] [--model <id>] [--agent <id>] [--project <id>] [--resume <session-id>] [--yes] [--approval-policy <policy>] [--json] [--timeout-sec <n>] [--max-output-bytes <n>] [--sandbox <mode>]",
|
|
560
562
|
optionSchema: CHAT_OPTION_SCHEMA,
|
|
561
|
-
handler: async ({ options, rest }) => (await import("./app-layer-
|
|
563
|
+
handler: async ({ options, rest }) => (await import("./app-layer-MSLVVYLM.js")).runOpenPondTerminalCommand(options, rest)
|
|
562
564
|
},
|
|
563
565
|
{
|
|
564
566
|
name: "tool",
|
|
@@ -594,7 +596,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
594
596
|
name: "sandbox-template",
|
|
595
597
|
usage: "openpond sandbox-template <command> [args]",
|
|
596
598
|
optionSchema: SANDBOX_TEMPLATE_OPTION_SCHEMA,
|
|
597
|
-
handler: async ({ options, rest }) => (await import("./sandbox-template-
|
|
599
|
+
handler: async ({ options, rest }) => (await import("./sandbox-template-RZ5AJ4KB.js")).runSandboxTemplateCommand(options, rest)
|
|
598
600
|
},
|
|
599
601
|
{
|
|
600
602
|
name: "repo",
|
|
@@ -639,13 +641,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
639
641
|
toolset: "string",
|
|
640
642
|
url: "string"
|
|
641
643
|
},
|
|
642
|
-
handler: async ({ options, rest }) => (await import("./organizations-
|
|
644
|
+
handler: async ({ options, rest }) => (await import("./organizations-ATM4CZII.js")).runOrganizationsCommand(options, rest)
|
|
643
645
|
},
|
|
644
646
|
{
|
|
645
647
|
name: "project",
|
|
646
648
|
usage: "openpond project <list|create|upsert|get|update|sync|source-upload|archive> [args]",
|
|
647
649
|
optionSchema: PROJECT_OPTION_SCHEMA,
|
|
648
|
-
handler: async ({ options, rest }) => (await import("./project-agent-
|
|
650
|
+
handler: async ({ options, rest }) => (await import("./project-agent-RSKSO5GT.js")).runProjectCommand(options, rest)
|
|
649
651
|
},
|
|
650
652
|
{
|
|
651
653
|
name: "agent",
|
|
@@ -657,7 +659,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
657
659
|
"openpond agent source publish <agentId> --team-id <id> [--expected-manifest-hash <hash>]"
|
|
658
660
|
],
|
|
659
661
|
optionSchema: AGENT_OPTION_SCHEMA,
|
|
660
|
-
handler: async ({ options, rest }) => (await import("./project-agent-
|
|
662
|
+
handler: async ({ options, rest }) => (await import("./project-agent-RSKSO5GT.js")).runAgentCommand(options, rest)
|
|
661
663
|
},
|
|
662
664
|
{
|
|
663
665
|
name: "desktop-test",
|
|
@@ -678,13 +680,13 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
678
680
|
token: "string",
|
|
679
681
|
tokenFile: "string"
|
|
680
682
|
},
|
|
681
|
-
handler: async ({ options, rest }) => (await import("./desktop-test-
|
|
683
|
+
handler: async ({ options, rest }) => (await import("./desktop-test-ACKJN4UV.js")).runDesktopTestCommand(options, rest)
|
|
682
684
|
},
|
|
683
685
|
{
|
|
684
686
|
name: "sandbox",
|
|
685
687
|
usage: "openpond sandbox <command> [args]",
|
|
686
688
|
optionSchema: SANDBOX_OPTION_SCHEMA,
|
|
687
|
-
handler: async ({ options, rest }) => (await import("./sandbox-command-
|
|
689
|
+
handler: async ({ options, rest }) => (await import("./sandbox-command-MTYSZR6P.js")).runSandboxCommand(options, rest)
|
|
688
690
|
},
|
|
689
691
|
{
|
|
690
692
|
name: "training",
|
|
@@ -732,7 +734,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
732
734
|
skipTool: "boolean",
|
|
733
735
|
stream: "boolean"
|
|
734
736
|
},
|
|
735
|
-
handler: async ({ options, rest }) => (await import("./opchat-
|
|
737
|
+
handler: async ({ options, rest }) => (await import("./opchat-DUIZT4G6.js")).runOpChatCommand(options, rest)
|
|
736
738
|
},
|
|
737
739
|
{
|
|
738
740
|
name: "teams-bot",
|
|
@@ -741,7 +743,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
741
743
|
json: "boolean",
|
|
742
744
|
teamId: "string"
|
|
743
745
|
},
|
|
744
|
-
handler: async ({ options, rest }) => (await import("./teams-bot-
|
|
746
|
+
handler: async ({ options, rest }) => (await import("./teams-bot-FF3LDAYL.js")).runTeamsBotCommand(options, rest)
|
|
745
747
|
},
|
|
746
748
|
{
|
|
747
749
|
name: "apps",
|
|
@@ -762,7 +764,7 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
762
764
|
name: "opentool",
|
|
763
765
|
usage: "openpond opentool <init|validate|build> [args]",
|
|
764
766
|
optionSchema: {},
|
|
765
|
-
handler: async ({ rest }) => (await import("./core-commands-
|
|
767
|
+
handler: async ({ rest }) => (await import("./core-commands-STKFZZVR.js")).runOpentool(rest)
|
|
766
768
|
}
|
|
767
769
|
];
|
|
768
770
|
var CLI_COMMAND_BY_NAME = /* @__PURE__ */ new Map();
|
|
@@ -834,11 +836,11 @@ function profileSdkAliasDefinitions() {
|
|
|
834
836
|
name,
|
|
835
837
|
usage: `openpond ${name} [args]`,
|
|
836
838
|
optionSchema: PROFILE_SDK_OPTION_SCHEMA,
|
|
837
|
-
handler: async ({ options, rest }) => (await import("./profile-
|
|
839
|
+
handler: async ({ options, rest }) => (await import("./profile-5H3GF252.js")).runOpenPondProfileSdkAlias(name, options, rest)
|
|
838
840
|
}));
|
|
839
841
|
}
|
|
840
842
|
async function runToolCommand({ options, rest }) {
|
|
841
|
-
const { runToolList, runToolRun } = await import("./core-commands-
|
|
843
|
+
const { runToolList, runToolRun } = await import("./core-commands-STKFZZVR.js");
|
|
842
844
|
const subcommand = rest[0];
|
|
843
845
|
if (subcommand === "list") {
|
|
844
846
|
const target = rest[1];
|
|
@@ -862,8 +864,8 @@ async function runToolCommand({ options, rest }) {
|
|
|
862
864
|
throw new Error("usage: tool <list|run> <handle>/<repo> [args]");
|
|
863
865
|
}
|
|
864
866
|
async function runBacktestCommand({ options, rest }) {
|
|
865
|
-
const { runBacktestRun } = await import("./core-commands-
|
|
866
|
-
const { runBacktestEvents, runBacktestGet } = await import("./apps-
|
|
867
|
+
const { runBacktestRun } = await import("./core-commands-STKFZZVR.js");
|
|
868
|
+
const { runBacktestEvents, runBacktestGet } = await import("./apps-6PAXKTB5.js");
|
|
867
869
|
const subcommand = rest[0] || "run";
|
|
868
870
|
if (subcommand === "run") {
|
|
869
871
|
const target = rest[1];
|
|
@@ -897,7 +899,7 @@ async function runBacktestCommand({ options, rest }) {
|
|
|
897
899
|
throw new Error("usage: backtest <run|events|get> <handle>/<repo> [args]");
|
|
898
900
|
}
|
|
899
901
|
async function runDeployCommand({ options, rest }) {
|
|
900
|
-
const { runDeployWatch } = await import("./core-commands-
|
|
902
|
+
const { runDeployWatch } = await import("./core-commands-STKFZZVR.js");
|
|
901
903
|
const subcommand = rest[0] || "watch";
|
|
902
904
|
if (subcommand !== "watch") {
|
|
903
905
|
throw new Error(
|
|
@@ -913,7 +915,7 @@ async function runDeployCommand({ options, rest }) {
|
|
|
913
915
|
await runDeployWatch(options, target);
|
|
914
916
|
}
|
|
915
917
|
async function runTemplateCommand({ options, rest }) {
|
|
916
|
-
const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-
|
|
918
|
+
const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-STKFZZVR.js");
|
|
917
919
|
const subcommand = rest[0] || "status";
|
|
918
920
|
const target = rest[1];
|
|
919
921
|
if (!target) {
|
|
@@ -938,7 +940,7 @@ async function runTemplateCommand({ options, rest }) {
|
|
|
938
940
|
);
|
|
939
941
|
}
|
|
940
942
|
async function runRepoCommand({ options, rest }) {
|
|
941
|
-
const { runRepoCreate, runRepoPush } = await import("./core-commands-
|
|
943
|
+
const { runRepoCreate, runRepoPush } = await import("./core-commands-STKFZZVR.js");
|
|
942
944
|
const subcommand = rest[0] || "create";
|
|
943
945
|
if (subcommand === "create") {
|
|
944
946
|
await runRepoCreate(options, rest.slice(1));
|
|
@@ -965,7 +967,7 @@ async function runAppsCommand({ options, rest }) {
|
|
|
965
967
|
runAppsSummary,
|
|
966
968
|
runAppsTools,
|
|
967
969
|
runAppsToolsExecute
|
|
968
|
-
} = await import("./apps-
|
|
970
|
+
} = await import("./apps-6PAXKTB5.js");
|
|
969
971
|
const subcommand = rest[0];
|
|
970
972
|
if (subcommand === "list") {
|
|
971
973
|
await runAppsList(options);
|