monoban 1.13.0 → 1.14.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/dist/index.mjs +28 -12
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8205,7 +8205,7 @@ function archivedByTime(task, archiveAfterDays, now = Date.now()) {
|
|
|
8205
8205
|
}
|
|
8206
8206
|
// src/version.ts
|
|
8207
8207
|
/** This CLI's version, from package.json (set at build time by tsdown, and by vitest in tests). */
|
|
8208
|
-
const VERSION = "1.
|
|
8208
|
+
const VERSION = "1.14.0";
|
|
8209
8209
|
/** Sent as X-Monoban-Client, and shown in Settings › CLI sessions. */
|
|
8210
8210
|
const CLIENT = `cli/${VERSION}`;
|
|
8211
8211
|
// src/api.ts
|
|
@@ -11750,8 +11750,8 @@ const RELEASES = `https://github.com/thiagodmont/homebrew-tap/releases`;
|
|
|
11750
11750
|
* agentpipe comes with a new monoban: change these three lines (from the release's checksums.txt) and release.
|
|
11751
11751
|
*/
|
|
11752
11752
|
const AGENTPIPE = {
|
|
11753
|
-
version: "0.
|
|
11754
|
-
wheelSha256: "
|
|
11753
|
+
version: "0.12.0",
|
|
11754
|
+
wheelSha256: "09dcfd3b571c5d66ec600dcff0db19dfb715ec90200dbd7e2b9c88e2b36eb1cc",
|
|
11755
11755
|
requirementsSha256: "41a8d073b0087efb80efafeb6a2b4750340d0f64920159cd4c723ed9167d0a98"
|
|
11756
11756
|
};
|
|
11757
11757
|
const agentpipeWheel = (version) => `agentpipe-${version}-py3-none-any.whl`;
|
|
@@ -11865,7 +11865,7 @@ async function latestVersion(ctx) {
|
|
|
11865
11865
|
async function upgrade(ctx, options, kind = thisInstall()) {
|
|
11866
11866
|
const latest = await latestVersion(ctx);
|
|
11867
11867
|
const { how, command } = UPGRADE[kind];
|
|
11868
|
-
const outdated = latest !== null && newer(latest, "1.
|
|
11868
|
+
const outdated = latest !== null && newer(latest, "1.14.0");
|
|
11869
11869
|
if (options.json) {
|
|
11870
11870
|
ctx.out(JSON.stringify({
|
|
11871
11871
|
version: VERSION,
|
|
@@ -18296,9 +18296,9 @@ var en_US_default = {
|
|
|
18296
18296
|
"help": "Run loop now"
|
|
18297
18297
|
},
|
|
18298
18298
|
"continue": {
|
|
18299
|
-
"label": "
|
|
18299
|
+
"label": "{step, select, checks {Fix CI on {ref}'s pull request and mark it ready} feedback {Answer the review comments on {ref}'s pull request} merge {Merge {ref}'s pull request} other {Continue {ref}'s pull request}}",
|
|
18300
18300
|
"help": "Continue a run's pull request",
|
|
18301
|
-
"keywords": "continue resume retry pull request merge checks feedback"
|
|
18301
|
+
"keywords": "continue resume retry pull request merge checks ci fix ready feedback review comments answer"
|
|
18302
18302
|
},
|
|
18303
18303
|
"delete": {
|
|
18304
18304
|
"label": "Delete {name}",
|
|
@@ -18399,7 +18399,9 @@ var en_US_default = {
|
|
|
18399
18399
|
"waits": "<pr>{ref}'s pull request</pr> is ready for you to merge: merge is off for this loop.",
|
|
18400
18400
|
"waitsOpen": "<pr>{ref}'s pull request</pr> waits for you.",
|
|
18401
18401
|
"continue": "Continue {ref}'s pull request",
|
|
18402
|
-
"continueHint": "A run
|
|
18402
|
+
"continueHint": "A run starts from the step you choose at the runner's next check-in.",
|
|
18403
|
+
"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 {}}",
|
|
18404
|
+
"suggested": "suggested"
|
|
18403
18405
|
},
|
|
18404
18406
|
runs: {
|
|
18405
18407
|
"heading": "Runs",
|
|
@@ -18496,8 +18498,7 @@ var en_US_default = {
|
|
|
18496
18498
|
"pause": "Pause",
|
|
18497
18499
|
"resume": "Resume",
|
|
18498
18500
|
"edit": "Edit",
|
|
18499
|
-
"delete": "Delete"
|
|
18500
|
-
"continueFrom": "From {step}"
|
|
18501
|
+
"delete": "Delete"
|
|
18501
18502
|
},
|
|
18502
18503
|
toast: {
|
|
18503
18504
|
"created": "Created {name}.",
|
|
@@ -18507,7 +18508,7 @@ var en_US_default = {
|
|
|
18507
18508
|
"queued": "{name} runs at its runner's next check-in.",
|
|
18508
18509
|
"deleted": "Deleted {name}.",
|
|
18509
18510
|
"failed": "That didn't work: try again.",
|
|
18510
|
-
"continued": "{ref}
|
|
18511
|
+
"continued": "{step, select, checks {A run fixes {ref}'s CI at its runner's next check-in.} feedback {A run answers {ref}'s review comments at its runner's next check-in.} merge {A run merges {ref}'s pull request at its runner's next check-in.} other {A run continues {ref}'s pull request at its runner's next check-in.}}",
|
|
18511
18512
|
"accepted": "{ref} merges at its runner's next check-in, with {count, plural, one {the decision} other {the # decisions}} accepted."
|
|
18512
18513
|
},
|
|
18513
18514
|
decisions: {
|
|
@@ -18518,6 +18519,20 @@ var en_US_default = {
|
|
|
18518
18519
|
"paused": "The loop is paused: resume it, then accept them here.",
|
|
18519
18520
|
"hint": "A run continues from merge at the runner's next check-in: it accepts them with agentpipe ratify, then merges. If the branch moved since, it waits for you again.",
|
|
18520
18521
|
"accepting": "It accepts {count, plural, one {# decision} other {# decisions}} read at {commit}, then merges."
|
|
18522
|
+
},
|
|
18523
|
+
continueStep: {
|
|
18524
|
+
"checks": {
|
|
18525
|
+
"label": "Fix CI and mark it ready",
|
|
18526
|
+
"does": "Watches CI, repairs what fails and takes the pull request out of draft, then answers the review comments{merges, select, yes { and merges} other {}}."
|
|
18527
|
+
},
|
|
18528
|
+
"feedback": {
|
|
18529
|
+
"label": "Answer review comments",
|
|
18530
|
+
"does": "Answers the review comments, then sees CI green again{merges, select, yes { and merges} other {}}."
|
|
18531
|
+
},
|
|
18532
|
+
"merge": {
|
|
18533
|
+
"label": "Merge it",
|
|
18534
|
+
"does": "Merges it as it is: no model runs, so it costs nothing."
|
|
18535
|
+
}
|
|
18521
18536
|
}
|
|
18522
18537
|
},
|
|
18523
18538
|
notes: {
|
|
@@ -18982,6 +18997,7 @@ var en_US_default = {
|
|
|
18982
18997
|
"attempt": "(attempt {n})",
|
|
18983
18998
|
"questions": {
|
|
18984
18999
|
"label": "Questions waiting for you",
|
|
19000
|
+
"answered": "Your answers",
|
|
18985
19001
|
"heading": "your answers",
|
|
18986
19002
|
"closes": "It waits for you until {time}, then decides on its own.",
|
|
18987
19003
|
"unknown": "Question {id} (its text isn't among the latest events)",
|
|
@@ -23588,7 +23604,7 @@ function describe({ state, running }, board, now) {
|
|
|
23588
23604
|
const seenAgo = `checked in ${since(board.lastSeenAt, now)} ago (every ${board.pollSeconds}s)`;
|
|
23589
23605
|
row("board", `${board.online ? "online" : "offline"} · ${seenAgo}`);
|
|
23590
23606
|
} else if (!state.runnerId) row("board", "not on the board yet: it's starting");
|
|
23591
|
-
if (state.version !== "1.
|
|
23607
|
+
if (state.version !== "1.14.0") {
|
|
23592
23608
|
const again = state.background ? "`monoban runner restart`" : "start it again in its terminal";
|
|
23593
23609
|
row("update", `it runs monoban ${state.version}, this is ${VERSION}: ${again}`);
|
|
23594
23610
|
}
|
|
@@ -24026,7 +24042,7 @@ async function checks(ctx, deps = {}) {
|
|
|
24026
24042
|
const found = [];
|
|
24027
24043
|
const latest = await (deps.latest ?? latestVersion)(ctx);
|
|
24028
24044
|
const upgrade = UPGRADE[thisInstall()].command;
|
|
24029
|
-
found.push(latest && newer(latest, "1.
|
|
24045
|
+
found.push(latest && newer(latest, "1.14.0") ? {
|
|
24030
24046
|
name: "monoban",
|
|
24031
24047
|
status: "warn",
|
|
24032
24048
|
detail: `${VERSION}; ${latest} is out`,
|
package/package.json
CHANGED