@pome-sh/cli 0.42.1 → 0.42.2
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 +13 -3
- 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.42.
|
|
4
|
-
"git_sha": "
|
|
5
|
-
"build_time": "2026-08-
|
|
3
|
+
"version": "0.42.2",
|
|
4
|
+
"git_sha": "435f0e23f093cb0c10d8eccc599cb9364bb8a445",
|
|
5
|
+
"build_time": "2026-08-30T17:59:02.962Z"
|
|
6
6
|
}
|
package/dist/src/cli/main.js
CHANGED
|
@@ -4458,6 +4458,7 @@ var CATALOG_EXAMPLES = [
|
|
|
4458
4458
|
root: "agent-examples",
|
|
4459
4459
|
rel: "agent-examples/support-triage",
|
|
4460
4460
|
description: "Pome hero example: the support-triage examinee as a local Claude Agent SDK subprocess, wired to the GitHub + Slack twins over MCP.",
|
|
4461
|
+
homepage: "https://docs.pome.sh/quickstart/coding-agent",
|
|
4461
4462
|
files: [
|
|
4462
4463
|
"README.md",
|
|
4463
4464
|
"VERIFICATION.md",
|
|
@@ -4603,7 +4604,7 @@ function firstSentence(description) {
|
|
|
4603
4604
|
function resolveExampleRef(env = process.env) {
|
|
4604
4605
|
const override = env.POME_EXAMPLE_REF?.trim();
|
|
4605
4606
|
if (override) return override;
|
|
4606
|
-
const baked = "
|
|
4607
|
+
const baked = "435f0e23f093cb0c10d8eccc599cb9364bb8a445".trim() ;
|
|
4607
4608
|
return FULL_SHA.test(baked) ? baked : "main";
|
|
4608
4609
|
}
|
|
4609
4610
|
function rawUrlFor(example, file, ref) {
|
|
@@ -4673,12 +4674,21 @@ Next steps:
|
|
|
4673
4674
|
3. Read ${dir}/README.md \u2014 this example is driven by its own eval runner, not by \`pome run\`.`;
|
|
4674
4675
|
}
|
|
4675
4676
|
const task = firstTaskFile(example);
|
|
4677
|
+
const run = `pome run ${task ?? "<task>.md"}`;
|
|
4678
|
+
if (example.homepage) {
|
|
4679
|
+
return `${header}
|
|
4680
|
+
Next steps:
|
|
4681
|
+
1. cd ${dir}
|
|
4682
|
+
2. npm install
|
|
4683
|
+
3. Follow the documented walk: ${example.homepage}
|
|
4684
|
+
4. Or from the CLI: pome login, then ${run}`;
|
|
4685
|
+
}
|
|
4676
4686
|
return `${header}
|
|
4677
4687
|
Next steps:
|
|
4678
4688
|
1. cd ${dir}
|
|
4679
4689
|
2. npm install
|
|
4680
4690
|
3. pome login # one-time, opens the dashboard to sign in
|
|
4681
|
-
4.
|
|
4691
|
+
4. ${run}`;
|
|
4682
4692
|
}
|
|
4683
4693
|
var FIX_PROMPT_TEMPLATE_VERSION = "v1";
|
|
4684
4694
|
var MAX_EVENTS = 50;
|
|
@@ -4957,7 +4967,7 @@ var DEFAULT_AGENT_COMMAND = `node ${DEFAULT_AGENT_FILE}`;
|
|
|
4957
4967
|
var MANIFEST_SCHEMA_URL = "https://pome.sh/schemas/v1/pome.json";
|
|
4958
4968
|
var MAX_UNREADABLE_PATHS_SHOWN = 5;
|
|
4959
4969
|
function readPackageVersion() {
|
|
4960
|
-
if ("0.42.
|
|
4970
|
+
if ("0.42.2".length > 0) return "0.42.2";
|
|
4961
4971
|
try {
|
|
4962
4972
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
4963
4973
|
const candidates = [
|