openpond 0.0.58 → 0.0.59
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-server-runtime-WYIRC5LV.js → app-server-runtime-YCKU23ON.js} +3 -3
- package/dist/chunks/{chunk-QIB27QOT.js → chunk-2E6OPEM5.js} +1 -1
- package/dist/chunks/{chunk-OI65U2B5.js → chunk-3PKCT4JC.js} +1 -1
- package/dist/chunks/{chunk-AD6KZWHL.js → chunk-EWS67RLV.js} +3 -3
- package/dist/chunks/{chunk-BFR6VZ2A.js → chunk-QNYFZ4I5.js} +1 -1
- package/dist/chunks/{cli-EPVMUYQT.js → cli-V4VB2VBY.js} +2 -2
- package/dist/chunks/{src-NJYDLJ2M.js → src-2AX2MUD4.js} +4 -4
- package/dist/chunks/{src-SR3UHNV4.js → src-KLQEJ6RO.js} +19 -1
- package/dist/chunks/{workspaces-N2WWI77O.js → workspaces-FPIBAG7G.js} +2 -2
- package/dist/cli.js +6 -6
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
|
|
|
2
2
|
import {
|
|
3
3
|
APP_SERVER_COMPOSITION,
|
|
4
4
|
createOpenPondAppServer
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-EWS67RLV.js";
|
|
6
|
+
import "./chunk-QNYFZ4I5.js";
|
|
7
7
|
import "./chunk-NFNEENNR.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-3PKCT4JC.js";
|
|
9
9
|
import "./chunk-LMQ4MPQI.js";
|
|
10
10
|
import "./chunk-PVGJXCAK.js";
|
|
11
11
|
import "./chunk-VG4H4TQG.js";
|
|
@@ -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.59";
|
|
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";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
truncatePatch,
|
|
12
12
|
uniqueSortedPaths,
|
|
13
13
|
workspaceImageContentType
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QNYFZ4I5.js";
|
|
15
15
|
import {
|
|
16
16
|
AGENT_PROTOCOL_VERSION,
|
|
17
17
|
AGENT_RPC_METHODS,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
event,
|
|
36
36
|
now,
|
|
37
37
|
textFromUnknown
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-3PKCT4JC.js";
|
|
39
39
|
import {
|
|
40
40
|
getBundledRuntimeVersion,
|
|
41
41
|
loadOpenPondAccountContext,
|
|
@@ -42318,7 +42318,7 @@ function uniqueEvidence(run, evidence) {
|
|
|
42318
42318
|
}
|
|
42319
42319
|
async function verifyAppliedProfileCommit(input) {
|
|
42320
42320
|
const command = input.command ?? (async (name, args, cwd, env) => {
|
|
42321
|
-
const { runWorkspaceCommand } = await import("./workspaces-
|
|
42321
|
+
const { runWorkspaceCommand } = await import("./workspaces-FPIBAG7G.js");
|
|
42322
42322
|
return runWorkspaceCommand(name, args, cwd, env);
|
|
42323
42323
|
});
|
|
42324
42324
|
const result = await command("git", ["rev-parse", "HEAD"], input.repoPath);
|
|
@@ -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-3PKCT4JC.js";
|
|
5
5
|
|
|
6
6
|
// ../server/src/workspace/workspace-command.ts
|
|
7
7
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
resolveWebLaunchMessages,
|
|
4
4
|
runOpenPondAppServerCli,
|
|
5
5
|
runOpenPondServerCli
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2E6OPEM5.js";
|
|
7
7
|
import "./chunk-NFNEENNR.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-3PKCT4JC.js";
|
|
9
9
|
import "./chunk-LMQ4MPQI.js";
|
|
10
10
|
import "./chunk-PVGJXCAK.js";
|
|
11
11
|
import "./chunk-VG4H4TQG.js";
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
workspaceHasHead,
|
|
118
118
|
workspaceToolExperienceBlocker,
|
|
119
119
|
writeWorkspaceFile
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-EWS67RLV.js";
|
|
121
121
|
import {
|
|
122
122
|
appWorkspacePaths,
|
|
123
123
|
checkWorkspaceGitAvailability,
|
|
@@ -145,10 +145,10 @@ import {
|
|
|
145
145
|
runCommand,
|
|
146
146
|
startMacOSCommandLineToolsInstall,
|
|
147
147
|
workspaceImageContentType
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-QNYFZ4I5.js";
|
|
149
149
|
import {
|
|
150
150
|
runOpenPondServerCli
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-2E6OPEM5.js";
|
|
152
152
|
import {
|
|
153
153
|
createAppServer,
|
|
154
154
|
runAgentCompaction
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
isCliEntrypoint,
|
|
165
165
|
now,
|
|
166
166
|
textFromUnknown
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-3PKCT4JC.js";
|
|
168
168
|
import {
|
|
169
169
|
createOpenPondRepoApp,
|
|
170
170
|
getBundledRuntimeVersion,
|
|
@@ -2728,6 +2728,15 @@ async function runOneShotChat(options, io = {}) {
|
|
|
2728
2728
|
actionId: action.id
|
|
2729
2729
|
}
|
|
2730
2730
|
}));
|
|
2731
|
+
const localProjectId = readySession?.localProjectId ?? sessionState.session?.localProjectId ?? null;
|
|
2732
|
+
const projectActionCatalog = localProjectId ? await deadline.run(
|
|
2733
|
+
"Project Action catalog",
|
|
2734
|
+
loadLocalProjectActionCatalog(
|
|
2735
|
+
{ ...connection, signal: deadline.signal },
|
|
2736
|
+
localProjectId
|
|
2737
|
+
)
|
|
2738
|
+
) : [];
|
|
2739
|
+
const openPondActionCatalog = [...profileActionCatalog, ...projectActionCatalog];
|
|
2731
2740
|
await deadline.run("turn submission", apiFetch(connection.server, connection.token, `/v1/sessions/${activeSessionId}/turns`, {
|
|
2732
2741
|
method: "POST",
|
|
2733
2742
|
body: JSON.stringify({
|
|
@@ -2735,7 +2744,7 @@ async function runOneShotChat(options, io = {}) {
|
|
|
2735
2744
|
...options.cwdExplicit || !options.project && !options.resume ? { cwd: options.cwd } : {},
|
|
2736
2745
|
model: modelId,
|
|
2737
2746
|
modelRef: activeModelRef(options, payload.providers),
|
|
2738
|
-
...
|
|
2747
|
+
...openPondActionCatalog.length > 0 ? { openPondActionCatalog } : {},
|
|
2739
2748
|
approvalPolicy: options.yes ? "never" : options.approvalPolicy,
|
|
2740
2749
|
sandbox: options.sandbox,
|
|
2741
2750
|
metadata: {
|
|
@@ -2807,6 +2816,15 @@ async function runOneShotChat(options, io = {}) {
|
|
|
2807
2816
|
if (timedOut && !options.json) output2.write("\n[turn timeout]\n");
|
|
2808
2817
|
}
|
|
2809
2818
|
}
|
|
2819
|
+
async function loadLocalProjectActionCatalog(connection, projectId) {
|
|
2820
|
+
const result = await apiFetch(
|
|
2821
|
+
connection.server,
|
|
2822
|
+
connection.token,
|
|
2823
|
+
`/v1/projects/${encodeURIComponent(projectId)}/actions`,
|
|
2824
|
+
{ signal: connection.signal }
|
|
2825
|
+
);
|
|
2826
|
+
return result.actions;
|
|
2827
|
+
}
|
|
2810
2828
|
function profileActionMatchesAgent(action, agentId) {
|
|
2811
2829
|
if (!agentId) return true;
|
|
2812
2830
|
return action.agentId === agentId || action.id === agentId || action.id.startsWith(`${agentId}.`);
|
|
@@ -45,8 +45,8 @@ import {
|
|
|
45
45
|
truncatePatch,
|
|
46
46
|
uniqueSortedPaths,
|
|
47
47
|
workspaceImageContentType
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-QNYFZ4I5.js";
|
|
49
|
+
import "./chunk-3PKCT4JC.js";
|
|
50
50
|
import "./chunk-UACZUFIA.js";
|
|
51
51
|
export {
|
|
52
52
|
MACOS_GIT_MISSING_DEVELOPER_TOOLS_ERROR,
|
package/dist/cli.js
CHANGED
|
@@ -70,8 +70,8 @@ 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-YCKU23ON.js"),
|
|
74
|
+
import("./chunks/cli-V4VB2VBY.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-2AX2MUD4.js"),
|
|
83
|
+
import("./chunks/cli-V4VB2VBY.js")
|
|
84
84
|
]);
|
|
85
|
-
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-
|
|
85
|
+
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-YCKU23ON.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-KLQEJ6RO.js")).runOpenPondTerminalCli(argv.slice(1));
|
|
91
91
|
return true;
|
|
92
92
|
}
|
|
93
93
|
return false;
|