prreviewbuddy 0.77.1 → 0.79.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 CHANGED
@@ -1,5 +1,48 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.79.0
4
+
5
+ **In progress: everything being analysed, in one place.** Reviews now opens with an In progress
6
+ section whenever work is going on. It lists every review being analysed on this machine, whether you
7
+ started it here or from a terminal, every Update review and re-run, and the pull requests you added
8
+ from the workspace that are waiting for their turn, each with the step it is on and when it started.
9
+ Pull requests waiting in a terminal's `--pr` batch appear once they start. Queued entries hold
10
+ still; running ones pulse. Click an entry to open the review, where its progress, Cancel and Retry
11
+ already are. A pull request still waiting has no review yet, so its entry is not a link.
12
+
13
+ A review you are updating stays in Active with its current findings while the update runs, and also
14
+ appears under In progress, because one is the review and the other is the work being done to it. A
15
+ review being analysed for the first time has nothing to show yet, so it is listed only under In
16
+ progress, and moves to Active when its analysis finishes. If the analysis fails or is stopped, it
17
+ returns to Active saying so, as before.
18
+
19
+ The section follows the open page without a refresh: work appears as it starts, moves from Queued to
20
+ running, and leaves when it ends. Search and the Author, Review state and PR filters apply to it just
21
+ as they do to the reviews, its count is of the work it is showing, and its heading folds like the
22
+ others, from the keyboard too with ⌘K L I.
23
+
24
+ ## 0.78.2
25
+
26
+ **A long prompt wraps instead of scrolling sideways.** In a finding's Ask Buddy menu and in the menu
27
+ over selected text, a saved prompt longer than the menu's width now continues onto further lines,
28
+ so all of it can be read before choosing. The menu over selected text stays at most 320px wide.
29
+
30
+ ## 0.78.1
31
+
32
+ **A filtered list says it is filtered.** While the search or a filter is narrowing Reviews, the count
33
+ above the list reads "12 of 71 reviews" rather than "12 reviews", so a short list is never mistaken
34
+ for all there are. Clear filters puts it back to the plain total.
35
+
36
+ ## 0.78.0
37
+
38
+ **The reviews toolbar: search above, filters below, and a way back to everything.** The search now
39
+ takes the full width of the list on a row of its own, with Author, Review state and PR together
40
+ beneath it. Clear filters appears at the end of that row whenever the search or a filter is
41
+ narrowing the list, and puts all four back in one step. In Chrome the filters' menus are drawn as
42
+ the workspace's own, with the chosen option ticked in purple; other browsers keep their native
43
+ menu. Clicking anywhere on a filter, its label included, opens it. Author has a fixed width, and a
44
+ long name that is selected is cut short with an ellipsis rather than stretching the box.
45
+
3
46
  ## 0.77.1
4
47
 
5
48
  **Add review's options match the rest of the workspace.** The Agent menu draws the workspace's own
@@ -19461,4 +19461,4 @@ function lineageIds(id) {
19461
19461
  return [.../* @__PURE__ */ new Set([id, ...lineage.map((review) => review.id)])];
19462
19462
  }
19463
19463
  //#endregion
