@pome-sh/cli 0.42.0 → 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 +20 -4
- 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
|
@@ -481,6 +481,12 @@ var DOCS_TOPICS = [
|
|
|
481
481
|
path: "/docs/twins/slack",
|
|
482
482
|
keywords: ["messaging", "channels", "workspace", "slack", "exfiltration"]
|
|
483
483
|
},
|
|
484
|
+
{
|
|
485
|
+
id: "linear",
|
|
486
|
+
title: "Linear twin",
|
|
487
|
+
path: "/docs/twins/linear",
|
|
488
|
+
keywords: ["projects", "cycles", "linear"]
|
|
489
|
+
},
|
|
484
490
|
{
|
|
485
491
|
id: "gmail",
|
|
486
492
|
title: "Gmail twin",
|
|
@@ -4452,6 +4458,7 @@ var CATALOG_EXAMPLES = [
|
|
|
4452
4458
|
root: "agent-examples",
|
|
4453
4459
|
rel: "agent-examples/support-triage",
|
|
4454
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",
|
|
4455
4462
|
files: [
|
|
4456
4463
|
"README.md",
|
|
4457
4464
|
"VERIFICATION.md",
|
|
@@ -4597,7 +4604,7 @@ function firstSentence(description) {
|
|
|
4597
4604
|
function resolveExampleRef(env = process.env) {
|
|
4598
4605
|
const override = env.POME_EXAMPLE_REF?.trim();
|
|
4599
4606
|
if (override) return override;
|
|
4600
|
-
const baked = "
|
|
4607
|
+
const baked = "435f0e23f093cb0c10d8eccc599cb9364bb8a445".trim() ;
|
|
4601
4608
|
return FULL_SHA.test(baked) ? baked : "main";
|
|
4602
4609
|
}
|
|
4603
4610
|
function rawUrlFor(example, file, ref) {
|
|
@@ -4667,12 +4674,21 @@ Next steps:
|
|
|
4667
4674
|
3. Read ${dir}/README.md \u2014 this example is driven by its own eval runner, not by \`pome run\`.`;
|
|
4668
4675
|
}
|
|
4669
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
|
+
}
|
|
4670
4686
|
return `${header}
|
|
4671
4687
|
Next steps:
|
|
4672
4688
|
1. cd ${dir}
|
|
4673
4689
|
2. npm install
|
|
4674
4690
|
3. pome login # one-time, opens the dashboard to sign in
|
|
4675
|
-
4.
|
|
4691
|
+
4. ${run}`;
|
|
4676
4692
|
}
|
|
4677
4693
|
var FIX_PROMPT_TEMPLATE_VERSION = "v1";
|
|
4678
4694
|
var MAX_EVENTS = 50;
|
|
@@ -4951,7 +4967,7 @@ var DEFAULT_AGENT_COMMAND = `node ${DEFAULT_AGENT_FILE}`;
|
|
|
4951
4967
|
var MANIFEST_SCHEMA_URL = "https://pome.sh/schemas/v1/pome.json";
|
|
4952
4968
|
var MAX_UNREADABLE_PATHS_SHOWN = 5;
|
|
4953
4969
|
function readPackageVersion() {
|
|
4954
|
-
if ("0.42.
|
|
4970
|
+
if ("0.42.2".length > 0) return "0.42.2";
|
|
4955
4971
|
try {
|
|
4956
4972
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
4957
4973
|
const candidates = [
|
|
@@ -5715,7 +5731,7 @@ function createProgram() {
|
|
|
5715
5731
|
const { runTwinSeedCommand } = await import('../../twinSeed-X6VHBOLM.js');
|
|
5716
5732
|
await runTwinSeedCommand(names, options);
|
|
5717
5733
|
});
|
|
5718
|
-
twin.command("status").summary("
|
|
5734
|
+
twin.command("status").summary("Say whether the local twin is running").description(
|
|
5719
5735
|
"Say whether the twin `pome twin start` last booted here is still running, and print its paste-able env lines"
|
|
5720
5736
|
).action(async () => {
|
|
5721
5737
|
const statusPath = ".pome/twin-status.json";
|