@staff0rd/assist 0.921.0 → 0.922.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/README.md +0 -1
- package/claude/skills/review-ci/scripts/review.mjs +2 -2
- package/dist/commands/sessions/web/bundle.js +414 -414
- package/dist/index.js +3 -22
- 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.922.0",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -803,7 +803,8 @@ var LEGACY_SESSIONS_KEYS = [
|
|
|
803
803
|
"windowsVersionCheck",
|
|
804
804
|
"topBar",
|
|
805
805
|
"floatWaiting",
|
|
806
|
-
"floatWaitingAfterMs"
|
|
806
|
+
"floatWaitingAfterMs",
|
|
807
|
+
"parkWaitingAfterMs"
|
|
807
808
|
];
|
|
808
809
|
var LEGACY_WORKTREE_KEYS = ["watcher", "includeDrafts"];
|
|
809
810
|
function withoutKeys(value, keys) {
|
|
@@ -1306,7 +1307,6 @@ var assistConfigShape = {
|
|
|
1306
1307
|
linkVersionCheck: z6.enum(["block", "warn", "off"]).default("block"),
|
|
1307
1308
|
tailscaleServe: z6.boolean().default(true),
|
|
1308
1309
|
includeCommittedChanges: z6.boolean().default(true),
|
|
1309
|
-
parkWaitingAfterMs: z6.number().default(3e5),
|
|
1310
1310
|
maxLive: z6.number().default(24),
|
|
1311
1311
|
newSessionMode: z6.enum(["draft", "bug", "prompt", "design"]).default("draft"),
|
|
1312
1312
|
hotkeys: hotkeysSchema.optional()
|
|
@@ -6388,11 +6388,6 @@ var sessionsConfigHelp = [
|
|
|
6388
6388
|
setter: "assist config set sessions.includeCommittedChanges false -g",
|
|
6389
6389
|
note: "default on: session card counts, /diff and the diff scope picker span the commits recorded against the session's backlog item as well as uncommitted work, so they survive the agent committing. Set false to show only uncommitted changes"
|
|
6390
6390
|
},
|
|
6391
|
-
{
|
|
6392
|
-
key: "sessions.parkWaitingAfterMs",
|
|
6393
|
-
setter: "assist config set sessions.parkWaitingAfterMs 600000 -g",
|
|
6394
|
-
note: "how long every session in a repo group must have been waiting on input before the group collapses and parks at the bottom of the sidebar (default: 300000ms)"
|
|
6395
|
-
},
|
|
6396
6391
|
{
|
|
6397
6392
|
key: "sessions.maxLive",
|
|
6398
6393
|
setter: "assist config set sessions.maxLive 24 -g",
|
|
@@ -10327,19 +10322,6 @@ async function nodeDoctor(req, res) {
|
|
|
10327
10322
|
respondJson(res, 200, { hop: await firstBrokenHop(link3) ?? null });
|
|
10328
10323
|
}
|
|
10329
10324
|
|
|
10330
|
-
// src/commands/sessions/shared/sessionViewDefaults.ts
|
|
10331
|
-
var sessionViewDefaults = {
|
|
10332
|
-
parkWaitingAfterMs: 3e5
|
|
10333
|
-
};
|
|
10334
|
-
|
|
10335
|
-
// src/commands/sessions/web/sessionView.ts
|
|
10336
|
-
function sessionView(_req, res) {
|
|
10337
|
-
const sessions = loadConfig().sessions;
|
|
10338
|
-
respondJson(res, 200, {
|
|
10339
|
-
parkWaitingAfterMs: sessions?.parkWaitingAfterMs ?? sessionViewDefaults.parkWaitingAfterMs
|
|
10340
|
-
});
|
|
10341
|
-
}
|
|
10342
|
-
|
|
10343
10325
|
// src/commands/config/applyDbBackedConfigWrite.ts
|
|
10344
10326
|
async function applyDbBackedConfigWrite(key, scope, write) {
|
|
10345
10327
|
if (scope !== "global")
|
|
@@ -11515,7 +11497,6 @@ var routes2 = {
|
|
|
11515
11497
|
"GET /api/rules": listScopedRules,
|
|
11516
11498
|
"GET /api/jira-site": jiraSite,
|
|
11517
11499
|
"GET /api/harness": harnessCapabilities,
|
|
11518
|
-
"GET /api/session-view": sessionView,
|
|
11519
11500
|
"GET /api/hotkeys": hotkeyBindings,
|
|
11520
11501
|
"GET /api/new-session-defaults": newSessionDefaults,
|
|
11521
11502
|
"GET /api/pr-status": prStatus,
|