openpond 0.0.47 → 0.0.48

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-TNM6UTTF.js";
5
+ } from "./chunk-4GHFK3DG.js";
6
6
  import "./chunk-NFNEENNR.js";
7
7
  import "./chunk-IM67TWCC.js";
8
- import "./chunk-7B2K727D.js";
9
- import "./chunk-ERQUG3HB.js";
8
+ import "./chunk-37IPWV2S.js";
9
+ import "./chunk-RUEMWXU6.js";
10
10
  import "./chunk-CGVG46T5.js";
11
11
  import "./chunk-I4CQJSZK.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-ERQUG3HB.js";
4
+ } from "./chunk-RUEMWXU6.js";
5
5
 
6
6
  // ../server/src/workspace/workspace-command.ts
7
7
  import { spawn, spawnSync } from "node:child_process";
@@ -33,14 +33,14 @@ import {
33
33
  truncatePatch,
34
34
  uniqueSortedPaths,
35
35
  workspaceImageContentType
36
- } from "./chunk-7B2K727D.js";
36
+ } from "./chunk-37IPWV2S.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-ERQUG3HB.js";
43
+ } from "./chunk-RUEMWXU6.js";
44
44
  import {
45
45
  AppPreferencesSchema,
46
46
  ApplyCreateImproveRunActionRequestSchema,
@@ -21546,9 +21546,16 @@ export const tasks = ${JSON.stringify(taskset.tasks.map((task) => ({ id: task.id
21546
21546
  }
21547
21547
 
21548
21548
  // ../server/src/training/harness-review-taskset.ts
21549
+ var HARNESS_REVIEW_TASKSET_STRATEGY = {
21550
+ buildIntent: "verifiable_reward",
21551
+ methodHint: "grpo"
21552
+ };
21549
21553
  async function startHarnessReviewTasksetAuthoring(input) {
21550
21554
  const review = await requireTasksetReview(input.store, input.workspaceId, input.reviewRef);
21551
- const candidateId = `harness-review-${review.contentHash.slice(0, 24)}`;
21555
+ const candidateId = `harness-review-${contentHash({
21556
+ review: review.contentHash,
21557
+ strategy: HARNESS_REVIEW_TASKSET_STRATEGY
21558
+ }).slice(0, 24)}`;
21552
21559
  const existing = (await input.store.listTaskCreationSnapshots(input.profileId)).find((snapshot) => snapshot.request.candidateId === candidateId);
21553
21560
  if (existing) return existing;
21554
21561
  const [routes, triggers, observations] = await Promise.all([
@@ -21628,10 +21635,10 @@ async function startHarnessReviewTasksetAuthoring(input) {
21628
21635
  mode: "customize",
21629
21636
  entryMode: "automated",
21630
21637
  resourceIntent: "workproduct",
21631
- buildIntent: "rubric",
21638
+ buildIntent: HARNESS_REVIEW_TASKSET_STRATEGY.buildIntent,
21632
21639
  buildSpecification: null,
21633
21640
  objective: review.claim?.statement ?? review.reason,
21634
- methodHint: null,
21641
+ methodHint: HARNESS_REVIEW_TASKSET_STRATEGY.methodHint,
21635
21642
  preferredBaseModelId: null,
21636
21643
  preferredBaseModel: null,
21637
21644
  candidateId,
@@ -41248,7 +41255,7 @@ function uniqueEvidence(run, evidence) {
41248
41255
  }
41249
41256
  async function verifyAppliedProfileCommit(input) {
41250
41257
  const command = input.command ?? (async (name, args, cwd, env) => {
41251
- const { runWorkspaceCommand } = await import("./workspaces-EICADW3U.js");
41258
+ const { runWorkspaceCommand } = await import("./workspaces-5LKGF3AG.js");
41252
41259
  return runWorkspaceCommand(name, args, cwd, env);
41253
41260
  });
41254
41261
  const result = await command("git", ["rev-parse", "HEAD"], input.repoPath);
@@ -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.47";
6
+ var VERSION = "0.0.48";
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";
@@ -10,7 +10,7 @@ import {
10
10
  DEFAULT_HOST,
11
11
  DEFAULT_PORT,
12
12
  parseListen
13
- } from "./chunk-ERQUG3HB.js";
13
+ } from "./chunk-RUEMWXU6.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-KPVNB2KS.js";
6
+ } from "./chunk-VTCLHCHX.js";
7
7
  import "./chunk-NFNEENNR.js";
8
8
  import "./chunk-IM67TWCC.js";
9
- import "./chunk-ERQUG3HB.js";
9
+ import "./chunk-RUEMWXU6.js";
10
10
  import "./chunk-CGVG46T5.js";
11
11
  import "./chunk-I4CQJSZK.js";
12
12
  import "./chunk-WYDVQOBL.js";
@@ -110,10 +110,10 @@ import {
110
110
  workspaceHasHead,
111
111
  workspaceToolExperienceBlocker,
112
112
  writeWorkspaceFile
113
- } from "./chunk-TNM6UTTF.js";
113
+ } from "./chunk-4GHFK3DG.js";
114
114
  import {
115
115
  runOpenPondServerCli
116
- } from "./chunk-KPVNB2KS.js";
116
+ } from "./chunk-VTCLHCHX.js";
117
117
  import {
118
118
  createAppServer,
119
119
  runAgentCompaction
@@ -159,7 +159,7 @@ import {
159
159
  runCommand,
160
160
  startMacOSCommandLineToolsInstall,
161
161
  workspaceImageContentType
162
- } from "./chunk-7B2K727D.js";
162
+ } from "./chunk-37IPWV2S.js";
163
163
  import {
164
164
  APP_PREFERENCES_CACHE_KEY,
165
165
  APP_PREFERENCES_CACHE_TYPE,
@@ -171,7 +171,7 @@ import {
171
171
  isCliEntrypoint,
172
172
  now,
173
173
  textFromUnknown
174
- } from "./chunk-ERQUG3HB.js";
174
+ } from "./chunk-RUEMWXU6.js";
175
175
  import {
176
176
  AccountStateSchema,
177
177
  AdapterValidationReceiptSchema,
@@ -45,8 +45,8 @@ import {
45
45
  truncatePatch,
46
46
  uniqueSortedPaths,
47
47
  workspaceImageContentType
48
- } from "./chunk-7B2K727D.js";
49
- import "./chunk-ERQUG3HB.js";
48
+ } from "./chunk-37IPWV2S.js";
49
+ import "./chunk-RUEMWXU6.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-4KT5OMVC.js"),
74
- import("./chunks/cli-TINOXBYY.js")
73
+ import("./chunks/app-server-runtime-NR6VUXZG.js"),
74
+ import("./chunks/cli-7APSIEWR.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-64JULYJS.js"),
83
- import("./chunks/cli-TINOXBYY.js")
82
+ import("./chunks/src-EFVACWDG.js"),
83
+ import("./chunks/cli-7APSIEWR.js")
84
84
  ]);
85
- const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-4KT5OMVC.js");
85
+ const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-NR6VUXZG.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.47",
3
+ "version": "0.0.48",
4
4
  "openpondReleaseVersioned": true,
5
5
  "license": "MIT",
6
6
  "description": "OpenPond CLI and local harness",