@pome-sh/cli 0.23.3 → 0.23.4
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-MSUPRIKQ.js → checks-HIGL2LWC.js} +2 -2
- package/dist/{chunk-PQYIAA6K.js → chunk-7AMIVWUB.js} +4 -3
- package/dist/{chunk-LI7RLYVA.js → chunk-GFTFMA3T.js} +1 -1
- package/dist/{chunk-ZJU4JMHY.js → chunk-LRNQ3IDA.js} +3 -3
- package/dist/{chunk-KUVTL4NZ.js → chunk-XOWIA7NR.js} +1 -1
- package/dist/{chunk-M4P2435M.js → chunk-YUKMLGYF.js} +1 -1
- package/dist/{runDemo-LLR4FAS4.js → runDemo-4J5TDA5N.js} +3 -3
- package/dist/{runTrialGroup-G4OOARX2.js → runTrialGroup-AVNW3D3L.js} +4 -4
- package/dist/src/cli/main.js +11 -13
- 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.23.
|
|
4
|
-
"git_sha": "
|
|
5
|
-
"build_time": "2026-08-10T14:
|
|
3
|
+
"version": "0.23.4",
|
|
4
|
+
"git_sha": "33793129a877db31c9ef5c777f5dd45c2f6d1a8c",
|
|
5
|
+
"build_time": "2026-08-10T14:48:52.274Z"
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { findManifestPath, readManifest } from './chunk-
|
|
1
|
+
import { findManifestPath, readManifest } from './chunk-XOWIA7NR.js';
|
|
2
2
|
import { getAvailablePort } from './chunk-XDU6TD4O.js';
|
|
3
3
|
import { buildEgressAllowlist } from './chunk-CBFKZZBR.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-7AMIVWUB.js';
|
|
5
5
|
import './chunk-VBATFCWR.js';
|
|
6
6
|
import './chunk-SG6ZTIMT.js';
|
|
7
7
|
import { serve } from '@hono/node-server';
|
|
@@ -948,9 +948,10 @@ var agentResponseSchema = z.object({
|
|
|
948
948
|
display_name: z.string(),
|
|
949
949
|
judge_model: z.string(),
|
|
950
950
|
// Manifest identity (F-818): registered agent.framework / agent.description /
|
|
951
|
-
// agent.version, nullable where the server has nothing stored
|
|
952
|
-
// the pre-F-820 cloud, which
|
|
953
|
-
|
|
951
|
+
// agent.version, nullable where the server has nothing stored (F-1213:
|
|
952
|
+
// unset, never a guessed default). Optional for the pre-F-820 cloud, which
|
|
953
|
+
// omits them.
|
|
954
|
+
framework: z.string().nullable().optional(),
|
|
954
955
|
description: z.string().nullable().optional(),
|
|
955
956
|
version: z.string().nullable().optional(),
|
|
956
957
|
// F-818 resolver semantics: true when POST /v1/agents auto-registered a new
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { criterionSchema, finalizeResponseSchema, HostedDiscardRefusedError, HostedOrchError, HostedAuthError, HostedQuotaError, submitResultResponseSchema, createEvalSessionResponseSchema, createSessionResponseSchema, sessionPublicSchema } from './chunk-
|
|
1
|
+
import { criterionSchema, finalizeResponseSchema, HostedDiscardRefusedError, HostedOrchError, HostedAuthError, HostedQuotaError, submitResultResponseSchema, createEvalSessionResponseSchema, createSessionResponseSchema, sessionPublicSchema } from './chunk-7AMIVWUB.js';
|
|
2
2
|
import { seedSchema, parseSeed, defaultSeedState as defaultSeedState$2 } from './chunk-SGDUD7KK.js';
|
|
3
3
|
import { gmailSeedSchema, defaultSeedState } from './chunk-NJ246QPJ.js';
|
|
4
4
|
import { linearSeedSchema, defaultSeedState as defaultSeedState$1 } from './chunk-ZKID2HS3.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { readManifest, normalizeManifestTwins } from './chunk-
|
|
2
|
-
import { createHostedClient, perTwinReturnedByCloud, parseTaskFile, runAgentCommand, writeRunArtifactsCore, toTwinHttpEvent, redactJsonl, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, evaluationCounts } from './chunk-
|
|
3
|
-
import { MOUNTED_TWINS, HostedAuthError, HostedDiscardRefusedError, HostedQuotaError, HostedOrchError, HostedTrialError, agentResponseSchema } from './chunk-
|
|
1
|
+
import { readManifest, normalizeManifestTwins } from './chunk-XOWIA7NR.js';
|
|
2
|
+
import { createHostedClient, perTwinReturnedByCloud, parseTaskFile, runAgentCommand, writeRunArtifactsCore, toTwinHttpEvent, redactJsonl, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, evaluationCounts } from './chunk-GFTFMA3T.js';
|
|
3
|
+
import { MOUNTED_TWINS, HostedAuthError, HostedDiscardRefusedError, HostedQuotaError, HostedOrchError, HostedTrialError, agentResponseSchema } from './chunk-7AMIVWUB.js';
|
|
4
4
|
import { redactSecrets, redactEvent } from './chunk-SG6ZTIMT.js';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
6
6
|
import { readFile, rm, stat, mkdir, writeFile, chmod, mkdtemp, readdir } 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-7AMIVWUB.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,6 +1,6 @@
|
|
|
1
1
|
import { getAvailablePort } from './chunk-XDU6TD4O.js';
|
|
2
2
|
import { buildEgressAllowlist, readBlockedEgress } from './chunk-CBFKZZBR.js';
|
|
3
|
-
import { parseTaskFile, seedStateForTwin, runAgentCommand, writeRunArtifactsCore } from './chunk-
|
|
3
|
+
import { parseTaskFile, seedStateForTwin, runAgentCommand, writeRunArtifactsCore } from './chunk-GFTFMA3T.js';
|
|
4
4
|
import { createRecorder, bootTwin } from './chunk-2R46XQAL.js';
|
|
5
5
|
import { eventSchema } from './chunk-VBATFCWR.js';
|
|
6
6
|
import { redactSecrets, redactEvent } from './chunk-SG6ZTIMT.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
3
|
+
import { runTask, demoTaskPath, DEMO_TASK_NAME, DEMO_REPO } from './chunk-YUKMLGYF.js';
|
|
4
4
|
import { getAvailablePort } from './chunk-XDU6TD4O.js';
|
|
5
5
|
import './chunk-CBFKZZBR.js';
|
|
6
|
-
import { createHostedClient, parseTaskFile, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, outcomeOf } from './chunk-
|
|
6
|
+
import { createHostedClient, parseTaskFile, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus, outcomeOf } from './chunk-GFTFMA3T.js';
|
|
7
7
|
import './chunk-NW7HGA2K.js';
|
|
8
|
-
import { HostedQuotaError, HostedOrchError } from './chunk-
|
|
8
|
+
import { HostedQuotaError, HostedOrchError } from './chunk-7AMIVWUB.js';
|
|
9
9
|
import './chunk-SGDUD7KK.js';
|
|
10
10
|
import './chunk-NJ246QPJ.js';
|
|
11
11
|
import './chunk-ZKID2HS3.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { newGroupId, criterionPhrase } from './chunk-RGZBC7NF.js';
|
|
2
|
-
import { runTaskHosted, resolveRunAgentIdentity } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import { createHostedClient, parseTaskFile, outcomeOf } from './chunk-
|
|
2
|
+
import { runTaskHosted, resolveRunAgentIdentity } from './chunk-LRNQ3IDA.js';
|
|
3
|
+
import './chunk-XOWIA7NR.js';
|
|
4
|
+
import { createHostedClient, parseTaskFile, outcomeOf } from './chunk-GFTFMA3T.js';
|
|
5
5
|
import './chunk-NW7HGA2K.js';
|
|
6
|
-
import { HostedQuotaError, HostedTrialError } from './chunk-
|
|
6
|
+
import { HostedQuotaError, HostedTrialError } from './chunk-7AMIVWUB.js';
|
|
7
7
|
import './chunk-SGDUD7KK.js';
|
|
8
8
|
import './chunk-NJ246QPJ.js';
|
|
9
9
|
import './chunk-ZKID2HS3.js';
|
package/dist/src/cli/main.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { DEFAULT_CONTROL_PLANE_URL, DEFAULT_DASHBOARD_URL, clearLocalCredentials, friendlyHostedError, runSessionCreate, runSessionList, runSessionStop, resolveCredentials, runTaskHosted, discoverRunSet, VERDICT_ARTIFACT_VERSION, loadTrialEvents, persistCredentialsAfterLogin, DEFAULT_DOCS_SITE_ORIGIN, resolveSeams, resolveCachedAgentId, readLinkCache, postAgentResolver, writeLinkCache, ensurePomeGitignored } from '../../chunk-
|
|
3
|
-
import { readManifest, writeManifest, MANIFEST_JSON, readRequiredManifest, normalizeManifestTwins } from '../../chunk-
|
|
4
|
-
import { assetPath, runTask, resolvePackageRoot, DEMO_TASK_NAME, demoTaskPath } from '../../chunk-
|
|
2
|
+
import { DEFAULT_CONTROL_PLANE_URL, DEFAULT_DASHBOARD_URL, clearLocalCredentials, friendlyHostedError, runSessionCreate, runSessionList, runSessionStop, resolveCredentials, runTaskHosted, discoverRunSet, VERDICT_ARTIFACT_VERSION, loadTrialEvents, persistCredentialsAfterLogin, DEFAULT_DOCS_SITE_ORIGIN, resolveSeams, resolveCachedAgentId, readLinkCache, postAgentResolver, writeLinkCache, ensurePomeGitignored } from '../../chunk-LRNQ3IDA.js';
|
|
3
|
+
import { readManifest, writeManifest, MANIFEST_JSON, readRequiredManifest, normalizeManifestTwins } from '../../chunk-XOWIA7NR.js';
|
|
4
|
+
import { assetPath, runTask, resolvePackageRoot, DEMO_TASK_NAME, demoTaskPath } from '../../chunk-YUKMLGYF.js';
|
|
5
5
|
import '../../chunk-XDU6TD4O.js';
|
|
6
6
|
import '../../chunk-CBFKZZBR.js';
|
|
7
|
-
import { parseTaskFile, scoreStatus, runScoreLine, readLatestRun, readMetaSummary, readConfigTwins, scoreCountsSummary, markerFor, outcomeOf, criterionMarkerLabel, twinSkipSuffix, readCodeCriteria, createHostedClient, toTwinHttpEvent, redactJsonl, scoreFromFinalizeResponse, parseGitHubSeedState, uploadRunBlobs, isPreSatisfied } from '../../chunk-
|
|
7
|
+
import { parseTaskFile, scoreStatus, runScoreLine, readLatestRun, readMetaSummary, readConfigTwins, scoreCountsSummary, markerFor, outcomeOf, criterionMarkerLabel, twinSkipSuffix, readCodeCriteria, createHostedClient, toTwinHttpEvent, redactJsonl, scoreFromFinalizeResponse, parseGitHubSeedState, uploadRunBlobs, isPreSatisfied } from '../../chunk-GFTFMA3T.js';
|
|
8
8
|
import '../../chunk-NW7HGA2K.js';
|
|
9
|
-
import { MOUNTED_TWINS, deriveAgentSlug, exitCodeFor, HostedUsageError, HostedOrchError, HostedAuthError, HostedQuotaError } from '../../chunk-
|
|
9
|
+
import { MOUNTED_TWINS, deriveAgentSlug, exitCodeFor, HostedUsageError, HostedOrchError, HostedAuthError, HostedQuotaError } from '../../chunk-7AMIVWUB.js';
|
|
10
10
|
import { TAPE_ASSERTABLE_TOOLS } from '../../chunk-FKZZWWYC.js';
|
|
11
11
|
import { seedSchema } from '../../chunk-SGDUD7KK.js';
|
|
12
12
|
import { SLACK_CHECKS } from '../../chunk-6OT4IW25.js';
|
|
@@ -4086,8 +4086,6 @@ async function createAndPersistAgent(input) {
|
|
|
4086
4086
|
if (typeof description === "string") nextAgent.description = description;
|
|
4087
4087
|
const version = agent.version ?? existingAgent.version;
|
|
4088
4088
|
if (typeof version === "string") nextAgent.version = version;
|
|
4089
|
-
const framework = agent.framework ?? existingAgent.framework;
|
|
4090
|
-
if (typeof framework === "string") nextAgent.framework = framework;
|
|
4091
4089
|
const nextRaw = {
|
|
4092
4090
|
...input.manifestRead.raw,
|
|
4093
4091
|
agent: nextAgent
|
|
@@ -4251,7 +4249,7 @@ async function writeClaudeSdkScaffold() {
|
|
|
4251
4249
|
await mkdir(dirname(path), { recursive: true });
|
|
4252
4250
|
await writeFile(path, CLAUDE_SDK_AGENT_SOURCE, "utf8");
|
|
4253
4251
|
return {
|
|
4254
|
-
agentSdkValue: "claude",
|
|
4252
|
+
agentSdkValue: "claude-agent-sdk",
|
|
4255
4253
|
agentCommand: `npx tsx ${CLAUDE_SDK_AGENT_RELATIVE}`,
|
|
4256
4254
|
exampleAgentRelativePath: CLAUDE_SDK_AGENT_RELATIVE,
|
|
4257
4255
|
postInstallHint: "Next steps:\n 1. npm install @pome-sh/adapter-claude-sdk @anthropic-ai/claude-agent-sdk zod\n 2. pome login\n 3. pome register agent <name>\n 4. pome run tasks/01-bug-happy-path.md\n\nSee `pome docs getting-started` for a narrative walkthrough."
|
|
@@ -4497,7 +4495,7 @@ var DEFAULT_AGENT_FILE = "examples/agents/scripted-triage-agent.ts";
|
|
|
4497
4495
|
var DEFAULT_AGENT_COMMAND = `node ${DEFAULT_AGENT_FILE}`;
|
|
4498
4496
|
var MANIFEST_SCHEMA_URL = "https://pome.sh/schemas/v1/pome.json";
|
|
4499
4497
|
function readPackageVersion() {
|
|
4500
|
-
if ("0.23.
|
|
4498
|
+
if ("0.23.4".length > 0) return "0.23.4";
|
|
4501
4499
|
try {
|
|
4502
4500
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
4503
4501
|
const candidates = [
|
|
@@ -4952,7 +4950,7 @@ function createProgram() {
|
|
|
4952
4950
|
return;
|
|
4953
4951
|
}
|
|
4954
4952
|
{
|
|
4955
|
-
const { runDoctorChecks } = await import('../../checks-
|
|
4953
|
+
const { runDoctorChecks } = await import('../../checks-HIGL2LWC.js');
|
|
4956
4954
|
const { renderDoctorReport } = await import('../../render-ZQQ4UMNO.js');
|
|
4957
4955
|
const doctorReport = await runDoctorChecks({ mode: useLocal ? "full" : "hosted" });
|
|
4958
4956
|
if (!doctorReport.ok) {
|
|
@@ -4990,7 +4988,7 @@ function createProgram() {
|
|
|
4990
4988
|
taskForRuns.config.runs
|
|
4991
4989
|
);
|
|
4992
4990
|
if (k > 1) {
|
|
4993
|
-
const { runTrialGroup } = await import('../../runTrialGroup-
|
|
4991
|
+
const { runTrialGroup } = await import('../../runTrialGroup-AVNW3D3L.js');
|
|
4994
4992
|
const fileForRerun = relative(process.cwd(), file);
|
|
4995
4993
|
const rerunCommand = defaultTask ? options.trials !== void 0 ? `pome run -n ${k}` : "pome run" : `pome run ${fileForRerun && !fileForRerun.startsWith("..") ? fileForRerun : file} -n ${k}`;
|
|
4996
4994
|
const groupResult = await runTrialGroup({
|
|
@@ -5084,7 +5082,7 @@ function createProgram() {
|
|
|
5084
5082
|
process.exitCode = 5;
|
|
5085
5083
|
return;
|
|
5086
5084
|
}
|
|
5087
|
-
const { runDemo } = await import('../../runDemo-
|
|
5085
|
+
const { runDemo } = await import('../../runDemo-4J5TDA5N.js');
|
|
5088
5086
|
const result = await runDemo({
|
|
5089
5087
|
apiBase: opts.apiUrl.replace(/\/$/, ""),
|
|
5090
5088
|
dashboardBase: process.env.POME_DASHBOARD_URL ?? DEFAULT_DASHBOARD_URL,
|
|
@@ -5102,7 +5100,7 @@ function createProgram() {
|
|
|
5102
5100
|
program.command("doctor").description(
|
|
5103
5101
|
"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."
|
|
5104
5102
|
).action(async () => {
|
|
5105
|
-
const { runDoctorChecks } = await import('../../checks-
|
|
5103
|
+
const { runDoctorChecks } = await import('../../checks-HIGL2LWC.js');
|
|
5106
5104
|
const { renderDoctorReport } = await import('../../render-ZQQ4UMNO.js');
|
|
5107
5105
|
const report = await runDoctorChecks();
|
|
5108
5106
|
for (const line of renderDoctorReport(report, { passNote: true })) console.error(line);
|
package/package.json
CHANGED