@openscout/scout 0.2.109 → 0.2.110
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 +206 -122
- package/bin/scoutd +0 -0
- package/dist/build-manifest.json +3 -3
- package/dist/chat.mjs +211 -30
- package/dist/client/assets/{conversation-motion-features-PYM3Yx_M.js → conversation-motion-features-BeAplMGv.js} +1 -1
- package/dist/client/assets/index-CMbTY75G.js +91 -0
- package/dist/client/assets/index-DYfh8pn_.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/main.mjs +7628 -3047
- package/dist/node/main.mjs +671 -115
- package/dist/openscout-terminal-relay.mjs +12 -3
- package/dist/pairing-runtime-controller.mjs +17539 -6059
- package/dist/runtime/base-daemon.mjs +410 -54
- package/dist/runtime/broker-daemon.mjs +67463 -52744
- package/dist/runtime/broker-process-manager.mjs +41 -14
- package/dist/runtime/mesh-discover.mjs +39 -13
- package/dist/scout-control-plane-web.mjs +80047 -58867
- package/dist/statusline.mjs +10 -3
- package/dist/update-helper.mjs +1105 -69
- package/package.json +2 -2
- package/server.json +2 -2
- package/dist/client/assets/index-DGR8nSEY.js +0 -88
- package/dist/client/assets/index-rA7f7Rt0.css +0 -1
package/dist/statusline.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { spawn } from "child_process";
|
|
|
6
6
|
|
|
7
7
|
// ../runtime/src/claude-statusline.ts
|
|
8
8
|
import { appendFile, mkdir, readFile, writeFile } from "fs/promises";
|
|
9
|
-
import { basename, dirname, join as join3 } from "path";
|
|
9
|
+
import { basename, dirname as dirname2, join as join3 } from "path";
|
|
10
10
|
|
|
11
11
|
// ../runtime/src/system-probes/scoutd-client.ts
|
|
12
12
|
import { existsSync } from "fs";
|
|
@@ -979,11 +979,18 @@ var TRANSCRIPT_TAIL_BYTES = 256 * 1024;
|
|
|
979
979
|
|
|
980
980
|
// ../runtime/src/support-paths.ts
|
|
981
981
|
import { homedir as homedir2 } from "os";
|
|
982
|
-
import { join as join2 } from "path";
|
|
982
|
+
import { dirname, join as join2 } from "path";
|
|
983
983
|
var OPENSCOUT_RPC_CUTOVER_MARKER = "rpc-runtime-cutover-v1";
|
|
984
|
+
function defaultOpenScoutSupportDirectory(home = homedir2()) {
|
|
985
|
+
if (process.platform === "darwin") {
|
|
986
|
+
return join2(home, "Library", "Application Support", "OpenScout");
|
|
987
|
+
}
|
|
988
|
+
const xdgDataHome = process.env.XDG_DATA_HOME?.trim();
|
|
989
|
+
return join2(xdgDataHome || join2(home, ".local", "share"), "openscout");
|
|
990
|
+
}
|
|
984
991
|
function resolveOpenScoutSupportPaths() {
|
|
985
992
|
const home = homedir2();
|
|
986
|
-
const supportDirectory = process.env.OPENSCOUT_SUPPORT_DIRECTORY ??
|
|
993
|
+
const supportDirectory = process.env.OPENSCOUT_SUPPORT_DIRECTORY ?? defaultOpenScoutSupportDirectory(home);
|
|
987
994
|
const logsDirectory = join2(supportDirectory, "logs");
|
|
988
995
|
const runtimeDirectory = join2(supportDirectory, "runtime");
|
|
989
996
|
const catalogDirectory = join2(supportDirectory, "catalog");
|