Commit Graph

1626 Commits

Author SHA1 Message Date
pewdiepie-archdaemon 4db0feed10 Nudge vllm attention field right 2026-06-27 21:38:34 +00:00
pewdiepie-archdaemon 46e01b49f4 Increase llama mode toggle height 2026-06-27 21:37:11 +00:00
pewdiepie-archdaemon eb51935074 Lower stabilized llama advanced block 2026-06-27 21:34:37 +00:00
pewdiepie-archdaemon c0ee638fcc Stabilize llama advanced row spacing 2026-06-27 21:33:13 +00:00
pewdiepie-archdaemon edf06a8048 Tighten llama memory row gap again 2026-06-27 21:31:00 +00:00
pewdiepie-archdaemon 5bc3a69251 Tighten llama memory row gap 2026-06-27 21:29:19 +00:00
pewdiepie-archdaemon a193e6b815 Tighten first llama advanced row gap 2026-06-27 21:28:14 +00:00
pewdiepie-archdaemon 7fe55a2942 Fine tune llama advanced spacing 2026-06-27 21:25:37 +00:00
pewdiepie-archdaemon 0c53672ae9 Adjust llama advanced top spacing 2026-06-27 21:23:39 +00:00
pewdiepie-archdaemon 1eebfb862e Lower cookbook serve top row 2026-06-27 21:20:27 +00:00
pewdiepie-archdaemon 0ee2e0069f Tint Ollama engine icon 2026-06-27 21:18:15 +00:00
pewdiepie-archdaemon c157553fb7 Refine llama advanced row spacing 2026-06-27 21:17:24 +00:00
pewdiepie-archdaemon cbc5d6c341 Simplify llama MTP token input 2026-06-27 21:14:21 +00:00
pewdiepie-archdaemon a0f6f27ff7 Nudge llama advanced rows right 2026-06-27 21:13:20 +00:00
pewdiepie-archdaemon 4ced5da463 Tighten llama advanced vertical spacing 2026-06-27 21:12:12 +00:00
pewdiepie-archdaemon 3b7e6bb3fd Nudge vllm attention field 2026-06-27 21:11:18 +00:00
pewdiepie-archdaemon 277879beec Tighten llama advanced rows further 2026-06-27 21:10:38 +00:00
pewdiepie-archdaemon d45543abaa Tighten llama advanced rows 2026-06-27 21:07:57 +00:00
pewdiepie-archdaemon 448ed1b4e9 Limit cookbook spacing change to advanced tab 2026-06-27 21:05:07 +00:00
pewdiepie-archdaemon 912a4e2ba7 Color cookbook context fit notes 2026-06-27 21:02:10 +00:00
pewdiepie-archdaemon 424ebfa5cb Raise unified llama context estimate 2026-06-27 20:56:57 +00:00
pewdiepie-archdaemon f177d38c62 Clamp unified llama context estimate 2026-06-27 20:52:31 +00:00
pewdiepie-archdaemon 6d78f6f7f7 Add cookbook empty scan buttons 2026-06-27 20:48:24 +00:00
pewdiepie-archdaemon efa4370a48 Rename email auto translate task 2026-06-27 20:46:45 +00:00
pewdiepie-archdaemon e9446f41c0 Register email auto translate task 2026-06-27 20:43:56 +00:00
pewdiepie-archdaemon 1e4d06e6c5 Reduce cookbook startup polling 2026-06-27 13:50:21 +00:00
pewdiepie-archdaemon 4ab68b6566 Polish mobile UI and editor workflows 2026-06-27 13:05:44 +00:00
pewdiepie-archdaemon 21d6e62179 Fix calendar recurrence controls 2026-06-24 11:11:07 +00:00
pewdiepie-archdaemon a22272a158 Refresh README screenshot 2026-06-22 04:49:52 +00:00
pewdiepie-archdaemon 6dbdac7833 Clear remaining CodeQL path and parser alerts 2026-06-22 02:45:05 +00:00
pewdiepie-archdaemon 6ea72c4b1c CodeQL hardening for cookbook sync 2026-06-22 02:39:18 +00:00
pewdiepie-archdaemon 4697a65176 CI test fixes for dev sync 2026-06-22 02:20:15 +00:00
pewdiepie-archdaemon 885d9d2ca4 CI fixes for cookbook workflow sync 2026-06-22 02:08:25 +00:00
pewdiepie-archdaemon 5e751694df Cookbook launch and gallery upload fixes 2026-06-22 01:49:15 +00:00
pewdiepie-archdaemon 324b1d9eaf Merge origin/dev into main 2026-06-21 11:08:50 +00:00
pewdiepie-archdaemon c20535f1ad Cookbook model workflow fixes 2026-06-21 11:02:35 +00:00
nopoz d8771d86e8 fix(personal): scope RAG file delete to the caller's own upload dir (#4602)
The DELETE /api/personal/file disk-delete containment check used the
shared PERSONAL_UPLOADS_DIR root, so one admin could delete another
user's personal upload by passing its path (uploads are partitioned per
owner under <root>/<owner>/). Confine the check to the caller's own
per-owner subdir via _personal_upload_dir_for_owner(owner). RAG removal
and listing exclusion are unchanged (they still serve non-upload indexed
sources). Adds a regression test for the cross-owner case.
2026-06-20 00:50:15 +02:00
Kenny Van de Maele e99c05d506 refactor(tools): move session tools to the agent_tools registry (#4454)
Moves create_session, list_sessions, send_to_session and manage_session out of
ai_interaction.py into src/agent_tools/session_tools.py (the do_ prefix
dropped) and registers them in TOOL_HANDLERS, so dispatch flows through the
registry instead of the dispatch_ai_tool elif in tool_execution.py. Same
pattern as the model-interaction move.

The bodies move verbatim; each fetches the runtime-set session manager via a
get_session_manager() shim, and reuses _resolve_model / AI_CHAT_TIMEOUT from
ai_interaction. manage_session's internal 'list' alias is repointed from the
old do_list_sessions to the moved list_sessions. stream_ai_tool (dead, no
callers) and do_pipeline stay put. dispatch_ai_tool loses its four now-unused
branches.

Tests: test_session_tools_registry covers registration, owner threading, the
manage_session->list_sessions delegation, graceful no-manager handling, and
registry dispatch. Verified end-to-end against a live SessionManager.
2026-06-19 11:55:22 +02:00
nopoz e1f39d1301 fix(ui): escape model name in model-info popup (DOM-XSS) + two latent sinks (#4605)
chatRenderer.js built the model-info popup HTML by concatenating the
model name (from the LLM response's model/answered_by field) into
popup.innerHTML without escaping, so a model advertised as an HTML/script
payload executed when the user clicked the role label. Wrap both
insertions with the uiModule.esc() helper the same function already uses.

Also apply existing escape helpers at two latent sinks flagged by CodeQL,
fed only by self-authored/server values today: document-tab title via
_esc(), and the calendar event background URL (escape the double quote
that would otherwise break out of the style="..." attribute).
2026-06-19 11:03:44 +02:00
Kenny Van de Maele 955544aeb2 chore(deps): remove unused @anthropic-ai/sdk dependency (#4566)
Never imported anywhere in the codebase (unused since v1.0); it is the only
root dependency and nothing depends on it. Removing it also drops 6 transitive
packages from the lockfile.

Fixes #4565
2026-06-19 09:40:35 +02:00
RaresKeY 1f9912294a fix(cookbook): stop Windows process trees (#4283) 2026-06-19 00:28:25 -07:00
Kenny Van de Maele 4c635c1903 feat(agent): add manage_bg_jobs tool to inspect and kill background bash jobs (#4577)
Detached bash jobs (#!bg) could be launched and auto-reported on completion,
but the agent had no way to act on a running one: no on-demand output read and
no kill (it blocked until the 1h max-runtime). bg_jobs had the pieces
(_read_output, list_for_session, internal _kill) but none was exposed.

Adds:
- bg_jobs.kill(job_id): tears down the process tree, marks the job killed, and
  sets followed_up so the monitor does not also auto-continue a deliberate kill.
- manage_bg_jobs registry tool with actions list / output / kill, scoped to the
  chat that launched the job (cross-session access reads as not found).
- Wiring: TOOL_HANDLERS/TAGS, function schema, RAG index + keyword hints, parser
  name map, dispatch (threads session_id via _direct_fallback). Gated like bash
  (NON_ADMIN_BLOCKED_TOOLS; plan-mode mutator).
- agent_loop: background-job intent regex maps to the files domain (and the tool
  joins _DOMAIN_TOOL_MAP[files]) so short commands like 'kill that job' are not
  dropped by the low-signal gate that skips tool retrieval.
- bg launch message tells the model to call manage_bg_jobs itself for check/stop
  rather than printing raw tool syntax to the user.

Tests: tests/test_bg_job_tools.py (kill semantics, per-chat scoping, actions,
and the intent classifier).
2026-06-19 00:28:22 -07:00
pewdiepie-archdaemon 84b93b1c49 Sidebar + theme: drop hamburger cycle no-op branch; add brandMixTo CSS var to themes for logo-gradient end color 2026-06-19 00:35:08 +00:00
pewdiepie-archdaemon ff512718c7 Research panel: inline Library-link hint when there are no past runs (replaces the standalone past-research column) 2026-06-19 00:35:02 +00:00
pewdiepie-archdaemon 56ccc3364e Notes: checklist/todo/goal classification + agent-stream-complete state class for done indicator 2026-06-19 00:34:57 +00:00
pewdiepie-archdaemon 00422668a7 Email Library: render tag chips + spam verdict pill on the email row 2026-06-19 00:34:52 +00:00
pewdiepie-archdaemon 2aa0ff7173 Chat: first-token wait timer cleanup so per-pane timeouts dont leak when a response finishes mid-wait 2026-06-19 00:34:47 +00:00
pewdiepie-archdaemon 7200304200 Bump APP_VERSION to 1.0.1 2026-06-19 00:34:37 +00:00
pewdiepie-archdaemon b00867a7e7 Agent stream: 10s heartbeat keepalive on the SSE subscribe so long-running thinking models dont drop the connection 2026-06-19 00:34:30 +00:00
pewdiepie-archdaemon 9e90caed16 Agent loop: compact one-line tool-usage hints for local/small models so the system prompt doesnt eat the context budget 2026-06-19 00:34:24 +00:00