@outerlayer/cli 0.40.0-next.20261117153118 → 0.40.0
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/CHANGELOG.md +66 -0
- package/dist/build-info.json +1 -1
- package/dist/{check-AGKOAJNN.js → check-U5P5FFFB.js} +5 -5
- package/dist/{chunk-U4UNUFGQ.js → chunk-3UFBSPHM.js} +1 -1
- package/dist/{chunk-7NGDVPW3.js → chunk-CQIJVNUB.js} +1 -1
- package/dist/{chunk-FEPA6SZH.js → chunk-DAAZIWK2.js} +1 -1
- package/dist/{chunk-2Y7A2DHU.js → chunk-GBCTYHZ4.js} +1 -1
- package/dist/{chunk-23HTEYUO.js → chunk-H7IY5B2M.js} +4 -33
- package/dist/{chunk-R4QJBAMX.js → chunk-IGYRJWB4.js} +5 -5
- package/dist/{chunk-3GJOOJXQ.js → chunk-P6GTJQMA.js} +1 -1
- package/dist/{chunk-L3TSNFGB.js → chunk-WKO72EYV.js} +1 -1
- package/dist/{chunk-NUQ4DGEW.js → chunk-XEVGUSP6.js} +3 -3
- package/dist/{cli-YEVHK4XL.js → cli-EFLEZPHB.js} +24 -24
- package/dist/{command-B62ABFH5.js → command-22NUIO7Z.js} +2 -2
- package/dist/{container-start-37V6LKE4.js → container-start-PQAEL5ZS.js} +3 -3
- package/dist/{doctor-NVESMW4U.js → doctor-5VN6Q4ZU.js} +3 -3
- package/dist/{host-checks-C4I24MJI.js → host-checks-43WBI5JE.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-7XJFGR7I.js → init-IXQBYUOM.js} +1 -1
- package/dist/{init-MDEIAZEH.js → init-IZJENDA6.js} +1 -1
- package/dist/{init-agent-GSYW3CNF.js → init-agent-BWLBRVNP.js} +1 -1
- package/dist/{init-cmd-IW5V3S32.js → init-cmd-AL3ODKU6.js} +2 -2
- package/dist/{loop-GI2A4UVB.js → loop-Q5CTVY7B.js} +5 -5
- package/dist/{machine-W6O2JTXR.js → machine-55WUTHG3.js} +1 -1
- package/dist/{runner-key-B3SCTYFE.js → runner-key-OM2HCEVM.js} +1 -1
- package/dist/{setup-wiring-BBKT6Y7Z.js → setup-wiring-FRY6CKZ7.js} +3 -3
- package/dist/{status-JECQHO5C.js → status-JORNKH3T.js} +1 -1
- package/dist/{update-steps-LXEMAI2V.js → update-steps-LM3C7MG6.js} +2 -2
- package/dist/{work-proofs-cmd-VIIART7Y.js → work-proofs-cmd-OC3O264U.js} +1 -1
- package/dist/{work-proofs-record-JJG5V7U2.js → work-proofs-record-34VAOVND.js} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
1
|
# @outerlayer/cli
|
|
2
2
|
|
|
3
|
+
## 0.40.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 29b2a9e: The code review joins the reviewers' reports of one defect into one problem, drops problems its rules leave out, and gives each problem a severity, `blocking` or `advisory`. A review entry with no place or no reason, such as a note that the review is still running, is no longer posted as a problem.
|
|
8
|
+
- 202d4f3: Start Codex with `outerlayer codex`. It gets your factory's instructions, skills and hooks, and `outerlayer sync` uploads its sessions. `outerlayer doctor` checks the Codex login and version, and `outerlayer context emit` accepts `codex` as a target.
|
|
9
|
+
- 19e0d47: The runner judges an item's criteria as a step of its build, with no check file. `outerlayer init` writes no `.outerlayer/validators/acceptance-criteria.yaml`, and `outerlayer doctor` says to delete one that exists. Set `criteria.judge` and `criteria.judge_brief` in the policy file to change the judge.
|
|
10
|
+
- 59eae6a: A runner on sandboxes that OuterLayer provides keeps a work item's sandbox, paused, when a job ends. The item's next job asks the gateway to resume it, so a rerun or an amend does not clone and install again.
|
|
11
|
+
- 851df83: A sandbox that OuterLayer provides gets the machine size set in the factory's Build settings. `outerlayer runner init` has no `--machine` option. A config that still sets `runner.sandbox.machine` loads, and `outerlayer runner check` says that the key has no effect.
|
|
12
|
+
- ec357ad: `outerlayer setup` sets up a repository and a runner one step at a time. Each run does what it can and prints the next step, for a coding agent or a person.
|
|
13
|
+
- 89db358: The CLI needs Node.js 22.15 or later, the first Node that reads Codex's compressed sessions. On an older Node, `outerlayer sync` says that Codex session capture needs Node 22.15 or later and counts the sessions it skipped. `outerlayer codex` keeps the launch folder of a session that is still open after a day, reads a linked Codex config, hooks file or login, keeps a refreshed login it could not copy back, and keeps the OuterLayer MCP server in a config whose quoted key holds `=`. `outerlayer mcp install --transport http` gives Codex the API key through `bearer_token_env_var`. `outerlayer work mock add` refuses a folder with a message, and `outerlayer doctor` names TOML for Codex's config file.
|
|
14
|
+
- 65f0db7: The code review holds a change to rules your team writes in a `review` skill. `outerlayer init --template default` writes a starter file with two sections: "Also a problem here" and "Never a problem here". The review reads them from the control plane, or from the branch the pull request merges into, and never from the reviewed commit.
|
|
15
|
+
- a328207: `outerlayer runner check` and the runner refuse `runner.managed` in the config file. A runner that OuterLayer operates for managed builds sets `runner.fleet` instead.
|
|
16
|
+
- f7066d8: The runner takes criteria jobs (runner protocol 62), and a new maintained skill, `outerlayer-criteria`, records an item's acceptance criteria from its spec.
|
|
17
|
+
- 1386022: `outerlayer runner init --sandbox` sets up a runner on Linux and WSL2 that builds in sandboxes that OuterLayer provides. The machine needs no Docker and no KVM. `--machine small|large` sets the sandbox size. On a Linux machine that cannot isolate a build, the refusal now names `--sandbox`.
|
|
18
|
+
- 44a89ba: `outerlayer runner init --sandbox` sets up a runner on a Mac that builds in managed sandboxes. The runner runs as a launch agent, with no Docker and no Linux VM. `runner install --service`, `runner uninstall --service` and `runner status` work with the launch agent.
|
|
19
|
+
- 1f6c4f6: A build in a managed sandbox saves a state after its setup scripts pass, and starts again from it. Later builds of the same repositories on that runner start from the state, so they do not clone and install again. No step before the build's command gets the factory's build variables or the gh login.
|
|
20
|
+
- 7f69dd2: Self-hosted runners that build in managed sandboxes share their factory's saved states, so a second runner's first build skips setup too.
|
|
21
|
+
- b74ac94: `outerlayer work build` has no `--runner` option. The factory's **Builds run on** setting decides whether a managed or a self-hosted runner builds each item, and the output names that kind.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 984892b: A code review reports an earlier problem once, with the id and text it had. Reviewers give a verdict on each earlier problem and list only new ones.
|
|
26
|
+
- f614ea8: `outerlayer codex` uses the plugins you installed in Codex, and removes each launch's folder when Codex exits.
|
|
27
|
+
- b185330: `outerlayer connect --factory` and `outerlayer runner init --factory` accept an identifier that a factory had earlier, and print the current one.
|
|
28
|
+
- 95aa2f1: A demo's ring now marks what each step led to. After each click, fill, key press or move to another page, the first check rings its element, so a wait before the step no longer keeps the ring. A beat that checks the page's address shows the path in a strip over the page and rings it, and a `page.goto` in a beat types its path there first. `emit demo` refuses a beat that shows steps for more than 4 s after its line ends.
|
|
29
|
+
- 2f9bb40: The build skill writes the demo test of each screenshot or video criterion while it implements, before the repository's checks run. A build ends with a proof unproven only when the host cannot produce it, such as one that needs macOS or a device.
|
|
30
|
+
- eb60167: A fleet runner can build in sandboxes that OuterLayer provides.
|
|
31
|
+
- fb90608: A fleet runner asks for no more builds in a poll once a build's provision has ended during that poll. It gives back a claim that the gateway hands out after a provision failure started a wait.
|
|
32
|
+
- 7385bc0: A fleet runner waits after its sandbox provider has no room for a build. Before, it tried again at once and failed the build in seconds. A runner also waits as long as the provider's `Retry-After` header asks.
|
|
33
|
+
- 7b66a3f: A runner with `runner.fleet: true` builds only in sandboxes. `outerlayer runner check` and `outerlayer doctor` refuse `builtin:vm` hooks on a fleet runner. A runner you host yourself is not affected.
|
|
34
|
+
- ca5a57b: A fleet runner can build in sandboxes with `builtin:sandbox` hooks. It counts its builds against `runner.concurrency`, and keeps each organization's git mirrors and control-plane cache in that organization's folder.
|
|
35
|
+
- d901da0: A managed runner that builds in managed sandboxes saves a state after setup, and every machine of the runner starts the factory's next builds from it. Each build asks OuterLayer for the state, so a machine never starts from a state that only its own disk remembers.
|
|
36
|
+
- 98770e7: A fleet runner names the claims it holds when it asks for its next build. The gateway gives back a claim the runner never received, so that build starts again.
|
|
37
|
+
- a4e06cf: `outerlayer run found-issue` says when a report does not count against the run's issues, because OuterLayer already holds back the topic.
|
|
38
|
+
- 092e6d2: The CLI pins the root helper from guest-18, which can link an `openai.sock` socket to vsock port 3124 in a microVM build's jail. `outerlayer doctor` reports the older helper as stale until you run `outerlayer runner install --service --replace`.
|
|
39
|
+
- eda9367: A managed build's Small machine is 4 vCPU and 16 GiB, and its Large machine is 8 vCPU and 32 GiB.
|
|
40
|
+
- 73f336a: A runner with `builtin:sandbox` hooks builds in sandboxes that OuterLayer provides, and needs no `runner.sandbox` block. When OuterLayer provides no sandbox, `outerlayer runner check` and a held build say what to do without suggesting a sandbox provider account of your own. A gateway that provides no sandboxes points to `builtin:vm` or `builtin:container` hooks instead.
|
|
41
|
+
- fcebd78: A build in a managed sandbox waits up to 20 minutes for a sandbox that is slow to start.
|
|
42
|
+
- 0102a01: The `writing-specs` starter skill gives a spec one fixed set of plain headings: Summary, Problem, What done looks like, Out of scope, Constraints and Acceptance criteria. Paths, design and assumptions go under "Notes for the builder", so the part above it reads without code names. "Invariants", "non-goals", "prior art" and "rabbit holes" are gone.
|
|
43
|
+
- 7725fc8: `outerlayer work proofs` now says when a screenshot or video criterion has no demo chapter, instead of "the tests ran and wrote no file". The build and amend skills tell an agent to write and commit the missing demo test, even when the app does not start in the build.
|
|
44
|
+
- 77b13d1: A runner with free slots claims new work while an amend that only records proofs runs.
|
|
45
|
+
- 3f578f9: A runner builds an item again when its provision fails for a reason that can clear by itself: a sandbox provider that does not answer or answers with a server error, or a control plane that cannot be fetched for a moment. It waits 5 minutes, then 10, and ends the third such failure in a row as `failed`.
|
|
46
|
+
- f1ea572: A build or agent job that continues an earlier session runs a failed command again before it trusts that failure. The earlier run's "the app does not start" or "a port is not reachable" no longer carries into a new build where it may not hold.
|
|
47
|
+
- 763c7bc: A runner that builds in a sandbox takes code review jobs. Each review runs in a new sandbox.
|
|
48
|
+
- b952f11: A runner's code review job retries a fetch that fails on the network. It also retries a request refused for a stale signature. Its log says when the host was paused or asleep. A review job no longer runs a sync stage that fails.
|
|
49
|
+
- 28c10cb: The runner adds the co-author line only to commits in the build's own repositories, under `/build/work`. A test that makes a git repository in a temporary folder keeps the commit message it wrote.
|
|
50
|
+
- 495baba: `outerlayer runner install` writes the `~/.local/bin/outerlayer` command only for the runner of the default config, `~/.outerlayer/config.json`. A runner with another config no longer puts its version in front of your own `outerlayer`. On a Mac, `outerlayer runner status` for a runner that builds in managed sandboxes says `launch agent not installed` when there is no launch agent.
|
|
51
|
+
- a0022d2: The runner protocol is 58. The gateway can keep a managed sandbox that is slow to start for a runner that asks to wait. This runner does not ask yet.
|
|
52
|
+
- ae2edfe: The runner reports runner protocol 66. The gateway's managed sandbox routes now say which saved state a sandbox was made from, and a create can name a saved state. The runner does not use either yet.
|
|
53
|
+
- 278bc23: A runner release carries the time the job ended, and a release sent again after a restart carries the same time. A build that fails while its image builds gives the line that names the failed download.
|
|
54
|
+
- 2efc193: A service runner restarts for an update while its sandbox builds run, when the new version adopts them.
|
|
55
|
+
- e091608: A sandbox build no longer loses its work when its sandbox ends or restarts while it runs.
|
|
56
|
+
|
|
57
|
+
- A build keeps the time limit it started with. A raised `runner.timeLimitMinutes` applies to the builds that start after the change, so a running build ends at its own limit before its sandbox's limit at the provider, and its work is kept.
|
|
58
|
+
- A build whose sandbox the provider ended ends at once with the provider's reason. Before, the runner waited out the idle limit when the provider answered 410.
|
|
59
|
+
- A build whose container stopped, because its sandbox restarted, ends at once. The runner starts the container again to keep the build's session and work, which are on the sandbox's disk.
|
|
60
|
+
- The runner keeps its files in the sandbox in `/var/lib/ol-runner`. The sandbox empties `/tmp` when it restarts, which left the stopped container unable to start.
|
|
61
|
+
|
|
62
|
+
- bfcc1ea: A build in a sandbox uses the build skill of the runner's CLI. Before, it used the skill of the CLI that the sandbox's snapshot was made with.
|
|
63
|
+
- b9fa266: A runner on managed sandboxes waits and builds the item again when the gateway answers `sandbox_provider_busy`, at least as long as its `Retry-After` asks. A `sandbox_provider_refused` answer still ends the build as failed on its first try.
|
|
64
|
+
- c97407d: A runner that builds in sandboxes waits out a sandbox provider fault of up to five minutes while a command runs. A short fault no longer fails a build's setup or its proof recording. The command's log in the job directory grows while the command runs, so a lost sandbox still leaves it. A provider error with no message reads as `The provider answered HTTP 502`, not as a bare `(502)`.
|
|
65
|
+
- e0f7272: The runner reports runner protocol 67. The gateway refuses a run claim of a schedule automation from a read-only organization, and the runner logs that refusal with the billing link once.
|
|
66
|
+
- 1a95705: A build records passing test results for each criterion that no screen and no command output shows.
|
|
67
|
+
- 816fcb7: The `writing-tests` starter skill no longer mentions criterion ids in tests or a mutation tool. It keeps the check by hand: break the code a change adds, and see that a test fails. The `writing-specs` starter skill no longer mentions test citations.
|
|
68
|
+
|
|
3
69
|
## 0.39.0
|
|
4
70
|
|
|
5
71
|
### Minor Changes
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-11-
|
|
1
|
+
{"id":"2026-11-17T17:38:51.343Z","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-IGYRJWB4.js';
|
|
4
4
|
import './chunk-CVDB3ILT.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-CQIJVNUB.js';
|
|
7
|
+
import './chunk-P6GTJQMA.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
9
|
import './chunk-CHIKNMWU.js';
|
|
10
10
|
import './chunk-XC2ZN7UA.js';
|
|
11
|
-
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-
|
|
11
|
+
import { fleetConfigProblem, managedProblems, managedFactsOf, askFleetMachine } from './chunk-GBCTYHZ4.js';
|
|
12
12
|
import './chunk-DCY6QUS6.js';
|
|
13
|
-
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-
|
|
13
|
+
import { createGatewaySandboxClient, gatewayRefusalReason, placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, needsAgentCredential, agentCredentialCheck, claimPermissionProblem, formerSkillQueues, modellessQueues, formerSkillProblem, modellessProblem } from './chunk-H7IY5B2M.js';
|
|
14
14
|
import './chunk-HHOFP647.js';
|
|
15
15
|
import './chunk-HMW3UCME.js';
|
|
16
16
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-DAAZIWK2.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-4KCWAP5L.js';
|
|
5
5
|
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-24K3CV6P.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-Q5A5WWZI.js';
|
|
5
5
|
import { RunnerAlreadyRunningError, readPidFile } from './chunk-AQNL3XHS.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
@@ -1123,7 +1123,7 @@ async function gatherDoctorChecks(options = {}) {
|
|
|
1123
1123
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1124
1124
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1125
1125
|
} else if (hasRunnerBlock(configPath)) {
|
|
1126
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1126
|
+
const { runnerHostChecks } = await import('./doctor-5VN6Q4ZU.js');
|
|
1127
1127
|
const gateway = (() => {
|
|
1128
1128
|
try {
|
|
1129
1129
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import { checkFit } from './chunk-Q5A5WWZI.js';
|
|
5
5
|
import { getJson, WorkCommandError } from './chunk-YKVFVP4A.js';
|
|
6
6
|
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-ZCFGRVGX.js';
|
|
@@ -4919,11 +4919,8 @@ function saveFailureReason(err) {
|
|
|
4919
4919
|
if (err.status === 0) return `the gateway did not answer the save in ${SAVE_TIMEOUT_MS / 1e3} seconds: ${err.message}`;
|
|
4920
4920
|
return `the gateway refused the save: ${describeSandboxError(err)}`;
|
|
4921
4921
|
}
|
|
4922
|
-
function sandboxStateKey(runnerId, key, shared) {
|
|
4923
|
-
return shared ? key.baseKey : `${runnerId}/${key.baseKey}`;
|
|
4924
|
-
}
|
|
4925
4922
|
function sharesSavedStates(config) {
|
|
4926
|
-
return config.
|
|
4923
|
+
return config.sandbox?.provider === "outerlayer";
|
|
4927
4924
|
}
|
|
4928
4925
|
async function findSharedState(sandboxClient, input) {
|
|
4929
4926
|
if (sandboxClient.findState === void 0) return { ok: false, reason: "the sandbox provider finds no saved state" };
|
|
@@ -4956,38 +4953,13 @@ async function saveSandboxState(input) {
|
|
|
4956
4953
|
if (sandboxClient.saveState === void 0) return failed2("the sandbox provider saves no state");
|
|
4957
4954
|
let state;
|
|
4958
4955
|
try {
|
|
4959
|
-
const details =
|
|
4960
|
-
state = await sandboxClient.saveState(sandbox.id,
|
|
4956
|
+
const details = sharedStateDetails({ ...key, volume: input.build.volume, agentUid: input.agentUid });
|
|
4957
|
+
state = await sandboxClient.saveState(sandbox.id, key.baseKey, details);
|
|
4961
4958
|
} catch (err) {
|
|
4962
4959
|
return failed2(saveFailureReason(err));
|
|
4963
4960
|
}
|
|
4964
4961
|
if (input.aborted()) return void 0;
|
|
4965
|
-
|
|
4966
|
-
input.log(`saved state ${state.id}`);
|
|
4967
|
-
return { saved: true, id: state.id };
|
|
4968
|
-
}
|
|
4969
|
-
const record = {
|
|
4970
|
-
id: state.id,
|
|
4971
|
-
kind: "sandbox",
|
|
4972
|
-
volume: input.build.volume,
|
|
4973
|
-
savedAt: state.createdAt,
|
|
4974
|
-
bytes: 0,
|
|
4975
|
-
baseKey: key.baseKey,
|
|
4976
|
-
key: key.key,
|
|
4977
|
-
fileHashes: key.fileHashes,
|
|
4978
|
-
// A record is written as JSON, which leaves out an id the probe did not give.
|
|
4979
|
-
agentUid: input.agentUid,
|
|
4980
|
-
complete: true
|
|
4981
|
-
};
|
|
4982
|
-
await saveAndPrune({
|
|
4983
|
-
save: async () => {
|
|
4984
|
-
writeRecord2(dir, record);
|
|
4985
|
-
return { ok: true, record };
|
|
4986
|
-
},
|
|
4987
|
-
dir,
|
|
4988
|
-
removeVolume: async () => void 0,
|
|
4989
|
-
log: input.log
|
|
4990
|
-
});
|
|
4962
|
+
input.log(`saved state ${state.id}`);
|
|
4991
4963
|
return { saved: true, id: state.id };
|
|
4992
4964
|
}
|
|
4993
4965
|
async function cleanupSandbox(runtime, state, keepDisk) {
|
|
@@ -5598,7 +5570,6 @@ async function provisionSandboxOnce(input, allowRestore, itemDiskFailed, noSave)
|
|
|
5598
5570
|
build: { container, volume: volumeName, imageId: image, runnerId },
|
|
5599
5571
|
key: plan.key,
|
|
5600
5572
|
agentUid: probe.status === 0 ? parseIdentity(probe.stdout)?.uid ?? void 0 : void 0,
|
|
5601
|
-
shared: shared !== void 0,
|
|
5602
5573
|
dir: statesDir,
|
|
5603
5574
|
now: clockOf(input.now),
|
|
5604
5575
|
aborted: input.aborted,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-CVDB3ILT.js';
|
|
4
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
5
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
6
|
-
import { renderUpdateSteps } from './chunk-
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-CQIJVNUB.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-P6GTJQMA.js';
|
|
7
7
|
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
8
|
import { writeFleetState } from './chunk-CHIKNMWU.js';
|
|
9
9
|
import { writePendingUpdate } from './chunk-XC2ZN7UA.js';
|
|
10
|
-
import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-GBCTYHZ4.js';
|
|
11
11
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-DCY6QUS6.js';
|
|
12
|
-
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, timeoutAfter, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, fetchManagedClaudeKey, holdManagedClaudeKey, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, environmentFor, builtOf, judgeCredential, readWorkItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, timeoutAfter, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-H7IY5B2M.js';
|
|
13
13
|
import { RUNNER_PROTOCOL } from './chunk-HHOFP647.js';
|
|
14
14
|
import { criteriaOf, diffLines, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, parseJudgeAnswer, wholeEntries, treePath, lineInDiff } from './chunk-HMW3UCME.js';
|
|
15
15
|
import { RepoFilter } from './chunk-MUDXPJT6.js';
|
|
@@ -5190,7 +5190,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
5190
5190
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
5191
5191
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
5192
5192
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
5193
|
-
return (await import('./check-
|
|
5193
|
+
return (await import('./check-U5P5FFFB.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
5194
5194
|
},
|
|
5195
5195
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
5196
5196
|
log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-WNX2RR5P.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import { UNIT_MARKER } from './chunk-Q5A5WWZI.js';
|
|
5
5
|
import { runnerDir } from './chunk-VXL7SLO3.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
@@ -129,14 +129,14 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-43WBI5JE.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
139
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-43WBI5JE.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
141
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-34VAOVND.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-
|
|
3
|
+
import { gatherDoctorChecks, doctorExitCode, summarizeChecks, renderDoctorText, recordWrapped, recordUnwrapped, recordRemoval, readManifest, recordInstall, recordStatusline } from './chunk-DAAZIWK2.js';
|
|
4
4
|
import './chunk-FIH3QA4E.js';
|
|
5
5
|
import { verifiedTrackerNames, TRACKERS } from './chunk-YKVFVP4A.js';
|
|
6
6
|
import './chunk-J3P4WLJA.js';
|
|
@@ -3958,13 +3958,13 @@ what CLIs older than ${FIRST_VERSION_READING_AGENTS_SKILLS} do. \`` + cliInvocat
|
|
|
3958
3958
|
if (changed.length > 0 && !opts.json) process.stdout.write(`Removed the claude function from ${changed.join(", ")}.
|
|
3959
3959
|
`);
|
|
3960
3960
|
}
|
|
3961
|
-
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-
|
|
3961
|
+
const shell = !opts.remove && opts.shellFunction !== void 0 ? (await import('./init-cmd-AL3ODKU6.js')).applyShellFunctionFlag(opts.shellFunction, { home: homeFromEnv(), shellPath: process.env.SHELL }) : void 0;
|
|
3962
3962
|
if (opts.json) writeJson(shell === void 0 ? outcome.result : { ...outcome.result, shellFunction: { outcome: shell.outcome, reason: shell.reason } });
|
|
3963
3963
|
else process.stdout.write(outcome.text + skillsLine + (shell?.text ?? ""));
|
|
3964
3964
|
return;
|
|
3965
3965
|
}
|
|
3966
3966
|
await installMachineSkillsForSetup();
|
|
3967
|
-
const { runInitCommand } = await import('./init-cmd-
|
|
3967
|
+
const { runInitCommand } = await import('./init-cmd-AL3ODKU6.js');
|
|
3968
3968
|
const code = await runInitCommand(
|
|
3969
3969
|
{ json: opts.json, factory: opts.factory, shellFunction: opts.shellFunction },
|
|
3970
3970
|
{
|
|
@@ -4022,7 +4022,7 @@ not have, and prints the commit commands instead.
|
|
|
4022
4022
|
`
|
|
4023
4023
|
).action(async (opts) => {
|
|
4024
4024
|
const { runSetupCommand } = await import('./setup-cmd-S4ZIVRRF.js');
|
|
4025
|
-
const { realSetupDeps } = await import('./setup-wiring-
|
|
4025
|
+
const { realSetupDeps } = await import('./setup-wiring-FRY6CKZ7.js');
|
|
4026
4026
|
const cliBin = resolveCliBin();
|
|
4027
4027
|
const agentWords = runnerHelpWords();
|
|
4028
4028
|
const code = await runSetupCommand(
|
|
@@ -5294,7 +5294,7 @@ a runner build, no row is failed.
|
|
|
5294
5294
|
fail(trackerNumberError("--pr", opts.pr));
|
|
5295
5295
|
return;
|
|
5296
5296
|
}
|
|
5297
|
-
const { runWorkProofsCommand } = await import('./work-proofs-cmd-
|
|
5297
|
+
const { runWorkProofsCommand } = await import('./work-proofs-cmd-OC3O264U.js');
|
|
5298
5298
|
await runWorkProofsCommand({ ...opts, ...pr === void 0 ? {} : { pr } });
|
|
5299
5299
|
});
|
|
5300
5300
|
workCmd.command("list").description("List live work items for this factory").option("--stage <spec|build|review>", "filter by stage").option("--section <attention|waiting|flowing>", "filter by Queue section").option("--repo <owner/name>", "repository (default: the current checkout's remote)").option("--unclaimed", "only items with no live lease").option("--claimed", "only items with a live lease, held by a host or a local session").option("--startable", "only items a host can start: a build request, no open PR, no live lease").option("--needs <amend>", "only items with a thread waiting on an agent").option("--json", "machine-readable JSON output").option("--url <url>", "cloud base URL (or OUTERLAYER_URL / config)").addOption(apiKeyOption()).option("--app-id <id>", "factory id the key is bound to (or OUTERLAYER_APP_ID / config)").action(async (opts) => {
|
|
@@ -5517,7 +5517,7 @@ function registerRunnerCommands(program2) {
|
|
|
5517
5517
|
const configOption = "the cloud config file to run against (default: ~/.outerlayer/config.json)";
|
|
5518
5518
|
runnerCmd.command("start").description("Run the loop: claim work, run it, report, clean up, repeat").option("--config <path>", configOption).action(async (opts) => {
|
|
5519
5519
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-HZEVAUDO.js');
|
|
5520
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5520
|
+
const { start, RunnerStartError } = await import('./loop-Q5CTVY7B.js');
|
|
5521
5521
|
const { RunnerAlreadyRunningError } = await import('./pidfile-KOM3XD4E.js');
|
|
5522
5522
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5523
5523
|
try {
|
|
@@ -5541,8 +5541,8 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5541
5541
|
`
|
|
5542
5542
|
).action(async () => {
|
|
5543
5543
|
const { defaultRunnerConfigPath, RunnerConfigError } = await import('./config-HZEVAUDO.js');
|
|
5544
|
-
const { containerStart, containerStartExit } = await import('./container-start-
|
|
5545
|
-
const { start, RunnerStartError } = await import('./loop-
|
|
5544
|
+
const { containerStart, containerStartExit } = await import('./container-start-PQAEL5ZS.js');
|
|
5545
|
+
const { start, RunnerStartError } = await import('./loop-Q5CTVY7B.js');
|
|
5546
5546
|
const { RunnerAlreadyRunningError } = await import('./pidfile-KOM3XD4E.js');
|
|
5547
5547
|
try {
|
|
5548
5548
|
const outcome = containerStartExit(await containerStart({
|
|
@@ -5566,14 +5566,14 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5566
5566
|
).action(async (opts) => {
|
|
5567
5567
|
const { defaultRunnerConfigPath } = await import('./config-HZEVAUDO.js');
|
|
5568
5568
|
const { runnerDir } = await import('./paths-DWVALEBM.js');
|
|
5569
|
-
const { runUpdateSteps } = await import('./update-steps-
|
|
5569
|
+
const { runUpdateSteps } = await import('./update-steps-LM3C7MG6.js');
|
|
5570
5570
|
const text = await runUpdateSteps({ runnerDirPath: runnerDir(opts.config ?? defaultRunnerConfigPath()) });
|
|
5571
5571
|
process.stdout.write(`${text}
|
|
5572
5572
|
`);
|
|
5573
5573
|
});
|
|
5574
5574
|
runnerCmd.command("check").description("Validate the config, the hooks and the key, and print the effective settings").option("--config <path>", configOption).action(async (opts) => {
|
|
5575
5575
|
const { defaultRunnerConfigPath } = await import('./config-HZEVAUDO.js');
|
|
5576
|
-
const { runRunnerCheck } = await import('./check-
|
|
5576
|
+
const { runRunnerCheck } = await import('./check-U5P5FFFB.js');
|
|
5577
5577
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
5578
5578
|
const result = await runRunnerCheck(configPath);
|
|
5579
5579
|
if (!result.ok) {
|
|
@@ -5607,13 +5607,13 @@ The image sets OUTERLAYER_RUNNER_IMAGE; outside the image, use \`runner start\`.
|
|
|
5607
5607
|
}
|
|
5608
5608
|
}
|
|
5609
5609
|
const buildCpusMax = opts.buildCpusMax === void 0 ? void 0 : Number(opts.buildCpusMax);
|
|
5610
|
-
if (buildCpusMax !== void 0 && !(await import('./command-
|
|
5610
|
+
if (buildCpusMax !== void 0 && !(await import('./command-22NUIO7Z.js')).cpusAreValid(buildCpusMax)) {
|
|
5611
5611
|
fail(`--build-cpus-max ${opts.buildCpusMax} is not a number of CPUs from 0.01 to 1024.`);
|
|
5612
5612
|
return;
|
|
5613
5613
|
}
|
|
5614
5614
|
try {
|
|
5615
5615
|
if (opts.service === true) {
|
|
5616
|
-
const { installServiceCommand, serviceSuccessText } = await import('./command-
|
|
5616
|
+
const { installServiceCommand, serviceSuccessText } = await import('./command-22NUIO7Z.js');
|
|
5617
5617
|
const result2 = await installServiceCommand({
|
|
5618
5618
|
configPath,
|
|
5619
5619
|
print: opts.print,
|
|
@@ -5668,7 +5668,7 @@ To keep it running, run ${C.yellow}${cliInvocation()} runner install --service${
|
|
|
5668
5668
|
return;
|
|
5669
5669
|
}
|
|
5670
5670
|
const { defaultRunnerConfigPath } = await import('./config-HZEVAUDO.js');
|
|
5671
|
-
const { uninstallServiceCommand } = await import('./command-
|
|
5671
|
+
const { uninstallServiceCommand } = await import('./command-22NUIO7Z.js');
|
|
5672
5672
|
const result = await uninstallServiceCommand({ configPath: opts.config ?? defaultRunnerConfigPath(), unitName: opts.unitName, home: homeFromEnv() });
|
|
5673
5673
|
if (result.ok) for (const line of result.lines) process.stdout.write(`${C.green}\u2713${C.reset} ${line}
|
|
5674
5674
|
`);
|
|
@@ -5699,11 +5699,11 @@ already in ${words().envFile} is used.
|
|
|
5699
5699
|
`
|
|
5700
5700
|
).action(async (opts) => {
|
|
5701
5701
|
const { defaultRunnerConfigPath, loadRunnerConfig, RunnerConfigError } = await import('./config-HZEVAUDO.js');
|
|
5702
|
-
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal } = await import('./init-
|
|
5703
|
-
const { askManagedSandboxes } = await import('./check-
|
|
5704
|
-
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-
|
|
5705
|
-
const { detectMachine } = await import('./machine-
|
|
5706
|
-
const { chooseVm, runVmInit, VmInitError } = await import('./init-
|
|
5702
|
+
const { prepareRunnerInit, runRunnerInit, RunnerInitError, writeRunnerInit, removeRunnerBlock, nativeWindowsSandboxRefusal } = await import('./init-IZJENDA6.js');
|
|
5703
|
+
const { askManagedSandboxes } = await import('./check-U5P5FFFB.js');
|
|
5704
|
+
const { obtainRunnerKey, runnerKeyLogin } = await import('./runner-key-OM2HCEVM.js');
|
|
5705
|
+
const { detectMachine } = await import('./machine-55WUTHG3.js');
|
|
5706
|
+
const { chooseVm, runVmInit, VmInitError } = await import('./init-IXQBYUOM.js');
|
|
5707
5707
|
const { credentialFromStdin, isAgentName, restartForCredential, RunnerEnvError } = await import('./runner-env-WD6CPYTN.js');
|
|
5708
5708
|
const { headlessNames: headlessNames2 } = await import('./runner-agents-ZVIM6XVC.js');
|
|
5709
5709
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -5729,7 +5729,7 @@ already in ${words().envFile} is used.
|
|
|
5729
5729
|
return;
|
|
5730
5730
|
}
|
|
5731
5731
|
try {
|
|
5732
|
-
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-
|
|
5732
|
+
const { agentCredentialText, credentialQuestion, initAgent, terminalQuestion } = await import('./init-agent-BWLBRVNP.js');
|
|
5733
5733
|
agent = await initAgent({
|
|
5734
5734
|
flag: agent,
|
|
5735
5735
|
handOff: opts.configStdin === true,
|
|
@@ -5887,7 +5887,7 @@ ${C.yellow}The runner will not update itself: ${installErr.message}${C.reset}
|
|
|
5887
5887
|
let serviceUp = false;
|
|
5888
5888
|
let restart;
|
|
5889
5889
|
if (installedLayout) {
|
|
5890
|
-
const { installServiceCommand } = await import('./command-
|
|
5890
|
+
const { installServiceCommand } = await import('./command-22NUIO7Z.js');
|
|
5891
5891
|
const service = await installServiceCommand({
|
|
5892
5892
|
configPath,
|
|
5893
5893
|
entryPath: process.argv[1] ?? "",
|
|
@@ -6027,7 +6027,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6027
6027
|
});
|
|
6028
6028
|
runnerCmd.command("stop").description("Take no more work; finish running jobs, then exit").option("--config <path>", "the cloud config file naming the runner to stop").option("--now", "end running jobs immediately, with outcome stopped").action(async (opts) => {
|
|
6029
6029
|
const { defaultRunnerConfigPath } = await import('./config-HZEVAUDO.js');
|
|
6030
|
-
const { requestStop } = await import('./loop-
|
|
6030
|
+
const { requestStop } = await import('./loop-Q5CTVY7B.js');
|
|
6031
6031
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6032
6032
|
const { runnerImageVersion } = await import('./image-tag-VZTFHG6T.js');
|
|
6033
6033
|
await requestStop(configPath, Boolean(opts.now), void 0, { image: runnerImageVersion() !== void 0 });
|
|
@@ -6035,8 +6035,8 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6035
6035
|
runnerCmd.command("status").description("List running jobs; with --recent, finished ones too").option("--config <path>", "the cloud config file naming the runner to inspect").option("--recent", "also list finished jobs, newest first, capped at 20").option("--json", "machine-readable JSON output").action(async (opts) => {
|
|
6036
6036
|
const { builtinKind, defaultRunnerConfigPath, loadRunnerConfig } = await import('./config-HZEVAUDO.js');
|
|
6037
6037
|
const { jobsDir, runnerDir } = await import('./paths-DWVALEBM.js');
|
|
6038
|
-
const { listJobFiles, runnerProcessState } = await import('./loop-
|
|
6039
|
-
const { renderStatus } = await import('./status-
|
|
6038
|
+
const { listJobFiles, runnerProcessState } = await import('./loop-Q5CTVY7B.js');
|
|
6039
|
+
const { renderStatus } = await import('./status-JORNKH3T.js');
|
|
6040
6040
|
const { readHousekeepingRecord } = await import('./record-S2WGEUIM.js');
|
|
6041
6041
|
const path2 = await import('path');
|
|
6042
6042
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
@@ -6109,7 +6109,7 @@ A repository with no devcontainer file builds on the universal image the CLI pin
|
|
|
6109
6109
|
});
|
|
6110
6110
|
runnerCmd.command("logs").argument("<item>", "the work item's number in the factory, or a build's claim id").description("Print the newest attempt's log for one item or claim id").option("--config <path>", "the cloud config file naming the runner to inspect").option("-f, --follow", "keep printing as the log grows").action(async (itemArg, opts) => {
|
|
6111
6111
|
const { defaultRunnerConfigPath } = await import('./config-HZEVAUDO.js');
|
|
6112
|
-
const { listJobFiles } = await import('./loop-
|
|
6112
|
+
const { listJobFiles } = await import('./loop-Q5CTVY7B.js');
|
|
6113
6113
|
const { describeAmbiguous, logPathFor, selectAttempt, tail, RunnerLogsError } = await import('./logs-NWVFDJS3.js');
|
|
6114
6114
|
const configPath = opts.config ?? defaultRunnerConfigPath();
|
|
6115
6115
|
const jobs = listJobFiles(configPath);
|
|
@@ -4,10 +4,10 @@ import { realLaunchAgentHost } from './chunk-3FCYURWW.js';
|
|
|
4
4
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-Q7OOS23E.js';
|
|
5
5
|
import { installSandboxAgent, uninstallSandboxAgent } from './chunk-7RIWXHSY.js';
|
|
6
6
|
import './chunk-TXKHD4Q6.js';
|
|
7
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
7
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-WKO72EYV.js';
|
|
8
8
|
import './chunk-2SS737DI.js';
|
|
9
9
|
import { currentLink, execStartCommand } from './chunk-DCY6QUS6.js';
|
|
10
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
10
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-H7IY5B2M.js';
|
|
11
11
|
import './chunk-HHOFP647.js';
|
|
12
12
|
import './chunk-HMW3UCME.js';
|
|
13
13
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-
|
|
4
|
-
import { readOwnContainer } from './chunk-
|
|
5
|
-
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-CQIJVNUB.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-P6GTJQMA.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-H7IY5B2M.js';
|
|
6
6
|
import './chunk-HHOFP647.js';
|
|
7
7
|
import './chunk-HMW3UCME.js';
|
|
8
8
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperBinaryFor } from './chunk-
|
|
4
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
3
|
+
import { helperBinaryFor } from './chunk-WKO72EYV.js';
|
|
4
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-GBCTYHZ4.js';
|
|
5
5
|
import { launcherCheck } from './chunk-2SS737DI.js';
|
|
6
6
|
import './chunk-DCY6QUS6.js';
|
|
7
|
-
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
7
|
+
import { needsAgentCredential, agentCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-H7IY5B2M.js';
|
|
8
8
|
import './chunk-HHOFP647.js';
|
|
9
9
|
import './chunk-HMW3UCME.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-
|
|
3
|
+
export { MAX_CHECK_ITEMS_BYTES, builtOf, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import './chunk-HHOFP647.js';
|
|
5
5
|
import './chunk-HMW3UCME.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
package/dist/index.js
CHANGED
|
@@ -25,5 +25,5 @@ var { runSubcommand } = await import('./agent-subcommand-U7TXKOF4.js');
|
|
|
25
25
|
var launcherCode = await runSubcommand(argv);
|
|
26
26
|
if (launcherCode !== void 0) process.exit(launcherCode);
|
|
27
27
|
(await import('./hook-fast-CQ2YCZLB.js')).recordLinkExitFailure(argv);
|
|
28
|
-
var { runCli } = await import('./cli-
|
|
28
|
+
var { runCli } = await import('./cli-EFLEZPHB.js');
|
|
29
29
|
await runCli(process.argv);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { npmSupportsProvenance } from './chunk-E7R2GIAW.js';
|
|
4
|
-
import { RunnerInitError, readConfigObject } from './chunk-
|
|
4
|
+
import { RunnerInitError, readConfigObject } from './chunk-H7IY5B2M.js';
|
|
5
5
|
import './chunk-HHOFP647.js';
|
|
6
6
|
import './chunk-HMW3UCME.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, nativeWindowsSandboxRefusal, prepareRunnerInit, readConfigObject, removeRunnerBlock, runRunnerInit, writeRunnerInit } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import './chunk-HHOFP647.js';
|
|
5
5
|
import './chunk-HMW3UCME.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RunnerInitError } from './chunk-
|
|
3
|
+
import { RunnerInitError } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import './chunk-HHOFP647.js';
|
|
5
5
|
import './chunk-HMW3UCME.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { applyShellFunctionFlag, runInitCommand } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { applyShellFunctionFlag, runInitCommand } from './chunk-3UFBSPHM.js';
|
|
4
|
+
import './chunk-DAAZIWK2.js';
|
|
5
5
|
import './chunk-4KCWAP5L.js';
|
|
6
6
|
import './chunk-FIH3QA4E.js';
|
|
7
7
|
import './chunk-YKVFVP4A.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-
|
|
3
|
+
export { LAPSED_REASON, RunnerStartError, applyComments, endWhenStartFails, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, provisionsBesideOthers, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-IGYRJWB4.js';
|
|
4
4
|
import './chunk-CVDB3ILT.js';
|
|
5
5
|
import './chunk-E7R2GIAW.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-CQIJVNUB.js';
|
|
7
|
+
import './chunk-P6GTJQMA.js';
|
|
8
8
|
import './chunk-TXKHD4Q6.js';
|
|
9
9
|
import './chunk-CHIKNMWU.js';
|
|
10
10
|
import './chunk-XC2ZN7UA.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-GBCTYHZ4.js';
|
|
12
12
|
import './chunk-DCY6QUS6.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-H7IY5B2M.js';
|
|
14
14
|
import './chunk-HHOFP647.js';
|
|
15
15
|
import './chunk-HMW3UCME.js';
|
|
16
16
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-
|
|
3
|
+
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import './chunk-HHOFP647.js';
|
|
5
5
|
import './chunk-HMW3UCME.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readConfigObject, RunnerInitError } from './chunk-
|
|
3
|
+
import { readConfigObject, RunnerInitError } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import './chunk-HHOFP647.js';
|
|
5
5
|
import './chunk-HMW3UCME.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runInitCommand } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { runInitCommand } from './chunk-3UFBSPHM.js';
|
|
4
|
+
import './chunk-DAAZIWK2.js';
|
|
5
5
|
import './chunk-4KCWAP5L.js';
|
|
6
6
|
import { currentBranch, openSetupPullRequest, setupPullRequestUrl, setupBranchPushed, setupMerged, setupBaseBranch, markSetupInstalled, setupInstalled } from './chunk-CDMNKUFT.js';
|
|
7
|
-
import { detectMachine, supportsMicroVmBuilds, supportsContainerBuilds, reachDockerStep, describeMachineDocker } from './chunk-
|
|
7
|
+
import { detectMachine, supportsMicroVmBuilds, supportsContainerBuilds, reachDockerStep, describeMachineDocker } from './chunk-H7IY5B2M.js';
|
|
8
8
|
import './chunk-HHOFP647.js';
|
|
9
9
|
import './chunk-HMW3UCME.js';
|
|
10
10
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-
|
|
3
|
+
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-H7IY5B2M.js';
|
|
4
4
|
import './chunk-HHOFP647.js';
|
|
5
5
|
import './chunk-HMW3UCME.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-P6GTJQMA.js';
|
|
4
|
+
import './chunk-H7IY5B2M.js';
|
|
5
5
|
import './chunk-HHOFP647.js';
|
|
6
6
|
import './chunk-HMW3UCME.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-
|
|
3
|
+
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, renderProofRow, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-XEVGUSP6.js';
|
|
4
4
|
import './chunk-HMW3UCME.js';
|
|
5
5
|
import './chunk-YKVFVP4A.js';
|
|
6
6
|
import './chunk-J3P4WLJA.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-
|
|
3
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, testProofMode, classifyProofsAt, runWorkProofs, proofsCommentId, testFilesOf, freshXmlFiles, joinResults, testSelectors, kindProblem, renderProofRow, proofsCommentBody } from './chunk-XEVGUSP6.js';
|
|
4
4
|
import { runWorkComment } from './chunk-ZHRXINEW.js';
|
|
5
5
|
import { runEmitDemo, planScreenshots, chapterPassed, readStill } from './chunk-U74YD3WB.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.40.0
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "OuterLayer CLI — commands: setup, init, claude, opencode, codex, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, run, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Magu Studios, Inc.",
|