@pome-sh/cli 0.24.2 → 0.26.0
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 +27 -37
- 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.
|
|
4
|
-
"git_sha": "
|
|
5
|
-
"build_time": "2026-08-
|
|
3
|
+
"version": "0.26.0",
|
|
4
|
+
"git_sha": "7114944d7733b92bba51e8f1cef0e0f262d7af09",
|
|
5
|
+
"build_time": "2026-08-21T09:42:44.027Z"
|
|
6
6
|
}
|
package/dist/src/cli/main.js
CHANGED
|
@@ -4651,7 +4651,7 @@ var DEFAULT_AGENT_COMMAND = `node ${DEFAULT_AGENT_FILE}`;
|
|
|
4651
4651
|
var MANIFEST_SCHEMA_URL = "https://pome.sh/schemas/v1/pome.json";
|
|
4652
4652
|
var MAX_UNREADABLE_PATHS_SHOWN = 5;
|
|
4653
4653
|
function readPackageVersion() {
|
|
4654
|
-
if ("0.
|
|
4654
|
+
if ("0.26.0".length > 0) return "0.26.0";
|
|
4655
4655
|
try {
|
|
4656
4656
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
4657
4657
|
const candidates = [
|
|
@@ -4791,41 +4791,31 @@ function createProgram() {
|
|
|
4791
4791
|
).action(async (topic, opts) => {
|
|
4792
4792
|
await runDocsCommand(topic, { site: opts.site, urlOnly: Boolean(opts.url) });
|
|
4793
4793
|
});
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
)
|
|
4810
|
-
|
|
4811
|
-
)
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
copy: opts.copy,
|
|
4820
|
-
force: opts.force,
|
|
4821
|
-
dest: opts.dest
|
|
4822
|
-
});
|
|
4823
|
-
}
|
|
4824
|
-
);
|
|
4825
|
-
return cmd;
|
|
4826
|
-
};
|
|
4827
|
-
registerTasksCommand("tasks", false);
|
|
4828
|
-
registerTasksCommand("scenarios", true);
|
|
4794
|
+
program.command("tasks").argument(
|
|
4795
|
+
"[twin]",
|
|
4796
|
+
"Twin id (e.g. github). Omit to list available twins."
|
|
4797
|
+
).option(
|
|
4798
|
+
"--copy",
|
|
4799
|
+
"Copy the twin's runnable tasks into the local project.",
|
|
4800
|
+
false
|
|
4801
|
+
).option(
|
|
4802
|
+
"--force",
|
|
4803
|
+
"With --copy, overwrite existing files in the destination.",
|
|
4804
|
+
false
|
|
4805
|
+
).option(
|
|
4806
|
+
"--dest <dir>",
|
|
4807
|
+
"With --copy, write into this directory instead of ./tasks/."
|
|
4808
|
+
).description(
|
|
4809
|
+
"Browse the bundled task library (or copy a twin's tasks into the local project)"
|
|
4810
|
+
).action(
|
|
4811
|
+
async (twin2, opts) => {
|
|
4812
|
+
await runTasksCommand(twin2, {
|
|
4813
|
+
copy: opts.copy,
|
|
4814
|
+
force: opts.force,
|
|
4815
|
+
dest: opts.dest
|
|
4816
|
+
});
|
|
4817
|
+
}
|
|
4818
|
+
);
|
|
4829
4819
|
const checks = program.command("checks").argument("[twin]", "Twin id (e.g. github). Omit to list twins that declare checks.").option("--json", "Emit the declaration as JSON (for skills and agents).", false).description(
|
|
4830
4820
|
"Browse the typed checks a twin declares \u2014 the closed set [code] criteria come from"
|
|
4831
4821
|
).action(async (twin2, opts) => {
|
|
@@ -4902,7 +4892,7 @@ function createProgram() {
|
|
|
4902
4892
|
}
|
|
4903
4893
|
}
|
|
4904
4894
|
);
|
|
4905
|
-
const session = program.command("session").description(
|
|
4895
|
+
const session = program.command("session").alias("sandbox").description(
|
|
4906
4896
|
"Hosted sandbox sessions (same API as the dashboard Twins page \u2014 requires login)"
|
|
4907
4897
|
);
|
|
4908
4898
|
session.command("create").description("Create a hosted sandbox session for one or more twins and print its connection info").requiredOption(
|
package/package.json
CHANGED