prreviewbuddy 0.86.6 → 0.87.2
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 +57 -0
- package/dist/{delete_review-CwKZQlMg.js → delete_review-D7TXn5ck.js} +5 -1
- package/dist/main.js +1 -1
- package/dist/server.js +338 -130
- package/package.json +1 -1
- package/static/{chunk-Di41wu5k.js → chunk-BKBTVY9X.js} +1 -1
- package/static/{chunk-huqt-B16.js → chunk-BmIk8Mrb.js} +1 -1
- package/static/{chunk-D9x9bcKf.js → chunk-CMC5F4_t.js} +1 -1
- package/static/{chunk-BUD1RoN4.js → chunk-DDm8oQLU.js} +1 -1
- package/static/help.js +1 -1
- package/static/notifications.js +1 -1
- package/static/reviews.js +1 -1
- package/static/runs.js +1 -1
- package/static/settings.js +1 -1
- package/static/shell.css +191 -106
- package/static/workspace.js +47 -47
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.87.2
|
|
4
|
+
|
|
5
|
+
**The compact sidebar shows what is left on Issues and Questions.** With the sidebar folded to its
|
|
6
|
+
icons, Issues and Questions now carry the same mark the expanded rows do, on the corner of the icon:
|
|
7
|
+
how many are still open, a green tick once every one has been dealt with, or 0 where the analysis
|
|
8
|
+
found none. Nothing is shown while the first analysis is still running.
|
|
9
|
+
|
|
10
|
+
**The compact sidebar has one way to see more: sliding out.** Resting the pointer on it, or tabbing
|
|
11
|
+
into it, slides it out to its full width as before, and it stays out while the pointer or the focus
|
|
12
|
+
is anywhere inside it. The small name labels that were meant to appear beside its icons could never
|
|
13
|
+
be seen, because the sidebar slid out first, and have been removed. Screen readers still hear every
|
|
14
|
+
row's name, New review's included.
|
|
15
|
+
|
|
16
|
+
## 0.87.1
|
|
17
|
+
|
|
18
|
+
**Every page's title sits in the same place.** Reviews, Runs, Activity, Settings and Help now share
|
|
19
|
+
one title row of the same height, with the page's name at the left edge and its actions, like Mark
|
|
20
|
+
all read, at the right. Search and filters on Reviews and Runs sit on a row of their own beneath it,
|
|
21
|
+
lined up with the list, so moving between pages changes only whether that row is there. In a very
|
|
22
|
+
narrow window Activity keeps Mark all read and lets the unread line go first.
|
|
23
|
+
|
|
24
|
+
**Settings no longer has an All reviews button.** Settings is reached from the sidebar like every
|
|
25
|
+
other page, so it no longer offers a way back as if it sat under Reviews.
|
|
26
|
+
|
|
27
|
+
## 0.87.0
|
|
28
|
+
|
|
29
|
+
**The sidebar keeps its places where they are.** New review, Reviews, Runs, Activity, Settings and
|
|
30
|
+
Help now sit at the top of the sidebar on every page, a review's included, so opening a review no
|
|
31
|
+
longer pushes them down. What belongs to the open review follows under a Current review heading:
|
|
32
|
+
Overview (Progress while the first analysis runs), the review path, Diagrams, Issues, Questions,
|
|
33
|
+
Files, PR context and KISS. In a short window that section scrolls by itself, and Send feedback
|
|
34
|
+
and Collapse sidebar stay at the bottom.
|
|
35
|
+
|
|
36
|
+
**The sidebar starts right under the top bar on every page.** A review's bar and its banners, and
|
|
37
|
+
the bar at the top of Reviews, Runs and the other pages, now sit beside the sidebar instead of above
|
|
38
|
+
it, so the sidebar's links are at exactly the same place on screen whichever page is open.
|
|
39
|
+
|
|
40
|
+
**Runs says how much is running.** A purple count beside Runs shows how many runs are in
|
|
41
|
+
progress, and the Runs icon at the top of the window shows it too, so it can still be seen with
|
|
42
|
+
the sidebar collapsed or hidden, or in a narrow window. It updates by itself as runs start and
|
|
43
|
+
finish, and queued work is not counted. Questions to Buddy AI, diagrams being drawn and
|
|
44
|
+
architecture maps being made now appear under In progress on the Runs page while they run. A map
|
|
45
|
+
being made says which part of the repository it covers and the step it is on, and opens the review
|
|
46
|
+
it was started from with that part selected.
|
|
47
|
+
|
|
48
|
+
**The collapsed sidebar keeps its bottom links in a short window.** Send feedback and Expand
|
|
49
|
+
sidebar stay on screen; review rows that do not fit are reached by sliding the sidebar out, where
|
|
50
|
+
they scroll.
|
|
51
|
+
|
|
52
|
+
## 0.86.7
|
|
53
|
+
|
|
54
|
+
**Nothing jumps as the compact sidebar slides out.** The compact sidebar keeps room for the Review
|
|
55
|
+
path heading it does not draw, and gives KISS the same room as the full sidebar, tight before KISS
|
|
56
|
+
has run and wider once Recommendations sits under it. The rows are laid out at the full width from
|
|
57
|
+
the start of the slide, so labels no longer wrap to two lines part-way. Sliding out now only adds
|
|
58
|
+
the labels beside the icons; with the review path folded, no row moves up or down.
|
|
59
|
+
|
|
3
60
|
## 0.86.6
|
|
4
61
|
|
|
5
62
|
**Ticks and dismissals are saved in the order you click them.** Marking questions answered and
|
|
@@ -18396,6 +18396,10 @@ function endRun(run) {
|
|
|
18396
18396
|
const key = keyOf(run.workspaceId, run.kind);
|
|
18397
18397
|
if (runs.get(key) === run) runs.delete(key);
|
|
18398
18398
|
}
|
|
18399
|
+
/** Every run held now, whatever its state. The Runs page decides which of them are executing. */
|
|
18400
|
+
function heldRuns() {
|
|
18401
|
+
return [...runs.values()];
|
|
18402
|
+
}
|
|
18399
18403
|
/**
|
|
18400
18404
|
* Whether any question or drawing is still going here, or has answered and is being saved.
|
|
18401
18405
|
*
|
|
@@ -20453,4 +20457,4 @@ function lineageIds(id) {
|
|
|
20453
20457
|
return [.../* @__PURE__ */ new Set([id, ...lineage.map((review) => review.id)])];
|
|
20454
20458
|
}
|
|
20455
20459
|
//#endregion
|
|
20456
|
-
export {
|
|
20460
|
+
export { MAX_WORKSPACE_PORT as $, resolveBase as $i, fillFileUrlTemplate as $n, createWithMembers as $r, markAllRead as $t, relativeTime as A, currentGradeIn as Ai, CODE_COPY_CLASS as An, mutateWorkspace as Ar, checkArchitecture as At, readIndexToken as B, statusLookup as Bi, isWorktreeHeld as Bn, workspaceStamps as Br, REPOSITORY_SCOPE as Bt, RUN_KINDS as C, isExplanationAction as Ci, chatConversationSection as Cn, kissDecisionRefusal as Cr, waitingHistory as Ct, heldRuns as D, analysisRefOf as Di, GITHUB_MARKDOWN as Dn, lineagePosition as Dr, describeRuntimes as Dt, endRun as E, NO_STATUS as Ei, hasAuthorContent as En, lineageKey as Er, RUNTIME_WORDS as Et, runBatch as F, isGradeFor as Fi, isBusy as Fn, reviewedCommit as Fr, storeArchitecture as Ft, reviewsUrl as G, objectWithAnyOf as Gi, describeSubject as Gn, lifecycleChip as Gr, branchOf as Gt, clearServerRecordOwnedBy as H, followUpFindingId as Hi, removeWorktree as Hn, activityAttributes as Hr, isArchitectureId as Ht, activateQueued as I, isOffered as Ii, withReviewLock as In, reviewedRepositories as Ir, storedScopes as It, stopChild as J, kissOutcome as Ji, checkReview as Jn, offersLifecycle as Jr, createArchitectureNotification as Jt, serverEntryExists as K, describeAuthorship as Ki, findExistingReview as Kn, lifecycleItemLabel as Kr, subjectOf as Kt, compactQueue as L, promptGrade as Li, MANAGED_ROOT as Ln, summarise as Lr, trackedFiles as Lt, extractPullRequestLinks as M, findingIn as Mi, renderInlineText as Mn, presentedKissRunOf as Mr, partFiles as Mt, parsePullRequestLink as N, findingStatus as Ni, modelHelpLines as Nn, previousKissResult as Nr, readArchitecture as Nt, reportRun as O, assessmentLookup as Oi, renderMarkdown as On, loadWorkspace as Or, formatDuration as Ot, unsupportedReason as P, gradeScale as Pi, ReviewBeingDeletedError as Pn, recentWorkspaces as Pr, repositoryKey as Pt, DEFAULT_WORKSPACE_PORT as Q, isCommitReview as Qi, forgeResolver as Qn, createCollection as Qr, listNotifications as Qt, queueForReview as R, reassessIn as Ri, createWorktree as Rn, touchWorkspace as Rr, ownersOf as Rt, track as S, AgentUnavailableError as Sa, explanationOf as Si, EXPLAIN_SIMPLY_PROMPT as Sn, indexReviewGroups as Sr, feedbackUrl as St, completeRun as T, ANALYSIS_ONLY as Ti, authorPreview as Tn, latestKissRun as Tr, recordRuntimeBestEffort as Tt, ensureServer as U, asString$1 as Ui, requestJobStop as Un, activityLabel as Ur, writeJsonAtomically as Ut, bootstrapUrl as V, wasReassessed as Vi, readMarker as Vn, LIFECYCLES as Vr, ancestorsOf as Vt, readServerRecord as W, extractJsonText as Wi, describeMovement as Wn, isLifecycle as Wr, announceJob as Wt, workspaceUrl as X, originRemote as Xi, reviewedShaOf as Xn, sectionOf as Xr, createPrUpdate as Xt, stopServer as Y, resolveTarget as Yi, followedBranch as Yn, parseLifecycle as Yr, createPrState as Yt, writeServerRecord as Z, DetachedHeadError as Zi, fetchHead as Zn, collectionsStamp as Zr, eventName as Zt, runningJobs as _, detectAgents as _a, reviewerDispositions as _i, storedConversation as _n, CLAIM_LEASE_MS as _r, recordTelemetryUploadConsent as _t, wasBlocked as a, resolveAgent as aa, updateCollections as ai, readStateOf as an, isTerminal as ar, failureOf as at, startKissJob as b, runnableAgents as ba, recommendationsOf as bi, isUnchanged as bn, groupByLineage as br, BUILD_VERSION as bt, RefreshUnavailableError as c, clearAgentPreference as ca, queueRemove as ci, toneOf as cn, saveJob as cr, settleReview as ct, mergeUpdateInto as d, CONFIG_PATH as da, doneVerb as di, withUsageRecorded as dn, isTerminalJobPhase as dr, startJob as dt, AmbiguousRefError as ea, deleteCollection as ei, markRead as en, RUN_RECORD_RETENTION_MS as er, MIN_WORKSPACE_PORT as et, parkedUpdateRefusal as f, STORE_ROOT as fa, isIssueOutstanding as fi, existingPaths as fn, phasesFor as fr, append as ft, liveUpdateFor as g, agentIdentityOf as ga, resolvedByConversation as gi, saveRefresh as gn, isClaimed as gr, deliver as gt, UpdateAlreadyRunningError as h, agentFor as ha, questionsOutstanding as hi, prepareConversationWithin as hn, clearClaim as hr, stamp as ht, liveJobsFor as i, refExists as ia, setMembership as ii, readNotification as in, fail as ir, writePortPreference as it, batchIdentity as j, findingAssessment as ji, escapeHtml as jn, positionInLineage as jr, loadArchitecture as jt, stopRun as k, closesFinding as ki, CODE_BLOCK_CLASS as kn, matchingWorkspaceIds as kr, ARCHITECTURE_DIR as kt, cancelUpdate as l, readAgentPreference as la, queueStamp as li, unreadAround as ln, PHASES as lr, reanalyseReview as lt, askCheckout as m, agentById as ma, issuesOutstanding as mi, adoptLegacyBaseline as mn, purposeOf as mr, record as mt, deleteReview as n, shorthandOf as na, readCollections as ni, moveIds as nn, attemptIdOf as nr, resolveWorkspacePort as nt, discardJob as o, resolveModel as oa, queueAdd as oi, removeNotification as on, loadJob as or, observeReview as ot, updateReview as p, AGENT_IDS as pa, isQuestionOutstanding as pi, ASK_REREAD_CEILING_MS as pn, progressSteps as pr, readEvents as pt, spawnServer as q, WITHHELD_REASON as qi, checkCodeFreshness as qn, lifecyclePill as qr, categoryOf as qt, lineageIds as r, git as ra, renameCollection as ri, pruneNotifications as rn, endedAt as rr, statedWorkspacePort as rt, FETCH_TIMEOUT_MS as s, agentIdOf as sa, queueAddMany as si, retireNotification as sn, pruneJobResidue as sr, prepareReview as st, deleteLineage as t, shortNameOf as ta, nameProblemText as ti, markReadForReview as tn, allJobs as tr, parseWorkspacePort as tt, cancellableHere as u, writeAgentPreference as ua, readQueue as ui, unreadCount as un, isLiveJob as ur, runJob as ut, kissAgentId as v, isAgentId as va, verdictClosure as vi, unforeseenFailure as vn, decideKissRecommendation as vr, telemetryUploadConsent as vt, beginRun as w, withExplanation as wi, UNESTABLISHED_MOTIVATION as wn, kissDecisionsOf as wr, mapRuntimes as wt, isDriving as x, AgentCancelledError as xa, explanationActionOf as xi, agentEnvOf as xn, indexKeptIds as xr, PACKAGE_NAME as xt, recordKissRun as y, parkedReason as ya, processDiscussion as yi, refreshPrContext as yn, followedRefName as yr, telemetryUploadEnabled as yt, settleQueue as z, sourcePhrase as zi, holdWorktree as zn, workspaceRevision as zr, QUOTE_LIMITS as zt };
|
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as MAX_WORKSPACE_PORT, A as relativeTime, Ar as mutateWorkspace, B as readIndexToken, F as runBatch, G as reviewsUrl, Gn as describeSubject, Hn as removeWorktree, Ir as reviewedRepositories, Ji as kissOutcome, Kn as findExistingReview, Ln as MANAGED_ROOT, Lr as summarise, Nn as modelHelpLines, Or as loadWorkspace, Pr as recentWorkspaces, Q as DEFAULT_WORKSPACE_PORT, Qn as forgeResolver, R as queueForReview, U as ensureServer, V as bootstrapUrl, Vn as readMarker, Wn as describeMovement, X as workspaceUrl, Y as stopServer, Yi as resolveTarget, _ as runningJobs, _a as detectAgents, _t as recordTelemetryUploadConsent, a as wasBlocked, aa as resolveAgent, ba as runnableAgents, bt as BUILD_VERSION, ct as settleReview, d as mergeUpdateInto, da as CONFIG_PATH, dt as startJob, et as MIN_WORKSPACE_PORT, f as parkedUpdateRefusal, fa as STORE_ROOT, ft as append, g as liveUpdateFor, gt as deliver, h as UpdateAlreadyRunningError, hr as clearClaim, ht as stamp, i as liveJobsFor, it as writePortPreference, j as batchIdentity, jr as positionInLineage, kr as matchingWorkspaceIds, la as readAgentPreference, lr as PHASES, lt as reanalyseReview, ma as agentById, mr as purposeOf, mt as record$1, n as deleteReview$1, oa as resolveModel, or as loadJob, p as updateReview, pa as AGENT_IDS, pr as progressSteps, qi as WITHHELD_REASON, ra as git, rt as statedWorkspacePort, st as prepareReview, tr as allJobs, tt as parseWorkspacePort, ua as writeAgentPreference, vt as telemetryUploadConsent, xt as PACKAGE_NAME, y as recordKissRun, ya as parkedReason, yr as followedRefName, yt as telemetryUploadEnabled } from "./delete_review-D7TXn5ck.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";
|