openpond 0.0.55 → 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.
@@ -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-OVE6IFEM.js";
5
+ } from "./chunk-Q4YKGVNG.js";
6
6
  import "./chunk-NFNEENNR.js";
7
7
  import "./chunk-EIRW6Z6S.js";
8
- import "./chunk-CW4QSUDH.js";
9
- import "./chunk-LACG7NNI.js";
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";
@@ -10,7 +10,7 @@ import {
10
10
  DEFAULT_HOST,
11
11
  DEFAULT_PORT,
12
12
  parseListen
13
- } from "./chunk-LACG7NNI.js";
13
+ } from "./chunk-OSLQMUIB.js";
14
14
 
15
15
  // ../server/src/cli.ts
16
16
  import { existsSync } from "node:fs";
@@ -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-LACG7NNI.js";
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.55";
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 ![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-CW4QSUDH.js";
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-LACG7NNI.js";
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-VFM7AUWY.js");
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-IPAZ4FVZ.js";
6
+ } from "./chunk-CW6FAJEF.js";
7
7
  import "./chunk-NFNEENNR.js";
8
8
  import "./chunk-EIRW6Z6S.js";
9
- import "./chunk-LACG7NNI.js";
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-OVE6IFEM.js";
120
+ } from "./chunk-Q4YKGVNG.js";
121
121
  import {
122
122
  runOpenPondServerCli
123
- } from "./chunk-IPAZ4FVZ.js";
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-CW4QSUDH.js";
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-LACG7NNI.js";
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, ["promptTokens", "inputTokens"]);
50334
- const outputTokens = numericToken(record11, ["completionTokens", "outputTokens"]);
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
  },
@@ -45,8 +45,8 @@ import {
45
45
  truncatePatch,
46
46
  uniqueSortedPaths,
47
47
  workspaceImageContentType
48
- } from "./chunk-CW4QSUDH.js";
49
- import "./chunk-LACG7NNI.js";
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-LFOOLDB5.js"),
74
- import("./chunks/cli-7SSGEHXC.js")
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-SRYGTCYI.js"),
83
- import("./chunks/cli-7SSGEHXC.js")
82
+ import("./chunks/src-6UCIW76H.js"),
83
+ import("./chunks/cli-J7EKEJZV.js")
84
84
  ]);
85
- const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-LFOOLDB5.js");
85
+ const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-64AV5AXJ.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.55",
3
+ "version": "0.0.56",
4
4
  "openpondReleaseVersioned": true,
5
5
  "license": "MIT",
6
6
  "description": "OpenPond CLI and local harness",