@pome-sh/cli 0.33.2 → 0.33.3
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/build-info.json +3 -3
- package/dist/src/cli/main.js +8 -6
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "pome-sh",
|
|
3
|
-
"version": "0.33.
|
|
4
|
-
"git_sha": "
|
|
5
|
-
"build_time": "2026-08-28T12:
|
|
3
|
+
"version": "0.33.3",
|
|
4
|
+
"git_sha": "36fe4446b6e9ba8fa1c839cabeeae68e4b7fd929",
|
|
5
|
+
"build_time": "2026-08-28T12:24:00.501Z"
|
|
6
6
|
}
|
package/dist/src/cli/main.js
CHANGED
|
@@ -4622,7 +4622,7 @@ var DEFAULT_AGENT_COMMAND = `node ${DEFAULT_AGENT_FILE}`;
|
|
|
4622
4622
|
var MANIFEST_SCHEMA_URL = "https://pome.sh/schemas/v1/pome.json";
|
|
4623
4623
|
var MAX_UNREADABLE_PATHS_SHOWN = 5;
|
|
4624
4624
|
function readPackageVersion() {
|
|
4625
|
-
if ("0.33.
|
|
4625
|
+
if ("0.33.3".length > 0) return "0.33.3";
|
|
4626
4626
|
try {
|
|
4627
4627
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
4628
4628
|
const candidates = [
|
|
@@ -4888,7 +4888,7 @@ function createProgram() {
|
|
|
4888
4888
|
"Write shell exports containing session secrets to a local file with mode 0600"
|
|
4889
4889
|
).option(
|
|
4890
4890
|
"--format <fmt>",
|
|
4891
|
-
"
|
|
4891
|
+
"Output format: text, json, or env. env writes the exports to --secrets-file instead of printing them.",
|
|
4892
4892
|
"text"
|
|
4893
4893
|
).action(
|
|
4894
4894
|
async (opts) => {
|
|
@@ -4918,9 +4918,9 @@ function createProgram() {
|
|
|
4918
4918
|
process.env.POME_API_URL ?? DEFAULT_CONTROL_PLANE_URL
|
|
4919
4919
|
).option("--limit <n>", "Max rows", "20").option(
|
|
4920
4920
|
"--state <state>",
|
|
4921
|
-
"Filter by
|
|
4921
|
+
"Filter by sandbox state: running, ready, done, expired, or all. `running` also matches the server-side `ready` state, the way the dashboard shows them in one column.",
|
|
4922
4922
|
"running"
|
|
4923
|
-
).option("--format <fmt>", "text
|
|
4923
|
+
).option("--format <fmt>", "Output format: text or json", "text").action(
|
|
4924
4924
|
async (opts) => {
|
|
4925
4925
|
const validStates = [
|
|
4926
4926
|
"running",
|
|
@@ -5191,7 +5191,7 @@ function createProgram() {
|
|
|
5191
5191
|
process.env.POME_API_BASE ?? process.env.POME_API_URL ?? DEFAULT_CONTROL_PLANE_URL
|
|
5192
5192
|
).option(
|
|
5193
5193
|
"--trials <n>",
|
|
5194
|
-
"Number of
|
|
5194
|
+
"Number of trials to run, 1 to 10",
|
|
5195
5195
|
"5"
|
|
5196
5196
|
).option("--artifacts-dir <dir>", "Directory for run artifacts", "runs").action(
|
|
5197
5197
|
async (opts) => {
|
|
@@ -5408,7 +5408,9 @@ function createProgram() {
|
|
|
5408
5408
|
const { runTwinSeedCommand } = await import('../../twinSeed-2MRVMNIT.js');
|
|
5409
5409
|
await runTwinSeedCommand(names, options);
|
|
5410
5410
|
});
|
|
5411
|
-
twin.command("reset").argument("[name]", "Twin name
|
|
5411
|
+
twin.command("reset").argument("[name]", "Twin name", "github").summary("Reset a twin's saved state").description(
|
|
5412
|
+
"Delete the twin's database under `.pome/` or `.pome-data/`, and `.pome/twin-status.json`, the one file `pome twin status` reads for every twin. A twin holding its state in memory has nothing to delete."
|
|
5413
|
+
).action(async (name) => {
|
|
5412
5414
|
if (!isTwinName(name)) {
|
|
5413
5415
|
throw new Error(`Unknown twin '${name}'. Supported: ${TWIN_NAME_LIST.join(", ")}.`);
|
|
5414
5416
|
}
|