modelstat 0.1.0 → 0.1.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/cli.mjs +5 -7
- package/dist/cli.mjs.map +1 -1
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -47426,7 +47426,7 @@ var init_scan = __esm({
|
|
|
47426
47426
|
init_api();
|
|
47427
47427
|
init_config2();
|
|
47428
47428
|
init_pipeline2();
|
|
47429
|
-
AGENT_VERSION = true ? "agent-0.1.
|
|
47429
|
+
AGENT_VERSION = true ? "agent-0.1.1" : "agent-dev";
|
|
47430
47430
|
BATCH_MAX_EVENTS = INGEST_BATCH_MAX_EVENTS;
|
|
47431
47431
|
BATCH_MAX_TOOL_CALLS = 2e4;
|
|
47432
47432
|
BATCH_BUFFER_HARD_CAP = BATCH_MAX_EVENTS * 2;
|
|
@@ -49931,7 +49931,7 @@ var init_daemon = __esm({
|
|
|
49931
49931
|
init_machine_key();
|
|
49932
49932
|
init_scan();
|
|
49933
49933
|
init_single_flight();
|
|
49934
|
-
AGENT_VERSION2 = true ? "agent-0.1.
|
|
49934
|
+
AGENT_VERSION2 = true ? "agent-0.1.1" : "agent-dev";
|
|
49935
49935
|
HEARTBEAT_INTERVAL_MS = 1e4;
|
|
49936
49936
|
SCAN_INTERVAL_MS = 5 * 60 * 1e3;
|
|
49937
49937
|
DISCOVERY_INTERVAL_MS = 6e4;
|
|
@@ -50199,8 +50199,7 @@ function locateTrayExecutable() {
|
|
|
50199
50199
|
function writePlist(cliPath) {
|
|
50200
50200
|
const p = plistPath();
|
|
50201
50201
|
mkdirSync3(dirname6(p), { recursive: true });
|
|
50202
|
-
const
|
|
50203
|
-
const programArgs = tray ? ` <string>${tray}</string>` : [
|
|
50202
|
+
const programArgs = [
|
|
50204
50203
|
` <string>${nodeBinary()}</string>`,
|
|
50205
50204
|
` <string>${cliPath}</string>`,
|
|
50206
50205
|
` <string>start</string>`
|
|
@@ -50225,8 +50224,7 @@ ${programArgs}
|
|
|
50225
50224
|
<key>PATH</key><string>/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin</string>
|
|
50226
50225
|
<!-- Heap headroom for the startup scan of a large transcript backlog.
|
|
50227
50226
|
Node's default old-space ceiling (~4 GB) OOM-crashed the daemon on
|
|
50228
|
-
big histories; raise it well below typical RAM.
|
|
50229
|
-
tray-spawned 'modelstat start' child too (NODE_OPTIONS propagates). -->
|
|
50227
|
+
big histories; raise it well below typical RAM. -->
|
|
50230
50228
|
<key>NODE_OPTIONS</key><string>--max-old-space-size=8192</string>
|
|
50231
50229
|
</dict>
|
|
50232
50230
|
<key>WorkingDirectory</key><string>${home()}</string>
|
|
@@ -50533,7 +50531,7 @@ function tryOpenBrowser(url) {
|
|
|
50533
50531
|
return false;
|
|
50534
50532
|
}
|
|
50535
50533
|
}
|
|
50536
|
-
var AGENT_VERSION3 = true ? "agent-0.1.
|
|
50534
|
+
var AGENT_VERSION3 = true ? "agent-0.1.1" : "agent-dev";
|
|
50537
50535
|
function osFamily() {
|
|
50538
50536
|
const p = platform5();
|
|
50539
50537
|
if (p === "darwin") return "macos";
|