openpond 0.0.54 → 0.0.56
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-VKUKAGJF.js → app-server-runtime-64AV5AXJ.js} +3 -3
- package/dist/chunks/{chunk-TGXBIUAR.js → chunk-CW6FAJEF.js} +1 -1
- package/dist/chunks/{chunk-MMUU5J64.js → chunk-H44J7BB4.js} +1 -1
- package/dist/chunks/{chunk-OW3B5BRD.js → chunk-OSLQMUIB.js} +1 -1
- package/dist/chunks/{chunk-FFTPXXNU.js → chunk-Q4YKGVNG.js} +3 -3
- package/dist/chunks/{cli-IL3DJI7D.js → cli-J7EKEJZV.js} +2 -2
- package/dist/chunks/{src-G5WGKMQZ.js → src-6UCIW76H.js} +29 -12
- package/dist/chunks/{workspaces-HHLJWD3H.js → workspaces-4A2OR2OP.js} +2 -2
- package/dist/cli.js +5 -5
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
|
|
|
2
2
|
import {
|
|
3
3
|
APP_SERVER_COMPOSITION,
|
|
4
4
|
createOpenPondAppServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Q4YKGVNG.js";
|
|
6
6
|
import "./chunk-NFNEENNR.js";
|
|
7
7
|
import "./chunk-EIRW6Z6S.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-H44J7BB4.js";
|
|
9
|
+
import "./chunk-OSLQMUIB.js";
|
|
10
10
|
import "./chunk-55KT7K5P.js";
|
|
11
11
|
import "./chunk-US7DOPAH.js";
|
|
12
12
|
import "./chunk-WYDVQOBL.js";
|
|
@@ -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-OSLQMUIB.js";
|
|
5
5
|
|
|
6
6
|
// ../server/src/workspace/workspace-command.ts
|
|
7
7
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -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.56";
|
|
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";
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
truncatePatch,
|
|
35
35
|
uniqueSortedPaths,
|
|
36
36
|
workspaceImageContentType
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-H44J7BB4.js";
|
|
38
38
|
import {
|
|
39
39
|
HOSTED_CHAT_SYSTEM_PROMPT,
|
|
40
40
|
VERSION,
|
|
41
41
|
event,
|
|
42
42
|
now,
|
|
43
43
|
textFromUnknown
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-OSLQMUIB.js";
|
|
45
45
|
import {
|
|
46
46
|
AppPreferencesSchema,
|
|
47
47
|
ApplyCreateImproveRunActionRequestSchema,
|
|
@@ -41932,7 +41932,7 @@ function uniqueEvidence(run, evidence) {
|
|
|
41932
41932
|
}
|
|
41933
41933
|
async function verifyAppliedProfileCommit(input) {
|
|
41934
41934
|
const command = input.command ?? (async (name, args, cwd, env) => {
|
|
41935
|
-
const { runWorkspaceCommand } = await import("./workspaces-
|
|
41935
|
+
const { runWorkspaceCommand } = await import("./workspaces-4A2OR2OP.js");
|
|
41936
41936
|
return runWorkspaceCommand(name, args, cwd, env);
|
|
41937
41937
|
});
|
|
41938
41938
|
const result = await command("git", ["rev-parse", "HEAD"], input.repoPath);
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
resolveWebLaunchMessages,
|
|
4
4
|
runOpenPondAppServerCli,
|
|
5
5
|
runOpenPondServerCli
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CW6FAJEF.js";
|
|
7
7
|
import "./chunk-NFNEENNR.js";
|
|
8
8
|
import "./chunk-EIRW6Z6S.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-OSLQMUIB.js";
|
|
10
10
|
import "./chunk-55KT7K5P.js";
|
|
11
11
|
import "./chunk-US7DOPAH.js";
|
|
12
12
|
import "./chunk-WYDVQOBL.js";
|
|
@@ -117,10 +117,10 @@ import {
|
|
|
117
117
|
workspaceHasHead,
|
|
118
118
|
workspaceToolExperienceBlocker,
|
|
119
119
|
writeWorkspaceFile
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-Q4YKGVNG.js";
|
|
121
121
|
import {
|
|
122
122
|
runOpenPondServerCli
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-CW6FAJEF.js";
|
|
124
124
|
import {
|
|
125
125
|
createAppServer,
|
|
126
126
|
runAgentCompaction
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
runCommand,
|
|
167
167
|
startMacOSCommandLineToolsInstall,
|
|
168
168
|
workspaceImageContentType
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-H44J7BB4.js";
|
|
170
170
|
import {
|
|
171
171
|
APP_PREFERENCES_CACHE_KEY,
|
|
172
172
|
APP_PREFERENCES_CACHE_TYPE,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
isCliEntrypoint,
|
|
179
179
|
now,
|
|
180
180
|
textFromUnknown
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-OSLQMUIB.js";
|
|
182
182
|
import {
|
|
183
183
|
AccountStateSchema,
|
|
184
184
|
AdapterValidationReceiptSchema,
|
|
@@ -50330,11 +50330,21 @@ async function runSequentialHarnessAdaptation(input) {
|
|
|
50330
50330
|
for (const value of records) {
|
|
50331
50331
|
if (!value || typeof value !== "object" || Array.isArray(value)) continue;
|
|
50332
50332
|
const record11 = value;
|
|
50333
|
-
const inputTokens = numericToken(record11, [
|
|
50334
|
-
|
|
50333
|
+
const inputTokens = numericToken(record11, [
|
|
50334
|
+
"promptTokens",
|
|
50335
|
+
"prompt_tokens",
|
|
50336
|
+
"inputTokens",
|
|
50337
|
+
"input_tokens"
|
|
50338
|
+
]);
|
|
50339
|
+
const outputTokens = numericToken(record11, [
|
|
50340
|
+
"completionTokens",
|
|
50341
|
+
"completion_tokens",
|
|
50342
|
+
"outputTokens",
|
|
50343
|
+
"output_tokens"
|
|
50344
|
+
]);
|
|
50335
50345
|
total.inputTokens += inputTokens;
|
|
50336
50346
|
total.outputTokens += outputTokens;
|
|
50337
|
-
total.totalTokens += numericToken(record11, ["totalTokens"]) || inputTokens + outputTokens;
|
|
50347
|
+
total.totalTokens += numericToken(record11, ["totalTokens", "total_tokens"]) || inputTokens + outputTokens;
|
|
50338
50348
|
}
|
|
50339
50349
|
return total;
|
|
50340
50350
|
},
|
|
@@ -51168,8 +51178,10 @@ function createHarnessRefinerBenchmarkModelStream(streamOpenPondHostedChatTurn2)
|
|
|
51168
51178
|
}
|
|
51169
51179
|
const requestId = `harness-refiner-benchmark:${randomUUID23()}`;
|
|
51170
51180
|
for (let retry = 0; ; retry += 1) {
|
|
51171
|
-
let
|
|
51181
|
+
let received = false;
|
|
51172
51182
|
try {
|
|
51183
|
+
const text3 = [];
|
|
51184
|
+
const usage = [];
|
|
51173
51185
|
for await (const delta of streamOpenPondHostedChatTurn2({
|
|
51174
51186
|
model: model.modelId,
|
|
51175
51187
|
messages,
|
|
@@ -51178,17 +51190,22 @@ function createHarnessRefinerBenchmarkModelStream(streamOpenPondHostedChatTurn2)
|
|
|
51178
51190
|
maxTokens: DEFAULT_REFINER_MAX_OUTPUT_TOKENS,
|
|
51179
51191
|
signal
|
|
51180
51192
|
})) {
|
|
51181
|
-
|
|
51193
|
+
received = true;
|
|
51182
51194
|
if (delta.type === "text_delta" && delta.text) {
|
|
51183
|
-
|
|
51195
|
+
text3.push(delta.text);
|
|
51184
51196
|
}
|
|
51185
51197
|
if (delta.type === "usage") {
|
|
51186
|
-
|
|
51198
|
+
usage.push({ usage: delta.usage, ...usageCost(delta.usage, pricing) });
|
|
51187
51199
|
}
|
|
51188
51200
|
}
|
|
51201
|
+
if (usage.length === 0) {
|
|
51202
|
+
throw new Error("Harness Refiner benchmark provider response is missing usage.");
|
|
51203
|
+
}
|
|
51204
|
+
for (const item of usage) yield item;
|
|
51205
|
+
if (text3.length > 0) yield { text: text3.join("") };
|
|
51189
51206
|
return;
|
|
51190
51207
|
} catch (error) {
|
|
51191
|
-
if (
|
|
51208
|
+
if (received || retry >= 2 || !retryableHostedError(error)) throw error;
|
|
51192
51209
|
await abortableDelay(hostedRetryDelayMs(error, retry), signal);
|
|
51193
51210
|
}
|
|
51194
51211
|
}
|
|
@@ -45,8 +45,8 @@ import {
|
|
|
45
45
|
truncatePatch,
|
|
46
46
|
uniqueSortedPaths,
|
|
47
47
|
workspaceImageContentType
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-H44J7BB4.js";
|
|
49
|
+
import "./chunk-OSLQMUIB.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-64AV5AXJ.js"),
|
|
74
|
+
import("./chunks/cli-J7EKEJZV.js")
|
|
75
75
|
]);
|
|
76
76
|
await runOpenPondAppServerCli(createOpenPondAppServer);
|
|
77
77
|
return true;
|
|
@@ -79,10 +79,10 @@ 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-6UCIW76H.js"),
|
|
83
|
+
import("./chunks/cli-J7EKEJZV.js")
|
|
84
84
|
]);
|
|
85
|
-
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-
|
|
85
|
+
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-64AV5AXJ.js");
|
|
86
86
|
await runOpenPondServerCli({ createOpenPondServer, createOpenPondAppServer });
|
|
87
87
|
return true;
|
|
88
88
|
}
|