@staff0rd/assist 0.800.0 → 0.801.1
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/README.md +1 -1
- package/dist/commands/sessions/web/bundle.js +394 -394
- package/dist/index.js +6 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.801.1",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -34313,12 +34313,12 @@ function registerRefactor(program2) {
|
|
|
34313
34313
|
|
|
34314
34314
|
// src/commands/review/checkoutPrSession.ts
|
|
34315
34315
|
import { randomUUID as randomUUID18 } from "crypto";
|
|
34316
|
-
async function checkoutPrSession(number, prompt = "") {
|
|
34316
|
+
async function checkoutPrSession(number, prompt = "", permissionMode = "acceptEdits") {
|
|
34317
34317
|
await checkoutPr(number);
|
|
34318
34318
|
const claudeSessionId = randomUUID18();
|
|
34319
34319
|
emitActivity({ kind: "command", name: "review", claudeSessionId });
|
|
34320
34320
|
const { done: done2 } = spawnClaude(prompt, {
|
|
34321
|
-
permissionMode
|
|
34321
|
+
permissionMode,
|
|
34322
34322
|
sessionId: claudeSessionId
|
|
34323
34323
|
});
|
|
34324
34324
|
await done2;
|
|
@@ -37655,7 +37655,8 @@ async function review(options2 = {}) {
|
|
|
37655
37655
|
if (options2.highLevel && options2.number && !isClaudeCode())
|
|
37656
37656
|
return checkoutPrSession(
|
|
37657
37657
|
options2.number,
|
|
37658
|
-
`/review-high-level ${options2.number}${options2.force ? " --force" : ""}
|
|
37658
|
+
`/review-high-level ${options2.number}${options2.force ? " --force" : ""}`,
|
|
37659
|
+
"auto"
|
|
37659
37660
|
);
|
|
37660
37661
|
emitActivity({ kind: "command", name: "review" });
|
|
37661
37662
|
if (!options2.number)
|
|
@@ -37673,7 +37674,7 @@ function addReviewModeOptions(command) {
|
|
|
37673
37674
|
"Check the PR out and start an idle interactive Claude session in the checkout tree instead of reviewing; requires a PR number and cannot be combined with --refine, --apply, --backlog or --submit"
|
|
37674
37675
|
).option(
|
|
37675
37676
|
"--high-level",
|
|
37676
|
-
"Skip the LLM review; check the PR branch out and step through the high-level review checklist in the web UI preview pane. Given a PR number outside a Claude session, it checks the PR out and starts
|
|
37677
|
+
"Skip the LLM review; check the PR branch out and step through the high-level review checklist in the web UI preview pane. Given a PR number outside a Claude session, it checks the PR out and starts an auto-mode Claude session running /review-high-level <number>, which opens the checklist as a background task so the agent can answer questions while it is open; inside a Claude session it opens the checklist directly. The checklist is backed by the changed-file tree and the diffs of review.highLevel.criticalPaths, writing the verdict, per-item state and comments to ~/.assist/high-level-reviews/. A review already saved for the same head SHA is reopened unless --force is passed. Nothing is posted to GitHub; cannot be combined with --refine, --apply, --backlog, --submit or --checkout-only"
|
|
37677
37678
|
).option(
|
|
37678
37679
|
"--configure",
|
|
37679
37680
|
"With --high-level: review nothing and instead ask for review.highLevel.criticalPaths, uiPaths and descriptionWordCap one at a time, each prefilled with its current value or, when unset, globs Claude proposes from this repo's own tree, then write the answers in one pass to either this repo's override in the shared assist database or the project assist.yml. A blank answer leaves that key unset"
|