openpond 0.0.49 → 0.0.50

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.
Files changed (30) hide show
  1. package/dist/chunks/{app-layer-E2JWCA6D.js → app-layer-IMZRDGJN.js} +2 -2
  2. package/dist/chunks/{app-server-runtime-OWEIHFEU.js → app-server-runtime-LLCQV5U2.js} +6 -6
  3. package/dist/chunks/{apps-VQDIVGST.js → apps-E24RB6CK.js} +2 -2
  4. package/dist/chunks/{chunk-UJV3UYLP.js → chunk-DRGFGJIZ.js} +1 -1
  5. package/dist/chunks/{chunk-QD4FR3O4.js → chunk-I5LFWAMT.js} +32 -32
  6. package/dist/chunks/{chunk-NR2N6JAC.js → chunk-L4G3SYBA.js} +1 -1
  7. package/dist/chunks/{chunk-LRLDBKTI.js → chunk-NNSRF6UH.js} +1 -1
  8. package/dist/chunks/{chunk-CNIMJPM5.js → chunk-QESBWYQV.js} +6 -6
  9. package/dist/chunks/{chunk-3BR4ACFF.js → chunk-RSXT32DP.js} +1 -1
  10. package/dist/chunks/{chunk-7M4HGT5X.js → chunk-SC5LMRWC.js} +1 -1
  11. package/dist/chunks/{chunk-NRLI3S72.js → chunk-W2S2PF3L.js} +1 -1
  12. package/dist/chunks/{chunk-64LWPRGN.js → chunk-WMEDRQD3.js} +2 -2
  13. package/dist/chunks/{chunk-7G472COA.js → chunk-XI3OTQU6.js} +3 -2
  14. package/dist/chunks/{cli-T6TTMVSU.js → cli-5B6DPVAX.js} +5 -5
  15. package/dist/chunks/{core-commands-UW4XTGXK.js → core-commands-TSUT45HF.js} +3 -3
  16. package/dist/chunks/{desktop-test-JTBPE7CH.js → desktop-test-BT5BGOPT.js} +2 -2
  17. package/dist/chunks/{extension-VP7LMA32.js → extension-BNWHZQ5W.js} +1 -1
  18. package/dist/chunks/{help-OZNCHHO3.js → help-NWLRDXK2.js} +1 -1
  19. package/dist/chunks/{opchat-RY3QU5UJ.js → opchat-YMN5TYHJ.js} +2 -2
  20. package/dist/chunks/{organizations-GLKSXK3Q.js → organizations-QGD5FZFK.js} +4 -4
  21. package/dist/chunks/{profile-JWUYJF23.js → profile-RMDP5R5R.js} +2 -2
  22. package/dist/chunks/{project-agent-L4EB7QFO.js → project-agent-NQ72JSSY.js} +2 -2
  23. package/dist/chunks/{sandbox-command-26255MSV.js → sandbox-command-4WEYAANJ.js} +2 -2
  24. package/dist/chunks/{sandbox-template-6UDA3AEY.js → sandbox-template-3KPEGEXQ.js} +3 -3
  25. package/dist/chunks/{src-7S66FU4P.js → src-RMLMCS2A.js} +7 -7
  26. package/dist/chunks/{src-GCZ2GMG3.js → src-Z2IT67PX.js} +3 -3
  27. package/dist/chunks/{teams-bot-PO3GOLWU.js → teams-bot-R2X326KD.js} +2 -2
  28. package/dist/chunks/{workspaces-26IF6TQV.js → workspaces-YOYCYS3T.js} +2 -2
  29. package/dist/cli.js +13 -13
  30. package/package.json +1 -1
@@ -5,9 +5,9 @@ import {
5
5
  import "./chunk-KHNHUA2H.js";
6
6
  import {
7
7
  CliUsageError
8
- } from "./chunk-LRLDBKTI.js";
8
+ } from "./chunk-NNSRF6UH.js";
9
9
  import "./chunk-SMNFI2FU.js";
10
- import "./chunk-QD4FR3O4.js";
10
+ import "./chunk-I5LFWAMT.js";
11
11
  import "./chunk-DBHSOTYZ.js";
12
12
  import "./chunk-KSRWKXRB.js";
13
13
  import "./chunk-MUMPWI4O.js";
@@ -2,13 +2,13 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
2
2
  import {
3
3
  APP_SERVER_COMPOSITION,
4
4
  createOpenPondAppServer
5
- } from "./chunk-CNIMJPM5.js";
5
+ } from "./chunk-QESBWYQV.js";
6
6
  import "./chunk-NFNEENNR.js";
7
- import "./chunk-NRLI3S72.js";
8
- import "./chunk-7M4HGT5X.js";
9
- import "./chunk-UJV3UYLP.js";
10
- import "./chunk-3BR4ACFF.js";
11
- import "./chunk-7G472COA.js";
7
+ import "./chunk-W2S2PF3L.js";
8
+ import "./chunk-SC5LMRWC.js";
9
+ import "./chunk-DRGFGJIZ.js";
10
+ import "./chunk-RSXT32DP.js";
11
+ import "./chunk-XI3OTQU6.js";
12
12
  import "./chunk-WYDVQOBL.js";
13
13
  import "./chunk-KHNHUA2H.js";
14
14
  import "./chunk-UACZUFIA.js";
@@ -12,12 +12,12 @@ import {
12
12
  resolveAppTarget
13
13
  } from "./chunk-FCVVOMIP.js";
14
14
  import "./chunk-KHNHUA2H.js";
15
- import "./chunk-LRLDBKTI.js";
15
+ import "./chunk-NNSRF6UH.js";
16
16
  import {
17
17
  resolveBaseUrl,
18
18
  resolvePublicApiBaseUrl
19
19
  } from "./chunk-SMNFI2FU.js";
