aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
40 hoursdocs: vikunja tasks tools specDanilo M.1-0/+110
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 daystools: video, collapse whisper's repeated words; live checkDanilo M.5-4/+67
whisper turbo repeats words, often across two segments ("it's it's"), and loops over intro music: a word said twice in a row collapses to one, after the segments are joined. A transcript that fits the preview is labelled "full text"; the description forbids summarizing from the start alone. Live check findings in AGENTS.md: 0.18x real time on a real talk, stop kills whisper in 0.07 s, a summary works from the attached file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daystools: video, fixes from the live checkDanilo M.2-24/+61
- Instagram gives no duration: an unknown length is measured on the download before the 30-minute check; live streams are told apart by is_live. - PeerTube subtitles are CRLF: cue numbers leaked into the text. - Segments and cues break mid-sentence: joined into paragraphs that end on a sentence after 400 characters. - No own "error: " prefix: the daemon adds one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daystools: video, transcribe local and online videosDanilo M.5-16/+372
video.sh takes an absolute path or an http(s) URL. Uploader subtitles (it/en) when the URL has them, else whisper large-v3-turbo on the CPU, so the loaded model keeps the GPU. The transcript goes to $ASSISTANT_DIR/<slug>.md and opens; the model gets the path first and the start of the text. Over 30 minutes it asks first. The daemon now kills a running tool's process group on stop: a transcription can run for minutes. A video attachment reaches the model as its path only, for the tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daysfeat: out_dir setting for tool and canvas outputDanilo M.2-6/+53
One output folder for the canvas and tools, in config.toml. Empty resolves to Assistant/ in the XDG documents folder, the rule the canvas used to apply itself. Tools get it as $ASSISTANT_DIR, the canvas from hello, and --defaults prints the resolved folder for the settings page's placeholder. A relative path stops the daemon. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daysdocs: video spec, stop kills tools, 30 min guardDanilo M.1-5/+22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 daysdocs: video transcript tool specDanilo M.1-0/+167
Output folder setting (out_dir in config.toml, edited in keystone, passed to tools as ASSISTANT_DIR), then a video tool: uploader subtitles or whisper large-v3-turbo on the CPU, transcript written as Markdown, the model gets the path and the start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11docs: barcode tool live checkDanilo M.1-0/+18
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11tools: barcode, read QR and barcodes in attached imagesDanilo M.1-0/+8
ZXingReader (zxing-cpp) one-line mode, no wrapper script. Images only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10feat: models event reports each local model's inputsDanilo M.2-3/+8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09docs: redact tool live checkDanilo M.2-19/+77
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, codice fiscale survives OCR misreadsDanilo M.2-3/+9
Live check: a scanned codice fiscale read as NREMRCE0A01F205X (80 as E0) failed the strict layout and stayed visible. Any 16-character code mixing at least 3 letters and 3 digits is now blacked out. The tool description no longer promises these are always found and asks the model to list them in items on scans too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, OCR for images, scans and pictures in text pagesDanilo M.1-4/+84
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: cloud may name trusted providersDanilo M.2-9/+34
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09attach: file and image blocks carry the pathDanilo M.1-2/+7
Images get a one-line block so a tool (redact) can learn their path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, review fixesDanilo M.1-18/+87
CropBox honoured, /Rotate page size from the render, letter-spaced text joined, valid IBAN/card found inside an absorbed match, more landline formats, read-only folder message, curly apostrophes, lowercase IBAN and codice fiscale. A rule match fully covered by an earlier one is not counted twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact.tomlDanilo M.1-0/+12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, text PDFs to a pixels-only redacted copyDanilo M.1-0/+199
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09tools: redact, PII detection over wordsDanilo M.1-0/+101
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09docs: redact tool planDanilo M.1-0/+631
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09docs: redact tool designDanilo M.1-0/+108
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30cloud: retry a failed key_cmd on the next models requestDanilo M.1-5/+15
Keys were read once at startup. At login the smartcard PIN is often not entered within key_cmd's timeout, so that provider was left out for the whole run and its models stayed missing until a restart. send_models now asks again for every provider without a key. It runs off the lock on purpose: route() holds it and must not wait on a PIN prompt. The refusal message says to open the model list to retry, and the self-check covers a key that fails at startup and loads on the next models request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30AGENTS: local-chat is archivedDanilo M.1-4/+4
Point the prior-art reference at its archived path and state that the canvas has replaced llamachat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24docs: mygram tool live checkDanilo M.1-0/+17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24tools: mygram, Foldergram scan status via sync-mygram --statusDanilo M.1-0/+4
Read-only: runs the sync script's status mode, which prints whether a library rescan is running, its phase and progress, and the last completed scan. Allowed in cloud chats. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23usage: save each turn's token usage in turns.usageDanilo M.1-1/+3
The daemon used the API's usage block only for the live context meter and threw it away, so llm-cost-dashboard had nothing to track. stream() now keeps each request's last usage chunk (Hetzner sends running totals on every chunk) and answer() saves them per turn as JSON {ts, provider, model, rounds}. Existing databases gain the column. Titles and transcriptions are not counted: always local, $0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23cloud: the context size from the provider's /modelsDanilo M.3-27/+80
Hetzner runs vLLM, whose /models reports max_model_len per model (262144); OpenRouter names it context_length. Read when the chat's model changes, as /props is for a local one, so the meter shows a cloud chat's fill and its attachment budget is half of what is free instead of a fixed 24000 characters. Image input already went through: a cloud model's inputs count as unknown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23docs: cloud models spec done, both sidesDanilo M.1-1/+1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23titles: always from the local model, also in a cloud chatDanilo M.3-8/+20
A cloud model gets no enable_thinking switch and reasoned over the title for about 12 s; the local one answers it with thinking off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23cloud: one ctx event per request; docs: live check with HetznerDanilo M.2-4/+38
Hetzner sends usage on every chunk, which made the daemon emit a ctx event per token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23docs: reflow the cloud lines, To .md stays localDanilo M.3-5/+7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23cloud: one-line keys only, a refused pick keeps the chat's modelDanilo M.1-7/+39
key_cmd's first line is the key, as pass stores it; anything else with whitespace would reach the Authorization header, and http.client's refusal quotes the whole value into the log and the socket. A pick that cannot be asked is refused before it replaces the chat's model. Titles and writes no longer move the context meter, a provider's error body has the key masked, and an empty cloud model id is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23docs: cloud models, example provider and cloud toolsDanilo M.8-5/+36
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23cloud: a chat's model routes its requests, cloud chats get cloud tools onlyDanilo M.1-45/+163
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23history: keep the model a conversation is asked withDanilo M.1-4/+19
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23cloud: provider keys from key_cmd, routing by model prefix, --cloud-modelsDanilo M.1-1/+96
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23config: [[cloud]] providers and the tool cloud flagDanilo M.1-0/+48
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23docs: plan cloud models, daemon sideDanilo M.1-0/+806
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23docs: spec cloud models, chosen per chatDanilo M.1-0/+152
Providers are OpenAI-compatible [[cloud]] tables with a key_cmd; a chat stores its model; cloud chats get only tools marked cloud = true, and audio is always transcribed locally. Replaces the everything-local rule with no silent cloud fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23titles: let the model name a conversation after its first replyDanilo M.2-2/+44
A new conversation is still saved under the first six words of the question, then the model is asked for a title of at most six words in the conversation's language, thinking off, and the row is renamed. The request runs after done under the reply's turn, through ask(), so the next ask, stop, new or open hangs it up through interrupt(): a title never holds the next reply back, and a dropped one leaves the six words. A failure is logged only, since the reply is already saved. The self-check's fake llama-server answers title requests apart from the scripted replies, so a title can never take a reply meant for an ask in the test that follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20clone tool: fail instead of prompting, lowercase host, update only on 1Danilo M.2-1/+14
A missing or private https repo made git ask for a username through SSH_ASKPASS, which on this desktop is pinentry-qt: a login dialog popped up and the tool waited up to its 300 s timeout. SSH_ASKPASS is now unset and GIT_TERMINAL_PROMPT=0, so the clone fails in about 0.2 s with "terminal prompts disabled". The host is lowercased before the map lookup, so GitHub.com finds GITHUB. update pulls only when it is 1, so a model passing 0 gets the question, not a pull. test-clone.sh checks all three; the new checks fail on the previous script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19clone tool: name the target owner-repoDanilo M.4-21/+54
A generic repo such as evgen2571/wallpapers cloned into wallpapers; the target now takes the owner's name, collapsing when owner and repo match and falling back to the bare name when the URL has none.
2026-10-19docs: clone tool, tested through the modelDanilo M.1-0/+8
Known host clone, repeat asking to update plus update=1, unknown host asking to create the folder, to= cloning and the map append, and a remembered host cloning with no question, all driven through a second daemon on scratch dirs.
2026-10-19clone tool: clone a public repo into the host's folderDanilo M.5-0/+325
A public URL is cloned into ~/Programming/GIT/<host-folder>/<repo>, the folder chosen by host from ~/.config/desktop-assistant/clone-hosts (github.com, gitlab.com, forge.slackware.nl seeded). An unknown host or an already-cloned repo stops and asks with a concrete action; approving a new host folder appends it to the map, so later clones of that host ask nothing. Update pulls with --ff-only, never clones over the folder. test-clone.sh stubs git and uses a scratch tree and map.
2026-10-19docs: the new project tool, live checkDanilo M.2-1/+29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19project tool: end the prompt with a period, plan-friendly opencode promptDanilo M.2-4/+10
The model sends the description without a final period, so the prompt read "...tool Fill in". opencode now starts in its plan agent, which cannot edit, so its prompt asks for a proposal instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19project tool: start a new project and open an agent on itDanilo M.7-1/+1254
project.sh makes a folder in ~/Programming/GIT with AGENTS.md, CLAUDE.md, README.md and LICENSE (GPLv2 only, GPLv2+, GPLv3 or MIT, texts shipped in licenses/), commits it signed, and opens Claude Code or opencode in a kitty tab, or a new window when no kitty listens. The tool description asks the model to confirm before calling. Check: test-project.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19docs: plan the new project tool, agent choice in the specDanilo M.2-15/+274
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19docs: spec the new project toolDanilo M.1-0/+119
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19docs: voice input works end to end with the canvas micDanilo M.1-3/+4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>