19464
- export { resolveWorkspacePort as $, saveJob as $n, explanationActionOf as $r, pruneNotifications as $t, parsePullRequestLink as A, git as Ai, ReviewBeingDeletedError as An, activityAttributes as Ar, repositoryKey as At, ensureServer as B, agentById as Bi, findExistingReview as Bn, queueAddMany as Br, announceJob as Bt, completeRun as C, originRemote as Ci, GITHUB_MARKDOWN as Cn, reviewedCommit as Cr, RUNTIME_WORDS as Ct, relativeTime as D, AmbiguousRefError as Di, escapeHtml as Dn, workspaceRevision as Dr, loadArchitecture as Dt, stopRun as E, resolveBase as Ei, CODE_COPY_CLASS as En, touchWorkspace as Er, checkArchitecture as Et, queueForReview as F, readAgentPreference as Fi, readMarker as Fn, lifecyclePill as Fr, QUOTE_LIMITS as Ft, stopChild as G, fetchHead as Gn, isIssueOutstanding as Gr, createPrState as Gt, reviewsUrl as H, detectAgents as Hi, checkReview as Hn, queueStamp as Hr, subjectOf as Ht, settleQueue as I, writeAgentPreference as Ii, removeWorktree as In, offersLifecycle as Ir, REPOSITORY_SCOPE as It, writeServerRecord as J, allJobs as Jn, questionsOutstanding as Jr, listNotifications as Jt, stopServer as K, forgeResolver as Kn, isQuestionOutstanding as Kr, createPrUpdate as Kt, readIndexToken as L, CONFIG_PATH as Li, requestJobStop as Ln, parseLifecycle as Lr, ancestorsOf as Lt, runBatch as M, resolveAgent as Mi, createWorktree as Mn, isLifecycle as Mr, storedScopes as Mt, activateQueued as N, resolveModel as Ni, holdWorktree as Nn, lifecycleChip as Nr, trackedFiles as Nt, batchIdentity as O, shortNameOf as Oi, renderInlineText as On, workspaceStamps as Or, partFiles as Ot, compactQueue as P, clearAgentPreference as Pi, isWorktreeHeld as Pn, lifecycleItemLabel as Pr, ownersOf as Pt, parseWorkspacePort as Q, loadJob as Qn, recommendationsOf as Qr, moveIds as Qt, bootstrapUrl as R, STORE_ROOT as Ri, describeMovement as Rn, sectionOf as Rr, isArchitectureId as Rt, beginRun as S, resolveTarget as Si, hasAuthorContent as Sn, recentWorkspaces as Sr, recordRuntimeBestEffort as St, reportRun as T, isCommitReview as Ti, CODE_BLOCK_CLASS as Tn, summarise as Tr, ARCHITECTURE_DIR as Tt, serverEntryExists as U, AgentCancelledError as Ui, followedBranch as Un, readQueue as Ur, categoryOf as Ut, readServerRecord as V, agentFor as Vi, checkCodeFreshness as Vn, queueRemove as Vr, branchOf as Vt, spawnServer as W, AgentUnavailableError as Wi, reviewedShaOf as Wn, doneVerb as Wr, createArchitectureNotification as Wt, MAX_WORKSPACE_PORT as X, fail as Xn, reviewerDispositions as Xr, markRead as Xt, DEFAULT_WORKSPACE_PORT as Y, endedAt as Yn, resolvedByConversation as Yr, markAllRead as Yt, MIN_WORKSPACE_PORT as Z, isTerminal as Zn, processDiscussion as Zr, markReadForReview as Zt, recordKissRun as _, extractJsonText as _i, agentEnvOf as _n, matchingWorkspaceIds as _r, BUILD_VERSION as _t, wasBlocked as a, assessmentLookup as ai, unreadAround as an, clearClaim as ar, settleReview as at, track as b, WITHHELD_REASON as bi, UNESTABLISHED_MOTIVATION as bn, presentedKissRunOf as br, waitingHistory as bt, RefreshUnavailableError as c, findingIn as ci, existingPaths as cn, followedRefName as cr, startJob as ct, mergeUpdateInto as d, promptGrade as di, prepareConversationWithin as dn, indexReviewGroups as dr, record as dt, explanationOf as ei, readNotification as en, PHASES as er, statedWorkspacePort as et, updateReview as f, reassessIn as fi, saveRefresh as fn, kissDecisionRefusal as fr, stamp as ft, runningJobs as g, asString$1 as gi, isUnchanged as gn, loadWorkspace as gr, telemetryUploadEnabled as gt, liveUpdateFor as h, followUpFindingId as hi, refreshPrContext as hn, lineagePosition as hr, telemetryUploadConsent as ht, liveJobsFor as i, analysisRefOf as ii, toneOf as in, purposeOf as ir, prepareReview as it, unsupportedReason as j, refExists as ji, MANAGED_ROOT as jn, activityLabel as jr, storeArchitecture as jt, extractPullRequestLinks as k, shorthandOf as ki, modelHelpLines as kn, LIFECYCLES as kr, readArchitecture as kt, cancelUpdate as l, gradeScale as li, ASK_REREAD_CEILING_MS as ln, groupByLineage as lr, append as lt, UpdateAlreadyRunningError as m, wasReassessed as mi, unforeseenFailure as mn, latestKissRun as mr, recordTelemetryUploadConsent as mt, deleteReview as n, withExplanation as ni, removeNotification as nn, phasesFor as nr, failureOf as nt, discardJob as o, currentGradeIn as oi, unreadCount as on, isClaimed as or, reanalyseReview as ot, askCheckout as p, sourcePhrase as pi, storedConversation as pn, kissDecisionsOf as pr, deliver as pt, workspaceUrl as q, fillFileUrlTemplate as qn, issuesOutstanding as qr, eventName as qt, lineageIds as r, ANALYSIS_ONLY as ri, retireNotification as rn, progressSteps as rr, observeReview as rt, FETCH_TIMEOUT_MS as s, findingAssessment as si, withUsageRecorded as sn, decideKissRecommendation as sr, runJob as st, deleteLineage as t, isExplanationAction as ti, readStateOf as tn, isLiveJob as tr, writePortPreference as tt, cancellableHere as u, isGradeFor as ui, adoptLegacyBaseline as un, indexKeptIds as ur, readEvents as ut, startKissJob as v, objectWithAnyOf as vi, EXPLAIN_SIMPLY_PROMPT as vn, mutateWorkspace as vr, PACKAGE_NAME as vt, endRun as w, DetachedHeadError as wi, renderMarkdown as wn, reviewedRepositories as wr, describeRuntimes as wt, RUN_KINDS as x, kissOutcome as xi, authorPreview as xn, previousKissResult as xr, mapRuntimes as xt, isDriving as y, describeAuthorship as yi, chatConversationSection as yn, positionInLineage as yr, feedbackUrl as yt, clearServerRecordOwnedBy as z, AGENT_IDS as zi, describeSubject as zn, queueAdd as zr, writeJsonAtomically as zt };
19464
+ export { resolveWorkspacePort as $, saveJob as $n, recommendationsOf as $r, pruneNotifications as $t, parsePullRequestLink as A, shorthandOf as Ai, ReviewBeingDeletedError as An, LIFECYCLES as Ar, repositoryKey as At, ensureServer as B, AGENT_IDS as Bi, findExistingReview as Bn, queueAdd as Br, announceJob as Bt, completeRun as C, resolveTarget as Ci, GITHUB_MARKDOWN as Cn, recentWorkspaces as Cr, RUNTIME_WORDS as Ct, relativeTime as D, resolveBase as Di, escapeHtml as Dn, touchWorkspace as Dr, loadArchitecture as Dt, stopRun as E, isCommitReview as Ei, CODE_COPY_CLASS as En, summarise as Er, checkArchitecture as Et, queueForReview as F, clearAgentPreference as Fi, readMarker as Fn, lifecycleItemLabel as Fr, QUOTE_LIMITS as Ft, stopChild as G, AgentUnavailableError as Gi, fetchHead as Gn, doneVerb as Gr, createPrState as Gt, reviewsUrl as H, agentFor as Hi, checkReview as Hn, queueRemove as Hr, subjectOf as Ht, settleQueue as I, readAgentPreference as Ii, removeWorktree as In, lifecyclePill as Ir, REPOSITORY_SCOPE as It, writeServerRecord as J, allJobs as Jn, issuesOutstanding as Jr, listNotifications as Jt, stopServer as K, forgeResolver as Kn, isIssueOutstanding as Kr, createPrUpdate as Kt, readIndexToken as L, writeAgentPreference as Li, requestJobStop as Ln, offersLifecycle as Lr, ancestorsOf as Lt, runBatch as M, refExists as Mi, createWorktree as Mn, activityLabel as Mr, storedScopes as Mt, activateQueued as N, resolveAgent as Ni, holdWorktree as Nn, isLifecycle as Nr, trackedFiles as Nt, batchIdentity as O, AmbiguousRefError as Oi, renderInlineText as On, workspaceRevision as Or, partFiles as Ot, compactQueue as P, resolveModel as Pi, isWorktreeHeld as Pn, lifecycleChip as Pr, ownersOf as Pt, parseWorkspacePort as Q, loadJob as Qn, processDiscussion as Qr, moveIds as Qt, bootstrapUrl as R, CONFIG_PATH as Ri, describeMovement as Rn, parseLifecycle as Rr, isArchitectureId as Rt, beginRun as S, kissOutcome as Si, hasAuthorContent as Sn, previousKissResult as Sr, recordRuntimeBestEffort as St, reportRun as T, DetachedHeadError as Ti, CODE_BLOCK_CLASS as Tn, reviewedRepositories as Tr, ARCHITECTURE_DIR as Tt, serverEntryExists as U, detectAgents as Ui, followedBranch as Un, queueStamp as Ur, categoryOf as Ut, readServerRecord as V, agentById as Vi, checkCodeFreshness as Vn, queueAddMany as Vr, branchOf as Vt, spawnServer as W, AgentCancelledError as Wi, reviewedShaOf as Wn, readQueue as Wr, createArchitectureNotification as Wt, MAX_WORKSPACE_PORT as X, fail as Xn, resolvedByConversation as Xr, markRead as Xt, DEFAULT_WORKSPACE_PORT as Y, endedAt as Yn, questionsOutstanding as Yr, markAllRead as Yt, MIN_WORKSPACE_PORT as Z, isTerminal as Zn, reviewerDispositions as Zr, markReadForReview as Zt, recordKissRun as _, asString$1 as _i, agentEnvOf as _n, loadWorkspace as _r, BUILD_VERSION as _t, wasBlocked as a, analysisRefOf as ai, unreadAround as an, purposeOf as ar, settleReview as at, track as b, describeAuthorship as bi, UNESTABLISHED_MOTIVATION as bn, positionInLineage as br, waitingHistory as bt, RefreshUnavailableError as c, findingAssessment as ci, existingPaths as cn, decideKissRecommendation as cr, startJob as ct, mergeUpdateInto as d, isGradeFor as di, prepareConversationWithin as dn, indexKeptIds as dr, record as dt, explanationActionOf as ei, readNotification as en, PHASES as er, statedWorkspacePort as et, updateReview as f, promptGrade as fi, saveRefresh as fn, indexReviewGroups as fr, stamp as ft, runningJobs as g, followUpFindingId as gi, isUnchanged as gn, lineagePosition as gr, telemetryUploadEnabled as gt, liveUpdateFor as h, wasReassessed as hi, refreshPrContext as hn, latestKissRun as hr, telemetryUploadConsent as ht, liveJobsFor as i, ANALYSIS_ONLY as ii, toneOf as in, progressSteps as ir, prepareReview as it, unsupportedReason as j, git as ji, MANAGED_ROOT as jn, activityAttributes as jr, storeArchitecture as jt, extractPullRequestLinks as k, shortNameOf as ki, modelHelpLines as kn, workspaceStamps as kr, readArchitecture as kt, cancelUpdate as l, findingIn as li, ASK_REREAD_CEILING_MS as ln, followedRefName as lr, append as lt, UpdateAlreadyRunningError as m, sourcePhrase as mi, unforeseenFailure as mn, kissDecisionsOf as mr, recordTelemetryUploadConsent as mt, deleteReview as n, isExplanationAction as ni, removeNotification as nn, isTerminalJobPhase as nr, failureOf as nt, discardJob as o, assessmentLookup as oi, unreadCount as on, clearClaim as or, reanalyseReview as ot, askCheckout as p, reassessIn as pi, storedConversation as pn, kissDecisionRefusal as pr, deliver as pt, workspaceUrl as q, fillFileUrlTemplate as qn, isQuestionOutstanding as qr, eventName as qt, lineageIds as r, withExplanation as ri, retireNotification as rn, phasesFor as rr, observeReview as rt, FETCH_TIMEOUT_MS as s, currentGradeIn as si, withUsageRecorded as sn, isClaimed as sr, runJob as st, deleteLineage as t, explanationOf as ti, readStateOf as tn, isLiveJob as tr, writePortPreference as tt, cancellableHere as u, gradeScale as ui, adoptLegacyBaseline as un, groupByLineage as ur, readEvents as ut, startKissJob as v, extractJsonText as vi, EXPLAIN_SIMPLY_PROMPT as vn, matchingWorkspaceIds as vr, PACKAGE_NAME as vt, endRun as w, originRemote as wi, renderMarkdown as wn, reviewedCommit as wr, describeRuntimes as wt, RUN_KINDS as x, WITHHELD_REASON as xi, authorPreview as xn, presentedKissRunOf as xr, mapRuntimes as xt, isDriving as y, objectWithAnyOf as yi, chatConversationSection as yn, mutateWorkspace as yr, feedbackUrl as yt, clearServerRecordOwnedBy as z, STORE_ROOT as zi, describeSubject as zn, sectionOf as zr, writeJsonAtomically as zt };
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Ai as git, B as ensureServer, Bi as agentById, Bn as findExistingReview, D as relativeTime, F as queueForReview, Fi as readAgentPreference, Fn as readMarker, H as reviewsUrl, Hi as detectAgents, Ii as writeAgentPreference, In as removeWorktree, Jn as allJobs, K as stopServer, Kn as forgeResolver, L as readIndexToken, Li as CONFIG_PATH, M as runBatch, Mi as resolveAgent, Ni as resolveModel, O as batchIdentity, Q as parseWorkspacePort, Qn as loadJob, R as bootstrapUrl, Ri as STORE_ROOT, Rn as describeMovement, Si as resolveTarget, Sr as recentWorkspaces, Tr as summarise, X as MAX_WORKSPACE_PORT, Y as DEFAULT_WORKSPACE_PORT, Z as MIN_WORKSPACE_PORT, _ as recordKissRun, _r as matchingWorkspaceIds, _t as BUILD_VERSION, a as wasBlocked, ar as clearClaim, at as settleReview, bi as WITHHELD_REASON, cr as followedRefName, ct as startJob, d as mergeUpdateInto, dt as record$1, er as PHASES, et as statedWorkspacePort, f as updateReview, ft as stamp, g as runningJobs, gr as loadWorkspace, gt as telemetryUploadEnabled, h as liveUpdateFor, ht as telemetryUploadConsent, i as liveJobsFor, ir as purposeOf, it as prepareReview, jn as MANAGED_ROOT, kn as modelHelpLines, lt as append, m as UpdateAlreadyRunningError, mt as recordTelemetryUploadConsent, n as deleteReview$1, ot as reanalyseReview, pt as deliver, q as workspaceUrl, rr as progressSteps, tt as writePortPreference, vr as mutateWorkspace, vt as PACKAGE_NAME, wr as reviewedRepositories, xi as kissOutcome, yr as positionInLineage, zi as AGENT_IDS, zn as describeSubject } from "./delete_review-BHOzMQ0_.js";
2
+ import { B as ensureServer, Bi as AGENT_IDS, Bn as findExistingReview, Ci as resolveTarget, Cr as recentWorkspaces, D as relativeTime, Er as summarise, F as queueForReview, Fn as readMarker, H as reviewsUrl, Ii as readAgentPreference, In as removeWorktree, Jn as allJobs, K as stopServer, Kn as forgeResolver, L as readIndexToken, Li as writeAgentPreference, M as runBatch, Ni as resolveAgent, O as batchIdentity, Pi as resolveModel, Q as parseWorkspacePort, Qn as loadJob, R as bootstrapUrl, Ri as CONFIG_PATH, Rn as describeMovement, Si as kissOutcome, Tr as reviewedRepositories, Ui as detectAgents, Vi as agentById, X as MAX_WORKSPACE_PORT, Y as DEFAULT_WORKSPACE_PORT, Z as MIN_WORKSPACE_PORT, _ as recordKissRun, _r as loadWorkspace, _t as BUILD_VERSION, a as wasBlocked, ar as purposeOf, at as settleReview, br as positionInLineage, ct as startJob, d as mergeUpdateInto, dt as record$1, er as PHASES, et as statedWorkspacePort, f as updateReview, ft as stamp, g as runningJobs, gt as telemetryUploadEnabled, h as liveUpdateFor, ht as telemetryUploadConsent, i as liveJobsFor, ir as progressSteps, it as prepareReview, ji as git, jn as MANAGED_ROOT, kn as modelHelpLines, lr as followedRefName, lt as append, m as UpdateAlreadyRunningError, mt as recordTelemetryUploadConsent, n as deleteReview$1, or as clearClaim, ot as reanalyseReview, pt as deliver, q as workspaceUrl, tt as writePortPreference, vr as matchingWorkspaceIds, vt as PACKAGE_NAME, xi as WITHHELD_REASON, yr as mutateWorkspace, zi as STORE_ROOT, zn as describeSubject } from "./delete_review-DwF1NMJ4.js";
3
3
  import { basename, dirname, join, resolve } from "node:path";
4
4
  import { spawn } from "node:child_process";
5
5
  import { existsSync, mkdirSync, readdirSync, realpathSync, rmSync, statSync, writeFileSync } from "node:fs";