@pome-sh/cli 0.25.0 → 0.26.1
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 +1 -1
- package/dist/build-info.json +3 -3
- package/dist/src/cli/main.js +26 -36
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -131,7 +131,7 @@ there, rewriting that heading and the manifest in one commit, and
|
|
|
131
131
|
`.github/workflows/release.yml` compares the local version against npm and
|
|
132
132
|
publishes when they differ. `pome --version` reports the allocated value from a
|
|
133
133
|
build-time constant, so a user can always tell whether their install carries a
|
|
134
|
-
given fix.
|
|
134
|
+
given fix.
|
|
135
135
|
|
|
136
136
|
## License
|
|
137
137
|
|
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.1",
|
|
4
|
+
"git_sha": "051d48875847b3a359443c5cb08d2ed435b8276b",
|
|
5
|
+
"build_time": "2026-08-21T11:23:06.732Z"
|
|
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.1".length > 0) return "0.26.1";
|
|
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) => {
|
package/package.json
CHANGED