@staff0rd/assist 0.1199.0 → 0.1199.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/dist/.build-files +13 -13
- package/dist/built-version +1 -1
- package/dist/{chunk-IWEUWJBQ.js → chunk-DLJFLRVL.js} +1 -1
- package/dist/{chunk-PLUPYMKB.js → chunk-F23UBQPL.js} +1 -1
- package/dist/{chunk-XSRIRGVR.js → chunk-JTLAYB6I.js} +1 -1
- package/dist/{chunk-EDR5CG3P.js → chunk-Q3PFDP4X.js} +2 -2
- package/dist/{chunk-EEVIDKEC.js → chunk-VQSR5BWX.js} +1 -1
- package/dist/{chunk-AF7FNDWW.js → chunk-VRQM7LHW.js} +1 -1
- package/dist/commands/sessions/web/bundle.js +424 -424
- package/dist/{doctorNodes-7NF6FUD3.js → doctorNodes-KRVZ6UME.js} +3 -3
- package/dist/index.js +11 -11
- package/dist/{restartNode-XIM5ADD2.js → restartNode-EVOGKQN6.js} +5 -5
- package/dist/{runDaemon-WSWMVIKB.js → runDaemon-G2KB3G62.js} +23 -4
- package/dist/{signExtension-O5J7B7B5.js → signExtension-5RXUHRYO.js} +1 -1
- package/dist/{updateNode-BIURH3IY.js → updateNode-UL3AIVNI.js} +5 -5
- package/dist/{web-BH4DRKLI.js → web-24H5TJEY.js} +5 -5
- package/dist/{web-QGSFXEYD.js → web-E5OVZLYC.js} +5 -5
- package/package.json +1 -1
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
buildDoctorProbes,
|
|
11
11
|
diagnoseLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F23UBQPL.js";
|
|
13
13
|
import "./chunk-VABNWHSE.js";
|
|
14
14
|
import "./chunk-DS2YJZZY.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VQSR5BWX.js";
|
|
16
16
|
import {
|
|
17
17
|
loadLinkSpecs
|
|
18
18
|
} from "./chunk-J2PPCMCR.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
detectPlatform
|
|
31
31
|
} from "./chunk-E36L7ASL.js";
|
|
32
32
|
import "./chunk-GIHVMELY.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-VRQM7LHW.js";
|
|
34
34
|
import "./chunk-5QM5VR3J.js";
|
|
35
35
|
import "./chunk-UFSOFNXQ.js";
|
|
36
36
|
import "./chunk-FLDRXYEM.js";
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-TJGF3Z72.js";
|
|
18
18
|
import {
|
|
19
19
|
package_default
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VRQM7LHW.js";
|
|
21
21
|
import {
|
|
22
22
|
adviceConfigHelp,
|
|
23
23
|
askQuestionConfigHelp,
|
|
@@ -92,7 +92,7 @@ import { Command } from "commander";
|
|
|
92
92
|
// src/commands/registerRootAction.ts
|
|
93
93
|
function registerRootAction(program) {
|
|
94
94
|
program.option("--no-open", "Do not open a browser on startup").action(
|
|
95
|
-
async (options) => (await import("./web-
|
|
95
|
+
async (options) => (await import("./web-24H5TJEY.js")).web({
|
|
96
96
|
port: "3100",
|
|
97
97
|
open: options.open
|
|
98
98
|
})
|
|
@@ -645,7 +645,7 @@ function registerShowCommands(cmd) {
|
|
|
645
645
|
|
|
646
646
|
// src/commands/registerBacklog.ts
|
|
647
647
|
function registerWebCommand(cmd) {
|
|
648
|
-
cmd.command("web").description("Open the backlog tab in the web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(lazyAction(() => import("./web-
|
|
648
|
+
cmd.command("web").description("Open the backlog tab in the web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(lazyAction(() => import("./web-E5OVZLYC.js"), "web"));
|
|
649
649
|
}
|
|
650
650
|
var registrars = [
|
|
651
651
|
registerItemCommands,
|
|
@@ -675,7 +675,7 @@ function registerBacklog(program) {
|
|
|
675
675
|
const { setBacklogDir } = await import("./getBacklogDir-FJLWXTYN.js");
|
|
676
676
|
setBacklogDir(thisCommand.opts().dir);
|
|
677
677
|
}).action(
|
|
678
|
-
async (options) => (await import("./web-
|
|
678
|
+
async (options) => (await import("./web-E5OVZLYC.js")).web({ port: "3100", open: options.open })
|
|
679
679
|
);
|
|
680
680
|
for (const register of registrars) {
|
|
681
681
|
register(cmd);
|
|
@@ -988,7 +988,7 @@ function registerExtension(program) {
|
|
|
988
988
|
).action(async (options) => {
|
|
989
989
|
const { extension } = await import("./extension-YYRD5EM6.js");
|
|
990
990
|
const { printExtensionUrl } = await import("./printExtensionUrl-IW2WTSNS.js");
|
|
991
|
-
const { signExtension } = await import("./signExtension-
|
|
991
|
+
const { signExtension } = await import("./signExtension-5RXUHRYO.js");
|
|
992
992
|
if (options.url) return printExtensionUrl();
|
|
993
993
|
return options.sign ? signExtension() : extension();
|
|
994
994
|
});
|
|
@@ -2686,7 +2686,7 @@ function registerDaemon(program) {
|
|
|
2686
2686
|
const cmd = program.command("daemon").description("Long-lived daemon that owns web session PTYs");
|
|
2687
2687
|
cmd.command("run").description(
|
|
2688
2688
|
"Run the sessions daemon in the foreground (auto-spawned by assist sessions)"
|
|
2689
|
-
).action(lazyAction(() => import("./runDaemon-
|
|
2689
|
+
).action(lazyAction(() => import("./runDaemon-G2KB3G62.js"), "runDaemon"));
|
|
2690
2690
|
cmd.command("status").description(
|
|
2691
2691
|
"Show sessions daemon status, live sessions, and any stray daemon processes"
|
|
2692
2692
|
).action(lazyAction(() => import("./daemonStatus-EAZHBC6O.js"), "daemonStatus"));
|
|
@@ -2710,7 +2710,7 @@ function registerDiagnoseCommands(nodes, calledBy5) {
|
|
|
2710
2710
|
nodes.command("doctor [name]").description(
|
|
2711
2711
|
"Probe each hop of every link (or one) in order and stop at the first failure with a remediation"
|
|
2712
2712
|
).option("--json", "Output as JSON").action(
|
|
2713
|
-
async (name, _options, command) => (await import("./doctorNodes-
|
|
2713
|
+
async (name, _options, command) => (await import("./doctorNodes-KRVZ6UME.js")).doctorNodes(
|
|
2714
2714
|
name,
|
|
2715
2715
|
command.optsWithGlobals()
|
|
2716
2716
|
)
|
|
@@ -2740,14 +2740,14 @@ function registerPeerActionCommands(nodes, calledBy5) {
|
|
|
2740
2740
|
internalCommand(
|
|
2741
2741
|
nodes.command("restart <name>").description(
|
|
2742
2742
|
"Restart a linked node's daemon and/or web server, wait for its link to reconnect and print its version"
|
|
2743
|
-
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-
|
|
2743
|
+
).option("--target <target>", "daemon, webserver or both", "both").action(lazyAction(() => import("./restartNode-EVOGKQN6.js"), "restartNode")),
|
|
2744
2744
|
calledBy5
|
|
2745
2745
|
);
|
|
2746
2746
|
internalCommand(
|
|
2747
2747
|
nodes.command("update <name>").description(
|
|
2748
2748
|
"Run assist update on a linked node, restart it, wait for its link to reconnect and print its version"
|
|
2749
2749
|
).action(
|
|
2750
|
-
async (name) => (await import("./updateNode-
|
|
2750
|
+
async (name) => (await import("./updateNode-UL3AIVNI.js")).updateNode(name)
|
|
2751
2751
|
),
|
|
2752
2752
|
calledBy5
|
|
2753
2753
|
);
|
|
@@ -2810,7 +2810,7 @@ function registerSetStatusCommand(cmd) {
|
|
|
2810
2810
|
// src/commands/sessions/registerSessionsWeb.ts
|
|
2811
2811
|
function registerSessionsWeb(cmd) {
|
|
2812
2812
|
const webCmd = cmd.command("web").description("Start the sessions web dashboard").option("-p, --port <number>", "Port to listen on", "3100").option("--no-open", "Do not open a browser on startup").action(
|
|
2813
|
-
async (options, command) => (await import("./web-
|
|
2813
|
+
async (options, command) => (await import("./web-24H5TJEY.js")).web({
|
|
2814
2814
|
...options,
|
|
2815
2815
|
open: command.optsWithGlobals().open
|
|
2816
2816
|
})
|
|
@@ -2825,7 +2825,7 @@ function registerSessionsWeb(cmd) {
|
|
|
2825
2825
|
// src/commands/sessions/registerSessions.ts
|
|
2826
2826
|
function registerSessions(program) {
|
|
2827
2827
|
const cmd = program.command("sessions").description("Web dashboard for coding agent sessions").option("--no-open", "Do not open a browser on startup").action(
|
|
2828
|
-
async (_options, command) => (await import("./web-
|
|
2828
|
+
async (_options, command) => (await import("./web-24H5TJEY.js")).web({
|
|
2829
2829
|
port: "3100",
|
|
2830
2830
|
open: command.optsWithGlobals().open
|
|
2831
2831
|
})
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
linkStatus,
|
|
3
3
|
postToPeer,
|
|
4
4
|
startPeerAction
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-DLJFLRVL.js";
|
|
6
|
+
import "./chunk-JTLAYB6I.js";
|
|
7
|
+
import "./chunk-F23UBQPL.js";
|
|
8
8
|
import "./chunk-VABNWHSE.js";
|
|
9
9
|
import "./chunk-DS2YJZZY.js";
|
|
10
10
|
import "./chunk-4HKB2TAG.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-VQSR5BWX.js";
|
|
12
12
|
import "./chunk-J2PPCMCR.js";
|
|
13
13
|
import "./chunk-5CNDLMYO.js";
|
|
14
14
|
import "./chunk-B7VOTF5Q.js";
|
|
15
15
|
import "./chunk-E36L7ASL.js";
|
|
16
16
|
import "./chunk-5H7EHZ3J.js";
|
|
17
17
|
import "./chunk-GIHVMELY.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-VRQM7LHW.js";
|
|
19
19
|
import "./chunk-UFSOFNXQ.js";
|
|
20
20
|
import "./chunk-FLDRXYEM.js";
|
|
21
21
|
import "./chunk-GRXFWFGP.js";
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
isHello,
|
|
130
130
|
linkVersionCheck,
|
|
131
131
|
negotiateProtocol
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-VQSR5BWX.js";
|
|
133
133
|
import {
|
|
134
134
|
loadLinkSpecs
|
|
135
135
|
} from "./chunk-J2PPCMCR.js";
|
|
@@ -268,7 +268,7 @@ import {
|
|
|
268
268
|
import "./chunk-APZ6ZTDA.js";
|
|
269
269
|
import "./chunk-ZRIBI33P.js";
|
|
270
270
|
import "./chunk-D7UZLH36.js";
|
|
271
|
-
import "./chunk-
|
|
271
|
+
import "./chunk-VRQM7LHW.js";
|
|
272
272
|
import "./chunk-EW2ZM2PC.js";
|
|
273
273
|
import "./chunk-MYH4MQX2.js";
|
|
274
274
|
import {
|
|
@@ -5437,9 +5437,13 @@ function settleTransfer(client, deps, s, outcome, traceId) {
|
|
|
5437
5437
|
`session ${s.id} transferred to ${target} as ${outcome.sessionId} trace=${traceId}; closing source`
|
|
5438
5438
|
);
|
|
5439
5439
|
s.transfer = void 0;
|
|
5440
|
+
sendTo(client, {
|
|
5441
|
+
type: "notice",
|
|
5442
|
+
message: `Transferred to ${target}`,
|
|
5443
|
+
transfer: { sourceId: s.id, sessionId: outcome.sessionId, node: target }
|
|
5444
|
+
});
|
|
5440
5445
|
deps.stop(s.id);
|
|
5441
5446
|
deps.discard(s.id);
|
|
5442
|
-
sendTo(client, { type: "notice", message: `Transferred to ${target}` });
|
|
5443
5447
|
}
|
|
5444
5448
|
|
|
5445
5449
|
// src/commands/sessions/daemon/transfer/handOffToTarget.ts
|
|
@@ -7882,6 +7886,21 @@ function relayLinkSessions(state, msg) {
|
|
|
7882
7886
|
state.onSessionsChanged();
|
|
7883
7887
|
}
|
|
7884
7888
|
|
|
7889
|
+
// src/commands/sessions/daemon/links/relayNotice.ts
|
|
7890
|
+
function relayNotice(state, msg) {
|
|
7891
|
+
const transfer = msg.transfer;
|
|
7892
|
+
broadcastToViewers(
|
|
7893
|
+
state,
|
|
7894
|
+
typeof transfer?.sourceId === "string" ? {
|
|
7895
|
+
...msg,
|
|
7896
|
+
transfer: {
|
|
7897
|
+
...transfer,
|
|
7898
|
+
sourceId: toNodeSessionId(state.node, transfer.sourceId)
|
|
7899
|
+
}
|
|
7900
|
+
} : msg
|
|
7901
|
+
);
|
|
7902
|
+
}
|
|
7903
|
+
|
|
7885
7904
|
// src/commands/sessions/daemon/links/relayReply.ts
|
|
7886
7905
|
function relayReply(state, msg) {
|
|
7887
7906
|
const id = typeof msg.requestId === "string" ? msg.requestId : void 0;
|
|
@@ -7962,7 +7981,7 @@ var relays = {
|
|
|
7962
7981
|
clear: relayWithNodeSessionId,
|
|
7963
7982
|
created: relayToCreator("created session"),
|
|
7964
7983
|
error: relayToCreator("peer error:"),
|
|
7965
|
-
notice:
|
|
7984
|
+
notice: relayNotice,
|
|
7966
7985
|
inbox: (state, msg) => broadcastToViewers(state, msg),
|
|
7967
7986
|
"run-conflict": relayRunConflict,
|
|
7968
7987
|
history: relayHistory,
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
linkStatus,
|
|
3
3
|
postToPeer,
|
|
4
4
|
startPeerAction
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-DLJFLRVL.js";
|
|
6
|
+
import "./chunk-JTLAYB6I.js";
|
|
7
|
+
import "./chunk-F23UBQPL.js";
|
|
8
8
|
import "./chunk-VABNWHSE.js";
|
|
9
9
|
import "./chunk-DS2YJZZY.js";
|
|
10
10
|
import "./chunk-4HKB2TAG.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-VQSR5BWX.js";
|
|
12
12
|
import "./chunk-J2PPCMCR.js";
|
|
13
13
|
import "./chunk-5CNDLMYO.js";
|
|
14
14
|
import "./chunk-B7VOTF5Q.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-A7ONLVZD.js";
|
|
20
20
|
import "./chunk-GIHVMELY.js";
|
|
21
21
|
import "./chunk-2EW62DM5.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-VRQM7LHW.js";
|
|
23
23
|
import "./chunk-UFSOFNXQ.js";
|
|
24
24
|
import "./chunk-FLDRXYEM.js";
|
|
25
25
|
import "./chunk-GRXFWFGP.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
web
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q3PFDP4X.js";
|
|
4
4
|
import "./chunk-SURCYYQ6.js";
|
|
5
5
|
import "./chunk-JNCFHWBK.js";
|
|
6
6
|
import "./chunk-JM57BCD6.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-JTLAYB6I.js";
|
|
8
|
+
import "./chunk-F23UBQPL.js";
|
|
9
9
|
import "./chunk-VABNWHSE.js";
|
|
10
10
|
import "./chunk-DS2YJZZY.js";
|
|
11
11
|
import "./chunk-2RUGZQUD.js";
|
|
12
12
|
import "./chunk-5QXAQCAJ.js";
|
|
13
13
|
import "./chunk-4HKB2TAG.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VQSR5BWX.js";
|
|
15
15
|
import "./chunk-J2PPCMCR.js";
|
|
16
16
|
import "./chunk-5CNDLMYO.js";
|
|
17
17
|
import "./chunk-B7VOTF5Q.js";
|
|
@@ -139,7 +139,7 @@ import "./chunk-RW6YKTIM.js";
|
|
|
139
139
|
import "./chunk-APZ6ZTDA.js";
|
|
140
140
|
import "./chunk-ZRIBI33P.js";
|
|
141
141
|
import "./chunk-D7UZLH36.js";
|
|
142
|
-
import "./chunk-
|
|
142
|
+
import "./chunk-VRQM7LHW.js";
|
|
143
143
|
import "./chunk-YUV5QBHU.js";
|
|
144
144
|
import "./chunk-YVL3NXEB.js";
|
|
145
145
|
import "./chunk-UEWARAPX.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
web
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q3PFDP4X.js";
|
|
4
4
|
import "./chunk-SURCYYQ6.js";
|
|
5
5
|
import "./chunk-JNCFHWBK.js";
|
|
6
6
|
import "./chunk-JM57BCD6.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-JTLAYB6I.js";
|
|
8
|
+
import "./chunk-F23UBQPL.js";
|
|
9
9
|
import "./chunk-VABNWHSE.js";
|
|
10
10
|
import "./chunk-DS2YJZZY.js";
|
|
11
11
|
import "./chunk-2RUGZQUD.js";
|
|
12
12
|
import "./chunk-5QXAQCAJ.js";
|
|
13
13
|
import "./chunk-4HKB2TAG.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-VQSR5BWX.js";
|
|
15
15
|
import "./chunk-J2PPCMCR.js";
|
|
16
16
|
import "./chunk-5CNDLMYO.js";
|
|
17
17
|
import "./chunk-B7VOTF5Q.js";
|
|
@@ -139,7 +139,7 @@ import "./chunk-RW6YKTIM.js";
|
|
|
139
139
|
import "./chunk-APZ6ZTDA.js";
|
|
140
140
|
import "./chunk-ZRIBI33P.js";
|
|
141
141
|
import "./chunk-D7UZLH36.js";
|
|
142
|
-
import "./chunk-
|
|
142
|
+
import "./chunk-VRQM7LHW.js";
|
|
143
143
|
import "./chunk-YUV5QBHU.js";
|
|
144
144
|
import "./chunk-YVL3NXEB.js";
|
|
145
145
|
import "./chunk-UEWARAPX.js";
|