6 Commits
Author SHA1 Message Date
CatoandClaude Fable 5.1 95c40a9cd8 refactor: rename the product from FleetCrown to Loki (#695)
The product, its assistant, the repo, the host and every unit on the box now
share one name. 638 files, ~3,000 mentions: UI copy, config, env keys
(FLEETCROWN_* -> LOKI_*), systemd units (fleetcrown-* -> loki-*), docs,
articles, the deploy workflow other repos reuse, and nine file names.

- Three article slugs carried the old name and had been shared; permanent
  redirects keep those links alive (next.config.ts).
- test-no-retired-name.sh now also forbids the old product name across the
  whole repo, so the rename cannot creep back through templates and examples.
- ASSISTANT_STACK collapses the product and the assistant into one entry,
  because they are now the same name.

Infra was cut over ahead of this merge: /opt/loki, loki-* units, the `loki`
database and role, loki.orangecat.ch (old host 308s to it; /api, /widget,
/embed keep proxying), GitHub repos bitbaum/loki and bitbaum/loki-releases.
The Resend sending domain stays fleetcrown.orangecat.ch until the new domain
is verified in DNS.


Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 16:13:10 -07:00
Mao NakamotoandCursor b1c4a3eb74 fix(control): stabilize autopilot injection and fleet observability
Align stop-hook, beacon, and UI dispatch gates so autopilot respects per-project pause, choice wire format, and typing blocks; add control audit trail, Fleet Doctor, and updated cloud-local docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 02:28:06 +02:00
Georgy Butaev b08ac4da14 feat(desktop): project selection + auto-sync on connect + Sync to Web (agent token to /runtime-state); switch to canonical injectIntoTab; ui-public-download-* classes (zero design violations); forward custom prompts as queueHead; clean lint; broad docs/marketing/scripts updates for FleetCrown desktop runtime 2026-06-02 12:17:12 +02:00
g-but 501a6e715b fix(daemon): carry user_projects.modelPref through to launch
/api/agent/projects already returned model = project.modelPref for
every project, but the daemon's sync script only wrote 3 columns
(tab|dir|agent), so the model field was silently discarded between
cloud DB and local conf. _agent_launch_cmd accepts a model arg and
passes it through (codex --model, gemini -m, etc.), but the
auto-launch path in execute_inject was hardcoded to empty string.
End result: a Codex project pinned to gpt-5 still launched gpt-5.4,
a Gemini project pinned to flash launched 1.5-pro.

Three-file fix:
- sync-agent-runtime-config.py: write tab|dir|agent|model. Header
  comment updated.
- agent-hook-lib.sh: _conf_agent_for_tab IFS read adds a 4th field
  variable (legacy 3-col lines still work, unread field is empty).
  Add _conf_model_for_tab mirror that reads the 4th column.
- cockpit-daemon.sh execute_inject auto-launch branch: look up the
  conf model and pass it to _agent_launch_cmd.

Verified against a synthetic 4-col conf:
  DemoProj   → agent=claude model=opus
  AOZ        → agent=gemini model=flash
  Legacy     → agent=grok   model=<none>   (3-col line, no break)
  NonExist   → agent=<none> model=<none>

Not yet wired: launch_agent / switch_agent paths still take model
from queue payload only. Cloud /api/inject doesn't pass model in
payload yet either — those are the next iterations.
2026-05-31 01:43:17 +02:00
g-but 8be96443fc fix(control): sync daemon runtime source of truth 2026-05-28 07:38:21 +02:00
g-butandClaude Sonnet 4.6 c1956f2a35 feat(scripts): add beacon popup system and agent hook infrastructure
- beacon.py: PyQt6 desktop overlay for session stops — countdown auto-continue,
  Whisper STT voice input, session summary display, confirm popup for destructive commands
- agent-hook-lib.sh: shared bash utilities — resolve_tab (pane-file fast path +
  zellij process tree fallback), inject_prompt, get_prompt, play_sound
- agent-hook-bridge.sh: stop/notification handler — writes /tmp sentinel files,
  launches beacon, injects chosen prompt back into the zellij tab; respects
  prefer_browser_ready_ui to skip native popup when Cockpit is running
- run-codex-task.sh: headless Codex executor that fires agent-hook-bridge stop on exit,
  bringing Codex into the lifecycle contract for orchestration-dispatched tasks
- smoke-beacon-stop.sh: integration smoke test for the full beacon stop chain
- sync-agent-runtime-config.py: copies claude-prompts.json → agent-prompts.json,
  claude-projects.conf → agent-projects.conf for agent-agnostic naming
- check-agent-runtime.sh, check-design-system.sh: dev diagnostic utilities

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 16:23:06 +02:00