tines 0.0.141 → 0.0.142
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/index.js +17 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5314,7 +5314,16 @@ function printExplainer(issue, ex) {
|
|
|
5314
5314
|
console.log(`
|
|
5315
5315
|
${ex.verdict}
|
|
5316
5316
|
`);
|
|
5317
|
-
table(
|
|
5317
|
+
table(
|
|
5318
|
+
ex.checks.map((c) => [
|
|
5319
|
+
` ${c.ok ? "ok" : "FAIL"}`,
|
|
5320
|
+
c.name.replaceAll("_", " "),
|
|
5321
|
+
c.detail,
|
|
5322
|
+
// The remedy, when the check has one and it is something to run
|
|
5323
|
+
// here: a link is useless without an origin.
|
|
5324
|
+
c.action?.cli ? `fix: ${c.action.cli}` : ""
|
|
5325
|
+
])
|
|
5326
|
+
);
|
|
5318
5327
|
if (ex.pin) {
|
|
5319
5328
|
console.log(
|
|
5320
5329
|
`
|
|
@@ -7277,6 +7286,9 @@ async function runDaemon(opts) {
|
|
|
7277
7286
|
creds = { runner_id: registered.runner.id, token: registered.runner_token };
|
|
7278
7287
|
saveRunnerCredentials(opts.configDir, opts.url, opts.name, creds);
|
|
7279
7288
|
log(`registered runner "${opts.name}" (${creds.runner_id}); token stored in ${opts.configDir}`);
|
|
7289
|
+
log(
|
|
7290
|
+
`next: route work to "${opts.name}" and turn automation on \u2014 ${opts.url}/agents (or: tines routing set ${opts.name} && tines supervisor enable)`
|
|
7291
|
+
);
|
|
7280
7292
|
}
|
|
7281
7293
|
const client2 = createApiClient({ baseUrl: opts.url, apiKey: creds.token });
|
|
7282
7294
|
const statePath = daemonStatePath(opts.configDir, creds.runner_id);
|
|
@@ -7865,7 +7877,10 @@ function register8(program3) {
|
|
|
7865
7877
|
withCommon(
|
|
7866
7878
|
runnerCmd.command("daemon").description(
|
|
7867
7879
|
"Run the local runner daemon: register/reconnect, poll for assigned runs, execute them"
|
|
7868
|
-
).option(
|
|
7880
|
+
).option(
|
|
7881
|
+
"--name <name>",
|
|
7882
|
+
"runner name, unique per user; name it machine-plus-harness, e.g. macbook-claude (default: this hostname)"
|
|
7883
|
+
).option("--harness <harness>", "claude-code | codex | custom", "claude-code").option(
|
|
7869
7884
|
"--command <template>",
|
|
7870
7885
|
"custom harness command template ({prompt_file}, {workspace}, {model})"
|
|
7871
7886
|
).option("--max-concurrent <n>", "maximum simultaneous runs", (v) => Number.parseInt(v, 10), 1).option(
|