openpond 0.0.42 → 0.0.43

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-UNNPZEFB.js";
6
- import "./chunk-VCVQLECH.js";
5
+ } from "./chunk-SBVJGA3Y.js";
6
+ import "./chunk-YEKQWRBS.js";
7
7
  import "./chunk-ZTE6A2VE.js";
8
- import "./chunk-KWZJAKIR.js";
9
- import "./chunk-SGWTAB4R.js";
8
+ import "./chunk-DBHT62E5.js";
9
+ import "./chunk-L7SIUJEV.js";
10
10
  import "./chunk-2SF6HLT7.js";
11
11
  import "./chunk-M2NXTLH2.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-SGWTAB4R.js";
4
+ } from "./chunk-L7SIUJEV.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.42";
6
+ var VERSION = "0.0.43";
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";
@@ -15,7 +15,7 @@ import {
15
15
  runAgentCompactionProgram,
16
16
  runProviderRound,
17
17
  runProviderRoundLoop
18
- } from "./chunk-VCVQLECH.js";
18
+ } from "./chunk-YEKQWRBS.js";
19
19
  import {
20
20
  getBundledRuntimeVersion,
21
21
  loadOpenPondAccountContext,
@@ -33,14 +33,14 @@ import {
33
33
  truncatePatch,
34
34
  uniqueSortedPaths,
35
35
  workspaceImageContentType
36
- } from "./chunk-KWZJAKIR.js";
36
+ } from "./chunk-DBHT62E5.js";
37
37
  import {
38
38
  HOSTED_CHAT_SYSTEM_PROMPT,
39
39
  VERSION,
40
40
  event,
41
41
  now,
42
42
  textFromUnknown
43
- } from "./chunk-SGWTAB4R.js";
43
+ } from "./chunk-L7SIUJEV.js";
44
44
  import {
45
45
  AppPreferencesSchema,
46
46
  ApplyCreateImproveRunActionRequestSchema,
@@ -20101,7 +20101,11 @@ function createAgentRuntimePorts(deps) {
20101
20101
  compaction: true,
20102
20102
  harnessInspection: true,
20103
20103
  harnessValidation: true,
20104
- immutableHarnessAdmission: true
20104
+ immutableHarnessAdmission: true,
20105
+ harnessBackgroundReview: true,
20106
+ harnessDiff: true,
20107
+ harnessRollback: true,
20108
+ harnessReview: true
20105
20109
  },
20106
20110
  tools: recordedTools,
20107
20111
  toolCatalogHash: recordedHash
@@ -20120,6 +20124,10 @@ function createAgentRuntimePorts(deps) {
20120
20124
  resolveApproval: deps.resolveApproval,
20121
20125
  inspectHarness: deps.inspectHarness,
20122
20126
  validateHarness: deps.validateHarness,
20127
+ updateHarnessBackgroundReview: deps.updateHarnessBackgroundReview,
20128
+ diffHarness: deps.diffHarness,
20129
+ rollbackHarness: deps.rollbackHarness,
20130
+ reviewHarnessProposal: deps.reviewHarnessProposal,
20123
20131
  subscribeEvents: deps.subscribeRuntimeEvents,
20124
20132
  eventNotification: runtimeEventNotification,
20125
20133
  telemetry: deps.observeRuntimeOperation
@@ -33118,7 +33126,7 @@ function uniqueEvidence(run, evidence) {
33118
33126
  }
33119
33127
  async function verifyAppliedProfileCommit(input) {
33120
33128
  const command = input.command ?? (async (name, args, cwd, env) => {
33121
- const { runWorkspaceCommand } = await import("./workspaces-Y3GSQO3Y.js");
33129
+ const { runWorkspaceCommand } = await import("./workspaces-ODFJT6HJ.js");
33122
33130
  return runWorkspaceCommand(name, args, cwd, env);
33123
33131
  });
33124
33132
  const result = await command("git", ["rev-parse", "HEAD"], input.repoPath);
@@ -40672,6 +40680,10 @@ async function createOpenPondAppServer(options = {}) {
40672
40680
  throw new Error(`Approval not found: ${approvalId}`);
40673
40681
  }
40674
40682
  let closing = false;
40683
+ const harnessSettings = createLocalHarnessSettingsRoutePayloads({
40684
+ store,
40685
+ storeDir
40686
+ });
40675
40687
  const instance = createAppServer({
40676
40688
  ports: createAgentRuntimePorts({
40677
40689
  placement: "hosted_work",
@@ -40697,6 +40709,10 @@ async function createOpenPondAppServer(options = {}) {
40697
40709
  reason: "No app-server Harness release is selected."
40698
40710
  };
40699
40711
  },
40712
+ updateHarnessBackgroundReview: harnessSettings.updateHarnessBackgroundReviewPayload,
40713
+ diffHarness: harnessSettings.harnessDiffPayload,
40714
+ rollbackHarness: harnessSettings.rollbackHarnessPayload,
40715
+ reviewHarnessProposal: harnessSettings.reviewHarnessProposalPayload,
40700
40716
  subscribeRuntimeEvents,
40701
40717
  observeRuntimeOperation: (runtimeEvent) => {
40702
40718
  logger.info("agent runtime operation", runtimeEvent);
@@ -185,7 +185,11 @@ var AGENT_RPC_METHODS = [
185
185
  "approval/resolve",
186
186
  "userInput/resolve",
187
187
  "harness/inspect",
188
- "harness/validate"
188
+ "harness/validate",
189
+ "harness/backgroundReview",
190
+ "harness/diff",
191
+ "harness/rollback",
192
+ "harness/review"
189
193
  ];
190
194
  var JsonRpcRequestSchema = external_exports.object({
191
195
  jsonrpc: external_exports.literal("2.0"),
@@ -299,6 +303,14 @@ var AgentJsonRpcDispatcher = class {
299
303
  return this.#host.harnessInspect(params);
300
304
  case "harness/validate":
301
305
  return this.#host.harnessValidate(params);
306
+ case "harness/backgroundReview":
307
+ return this.#host.harnessBackgroundReview(params);
308
+ case "harness/diff":
309
+ return this.#host.harnessDiff(params);
310
+ case "harness/rollback":
311
+ return this.#host.harnessRollback(params);
312
+ case "harness/review":
313
+ return this.#host.harnessReview(params);
302
314
  default:
303
315
  throw new JsonRpcDispatchError(-32601, `Method not found: ${method}`);
304
316
  }
@@ -539,6 +551,10 @@ function createAgentRuntimeService(ports) {
539
551
  },
540
552
  harnessInspect: () => run("harness/inspect", null, () => ports.inspectHarness()),
541
553
  harnessValidate: () => run("harness/validate", null, () => ports.validateHarness()),
554
+ harnessBackgroundReview: (params) => run("harness/backgroundReview", null, () => ports.updateHarnessBackgroundReview(params)),
555
+ harnessDiff: (params) => run("harness/diff", null, () => ports.diffHarness(params)),
556
+ harnessRollback: (params) => run("harness/rollback", null, () => ports.rollbackHarness(params)),
557
+ harnessReview: (params) => run("harness/review", null, () => ports.reviewHarnessProposal(params)),
542
558
  subscribe: ports.subscribeEvents && ports.eventNotification ? (listener) => ports.subscribeEvents((event) => listener(ports.eventNotification(event))) : void 0
543
559
  };
544
560
  }
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
2
  import {
3
3
  runAppServerJsonl
4
- } from "./chunk-VCVQLECH.js";
4
+ } from "./chunk-YEKQWRBS.js";
5
5
  import {
6
6
  getBundledRuntimeVersion,
7
7
  openUrlWithSystemBrowser
@@ -10,7 +10,7 @@ import {
10
10
  DEFAULT_HOST,
11
11
  DEFAULT_PORT,
12
12
  parseListen
13
- } from "./chunk-SGWTAB4R.js";
13
+ } from "./chunk-L7SIUJEV.js";
14
14
 
15
15
  // ../server/src/cli.ts
16
16
  import { existsSync } from "node:fs";
@@ -3,10 +3,10 @@ import {
3
3
  resolveWebLaunchMessages,
4
4
  runOpenPondAppServerCli,
5
5
  runOpenPondServerCli
6
- } from "./chunk-F6LVYXS4.js";
7
- import "./chunk-VCVQLECH.js";
6
+ } from "./chunk-YYLUURQ4.js";
7
+ import "./chunk-YEKQWRBS.js";
8
8
  import "./chunk-ZTE6A2VE.js";
9
- import "./chunk-SGWTAB4R.js";
9
+ import "./chunk-L7SIUJEV.js";
10
10
  import "./chunk-2SF6HLT7.js";
11
11
  import "./chunk-M2NXTLH2.js";
12
12
  import "./chunk-WYDVQOBL.js";
@@ -96,14 +96,14 @@ import {
96
96
  workspaceHasHead,
97
97
  workspaceToolExperienceBlocker,
98
98
  writeWorkspaceFile
99
- } from "./chunk-UNNPZEFB.js";
99
+ } from "./chunk-SBVJGA3Y.js";
100
100
  import {
101
101
  runOpenPondServerCli
102
- } from "./chunk-F6LVYXS4.js";
102
+ } from "./chunk-YYLUURQ4.js";
103
103
  import {
104
104
  createAppServer,
105
105
  runAgentCompaction
106
- } from "./chunk-VCVQLECH.js";
106
+ } from "./chunk-YEKQWRBS.js";
107
107
  import {
108
108
  createOpenPondRepoApp,
109
109
  getBundledRuntimeVersion,
@@ -145,7 +145,7 @@ import {
145
145
  runCommand,
146
146
  startMacOSCommandLineToolsInstall,
147
147
  workspaceImageContentType
148
- } from "./chunk-KWZJAKIR.js";
148
+ } from "./chunk-DBHT62E5.js";
149
149
  import {
150
150
  APP_PREFERENCES_CACHE_KEY,
151
151
  APP_PREFERENCES_CACHE_TYPE,
@@ -157,7 +157,7 @@ import {
157
157
  isCliEntrypoint,
158
158
  now,
159
159
  textFromUnknown
160
- } from "./chunk-SGWTAB4R.js";
160
+ } from "./chunk-L7SIUJEV.js";
161
161
  import {
162
162
  AccountStateSchema,
163
163
  AdapterValidationReceiptSchema,
@@ -59788,6 +59788,10 @@ ${grader.rubric}`
59788
59788
  agentSnapshot: release.agentSnapshot
59789
59789
  } : { valid: false, reason: "No Local Harness release is selected." };
59790
59790
  },
59791
+ updateHarnessBackgroundReview: harnessSettingsRoutes.updateHarnessBackgroundReviewPayload,
59792
+ diffHarness: harnessSettingsRoutes.harnessDiffPayload,
59793
+ rollbackHarness: harnessSettingsRoutes.rollbackHarnessPayload,
59794
+ reviewHarnessProposal: harnessSettingsRoutes.reviewHarnessProposalPayload,
59791
59795
  subscribeRuntimeEvents,
59792
59796
  observeRuntimeOperation: (runtimeEvent) => {
59793
59797
  logger.info("agent runtime operation", runtimeEvent);
@@ -45,8 +45,8 @@ import {
45
45
  truncatePatch,
46
46
  uniqueSortedPaths,
47
47
  workspaceImageContentType
48
- } from "./chunk-KWZJAKIR.js";
49
- import "./chunk-SGWTAB4R.js";
48
+ } from "./chunk-DBHT62E5.js";
49
+ import "./chunk-L7SIUJEV.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-PCDSSESR.js"),
74
- import("./chunks/cli-D5AU4WHW.js")
73
+ import("./chunks/app-server-runtime-CLJWPISO.js"),
74
+ import("./chunks/cli-UU4WCREM.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-3DUVYM7O.js"),
83
- import("./chunks/cli-D5AU4WHW.js")
82
+ import("./chunks/src-L2H4X4IY.js"),
83
+ import("./chunks/cli-UU4WCREM.js")
84
84
  ]);
85
- const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-PCDSSESR.js");
85
+ const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-CLJWPISO.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.42",
3
+ "version": "0.0.43",
4
4
  "openpondReleaseVersioned": true,
5
5
  "license": "MIT",
6
6
  "description": "OpenPond CLI and local harness",