monoban 1.16.0 → 1.17.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.
Files changed (2) hide show
  1. package/dist/index.mjs +101 -59
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -5924,7 +5924,7 @@ const RUN_ENDINGS$1 = [
5924
5924
  ];
5925
5925
  /**
5926
5926
  * Why a run ended the way it did, as a code (MON-303): the reason's English words stay its detail, and the web says
5927
- * the code's sentence in the reader's language (`runs.reason.<code>`) with them under it. Only an ending a person acts
5927
+ * the code's sentence in the reader's language (`shared.run.reason.<code>`, `describeRunReason`) with them under it. Only an ending a person acts
5928
5928
  * on has one; any other has none, and reads as its words. Add new ones; never change the meaning of existing ones. One
5929
5929
  * meaning, one code, named as the API's problems are (MON-288).
5930
5930
  */
@@ -6868,6 +6868,7 @@ const PROBLEM_CODES = [
6868
6868
  "no_runner",
6869
6869
  "open_tasks_limit",
6870
6870
  "runner_outdated",
6871
+ "daily_limit",
6871
6872
  "used_by_loop",
6872
6873
  "place_gone",
6873
6874
  "too_late"
@@ -7674,9 +7675,10 @@ const LoopRunPlanSchema = object({
7674
7675
  */
7675
7676
  closes: LoopRunClosesSchema.nullable().optional(),
7676
7677
  /**
7677
- * A person started it on a task they named (`{task}`, `{task, from}`, an accept: MON-273): a one-off, which may
7678
- * start on a paused loop (from a browser) and never counts toward the loop's `perDay` or `pauseAfter`. False for
7679
- * Run now (`{}`) and for a run its runner's check-in started.
7678
+ * A person started it from a signed-in browser on a task they named (`{task}`, `{task, from}`, an accept, a start
7679
+ * over: MON-273): a one-off, which may start on a paused loop and never counts toward the loop's `perDay` or
7680
+ * `pauseAfter`. False for Run now (`{}`), for a run its runner's check-in started, and for a named start from a CLI
7681
+ * or a personal token, which counts like the loop's own runs (MON-315).
7680
7682
  */
7681
7683
  byPerson: boolean()
7682
7684
  }).meta({ id: "LoopRunPlan" });
@@ -7941,7 +7943,13 @@ const LoopBase = object({
7941
7943
  name: string(),
7942
7944
  online: boolean(),
7943
7945
  /** Its machine merges loops' pull requests: false when its runner says it never does (`loops.merge: false`). */
7944
- merges: boolean()
7946
+ merges: boolean(),
7947
+ /**
7948
+ * What its runner can do beyond its recipes (loops.ts `RUNNER_FEATURES`), as its process said last, online or
7949
+ * not: the loop page tells you when it lacks one the loop's options need (`missingFeatures`, MON-249). None once
7950
+ * the runner is gone.
7951
+ */
7952
+ features: array(string())
7945
7953
  }).meta({ id: "LoopRunner" }),
7946
7954
  workdir: string(),
7947
7955
  /** Between the starts of its runs. */
@@ -8890,7 +8898,7 @@ function archivedByTime(task, archiveAfterDays, now = Date.now()) {
8890
8898
  }
8891
8899
  // src/version.ts
8892
8900
  /** This CLI's version, from package.json (set at build time by tsdown, and by vitest in tests). */
8893
- const VERSION = "1.16.0";
8901
+ const VERSION = "1.17.0";
8894
8902
  /** Sent as X-Monoban-Client, and shown in Settings › CLI sessions. */
8895
8903
  const CLIENT = `cli/${VERSION}`;
8896
8904
  // src/api.ts
@@ -9029,7 +9037,7 @@ var KeychainStore = class {
9029
9037
  this.entry.setPassword(JSON.stringify(credentials));
9030
9038
  } catch (err) {
9031
9039
  if (!this.warned) {
9032
- this.warn(`Couldn't use the system keychain (${reason$2(err)}), so the sign-in is saved in ${this.file.path}.`);
9040
+ this.warn(`Couldn't use the system keychain (${reason$1(err)}), so the sign-in is saved in ${this.file.path}.`);
9033
9041
  this.warned = true;
9034
9042
  }
9035
9043
  await this.file.save(credentials);
@@ -9044,7 +9052,7 @@ var KeychainStore = class {
9044
9052
  await this.file.clear();
9045
9053
  }
9046
9054
  };
9047
- const reason$2 = (err) => (err instanceof Error ? err.message : String(err)).split("\n")[0];
9055
+ const reason$1 = (err) => (err instanceof Error ? err.message : String(err)).split("\n")[0];
9048
9056
  /**
9049
9057
  * The store for one API (`account` is its origin, so a local API's sign-in never mixes with
9050
9058
  * api.monoban.dev's). The keychain module is optional: without it (or with MONOBAN_NO_KEYCHAIN=1)
@@ -12437,8 +12445,8 @@ const RELEASES = `https://github.com/thiagodmont/homebrew-tap/releases`;
12437
12445
  * agentpipe comes with a new monoban: change these three lines (from the release's checksums.txt) and release.
12438
12446
  */
12439
12447
  const AGENTPIPE = {
12440
- version: "0.15.0",
12441
- wheelSha256: "bb184e5ca93798d34e78a264587468ba33420f9f774e3cfc669d05c49bdbc8ea",
12448
+ version: "0.16.0",
12449
+ wheelSha256: "ceb968faac32beb5bdd6b439300aebad46d269193fb18796e9a9de5996f44e43",
12442
12450
  requirementsSha256: "41a8d073b0087efb80efafeb6a2b4750340d0f64920159cd4c723ed9167d0a98"
12443
12451
  };
12444
12452
  /**
@@ -12560,7 +12568,7 @@ async function latestVersion(ctx) {
12560
12568
  async function upgrade(ctx, options, kind = thisInstall()) {
12561
12569
  const latest = await latestVersion(ctx);
12562
12570
  const { how, command } = UPGRADE[kind];
12563
- const outdated = latest !== null && newer(latest, "1.16.0");
12571
+ const outdated = latest !== null && newer(latest, "1.17.0");
12564
12572
  if (options.json) {
12565
12573
  ctx.out(JSON.stringify({
12566
12574
  version: VERSION,
@@ -17989,7 +17997,10 @@ var en_US_default = {
17989
17997
  "continueHint": "A run starts from the step you choose at the runner's next check-in.",
17990
17998
  "oneOff": "The loop stays paused: only this run starts.",
17991
17999
  "neverMerges": "{runner} never merges: its runner.json says `loops.merge` is false, so a run there stops before the merge. Turn it on there. On the runner's machine: `monoban runner restart`.",
17992
- "stopped": "{at, select, implement {It stopped while writing the change.} review {It stopped while reviewing the change.} checks {It stopped while getting CI green.} feedback {It stopped while answering the review comments.} merge {Its merge didn't go through.} beforeMerge {It did every step before merge.} other {}}"
18000
+ "stopped": "{at, select, implement {It stopped while writing the change.} review {It stopped while reviewing the change.} checks {It stopped while getting CI green.} feedback {It stopped while answering the review comments.} merge {Its merge didn't go through.} beforeMerge {It did every step before merge.} other {}}",
18001
+ "sites": "May read pages on {list}",
18002
+ "advisor": "The advisor decides every question nobody answered",
18003
+ "acceptAtMerge": "Decisions it made on its own merge without you reading them"
17993
18004
  },
17994
18005
  runs: {
17995
18006
  "heading": "Runs",
@@ -18008,6 +18019,7 @@ var en_US_default = {
18008
18019
  "newTitle": "New loop in {project}",
18009
18020
  "editTitle": "Edit {name}",
18010
18021
  "description": "A loop runs an agent on your runner, through agentpipe, again and again. It starts at its runner's next check-in.",
18022
+ "appliesLater": "{going, select, yes {Applies to its later runs. Cancel the run that's going on to stop it.} other {Applies to its later runs.}}",
18011
18023
  "name": "Name",
18012
18024
  "namePlaceholder": "Ship the To do column",
18013
18025
  "type": "Type",
@@ -18026,15 +18038,20 @@ var en_US_default = {
18026
18038
  "anyTag": "any tag: every task in the column",
18027
18039
  "merge": "Merge each pull request when its checks pass",
18028
18040
  "mergeHint": "Off: each pull request waits for you to merge.",
18041
+ "acceptAtMerge": "Merge without confirming decisions",
18042
+ "acceptAtMergeHint": "Off: the merge waits until you accept each decision a run made on its own. On: they merge unread, listed on the run and the pull request. One that's hard to undo, or whose source wasn't verified, still waits for you.",
18043
+ "acceptAtMergeOff": "Needs merging on.",
18029
18044
  "deliverMaxOpen": "Pull requests that may wait for you",
18030
18045
  "checksMinutes": "Wait for checks (minutes)",
18031
18046
  "reviewTier": "Review on",
18032
18047
  "reviewTierHint": "The models agentpipe reviews the pull request with: its tier (--tier).",
18033
18048
  "reviewTierDefault": "agentpipe's own tier",
18034
18049
  "askMinutes": "Wait for your answers",
18035
- "askMinutesHint": "A question only you can settle waits this long for your answer before the run decides it on its own. While it waits, the run keeps its worktree and its runner.",
18036
- "askNever": "Don't wait: it decides on its own",
18050
+ "askMinutesHint": "A question only you can settle waits this long for your answer first.",
18051
+ "askNever": "Don't wait",
18037
18052
  "askFor": "{minutes} minutes",
18053
+ "advisor": "Let the advisor decide what nobody answered",
18054
+ "advisorHint": "Off, a question no source can answer stops the run for you; on, agentpipe's strongest model decides every open question, on its best judgement when it finds no source, and writes why.",
18038
18055
  "focus": "What to look for",
18039
18056
  "focusPlaceholder": "Tests that fail now and then, and why",
18040
18057
  "filesIn": "Files tasks in",
@@ -18060,9 +18077,15 @@ var en_US_default = {
18060
18077
  "scavenge": "It looks for: {focus}. It files what it finds in {column}, tagged #{tag}, and stops filing while {maxOpen, plural, one {# of those tasks is} other {# of those tasks are}} open."
18061
18078
  },
18062
18079
  "delivering": "{merge, select, yes {It merges each pull request when its checks pass} other {It leaves each pull request for you to merge}}, and stops taking tasks while {maxOpen, plural, one {# pull request waits} other {# pull requests wait}} for you.",
18063
- "decisions": "{merge, select, yes {{askMinutes, plural, =0 {It decides a question only you can settle on its own, and holds the merge until you accept that decision on the loop's page.} other {It waits up to # minutes for your answer to a question only you can settle, then decides it on its own and holds the merge until you accept that decision on the loop's page.}}} other {{askMinutes, plural, =0 {It decides a question only you can settle on its own.} other {It waits up to # minutes for your answer to a question only you can settle, then decides it on its own.}}}}",
18080
+ "decisions": {
18081
+ "wait": "{askMinutes, plural, =0 {It doesn't wait for your answer to a question only you can settle.} other {It waits up to # minutes for your answer to a question only you can settle.}}",
18082
+ "advisor": "{advisor, select, yes {The advisor decides every question nobody answered.} other {A question nobody answered that no source settles stops the run for you.}}",
18083
+ "merge": "{accept, select, yes {Decisions it made on its own merge without you reading them.} other {Its merge waits until you accept each decision it made on its own, on the loop's page.}}"
18084
+ },
18064
18085
  "limits": "It makes up to {perDay, plural, one {# run} other {# runs}} a day, spends at most {budget} a run and {budgetDay} a day, and pauses after {pauseAfter, plural, one {a run that fails} other {# runs in a row that fail}}.",
18065
- "incomplete": "Fill in the fields above to see what the loop will do."
18086
+ "incomplete": "Fill in the fields above to see what the loop will do.",
18087
+ "sites": "{sites, plural, =0 {} other {To check an answer that cites a web page, it may read pages on {list}.}}",
18088
+ "more": "{count, plural, one {# more} other {# more}}"
18066
18089
  },
18067
18090
  "create": "Create loop",
18068
18091
  "creating": "Creating…",
@@ -18083,9 +18106,16 @@ var en_US_default = {
18083
18106
  "tag": "Pick the tag it puts on what it files.",
18084
18107
  "columnGone": "Its column was deleted: pick another.",
18085
18108
  "tagGone": "Its tag was deleted: pick another.",
18086
- "nul": "Can't contain NUL characters."
18109
+ "nul": "Can't contain NUL characters.",
18110
+ "siteName": "{entry} isn't a site's name. Write only the name, like docs.python.org.",
18111
+ "sitesNone": "List at least one site.",
18112
+ "sitesMany": "At most {max} sites.",
18113
+ "sitesLong": "At most {max, number} characters in all."
18087
18114
  },
18088
- "pauseAfterHint": "That fail, counted since you last resumed it."
18115
+ "pauseAfterHint": "That fail, counted since you last resumed it.",
18116
+ "network": "Let it check answers against web pages",
18117
+ "sites": "Sites it may read",
18118
+ "sitesHint": "One per line, like docs.python.org. {named, select, yes {{runner}} other {The runner's machine}} must permit each one too, or the run won't start. <how>How to permit a site</how>"
18089
18119
  },
18090
18120
  "delete": {
18091
18121
  "title": "Delete {name}?",
@@ -18126,7 +18156,7 @@ var en_US_default = {
18126
18156
  "startOver": "A run closes {number, select, none {its pull request} other {#{number}}} and starts {ref} over at its runner's next check-in."
18127
18157
  },
18128
18158
  decisions: {
18129
- "why": "The agent decided without asking anyone. Read them against the <pr>pull request</pr> at {commit}: accepting them lets it merge that commit, not one pushed after.",
18159
+ "why": "Nobody answered these questions, so the agent decided them. Read them against the <pr>pull request</pr> at {commit}: accepting them lets it merge that commit, not one pushed after.",
18130
18160
  "answer": "Its answer:",
18131
18161
  "accept": "{count, plural, one {Accept it and merge} other {Accept all # and merge}}",
18132
18162
  "acceptSome": "Accept {shown} of {total} and merge",
@@ -18189,7 +18219,8 @@ var en_US_default = {
18189
18219
  "closed": "{ref}'s closed pull request",
18190
18220
  "failed": "{ref} failed"
18191
18221
  }
18192
- }
18222
+ },
18223
+ olderRunner: "{runner} runs an older monoban, which ignores these: update it there to 1.16.0 or newer (<code>monoban upgrade</code>), then <code>monoban runner restart</code>."
18193
18224
  },
18194
18225
  notes: {
18195
18226
  find: {
@@ -18378,7 +18409,8 @@ var en_US_default = {
18378
18409
  "changingLanguage": "Changing the language",
18379
18410
  "loadingLoops": "Loading the loops",
18380
18411
  "savingLoop": "Saving the loop",
18381
- "deletingLoop": "Deleting the loop"
18412
+ "deletingLoop": "Deleting the loop",
18413
+ "changingLoopEmails": "Changing which emails you get"
18382
18414
  },
18383
18415
  keptNotRemoved: "Could not remove what's kept. Try again.",
18384
18416
  saveState: {
@@ -18428,12 +18460,13 @@ var en_US_default = {
18428
18460
  no_runner: "This loop has no runner: choose one for it first.",
18429
18461
  open_tasks_limit: "This loop has as many open tasks as it may: it files more once you close some.",
18430
18462
  runner_outdated: "This loop's runner can't start a task over: update monoban on its machine, then restart the runner.",
18463
+ daily_limit: "This loop has started as many runs as it may in 24 hours: start this one from the browser, or wait.",
18431
18464
  used_by_loop: "A loop uses it: change or delete the loop first.",
18432
18465
  place_gone: "This loop's column or tag was deleted: edit the loop to choose another.",
18433
18466
  unreachable: "Couldn't reach monoban. Try again.",
18434
18467
  unreachableShort: "Couldn't reach monoban.",
18435
18468
  cantDeleteAccount: "Couldn't delete your account. Try again.",
18436
- too_late: "Too late: the run no longer waits for that answer. It decided on its own; accept or change what it decided."
18469
+ too_late: "Too late: the run no longer waits for that answer. It went on without it: accept or change what it decided."
18437
18470
  },
18438
18471
  projects: {
18439
18472
  empty: {
@@ -18671,22 +18704,22 @@ var en_US_default = {
18671
18704
  "label": "Questions waiting for you",
18672
18705
  "answered": "Your answers",
18673
18706
  "heading": "your answers",
18674
- "closes": "It waits for you until {time}, then decides on its own.",
18707
+ "closes": "It waits for you until {time}, then goes on without your answer.",
18675
18708
  "unknown": "Question {id} (its text isn't among the latest events)",
18676
18709
  "field": "Your answer to {id}",
18677
18710
  "placeholder": "Your answer: it reaches the agent as you write it",
18678
18711
  "send": "Send",
18679
18712
  "sending": "Sending…",
18680
18713
  "skip": "You decide",
18681
- "skipHint": "“You decide” tells it to decide this one on its own, as if no answer came.",
18714
+ "skipHint": "“You decide” tells it to go on without your answer to this one, as if none came.",
18682
18715
  "yours": "You answered: {text}",
18683
18716
  "yoursSkip": "You left it to the run.",
18684
18717
  "sent": "Sent: its runner hands it on at its next check-in.",
18685
18718
  "reached": "It reached the run.",
18686
- "tooLate": "Too late: the run had stopped waiting, so it decided on its own. If a decision only you can make holds its merge, accept it on the run.",
18719
+ "tooLate": "Too late: the run had stopped waiting, so it went on without your answer. If a decision only you can make holds its merge, accept it on the run.",
18687
18720
  "refused": "agentpipe didn't take it: {said}",
18688
18721
  "unsent": "The run ended before its runner handed this on.",
18689
- "tooLateNow": "Too late: the run no longer waits for this answer, so it decides on its own. If a decision only you can make holds its merge, accept it on the run.",
18722
+ "tooLateNow": "Too late: the run no longer waits for this answer, so it goes on without it. If a decision only you can make holds its merge, accept it on the run.",
18690
18723
  "answeredAlready": "It was answered already.",
18691
18724
  "failed": "Couldn't send it."
18692
18725
  },
@@ -18712,7 +18745,8 @@ var en_US_default = {
18712
18745
  "by": "<who>{author}</who> {reason, select, unauthorized {isn't a collaborator on the repository} no_write_access {can't push to the repository} other {({code})}}",
18713
18746
  "open": "open it on GitHub",
18714
18747
  "fix": "agentpipe answers only people who can push to the repository. To have it answer a review bot, add the bot's login to <code>address.trusted_bots</code> in <code>~/.agentpipe/config.toml</code> on the runner's machine, then continue from feedback."
18715
- }
18748
+ },
18749
+ "webPages": "web pages"
18716
18750
  },
18717
18751
  failure: {
18718
18752
  "inStep": "It failed in {step}.",
@@ -18757,35 +18791,6 @@ var en_US_default = {
18757
18791
  "many": "runners {online}/{total} running",
18758
18792
  "label": "Runner: {text}. How to start it",
18759
18793
  "notRunning": "Not running: start it with monoban runner"
18760
- },
18761
- reason: {
18762
- "loop_unsupported": "This runner can't run this kind of loop: update monoban there, or give the loop another runner.",
18763
- "agent_missing": "This runner doesn't have the agent the run asked for: install it there, or run it on another runner.",
18764
- "folder_refused": "The run can't work in that folder: give it a checkout of the project's repository, in a folder the runner allows.",
18765
- "day_spent": "This machine has spent its day's budget for loops: the task waits for a later run (or raise loops.maxUsdPerDay in its runner.json).",
18766
- "agentpipe_outdated": "The agentpipe on this runner is too old for what this run needs: update it there (monoban agentpipe update).",
18767
- "sandbox_off": "agentpipe's sandbox is off on this runner, and a loop runs only with it on: turn it on in agentpipe's config there.",
18768
- "tier_missing": "The agentpipe on this runner doesn't have the review tier the loop names: add it there, or change the loop.",
18769
- "agentpipe_refused": "agentpipe on this runner refused to start the run: fix what it says.",
18770
- "agent_signed_out": "The agent on this runner isn't signed in: sign in there.",
18771
- "cannot_push": "GitHub won't let this runner push to the repository: check its gh sign-in there (gh auth status).",
18772
- "commands_unverified": "None of the repository's test, lint or type-check commands ran cleanly, so agentpipe can't check a change: fix one.",
18773
- "site_not_permitted": "This runner's machine doesn't permit a site the loop lists: add it to permitted_sites under [callers] in ~/.agentpipe/config.toml there, or take it off the loop.",
18774
- "sites_step_ineligible": "agentpipe's resolve or arbitrate step on this runner isn't set up to read the loop's sites: change that step in agentpipe's config there, as the reason says.",
18775
- "sites_nothing_fetched": "agentpipe on this runner would fetch no page from the loop's sites (its research is off, or allows no fetch): change that in agentpipe's config there, as the reason says.",
18776
- "sites_invalid": "agentpipe on this runner refused the loop's sites as monoban sent them: update monoban and agentpipe there.",
18777
- "advisor_switch_off": "This runner's machine doesn't let the advisor decide: set allow_best_judgement = true under [resolve] in ~/.agentpipe/config.toml there, or turn the advisor off on the loop.",
18778
- "accept_switch_off": "This runner's machine doesn't let a merge accept decisions without you: set allow_accept_decisions = true under [ship] in ~/.agentpipe/config.toml there, or stop accepting decisions at merge on the loop.",
18779
- "budget_spent": "The run spent its budget before it finished: raise the loop's budget for the next one.",
18780
- "decisions_unratified": "Its merge waits for you to accept decisions the agent made on its own.",
18781
- "checks_pending": "Its checks were still running, so it wasn't merged: continue it from checks once they pass.",
18782
- "checks_failed": "A check failed, so it wasn't merged.",
18783
- "no_checks": "The pull request has no checks, so it wasn't merged on its own: add a CI check, then continue it from merge.",
18784
- "review_objection": "agentpipe's review asked for changes, so it wasn't merged: read the review before you continue it.",
18785
- "review_required": "GitHub waits for a required review (or another rule) before it merges.",
18786
- "not_this_run": "The pull request isn't one this run opened, so it wasn't merged.",
18787
- "merge_rejected": "GitHub refused the merge: continue it from merge to try again.",
18788
- "not_merged": "agentpipe didn't merge it: continue it from merge once that's settled."
18789
18794
  }
18790
18795
  },
18791
18796
  schedule: {
@@ -18859,6 +18864,14 @@ var en_US_default = {
18859
18864
  "use": "Use this",
18860
18865
  "note": "What you type (tasks, columns, notes) is never translated. The CLI speaks English for now.",
18861
18866
  "failed": "Couldn't change the language. Try again."
18867
+ },
18868
+ loopEmails: {
18869
+ "title": "Emails about loops",
18870
+ "about": "monoban emails {email} about your loops, so you don't have to watch them.",
18871
+ "stopped": "When a loop pauses itself or a run needs you",
18872
+ "finished": "When a run finishes",
18873
+ "finishedHint": "One email for each run that ends well: what it delivered or filed, how long it took and what it cost.",
18874
+ "failed": "Couldn't save that. Try again."
18862
18875
  }
18863
18876
  },
18864
18877
  shared: {
@@ -18891,7 +18904,36 @@ var en_US_default = {
18891
18904
  },
18892
18905
  "tokens": "{n} tokens",
18893
18906
  "thousandTokens": "{n}k tokens",
18894
- "millionTokens": "{n}M tokens"
18907
+ "millionTokens": "{n}M tokens",
18908
+ "reason": {
18909
+ "loop_unsupported": "This runner can't run this kind of loop: update monoban there, or give the loop another runner.",
18910
+ "agent_missing": "This runner doesn't have the agent the run asked for: install it there, or run it on another runner.",
18911
+ "folder_refused": "The run can't work in that folder: give it a checkout of the project's repository, in a folder the runner allows.",
18912
+ "day_spent": "This machine has spent its day's budget for loops: the task waits for a later run (or raise loops.maxUsdPerDay in its runner.json).",
18913
+ "agentpipe_outdated": "The agentpipe on this runner is too old for what this run needs: update it there (monoban agentpipe update).",
18914
+ "sandbox_off": "agentpipe's sandbox is off on this runner, and a loop runs only with it on: turn it on in agentpipe's config there.",
18915
+ "tier_missing": "The agentpipe on this runner doesn't have the review tier the loop names: add it there, or change the loop.",
18916
+ "agentpipe_refused": "agentpipe on this runner refused to start the run: fix what it says.",
18917
+ "agent_signed_out": "The agent on this runner isn't signed in: sign in there.",
18918
+ "cannot_push": "GitHub won't let this runner push to the repository: check its gh sign-in there (gh auth status).",
18919
+ "commands_unverified": "None of the repository's test, lint or type-check commands ran cleanly, so agentpipe can't check a change: fix one.",
18920
+ "site_not_permitted": "This runner's machine doesn't permit a site the loop lists: add it to permitted_sites under [callers] in ~/.agentpipe/config.toml there, or take it off the loop.",
18921
+ "sites_step_ineligible": "agentpipe's resolve or arbitrate step on this runner isn't set up to read the loop's sites: change that step in agentpipe's config there, as the reason says.",
18922
+ "sites_nothing_fetched": "agentpipe on this runner would fetch no page from the loop's sites (its research is off, or allows no fetch): change that in agentpipe's config there, as the reason says.",
18923
+ "sites_invalid": "agentpipe on this runner refused the loop's sites as monoban sent them: update monoban and agentpipe there.",
18924
+ "advisor_switch_off": "This runner's machine doesn't let the advisor decide: set allow_best_judgement = true under [resolve] in ~/.agentpipe/config.toml there, or turn the advisor off on the loop.",
18925
+ "accept_switch_off": "This runner's machine doesn't let a merge accept decisions without you: set allow_accept_decisions = true under [ship] in ~/.agentpipe/config.toml there, or stop accepting decisions at merge on the loop.",
18926
+ "budget_spent": "The run spent its budget before it finished: raise the loop's budget for the next one.",
18927
+ "decisions_unratified": "Its merge waits for you to accept decisions the agent made on its own.",
18928
+ "checks_pending": "Its checks were still running, so it wasn't merged: continue it from checks once they pass.",
18929
+ "checks_failed": "A check failed, so it wasn't merged.",
18930
+ "no_checks": "The pull request has no checks, so it wasn't merged on its own: add a CI check, then continue it from merge.",
18931
+ "review_objection": "agentpipe's review asked for changes, so it wasn't merged: read the review before you continue it.",
18932
+ "review_required": "GitHub waits for a required review (or another rule) before it merges.",
18933
+ "not_this_run": "The pull request isn't one this run opened, so it wasn't merged.",
18934
+ "merge_rejected": "GitHub refused the merge: continue it from merge to try again.",
18935
+ "not_merged": "agentpipe didn't merge it: continue it from merge once that's settled."
18936
+ }
18895
18937
  },
18896
18938
  loop: {
18897
18939
  "state": {
@@ -25665,7 +25707,7 @@ function describe(ctx, { state, running }, board, stuck, now) {
25665
25707
  const seenAgo = `checked in ${since(board.lastSeenAt, now)} ago (every ${board.pollSeconds}s)`;
25666
25708
  row("board", `${board.online ? "online" : "offline"} · ${seenAgo}`);
25667
25709
  } else if (!state.runnerId) row("board", "not on the board yet: it's starting");
25668
- if (state.version !== "1.16.0") {
25710
+ if (state.version !== "1.17.0") {
25669
25711
  const again = state.background ? "`monoban runner restart`" : "start it again in its terminal";
25670
25712
  row("update", `it runs monoban ${state.version}, this is ${VERSION}: ${again}`);
25671
25713
  }
@@ -26124,7 +26166,7 @@ async function checks(ctx, deps = {}) {
26124
26166
  const found = [];
26125
26167
  const latest = await (deps.latest ?? latestVersion)(ctx);
26126
26168
  const upgrade = UPGRADE[thisInstall()].command;
26127
- found.push(latest && newer(latest, "1.16.0") ? {
26169
+ found.push(latest && newer(latest, "1.17.0") ? {
26128
26170
  name: "monoban",
26129
26171
  status: "warn",
26130
26172
  detail: `${VERSION}; ${latest} is out`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monoban",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "Your monoban.dev kanban board in the terminal: add, move and start tasks, and hand them to coding agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://monoban.dev",