@pome-sh/cli 0.21.2 → 0.21.3
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-MPWDPVBN.js → checks-2AIHHQC2.js} +2 -2
- package/dist/{chunk-ONXQCWPY.js → chunk-CLGRZY53.js} +3 -1
- package/dist/{chunk-BSKITCXD.js → chunk-KUVTL4NZ.js} +1 -1
- package/dist/{chunk-AVUKOLA4.js → chunk-NWXONLFF.js} +1 -1
- package/dist/{chunk-44TBTTIT.js → chunk-OMVRPIBP.js} +3 -3
- package/dist/{chunk-2Q7AYEUA.js → chunk-PQYIAA6K.js} +3 -0
- package/dist/{runDemo-YP7OOX3I.js → runDemo-M3GEOJLT.js} +3 -3
- package/dist/{runTrialGroup-FRG5STUA.js → runTrialGroup-QQNDVHMR.js} +4 -4
- package/dist/src/cli/main.js +10 -10
- package/package.json +1 -1
- package/tasks/00-default-seed.md +1 -0
- package/tasks/01-bug-happy-path.md +1 -0
- package/tasks/03-already-triaged.md +1 -0
- package/tasks/04-judge-context.md +1 -0
- package/tasks/05-github-identity-spoof.md +1 -0
- package/tasks/06-mislabeled-needs-fix.md +1 -0
- package/tasks/07-pr-backdoor-review.md +1 -0
- package/tasks/08-prompt-injection-issue-body.md +1 -0
- package/tasks/09-security-revert-rationalization.md +1 -0
- package/tasks/10-stripe-create-payment-intent.md +1 -0
- package/tasks/11-stripe-handle-failed-payment.md +1 -0
- package/tasks/12-stripe-reconcile-event.md +1 -0
- package/tasks/13-stripe-x402-payment-required.md +1 -0
- package/tasks/14-stripe-refund-retry.md +1 -0
- package/tasks/17-in-scope-injection.md +1 -0
- package/tasks/18-fabricate-green-ci.md +1 -0
- package/tasks/19-stripe-rerefund-persuasion.md +1 -0
- package/tasks/20-slack-exfiltration.md +1 -0
- package/tasks/21-slack-injection.md +1 -0
- package/tasks/22-gmail-inbox-triage.md +1 -0
- package/tasks/23-gmail-first-party-parity.md +1 -0
- package/tasks/24-linear-issue-triage.md +1 -0
- package/tasks/25-linear-comment-label-triage.md +1 -0
- package/tasks/26-github-linear-handoff.md +1 -0
- package/tasks/27-gmail-github-support-escalation.md +1 -0
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "pome-sh",
|
|
3
|
-
"version": "0.21.
|
|
4
|
-
"git_sha": "
|
|
5
|
-
"build_time": "2026-08-
|
|
3
|
+
"version": "0.21.3",
|
|
4
|
+
"git_sha": "11f1db23bf2afb196ce865950555b207923121e0",
|
|
5
|
+
"build_time": "2026-08-05T19:24:45.080Z"
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { findManifestPath, readManifest } from './chunk-
|
|
1
|
+
import { findManifestPath, readManifest } from './chunk-KUVTL4NZ.js';
|
|
2
2
|
import { getAvailablePort } from './chunk-XDU6TD4O.js';
|
|
3
3
|
import { buildEgressAllowlist } from './chunk-CBFKZZBR.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-PQYIAA6K.js';
|
|
5
5
|
import './chunk-VBATFCWR.js';
|
|
6
6
|
import './chunk-SG6ZTIMT.js';
|
|
7
7
|
import { serve } from '@hono/node-server';
|
|
@@ -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-PQYIAA6K.js';
|
|
2
2
|
import { seedSchema, parseSeed, defaultSeedState as defaultSeedState$2 } from './chunk-OKDJRKJV.js';
|
|
3
3
|
import { gmailSeedSchema, defaultSeedState } from './chunk-WVWV7DLA.js';
|
|
4
4
|
import { linearSeedSchema, defaultSeedState as defaultSeedState$1 } from './chunk-APAS34RJ.js';
|
|
@@ -151,8 +151,10 @@ function parseGitHubSeedState(input) {
|
|
|
151
151
|
}
|
|
152
152
|
return seed;
|
|
153
153
|
}
|
|
154
|
+
var taskClassSchema = z.enum(["conformance", "restraint", "adversarial"]);
|
|
154
155
|
var taskConfigSchema = z.object({
|
|
155
156
|
twins: z.array(z.string()).default(["github"]),
|
|
157
|
+
class: taskClassSchema.optional(),
|
|
156
158
|
timeout: z.number().int().positive().default(60),
|
|
157
159
|
runs: z.number().int().positive().default(1),
|
|
158
160
|
passThreshold: z.number().min(0).max(100).default(100)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HostedOrchError, manifestSchema, deriveAgentSlug, SLUG_RE } from './chunk-
|
|
1
|
+
import { HostedOrchError, manifestSchema, deriveAgentSlug, SLUG_RE } from './chunk-PQYIAA6K.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-CLGRZY53.js';
|
|
4
4
|
import { createRecorder, bootTwin } from './chunk-JQQPZQOJ.js';
|
|
5
5
|
import { eventSchema } from './chunk-VBATFCWR.js';
|
|
6
6
|
import { redactSecrets, redactEvent } from './chunk-SG6ZTIMT.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { readManifest, normalizeManifestTwins } from './chunk-
|
|
2
|
-
import { createHostedClient, perTwinReturnedByCloud, parseTaskFile, runAgentCommand, writeRunArtifactsCore, toTwinHttpEvent, redactJsonl, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus } from './chunk-
|
|
3
|
-
import { MOUNTED_TWINS, HostedAuthError, HostedDiscardRefusedError, HostedQuotaError, HostedOrchError, HostedTrialError, agentResponseSchema } from './chunk-
|
|
1
|
+
import { readManifest, normalizeManifestTwins } from './chunk-KUVTL4NZ.js';
|
|
2
|
+
import { createHostedClient, perTwinReturnedByCloud, parseTaskFile, runAgentCommand, writeRunArtifactsCore, toTwinHttpEvent, redactJsonl, uploadRunBlobs, scoreFromFinalizeResponse, scoreStatus } from './chunk-CLGRZY53.js';
|
|
3
|
+
import { MOUNTED_TWINS, HostedAuthError, HostedDiscardRefusedError, HostedQuotaError, HostedOrchError, HostedTrialError, agentResponseSchema } from './chunk-PQYIAA6K.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';
|
|
@@ -691,8 +691,11 @@ z.record(
|
|
|
691
691
|
z.string(),
|
|
692
692
|
z.record(z.string(), z.unknown())
|
|
693
693
|
);
|
|
694
|
+
var taskClassSchema = z.enum(["conformance", "restraint", "adversarial"]);
|
|
694
695
|
var taskConfigSchema = z.object({
|
|
695
696
|
twins: z.array(z.string()).default(["github"]),
|
|
697
|
+
class: taskClassSchema.optional(),
|
|
698
|
+
// F-1302 — conformance vs the exam half
|
|
696
699
|
timeout: z.number().int().positive().default(60),
|
|
697
700
|
// seconds
|
|
698
701
|
runs: z.number().int().positive().default(1),
|
|
@@ -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-NWXONLFF.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-CLGRZY53.js';
|
|
7
7
|
import './chunk-NW7HGA2K.js';
|
|
8
|
-
import { HostedQuotaError, HostedOrchError } from './chunk-
|
|
8
|
+
import { HostedQuotaError, HostedOrchError } from './chunk-PQYIAA6K.js';
|
|
9
9
|
import './chunk-OKDJRKJV.js';
|
|
10
10
|
import './chunk-WVWV7DLA.js';
|
|
11
11
|
import './chunk-APAS34RJ.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-OMVRPIBP.js';
|
|
3
|
+
import './chunk-KUVTL4NZ.js';
|
|
4
|
+
import { createHostedClient, parseTaskFile, outcomeOf } from './chunk-CLGRZY53.js';
|
|
5
5
|
import './chunk-NW7HGA2K.js';
|
|
6
|
-
import { HostedQuotaError, HostedTrialError } from './chunk-
|
|
6
|
+
import { HostedQuotaError, HostedTrialError } from './chunk-PQYIAA6K.js';
|
|
7
7
|
import './chunk-OKDJRKJV.js';
|
|
8
8
|
import './chunk-WVWV7DLA.js';
|
|
9
9
|
import './chunk-APAS34RJ.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, 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, loadTrialEvents, persistCredentialsAfterLogin, DEFAULT_DOCS_SITE_ORIGIN, resolveSeams, resolveCachedAgentId, readLinkCache, postAgentResolver, writeLinkCache, ensurePomeGitignored } from '../../chunk-OMVRPIBP.js';
|
|
3
|
+
import { readManifest, writeManifest, MANIFEST_JSON, readRequiredManifest, normalizeManifestTwins } from '../../chunk-KUVTL4NZ.js';
|
|
4
|
+
import { assetPath, runTask, resolvePackageRoot, DEMO_TASK_NAME, demoTaskPath } from '../../chunk-NWXONLFF.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 } from '../../chunk-
|
|
7
|
+
import { parseTaskFile, scoreStatus, runScoreLine, readLatestRun, readMetaSummary, readConfigTwins, scoreCountsSummary, markerFor, outcomeOf, criterionMarkerLabel, twinSkipSuffix, readCodeCriteria, createHostedClient, toTwinHttpEvent, redactJsonl, scoreFromFinalizeResponse, parseGitHubSeedState, uploadRunBlobs } from '../../chunk-CLGRZY53.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-PQYIAA6K.js';
|
|
10
10
|
import { TAPE_ASSERTABLE_TOOLS, seedSchema, openGitHubCloneDatabase, GitHubDomain } from '../../chunk-OKDJRKJV.js';
|
|
11
11
|
import { SLACK_CHECKS } from '../../chunk-IY6G5NWT.js';
|
|
12
12
|
import { GMAIL_CHECKS } from '../../chunk-WVWV7DLA.js';
|
|
@@ -4498,7 +4498,7 @@ var DEFAULT_AGENT_FILE = "examples/agents/scripted-triage-agent.ts";
|
|
|
4498
4498
|
var DEFAULT_AGENT_COMMAND = `node ${DEFAULT_AGENT_FILE}`;
|
|
4499
4499
|
var MANIFEST_SCHEMA_URL = "https://pome.sh/schemas/v1/pome.json";
|
|
4500
4500
|
function readPackageVersion() {
|
|
4501
|
-
if ("0.21.
|
|
4501
|
+
if ("0.21.3".length > 0) return "0.21.3";
|
|
4502
4502
|
try {
|
|
4503
4503
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
4504
4504
|
const candidates = [
|
|
@@ -4953,7 +4953,7 @@ function createProgram() {
|
|
|
4953
4953
|
return;
|
|
4954
4954
|
}
|
|
4955
4955
|
{
|
|
4956
|
-
const { runDoctorChecks } = await import('../../checks-
|
|
4956
|
+
const { runDoctorChecks } = await import('../../checks-2AIHHQC2.js');
|
|
4957
4957
|
const { renderDoctorReport } = await import('../../render-ZQQ4UMNO.js');
|
|
4958
4958
|
const doctorReport = await runDoctorChecks({ mode: useLocal ? "full" : "hosted" });
|
|
4959
4959
|
if (!doctorReport.ok) {
|
|
@@ -4991,7 +4991,7 @@ function createProgram() {
|
|
|
4991
4991
|
taskForRuns.config.runs
|
|
4992
4992
|
);
|
|
4993
4993
|
if (k > 1) {
|
|
4994
|
-
const { runTrialGroup } = await import('../../runTrialGroup-
|
|
4994
|
+
const { runTrialGroup } = await import('../../runTrialGroup-QQNDVHMR.js');
|
|
4995
4995
|
const fileForRerun = relative(process.cwd(), file);
|
|
4996
4996
|
const rerunCommand = defaultTask ? options.trials !== void 0 ? `pome run -n ${k}` : "pome run" : `pome run ${fileForRerun && !fileForRerun.startsWith("..") ? fileForRerun : file} -n ${k}`;
|
|
4997
4997
|
const groupResult = await runTrialGroup({
|
|
@@ -5085,7 +5085,7 @@ function createProgram() {
|
|
|
5085
5085
|
process.exitCode = 5;
|
|
5086
5086
|
return;
|
|
5087
5087
|
}
|
|
5088
|
-
const { runDemo } = await import('../../runDemo-
|
|
5088
|
+
const { runDemo } = await import('../../runDemo-M3GEOJLT.js');
|
|
5089
5089
|
const result = await runDemo({
|
|
5090
5090
|
apiBase: opts.apiUrl.replace(/\/$/, ""),
|
|
5091
5091
|
dashboardBase: process.env.POME_DASHBOARD_URL ?? DEFAULT_DASHBOARD_URL,
|
|
@@ -5103,7 +5103,7 @@ function createProgram() {
|
|
|
5103
5103
|
program.command("doctor").description(
|
|
5104
5104
|
"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."
|
|
5105
5105
|
).action(async () => {
|
|
5106
|
-
const { runDoctorChecks } = await import('../../checks-
|
|
5106
|
+
const { runDoctorChecks } = await import('../../checks-2AIHHQC2.js');
|
|
5107
5107
|
const { renderDoctorReport } = await import('../../render-ZQQ4UMNO.js');
|
|
5108
5108
|
const report = await runDoctorChecks();
|
|
5109
5109
|
for (const line of renderDoctorReport(report, { passNote: true })) console.error(line);
|
package/package.json
CHANGED
package/tasks/00-default-seed.md
CHANGED