openpond 0.0.54 → 0.0.55

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.
@@ -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-FFTPXXNU.js";
5
+ } from "./chunk-OVE6IFEM.js";
6
6
  import "./chunk-NFNEENNR.js";
7
7
  import "./chunk-EIRW6Z6S.js";
8
- import "./chunk-MMUU5J64.js";
9
- import "./chunk-OW3B5BRD.js";
8
+ import "./chunk-CW4QSUDH.js";
9
+ import "./chunk-LACG7NNI.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-OW3B5BRD.js";
4
+ } from "./chunk-LACG7NNI.js";
5
5
 
6
6
  // ../server/src/workspace/workspace-command.ts
7
7
  import { spawn, spawnSync } from "node:child_process";
@@ -10,7 +10,7 @@ import {
10
10
  DEFAULT_HOST,
11
11
  DEFAULT_PORT,
12
12
  parseListen
13
- } from "./chunk-OW3B5BRD.js";
13
+ } from "./chunk-LACG7NNI.js";
14
14
 
15
15
  // ../server/src/cli.ts
16
16
  import { existsSync } from "node:fs";
@@ -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.54";
6
+ var VERSION = "0.0.55";
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 ![description](path-or-url) 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-MMUU5J64.js";
37
+ } from "./chunk-CW4QSUDH.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-OW3B5BRD.js";
44
+ } from "./chunk-LACG7NNI.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-HHLJWD3H.js");
41935
+ const { runWorkspaceCommand } = await import("./workspaces-VFM7AUWY.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-TGXBIUAR.js";
6
+ } from "./chunk-IPAZ4FVZ.js";
7
7
  import "./chunk-NFNEENNR.js";
8
8
  import "./chunk-EIRW6Z6S.js";
9
- import "./chunk-OW3B5BRD.js";
9
+ import "./chunk-LACG7NNI.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-FFTPXXNU.js";
120
+ } from "./chunk-OVE6IFEM.js";
121
121
  import {
122
122
  runOpenPondServerCli
123
- } from "./chunk-TGXBIUAR.js";
123
+ } from "./chunk-IPAZ4FVZ.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-MMUU5J64.js";
169
+ } from "./chunk-CW4QSUDH.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-OW3B5BRD.js";
181
+ } from "./chunk-LACG7NNI.js";
182
182
  import {
183
183
  AccountStateSchema,
184
184
  AdapterValidationReceiptSchema,
@@ -51168,8 +51168,10 @@ function createHarnessRefinerBenchmarkModelStream(streamOpenPondHostedChatTurn2)
51168
51168
  }
51169
51169
  const requestId = `harness-refiner-benchmark:${randomUUID23()}`;
51170
51170
  for (let retry = 0; ; retry += 1) {
51171
- let emitted = false;
51171
+ let received = false;
51172
51172
  try {
51173
+ const text3 = [];
51174
+ const usage = [];
51173
51175
  for await (const delta of streamOpenPondHostedChatTurn2({
51174
51176
  model: model.modelId,
51175
51177
  messages,
@@ -51178,17 +51180,22 @@ function createHarnessRefinerBenchmarkModelStream(streamOpenPondHostedChatTurn2)
51178
51180
  maxTokens: DEFAULT_REFINER_MAX_OUTPUT_TOKENS,
51179
51181
  signal
51180
51182
  })) {
51181
- emitted = true;
51183
+ received = true;
51182
51184
  if (delta.type === "text_delta" && delta.text) {
51183
- yield { text: delta.text };
51185
+ text3.push(delta.text);
51184
51186
  }
51185
51187
  if (delta.type === "usage") {
51186
- yield { usage: delta.usage, ...usageCost(delta.usage, pricing) };
51188
+ usage.push({ usage: delta.usage, ...usageCost(delta.usage, pricing) });
51187
51189
  }
51188
51190
  }
51191
+ if (usage.length === 0) {
51192
+ throw new Error("Harness Refiner benchmark provider response is missing usage.");
51193
+ }
51194
+ for (const item of usage) yield item;
51195
+ if (text3.length > 0) yield { text: text3.join("") };
51189
51196
  return;
51190
51197
  } catch (error) {
51191
- if (emitted || retry >= 2 || !retryableHostedError(error)) throw error;
51198
+ if (received || retry >= 2 || !retryableHostedError(error)) throw error;
51192
51199
  await abortableDelay(hostedRetryDelayMs(error, retry), signal);
51193
51200
  }
51194
51201
  }
@@ -45,8 +45,8 @@ import {
45
45
  truncatePatch,
46
46
  uniqueSortedPaths,
47
47
  workspaceImageContentType
48
- } from "./chunk-MMUU5J64.js";
49
- import "./chunk-OW3B5BRD.js";
48
+ } from "./chunk-CW4QSUDH.js";
49
+ import "./chunk-LACG7NNI.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-VKUKAGJF.js"),
74
- import("./chunks/cli-IL3DJI7D.js")
73
+ import("./chunks/app-server-runtime-LFOOLDB5.js"),
74
+ import("./chunks/cli-7SSGEHXC.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-G5WGKMQZ.js"),
83
- import("./chunks/cli-IL3DJI7D.js")
82
+ import("./chunks/src-SRYGTCYI.js"),
83
+ import("./chunks/cli-7SSGEHXC.js")
84
84
  ]);
85
- const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-VKUKAGJF.js");
85
+ const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-LFOOLDB5.js");
86
86
  await runOpenPondServerCli({ createOpenPondServer, createOpenPondAppServer });
87
87
  return true;
88
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openpond",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "openpondReleaseVersioned": true,
5
5
  "license": "MIT",
6
6
  "description": "OpenPond CLI and local harness",