@pome-sh/cli 0.34.0 → 0.34.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/{checks-CAP2CSEW.js → checks-TC6O2HZE.js} +2 -2
- package/dist/{chunk-YJ5PASVX.js → chunk-EIEPFWHZ.js} +1 -1
- package/dist/{chunk-A2VNLUP7.js → chunk-KY5OLJQI.js} +3 -3
- package/dist/{chunk-2V5A7NWP.js → chunk-L7XARKMM.js} +1 -1
- package/dist/{chunk-PNR7OHDC.js → chunk-THDEJ5AJ.js} +1 -1
- package/dist/{runDemo-6WD2RSIH.js → runDemo-DV2TYPWC.js} +3 -3
- package/dist/{runTrialGroup-UBN46ZEJ.js → runTrialGroup-FVGBOLMJ.js} +4 -4
- package/dist/src/cli/main.js +11 -11
- package/package.json +1 -1
- /package/dist/{chunk-72CG3JNL.js → chunk-533VIN3J.js} +0 -0
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "pome-sh",
|
|
3
|
-
"version": "0.34.
|
|
4
|
-
"git_sha": "
|
|
5
|
-
"build_time": "2026-08-
|
|
3
|
+
"version": "0.34.2",
|
|
4
|
+
"git_sha": "c22ae52053a642223912b32b0cb444be45b8d42e",
|
|
5
|
+
"build_time": "2026-08-28T13:00:53.091Z"
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { findManifestPath, readManifest } from './chunk-
|
|
1
|
+
import { findManifestPath, readManifest } from './chunk-L7XARKMM.js';
|
|
2
2
|
import { getAvailablePort } from './chunk-XDU6TD4O.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-533VIN3J.js';
|
|
4
4
|
import { buildEgressAllowlist } from './chunk-CBFKZZBR.js';
|
|
5
5
|
import './chunk-6KJC4BTO.js';
|
|
6
6
|
import './chunk-SG6ZTIMT.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { gmailSeedSchema, defaultSeedState } from './chunk-3T5XN64P.js';
|
|
2
2
|
import { linearSeedSchema, defaultSeedState as defaultSeedState$1 } from './chunk-Q5NBPR57.js';
|
|
3
3
|
import { isTwinName, TWIN_REGISTRY } from './chunk-CNG6DQWX.js';
|
|
4
|
-
import { criterionSchema, normalizeTaskConfigKeys, finalizeResponseSchema, HostedDiscardRefusedError, HostedOrchError, HostedAuthError, HostedQuotaError, submitResultResponseSchema, createEvalSessionResponseSchema, createSessionResponseSchema, sessionPublicSchema } from './chunk-
|
|
4
|
+
import { criterionSchema, normalizeTaskConfigKeys, finalizeResponseSchema, HostedDiscardRefusedError, HostedOrchError, HostedAuthError, HostedQuotaError, submitResultResponseSchema, createEvalSessionResponseSchema, createSessionResponseSchema, sessionPublicSchema } from './chunk-533VIN3J.js';
|
|
5
5
|
import { seedSchema, parseSeed, defaultSeedState as defaultSeedState$2 } from './chunk-HJX25USP.js';
|
|
6
6
|
import { toTwinHttpEventRow } from './chunk-VOHTQV4J.js';
|
|
7
7
|
import { redactEvent, redactSecrets } from './chunk-SG6ZTIMT.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createHostedClient, perTwinReturnedByCloud, parseTaskFile, runAgentCommand, writeRunArtifactsCore, toTwinHttpEvent, redactJsonl, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, evaluationCounts } from './chunk-
|
|
1
|
+
import { createHostedClient, perTwinReturnedByCloud, parseTaskFile, runAgentCommand, writeRunArtifactsCore, toTwinHttpEvent, redactJsonl, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, evaluationCounts } from './chunk-EIEPFWHZ.js';
|
|
2
2
|
import { readSeedFileText, parseSeedFileText, soleTwinOf, seedsForTwins } from './chunk-DWOCTCSE.js';
|
|
3
|
-
import { readManifest, normalizeManifestTwins } from './chunk-
|
|
4
|
-
import { MOUNTED_TWINS, HostedAuthError, HostedDiscardRefusedError, HostedQuotaError, HostedOrchError, HostedTrialError, agentResponseSchema, isMultiTwinSeedEnvelope } from './chunk-
|
|
3
|
+
import { readManifest, normalizeManifestTwins } from './chunk-L7XARKMM.js';
|
|
4
|
+
import { MOUNTED_TWINS, HostedAuthError, HostedDiscardRefusedError, HostedQuotaError, HostedOrchError, HostedTrialError, agentResponseSchema, isMultiTwinSeedEnvelope } from './chunk-533VIN3J.js';
|
|
5
5
|
import { redactSecrets, redactEvent } from './chunk-SG6ZTIMT.js';
|
|
6
6
|
import { randomUUID, createHash } from 'node:crypto';
|
|
7
7
|
import { rm, readFile, stat, mkdir, writeFile, chmod, mkdtemp, readdir, rename } from 'node:fs/promises';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HostedOrchError, manifestSchema, deriveAgentSlug, SLUG_RE } from './chunk-
|
|
1
|
+
import { HostedOrchError, manifestSchema, deriveAgentSlug, SLUG_RE } from './chunk-533VIN3J.js';
|
|
2
2
|
import { readFile, writeFile } from 'node:fs/promises';
|
|
3
3
|
import { resolve, join, dirname } from 'node:path';
|
|
4
4
|
import { stringify, parse } from 'yaml';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { parseTaskFile, seedStateForTwin, runAgentCommand, writeRunArtifactsCore } from './chunk-
|
|
1
|
+
import { parseTaskFile, seedStateForTwin, runAgentCommand, writeRunArtifactsCore } from './chunk-EIEPFWHZ.js';
|
|
2
2
|
import { createRecorder, bootTwin } from './chunk-T73VMABH.js';
|
|
3
3
|
import { getAvailablePort } from './chunk-XDU6TD4O.js';
|
|
4
4
|
import { buildEgressAllowlist, readBlockedEgress } from './chunk-CBFKZZBR.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { newGroupId, reassuranceBox, twinReadyLine, trialsHeaderLine, trialLine, summaryLines, evaluatingLine, criterionPhrase } from './chunk-RGZBC7NF.js';
|
|
2
2
|
import { DemoCapacityError, capacityLabel, parseCapacityMarker, capacityKindFrom } from './chunk-ZX4WNSZ5.js';
|
|
3
|
-
import { runTask, demoTaskPath, DEMO_TASK_NAME, DEMO_REPO } from './chunk-
|
|
4
|
-
import { createHostedClient, parseTaskFile, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, outcomeOf } from './chunk-
|
|
3
|
+
import { runTask, demoTaskPath, DEMO_TASK_NAME, DEMO_REPO } from './chunk-THDEJ5AJ.js';
|
|
4
|
+
import { createHostedClient, parseTaskFile, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, outcomeOf } from './chunk-EIEPFWHZ.js';
|
|
5
5
|
import './chunk-NW7HGA2K.js';
|
|
6
6
|
import './chunk-3T5XN64P.js';
|
|
7
7
|
import './chunk-Q5NBPR57.js';
|
|
8
8
|
import { bootTwin } from './chunk-T73VMABH.js';
|
|
9
9
|
import './chunk-CNG6DQWX.js';
|
|
10
10
|
import { getAvailablePort } from './chunk-XDU6TD4O.js';
|
|
11
|
-
import { HostedQuotaError, HostedOrchError } from './chunk-
|
|
11
|
+
import { HostedQuotaError, HostedOrchError } from './chunk-533VIN3J.js';
|
|
12
12
|
import './chunk-CBFKZZBR.js';
|
|
13
13
|
import './chunk-HJX25USP.js';
|
|
14
14
|
import './chunk-VOHTQV4J.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { newGroupId, criterionPhrase } from './chunk-RGZBC7NF.js';
|
|
2
|
-
import { runTaskHosted, resolveRunAgentIdentity } from './chunk-
|
|
3
|
-
import { createHostedClient, parseTaskFile, outcomeOf } from './chunk-
|
|
2
|
+
import { runTaskHosted, resolveRunAgentIdentity } from './chunk-KY5OLJQI.js';
|
|
3
|
+
import { createHostedClient, parseTaskFile, outcomeOf } from './chunk-EIEPFWHZ.js';
|
|
4
4
|
import './chunk-DWOCTCSE.js';
|
|
5
5
|
import './chunk-NW7HGA2K.js';
|
|
6
6
|
import './chunk-3T5XN64P.js';
|
|
7
7
|
import './chunk-Q5NBPR57.js';
|
|
8
8
|
import './chunk-CNG6DQWX.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import { HostedQuotaError, HostedTrialError } from './chunk-
|
|
9
|
+
import './chunk-L7XARKMM.js';
|
|
10
|
+
import { HostedQuotaError, HostedTrialError } from './chunk-533VIN3J.js';
|
|
11
11
|
import './chunk-HJX25USP.js';
|
|
12
12
|
import './chunk-VOHTQV4J.js';
|
|
13
13
|
import './chunk-6KJC4BTO.js';
|
package/dist/src/cli/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { DEFAULT_CONTROL_PLANE_URL, DEFAULT_DASHBOARD_URL, clearLocalCredentials, friendlyHostedError, SESSION_TWIN_NAMES, runSessionCreate, runSessionList, runSessionStop, resolveCredentials, runTaskHosted, discoverRunSet, VERDICT_ARTIFACT_VERSION, persistCredentialsAfterLogin, DEFAULT_DOCS_SITE_ORIGIN, resolveSeams, resolveCachedAgentId, readLinkCache, postAgentResolver, writeLinkCache, ensurePomeGitignored } from '../../chunk-
|
|
3
|
-
import { assetPath, runTask, resolvePackageRoot, DEMO_TASK_NAME, demoTaskPath } from '../../chunk-
|
|
4
|
-
import { parseTaskFile, scoreStatus, runScoreLine, readLatestRun, readMetaSummary, outcomeOf, readConfigTwins, scoreCountsSummary, markerFor, criterionMarkerLabel, twinSkipSuffix, readCodeCriteria, createHostedClient, toTwinHttpEvent, redactJsonl, scoreFromFinalizeResponse, parseGitHubSeedState, uploadRunBlobs, isPreSatisfied } from '../../chunk-
|
|
2
|
+
import { DEFAULT_CONTROL_PLANE_URL, DEFAULT_DASHBOARD_URL, clearLocalCredentials, friendlyHostedError, SESSION_TWIN_NAMES, runSessionCreate, runSessionList, runSessionStop, resolveCredentials, runTaskHosted, discoverRunSet, VERDICT_ARTIFACT_VERSION, persistCredentialsAfterLogin, DEFAULT_DOCS_SITE_ORIGIN, resolveSeams, resolveCachedAgentId, readLinkCache, postAgentResolver, writeLinkCache, ensurePomeGitignored } from '../../chunk-KY5OLJQI.js';
|
|
3
|
+
import { assetPath, runTask, resolvePackageRoot, DEMO_TASK_NAME, demoTaskPath } from '../../chunk-THDEJ5AJ.js';
|
|
4
|
+
import { parseTaskFile, scoreStatus, runScoreLine, readLatestRun, readMetaSummary, outcomeOf, readConfigTwins, scoreCountsSummary, markerFor, criterionMarkerLabel, twinSkipSuffix, readCodeCriteria, createHostedClient, toTwinHttpEvent, redactJsonl, scoreFromFinalizeResponse, parseGitHubSeedState, uploadRunBlobs, isPreSatisfied } from '../../chunk-EIEPFWHZ.js';
|
|
5
5
|
import '../../chunk-DWOCTCSE.js';
|
|
6
6
|
import '../../chunk-NW7HGA2K.js';
|
|
7
7
|
import { GMAIL_CHECKS } from '../../chunk-JM6VS62R.js';
|
|
@@ -10,9 +10,9 @@ import { LINEAR_CHECKS } from '../../chunk-TSOSDKXP.js';
|
|
|
10
10
|
import '../../chunk-Q5NBPR57.js';
|
|
11
11
|
import '../../chunk-T73VMABH.js';
|
|
12
12
|
import { TWIN_NAME_LIST, isTwinName, createGitHubSmokeApp } from '../../chunk-CNG6DQWX.js';
|
|
13
|
-
import { readManifest, writeManifest, MANIFEST_JSON, readRequiredManifest, normalizeManifestTwins } from '../../chunk-
|
|
13
|
+
import { readManifest, writeManifest, MANIFEST_JSON, readRequiredManifest, normalizeManifestTwins } from '../../chunk-L7XARKMM.js';
|
|
14
14
|
import '../../chunk-XDU6TD4O.js';
|
|
15
|
-
import { MOUNTED_TWINS, deriveAgentSlug, exitCodeFor, HostedUsageError, HostedOrchError, HostedAuthError, HostedQuotaError } from '../../chunk-
|
|
15
|
+
import { MOUNTED_TWINS, deriveAgentSlug, exitCodeFor, HostedUsageError, HostedOrchError, HostedAuthError, HostedQuotaError } from '../../chunk-533VIN3J.js';
|
|
16
16
|
import '../../chunk-CBFKZZBR.js';
|
|
17
17
|
import { TAPE_ASSERTABLE_TOOLS } from '../../chunk-C4BVTUA3.js';
|
|
18
18
|
import { seedSchema } from '../../chunk-HJX25USP.js';
|
|
@@ -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.34.
|
|
4625
|
+
if ("0.34.2".length > 0) return "0.34.2";
|
|
4626
4626
|
try {
|
|
4627
4627
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
4628
4628
|
const candidates = [
|
|
@@ -5069,7 +5069,7 @@ function createProgram() {
|
|
|
5069
5069
|
return;
|
|
5070
5070
|
}
|
|
5071
5071
|
{
|
|
5072
|
-
const { runDoctorChecks } = await import('../../checks-
|
|
5072
|
+
const { runDoctorChecks } = await import('../../checks-TC6O2HZE.js');
|
|
5073
5073
|
const { renderDoctorReport } = await import('../../render-ZQQ4UMNO.js');
|
|
5074
5074
|
const doctorReport = await runDoctorChecks({ mode: useLocal ? "full" : "hosted" });
|
|
5075
5075
|
if (!doctorReport.ok) {
|
|
@@ -5107,7 +5107,7 @@ function createProgram() {
|
|
|
5107
5107
|
taskForRuns.config.runs
|
|
5108
5108
|
);
|
|
5109
5109
|
if (k > 1) {
|
|
5110
|
-
const { runTrialGroup } = await import('../../runTrialGroup-
|
|
5110
|
+
const { runTrialGroup } = await import('../../runTrialGroup-FVGBOLMJ.js');
|
|
5111
5111
|
const fileForRerun = relative(process.cwd(), file);
|
|
5112
5112
|
const rerunCommand = defaultTask ? options.trials !== void 0 ? `pome run -n ${k}` : "pome run" : `pome run ${fileForRerun && !fileForRerun.startsWith("..") ? fileForRerun : file} -n ${k}`;
|
|
5113
5113
|
const groupResult = await runTrialGroup({
|
|
@@ -5201,7 +5201,7 @@ function createProgram() {
|
|
|
5201
5201
|
process.exitCode = 5;
|
|
5202
5202
|
return;
|
|
5203
5203
|
}
|
|
5204
|
-
const { runDemo } = await import('../../runDemo-
|
|
5204
|
+
const { runDemo } = await import('../../runDemo-DV2TYPWC.js');
|
|
5205
5205
|
const result = await runDemo({
|
|
5206
5206
|
apiBase: opts.apiUrl.replace(/\/$/, ""),
|
|
5207
5207
|
dashboardBase: process.env.POME_DASHBOARD_URL ?? DEFAULT_DASHBOARD_URL,
|
|
@@ -5219,7 +5219,7 @@ function createProgram() {
|
|
|
5219
5219
|
program.command("doctor").summary("Check the agent and twin wiring").description(
|
|
5220
5220
|
"Check the agent\u2194twin wiring: pome.json (or pome.yaml) present + valid, the local twin boots + serves, requests routed to the twin (not a hardcoded production host), egress floor active. On failure prints one named cause (file:line where knowable) + one concrete fix and exits non-zero."
|
|
5221
5221
|
).action(async () => {
|
|
5222
|
-
const { runDoctorChecks } = await import('../../checks-
|
|
5222
|
+
const { runDoctorChecks } = await import('../../checks-TC6O2HZE.js');
|
|
5223
5223
|
const { renderDoctorReport } = await import('../../render-ZQQ4UMNO.js');
|
|
5224
5224
|
const report = await runDoctorChecks();
|
|
5225
5225
|
for (const line of renderDoctorReport(report, { passNote: true })) console.error(line);
|
|
@@ -5471,7 +5471,7 @@ function createProgram() {
|
|
|
5471
5471
|
egressOut: opts.egressOut
|
|
5472
5472
|
});
|
|
5473
5473
|
});
|
|
5474
|
-
program.command("health").description("
|
|
5474
|
+
program.command("health", { hidden: true }).description("Internal: boot the GitHub twin in process and print its health JSON.").action(async () => {
|
|
5475
5475
|
const app = await createGitHubSmokeApp();
|
|
5476
5476
|
const response = await app.request("http://pome.local/healthz");
|
|
5477
5477
|
console.log(await response.text());
|
package/package.json
CHANGED
|
File without changes
|