mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 06:37:38 +01:00
* feat(loki, terminal): AI next steps, a dispatch card with one next step, the chat view's clock
From the operator, on a phone (2026-10-05): smarter suggestions, a less
confusing dispatch card, a phone layout pass, and a chat view more like the
Claude app.
- AI next steps. Once a session's screen or Claude's reply stops changing,
the fast model reads it (POST /api/terminal/next-steps, one call per
distinct context) and its three steps lead the suggestion row in both the
Prompt box and the chat view. The rule-based chips show at once and stay
as the fallback when the model is slow or fails.
- Dispatch card. "Queued · waiting for a builder · Target: loki" over
Control state / Cloud terminal / This computer is now a headline that
names where the work is ("Waiting for this computer"), one line on what
happens next, and ONE primary action chosen by state: Connect Fleet Runner
while it waits on this computer, Watch it while it runs (on the terminal
it actually runs on), Open in Control when it failed, See the result when
it finished. lib/dispatch-card.ts, tested.
- Chat view. The live line carries the turn's age ("2 min 5 s"), the way
the Claude app shows it; a single tool step names itself ("Ran" + the
command in mono) instead of "Ran a command".
- Status dots. dispatchToneDotClass returned a colour class without the
ui-dot size, so every dispatch status line (Loki card, terminal composer,
prompt run modal, activity retry) began with a 0×0 dot.
- Suggestion chips ellipsize instead of cutting a step mid-word.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BQdyreKqCfy8iwRBRUVm39
* feat(terminal): Claude Code's mode beside the message box, one tap to the next
The Claude app shows Auto / Accept edits / Plan beside its composer. Loki's
conversation view now does too.
- Claude Code writes `permissionMode` on every message you send. The shared
log reader (lib/claude-transcript, also Fleet Runner's) keeps it on user
items; the frame route accepts it; sessionMode() reads the newest.
- SessionModeChip in the composer row: the mode as of your last message,
and a tap sends Shift+Tab, the TUI's next-mode key. It says "Switched…"
until your next message records the new mode. No pick-a-mode list on
purpose: the cycle order varies by Claude Code version and settings, so a
picker could land on the wrong mode and claim otherwise.
- Fleet Runner 0.8.40 (the runner reduces the log), with its changelog
entry. Older runners send no mode and the chip simply does not show.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BQdyreKqCfy8iwRBRUVm39
---------
Co-authored-by: Claude <noreply@anthropic.com>
106 lines
2.8 KiB
JSON
106 lines
2.8 KiB
JSON
{
|
|
"name": "fleet-runner",
|
|
"version": "0.8.40",
|
|
"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"
|
|
}
|
|
}
|