mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 06:37:38 +01:00
Two defects hit one Skif dispatch on 2026-09-25, and either alone loses work.
1. The dispatch was NACKed "claude cannot generate because its usage limit
is exhausted" 14s in, while Claude was visibly working on the brief. The
capacity check scanned the WHOLE PTY buffer with a topic-word regex
("rate limit", "credit", "context window"), so the echoed prompt, the boot
banner or a file the agent printed read as a quota wall. Now it reads only
what the CLI printed after the injection, ignores lines that are just the
prompt echoed back, and for Claude defers to its own session status: a
session still generating has not hit a wall.
2. Two minutes later the box runner restarted and killed every session. The
post-deploy drain waited for agent processes to EXIT, and interactive CLIs
never exit, so it always ran to its 30-minute cap and then killed whatever
had started most recently. It now counts agents that are WORKING: an idle
Claude does not hold the restart; generating, waiting mid-task, or any
status it cannot read does.
Fleet Runner 0.8.32 (desktop/ changed, so it ships as a release).
Tests: terminal-run-view (echo vs real wall, mutation-checked) and a new
test-drain-and-restart-runner.sh (18 checks, four mutations each caught).
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
106 lines
2.8 KiB
JSON
106 lines
2.8 KiB
JSON
{
|
|
"name": "fleet-runner",
|
|
"version": "0.8.32",
|
|
"description": "Fleet Runner — the Loki desktop agent runtime: owns the agent terminals on this computer for projects set to run here.",
|
|
"main": "./out/main/index.js",
|
|
"author": {
|
|
"name": "Loki",
|
|
"email": "team@loki.orangecat.ch"
|
|
},
|
|
"homepage": "https://loki.orangecat.ch",
|
|
"scripts": {
|
|
"generate:icons": "node scripts/generate-tray-icon.mjs",
|
|
"prebuild": "node scripts/generate-tray-icon.mjs",
|
|
"dev": "node scripts/generate-tray-icon.mjs && electron-vite dev",
|
|
"build": "electron-vite build",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
"preview": "electron-vite preview",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"dist": "electron-vite build && electron-builder --publish=never",
|
|
"dist:mac": "electron-vite build && electron-builder --mac --publish=never",
|
|
"dist:win": "electron-vite build && electron-builder --win --publish=never",
|
|
"dist:linux": "electron-vite build && electron-builder --linux --publish=never"
|
|
},
|
|
"build": {
|
|
"appId": "com.loki.fleet-runner",
|
|
"productName": "Fleet Runner",
|
|
"artifactName": "Fleet-Runner-${os}-${arch}.${ext}",
|
|
"directories": {
|
|
"output": "dist",
|
|
"buildResources": "resources"
|
|
},
|
|
"files": [
|
|
"out/**/*",
|
|
"package.json"
|
|
],
|
|
"asarUnpack": [
|
|
"**/node_modules/node-pty/**"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "resources",
|
|
"to": "."
|
|
}
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"icon": "resources/icon.png",
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "resources/icon.png",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"icon": "resources/icons",
|
|
"target": [
|
|
"AppImage",
|
|
"deb"
|
|
],
|
|
"category": "Development",
|
|
"executableArgs": [
|
|
"--no-sandbox"
|
|
]
|
|
},
|
|
"afterPack": "./scripts/afterPack.cjs",
|
|
"publish": {
|
|
"provider": "github",
|
|
"owner": "bitbaum",
|
|
"repo": "loki-releases"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@sentry/electron": "^7.19.0",
|
|
"electron-updater": "^6.8.9",
|
|
"node-pty": "^1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-toolkit/preload": "^3.0.1",
|
|
"@electron-toolkit/tsconfig": "^2.0.0",
|
|
"@electron-toolkit/utils": "^4.0.0",
|
|
"@types/node": "^26",
|
|
"electron": "^43.4.1",
|
|
"electron-builder": "^26.15.3",
|
|
"electron-vite": "^5.0.0",
|
|
"typescript": "^7",
|
|
"vite": "^8.3.0"
|
|
},
|
|
"overrides": {
|
|
"@xmldom/xmldom": "^0.8.15",
|
|
"baseline-browser-mapping": "^2.11.0",
|
|
"browserslist": "^4.28.7",
|
|
"fast-uri": "^3.1.6",
|
|
"nanoid": "^3.3.18"
|
|
}
|
|
}
|