openpond 0.0.56 → 0.0.58
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 +3 -0
- package/dist/chunks/actions-command-BNVIILSL.js +184 -0
- package/dist/chunks/{app-layer-T26MAAGI.js → app-layer-RNQXXM6L.js} +5 -4
- package/dist/chunks/{app-server-runtime-64AV5AXJ.js → app-server-runtime-WYIRC5LV.js} +7 -7
- package/dist/chunks/{apps-7KLTYKHN.js → apps-LV3CSMLT.js} +5 -4
- package/dist/chunks/{chunk-M2OSF2YN.js → chunk-2J3LG4U7.js} +2 -2
- package/dist/chunks/{chunk-3HW6OSHP.js → chunk-63N6442Q.js} +1 -1
- package/dist/chunks/{chunk-6QWTEC2D.js → chunk-7QLVLGDM.js} +1 -1
- package/dist/chunks/{chunk-Q4YKGVNG.js → chunk-AD6KZWHL.js} +519 -131
- package/dist/chunks/{chunk-H44J7BB4.js → chunk-BFR6VZ2A.js} +1 -1
- package/dist/chunks/{chunk-KHNHUA2H.js → chunk-DXSHQ6TO.js} +111 -1
- package/dist/chunks/{chunk-FCVVOMIP.js → chunk-FHP7OMEI.js} +3 -31
- package/dist/chunks/{chunk-MIZHCABO.js → chunk-I23UKEYS.js} +1 -1
- package/dist/chunks/{chunk-EIRW6Z6S.js → chunk-LMQ4MPQI.js} +2 -2
- package/dist/chunks/{chunk-OSLQMUIB.js → chunk-OI65U2B5.js} +1 -1
- package/dist/chunks/{chunk-55KT7K5P.js → chunk-PVGJXCAK.js} +3 -2
- package/dist/chunks/chunk-QETF6ILG.js +15004 -0
- package/dist/chunks/{chunk-CW6FAJEF.js → chunk-QIB27QOT.js} +5 -5
- package/dist/chunks/{chunk-JSRCXDIL.js → chunk-RC3N77IV.js} +52 -32
- package/dist/chunks/chunk-SKUS4NPW.js +633 -0
- package/dist/chunks/{chunk-US7DOPAH.js → chunk-VG4H4TQG.js} +65 -58
- package/dist/chunks/{cli-J7EKEJZV.js → cli-EPVMUYQT.js} +6 -6
- package/dist/chunks/{core-commands-SND555SC.js → core-commands-H2UC3LHG.js} +6 -5
- package/dist/chunks/{desktop-test-WSWXNSFS.js → desktop-test-TV64EY5A.js} +5 -4
- package/dist/chunks/{extension-3IKF6YQE.js → extension-XMWCG6YG.js} +9 -9
- package/dist/chunks/{help-DHGNXUA4.js → help-NEYFMHWQ.js} +1 -1
- package/dist/chunks/{opchat-XYKT5KKO.js → opchat-ZL5JJQ5L.js} +5 -4
- package/dist/chunks/{organizations-HKVC4CSA.js → organizations-4IEC35QB.js} +8 -7
- package/dist/chunks/{profile-PLWXQHKF.js → profile-EVASCDIN.js} +6 -5
- package/dist/chunks/{project-agent-JNSP56KG.js → project-agent-DMN64RZJ.js} +6 -5
- package/dist/chunks/{sandbox-command-Z6LNNSSL.js → sandbox-command-WKGVO32R.js} +6 -5
- package/dist/chunks/{sandbox-template-FVW2UTI4.js → sandbox-template-BJUS4KJM.js} +7 -6
- package/dist/chunks/{src-6UCIW76H.js → src-NJYDLJ2M.js} +727 -521
- package/dist/chunks/{src-2TP42H76.js → src-SR3UHNV4.js} +4 -4
- package/dist/chunks/{teams-bot-FNPT4Q2B.js → teams-bot-HUXYJ6XA.js} +5 -4
- package/dist/chunks/{workspaces-4A2OR2OP.js → workspaces-N2WWI77O.js} +2 -2
- package/dist/cli.js +13 -13
- package/dist/web/assets/{AppDialog-BEKS_Ixr.js → AppDialog-CxLYXiI1.js} +1 -1
- package/dist/web/assets/{AppsView-CbuT2sT2.js → AppsView-CVTUkahv.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-DgqVeW5u.js → BrowserSidebar-oHniLA05.js} +1 -1
- package/dist/web/assets/{CommandMenu-CQcaEB76.js → CommandMenu-Db_5OiKs.js} +1 -1
- package/dist/web/assets/{CommunityView-CYX6iFcg.js → CommunityView-HTwMEO-T.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-DY4SQbL4.js → ComposerCreateImproveStrip-ER26yFe-.js} +1 -1
- package/dist/web/assets/{GetStartedView-DnxeZaBB.js → GetStartedView-l9MUYMYH.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-DYTfYGWv.js → LabModelVersionDetailPage-Dgf-DlJi.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-BpD-kjP_.js → LabSkillSidebar-CyX8sVm1.js} +1 -1
- package/dist/web/assets/{LabsRoute-DVC7eZCs.js → LabsRoute-BC1ST9qT.js} +3 -3
- package/dist/web/assets/{MainChatThread-DTiX_8MC.js → MainChatThread-BfW92Rv1.js} +2 -2
- package/dist/web/assets/{MainPane-CNoHJkXy.js → MainPane-DlciH8yR.js} +3 -3
- package/dist/web/assets/{MarkdownText-_JhfBcQL.js → MarkdownText-CyOeCVjf.js} +1 -1
- package/dist/web/assets/{Messages-Bo0-Uvcz.js → Messages-BDtEbIKv.js} +1 -1
- package/dist/web/assets/{NativeSkillSidebar-CHQ87FW2.js → NativeSkillSidebar-D0BlvEtE.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-B-1KuU5u.js → NewProjectDialog-CiGPfI5s.js} +1 -1
- package/dist/web/assets/{OutputsPage-BSimpEpA.js → OutputsPage-DNU2yD7q.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-B8ZOyuFO.js → RightChatPanelStack-Cs63fQwk.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-Blwy1G8r.js → ScheduledWorkPage-DMKHFbeE.js} +1 -1
- package/dist/web/assets/{SettingsView-CTLTakyn.js → SettingsView-L0g-g2fL.js} +3 -3
- package/dist/web/assets/{TeamChatView-dN3fUCbZ.js → TeamChatView-CSVMTUAE.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-CPVGeO7U.js → TerminalOverlay-Bb0RJR04.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-ettNNJBP.js → TrainingCreationPanel-VIWlpVV2.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-DUJBuII1.js → TrainingDraftPanel-MTYsR-Ry.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-BOZR3JE_.js → UsageSettingsSection-Cdc_jGFX.js} +1 -1
- package/dist/web/assets/{WorkspaceDiffPanel-99MjzMkW.js → WorkspaceDiffPanel-BgIbxMMu.js} +3 -3
- package/dist/web/assets/{WorkspaceEnvironmentMenu-C3s3mTyu.js → WorkspaceEnvironmentMenu-C97GqYn9.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-BvurXjNP.js → WorkspaceGitDialogs-CK6ahRty.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-BCXg9mBQ.js → WorkspaceMonacoEditor-BQoN7jWa.js} +3 -3
- package/dist/web/assets/{arrow-up-right-DRIT5z3q.js → arrow-up-right-CzBZuWNj.js} +1 -1
- package/dist/web/assets/{chevron-up-Hglu-Zx3.js → chevron-up-DW-qEVSP.js} +1 -1
- package/dist/web/assets/{circle-alert-Crh3Zr2m.js → circle-alert-B_xROoPY.js} +1 -1
- package/dist/web/assets/{cloud-upload-mSm9KIL4.js → cloud-upload-CjLR-8-r.js} +1 -1
- package/dist/web/assets/{cssMode-CkQ4x6JA.js → cssMode-CQQJhS7v.js} +1 -1
- package/dist/web/assets/{folder-git-2-B8TV5i0V.js → folder-git-2-ktXin28y.js} +1 -1
- package/dist/web/assets/{folder-open-DXaun_C3.js → folder-open-BpUcIJHn.js} +1 -1
- package/dist/web/assets/{folder-plus-CUbTwu82.js → folder-plus-8NHsIAxQ.js} +1 -1
- package/dist/web/assets/{folder-DMeODEQJ.js → folder-tLv6TMN2.js} +1 -1
- package/dist/web/assets/{git-branch-CUlgF0kK.js → git-branch-DO3iP_fL.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-DAQfyhbS.js → git-commit-horizontal-BSWa2I3g.js} +1 -1
- package/dist/web/assets/{htmlMode-BfyAplZo.js → htmlMode-DaAKO9wk.js} +1 -1
- package/dist/web/assets/index-BtiK52K1.js +1 -0
- package/dist/web/assets/index-DHxBMQIJ.js +174 -0
- package/dist/web/assets/{info-Ll3PkeGE.js → info-DiEvrUda.js} +1 -1
- package/dist/web/assets/{jsonMode-C9Vibh0P.js → jsonMode-Biu1ZTZ7.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-CFoA9--Z.js → lspLanguageFeatures-lwoDxGgl.js} +1 -1
- package/dist/web/assets/{monaco.contribution-C2q-tDuk.js → monaco.contribution-BqQSY5-t.js} +2 -2
- package/dist/web/assets/{monaco.contribution-C8tRjUqy.js → monaco.contribution-Ce2MS2Nv.js} +2 -2
- package/dist/web/assets/{monaco.contribution-vWDjhuCI.js → monaco.contribution-DzHhgeLy.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Co4ZPnCC.js → monaco.contribution-Ic8LKME8.js} +2 -2
- package/dist/web/assets/{play-lC5KpmRD.js → play-D9F3t5Cx.js} +1 -1
- package/dist/web/assets/{python-I5xkyvMs.js → python-BhVCwr-K.js} +1 -1
- package/dist/web/assets/{refresh-cw-8a_wz4tX.js → refresh-cw-DRN17xPU.js} +1 -1
- package/dist/web/assets/{save-Dj9ex3Ce.js → save-CDZwpzlG.js} +1 -1
- package/dist/web/assets/{square-DfEM9XgY.js → square-Cf_AXs4a.js} +1 -1
- package/dist/web/assets/{square-pen-CgX3HoJ6.js → square-pen-ChJgNiDm.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-BkNzz1Bg.js → toggleHighContrast-Bb_m9pXM.js} +1 -1
- package/dist/web/assets/{tsMode-CNwaV0ZJ.js → tsMode-BaWkaSHN.js} +1 -1
- package/dist/web/assets/{upload-Co5zYY9Z.js → upload-Cef29aCP.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-QY4_XS2F.js → useLocalAgentSchedules-CAAqoZ0V.js} +1 -1
- package/dist/web/assets/{wifi-off-CFzyn7Tf.js → wifi-off-C8cC22F6.js} +1 -1
- package/dist/web/assets/{workers-DqFxl1zu.js → workers-GOdHtcZt.js} +1 -1
- package/dist/web/assets/{yaml-Bbm66uDK.js → yaml-jBIxwMeR.js} +1 -1
- package/dist/web/index.html +1 -1
- package/docs/command-reference.md +21 -0
- package/package.json +2 -1
- package/dist/web/assets/index-Blindd8c.js +0 -1
- package/dist/web/assets/index-CDJX5ZxL.js +0 -174
package/README.md
CHANGED
|
@@ -52,6 +52,8 @@ openpond health
|
|
|
52
52
|
openpond extension add owner/repo
|
|
53
53
|
openpond extension list
|
|
54
54
|
openpond extension update --all
|
|
55
|
+
openpond actions check --cwd ./customer-project
|
|
56
|
+
openpond actions run analytics.get_summary --cwd ./customer-project --input '{"businessId":"relocation"}'
|
|
55
57
|
openpond --account production apps list
|
|
56
58
|
openpond tool list <handle>/<repo>
|
|
57
59
|
openpond tool run <handle>/<repo> <tool> --body '{"foo":"bar"}'
|
|
@@ -89,6 +91,7 @@ Command reference:
|
|
|
89
91
|
- `openpond account`: fetch current account/profile fields and active products for the selected API key.
|
|
90
92
|
- `openpond health`: check public API reachability and selected API-key auth health when a key is configured.
|
|
91
93
|
- `openpond extension <add|preview|list|inspect|update|remove>`: manage Agent Skills-compatible GitHub packs installed under `~/.openpond/extensions`. Repositories use standard `SKILL.md` packages and do not need an OpenPond-specific manifest.
|
|
94
|
+
- `openpond actions <check|build|run|dev>`: validate, bundle, invoke, or watch typed Project Actions under `openpond/actions` in a local Project. This path is local and does not require an API key.
|
|
92
95
|
- `openpond tool list <handle>/<repo>`: list tools for the latest deployment.
|
|
93
96
|
- `openpond tool run <handle>/<repo> <tool> [--body <json>] [--method <METHOD>]`: run a tool on the latest deployment.
|
|
94
97
|
- `openpond deploy watch <handle>/<repo> [--branch <branch>]`: stream deployment logs for the latest deployment.
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
buildProjectActions,
|
|
4
|
+
createLocalActionRunner,
|
|
5
|
+
loadProjectActionConfiguration
|
|
6
|
+
} from "./chunk-QETF6ILG.js";
|
|
7
|
+
import {
|
|
8
|
+
createOpenPondClient
|
|
9
|
+
} from "./chunk-SKUS4NPW.js";
|
|
10
|
+
import "./chunk-DXSHQ6TO.js";
|
|
11
|
+
import {
|
|
12
|
+
parseBooleanOption
|
|
13
|
+
} from "./chunk-MUMPWI4O.js";
|
|
14
|
+
import "./chunk-UACZUFIA.js";
|
|
15
|
+
|
|
16
|
+
// src/cli/actions-command.ts
|
|
17
|
+
import { promises as fs, watch } from "node:fs";
|
|
18
|
+
import path from "node:path";
|
|
19
|
+
import { execFile } from "node:child_process";
|
|
20
|
+
import { promisify } from "node:util";
|
|
21
|
+
var execFileAsync = promisify(execFile);
|
|
22
|
+
async function runProjectActionsCommand(options, rest) {
|
|
23
|
+
const subcommand = rest[0] ?? "check";
|
|
24
|
+
const projectRoot = path.resolve(stringOption(options, "cwd") ?? process.cwd());
|
|
25
|
+
const sourceDirectory = stringOption(options, "sourceDirectory");
|
|
26
|
+
const outputDirectory = stringOption(options, "outputDirectory");
|
|
27
|
+
const json = parseBooleanOption(options.json);
|
|
28
|
+
if (subcommand === "check" || subcommand === "build") {
|
|
29
|
+
const result = await buildProjectActions({ projectRoot, sourceDirectory, outputDirectory });
|
|
30
|
+
if (json) {
|
|
31
|
+
console.log(JSON.stringify({
|
|
32
|
+
status: "passed",
|
|
33
|
+
actionCount: result.registry.actions.length,
|
|
34
|
+
registry: result.registry,
|
|
35
|
+
manifest: result.manifest,
|
|
36
|
+
outputDirectory: result.outputDirectory
|
|
37
|
+
}, null, 2));
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
const verb = subcommand === "check" ? "Validated" : "Built";
|
|
41
|
+
console.log(`${verb} ${result.registry.actions.length} Project Action${result.registry.actions.length === 1 ? "" : "s"}.`);
|
|
42
|
+
console.log(`Registry: ${result.registryPath}`);
|
|
43
|
+
console.log(`Bundle: ${result.bundlePath}`);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (subcommand === "run") {
|
|
47
|
+
const actionId = rest[1];
|
|
48
|
+
if (!actionId) throw new Error("usage: openpond actions run <action-id> [--input JSON|--input-file PATH]");
|
|
49
|
+
const runner = createLocalActionRunner({
|
|
50
|
+
projectRoot,
|
|
51
|
+
sourceDirectory,
|
|
52
|
+
outputDirectory,
|
|
53
|
+
build: "always"
|
|
54
|
+
});
|
|
55
|
+
const result = await runner.run({
|
|
56
|
+
actionId,
|
|
57
|
+
input: await actionInput(options, projectRoot),
|
|
58
|
+
timeoutMs: integerOption(options, "timeoutMs")
|
|
59
|
+
});
|
|
60
|
+
console.log(JSON.stringify(result, null, 2));
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (subcommand === "dev") {
|
|
64
|
+
const actionId = rest[1] ?? null;
|
|
65
|
+
await runDev({ projectRoot, sourceDirectory, outputDirectory, actionId, options, json });
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
if (subcommand === "publish") {
|
|
69
|
+
const projectId = requiredOption(options, "projectId");
|
|
70
|
+
const teamId = requiredOption(options, "teamId");
|
|
71
|
+
const apiKey = stringOption(options, "apiKey") ?? process.env.OPENPOND_API_KEY?.trim();
|
|
72
|
+
if (!apiKey) throw new Error("OpenPond API key is required. Set OPENPOND_API_KEY or pass --api-key.");
|
|
73
|
+
const build = await buildProjectActions({ projectRoot, sourceDirectory, outputDirectory });
|
|
74
|
+
const sourceCommitSha = stringOption(options, "sourceCommitSha") ?? await gitValue(projectRoot, ["rev-parse", "HEAD"]);
|
|
75
|
+
const sourceRef = stringOption(options, "sourceRef") ?? await gitValue(projectRoot, ["rev-parse", "--abbrev-ref", "HEAD"]);
|
|
76
|
+
const release = await createOpenPondClient({
|
|
77
|
+
apiKey,
|
|
78
|
+
baseUrl: stringOption(options, "baseUrl") ?? process.env.OPENPOND_API_URL
|
|
79
|
+
}).actions.publish({
|
|
80
|
+
projectId,
|
|
81
|
+
teamId,
|
|
82
|
+
sourceRef,
|
|
83
|
+
sourceCommitSha,
|
|
84
|
+
build
|
|
85
|
+
});
|
|
86
|
+
console.log(json ? JSON.stringify({ release }, null, 2) : `Published Project Actions release ${release.id} from ${release.sourceCommitSha}.`);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
throw new Error("usage: openpond actions <check|build|run|dev|publish> [action-id]");
|
|
90
|
+
}
|
|
91
|
+
async function runDev(input) {
|
|
92
|
+
let running = false;
|
|
93
|
+
let rerun = false;
|
|
94
|
+
const execute = async () => {
|
|
95
|
+
if (running) {
|
|
96
|
+
rerun = true;
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
running = true;
|
|
100
|
+
try {
|
|
101
|
+
const runner = createLocalActionRunner({
|
|
102
|
+
projectRoot: input.projectRoot,
|
|
103
|
+
sourceDirectory: input.sourceDirectory,
|
|
104
|
+
outputDirectory: input.outputDirectory,
|
|
105
|
+
build: "always"
|
|
106
|
+
});
|
|
107
|
+
if (input.actionId) {
|
|
108
|
+
const result = await runner.run({
|
|
109
|
+
actionId: input.actionId,
|
|
110
|
+
input: await actionInput(input.options, input.projectRoot),
|
|
111
|
+
timeoutMs: integerOption(input.options, "timeoutMs")
|
|
112
|
+
});
|
|
113
|
+
console.log(JSON.stringify(result, null, 2));
|
|
114
|
+
} else {
|
|
115
|
+
const result = await runner.build();
|
|
116
|
+
const message = {
|
|
117
|
+
status: "ready",
|
|
118
|
+
actionCount: result.registry.actions.length,
|
|
119
|
+
bundleHash: result.manifest.bundleHash
|
|
120
|
+
};
|
|
121
|
+
console.log(input.json ? JSON.stringify(message) : `Ready with ${message.actionCount} Project Action${message.actionCount === 1 ? "" : "s"}.`);
|
|
122
|
+
}
|
|
123
|
+
} catch (error) {
|
|
124
|
+
console.error(error instanceof Error ? error.message : String(error));
|
|
125
|
+
} finally {
|
|
126
|
+
running = false;
|
|
127
|
+
if (rerun) {
|
|
128
|
+
rerun = false;
|
|
129
|
+
await execute();
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
await execute();
|
|
134
|
+
const configuration = await loadProjectActionConfiguration(input.projectRoot);
|
|
135
|
+
const sourceRoot = path.resolve(
|
|
136
|
+
input.projectRoot,
|
|
137
|
+
input.sourceDirectory ?? configuration.sourceDirectory ?? "openpond/actions"
|
|
138
|
+
);
|
|
139
|
+
console.log(`Watching ${sourceRoot}`);
|
|
140
|
+
const watcher = watch(sourceRoot, { recursive: true }, () => {
|
|
141
|
+
setTimeout(() => void execute(), 50);
|
|
142
|
+
});
|
|
143
|
+
await new Promise((resolve) => {
|
|
144
|
+
const stop = () => {
|
|
145
|
+
watcher.close();
|
|
146
|
+
resolve();
|
|
147
|
+
};
|
|
148
|
+
process.once("SIGINT", stop);
|
|
149
|
+
process.once("SIGTERM", stop);
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
async function actionInput(options, projectRoot) {
|
|
153
|
+
const inline = stringOption(options, "input");
|
|
154
|
+
const inputFile = stringOption(options, "inputFile");
|
|
155
|
+
if (inline && inputFile) throw new Error("Use either --input or --input-file, not both.");
|
|
156
|
+
if (inline) return JSON.parse(inline);
|
|
157
|
+
if (inputFile) return JSON.parse(await fs.readFile(path.resolve(projectRoot, inputFile), "utf8"));
|
|
158
|
+
return {};
|
|
159
|
+
}
|
|
160
|
+
function stringOption(options, name) {
|
|
161
|
+
const value = options[name];
|
|
162
|
+
return typeof value === "string" && value.trim() ? value.trim() : void 0;
|
|
163
|
+
}
|
|
164
|
+
function requiredOption(options, name) {
|
|
165
|
+
const value = stringOption(options, name);
|
|
166
|
+
if (!value) throw new Error(`--${name.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)} is required.`);
|
|
167
|
+
return value;
|
|
168
|
+
}
|
|
169
|
+
async function gitValue(projectRoot, args) {
|
|
170
|
+
const { stdout } = await execFileAsync("git", args, { cwd: projectRoot });
|
|
171
|
+
const value = stdout.trim();
|
|
172
|
+
if (!value) throw new Error(`git ${args.join(" ")} returned no value.`);
|
|
173
|
+
return value;
|
|
174
|
+
}
|
|
175
|
+
function integerOption(options, name) {
|
|
176
|
+
const value = stringOption(options, name);
|
|
177
|
+
if (value === void 0) return void 0;
|
|
178
|
+
const parsed = Number(value);
|
|
179
|
+
if (!Number.isInteger(parsed) || parsed <= 0) throw new Error(`--${name} must be a positive integer.`);
|
|
180
|
+
return parsed;
|
|
181
|
+
}
|
|
182
|
+
export {
|
|
183
|
+
runProjectActionsCommand
|
|
184
|
+
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { createRequire as __openpondCreateRequire } from "node:module"; var require = __openpondCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
runProcessCommand
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-KHNHUA2H.js";
|
|
4
|
+
} from "./chunk-FHP7OMEI.js";
|
|
6
5
|
import {
|
|
7
6
|
CliUsageError
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7QLVLGDM.js";
|
|
9
8
|
import "./chunk-SMNFI2FU.js";
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-RC3N77IV.js";
|
|
10
|
+
import "./chunk-SKUS4NPW.js";
|
|
11
|
+
import "./chunk-DXSHQ6TO.js";
|
|
11
12
|
import "./chunk-DBHSOTYZ.js";
|
|
12
13
|
import "./chunk-KSRWKXRB.js";
|
|
13
14
|
import "./chunk-MUMPWI4O.js";
|
|
@@ -2,15 +2,15 @@ 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-AD6KZWHL.js";
|
|
6
|
+
import "./chunk-BFR6VZ2A.js";
|
|
6
7
|
import "./chunk-NFNEENNR.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-US7DOPAH.js";
|
|
8
|
+
import "./chunk-OI65U2B5.js";
|
|
9
|
+
import "./chunk-LMQ4MPQI.js";
|
|
10
|
+
import "./chunk-PVGJXCAK.js";
|
|
11
|
+
import "./chunk-VG4H4TQG.js";
|
|
12
12
|
import "./chunk-WYDVQOBL.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-DXSHQ6TO.js";
|
|
14
14
|
import "./chunk-UACZUFIA.js";
|
|
15
15
|
export {
|
|
16
16
|
APP_SERVER_COMPOSITION,
|
|
@@ -10,14 +10,15 @@ import {
|
|
|
10
10
|
normalizeRepoName,
|
|
11
11
|
pollDeploymentLogs,
|
|
12
12
|
resolveAppTarget
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-6QWTEC2D.js";
|
|
13
|
+
} from "./chunk-FHP7OMEI.js";
|
|
14
|
+
import "./chunk-7QLVLGDM.js";
|
|
16
15
|
import {
|
|
17
16
|
resolveBaseUrl,
|
|
18
17
|
resolvePublicApiBaseUrl
|
|
19
18
|
} from "./chunk-SMNFI2FU.js";
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-RC3N77IV.js";
|
|
20
|
+
import "./chunk-SKUS4NPW.js";
|
|
21
|
+
import "./chunk-DXSHQ6TO.js";
|
|
21
22
|
import {
|
|
22
23
|
createAgentFromPrompt,
|
|
23
24
|
deployApp,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveRepoUrl,
|
|
16
16
|
runCommand,
|
|
17
17
|
warnOnRepoHostMismatch
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FHP7OMEI.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeTemplateRepoUrl,
|
|
21
21
|
resolveApiBaseUrlOption,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
compareSemver,
|
|
29
29
|
fetchLatestNpmVersion,
|
|
30
30
|
getInstalledCliVersion
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RC3N77IV.js";
|
|
32
32
|
import {
|
|
33
33
|
checkOpenPondApiHealth,
|
|
34
34
|
createHeadlessApps,
|