openpond 0.0.39 → 0.0.40
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.
- package/dist/chunks/{app-layer-LTBWNA2F.js → app-layer-UPNMLDO5.js} +7 -3
- package/dist/chunks/{app-server-runtime-VYYJ2AWX.js → app-server-runtime-2WTZXXOF.js} +4 -4
- package/dist/chunks/{apps-CZAJBGE3.js → apps-XLPSFCW4.js} +2 -2
- package/dist/chunks/{chunk-4HIWFIMN.js → chunk-34U5C7ZD.js} +4 -4
- package/dist/chunks/{chunk-6V7MJVRO.js → chunk-75ZLFVFZ.js} +2 -2
- package/dist/chunks/{chunk-JJPAMKXZ.js → chunk-CZG4XKVF.js} +1 -1
- package/dist/chunks/{chunk-L6XH4ZGZ.js → chunk-HHALVXPK.js} +1 -1
- package/dist/chunks/{chunk-JRROTGQT.js → chunk-KSOI7GFA.js} +1 -1
- package/dist/chunks/{chunk-4N6E3OVF.js → chunk-MCBAI5M5.js} +1 -1
- package/dist/chunks/{chunk-3CDPPVLE.js → chunk-QHUJ2XVJ.js} +31 -31
- package/dist/chunks/{chunk-BQQZNGI6.js → chunk-ZTE6A2VE.js} +3 -2
- package/dist/chunks/{cli-JS76LCW2.js → cli-ZIY4LAYZ.js} +3 -3
- package/dist/chunks/{core-commands-4MRJQZJV.js → core-commands-D66KZEHU.js} +3 -3
- package/dist/chunks/{desktop-test-RNMWLOVU.js → desktop-test-FDA6MV77.js} +2 -2
- package/dist/chunks/{help-LWNREJ7U.js → help-7QG4UITV.js} +1 -1
- package/dist/chunks/{opchat-2K2JIGK3.js → opchat-I2WGEFGU.js} +2 -2
- package/dist/chunks/{organizations-Z5HVD2E7.js → organizations-MADRLI2I.js} +2 -2
- package/dist/chunks/{profile-QNECVVGN.js → profile-B4A3GT3U.js} +2 -2
- package/dist/chunks/{project-agent-W3V75WBR.js → project-agent-PCO42FZJ.js} +2 -2
- package/dist/chunks/{sandbox-command-X3FO74NX.js → sandbox-command-LBKSIR7P.js} +2 -2
- package/dist/chunks/{sandbox-template-5B4T4BGU.js → sandbox-template-YJXGG4H3.js} +3 -3
- package/dist/chunks/{src-IC5RX4L6.js → src-23HDSVNH.js} +5 -5
- package/dist/chunks/{src-ESAILPUH.js → src-35JYS27L.js} +1 -1
- package/dist/chunks/{teams-bot-NTQ6VFFL.js → teams-bot-L4SR2SWM.js} +2 -2
- package/dist/chunks/{workspaces-XC3QBD2Y.js → workspaces-NGDIBOKQ.js} +2 -2
- package/dist/cli.js +13 -13
- 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-
|
|
8
|
+
} from "./chunk-KSOI7GFA.js";
|
|
9
9
|
import "./chunk-SMNFI2FU.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QHUJ2XVJ.js";
|
|
11
11
|
import "./chunk-DBHSOTYZ.js";
|
|
12
12
|
import "./chunk-KSRWKXRB.js";
|
|
13
13
|
import "./chunk-MUMPWI4O.js";
|
|
@@ -57,7 +57,11 @@ async function runOpenPondServerCommand(mode, options, rest) {
|
|
|
57
57
|
}
|
|
58
58
|
const webRoot = mode === "web" && typeof options.webRoot !== "string" ? packagedWebRoot() : null;
|
|
59
59
|
if (webRoot) args.push("--web-root", webRoot);
|
|
60
|
-
await runChild(
|
|
60
|
+
await runChild(
|
|
61
|
+
server.runner,
|
|
62
|
+
args,
|
|
63
|
+
mode === "app-server" ? process.cwd() : server.cwd
|
|
64
|
+
);
|
|
61
65
|
}
|
|
62
66
|
async function runOpenPondTerminalCommand(options, rest) {
|
|
63
67
|
validateTerminalForwardingOptions(options);
|
|
@@ -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-
|
|
5
|
+
} from "./chunk-34U5C7ZD.js";
|
|
6
6
|
import "./chunk-VCVQLECH.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ZTE6A2VE.js";
|
|
8
|
+
import "./chunk-HHALVXPK.js";
|
|
9
|
+
import "./chunk-CZG4XKVF.js";
|
|
10
10
|
import "./chunk-2SF6HLT7.js";
|
|
11
11
|
import "./chunk-M2NXTLH2.js";
|
|
12
12
|
import "./chunk-WYDVQOBL.js";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolveAppTarget
|
|
13
13
|
} from "./chunk-FCVVOMIP.js";
|
|
14
14
|
import "./chunk-KHNHUA2H.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-KSOI7GFA.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveBaseUrl,
|
|
18
18
|
resolvePublicApiBaseUrl
|
|
19
19
|
} from "./chunk-SMNFI2FU.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-QHUJ2XVJ.js";
|
|
21
21
|
import {
|
|
22
22
|
createAgentFromPrompt,
|
|
23
23
|
deployApp,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getBundledRuntimeVersion,
|
|
21
21
|
loadOpenPondAccountContext,
|
|
22
22
|
streamOpenPondHostedChatTurn
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZTE6A2VE.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-
|
|
36
|
+
} from "./chunk-HHALVXPK.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-
|
|
43
|
+
} from "./chunk-CZG4XKVF.js";
|
|
44
44
|
import {
|
|
45
45
|
AppPreferencesSchema,
|
|
46
46
|
ApplyCreateImproveRunActionRequestSchema,
|
|
@@ -29435,7 +29435,7 @@ function uniqueEvidence(run, evidence) {
|
|
|
29435
29435
|
}
|
|
29436
29436
|
async function verifyAppliedProfileCommit(input) {
|
|
29437
29437
|
const command = input.command ?? (async (name, args, cwd, env) => {
|
|
29438
|
-
const { runWorkspaceCommand } = await import("./workspaces-
|
|
29438
|
+
const { runWorkspaceCommand } = await import("./workspaces-NGDIBOKQ.js");
|
|
29439
29439
|
return runWorkspaceCommand(name, args, cwd, env);
|
|
29440
29440
|
});
|
|
29441
29441
|
const result = await command("git", ["rev-parse", "HEAD"], input.repoPath);
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getBundledRuntimeVersion,
|
|
7
7
|
openUrlWithSystemBrowser
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZTE6A2VE.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_HOST,
|
|
11
11
|
DEFAULT_PORT,
|
|
12
12
|
parseListen
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CZG4XKVF.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.
|
|
6
|
+
var VERSION = "0.0.40";
|
|
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  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";
|
|
@@ -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-
|
|
4
|
+
} from "./chunk-CZG4XKVF.js";
|
|
5
5
|
|
|
6
6
|
// ../server/src/workspace/workspace-command.ts
|
|
7
7
|
import { spawn, spawnSync } from "node:child_process";
|
|
@@ -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-
|
|
400
|
+
handler: async () => (await import("./help-7QG4UITV.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-
|
|
412
|
+
handler: async () => (await import("./core-commands-D66KZEHU.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-
|
|
418
|
+
handler: async ({ options }) => (await import("./core-commands-D66KZEHU.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-
|
|
424
|
+
handler: async ({ options }) => (await import("./profile-B4A3GT3U.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-
|
|
452
|
+
handler: async ({ options, rest }) => (await import("./profile-B4A3GT3U.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-
|
|
458
|
+
handler: async ({ options, rest }) => (await import("./profile-B4A3GT3U.js")).runOpenPondAgentsCommand(options, rest)
|
|
459
459
|
},
|
|
460
460
|
...profileSdkAliasDefinitions(),
|
|
461
461
|
{
|
|
@@ -474,19 +474,19 @@ var CLI_COMMAND_REGISTRY = [
|
|
|
474
474
|
name: "profiles",
|
|
475
475
|
usage: "openpond profiles [args]",
|
|
476
476
|
optionSchema: { json: "boolean" },
|
|
477
|
-
handler: async ({ options, rest }) => (await import("./core-commands-
|
|
477
|
+
handler: async ({ options, rest }) => (await import("./core-commands-D66KZEHU.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-
|
|
483
|
+
handler: async () => (await import("./core-commands-D66KZEHU.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-
|
|
489
|
+
handler: async ({ options }) => (await import("./core-commands-D66KZEHU.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-
|
|
497
|
+
handler: async ({ options, rest }) => (await import("./app-layer-UPNMLDO5.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-
|
|
508
|
+
handler: async ({ options, rest }) => (await import("./app-layer-UPNMLDO5.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-
|
|
521
|
+
handler: async ({ options, rest }) => (await import("./app-layer-UPNMLDO5.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-
|
|
535
|
+
handler: async ({ options, rest }) => (await import("./app-layer-UPNMLDO5.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-
|
|
541
|
+
handler: async ({ options, rest }) => (await import("./app-layer-UPNMLDO5.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-
|
|
577
|
+
handler: async ({ options, rest }) => (await import("./sandbox-template-YJXGG4H3.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-
|
|
622
|
+
handler: async ({ options, rest }) => (await import("./organizations-MADRLI2I.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-
|
|
628
|
+
handler: async ({ options, rest }) => (await import("./project-agent-PCO42FZJ.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-
|
|
640
|
+
handler: async ({ options, rest }) => (await import("./project-agent-PCO42FZJ.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-
|
|
661
|
+
handler: async ({ options, rest }) => (await import("./desktop-test-FDA6MV77.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-
|
|
667
|
+
handler: async ({ options, rest }) => (await import("./sandbox-command-LBKSIR7P.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-
|
|
710
|
+
handler: async ({ options, rest }) => (await import("./opchat-I2WGEFGU.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-
|
|
719
|
+
handler: async ({ options, rest }) => (await import("./teams-bot-L4SR2SWM.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-
|
|
740
|
+
handler: async ({ rest }) => (await import("./core-commands-D66KZEHU.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-
|
|
812
|
+
handler: async ({ options, rest }) => (await import("./profile-B4A3GT3U.js")).runOpenPondProfileSdkAlias(name, options, rest)
|
|
813
813
|
}));
|
|
814
814
|
}
|
|
815
815
|
async function runToolCommand({ options, rest }) {
|
|
816
|
-
const { runToolList, runToolRun } = await import("./core-commands-
|
|
816
|
+
const { runToolList, runToolRun } = await import("./core-commands-D66KZEHU.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-
|
|
841
|
-
const { runBacktestEvents, runBacktestGet } = await import("./apps-
|
|
840
|
+
const { runBacktestRun } = await import("./core-commands-D66KZEHU.js");
|
|
841
|
+
const { runBacktestEvents, runBacktestGet } = await import("./apps-XLPSFCW4.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-
|
|
875
|
+
const { runDeployWatch } = await import("./core-commands-D66KZEHU.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-
|
|
891
|
+
const { runTemplateBranches, runTemplateStatus, runTemplateUpdate } = await import("./core-commands-D66KZEHU.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-
|
|
916
|
+
const { runRepoCreate, runRepoPush } = await import("./core-commands-D66KZEHU.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-
|
|
943
|
+
} = await import("./apps-XLPSFCW4.js");
|
|
944
944
|
const subcommand = rest[0];
|
|
945
945
|
if (subcommand === "list") {
|
|
946
946
|
await runAppsList(options);
|
|
@@ -116,11 +116,12 @@ function deriveEnvironment(fallback) {
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
// ../../packages/runtime/dist/selectors.js
|
|
119
|
-
function accountToken(account) {
|
|
119
|
+
function accountToken(account, env = process.env) {
|
|
120
120
|
const candidates = [
|
|
121
121
|
account?.apiKey,
|
|
122
122
|
account?.session?.token,
|
|
123
|
-
account?.token
|
|
123
|
+
account?.token,
|
|
124
|
+
env.OPENPOND_API_KEY
|
|
124
125
|
];
|
|
125
126
|
for (const value of candidates) {
|
|
126
127
|
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
resolveWebLaunchMessages,
|
|
4
4
|
runOpenPondAppServerCli,
|
|
5
5
|
runOpenPondServerCli
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-75ZLFVFZ.js";
|
|
7
7
|
import "./chunk-VCVQLECH.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ZTE6A2VE.js";
|
|
9
|
+
import "./chunk-CZG4XKVF.js";
|
|
10
10
|
import "./chunk-2SF6HLT7.js";
|
|
11
11
|
import "./chunk-M2NXTLH2.js";
|
|
12
12
|
import "./chunk-WYDVQOBL.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
runTemplateUpdate,
|
|
17
17
|
runToolList,
|
|
18
18
|
runToolRun
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MCBAI5M5.js";
|
|
20
20
|
import "./chunk-FCVVOMIP.js";
|
|
21
21
|
import "./chunk-KHNHUA2H.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-KSOI7GFA.js";
|
|
23
23
|
import "./chunk-SMNFI2FU.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-QHUJ2XVJ.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-
|
|
8
|
+
} from "./chunk-KSOI7GFA.js";
|
|
9
9
|
import "./chunk-SMNFI2FU.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-QHUJ2XVJ.js";
|
|
11
11
|
import "./chunk-DBHSOTYZ.js";
|
|
12
12
|
import "./chunk-KSRWKXRB.js";
|
|
13
13
|
import {
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
ensureApiKey
|
|
12
12
|
} from "./chunk-FCVVOMIP.js";
|
|
13
13
|
import "./chunk-KHNHUA2H.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KSOI7GFA.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveApiBaseUrlOption,
|
|
17
17
|
resolveBaseUrl,
|
|
18
18
|
resolveChatApiBaseUrlOption
|
|
19
19
|
} from "./chunk-SMNFI2FU.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-QHUJ2XVJ.js";
|
|
21
21
|
import {
|
|
22
22
|
loadConfig
|
|
23
23
|
} from "./chunk-DBHSOTYZ.js";
|
|
@@ -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-
|
|
12
|
+
import "./chunk-KSOI7GFA.js";
|
|
13
13
|
import "./chunk-SMNFI2FU.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-QHUJ2XVJ.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-
|
|
33
|
+
import "./chunk-KSOI7GFA.js";
|
|
34
34
|
import "./chunk-SMNFI2FU.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-QHUJ2XVJ.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-
|
|
39
|
+
import "./chunk-KSOI7GFA.js";
|
|
40
40
|
import "./chunk-SMNFI2FU.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-QHUJ2XVJ.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-
|
|
25
|
+
import "./chunk-KSOI7GFA.js";
|
|
26
26
|
import "./chunk-SMNFI2FU.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-QHUJ2XVJ.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-
|
|
8
|
+
} from "./chunk-MCBAI5M5.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-
|
|
38
|
+
import "./chunk-KSOI7GFA.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveBaseUrl,
|
|
41
41
|
resolvePublicApiBaseUrl
|
|
42
42
|
} from "./chunk-SMNFI2FU.js";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-QHUJ2XVJ.js";
|
|
44
44
|
import {
|
|
45
45
|
createRepo,
|
|
46
46
|
loadConfig
|
|
@@ -93,10 +93,10 @@ import {
|
|
|
93
93
|
workspaceHasHead,
|
|
94
94
|
workspaceToolExperienceBlocker,
|
|
95
95
|
writeWorkspaceFile
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-34U5C7ZD.js";
|
|
97
97
|
import {
|
|
98
98
|
runOpenPondServerCli
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-75ZLFVFZ.js";
|
|
100
100
|
import {
|
|
101
101
|
createAppServer,
|
|
102
102
|
runAgentCompaction
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
streamOpenPondHostedChatTurn,
|
|
115
115
|
switchOpenPondAccount,
|
|
116
116
|
updateOpenPondAccountConfig
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-ZTE6A2VE.js";
|
|
118
118
|
import {
|
|
119
119
|
appWorkspacePaths,
|
|
120
120
|
checkWorkspaceGitAvailability,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
runCommand,
|
|
143
143
|
startMacOSCommandLineToolsInstall,
|
|
144
144
|
workspaceImageContentType
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-HHALVXPK.js";
|
|
146
146
|
import {
|
|
147
147
|
APP_PREFERENCES_CACHE_KEY,
|
|
148
148
|
APP_PREFERENCES_CACHE_TYPE,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
isCliEntrypoint,
|
|
155
155
|
now,
|
|
156
156
|
textFromUnknown
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-CZG4XKVF.js";
|
|
158
158
|
import {
|
|
159
159
|
AccountStateSchema,
|
|
160
160
|
AdapterValidationReceiptSchema,
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
resolveSandboxClient
|
|
4
4
|
} from "./chunk-FCVVOMIP.js";
|
|
5
5
|
import "./chunk-KHNHUA2H.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-KSOI7GFA.js";
|
|
7
7
|
import "./chunk-SMNFI2FU.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QHUJ2XVJ.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-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-HHALVXPK.js";
|
|
49
|
+
import "./chunk-CZG4XKVF.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-
|
|
5
|
+
} from "./chunks/chunk-KSOI7GFA.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-
|
|
13
|
+
} from "./chunks/chunk-QHUJ2XVJ.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-
|
|
40
|
+
await (await import("./chunks/core-commands-D66KZEHU.js")).runCheckUpdate();
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
43
43
|
if (action === "help") {
|
|
44
|
-
(await import("./chunks/help-
|
|
44
|
+
(await import("./chunks/help-7QG4UITV.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-
|
|
56
|
+
await (await import("./chunks/app-layer-UPNMLDO5.js")).runOpenPondTerminalCommand(options, rest);
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
59
|
if (action === "ui") {
|
|
60
|
-
await (await import("./chunks/app-layer-
|
|
60
|
+
await (await import("./chunks/app-layer-UPNMLDO5.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-
|
|
66
|
+
(await import("./chunks/help-7QG4UITV.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-
|
|
74
|
-
import("./chunks/cli-
|
|
73
|
+
import("./chunks/app-server-runtime-2WTZXXOF.js"),
|
|
74
|
+
import("./chunks/cli-ZIY4LAYZ.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-
|
|
83
|
-
import("./chunks/cli-
|
|
82
|
+
import("./chunks/src-23HDSVNH.js"),
|
|
83
|
+
import("./chunks/cli-ZIY4LAYZ.js")
|
|
84
84
|
]);
|
|
85
|
-
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-
|
|
85
|
+
const { createOpenPondAppServer } = await import("./chunks/app-server-runtime-2WTZXXOF.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-
|
|
90
|
+
await (await import("./chunks/src-35JYS27L.js")).runOpenPondTerminalCli(argv.slice(1));
|
|
91
91
|
return true;
|
|
92
92
|
}
|
|
93
93
|
return false;
|