openpond 0.0.30-bootstrap.0 → 0.0.30
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/README.md +19 -5
- package/dist/chunks/{app-layer-YKXEQGOW.js → app-layer-FIGCNZJX.js} +7 -4
- package/dist/chunks/{apps-GGSIN2ZF.js → apps-4RMNCKXS.js} +3 -3
- package/dist/chunks/{chunk-I6HN3ZGW.js → chunk-4S3XGFGL.js} +1 -1
- package/dist/chunks/{chunk-KRKGHVMQ.js → chunk-57P2GCW5.js} +1 -1
- package/dist/chunks/{chunk-4HYJG2JE.js → chunk-BBEVMP6O.js} +2 -2
- package/dist/chunks/{chunk-XSAXENQD.js → chunk-BNPFMGZD.js} +2 -2
- package/dist/chunks/{chunk-3CC6MH35.js → chunk-BNVHGSI7.js} +3 -3
- package/dist/chunks/{chunk-Q57SVPEH.js → chunk-BX4XSB2J.js} +5619 -6654
- package/dist/chunks/{chunk-Y6G6WRTG.js → chunk-DANRS43D.js} +57 -12
- package/dist/chunks/{chunk-FUP7EGT7.js → chunk-GGKA4HLQ.js} +2 -2
- package/dist/chunks/chunk-IUTUUNAX.js +1126 -0
- package/dist/chunks/{chunk-74O6FGVN.js → chunk-KEDXE4BA.js} +3 -3
- package/dist/chunks/{chunk-3Y4EL3P6.js → chunk-KMSMK7PI.js} +36 -35
- package/dist/chunks/{chunk-5G4E547X.js → chunk-MFS3SYUH.js} +1 -1
- package/dist/chunks/{chunk-NLBKZZEK.js → chunk-OV3KAFWB.js} +1 -1
- package/dist/chunks/{chunk-AUJLPKGI.js → chunk-RJXX6TJA.js} +2 -2
- package/dist/chunks/{cli-NVKNE4AZ.js → cli-2L4NB7HD.js} +5 -2
- package/dist/chunks/{cli-X3HPLSOV.js → cli-5RL7B2Z3.js} +5 -5
- package/dist/chunks/{core-commands-IM2UKLU4.js → core-commands-AZJZGTZS.js} +4 -4
- package/dist/chunks/{extend-YXCBULPO.js → extend-6IWYZI37.js} +8 -8
- package/dist/chunks/{harness-GMK6IY2U.js → harness-SSNXDSKM.js} +3 -3
- package/dist/chunks/{help-LMH5FGT2.js → help-MUJJMI3Q.js} +2 -1
- package/dist/chunks/{opchat-BWXZ32GX.js → opchat-RW4CFAQB.js} +5 -5
- package/dist/chunks/{organizations-4ISQRGMQ.js → organizations-V7DTNLSI.js} +73 -15
- package/dist/chunks/{profile-NLDZDT3L.js → profile-WDBKJ7YW.js} +6 -6
- package/dist/chunks/{project-agent-ZPVO25HA.js → project-agent-3TZ3BPYN.js} +5 -5
- package/dist/chunks/{sandbox-command-5GFJ2U3V.js → sandbox-command-HOYHF4NC.js} +4 -4
- package/dist/chunks/{sandbox-template-LZN4F55Z.js → sandbox-template-IYGB4CZU.js} +5 -5
- package/dist/chunks/{src-3RBI4DNN.js → src-CBPRIWG5.js} +7 -15
- package/dist/chunks/{src-EYXQS6XD.js → src-ZRQKSQTD.js} +14 -12
- package/dist/chunks/{teams-bot-WP3FHKGA.js → teams-bot-UWGCFL6C.js} +3 -3
- package/dist/cli.js +28 -17
- package/docs/command-reference.md +2 -1
- package/package.json +3 -1
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
parseProjectSourceType,
|
|
31
31
|
resolveLocalAgentSdkCommand,
|
|
32
32
|
resolveProjectSourceUploadBranch
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-BNVHGSI7.js";
|
|
34
|
+
import "./chunk-4S3XGFGL.js";
|
|
35
35
|
import "./chunk-VQX33YAG.js";
|
|
36
36
|
import "./chunk-LHYK6QO2.js";
|
|
37
37
|
import "./chunk-OG75GMVO.js";
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
parseSandboxWorkflowModeOption,
|
|
42
42
|
resolveSandboxClient,
|
|
43
43
|
runCommand
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-BNPFMGZD.js";
|
|
45
|
+
import "./chunk-MFS3SYUH.js";
|
|
46
46
|
import {
|
|
47
47
|
optionString,
|
|
48
48
|
optionalJsonObject,
|
|
49
49
|
parseBooleanOption,
|
|
50
50
|
requiredTeamId
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-KMSMK7PI.js";
|
|
52
52
|
import "./chunk-UACZUFIA.js";
|
|
53
53
|
|
|
54
54
|
// src/cli/project-agent-formatters.ts
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
summarizeReplayArtifact,
|
|
16
16
|
summarizeSandbox,
|
|
17
17
|
waitForSandboxCreateReady
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RJXX6TJA.js";
|
|
19
19
|
import {
|
|
20
20
|
readSandboxSecretValue,
|
|
21
21
|
resolveSandboxClient,
|
|
22
22
|
summarizeSandboxSecret
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-BNPFMGZD.js";
|
|
24
|
+
import "./chunk-MFS3SYUH.js";
|
|
25
25
|
import {
|
|
26
26
|
parseBooleanOption,
|
|
27
27
|
parseIntegerOption,
|
|
28
28
|
parseJsonObjectOption,
|
|
29
29
|
parseNumberOption
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KMSMK7PI.js";
|
|
31
31
|
import "./chunk-UACZUFIA.js";
|
|
32
32
|
|
|
33
33
|
// src/cli/sandbox-files-command.ts
|
|
@@ -2,10 +2,10 @@ import { createRequire as __openpondCreateRequire } from "node:module"; var requ
|
|
|
2
2
|
import {
|
|
3
3
|
createSandboxFromPlan,
|
|
4
4
|
summarizeSandbox
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RJXX6TJA.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveGitBranch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KEDXE4BA.js";
|
|
9
9
|
import "./chunk-OG75GMVO.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENPOND_MANIFEST_FILE_NAME,
|
|
@@ -36,16 +36,16 @@ import {
|
|
|
36
36
|
runCommand,
|
|
37
37
|
runShellCommand,
|
|
38
38
|
warnOnRepoHostMismatch
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BNPFMGZD.js";
|
|
40
40
|
import {
|
|
41
41
|
resolveBaseUrl,
|
|
42
42
|
resolvePublicApiBaseUrl
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MFS3SYUH.js";
|
|
44
44
|
import {
|
|
45
45
|
parseBooleanOption,
|
|
46
46
|
parseIntegerOption,
|
|
47
47
|
parseJsonOption
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KMSMK7PI.js";
|
|
49
49
|
import "./chunk-UACZUFIA.js";
|
|
50
50
|
|
|
51
51
|
// src/cli/sandbox-template.ts
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
createReadyLineParser,
|
|
5
|
+
openUrlWithSystemBrowser
|
|
6
|
+
} from "./chunk-IUTUUNAX.js";
|
|
3
7
|
import {
|
|
4
8
|
ApprovalSchema,
|
|
5
9
|
ContextUsageSnapshotSchema,
|
|
@@ -7,9 +11,8 @@ import {
|
|
|
7
11
|
DEFAULT_CODEX_CHAT_MODEL,
|
|
8
12
|
DEFAULT_OPENPOND_CHAT_MODEL,
|
|
9
13
|
DEFAULT_OPENPOND_COMMAND_ACCESS_MODE,
|
|
10
|
-
OpenPondCommandAccessModeSchema
|
|
11
|
-
|
|
12
|
-
} from "./chunk-Q57SVPEH.js";
|
|
14
|
+
OpenPondCommandAccessModeSchema
|
|
15
|
+
} from "./chunk-BX4XSB2J.js";
|
|
13
16
|
import {
|
|
14
17
|
CONNECTED_APP_CATALOG,
|
|
15
18
|
buildConnectedAppInstallUrl,
|
|
@@ -19,7 +22,6 @@ import "./chunk-WYDVQOBL.js";
|
|
|
19
22
|
import "./chunk-UACZUFIA.js";
|
|
20
23
|
|
|
21
24
|
// ../terminal/src/index.ts
|
|
22
|
-
import { spawn as spawn2 } from "node:child_process";
|
|
23
25
|
import { createInterface } from "node:readline/promises";
|
|
24
26
|
import { stdin as input, stdout as output } from "node:process";
|
|
25
27
|
import { pathToFileURL } from "node:url";
|
|
@@ -3006,18 +3008,8 @@ function terminalStatus(terminal) {
|
|
|
3006
3008
|
async function interruptTurn(server, token, sessionId) {
|
|
3007
3009
|
await apiFetch(server, token, `/v1/sessions/${sessionId}/turns/interrupt`, { method: "POST" });
|
|
3008
3010
|
}
|
|
3009
|
-
function openUrlCommand(url) {
|
|
3010
|
-
if (process.platform === "darwin") return { command: "open", args: [url] };
|
|
3011
|
-
if (process.platform === "win32") return { command: "cmd", args: ["/c", "start", "", url] };
|
|
3012
|
-
return { command: "xdg-open", args: [url] };
|
|
3013
|
-
}
|
|
3014
3011
|
function openUrlDetached(url) {
|
|
3015
|
-
|
|
3016
|
-
const child = spawn2(command, args, {
|
|
3017
|
-
detached: true,
|
|
3018
|
-
stdio: "ignore"
|
|
3019
|
-
});
|
|
3020
|
-
child.unref();
|
|
3012
|
+
void openUrlWithSystemBrowser(url);
|
|
3021
3013
|
}
|
|
3022
3014
|
async function chat(options) {
|
|
3023
3015
|
const mode = resolveTerminalChatMode(options, {
|
|
@@ -13,7 +13,19 @@ import {
|
|
|
13
13
|
now,
|
|
14
14
|
runOpenPondServerCli,
|
|
15
15
|
textFromUnknown
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DANRS43D.js";
|
|
17
|
+
import {
|
|
18
|
+
createOpenPondRepoApp,
|
|
19
|
+
getBundledRuntimeVersion,
|
|
20
|
+
getOpenPondAppEnvironment,
|
|
21
|
+
loadOpenPondAccountContext,
|
|
22
|
+
loadOpenPondApps,
|
|
23
|
+
loadOpenPondProviderCatalog,
|
|
24
|
+
saveOpenPondAccount,
|
|
25
|
+
streamOpenPondHostedChatTurn,
|
|
26
|
+
switchOpenPondAccount,
|
|
27
|
+
updateOpenPondAccountConfig
|
|
28
|
+
} from "./chunk-IUTUUNAX.js";
|
|
17
29
|
import {
|
|
18
30
|
AccountStateSchema,
|
|
19
31
|
AppPreferencesSchema,
|
|
@@ -222,7 +234,6 @@ import {
|
|
|
222
234
|
buildOpenPondProfileSetupGate,
|
|
223
235
|
collectProfileSourceUploadEntries,
|
|
224
236
|
commitActiveProfileChanges,
|
|
225
|
-
createOpenPondRepoApp,
|
|
226
237
|
createOpenPondSandboxClient,
|
|
227
238
|
createPlaceholderPanes,
|
|
228
239
|
crossSystemLocalToolSystemPrompt,
|
|
@@ -231,8 +242,6 @@ import {
|
|
|
231
242
|
executeConnectedAppToolCall,
|
|
232
243
|
executeProfileSkillGoalRequest,
|
|
233
244
|
formatOpenPondProfileSetupRequirement,
|
|
234
|
-
getBundledRuntimeVersion,
|
|
235
|
-
getOpenPondAppEnvironment,
|
|
236
245
|
hostedPublishStatusFromPayload,
|
|
237
246
|
hostedRunStatusFromRunSummary,
|
|
238
247
|
hostedRunSummaryFromPayload,
|
|
@@ -240,10 +249,7 @@ import {
|
|
|
240
249
|
initLocalProfileRepo,
|
|
241
250
|
loadGlobalConfig,
|
|
242
251
|
loadLocalProfileRepo,
|
|
243
|
-
loadOpenPondAccountContext,
|
|
244
|
-
loadOpenPondApps,
|
|
245
252
|
loadOpenPondProfileState,
|
|
246
|
-
loadOpenPondProviderCatalog,
|
|
247
253
|
localPathWorkspaceId,
|
|
248
254
|
normalizeOpenPondGoalStatus,
|
|
249
255
|
normalizeSandboxApiUrl,
|
|
@@ -254,13 +260,9 @@ import {
|
|
|
254
260
|
runProfileSkillCommandFromPrompt,
|
|
255
261
|
runProfileSkillGoalCommand,
|
|
256
262
|
saveGlobalConfig,
|
|
257
|
-
saveOpenPondAccount,
|
|
258
263
|
saveProfilePushStatus,
|
|
259
|
-
streamOpenPondHostedChatTurn,
|
|
260
|
-
switchOpenPondAccount,
|
|
261
|
-
updateOpenPondAccountConfig,
|
|
262
264
|
workspacePathFromLocalPathWorkspaceId
|
|
263
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-BX4XSB2J.js";
|
|
264
266
|
import {
|
|
265
267
|
CONNECTED_APP_PROVIDER_TOOL_NAMES,
|
|
266
268
|
CONNECTED_APP_TOOL_CALL_ENDPOINT,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
resolveSandboxClient
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-BNPFMGZD.js";
|
|
5
|
+
import "./chunk-MFS3SYUH.js";
|
|
6
6
|
import {
|
|
7
7
|
optionString,
|
|
8
8
|
parseJsonOption,
|
|
9
9
|
requiredTeamId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KMSMK7PI.js";
|
|
11
11
|
import "./chunk-UACZUFIA.js";
|
|
12
12
|
|
|
13
13
|
// src/cli/teams-bot.ts
|
package/dist/cli.js
CHANGED
|
@@ -4,24 +4,39 @@ import {
|
|
|
4
4
|
parseArgs,
|
|
5
5
|
resolveAccountOption,
|
|
6
6
|
resolveBaseUrlOption
|
|
7
|
-
} from "./chunks/chunk-
|
|
7
|
+
} from "./chunks/chunk-MFS3SYUH.js";
|
|
8
8
|
import {
|
|
9
9
|
getInstalledCliVersion,
|
|
10
10
|
parseBooleanOption,
|
|
11
11
|
runCliCommand
|
|
12
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-KMSMK7PI.js";
|
|
13
13
|
import "./chunks/chunk-UACZUFIA.js";
|
|
14
14
|
|
|
15
|
+
// src/cli/top-level-action.ts
|
|
16
|
+
function resolveCliTopLevelAction(input) {
|
|
17
|
+
if (!input.command && parseBooleanOption(input.options.version)) return "version";
|
|
18
|
+
if (parseBooleanOption(input.options.checkUpdate)) return "check-update";
|
|
19
|
+
if (!input.command && parseBooleanOption(input.options.help)) return "help";
|
|
20
|
+
if (!input.command && parseBooleanOption(input.options.tui)) return "tui";
|
|
21
|
+
if (!input.command) return "ui";
|
|
22
|
+
return "command";
|
|
23
|
+
}
|
|
24
|
+
|
|
15
25
|
// src/cli/main.ts
|
|
16
26
|
async function runOpenPondCli(argv = process.argv.slice(2)) {
|
|
17
27
|
if (await runEmbeddedCompanion(argv)) return;
|
|
18
28
|
const { command, options, rest } = parseArgs(argv);
|
|
19
|
-
|
|
29
|
+
const action = resolveCliTopLevelAction({ command, options });
|
|
30
|
+
if (action === "version") {
|
|
20
31
|
console.log(getInstalledCliVersion());
|
|
21
32
|
return;
|
|
22
33
|
}
|
|
23
|
-
if (
|
|
24
|
-
await (await import("./chunks/core-commands-
|
|
34
|
+
if (action === "check-update") {
|
|
35
|
+
await (await import("./chunks/core-commands-AZJZGTZS.js")).runCheckUpdate();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (action === "help") {
|
|
39
|
+
(await import("./chunks/help-MUJJMI3Q.js")).printHelp();
|
|
25
40
|
return;
|
|
26
41
|
}
|
|
27
42
|
const selectedAccount = resolveAccountOption(options);
|
|
@@ -32,36 +47,32 @@ async function runOpenPondCli(argv = process.argv.slice(2)) {
|
|
|
32
47
|
if (selectedBaseUrl) {
|
|
33
48
|
process.env.OPENPOND_BASE_URL = selectedBaseUrl;
|
|
34
49
|
}
|
|
35
|
-
if (
|
|
36
|
-
await (await import("./chunks/app-layer-
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
if (!command && process.stdin.isTTY && process.stdout.isTTY) {
|
|
40
|
-
await (await import("./chunks/app-layer-YKXEQGOW.js")).runOpenPondTerminalCommand(options, rest);
|
|
50
|
+
if (action === "tui") {
|
|
51
|
+
await (await import("./chunks/app-layer-FIGCNZJX.js")).runOpenPondTerminalCommand(options, rest);
|
|
41
52
|
return;
|
|
42
53
|
}
|
|
43
|
-
if (
|
|
44
|
-
(await import("./chunks/
|
|
54
|
+
if (action === "ui") {
|
|
55
|
+
await (await import("./chunks/app-layer-FIGCNZJX.js")).runOpenPondServerCommand("web", options, rest);
|
|
45
56
|
return;
|
|
46
57
|
}
|
|
47
58
|
if (await runCliCommand({ command, options, rest })) {
|
|
48
59
|
return;
|
|
49
60
|
}
|
|
50
|
-
(await import("./chunks/help-
|
|
61
|
+
(await import("./chunks/help-MUJJMI3Q.js")).printHelp();
|
|
51
62
|
process.exit(1);
|
|
52
63
|
}
|
|
53
64
|
async function runEmbeddedCompanion(argv) {
|
|
54
65
|
if (argv[0] === "__server") {
|
|
55
66
|
process.argv = [process.execPath, "openpond-server", ...argv.slice(1)];
|
|
56
67
|
const [{ createOpenPondServer }, { runOpenPondServerCli }] = await Promise.all([
|
|
57
|
-
import("./chunks/src-
|
|
58
|
-
import("./chunks/cli-
|
|
68
|
+
import("./chunks/src-ZRQKSQTD.js"),
|
|
69
|
+
import("./chunks/cli-2L4NB7HD.js")
|
|
59
70
|
]);
|
|
60
71
|
await runOpenPondServerCli(createOpenPondServer);
|
|
61
72
|
return true;
|
|
62
73
|
}
|
|
63
74
|
if (argv[0] === "__terminal") {
|
|
64
|
-
await (await import("./chunks/src-
|
|
75
|
+
await (await import("./chunks/src-CBPRIWG5.js")).runOpenPondTerminalCli(argv.slice(1));
|
|
65
76
|
return true;
|
|
66
77
|
}
|
|
67
78
|
return false;
|
|
@@ -220,12 +220,13 @@ Options:
|
|
|
220
220
|
|
|
221
221
|
```text
|
|
222
222
|
Usage:
|
|
223
|
-
openpond ui [
|
|
223
|
+
openpond ui [--no-open] [--hostname HOST] [--port PORT]
|
|
224
224
|
|
|
225
225
|
Options:
|
|
226
226
|
--host <string>
|
|
227
227
|
--hostname <string>
|
|
228
228
|
--listen <string>
|
|
229
|
+
--no-open
|
|
229
230
|
--port <integer>
|
|
230
231
|
--web-root <string>
|
|
231
232
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openpond",
|
|
3
|
-
"version": "0.0.30
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"openpondReleaseVersioned": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "OpenPond CLI and local harness",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"@openpond/cloud": "workspace:*",
|
|
72
72
|
"@openpond/contracts": "workspace:*",
|
|
73
73
|
"@openpond/local-server": "workspace:*",
|
|
74
|
+
"@openpond/runtime": "workspace:*",
|
|
74
75
|
"@openpond/terminal": "workspace:*",
|
|
75
76
|
"@types/js-yaml": "^4.0.9",
|
|
76
77
|
"@types/node": "24.13.3"
|
|
@@ -79,6 +80,7 @@
|
|
|
79
80
|
"@openpond/cloud",
|
|
80
81
|
"@openpond/contracts",
|
|
81
82
|
"@openpond/local-server",
|
|
83
|
+
"@openpond/runtime",
|
|
82
84
|
"@openpond/terminal"
|
|
83
85
|
]
|
|
84
86
|
}
|