@staff0rd/assist 0.648.0 → 0.650.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/commands/sessions/web/bundle.js +372 -369
- package/dist/index.js +8 -6
- 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.650.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -30956,13 +30956,14 @@ function formatToolText(name, tool, summary) {
|
|
|
30956
30956
|
}
|
|
30957
30957
|
|
|
30958
30958
|
// src/commands/review/reportReviewerToolUse.ts
|
|
30959
|
-
function reportReviewerToolUse(name, use, spinner) {
|
|
30959
|
+
function reportReviewerToolUse(name, use, spinner, model) {
|
|
30960
|
+
const label2 = reviewerLabel(name, model);
|
|
30960
30961
|
if (spinner) {
|
|
30961
|
-
spinner.text = formatToolText(
|
|
30962
|
+
spinner.text = formatToolText(label2, use.tool, use.summary);
|
|
30962
30963
|
return;
|
|
30963
30964
|
}
|
|
30964
30965
|
const suffix = use.summary ? `: ${use.summary}` : "";
|
|
30965
|
-
console.log(`[${
|
|
30966
|
+
console.log(`[${label2}] ${use.tool}${suffix}`);
|
|
30966
30967
|
}
|
|
30967
30968
|
|
|
30968
30969
|
// src/commands/review/runStreamingChild.ts
|
|
@@ -31133,7 +31134,8 @@ function startChild(spec) {
|
|
|
31133
31134
|
}
|
|
31134
31135
|
function runStreamingChild(spec) {
|
|
31135
31136
|
const startedAt = Date.now();
|
|
31136
|
-
if (!spec.quiet)
|
|
31137
|
+
if (!spec.quiet)
|
|
31138
|
+
console.log(`[${reviewerLabel(spec.name, spec.model)}] starting`);
|
|
31137
31139
|
const { child, flushPending, stderr, stdout } = startChild(spec);
|
|
31138
31140
|
return waitForChildExit({
|
|
31139
31141
|
child,
|
|
@@ -31274,7 +31276,7 @@ async function runCodexReviewer(spec) {
|
|
|
31274
31276
|
onLine: (line) => {
|
|
31275
31277
|
const event = parseCodexEvent(line);
|
|
31276
31278
|
if (event.kind !== "tool_use") return;
|
|
31277
|
-
reportReviewerToolUse(spec.name, event, spinner);
|
|
31279
|
+
reportReviewerToolUse(spec.name, event, spinner, override.model);
|
|
31278
31280
|
}
|
|
31279
31281
|
});
|
|
31280
31282
|
if (result.exitCode !== 0 && existsSync62(spec.outputPath)) {
|