20
- import "./chunk-QD4FR3O4.js";
20
+ import "./chunk-I5LFWAMT.js";
21
21
  import {
22
22
  createAgentFromPrompt,
23
23
  deployApp,
@@ -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.49";
6
+ var VERSION = "0.0.50";
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";
@@ -397,7 +397,7 @@ var CLI_COMMAND_REGISTRY = [
397
397
  name: "help",
398
398
  usage: "openpond help",
399
399
  optionSchema: {},
400
- handler: async () => (await import("./help-OZNCHHO3.js")).printHelp()
400
+ handler: async () => (await import("./help-NWLRDXK2.js")).printHelp()
401
401
  },
402
402
  {
403
403
  name: "version",
@@ -409,19 +409,19 @@ var CLI_COMMAND_REGISTRY = [
409
409
  name: "check-update",
410
410
  usage: "openpond check-update",
411
411
  optionSchema: {},
412
- handler: async () => (await import("./core-commands-UW4XTGXK.js")).runCheckUpdate()
412
+ handler: async () => (await import("./core-commands-TSUT45HF.js")).runCheckUpdate()
413
413
  },
414
414
  {
415
415
  name: "login",
416
416
  usage: "openpond login [--base-url <url>]",
417
417
  optionSchema: CLI_GLOBAL_OPTION_SCHEMA,
418
- handler: async ({ options }) => (await import("./core-commands-UW4XTGXK.js")).runLogin(options)
418
+ handler: async ({ options }) => (await import("./core-commands-TSUT45HF.js")).runLogin(options)
419
419
  },
420
420
  {
421
421
  name: "init",
422
422
  usage: "openpond init [--path <dir>]",
423
423
  optionSchema: { path: "string" },
424
- handler: async ({ options }) => (await import("./profile-JWUYJF23.js")).runOpenPondInitCommand(options)
424
+ handler: async ({ options }) => (await import("./profile-RMDP5R5R.js")).runOpenPondInitCommand(options)
425
425
  },
426
426
  {
427
427
  name: "profile",
@@ -449,13 +449,13 @@ var CLI_COMMAND_REGISTRY = [
449
449
  publishHostedSource: "boolean",
450
450
  teamId: "string"
451
451
  },
452
- handler: async ({ options, rest }) => (await import("./profile-JWUYJF23.js")).runOpenPondProfileCommand(options, rest)
452
+ handler: async ({ options, rest }) => (await import("./profile-RMDP5R5R.js")).runOpenPondProfileCommand(options, rest)
453
453
  },
454
454
  {
455
455
  name: "agents",
456
456
  usage: "openpond agents [--json]",
457
457
  optionSchema: { json: "boolean" },
458
- handler: async ({ options, rest }) => (await import("./profile-JWUYJF23.js")).runOpenPondAgentsCommand(options, rest)
458
+ handler: async ({ options, rest }) => (await import("./profile-RMDP5R5R.js")).runOpenPondAgentsCommand(options, rest)
459
459
  },
460
460
  ...profileSdkAliasDefinitions(),
461
461
  {
@@ -468,25 +468,25 @@ var CLI_COMMAND_REGISTRY = [
468
468
  "openpond extension remove <owner/repo> [--json]"
469
469
  ],
470
470
  optionSchema: { all: "boolean", json: "boolean", ref: "string" },
471
- handler: async ({ options, rest }) => (await import("./extension-VP7LMA32.js")).runOpenPondExtensionCommand(options, rest)
471
+ handler: async ({ options, rest }) => (await import("./extension-BNWHZQ5W.js")).runOpenPondExtensionCommand(options, rest)
472
472
  },
473
473
  {
474
474
  name: "profiles",
475
475
  usage: "openpond profiles [args]",
476
476
  optionSchema: { json: "boolean" },
477
- handler: async ({ options, rest }) => (await import("./core-commands-UW4XTGXK.js")).runProfiles(options, rest)
477
+ handler: async ({ options, rest }) => (await import("./core-commands-TSUT45HF.js")).runProfiles(options, rest)
478
478
  },
479
479
  {
480
480
  name: "account",
481
481
  usage: "openpond account",
482
482
  optionSchema: { json: "boolean" },
483
- handler: async () => (await import("./core-commands-UW4XTGXK.js")).runAccount()
483
+ handler: async () => (await import("./core-commands-TSUT45HF.js")).runAccount()
484
484
  },
485
485
  {
486
486
  name: "health",
487
487
  usage: "openpond health",
488
488
  optionSchema: { json: "boolean" },
489
- handler: async ({ options }) => (await import("./core-commands-UW4XTGXK.js")).runHealth(options)
489
+ handler: async ({ options }) => (await import("./core-commands-TSUT45HF.js")).runHealth(options)
490
490
  },
491
491
  {
492
492
  name: "app-server",
@@ -494,7 +494,7 @@ var CLI_COMMAND_REGISTRY = [
494
494
  optionSchema: {
495
495
  storeDir: "string"
496
496
  },
497
- handler: async ({ options, rest }) => (await import("./app-layer-E2JWCA6D.js")).runOpenPondServerCommand("app-server", options, rest)
497
+ handler: async ({ options, rest }) => (await import("./app-layer-IMZRDGJN.js")).runOpenPondServerCommand("app-server", options, rest)
498
498
  },
499
499
  {
500
500
  name: "serve",
@@ -505,7 +505,7 @@ var CLI_COMMAND_REGISTRY = [
505
505
  listen: "string",
506
506
  port: "integer"
507
507
  },
508
- handler: async ({ options, rest }) => (await import("./app-layer-E2JWCA6D.js")).runOpenPondServerCommand("serve", options, rest)
508
+ handler: async ({ options, rest }) => (await import("./app-layer-IMZRDGJN.js")).runOpenPondServerCommand("serve", options, rest)
509
509
  },
510
510
  {
511
511
  name: "ui",
@@ -518,7 +518,7 @@ var CLI_COMMAND_REGISTRY = [
518
518
  port: "integer",
519
519
  webRoot: "string"
520
520
  },
521
- handler: async ({ options, rest }) => (await import("./app-layer-E2JWCA6D.js")).runOpenPondServerCommand("web", options, rest)
521
+ handler: async ({ options, rest }) => (await import("./app-layer-IMZRDGJN.js")).runOpenPondServerCommand("web", options, rest)
522
522
  },
523
523
  {
524
524
  name: "tui",
@@ -532,13 +532,13 @@ var CLI_COMMAND_REGISTRY = [
532
532
  provider: "string",
533
533
  server: "string"
534
534
  },
535
- handler: async ({ options, rest }) => (await import("./app-layer-E2JWCA6D.js")).runOpenPondTerminalCommand(options, rest)
535
+ handler: async ({ options, rest }) => (await import("./app-layer-IMZRDGJN.js")).runOpenPondTerminalCommand(options, rest)
536
536
  },
537
537
  {
538
538
  name: "chat",
539
539
  usage: "openpond chat (--message-file <path>|--message <text>|--stdin) --non-interactive [--provider <id>] [--model <id>] [--agent <id>] [--project <id>] [--resume <session-id>] [--yes] [--approval-policy <policy>] [--json] [--timeout-sec <n>] [--max-output-bytes <n>] [--sandbox <mode>]",
540
540
  optionSchema: CHAT_OPTION_SCHEMA,
541
- handler: async ({ options, rest }) => (await import("./app-layer-E2JWCA6D.js")).runOpenPondTerminalCommand(options, rest)
541
+ handler: async ({ options, rest }) => (await import("./app-layer-IMZRDGJN.js")).runOpenPondTerminalCommand(options, rest)
542
542
  },
543
543
  {
544
544
  name: "tool",
@@ -574,7 +574,7 @@ var CLI_COMMAND_REGISTRY = [
574
574
  name: "sandbox-template",
575
575
  usage: "openpond sandbox-template <command> [args]",
576
576
  optionSchema: SANDBOX_TEMPLATE_OPTION_SCHEMA,
577
- handler: async ({ options, rest }) => (await import("./sandbox-template-6UDA3AEY.js")).runSandboxTemplateCommand(options, rest)
577
+ handler: async ({ options, rest }) => (await import("./sandbox-template-3KPEGEXQ.js")).runSandboxTemplateCommand(options, rest)
578
578
  },
579
579
  {
580
580
  name: "repo",
@@ -619,13 +619,13 @@ var CLI_COMMAND_REGISTRY = [
619
619
  toolset: "string",
620
620
  url: "string"
621
621
  },
622
- handler: async ({ options, rest }) => (await import("./organizations-GLKSXK3Q.js")).runOrganizationsCommand(options, rest)
622
+ handler: async ({ options, rest }) => (await import("./organizations-QGD5FZFK.js")).runOrganizationsCommand(options, rest)
623
623
  },
624
624
  {
625
625
  name: "project",
626
626
  usage: "openpond project <list|create|upsert|get|update|sync|source-upload|archive> [args]",
627
627
  optionSchema: PROJECT_OPTION_SCHEMA,
628
- handler: async ({ options, rest }) => (await import("./project-agent-L4EB7QFO.js")).runProjectCommand(options, rest)
628
+ handler: async ({ options, rest }) => (await import("./project-agent-NQ72JSSY.js")).runProjectCommand(options, rest)
629
629
  },
630
630
  {
631
631
  name: "agent",
@@ -637,7 +637,7 @@ var CLI_COMMAND_REGISTRY = [
637
637
  "openpond agent source publish <agentId> --team-id <id> [--expected-manifest-hash <hash>]"
638
638
  ],
639
639
  optionSchema: AGENT_OPTION_SCHEMA,
640
- handler: async ({ options, rest }) => (await import("./project-agent-L4EB7QFO.js")).runAgentCommand(options, rest)
640
+ handler: async ({ options, rest }) => (await import("./project-agent-NQ72JSSY.js")).runAgentCommand(options, rest)
641
641
  },
642
642
  {
643
643
  name: "desktop-test",
@@ -658,13 +658,13 @@ var CLI_COMMAND_REGISTRY = [
658
658
  token: "string",
659
659
  tokenFile: "string"
660
660
  },
661
- handler: async ({ options, rest }) => (await import("./desktop-test-JTBPE7CH.js")).runDesktopTestCommand(options, rest)
661
+ handler: async ({ options, rest }) => (await import("./desktop-test-BT5BGOPT.js")).runDesktopTestCommand(options, rest)
662
662
  },
663
663
  {
664
664
  name: "sandbox",
665
665
  usage: "openpond sandbox <command> [args]",
666
666
  optionSchema: SANDBOX_OPTION_SCHEMA,
667
- handler: async ({ options, rest }) => (await import("./sandbox-command-26255MSV.js")).runSandboxCommand(options, rest)
667
+ handler: async ({ options, rest }) => (await import("./sandbox-command-4WEYAANJ.js")).runSandboxCommand(options, rest)
668
668
  },
669
669
  {
670
670
  name: "training",
@@ -707,7 +707,7 @@ var CLI_COMMAND_REGISTRY = [
707
707
  skipTool: "boolean",
708
708
  stream: "boolean"
709
709
  },
710
- handler: async ({ options, rest }) => (await import("./opchat-RY3QU5UJ.js")).runOpChatCommand(options, rest)
710
+ handler: async ({ options, rest }) => (await import("./opchat-YMN5TYHJ.js")).runOpChatCommand(options, rest)
711
711
  },
712
712
  {
713
713
  name: "teams-bot",
@@ -716,7 +716,7 @@ var CLI_COMMAND_REGISTRY = [
716
716
  json: "boolean",
717
717
  teamId: "string"
718
718
  },
719
- handler: async ({ options, rest }) => (await import("./teams-bot-PO3GOLWU.js")).runTeamsBotCommand(options, rest)
719
+ handler: async ({ options, rest }) => (await import("./teams-bot-R2X326KD.js")).runTeamsBotCommand(options, rest)
720
720
  },
721
721
  {
722
722
  name: "apps",
@@ -737,7 +737,7 @@ var CLI_COMMAND_REGISTRY = [
737
737
  name: "opentool",
738
738
  usage: "openpond opentool <init|validate|build> [args]",
739
739
  optionSchema: {},
740
- handler: async ({ rest }) => (await import("./core-commands-UW4XTGXK.js")).runOpentool(rest)
740
+ handler: async ({ rest }) => (await import("./core-commands-TSUT45HF.js")).runOpentool(rest)
741
741
  }
742
742
  ];
743
743
  var CLI_COMMAND_BY_NAME = /* @__PURE__ */ new Map();
@@ -809,11 +809,11 @@ function profileSdkAliasDefinitions() {
809
809
  name,
810
810
  usage: `openpond ${name} [args]`,
811
811
  optionSchema: PROFILE_SDK_OPTION_SCHEMA,
812
- handler: async ({ options, rest }) => (await import("./profile-JWUYJF23.js")).runOpenPondProfileSdkAlias(name, options, rest)
812
+ handler: async ({ options, rest }) => (await import("./profile-RMDP5R5R.js")).runOpenPondProfileSdkAlias(name, options, rest)
813
813
  }));
814
814
  }
815
815
  async function runToolCommand({ options, rest }) {
816
- const { runToolList, runToolRun } = await import("./core-commands-UW4XTGXK.js");
816
+ const { runToolList, runToolRun } = await import("./core-commands-TSUT45HF.js");
817
817
  const subcommand = rest[0];
818
818
  if (subcommand === "list") {
819
819
  const target = rest[1];
@@ -837,8 +837,8 @@ async function runToolCommand({ options, rest }) {
837
837
  throw new Error("usage: tool <list|run> <handle>/<repo> [args]");
838
838
  }
839
839
  async function runBacktestCommand({ options, rest }) {
840
- const { runBacktestRun } = await import("./core-commands-UW4XTGXK.js");
841
- const { runBacktestEvents, runBacktestGet } = await import("./apps-VQDIVGST.js");
840
+ const { runBacktestRun } = await import("./core-commands-TSUT45HF.js");
841
+ const { runBacktestEvents, runBacktestGet } = await import("./apps-E24RB6CK.js");
842
842
  const subcommand = rest[0] || "run";
843
843
  if (subcommand === "run") {
844
844
  const target = rest[1];
@@ -872,7 +872,7 @@ async function runBacktestCommand({ options, rest }) {
872
872
  throw new Error("usage: backtest <run|events|get> <handle>/<repo> [args]");
873
873
  }
874
874
  async function runDeployCommand({ options, rest }) {
875
- const { runDeployWatch } = await import("./core-commands-UW4XTGXK.js");
875
+ const { runDeployWatch } = await import("./core-commands-TSUT45HF.js");
876
876
  const subcommand = rest[0] || "watch";
877
877
  if (subcommand !== "watch") {
878
878
  throw new Error(
@@ -888,7 +888,7 @@ async function runDeployCommand({ options, rest }) {
888
888
  await runDeployWatch(options, target);
889
889
  }
890
890
  async function runTemplateCommand({ options, rest }) {
891
- const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-UW4XTGXK.js");
891
+ const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-TSUT45HF.js");
892
892
  const subcommand = rest[0] || "status";
893
893
  const target = rest[1];
894
894
  if (!target) {
@@ -913,7 +913,7 @@ async function runTemplateCommand({ options, rest }) {
913
913
  );
914
914
  }
915
915
  async function runRepoCommand({ options, rest }) {
916
- const { runRepoCreate, runRepoPush } = await import("./core-commands-UW4XTGXK.js");
916
+ const { runRepoCreate, runRepoPush } = await import("./core-commands-TSUT45HF.js");
917
917
  const subcommand = rest[0] || "create";
918
918
  if (subcommand === "create") {
919
919
  await runRepoCreate(options, rest.slice(1));
@@ -940,7 +940,7 @@ async function runAppsCommand({ options, rest }) {
940
940
  runAppsSummary,
941
941
  runAppsTools,
942
942
  runAppsToolsExecute
943
- } = await import("./apps-VQDIVGST.js");
943
+ } = await import("./apps-E24RB6CK.js");
944
944
  const subcommand = rest[0];
945
945
  if (subcommand === "list") {
946
946
  await runAppsList(options);
@@ -28,7 +28,7 @@ import {
28
28
  compareSemver,
29
29
  fetchLatestNpmVersion,
30
30
  getInstalledCliVersion
31
- } from "./chunk-QD4FR3O4.js";
31
+ } from "./chunk-I5LFWAMT.js";
32
32
  import {
33
33
  checkOpenPondApiHealth,
34
34
  createHeadlessApps,
@@ -4,7 +4,7 @@ import {
4
4
  getAnyCliOptionKind,
5
5
  getCliCommandDefinition,
6
6
  getCliOptionKind
7
- } from "./chunk-QD4FR3O4.js";
7
+ } from "./chunk-I5LFWAMT.js";
8
8
  import {
9
9
  parseJsonOption
10
10
  } from "./chunk-MUMPWI4O.js";
@@ -20,7 +20,7 @@ import {
20
20
  getBundledRuntimeVersion,
21
21
  loadOpenPondAccountContext,
22
22
  streamOpenPondHostedChatTurn
23
- } from "./chunk-NRLI3S72.js";
23
+ } from "./chunk-W2S2PF3L.js";
24
24
  import {
25
25
  assertSafeBranchName,
26
26
  isGeneratedWorkspacePath,
@@ -33,14 +33,14 @@ import {
33
33
  truncatePatch,
34
34
  uniqueSortedPaths,
35
35
  workspaceImageContentType
36
- } from "./chunk-7M4HGT5X.js";
36
+ } from "./chunk-SC5LMRWC.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-UJV3UYLP.js";
43
+ } from "./chunk-DRGFGJIZ.js";
44
44
  import {
45
45
  AppPreferencesSchema,
46
46
  ApplyCreateImproveRunActionRequestSchema,
@@ -164,7 +164,7 @@ import {
164
164
  runAgentSdkProjectCommand,
165
165
  runProfileSkillCommand,
166
166
  sidebarFileBookmarkId
167
- } from "./chunk-3BR4ACFF.js";
167
+ } from "./chunk-RSXT32DP.js";
168
168
  import {
169
169
  AgentSnapshotSchema,
170
170
  AttemptReceiptSchema,
@@ -238,7 +238,7 @@ import {
238
238
  stableId,
239
239
  uniqueEventRefs,
240
240
  validateConnectedAppProviderOperationRequest
241
- } from "./chunk-7G472COA.js";
241
+ } from "./chunk-XI3OTQU6.js";
242
242
  import {
243
243
  external_exports
244
244
  } from "./chunk-WYDVQOBL.js";
@@ -41662,7 +41662,7 @@ function uniqueEvidence(run, evidence) {
41662
41662
  }
41663
41663
  async function verifyAppliedProfileCommit(input) {
41664
41664
  const command = input.command ?? (async (name, args, cwd, env) => {
41665
- const { runWorkspaceCommand } = await import("./workspaces-26IF6TQV.js");
41665
+ const { runWorkspaceCommand } = await import("./workspaces-YOYCYS3T.js");
41666
41666
  return runWorkspaceCommand(name, args, cwd, env);
41667
41667
  });
41668
41668
  const result = await command("git", ["rev-parse", "HEAD"], input.repoPath);
@@ -14,7 +14,7 @@ import {
14
14
  ToolDeclarationSchema,
15
15
  createHarnessAdvanceReceipt,
16
16
  validateConnectedAppToolCallRequest
17
- } from "./chunk-7G472COA.js";
17
+ } from "./chunk-XI3OTQU6.js";
18
18
  import {
19
19
  external_exports,
20
20
  yaml
@@ -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-UJV3UYLP.js";
4
+ } from "./chunk-DRGFGJIZ.js";
5
5
 
6
6
  // ../server/src/workspace/workspace-command.ts
7
7
  import { spawn, spawnSync } from "node:child_process";
@@ -12,7 +12,7 @@ import {
12
12
  saveConfig,
13
13
  saveProfileApiKey,
14
14
  setActiveProfile
15
- } from "./chunk-3BR4ACFF.js";
15
+ } from "./chunk-RSXT32DP.js";
16
16
  import {
17
17
  DEFAULT_OPENPOND_API_BASE_URL,
18
18
  DEFAULT_OPENPOND_WEB_BASE_URL,
@@ -5,12 +5,12 @@ import {
5
5
  import {
6
6
  getBundledRuntimeVersion,
7
7
  openUrlWithSystemBrowser
8
- } from "./chunk-NRLI3S72.js";
8
+ } from "./chunk-W2S2PF3L.js";
9
9
  import {
10
10
  DEFAULT_HOST,
11
11
  DEFAULT_PORT,
12
12
  parseListen
13
- } from "./chunk-UJV3UYLP.js";
13
+ } from "./chunk-DRGFGJIZ.js";
14
14
 
15
15
  // ../server/src/cli.ts
16
16
  import { existsSync } from "node:fs";
@@ -3169,7 +3169,7 @@ function detectHarnessImprovementAtBoundary(input) {
3169
3169
  decision: "queue_refiner",
3170
3170
  deterministicRoute: null,
3171
3171
  suggestedRoutes: [],
3172
- reason: actionable.some((observation) => observation.kind === "user_turn") ? "A completed user turn is ready for bounded background Harness review." : "A recovered detour may contain a reusable Harness improvement.",
3172
+ reason: actionable.some((observation) => observation.kind === "user_turn") ? "A completed user turn is ready for bounded background Harness review." : actionable.some((observation) => observation.kind === "tool_failure" && observation.state === "terminal") ? "A terminal tool failure is ready for bounded background Harness review." : "A recovered detour may contain a reusable Harness improvement.",
3173
3173
  estimatedMaxCostUsd
3174
3174
  })
3175
3175
  };
@@ -3179,6 +3179,7 @@ function collectObservations(input) {
3179
3179
  const openFailures = [];
3180
3180
  const seenFailureKeys = /* @__PURE__ */ new Set();
3181
3181
  const recoveredFailureKeys = /* @__PURE__ */ new Set();
3182
+ const terminalBoundary = input.boundary.kind === "turn_completed" || input.boundary.kind === "turn_paused";
3182
3183
  const userTurnEvent = input.boundary.kind === "turn_completed" ? latestUserTurnEvent(input.events) : null;
3183
3184
  if (userTurnEvent) {
3184
3185
  observations.push(observationForEvents({
@@ -3213,7 +3214,7 @@ function collectObservations(input) {
3213
3214
  observations.push(observationFor({
3214
3215
  input,
3215
3216
  kind: "tool_failure",
3216
- state: input.boundary.kind === "turn_completed" ? "terminal" : "open",
3217
+ state: terminalBoundary ? "terminal" : "open",
3217
3218
  outcomes: [outcome],
3218
3219
  deterministicClass: outcome.deterministicClass,
3219
3220
  summary: `Tool ${outcome.action} failed${outcome.deterministicClass ? ` (${outcome.deterministicClass})` : ""}.`
@@ -3,12 +3,12 @@ import {
3
3
  resolveWebLaunchMessages,
4
4
  runOpenPondAppServerCli,
5
5
  runOpenPondServerCli
6
- } from "./chunk-64LWPRGN.js";
6
+ } from "./chunk-WMEDRQD3.js";
7
7
  import "./chunk-NFNEENNR.js";
8
- import "./chunk-NRLI3S72.js";
9
- import "./chunk-UJV3UYLP.js";
10
- import "./chunk-3BR4ACFF.js";
11
- import "./chunk-7G472COA.js";
8
+ import "./chunk-W2S2PF3L.js";
9
+ import "./chunk-DRGFGJIZ.js";
10
+ import "./chunk-RSXT32DP.js";
11
+ import "./chunk-XI3OTQU6.js";
12
12
  import "./chunk-WYDVQOBL.js";
13
13
  import "./chunk-KHNHUA2H.js";
14
14
  import "./chunk-UACZUFIA.js";
@@ -16,12 +16,12 @@ import {
16
16
  runTemplateUpdate,
17
17
  runToolList,
18
18
  runToolRun
19
- } from "./chunk-NR2N6JAC.js";
19
+ } from "./chunk-L4G3SYBA.js";
20
20
  import "./chunk-FCVVOMIP.js";
21
21
  import "./chunk-KHNHUA2H.js";
22
- import "./chunk-LRLDBKTI.js";
22
+ import "./chunk-NNSRF6UH.js";
23
23
  import "./chunk-SMNFI2FU.js";
24
- import "./chunk-QD4FR3O4.js";
24
+ import "./chunk-I5LFWAMT.js";
25
25
  import "./chunk-DBHSOTYZ.js";
26
26
  import "./chunk-KSRWKXRB.js";
27
27
  import "./chunk-MUMPWI4O.js";
@@ -5,9 +5,9 @@ import {
5
5
  import "./chunk-KHNHUA2H.js";
6
6
  import {
7
7
  CliUsageError
8
- } from "./chunk-LRLDBKTI.js";
8
+ } from "./chunk-NNSRF6UH.js";
9
9
  import "./chunk-SMNFI2FU.js";
10
- import "./chunk-QD4FR3O4.js";
10
+ import "./chunk-I5LFWAMT.js";
11
11
  import "./chunk-DBHSOTYZ.js";
12
12
  import "./chunk-KSRWKXRB.js";
13
13
  import {
@@ -17,7 +17,7 @@ import {
17
17
  SandboxTemplateValidationDiagnosticSchema,
18
18
  ToolDeclarationSchema,
19
19
  validateConnectedAppToolCallRequest
20
- } from "./chunk-7G472COA.js";
20
+ } from "./chunk-XI3OTQU6.js";
21
21
  import {
22
22
  external_exports
23
23
  } from "./chunk-WYDVQOBL.js";
@@ -3,7 +3,7 @@ import {
3
3
  CLI_GLOBAL_OPTION_SCHEMA,
4
4
  formatCliCommandUsage,
5
5
  listCliCommandDefinitions
6
- } from "./chunk-QD4FR3O4.js";
6
+ } from "./chunk-I5LFWAMT.js";
7
7
  import "./chunk-MUMPWI4O.js";
8
8
  import "./chunk-UACZUFIA.js";
9
9
 
@@ -11,13 +11,13 @@ import {
11
11
  ensureApiKey
12
12
  } from "./chunk-FCVVOMIP.js";
13
13
  import "./chunk-KHNHUA2H.js";
14
- import "./chunk-LRLDBKTI.js";
14
+ import "./chunk-NNSRF6UH.js";
15
15
  import {
16
16
  resolveApiBaseUrlOption,
17
17
  resolveBaseUrl,
18
18
  resolveChatApiBaseUrlOption
19
19
  } from "./chunk-SMNFI2FU.js";
20
- import "./chunk-QD4FR3O4.js";
20
+ import "./chunk-I5LFWAMT.js";
21
21
  import {
22
22
  loadConfig
23
23
  } from "./chunk-DBHSOTYZ.js";
@@ -1,6 +1,6 @@
1
1
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
2
- import "./chunk-3BR4ACFF.js";
3
- import "./chunk-7G472COA.js";
2
+ import "./chunk-RSXT32DP.js";
3
+ import "./chunk-XI3OTQU6.js";
4
4
  import "./chunk-WYDVQOBL.js";
5
5
  import {
6
6
  resolveSandboxClient
@@ -9,9 +9,9 @@ import {
9
9
  DEFAULT_OPENPOND_API_BASE_URL,
10
10
  DEFAULT_OPENPOND_WEB_BASE_URL
11
11
  } from "./chunk-KHNHUA2H.js";
12
- import "./chunk-LRLDBKTI.js";
12
+ import "./chunk-NNSRF6UH.js";
13
13
  import "./chunk-SMNFI2FU.js";
14
- import "./chunk-QD4FR3O4.js";
14
+ import "./chunk-I5LFWAMT.js";
15
15
  import "./chunk-DBHSOTYZ.js";
16
16
  import "./chunk-KSRWKXRB.js";
17
17
  import {
@@ -30,9 +30,9 @@ import {
30
30
  resolveSandboxClient
31
31
  } from "./chunk-FCVVOMIP.js";
32
32
  import "./chunk-KHNHUA2H.js";
33
- import "./chunk-LRLDBKTI.js";
33
+ import "./chunk-NNSRF6UH.js";
34
34
  import "./chunk-SMNFI2FU.js";
35
- import "./chunk-QD4FR3O4.js";
35
+ import "./chunk-I5LFWAMT.js";
36
36
  import "./chunk-DBHSOTYZ.js";
37
37
  import "./chunk-KSRWKXRB.js";
38
38
  import {
@@ -36,9 +36,9 @@ import {
36
36
  runCommand
37
37
  } from "./chunk-FCVVOMIP.js";
38
38
  import "./chunk-KHNHUA2H.js";
39
- import "./chunk-LRLDBKTI.js";
39
+ import "./chunk-NNSRF6UH.js";
40
40
  import "./chunk-SMNFI2FU.js";
41
- import "./chunk-QD4FR3O4.js";
41
+ import "./chunk-I5LFWAMT.js";
42
42
  import "./chunk-DBHSOTYZ.js";
43
43
  import "./chunk-KSRWKXRB.js";
44
44
  import {
@@ -22,9 +22,9 @@ import {
22
22
  summarizeSandboxSecret
23
23
  } from "./chunk-FCVVOMIP.js";
24
24
  import "./chunk-KHNHUA2H.js";
25
- import "./chunk-LRLDBKTI.js";
25
+ import "./chunk-NNSRF6UH.js";
26
26
  import "./chunk-SMNFI2FU.js";
27
- import "./chunk-QD4FR3O4.js";
27
+ import "./chunk-I5LFWAMT.js";
28
28
  import "./chunk-DBHSOTYZ.js";
29
29
  import "./chunk-KSRWKXRB.js";
30
30
  import {
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-3HW6OSHP.js";
6
6
  import {
7
7
  resolveGitBranch
8
- } from "./chunk-NR2N6JAC.js";
8
+ } from "./chunk-L4G3SYBA.js";
9
9
  import {
10
10
  OPENPOND_MANIFEST_FILE_NAME,
11
11
  SANDBOX_TEMPLATE_BUILD_PLAN_FILE_NAME,
@@ -35,12 +35,12 @@ import {
35
35
  warnOnRepoHostMismatch
36
36
  } from "./chunk-FCVVOMIP.js";
37
37
  import "./chunk-KHNHUA2H.js";
38
- import "./chunk-LRLDBKTI.js";
38
+ import "./chunk-NNSRF6UH.js";
39
39
  import {
40
40
  resolveBaseUrl,
41
41
  resolvePublicApiBaseUrl
42
42
  } from "./chunk-SMNFI2FU.js";
43
- import "./chunk-QD4FR3O4.js";
43
+ import "./chunk-I5LFWAMT.js";
44
44
  import {
45
45
  createRepo,
46
46
  loadConfig
@@ -112,10 +112,10 @@ import {
112
112
  workspaceHasHead,
113
113
  workspaceToolExperienceBlocker,
114
114
  writeWorkspaceFile
115
- } from "./chunk-CNIMJPM5.js";
115
+ } from "./chunk-QESBWYQV.js";
116
116
  import {
117
117
  runOpenPondServerCli
118
- } from "./chunk-64LWPRGN.js";
118
+ } from "./chunk-WMEDRQD3.js";
119
119
  import {
120
120
  createAppServer,
121
121
  runAgentCompaction
@@ -133,7 +133,7 @@ import {
133
133
  streamOpenPondHostedChatTurn,
134
134
  switchOpenPondAccount,
135
135
  updateOpenPondAccountConfig
136
- } from "./chunk-NRLI3S72.js";
136
+ } from "./chunk-W2S2PF3L.js";
137
137
  import {
138
138
  appWorkspacePaths,
139
139
  checkWorkspaceGitAvailability,
@@ -161,7 +161,7 @@ import {
161
161
  runCommand,
162
162
  startMacOSCommandLineToolsInstall,
163
163
  workspaceImageContentType
164
- } from "./chunk-7M4HGT5X.js";
164
+ } from "./chunk-SC5LMRWC.js";
165
165
  import {
166
166
  APP_PREFERENCES_CACHE_KEY,
167
167
  APP_PREFERENCES_CACHE_TYPE,
@@ -173,7 +173,7 @@ import {
173
173
  isCliEntrypoint,
174
174
  now,
175
175
  textFromUnknown
176
- } from "./chunk-UJV3UYLP.js";
176
+ } from "./chunk-DRGFGJIZ.js";
177
177
  import {
178
178
  AccountStateSchema,
179
179
  AdapterValidationReceiptSchema,
@@ -411,7 +411,7 @@ import {
411
411
  workFormatCapabilityForContentType,
412
412
  workspacePathFromLocalPathWorkspaceId,
413
413
  writeSourceUploadCache
414
- } from "./chunk-3BR4ACFF.js";
414
+ } from "./chunk-RSXT32DP.js";
415
415
  import {
416
416
  AttemptReceiptSchema,
417
417
  CONNECTED_APP_INTEGRATION_SKILLS,
@@ -441,7 +441,7 @@ import {
441
441
  workEvidenceReceiptRef,
442
442
  workSourceOpaqueRef,
443
443
  workWorkspaceOpaqueRef
444
- } from "./chunk-7G472COA.js";
444
+ } from "./chunk-XI3OTQU6.js";
445
445
  import {
446
446
  external_exports,
447
447
  yaml
@@ -3,7 +3,7 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
3
3
  import {
4
4
  createReadyLineParser,
5
5
  openUrlWithSystemBrowser
6
- } from "./chunk-NRLI3S72.js";
6
+ } from "./chunk-W2S2PF3L.js";
7
7
  import {
8
8
  ApprovalSchema,
9
9
  ContextUsageSnapshotSchema,
@@ -12,12 +12,12 @@ import {
12
12
  DEFAULT_OPENPOND_CHAT_MODEL,
13
13
  DEFAULT_OPENPOND_COMMAND_ACCESS_MODE,
14
14
  OpenPondCommandAccessModeSchema
15
- } from "./chunk-3BR4ACFF.js";
15
+ } from "./chunk-RSXT32DP.js";
16
16
  import {
17
17
  CONNECTED_APP_CATALOG,
18
18
  buildConnectedAppInstallUrl,
19
19
  connectedAppById
20
- } from "./chunk-7G472COA.js";
20
+ } from "./chunk-XI3OTQU6.js";
21
21
  import "./chunk-WYDVQOBL.js";
22
22
  import "./chunk-KHNHUA2H.js";
23
23
  import "./chunk-UACZUFIA.js";
@@ -3,9 +3,9 @@ import {
3
3
  resolveSandboxClient
4
4
  } from "./chunk-FCVVOMIP.js";
5
5
  import "./chunk-KHNHUA2H.js";
6
- import "./chunk-LRLDBKTI.js";
6
+ import "./chunk-NNSRF6UH.js";
7
7
  import "./chunk-SMNFI2FU.js";
8
- import "./chunk-QD4FR3O4.js";
8
+ import "./chunk-I5LFWAMT.js";
9
9
  import "./chunk-DBHSOTYZ.js";
10
10
  import "./chunk-KSRWKXRB.js";
11
11
  import {
@@ -45,8 +45,8 @@ import {
45
45
  truncatePatch,
46
46
  uniqueSortedPaths,
47
47
  workspaceImageContentType
48
- } from "./chunk-7M4HGT5X.js";
49
- import "./chunk-UJV3UYLP.js";
48
+ } from "./chunk-SC5LMRWC.js";
49
+ import "./chunk-DRGFGJIZ.js";
50
50
  import "./chunk-UACZUFIA.js";
51
51
  export {
52
52
  MACOS_GIT_MISSING_DEVELOPER_TOOLS_ERROR,
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
3
3
  import {
4
4
  parseArgs
5
- } from "./chunks/chunk-LRLDBKTI.js";
5
+ } from "./chunks/chunk-NNSRF6UH.js";
6
6
  import {
7
7
  resolveAccountOption,
8
8
  resolveBaseUrlOption
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  getInstalledCliVersion,
12
12
  runCliCommand
13
- } from "./chunks/chunk-QD4FR3O4.js";
13
+ } from "./chunks/chunk-I5LFWAMT.js";
14
14
  import "./chunks/chunk-KSRWKXRB.js";
15
15
  import {
16
16
  parseBooleanOption
@@ -37,11 +37,11 @@ async function runOpenPondCli(argv = process.argv.slice(2)) {
37
37
  return;
38
38
  }
39
39
  if (action === "check-update") {
40
- await (await import("./chunks/core-commands-UW4XTGXK.js")).runCheckUpdate();
40
+ await (await import("./chunks/core-commands-TSUT45HF.js")).runCheckUpdate();
41
41
  return;
42
42
  }
43
43
  if (action === "help") {
44
- (await import("./chunks/help-OZNCHHO3.js")).printHelp();
44
+ (await import("./chunks/help-NWLRDXK2.js")).printHelp();
45
45
  return;
46
46
  }
47
47
  const selectedAccount = resolveAccountOption(options);
@@ -53,25 +53,25 @@ async function runOpenPondCli(argv = process.argv.slice(2)) {
53
53
  process.env.OPENPOND_BASE_URL = selectedBaseUrl;
54
54
  }
55
55
  if (action === "tui") {
56
- await (await import("./chunks/app-layer-E2JWCA6D.js")).runOpenPondTerminalCommand(options, rest);
56
+ await (await import("./chunks/app-layer-IMZRDGJN.js")).runOpenPondTerminalCommand(options, rest);
57
57
  return;
58
58
  }
59
59
  if (action === "ui") {
60
- await (await import("./chunks/app-layer-E2JWCA6D.js")).runOpenPondServerCommand("web", options, rest);
60
+ await (await import("./chunks/app-layer-IMZRDGJN.js")).runOpenPondServerCommand("web", options, rest);
61
61
  return;
62
62
  }
63
63
  if (await runCliCommand({ command, options, rest })) {
64
64
  return;
65
65
  }
66
- (await import("./chunks/help-OZNCHHO3.js")).printHelp();
66
+ (await import("./chunks/help-NWLRDXK2.js")).printHelp();
67
67
  process.exit(1);
68
68
  }
69
69
  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-OWEIHFEU.js"),
74
- import("./chunks/cli-T6TTMVSU.js")
73
+ import("./chunks/app-server-runtime-LLCQV5U2.js"),
74
+ import("./chunks/cli-5B6DPVAX.js")
75
75
  ]);
76
76
  await runOpenPondAppServerCli(createOpenPondAppServer);
77
77
  return true;
@@ -79,15 +79,15 @@ 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-7S66FU4P.js"),
83
- import("./chunks/cli-T6TTMVSU.js")
82
+ import("./chunks/src-RMLMCS2A.js"),
83
+ import("./chunks/cli-5B6DPVAX.js")
84
84
  ]);
85
- const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-OWEIHFEU.js");
85
+ const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-LLCQV5U2.js");
86
86
  await runOpenPondServerCli({ createOpenPondServer, createOpenPondAppServer });
87
87
  return true;
88
88
  }
89
89
  if (argv[0] === "__terminal") {
90
- await (await import("./chunks/src-GCZ2GMG3.js")).runOpenPondTerminalCli(argv.slice(1));
90
+ await (await import("./chunks/src-Z2IT67PX.js")).runOpenPondTerminalCli(argv.slice(1));
91
91
  return true;
92
92
  }
93
93
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openpond",
3
- "version": "0.0.49",
3
+ "version": "0.0.50",
4
4
  "openpondReleaseVersioned": true,
5
5
  "license": "MIT",
6
6
  "description": "OpenPond CLI and local harness",