TC

TC synced commits to master at TC/arozos-mirror from mirror

7 hours ago

TC synced commits to master at TC/arozos-mirror from mirror

  • 5a7bbde185 Bump github.com/pion/dtls/v3 from 3.1.13 to 3.1.14 in /src (#321) Bumps [github.com/pion/dtls/v3](https://github.com/pion/dtls) from 3.1.13 to 3.1.14. - [Release notes](https://github.com/pion/dtls/releases) - [Commits](https://github.com/pion/dtls/compare/v3.1.13...v3.1.14) --- updated-dependencies: - dependency-name: github.com/pion/dtls/v3 dependency-version: 3.1.14 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

23 hours ago

TC synced commits to master at TC/arozos-mirror from mirror

1 day ago

TC synced commits to dependabot/go_modules/src/github.com/pion/dtls/v3-3.1.14 at TC/arozos-mirror from mirror

  • 146add51d5 Bump github.com/pion/dtls/v3 from 3.1.13 to 3.1.14 in /src Bumps [github.com/pion/dtls/v3](https://github.com/pion/dtls) from 3.1.13 to 3.1.14. - [Release notes](https://github.com/pion/dtls/releases) - [Commits](https://github.com/pion/dtls/compare/v3.1.13...v3.1.14) --- updated-dependencies: - dependency-name: github.com/pion/dtls/v3 dependency-version: 3.1.14 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
  • 4786bba22a Experimental v4 agi
  • df3642f634 Properly handle quota nightly task error
  • b462a1a0df Add deprecated subservice docs page to site Adds a documentation page for subservices at /subservice/ in all four languages, with a prominent deprecation notice. The page covers folder layout, startup, ModuleInfo fields, proxy behaviour, the AGI callback, a minimal example, marker files and admin endpoints. It points new work to WebApps and Container Apps. sitegen changes: - `folder` pages are written as `<slug>/index.html`, with relative links computed by directory depth. - New `notice` and `doc` section types, an alert icon and matching CSS. - Tests for folder page URLs, output paths and depth. The Makers page and the Developers footer link now go to the new page instead of the example repo. Regenerated docs/ output, sitemap and manifest are included.
  • 69cb6f066c Add AGI documentation and browser playground Generate a local API reference and guides with drift reporting, plus an Otto WebAssembly playground with virtual files, service mocks and runnable samples.
  • View comparison for these 10 commits »

1 day ago

TC synced new reference dependabot/go_modules/src/github.com/pion/dtls/v3-3.1.14 to TC/arozos-mirror from mirror

1 day ago

TC synced commits to master at TC/arozos-mirror from mirror

  • b462a1a0df Add deprecated subservice docs page to site Adds a documentation page for subservices at /subservice/ in all four languages, with a prominent deprecation notice. The page covers folder layout, startup, ModuleInfo fields, proxy behaviour, the AGI callback, a minimal example, marker files and admin endpoints. It points new work to WebApps and Container Apps. sitegen changes: - `folder` pages are written as `<slug>/index.html`, with relative links computed by directory depth. - New `notice` and `doc` section types, an alert icon and matching CSS. - Tests for folder page URLs, output paths and depth. The Makers page and the Developers footer link now go to the new page instead of the example repo. Regenerated docs/ output, sitemap and manifest are included.
  • 69cb6f066c Add AGI documentation and browser playground Generate a local API reference and guides with drift reporting, plus an Otto WebAssembly playground with virtual files, service mocks and runnable samples.
  • d1da648f03 Refresh website copy and AGI docs preview Update localized website text, including Musicify's mobile app description, and regenerate the site. Add an AGI documentation preview configuration and ignore its generated output.
  • View comparison for these 3 commits »

2 days ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

  • 1a3c9c0ddc Merge branch 'master' into v3.0.5 Conflicts are resolved in favour of v3.0.5, so the tree is unchanged: - go.mod / go.sum: keep the newer dependency versions on v3.0.5 - database_core.go, database_openwrt.go: keep the bbolt backend - smart, hardwareinfo: keep mod/info/wininfo instead of wmic/PowerShell - Movie/embedded.html: skip the auto-merge, which repeated a script block - Raw Editor: stays removed (now part of Pixel Studio)
  • 857d9777d1 Redesign the document page
  • e3819d18da Bump github.com/klauspost/compress from 1.18.6 to 1.18.7 in /src (#308) Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.18.6 to 1.18.7. - [Release notes](https://github.com/klauspost/compress/releases) - [Commits](https://github.com/klauspost/compress/compare/v1.18.6...v1.18.7) --- updated-dependencies: - dependency-name: github.com/klauspost/compress dependency-version: 1.18.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 2ecbb06b4c Merge branch 'v3.0.3' into master
  • f7cc25288a V3.0.2 (#299) * Add CalDAV server for iOS Calendar bidirectional sync (#256) Add CalDAV server for iOS Calendar bidirectional sync (#256) * Updated CLAUDE.md (#257) * Updated CLAUDE.md * Add Reminders WebApp * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add CalDAV VTODO sync for Reminders and recurring support Expose the Reminders web-app data as a CalDAV VTODO collection at /caldav/{username}/reminders/ so iOS Reminders can sync bidirectionally alongside the existing Calendar (VEVENT) collection. The principal now advertises a calendar-home-set containing both collections. Add RRULE recurrence support: events and reminders pass their recurrence rule through ICS in both directions. The Reminders UI gains a Repeat selector, shows a repeat indicator, and rolls recurring reminders forward to their next occurrence on completion (matching iOS behaviour). --------- Co-authored-by: Claude <noreply@anthropic.com> * Bump internal_version to 3.0.1 Update internal build version from 3.0.0 to 3.0.1 in src/flags.go to reflect a minor release increment. * Add shell mode (virtual FS) to web terminal Introduce an interactive shell mode for the web Terminal. Backend (session.agi): implement shell state, virtual path resolution, many shell commands (pwd, ls, cd, cat, mkdir, touch, rm, cp, mv, echo, whoami, clear, exit, help), tab-completion, prompt building, safe filelib wrappers, and new websocket message types (shellmode, clear, complete, shellPrompt in result). Frontend (index.html): track shellMode/shellPrompt, render shell output differently, handle shell enter/exit and clear messages, send/handle completion requests/responses, adjust input handling (Tab completion and disabling REPL dot-commands while in shell). Add .claude/launch.json to run a local static server for src/web. This enables a secure virtual filesystem shell inside the AGI REPL without host FS access. * TURN update for Arozcast screen share over Internet (#259) * Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.19.1 in /src (#255) Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.19.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.19.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add built-in TURN relay so Arozcast screen share works over the Internet Arozcast screen share is a direct WebRTC peer-to-peer connection that only used public STUN servers, so it could not traverse NAT and failed over the Internet. Add a built-in TURN relay (pion/turn, MIT, pure Go) that both peers reach through the same ArozOS host, plus an /api/arozcast/iceservers endpoint that hands the browser STUN + TURN with short-lived HMAC-signed credentials. The relay is optional/configurable, and operators can override the ICE list entirely with system/arozcast/iceservers.json to use an external TURN. - mod/network/turn: pion/turn wrapper + ephemeral credential helpers (tested) - cast.go: start the relay in ArozcastInit; serve /api/arozcast/iceservers - main.go: close the relay on shutdown - flags.go: -arozcast_turn, -arozcast_turn_port, -arozcast_turn_publicip - screenshare.html / index.html: fetch ICE servers (STUN fallback) - Arozcast README: endpoint + Internet/TURN operations docs Media casting (Musicify/Movie/Photo) already worked over the Internet via the existing relay and is unchanged. https://claude.ai/code/session_01P68sFxtXuRXfzDnwtpFrnU * Add TURN-over-TLS and a System Settings toggle for the Arozcast relay Builds on the built-in Arozcast TURN relay with two operator-facing enhancements. TURN-over-TLS (TURNS): - turn.NewServer now optionally starts a TURNS listener (TLSPort + TLSCertFile/TLSKeyFile) alongside the plain UDP/TCP relay, reusing the system TLS certificate. Restrictive firewalls that only permit outbound TLS (commonly 443) can then relay screen share, since the media rides inside a connection indistinguishable from HTTPS. - Listener setup tracks every opened conn so a later failure cleans up; a TURNS failure is non-fatal (logged, plain relay keeps running). - /api/arozcast/iceservers advertises turns:host:port?transport=tcp when the listener is up. New flags: -arozcast_turn_tls (default on, no-op without a usable cert) and -arozcast_turn_tls_port (default 5349; set to 443 for maximum reach). System Settings toggle & status: - The relay is now runtime-managed (mutex-guarded start/stop with a remembered config) and its on/off state is persisted in the system database, overriding the -arozcast_turn flag default across restarts. - New admin-only endpoints /system/arozcast/turn/{status,setEnabled} via the permission router, plus a "Screen Share Relay" page under System Settings -> Network & Connection (SystemAO/arozcast/turn.html) showing running state, port, TURNS and advertised host. Tests cover the TURNS listener (self-signed cert handshake) and the non-fatal missing-cert path. README documents both features. * Drop the SNI-routing proxy caveat from the TURNS 443 docs The TURN-over-TLS note suggested fronting port 443 with a TLS/SNI-routing proxy to share it with the web server. That over-complicated the guidance; replace it with a plain statement that 5349 is the default and 443 is only viable when free on the relay's address. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> * Add single instance support to Movie * Add cross-tab theme sync and file selector fixes Broadcast theme changes to other open tabs and improve file selector callback handling. file_explorer.html now writes ao_system_theme to localStorage when toggling theme in standalone mode so other tabs can react. ao_module.js adds ao_module_onThemeChanged, ao_module_toggleSystemTheme and an internal _ao_theme_broadcast to support both VDI (desktop-driven) and standalone/cross-tab theme propagation. Also fixes and documents file selector behavior: allow callback as a string or named function, auto-register a temporary global for anonymous callbacks in VDI mode, resolve string callbacks in non-VDI polling mode, and clean up localStorage handling. Minor typo/comment and whitespace fixes included. * Add theme listener to desktop * Added more icons for Code Studio * Added wip productivity app * Renewed Text app * Updated Productivity app * Text module style update * Add RWD support to text * Add Markdown source-mark reveal and image sync Show Typora-style markdown source marks and allow inline editing of image references. Adds CSS pseudo-elements to reveal heading, emphasis, code, blockquote and link syntax; a settings selector to control reveal mode (active/always/none); and a default syntax setting. Implements updateActiveBlock(), clearDecorations(), decorateBlock(), editable .md-imgsyn labels, syncImgFromSyn()/commitImgSyn(), and helpers (richPlainText, activeImgSyn, caret/block helpers) to keep serialization and word count unchanged. Updates event handlers and key handling to support image-label editing, heading mark editing, backspace behavior at block start, and selection changes. Ensures getContent strips editable image labels before turndown and wires UI state updates throughout. * Text: add Notion mode with slash commands and document-aware AI (#260) Adds a toolbar toggle that enables a Notion-style "/" command menu in the Markdown editor. Typing "/" at a line start (or after a space) opens a filterable, keyboard-navigable menu to quickly insert blocks (headings, to-do/bullet/numbered lists, quote, code block, table, divider) and to run AI actions. AI actions feed the entire current document in as context and insert the generated Markdown at the caret, with an inline "Ask AI" prompt for free-form instructions plus presets (continue writing, summarize, brainstorm, outline). Generation is relayed through a new Text/ai.agi backend that calls the aimodel library; the AI endpoint/key are configured by an admin in System Settings. A new "Notion & AI" settings section lets users toggle the feature, pick a model (lazy-loaded from the endpoint) and set the temperature; all preferences persist alongside the existing editor settings. Claude-Session: https://claude.ai/code/session_01Xd4TY3ecHMDdG7es1JqbKo Co-authored-by: Claude <noreply@anthropic.com> * Revert "Text: add Notion mode with slash commands and document-aware AI (#260)" This reverts commit be21397ccf060ed4fe403c48fbe3d63d72669965. * Added advanced code block function to Text * Add code-language picker and blank-line handling Introduce a code-block language <select> UI and preserve runs of blank paragraphs through round-trip serialization. Add LANG_LIST and TextHL.languages(), ensure language selectors are appended to <pre> blocks (contenteditable=false and stripped on save), and wire syncLangSelector/ensureLangSelector/clearLangSelectors/onLangSelectChange. Implement renderWithBlankRuns() and expandBlankSentinels() to keep multiple empty paragraphs, switch marked.parse/getContent/renderedHTML to use these, and replace the previous &nbsp; sentinel with a ZWSP sentinel. Fix code-block editing by rewriting newline/delete logic to operate on the code textContent (insertNewlineInCode, deleteInCode) to avoid DOM fragmentation and caret issues; add protection for key handling when the language <select> has focus. Adjust decoration logic to avoid marking PRE as md-active and update syntax display rules. Rename/move backend modules under Text/backend (export.agi, filesaver.agi, imgtool.agi) and update ao_module_agirun calls to use the new paths. Add related CSS for the language picker and other small UI adjustments. * Add link editor and improve code highlighting Introduce an interactive link editor and inline editable link marks, replacing the previous CSS-only closing a::after pseudo-element with a real .md-linksyn element so link URLs are clickable/editable. Add link dialog UI (overlay, inputs, remove/cancel/OK handlers) and associated logic to insert/edit/remove links, preserve/restore selection, and avoid tearing down marks while edited. Enhance code-block highlighting: switch to relightCode/highlightCode with caret/selection preservation (selectionEndOffsetIn, restoreCaretIn), handle live re-highlighting on edits, language changes, and prevent stuck empty code blocks by exiting them (exitEmptyCodeBlock). Also fix caret placement when clicking below trailing code blocks (escapeTrailingCodeBlockClick), update serialization to strip .md-linksyn, and adjust toolbar/labels for the link action. * Add support for token access in webdav server X-Access-Token + X-Aroz-User now can be used to login webdav with autologin token instead of Basic Auth * Add CNN inference API support * Rename aimodel to llm and add LLM server pkg Replace the legacy "aimodel" library with a new "llm" library and introduce a dedicated aiservers/llm package. Key changes: - Rename library identifier from "aimodel" to "llm" across docs and backend scripts (README, AGI scripts, web backend examples). - Remove the old agi.aimodel implementation and add agi.llm (new AGI lib) plus agi.llm_test.go. - Add mod/aiservers/llm package with client, OpenAI/Anthropic adapters and types, and tests (client.go, openai.go, anthropic.go, types.go, and tests). - Update tests and module wiring to use LLMConfig/LLMPricing/llmDBTable and injectLLMFunctions where appropriate. - Minor updates to web demo backend/init scripts and API docs to reflect the new requirelib name. Notes: System Settings UI and routes retaining the original "AI Model" naming; only the requirelib identifier and internal Go types/DB table references were changed. This restructures wire-protocol logic into the new aiservers/llm package for clearer separation of concerns and easier protocol-specific handling. * Fixed #204 * Add text color change inline * Add free resize on select tool * Add Cine Studio, a Premiere-like timeline video editor webapp (#263) A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 Co-authored-by: Claude <noreply@anthropic.com> * Docker support (#264) * Updated Video Editor app to have more functionalities (#266) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Fix docker package build failure on FreeBSD and other unlisted platforms (#267) The docker package split its PTY console and host-stats helpers into build-tagged files that only covered linux/darwin/windows. FreeBSD (built by the Jenkins release pipeline for amd64 and i386) matched none of them, so startDockerExecPTY, hostStorageUsage and hostLoadAvg were undefined and the cross-platform release build failed. - console_unix.go now builds for freebsd too (creack/pty supports it). - console_windows.go becomes console_other.go, a catch-all (!linux && !darwin && !freebsd) stub covering windows and any other GOOS. - host_darwin.go becomes host_bsd.go (darwin || freebsd); the Statfs-based storage helper works on both. - Add host_other.go, a catch-all fallback so the package builds on any remaining GOOS. Also expand the CI cross-compile smoke test to cover the full release matrix (including freebsd/amd64 and freebsd/386) so a platform-specific break is caught in CI instead of only in the release build. Claude-Session: https://claude.ai/code/session_01L4oR1xiTxpcfwYjRgi4RGh Co-authored-by: Claude <noreply@anthropic.com> * Added playwright e2e tests for cine studio (#268) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Claude/arozos playwright tests for arozos (#269) * Add full-stack Playwright E2E suite for ArozOS critical paths Extend the Playwright harness (previously Cine Studio only) with a 'system' suite that drives a real ArozOS server built from src/: - lib/arozos-server.js boots a disposable isolated instance (.instance/: web symlink + private system copy) and bootstraps a deterministic admin account at the zero-user state - lib/system-harness.js shares login (form + API), CSRF, JSON and pass/fail helpers; each spec also runs standalone - specs-system/ covers the critical paths: 010 sign in / sign out (form render, bad credentials, session persistence, gated redirects, logout, retry delay) 020 desktop shell (task bar, start menu, module list, quick access panel identity, UI sign-out) 030 file explorer (File Manager UI render + full file lifecycle: create, rename, copy, move, properties, recycle/restore/clear trash, permanent delete, CSRF enforcement) 040 system settings (settings UI, catalogue groups, admin-only modules, host info, permission group listing) 050 user management + permission control (group CRUD, user CRUD, restricted-user module visibility, admin-only endpoint denial, administrator group protection) - run.js orchestrates both suites; npm run test:static / test:system - CI workflow now builds the Go binary, triggers on src/** changes and uploads the server log on failure Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 1 E2E spec and coverage roadmap - specs-system/060-webapps-core.js: smoke + interaction coverage for the highest-importance WebApps (NotepadA, Text, Photo, Music, Video, PDF Viewer, Zip File Manager) against the real server, including opening a real file in NotepadA via the desktop hash convention - README: document the ranked 44-WebApp inventory and the wave order for upcoming specs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 2 E2E spec (office/productivity) specs-system/070-webapps-office.js: smoke + interaction coverage for Code Studio, MDEditor, Calendar, Notes, Memo, Reminders, OfficeViewer and Dashboard against the real server, including opening a real Markdown file in MDEditor via the desktop hash convention and probing Dashboard's live system-info data source. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 3 E2E spec (media/creative) specs-system/080-webapps-media.js: smoke coverage for Musicify, Movie, Manga, Paint, Pixel Studio, Audio Studio, Camera, Recorder and FFmpeg Factory against the real server, plus a probe of the storage data path the media library apps browse. Cine Studio keeps its own deep static suite and is not repeated here. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 4 E2E spec (utilities/dev/network) + close roadmap specs-system/090-webapps-utilities.js: smoke coverage for Calculator (incl. a real 7+8=15 calculation through the UI), Clock, Browser, Speedtest, Web Downloader, Web Builder, SQLite Admin, Terminal, AGIForge, AIChat, OTPAuth, Productivity, OnScreenKeyboard, Arozcast, Management Gateway, UnitTest, CronDemo and Serverless. This completes coverage of all 44 WebApps under src/web across four waves. README updated to reflect the full map; full suite (13 spec files: 4 static + 9 system) passes end to end. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add deep file-transfer critical-path spec (upload/download/search/share) specs-system/035-file-transfer.js extends the file-explorer coverage with the transfer features that move real bytes: - multipart upload of a real file - media download with byte-exact round-trip verification - file search by keyword - share-link lifecycle: create, list, anonymous direct download via /share/download/{uuid}/ (byte-exact) + preview page, then delete and confirm the share is revoked Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add account password-change critical-path spec specs-system/055-account.js exercises the My Account flow on a dedicated throwaway user (keeping the shared admin login intact): account settings UI render, userinfo identity, wrong-old-password refusal, successful change, and that afterwards only the new password signs in. README updated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop backend API spec (every /system/desktop endpoint) specs-system/021-desktop-api.js covers the full desktop.go API surface with the exact request shapes desktop.html uses: host/device details; user self-info (quota/groups/admin), another user's public info via ?target, and noicon; theme listing + set/get round-trip; preference set/get/remove; createShortcut + listDesktop metadata; icon location files set/get/del; and renameShortcut incl. off-desktop rejection. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop UI shell spec (clock, panels, start menu, search, icons) specs-system/022-desktop-ui.js drives the real desktop.html: wallpaper frame mounts, the taskbar clock shows a formatted time, the quick access panel carries the user identity, the start menu opens with module entries, its search box narrows the list and reports No Result for gibberish, the notification bar toggles from the clock, and an API-seeded shortcut renders as a desktop launch icon. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop float-window + context-menu spec and update README specs-system/023-desktop-windows.js drives the desktop window manager and right-click surfaces using the app's own globals and real clicks: openModule spawns a float window with a taskbar entry; newFloatWindow creates addressable windows; focus raises z-order; maximize/restore, minimize and close all work; and the wallpaper + icon context menus open with the expected entries. Desktop coverage is now three specs deep (API 021, UI 022, windows 023) on top of the original 020 shell smoke test. README layout updated. Full system suite (14 specs) passes together. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow --------- Co-authored-by: Claude <noreply@anthropic.com> * Video Editor Cline Update (#270) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * New webapp RAW Editor (#271) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Hand off developed image to Pixel Studio on Done Repurpose the Raw Editor's "Done" action into a hand-off: it now writes the current develop to a temporary JPEG (tmp:/RawEditor, auto-cleared by ArozOS) and launches Pixel Studio as a float window with that file as its input (matching Pixel Studio's ao_module_loadInputFiles hash format), then closes the Raw Editor window. Falls back to the normal Save dialog when running outside the ArozOS desktop. The bottom-bar button is relabelled "Open in Pixel Studio". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Redesign Raw Editor UI to match the newer Lightroom / Camera Raw layout Rework the develop panel into the 2024 Lightroom-style layout: - Thin centred title bar with open / save / reset / fit icons. - Borderless histogram with shadow/highlight clipping indicators and an EXIF readout (ISO, focal, aperture, shutter). - "Edit" header carrying Auto (auto-tone) and B&W (treatment) pills. - Profile selector row. - Collapsible Light / Color / Effects / LUT groups, each with a chevron to fold and an eye toggle that bypasses that group's adjustments. - Lightroom slider rows: label + right-aligned editable value on one line, thin track below, with coloured gradient tracks for Temperature (blue-> yellow), Tint (green->magenta) and Vibrance / Saturation. - White-balance eyedropper wired to auto white balance. - Bottom bar with a live filmstrip thumbnail, Fit / 100% zoom, an underlined dimension readout and Cancel / Open in Pixel Studio actions. - Decorative panel-selector strip on the right edge. Pipeline: add Texture (fine local contrast), Vignette (radial) and Grain (post noise) controls to the WebGL develop shader to complete the Effects group, plus per-group bypass handling in the parameter builder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add ArozOS-backed LUT library with a managed folder LUTs can now be managed through the user's ArozOS storage instead of only one-off browser uploads: - On first use the app creates a "user:/RawEditor/LUTs" folder (via the file_system newItem endpoint with a CSRF token). Users can drop .cube files into it with the Files app. - The LUT panel scans that folder (listDir) and lists every .cube in a "Library" dropdown; picking one reads it back through the media endpoint, parses it and applies it live. A refresh button re-scans on demand. - "Import .cube to library" still loads a local file immediately and now also uploads it into the library folder so it persists and reappears in the list next time. - Selecting a LUT re-enables the LUT group (clears any eye bypass); the hint line reports how many LUTs are available. Falls back gracefully to local import when running outside the ArozOS desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add scroll-zoom and right-drag pan; remove unused UI - Scroll wheel now zooms the photo, centred on the cursor, and the current zoom level is shown in the status bar. Fit / 100% buttons reset the view. - Right-mouse (or middle) button drag pans the image; the browser context menu is suppressed over the canvas. The view re-fits on window resize. The canvas is now transform-based (translate + scale) instead of the old fit / 1:1 CSS toggle. - Removed the Profile dropdown (no camera profiles in this pipeline) and the decorative right-edge tool strip, so the panel only shows working controls. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Pan with left mouse button and fix LUT dropdown overflow - Change canvas panning from right-drag to left-mouse (and middle) drag, with a grab / grabbing cursor over the image. The context menu is no longer suppressed. - Fix the LUT Library dropdown (and any select) overflowing the panel when an option label is long: give .mini-select min-width:0 so it can shrink inside its flex row instead of stretching to the widest option. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Load EXIF from JPEG APP1 so shooting info shows reliably Some RAW files (and any plain JPEG) did not populate the ISO / focal / aperture / shutter readout under the histogram. The cause: when the RAW's outer TIFF structure fails to parse, the image still loads via the brute-force embedded-JPEG scan, but the metadata comes back empty. Add a JPEG APP1 EXIF reader (the APP1 payload is itself a TIFF block, so it reuses the existing TIFF parser) and use it to: - read EXIF for plain JPEG images, and - fill any missing EXIF fields from the embedded preview for RAW files, which rescues shooting info when the main TIFF could not be parsed. Also harden applyMeta so the EXIF line is written before the window-title call and a title error can no longer suppress it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Match Photoshop LUT rendering: tetrahedral interpolation + true sRGB The same .cube LUT looked cyan/teal-shifted compared to Photoshop. Two causes, both fixed: - Interpolation: the 3D LUT was sampled with GPU trilinear filtering, which introduces a cyan/green cast on film-style LUTs. Switch the LUT textures to NEAREST and do proper tetrahedral interpolation in the shader — the same method Photoshop's Color Lookup and Resolve use. - Transfer function: encode to display with the true sRGB OETF instead of a plain 2.2 gamma. This exactly inverts the sRGB decode applied to 8-bit sources, so the values fed into the LUT match what Photoshop feeds it (previously the mismatch shifted shadow tones the LUT is sensitive to). Also honour the LUT's DOMAIN_MIN / DOMAIN_MAX when sampling. Verified in-browser: an identity LUT now passes through unchanged (exact tetrahedral), a channel-swap LUT swaps correctly, and a constant LUT maps to the constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Harden RAW EXIF parsing for real camera files Improve the chance that ISO / focal / aperture / shutter show for real RAWs (e.g. Sony ARW), which kept the readout blank: - Scan every embedded JPEG for APP1 EXIF, not just the largest preview. Sony keeps EXIF in the small thumbnail while the full-size preview has none. - Stop recursing the MakerNote (0x927C) as if its bytes were IFD offsets — that could be pathologically slow / derail a clean parse on real files; EXIF is reached through the standard ExifIFD (0x8769) pointer. - Cap IFD entry counts (>4096) to bail out of parsing stray/garbage offsets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Fix RAW preview selection: never decode CFA raw as the preview image On real Sony ARW files the develop view hung and EXIF stayed blank. Root cause: the CFA raw plane is a lossless-JPEG-compressed stream that also starts with 0xFFD8, and the embedded-preview finder picked it as the "largest JPEG" (31 MB) and handed it to the browser to decode as an image. The browser cannot decode lossless JPEG, so decoding stalled and the pipeline never reached the metadata display. Fixes: - Ignore CFA / raw IFDs (Photometric 32803) when hunting for a preview JPEG. - Only accept a range that is a real JPEG (SOI at the start AND EOI at the end) via a looksLikeJpeg() check, so a truncated raw stream can't be chosen. - Cap the brute-force SOI/EOI scan span so raw bytes containing 0xFFD8 can't yield a multi-megabyte junk range. With this, ARW files pick the correct full-size preview, the image loads, and ISO / focal / aperture / shutter populate under the histogram. Verified against a real 25MP Sony ILCE-6700 ARW end-to-end in the browser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 --------- Co-authored-by: Claude <noreply@anthropic.com> * RAW Editor - LUT Preview update (#272) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Hand off developed image to Pixel Studio on Done Repurpose the Raw Editor's "Done" action into a hand-off: it now writes the current develop to a temporary JPEG (tmp:/RawEditor, auto-cleared by ArozOS) and launches Pixel Studio as a float window with that file as its input (matching Pixel Studio's ao_module_loadInputFiles hash format), then closes the Raw Editor window. Falls back to the normal Save dialog when running outside the ArozOS desktop. The bottom-bar button is relabelled "Open in Pixel Studio". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Redesign Raw Editor UI to match the newer Lightroom / Camera Raw layout Rework the develop panel into the 2024 Lightroom-style layout: - Thin centred title bar with open / save / reset / fit icons. - Borderless histogram with shadow/highlight clipping indicators and an EXIF readout (ISO, focal, aperture, shutter). - "Edit" header carrying Auto (auto-tone) and B&W (treatment) pills. - Profile selector row. - Collapsible Light / Color / Effects / LUT groups, each with a chevron to fold and an eye toggle that bypasses that group's adjustments. - Lightroom slider rows: label + right-aligned editable value on one line, thin track below, with coloured gradient tracks for Temperature (blue-> yellow), Tint (green->magenta) and Vibrance / Saturation. - White-balance eyedropper wired to auto white balance. - Bottom bar with a live filmstrip thumbnail, Fit / 100% zoom, an underlined dimension readout and Cancel / Open in Pixel Studio actions. - Decorative panel-selector strip on the right edge. Pipeline: add Texture (fine local contrast), Vignette (radial) and Grain (post noise) controls to the WebGL develop shader to complete the Effects group, plus per-group bypass handling in the parameter builder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add ArozOS-backed LUT library with a managed folder LUTs can now be managed through the user's ArozOS storage instead of only one-off browser uploads: - On first use the app creates a "user:/RawEditor/LUTs" folder (via the file_system newItem endpoint with a CSRF token). Users can drop .cube files into it with the Files app. - The LUT panel scans that folder (listDir) and lists every .cube in a "Library" dropdown; picking one reads it back through the media endpoint, parses it and applies it live. A refresh button re-scans on demand. - "Import .cube to library" still loads a local file immediately and now also uploads it into the library folder so it persists and reappears in the list next time. - Selecting a LUT re-enables the LUT group (clears any eye bypass); the hint line reports how many LUTs are available. Falls back gracefully to local import when running outside the ArozOS desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add scroll-zoom and right-drag pan; remove unused UI - Scroll wheel now zooms the photo, centred on the cursor, and the current zoom level is shown in the status bar. Fit / 100% buttons reset the view. - Right-mouse (or middle) button drag pans the image; the browser context menu is suppressed over the canvas. The view re-fits on window resize. The canvas is now transform-based (translate + scale) instead of the old fit / 1:1 CSS toggle. - Removed the Profile dropdown (no camera profiles in this pipeline) and the decorative right-edge tool strip, so the panel only shows working controls. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Pan with left mouse button and fix LUT dropdown overflow - Change canvas panning from right-drag to left-mouse (and middle) drag, with a grab / grabbing cursor over the image. The context menu is no longer suppressed. - Fix the LUT Library dropdown (and any select) overflowing the panel when an option label is long: give .mini-select min-width:0 so it can shrink inside its flex row instead of stretching to the widest option. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Load EXIF from JPEG APP1 so shooting info shows reliably Some RAW files (and any plain JPEG) did not populate the ISO / focal / aperture / shutter readout under the histogram. The cause: when the RAW's outer TIFF structure fails to parse, the image still loads via the brute-force embedded-JPEG scan, but the metadata comes back empty. Add a JPEG APP1 EXIF reader (the APP1 payload is itself a TIFF block, so it reuses the existing TIFF parser) and use it to: - read EXIF for plain JPEG images, and - fill any missing EXIF fields from the embedded preview for RAW files, which rescues shooting info when the main TIFF could not be parsed. Also harden applyMeta so the EXIF line is written before the window-title call and a title error can no longer suppress it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Match Photoshop LUT rendering: tetrahedral interpolation + true sRGB The same .cube LUT looked cyan/teal-shifted compared to Photoshop. Two causes, both fixed: - Interpolation: the 3D LUT was sampled with GPU trilinear filtering, which introduces a cyan/green cast on film-style LUTs. Switch the LUT textures to NEAREST and do proper tetrahedral interpolation in the shader — the same method Photoshop's Color Lookup and Resolve use. - Transfer function: encode to display with the true sRGB OETF instead of a plain 2.2 gamma. This exactly inverts the sRGB decode applied to 8-bit sources, so the values fed into the LUT match what Photoshop feeds it (previously the mismatch shifted shadow tones the LUT is sensitive to). Also honour the LUT's DOMAIN_MIN / DOMAIN_MAX when sampling. Verified in-browser: an identity LUT now passes through unchanged (exact tetrahedral), a channel-swap LUT swaps correctly, and a constant LUT maps to the constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Harden RAW EXIF parsing for real camera files Improve the chance that ISO / focal / aperture / shutter show for real RAWs (e.g. Sony ARW), which kept the readout blank: - Scan every embedded JPEG for APP1 EXIF, not just the largest preview. Sony keeps EXIF in the small thumbnail while the full-size preview has none. - Stop recursing the MakerNote (0x927C) as if its bytes were IFD offsets — that could be pathologically slow / derail a clean parse on real files; EXIF is reached through the standard ExifIFD (0x8769) pointer. - Cap IFD entry counts (>4096) to bail out of parsing stray/garbage offsets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Fix RAW preview selection: never decode CFA raw as the preview image On real Sony ARW files the develop view hung and EXIF stayed blank. Root cause: the CFA raw plane is a lossless-JPEG-compressed stream that also starts with 0xFFD8, and the embedded-preview finder picked it as the "largest JPEG" (31 MB) and handed it to the browser to decode as an image. The browser cannot decode lossless JPEG, so decoding stalled and the pipeline never reached the metadata display. Fixes: - Ignore CFA / raw IFDs (Photometric 32803) when hunting for a preview JPEG. - Only accept a range that is a real JPEG (SOI at the start AND EOI at the end) via a looksLikeJpeg() check, so a truncated raw stream can't be chosen. - Cap the brute-force SOI/EOI scan span so raw bytes containing 0xFFD8 can't yield a multi-megabyte junk range. With this, ARW files pick the correct full-size preview, the image loads, and ISO / focal / aperture / shutter populate under the histogram. Verified against a real 25MP Sony ILCE-6700 ARW end-to-end in the browser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add LUT "Log input" mode for log-to-display conversion LUTs Film-conversion LUTs (F-Log/S-Log/V-Log -> Rec.709, e.g. the Fujifilm FLog_to_ETERNA LUT) are authored for a flat log signal. Applied straight to a normal photo they over-contrast and over-saturate, which is why the result looked much punchier than the same LUT in Photoshop. Add a "Log input" toggle in the LUT panel: before the 3D lookup the image is flattened toward a log signal so the LUT reads it the way it was designed to, giving the intended muted film look instead of a punchy one. - A true camera-log encode can't work from a display-referred base (a JPEG spans ~2.5 stops, F-Log expects ~14 — it fogs shadows or greys highlights), so the flatten is a clean log2 curve that keeps blacks black and whites white while lifting mid-tones. No wash-out. - Auto-enables when the LUT name/title looks like a log conversion (f-log, s-log, v-log, log-c, ...); still user-toggleable, with an Amount slider for fine control. Verified end-to-end on the real Sony ARW + Fujifilm ETERNA LUT: colours stay natural and the grade is muted rather than over-saturated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 --------- Co-authored-by: Claude <noreply@anthropic.com> * Updated Musicify * Add iOS support for privacy mode * Add module icons and polish UI messaging Adds new desktop/module icon assets (including PSD sources) for Audio Studio, Productivity, and Reminders, and updates Cine Studio’s desktop icon. Also simplifies the PDF editor save toast message in Productivity and removes the fwdragger text-shadow override in ao.css for cleaner styling behavior. * Update Makefile * Add work in progress office suite * Add DOCX support and packed Office files Extend the Office stack end-to-end: add DOCX reader/writer support in mod/office with new tests, expose new AGI office APIs for DOCX and native container pack/unpack, and document the new functions in AGI and Terminal API docs. Native .doca/.xlsa/.ppta now use a zip container with embedded/deduplicated assets and workdir-based media extraction. Update Office web apps to use packed saves/loads and session snapshots, add Docs DOCX import/export plus multi-column/layout tooling and richer editing UX, add Sheets range-drag move with formula rewrite support, and expand Slides with grouping, animations, links, media objects, transitions, and presenter view. Also refresh Office module/file icons and extension mappings. * Office suite: charts, notes, review, pivot tables Backend: - Fix WriteStream to use O_TRUNC so overwriting a shorter file doesn't leave stale bytes (fixes zip-based formats like .pptx) - xlsx: native DrawingML chart round-trip (bar/line/pie) for Sheets - xlsx: cell note (comment) round-trip via xl/commentsN.xml + VML Frontend (shared): - OfficeHotkeys (hotkeys.js): centralized keyboard registry with Ctrl+/ help dialog; all three apps migrated - OfficeColorPicker (colorpicker.js): Google-Docs-style palette + HSV picker + eyedropper replaces <input type="color"> - OfficeTextEditBar: two-row layout, highlight color button, OfficeColorPicker integration Docs: - Review comments: anchor <span class="doc-cmt">, side panel, Ctrl+Alt+M - Track changes / suggest-edits mode: ins.doc-ins / del.doc-del; accept/reject per-suggestion or all - Foreign exports (docx/html/md/txt) use resolvedHtml() with suggestions accepted Sheets: - Cell notes (N field): corner indicator, Shift+F2 / context menu - Formula bar range picking: click/drag on grid inserts cell reference while editing - Chart clipboard: objects round-trip via system clipboard as marker JSON - Pivot table dialog (Data menu) with range picker; refresh on demand Slides: - Fully migrated to OfficeHotkeys; Ctrl+C/X write objects to system clipboard synchronously - Ctrl+Click opens links in text boxes; plain click shows hint - Slide background color uses OfficeColorPicker.swatchInput * V3.0.1 -> V3.0.2 (#278) * Video conferencing tool (#275) * Add MeetRoom video conferencing system New Zoom-style video conferencing for ArozOS, joinable by 9-digit meeting ID with optional password: - mod/meetroom: room manager with password-protected rooms (salted SHA-256, constant-time compare), participant registry for the signaling relay, temp-dir attachment storage addressed by random IDs, idle-room sweeping, and table-driven tests. - src/meetroom.go: prouter-gated endpoints under /system/meetroom/ (create, join, info, end, upload, download, iceservers) plus the WebSocket signaling relay for SDP/ICE, chat, file announcements and mute/camera/screen state. Reuses Arozcast's STUN/TURN ICE config so the built-in relay also carries MeetRoom calls across NAT. - web/MeetRoom: WebApp with lobby (new meeting / join by ID+password) and meeting UI: WebRTC mesh video+audio, screen sharing via replaceTrack (no renegotiation), meeting chat with unread badge, and file attachment sharing with download links. Media is always peer-to-peer; the server only relays signaling and stores files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WRXbPMLvRgPBZ2et8FJPaY * Add auto-reconnect and dead-connection timeouts to MeetRoom Client (web/MeetRoom/app.js): - App-level ping/pong heartbeat (15s cadence) detects half-dead sockets; 40s without a pong force-closes the connection. - When the signaling socket drops mid-meeting, the room UI and local media stay alive and the client reconnects with capped exponential backoff (1s..10s), showing a reconnect banner with the attempt count. Each attempt first probes /info (stop immediately if the meeting ended) and refreshes the short-lived TURN credentials. - Reconnecting rejoins as a fresh peer and rebuilds the WebRTC mesh from the new welcome frame; mute/camera choices are preserved. - Gives up after 60s and returns to the lobby with an explanation. Chat drafts are kept (not silently dropped) while reconnecting. Server (src/meetroom.go): - WebSocket keepalive: protocol ping every 20s, 60s read deadline refreshed by pongs and incoming frames, 10s write deadlines - a silently dead client is removed from the room (with peer-leave broadcast) instead of lingering as a ghost participant. - New "ping" signaling frame answered with {"type":"pong"} to back the client heartbeat. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WRXbPMLvRgPBZ2et8FJPaY --------- Co-authored-by: Claude <noreply@anthropic.com> * Add SharedSpace collaboration areas and MeetRoom integration (#276) * MeetRoom AGI integration: shared spaces, attendance, richer chat Expose MeetRoom room creation to AGI scripts and build the shared-area mechanism it rides on, plus a round of front-end upgrades: - New mod/sharedspace package: in-memory shared areas where multiple users share texts, images and files together (capability-style random IDs, disk-backed blobs, item listeners, owner/uploader permissions). - New AGI "sharedspace" library: create/list/delete spaces, addText, addFile (from user storage), listItems, getText, saveFileTo, removeItem. New AGI "meetroom" library (gated by MeetRoom module permission): createRoom, getRoomInfo, getRoomSpace, listMyRooms, endRoom, getAttendance. AgiVersion bumped to 3.3; README and Terminal api.json updated in sync. - MeetRoom rooms now bind a shared space at creation: chat and uploads mirror into it, and items posted by AGI scripts flow back into the live meeting as chat/file frames, so scripts can read and post into a running meeting. - Attendance log per room (join/leave times) with a new "attendance" WebSocket frame and a Participants side panel in the UI. - Chat upgrades: images render inline by default (inline=1 download disposition, raster whitelist keeps SVG as attachment-only), Ctrl+V pastes a copied image straight into the chat, and a clickable popup toast appears when a new message arrives while the chat is closed. - WebAudio join/leave chimes (no bundled audio assets). - Fix missing API.info entry that broke the reconnect probe in app.js. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: access control, persistence, realtime channels, documents Grow mod/sharedspace from an ephemeral item store into the collaboration backbone core: - access.go: access modes (open capability-ID, public self-join, private invite-only), member roles (owner/admin/member), space metadata with caps, public/member listings and disk usage accounting. - persistence.go: opt-in persistent spaces write through to the system database (spaces, items, documents) with blobs in a durable root; self-healing boot reload, cascading deletion and a stale-space sweeper for retention. - channel.go: per-space realtime hub (numbered subscribers, targeted send, broadcast-with-exclude, presence hooks, leaf-lock discipline) generalizing the MeetRoom relay pattern for WebSocket transports. - doc.go: revision-numbered collaborative documents with compare-and-swap updates, splice-patch diffs and doc events for Google-Docs-style co-editing without an OT/CRDT engine. - SpaceEvent stream (SubscribeEvents) alongside the existing item listeners so transports can fan out item/doc/member mutations live. Persistent chat rooms trim their oldest items at the cap; ephemeral spaces keep the existing fail-at-cap semantics, and every pre-existing API keeps its exact behaviour (all previous tests pass unmodified). Database-backed tests skip under -race: boltdb v1.3.1 trips checkptr. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * meetroom: run meeting signaling on the sharedspace channel layer Replace the room's private participant registry with the bound space's realtime channel, proving conferencing apps can be built directly on the sharedspace backbone: - Participant is now a thin wrapper around a sharedspace.Subscriber (PeerID and Send alias the subscriber's ID and buffer; close-once lives in the subscriber). - Room.Broadcast / Room.SendTo delegate to the channel, so meeting frames also reach generic space subscribers connected through the sharedspace WebSocket - and the attendance roster stays meeting-only. - Rooms without a bound space manager get a standalone channel with identical semantics; CloseRoom tears the hub down for everyone. The whole pre-migration test suite passes unmodified; new tests pin the roster/channel relationship and the cross-subscriber broadcast path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: HTTP/WS endpoint surface and administrator control Expose the collaboration backbone to web clients and administrators: - /system/sharedspace/* user endpoints (login-gated; the space ACL is the authorization layer): space CRUD, public directory, join/leave, member and role management, metadata, items, upload/download with inline raster-image support, and compare-and-swap document endpoints with structured conflict replies. - /system/sharedspace/ws realtime channel: welcome/presence frames, ephemeral signal relay (WebRTC-ready) and broadcast frames, persisted chat via item-added fan-out, live document patches with sender-only conflict frames, meetroom-style liveness (server pings + read deadlines). - Admin surface under System Settings > Shared Spaces (Advance group): enumerate every space with usage figures, delete with system authority, and persist limits (max upload, items per space, persistence toggle, retention days) applied live; hourly retention sweep for idle persistent spaces. - The manager now boots persistence-enabled over the system database with durable blobs under system/sharedspace. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * agi: sharedspace access control, membership and document functions Extend the AGI sharedspace library to the full backbone feature set (all additive; the original ten functions keep their signatures): - createSpaceAdvanced(name, {access, persistent, metadata}), the public directory (listPublicSpaces), joined-space listing, joinSpace / leaveSpace, setAccess, setMeta / getMeta and addMember / removeMember / listMembers. - Collaborative documents: createDoc, listDocs, getDoc and compare-and-swap updateDoc returning {ok, revision} or a structured conflict object, plus deleteDoc. - Existing read paths now honour the space ACL (identical behaviour for all pre-existing open spaces; private spaces read as nonexistent to outsiders), item removal accepts space admins, and deleteSpace broadcasts the shutdown to live channel subscribers first. AgiVersion bumped to 3.4; mod/agi README, the Terminal in-app API reference and the CLAUDE.md library list updated in sync. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj --------- Co-authored-by: Claude <noreply@anthropic.com> * MeetRoom AGI integration: shared spaces, attendance, richer chat * MeetRoom AGI integration: shared spaces, attendance, richer chat Expose MeetRoom room creation to AGI scripts and build the shared-area mechanism it rides on, plus a round of front-end upgrades: - New mod/sharedspace package: in-memory shared areas where multiple users share texts, images and files together (capability-style random IDs, disk-backed blobs, item listeners, owner/uploader permissions). - New AGI "sharedspace" library: create/list/delete spaces, addText, addFile (from user storage), listItems, getText, saveFileTo, removeItem. New AGI "meetroom" library (gated by MeetRoom module permission): createRoom, getRoomInfo, getRoomSpace, listMyRooms, endRoom, getAttendance. AgiVersion bumped to 3.3; README and Terminal api.json updated in sync. - MeetRoom rooms now bind a shared space at creation: chat and uploads mirror into it, and items posted by AGI scripts flow back into the live meeting as chat/file frames, so scripts can read and post into a running meeting. - Attendance log per room (join/leave times) with a new "attendance" WebSocket frame and a Participants side panel in the UI. - Chat upgrades: images render inline by default (inline=1 download disposition, raster whitelist keeps SVG as attachment-only), Ctrl+V pastes a copied image straight into the chat, and a clickable popup toast appears when a new message arrives while the chat is closed. - WebAudio join/leave chimes (no bundled audio assets). - Fix missing API.info entry that broke the reconnect probe in app.js. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: access control, persistence, realtime channels, documents Grow mod/sharedspace from an ephemeral item store into the collaboration backbone core: - access.go: access modes (open capability-ID, public self-join, private invite-only), member roles (owner/admin/member), space metadata with caps, public/member listings and disk usage accounting. - persistence.go: opt-in persistent spaces write through to the system database (spaces, items, documents) with blobs in a durable root; self-healing boot reload, cascading deletion and a stale-space sweeper for retention. - channel.go: per-space realtime hub (numbered subscribers, targeted send, broadcast-with-exclude, presence hooks, leaf-lock discipline) generalizing the MeetRoom relay pattern for WebSocket transports. - doc.go: revision-numbered collaborative documents with compare-and-swap updates, splice-patch diffs and doc events for Google-Docs-style co-editing without an OT/CRDT engine. - SpaceEvent stream (SubscribeEvents) alongside the existing item listeners so transports can fan out item/doc/member mutations live. Persistent chat rooms trim their oldest items at the cap; ephemeral spaces keep the existing fail-at-cap semantics, and every pre-existing API keeps its exact behaviour (all previous tests pass unmodified). Database-backed tests skip under -race: boltdb v1.3.1 trips checkptr. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * meetroom: run meeting signaling on the sharedspace channel layer Replace the room's private participant registry with the bound space's realtime channel, proving conferencing apps can be built directly on the sharedspace backbone: - Participant is now a thin wrapper around a sharedspace.Subscriber (PeerID and Send alias the subscriber's ID and buffer; close-once lives in the subscriber). - Room.Broadcast / Room.SendTo delegate to the channel, so meeting frames also reach generic space subscribers connected through the sharedspace WebSocket - and the attendance roster stays meeting-only. - Rooms without a bound space manager get a standalone channel with identical semantics; CloseRoom tears the hub down for everyone. The whole pre-migration test suite passes unmodified; new tests pin the roster/channel relationship and the cross-subscriber broadcast path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: HTTP/WS endpoint surface and administrator control Expose the collaboration backbone to web clients and administrators: - /system/sharedspace/* user endpoints (login-gated; the space ACL is the authorization layer): space CRUD, public directory, join/leave, member and role management, metadata, items, upload/download with inline raster-image support, and compare-and-swap document endpoints with structured conflict replies. - /system/sharedspace/ws realtime channel: welcome/presence frames, ephemeral signal relay (WebRTC-ready) and broadcast frames, persisted chat via item-added fan-out, live document patches with sender-only conflict frames, meetroom-style liveness (server pings + read deadlines). - Admin surface under System Settings > Shared Spaces (Advance group): enumerate every space with usage figures, delete with system authority, and persist limits (max upload, items per space, persistence toggle, retention days) applied live; hourly retention sweep for idle persistent spaces. - The manager now boots persistence-enabled over the system database with durable blobs under system/sharedspace. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * agi: sharedspace access control, membership and document functions Extend the AGI sharedspace library to the full backbone feature set (all additive; the original ten functions keep their signatures): - createSpaceAdvanced(name, {access, persistent, metadata}), the public directory (listPublicSpaces), joined-space listing, joinSpace / leaveSpace, setAccess, setMeta / getMeta and addMember / removeMember / listMembers. - Collaborative documents: createDoc, listDocs, getDoc and compare-and-swap updateDoc returning {ok, revision} or a structured conflict object, plus deleteDoc. - Existing read paths now honour the space ACL (identical behaviour for all pre-existing open spaces; private spaces read as nonexistent to outsiders), item removal accepts space admins, and deleteSpace broadcasts the shutdown to live channel subscribers first. AgiVersion bumped to 3.4; mod/agi README, the Terminal in-app API reference and the CLAUDE.md library list updated in sync. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * Chatspace: Slack-style team chat WebApp on the sharedspace backbone A new webapp (src/web/Chatspace) that replicates the Slack desktop client on top of the shared space collaboration layer, with no core (Go) changes: - Channels and DMs are shared spaces: channels are public (browsable, self-join) or private (invite-only) spaces; DMs are private spaces keyed by their sorted participant list so both sides converge on the same conversation. - Messages are space text items carrying a JSON envelope; reactions, edits, pins and threads are envelope items referencing the target item id, reduced client-side from the item stream. Plain text items from other sharedspace clients render as normal messages. - Realtime delivery, presence and typing ride the per-space WebSocket channel (item events, peer-join/leave, ephemeral broadcasts) with per-socket heartbeat and capped-backoff reconnect. - Workspace bootstrap (auto-provisioned #general), channel creation and DM find-or-create run as AGI backend scripts using requirelib("sharedspace"). - Slack features: aubergine rail + sidebar with unread/mention badges, threads panel, reactions, message editing/deleting, pinned messages, saved-for-later, drafts, activity feed (mentions/replies/reactions), channel browser/creator, invites, member management, topic/rename, quick switcher (Ctrl+K), search, file/image uploads with drag-drop and paste, presence dots, typing indicators, day dividers, message grouping and Slack-style markup (*bold*, _italic_, ~strike~, code, quotes, @mentions, :shortcode: icons rendered as Semantic UI glyphs instead of emoji, per repo convention). Verified end-to-end against a live build with two users via headless Chromium: bootstrap, WS chat, reactions, threads, channel creation, DM open, cross-user realtime delivery, quick switcher and search. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: AI assistant, Slack-style Activity pane, @everyone, motion polish Round-2 improvements to the Chatspace WebApp, plus one storage change: - AI assistant (@ai): a new AGI backend script (backend/aibot.js) built on requirelib("llm") - the built-in AGI AI integration - answers when a member mentions @ai in any channel, thread or DM. It feeds the recent conversation (thread-scoped when asked inside a thread) to the configured model and posts the reply back into the shared space as a bot-flagged envelope, so everyone sees it in realtime. The client shows a "Chatspace AI is typing" indicator while the model thinks and renders bot replies with an assistant avatar and APP badge. When no AI endpoint is configured the bot answers with a pointer to System Settings instead of failing silently. - Activity is now a full main-pane view (like the Slack client), with All / Mentions / Threads / Reactions tabs, actor avatars and click-to-jump rows, opened from the rail or the sidebar; the old sidebar list remains for the other rail views. - @everyone / @channel broadcast mentions: offered by the mention autocomplete, rendered as highlight pills, and counted as a mention for every member (badges, notification sound, activity feed). - Huddle button now opens MeetRoom in an ArozOS floatWindow via ao_module_newfw (which itself falls back to window.open outside the desktop). - Motion polish: entry animations for modals, popovers, panels, toasts, new messages and view switches, plus hover/press transitions, respecting prefers-reduced-motion. - Assistant replies posted in the same second as their trigger now sort after it (bot-rank tiebreak in the item reducer). - Shared space storage now lives with the user data under the -root directory (default ./files/sharedspace) instead of system/; an existing system/sharedspace tree is migrated once at startup, keeping the legacy location if the move fails (e.g. across mounts). Blob disk paths are recomputed from the root at load time, so relocation is safe. Verified against a live build with a stub OpenAI-compatible endpoint: mention picker -> thinking indicator -> bot reply, @everyone pill + cross-user activity row, activity tabs and jump, huddle fallback, and the system->files storage migration. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: PWA support, Slack-style attachments, details modal, date jump - PWA: manifest.json (standalone display, SVG + generated 192/512 PNG icons, credentialed fetch like the other webapps) plus a service worker that keeps the static app shell available network-first with a cached fallback; the /system/ API surface, uploads and WebSockets are never intercepted so chat data cannot go stale. Apple/mobile web app meta tags added to the shell. - Attachments now follow the Slack presentation: a muted filename bar with a collapse chevron above the preview (toggling folds the preview away per item), rounded inline image previews with hover overlay actions (download, open in new tab), and non-image files keep a compact card with a hover download hint - the redundant download card under images is gone. - Channel details moved from the right panel into a Slack-style centered modal: header with the channel name, Star and Huddle pill buttons, and About / Members / Settings tabs. Members has find-member filtering, an Add people row, presence dots and Channel Manager / Admin role tags with click-through to profiles; Settings gathers rename, public/private visibility switch (new), leave and delete. About gains an editable description alongside the topic. - Day dividers are now clickable "Jump to..." menus (Today, Last week, Last month, or a specific date) that scroll to and highlight the first message from the chosen time. Verified in-browser: manifest 200 + active service worker, hover actions and collapse toggle, tabbed modal with member filter and role tag, and date jumps landing on highlighted messages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: in-app image lightbox instead of opening a new tab Clicking an inline image preview now opens a Slack-style lightbox over the app: dark backdrop, top bar with the uploader's avatar, filename and size, and download / open-in-new-tab / close actions. Arrow keys or on-screen chevrons move through every image in the conversation in chronological order (with an "n of m" counter), clicking the image toggles full-size zoom, and Esc or a backdrop click closes it. The hover overlay on the inline preview keeps explicit download and open-in-tab links for when a tab is actually wanted. Verified in-browser: no popup on click, working file label and counter, arrow navigation, zoom toggle and Esc close. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: responsive mobile / installable-PWA layout On phone-width screens (<=768px) the desktop three-pane layout collapses into the Slack mobile pattern so the installed PWA feels native: - The icon rail becomes a bottom tab bar (Home / DMs / Activity / More / Search) with labels and a red activity dot; the compose button becomes a floating action button that hides while a conversation is open. - The purple sidebar is the "list" screen and the white content card is the conversation / activity screen, which slides over the list; a back chevron in the channel/activity header returns to the list. On launch the app lands on the Home list (the last conversation is preloaded behind it for an instant open) instead of opening a conversation. - The workspace avatar moves into the sidebar header (opens the profile); a Search tab opens the quick switcher since the desktop search bar is hidden. - Thread / details / profile panels and all modals (details, browse, new message, invite, quick switcher) become full-screen sheets; toasts sit above the tab bar; the lightbox clears the notch. - Safe-area insets (viewport-fit=cover + env(safe-area-inset-*)) and 100dvh sizing keep content clear of the status bar, home indicator and dynamic browser chrome. The composer formatting toolbar collapses behind the Aa button on mobile; the Aa toggle now reads the computed state so it works on both layouts. Desktop layout is unchanged (mobile affordances are hidden >768px, and the old 900px squeeze became a gentler 769-1040px tightening). Verified with a 390x844 touch viewport: bottom bar, list<->conversation slide + back, send, DMs/Activity tabs, full-screen profile and quick switcher; plus a desktop regression pass (topbar, toolbar, rail avatar intact, no console errors). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace sidebar redesign + Shared Spaces admin dark mode Sidebar (left channel list): - The active conversation now uses a purple pill highlight (matching the Slack aubergine sidebar) instead of a flat dark overlay; hover is a lighter, subtler tint. - Unread conversations stay bold white; the pink count badge appears only when it is actionable - a channel where I'm @mentioned (mention count, including @everyone / @channel and mentions inside thread replies) or a direct message (unread message count). Unread-but-not- mentioned channels are just bold, no badge, like Slack. - recountUnread now scans every message (not just roots) so thread-reply mentions and messages count toward the badge. Shared Spaces admin page (SystemAO/sharedspace/spaces.html): - Added dark-mode support following the System Settings convention: the page toggles a scoped `.dark` class on #ss-root from the host's `preferredTheme` and the live `detailPageThemeCallback`, with a prefers-color-scheme fallback when opened standalone. Dark overrides cover the cards, text, number inputs, table hover and the access / storage pills, fixing the washed-out low-contrast rendering when the desktop is in dark mode. Verified in-browser: active purple pill (rgb 91,46,92), #general mention badge "1" + bold, bob DM badge "1"; spaces.html dark (bg #1c1c1e, text #ececec) with light mode still unaffected. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: video/audio/text previews, download-or-save chooser, avatar fix Attachment previews now cover more than images: - Video files (mp4, webm, mov, m4v, mkv, ogv) render an inline <video> player; audio files (mp3, wav, ogg, m4a, flac, aac) an <audio> player. - Text / code files (txt, md, json, csv, logs, source, ...) up to 256KB show an inline, scrollable source preview, fetched and inserted with textContent so the file body is never interpreted as HTML; larger files show a truncation note. Media plays and text loads straight from the existing download endpoint - Content-Disposition is ignored for media elements and fetch, so no server change was needed. Download control: - The download button on every attachment now opens a chooser: "Download to this device" (a normal browser download) or "Save to ArozOS files" (copy into the user's own ArozOS storage). The latter uses the desktop folder picker when available, else defaults to user:/Desktop, via a new AGI backend script (backend/saveToArozOS.js) that calls sharedspace.saveFileTo; it creates the destination folder if missing and falls back to the user root. Avatar fix: - Profile-picture images are now constrained to their container (.cs-avatar-img: width/height 100%, object-fit cover) so a large source image (e.g. 280x280) no longer overflows the rail / message / header avatars. Verified in-browser: text preview populated, audio metadata/duration loads (proving inline playback under attachment disposition), video element present, the two-option download menu, save-to-ArozOS writing the file to the user's Desktop, and a 280x280 avatar rendering at its 36px container size. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 --------- Co-authored-by: Claude <noreply@anthropic.com> * Chat app icon alignment centering (#279) * Fix Chatspace sidebar icon alignment and center plus glyph The Semantic UI icon-font glyphs render high inside their em-box, so the sidebar nav icons (Threads, Drafts, Activity, Later, channels) sat above the vertical center of their labels. Nudge .sb-item icons down 1px so the glyph ink lines up with the text. The add/new-message plus box used width:auto, which shrank the icon to the glyph advance width and exposed the plus glyph's asymmetric side bearings, leaving the + low and left of center. Give the icon the full box with line-height and text-align centering so the + sits in the middle. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrRRTcYfs6H4ej14kvn9rh * Nudge Chatspace reaction-pill icons up to align with the count The check/heart/thumbs glyphs sat optically low next to the reaction count digit because the icon box centers on the pill while the digit ink rides high in its line box. Shift the pill icon up 1px so it lines up with the number. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrRRTcYfs6H4ej14kvn9rh * Increase Chatspace reaction-pill icon nudge for bottom-heavy glyphs A 1px lift wasn't enough for the thumbs up/down, rocket and trophy glyphs: they carry their visual mass low, so they still hung below the count digit even though their em-box was centered. Bump the lift to 2px, which balances those glyphs with the number while keeping the symmetric ones (check, heart, star) from riding high. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrRRTcYfs6H4ej14kvn9rh * Correct Chatspace sidebar icon nudge direction The earlier nudge pushed .sb-item icons down 1px, which was the wrong direction: with a red center-line overlay the hashtag, lock and channel glyphs all hung below their label text. The pixel scan confirms every icon shares the same ink center that sits slightly low, so shift them up 1px instead. Now the channel/DM icons line up with their names. * Adjust Chatspace sidebar icon nudge to -3px Per request, shift .sb-item icons up 3px. --------- Co-authored-by: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> * Add curl-like http.request() with full control over method, headers, and body (#280) * AGI: curl-like http.request + 60min LLM timeout http library: - Add http.request(options) supporting method selection, custom headers, raw/JSON/form/binary(base64) request bodies, HTTP basic auth, per-request timeout, redirect-follow control and text/base64 response bodies. Returns a {ok, status, statusText, headers, body, error} response object. - Add http.put/patch/delete/postForm/postJSON helpers built on http.request. - http.get and http.post now accept optional headers (backward compatible: the classic no-header signatures behave exactly as before). - Add agi.http_test.go covering the body builder, request execution (methods, headers, form/binary bodies, basic auth, redirect handling) and the JS bindings. llm library: - Raise the AI completion request timeout from 120s to 60 minutes so long reasoning/agentic replies are not cut short. Docs: update mod/agi/README.md and Terminal api.json; bump AgiVersion to 3.5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * UnitTest: add http.request example backend script Add src/web/UnitTest/backend/http.request.js demonstrating the new curl-like http.request(options) call (method, custom headers, JSON body, timeout, response object) plus the http.postForm helper, matching the existing http.get/post/head/download unit-test examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN --------- Co-authored-by: Claude <noreply@anthropic.com> * Add cross app copy * Fix repeat-one navigation in Musicify Update track navigation logic so `repeat: 'one'` behaves like looped playback at queue boundaries. `nextTrack()` now wraps to the first item when reaching the end under repeat-one, and `prevTrack()` wraps to the last item (and stops playback when repeat is off at the start). This also removes the previous "restart track if >3s" behavior so previous-track consistently follows queue navigation rules. * Add message context menu, thread editing, and keyboard navigation (#281) * AGI: curl-like http.request + 60min LLM timeout http library: - Add http.request(options) supporting method selection, custom headers, raw/JSON/form/binary(base64) request bodies, HTTP basic auth, per-request timeout, redirect-follow control and text/base64 response bodies. Returns a {ok, status, statusText, headers, body, error} response object. - Add http.put/patch/delete/postForm/postJSON helpers built on http.request. - http.get and http.post now accept optional headers (backward compatible: the classic no-header signatures behave exactly as before). - Add agi.http_test.go covering the body builder, request execution (methods, headers, form/binary bodies, basic auth, redirect handling) and the JS bindings. llm library: - Raise the AI completion request timeout from 120s to 60 minutes so long reasoning/agentic replies are not cut short. Docs: update mod/agi/README.md and Terminal api.json; bump AgiVersion to 3.5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * UnitTest: add http.request example backend script Add src/web/UnitTest/backend/http.request.js demonstrating the new curl-like http.request(options) call (method, custom headers, JSON body, timeout, response object) plus the http.postForm helper, matching the existing http.get/post/head/download unit-test examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * Chatspace: keyboard-driven composers + PWA Back for threads Full keyboard control across the app: - @mention picker is now arrow-navigable: Up/Down move the highlight (wrapping), Enter/Tab insert, Esc dismisses. Rows confirm on mousedown so the composer keeps focus/selection. - Mentions and the same key affordances now work in the thread composer too, not just the main composer (shared composerKeydown handler). - Up-arrow-to-edit works inside threads (edits your last reply); Esc cancels an in-progress inline edit without closing the panel. - Layered Esc: closes the top-most popover, then an open modal, then the thread/profile panel. PWA: opening a thread/profile panel pushes a history entry so the device or browser Back button closes the panel instead of leaving the installed app. A single sentinel is reused across convo switches to avoid an async popstate race; UI dismissals consume it via history.back(). Bumped the service-worker shell cache to v2 and refreshed the in-app shortcut help. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: stop thread panel overflowing off-screen when narrow The desktop layout grid used `68px 1fr` for the rail/body columns. A bare `1fr` track is floored at its min-content, so once the thread (right) panel is open the sidebar + content + panel minimum widths force the body track wider than the viewport. The body then overflows to the right and the thread panel - along with its close button - is pushed off-screen and unreachable at narrow desktop / resized floatWindow widths (roughly 769-1040px), where the mobile full-screen breakpoint has not yet kicked in. Floor the body track with `minmax(0, 1fr)` and let `#body` shrink (`min-width: 0`) so the flex row collapses to the available width instead of overflowing; `overflow: hidden` on `#app` is a belt-and-suspenders guard (in-app popovers and modals live outside `#app`, so they are not clipped). Verified in Chromium from 760px through 1280px: zero body / document overflow and the panel close button stays on-screen at every width. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix channel-header overlap and email-username mentions Two narrow-width / naming bugs in the channel view: 1. Channel header overlap. When the content pane is squeezed (e.g. a thread panel open on a mid-size window), the channel name spilled out of `.ch-left` and rendered on top of the star / members / call buttons, producing the mangled "name + overlapping box + star" seen in the header. `.ch-left` now clips its overflow, the channel name truncates with an ellipsis instead of pushing its siblings out (`#chNameBtn` is a flex row with `min-width:0`, `#chName` ellipsizes), the star keeps its size (`flex-shrink:0`), and the secondary topic yields space first (`flex-shrink:100`). Verified: no element overlaps from 230px through full width, and the name shows in full once there is room. 2. Email-style @mentions. The mention token stopped at an embedded "@", so mentioning a user named "admin@example.com" only highlighted "admin". The mention render + typing-detection character classes now include "@", so the whole "admin@example.com" is captured and matched. Exact-username lookup is unchanged, so plain names, dotted names and @everyone/@ai still resolve and bare emails in prose (bob@example.com, no leading @) are still not treated as mentions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: sidebar, search empty-state, mention + details fixes - Sidebar: starred channels / DMs stay listed under their own Channels / Direct messages section instead of being removed once starred, and the collapse caret on each section title is aligned to the same column as the row icons (# / lock / +) for a clean left rail. - Search: focusing the (blank) search box now opens a Slack-style empty state - a "Search messages, files and more" hint plus recent conversations as quick jumps - instead of showing nothing. - Mentions: only real-user mentions (which carry data-user) open a profile on click; @everyone / @channel / @ai are not people and no longer pop a blank profile panel. - Details modal: the topic "Edit" link is no longer glued to the value ("Add a topicEdit") - .rp-editlink is now a global class so its left margin applies outside .rp-section too. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: keyboard nav for search + pickers, tidy presence dot Audit pass 1 (search / people pickers): - Search dropdown is now keyboard driven: Down/Up move the highlight (wrapping), Enter opens the highlighted result, Esc closes the panel; hovering syncs the cursor. Previously it was mouse-only. - The New message / Add people pickers gain the same arrow + Enter navigation, with a visible keyboard-cursor highlight (.kbfocus). - Presence dot in picker rows now overlays the avatar's corner (like the sidebar) instead of floating as a separate column between the avatar and the name, which left an empty gap for offline users. Verified in Chromium: search arrow nav cycles 1->2->1->0, Esc hides the dropdown, no page errors. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: browse-modal keyboard nav + document list shortcuts Audit pass 2 (browse + docs): - Browse channels list is now keyboard navigable: Up/Down move a visible cursor (.kbfocus) and Enter triggers the highlighted row's Open / View button; hovering syncs the cursor. This completes arrow-key control across every list surface (search, quick switcher, @mention picker, people pickers, browse). - Documented the search / picker navigation in the About > Shortcuts help. Swept the remaining views (help, details Settings, profile panel, thread panel, Threads/Drafts/Later lists) - all icons and spacing check out, no further misalignments found. Verified browse nav in Chromium: arrows move the cursor and Enter activates the row's button. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix thread image overflow + add right-click context menu - Thread panel image overflow: .msg-img was capped at a fixed 360px, wider than the ~330px thread panel, forcing a horizontal scrollbar. Cap with min(360px, 100%) so it keeps the 360px limit in the wide pane but never exceeds a narrow container; same fix for the text-file preview (520px). - Right-click context menu for messages (Slack style): Add reaction, Reply in thread, Copy text, Save for later, Pin/Unpin, Edit (own text), Delete (own or manager), with a separator layout and danger styling. The single-key hints shown on the right (R/T/C/A/P/E, Del) are live while the menu is open; Ctrl/Cmd combos are left to the browser, and a native menu still appears when text is selected inside the message. Edit routes to the thread composer when the message is in the thread panel. Verified in Chromium end to end: a real message right-clicks open the menu with the expected items, the A shortcut runs its action and closes the menu, and the thread-panel image no longer overflows (360px cap preserved in the main pane). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: put the thread-reply bar below an image, not beside it The thread summary bar was display:inline-flex, so after an image (whose .file-preview is display:inline-block) the two shared a line and the "N replies / Last reply ..." pill floated to the right of the image. Make the bar block-level (display:flex) with width:fit-content so it drops onto its own line under the image while keeping its compact pill shape. Verified in Chromium: the bar's top is below the image's bottom and its width stays content-sized (~194px, not full width). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 --------- Co-authored-by: Claude <noreply@anthropic.com> * Add docs page breaks and table tools Teach Docs to preserve explicit page breaks in the editor and DOCX import/export, and align exported headers/footers with the editor's left-aligned layout. The editor UI also gains a Word-style table inserter, contextual table formatting menus, richer context/edit menu clipboard actions, and related pagination/menu contract updates. * Add message context menu, thread editing, and keyboard navigation (#282) * AGI: curl-like http.request + 60min LLM timeout http library: - Add http.request(options) supporting method selection, custom headers, raw/JSON/form/binary(base64) request bodies, HTTP basic auth, per-request timeout, redirect-follow control and text/base64 response bodies. Returns a {ok, status, statusText, headers, body, error} response object. - Add http.put/patch/delete/postForm/postJSON helpers built on http.request. - http.get and http.post now accept optional headers (backward compatible: the classic no-header signatures behave exactly as before). - Add agi.http_test.go covering the body builder, request execution (methods, headers, form/binary bodies, basic auth, redirect handling) and the JS bindings. llm library: - Raise the AI completion request timeout from 120s to 60 minutes so long reasoning/agentic replies are not cut short. Docs: update mod/agi/README.md and Terminal api.json; bump AgiVersion to 3.5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * UnitTest: add http.request example backend script Add src/web/UnitTest/backend/http.request.js demonstrating the new curl-like http.request(options) call (method, custom headers, JSON body, timeout, response object) plus the http.postForm helper, matching the existing http.get/post/head/download unit-test examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * Chatspace: keyboard-driven composers + PWA Back for threads Full keyboard control across the app: - @mention picker is now arrow-navigable: Up/Down move the highlight (wrapping), Enter/Tab insert, Esc dismisses. Rows confirm on mousedown so the composer keeps focus/selection. - Mentions and the same key affordances now work in the thread composer too, not just the main composer (shared composerKeydown handler). - Up-arrow-to-edit works inside threads (edits your last reply); Esc cancels an in-progress inline edit without closing the panel. - Layered Esc: closes the top-most popover, then an open modal, then the thread/profile panel. PWA: opening a thread/profile panel pushes a history entry so the device or browser Back button closes the panel instead of leaving the installed app. A single sentinel is reused across convo switches to avoid an async popstate race; UI dismissals consume it via history.back(). Bumped the service-worker shell cache to v2 and refreshed the in-app shortcut help. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: stop thread panel overflowing off-screen when narrow The desktop layout grid used `68px 1fr` for the rail/body columns. A bare `1fr` track is floored at its min-content, so once the thread (right) panel is open the sidebar + content + panel minimum widths force the body track wider than the viewport. The body then overflows to the right and the thread panel - along with its close button - is pushed off-screen and unreachable at narrow desktop / resized floatWindow widths (roughly 769-1040px), where the mobile full-screen breakpoint has not yet kicked in. Floor the body track with `minmax(0, 1fr)` and let `#body` shrink (`min-width: 0`) so the flex row collapses to the available width instead of overflowing; `overflow: hidden` on `#app` is a belt-and-suspenders guard (in-app popovers and modals live outside `#app`, so they are not clipped). Verified in Chromium from 760px through 1280px: zero body / document overflow and the panel close button stays on-screen at every width. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix channel-header overlap and email-username mentions Two narrow-width / naming bugs in the channel view: 1. Channel header overlap. When the content pane is squeezed (e.g. a thread panel open on a mid-size window), the channel name spilled out of `.ch-left` and rendered on top of the star / members / call buttons, producing the mangled "name + overlapping box + star" seen in the header. `.ch-left` now clips its overflow, the channel name truncates with an ellipsis instead of pushing its siblings out (`#chNameBtn` is a flex row with `min-width:0`, `#chName` ellipsizes), the star keeps its size (`flex-shrink:0`), and the secondary topic yields space first (`flex-shrink:100`). Verified: no element overlaps from 230px through full width, and the name shows in full once there is room. 2. Email-style @mentions. The mention token stopped at an embedded "@", so mentioning a user named "admin@example.com" only highlighted "admin". The mention render + typing-detection character classes now include "@", so the whole "admin@example.com" is captured and matched. Exact-username lookup is unchanged, so plain names, dotted names and @everyone/@ai still resolve and bare emails in prose (bob@example.com, no leading @) are still not treated as mentions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: sidebar, search empty-state, mention + details fixes - Sidebar: starred channels / DMs stay listed under their own Channels / Direct messages section instead of being removed once starred, and the collapse caret on each section title is aligned to the same column as the row icons (# / lock / +) for a clean left rail. - Search: focusing the (blank) search box now opens a Slack-style empty state - a "Search messages, files and more" hint plus recent conversations as quick jumps - instead of showing nothing. - Mentions: only real-user mentions (which carry data-user) open a profile on click; @everyone / @channel / @ai are not people and no longer pop a blank profile panel. - Details modal: the topic "Edit" link is no longer glued to the value ("Add a topicEdit") - .rp-editlink is now a global class so its left margin applies outside .rp-section too. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: keyboard nav for search + pickers, tidy presence dot Audit pass 1 (search / people pickers): - Search dropdown is now keyboard driven: Down/Up move the highlight (wrapping), Enter opens the highlighted result, Esc closes the panel; hovering syncs the cursor. Previously it was mouse-only. - The New message / Add people pickers gain the same arrow + Enter navigation, with a visible keyboard-cursor highlight (.kbfocus). - Presence dot in picker rows now overlays the avatar's corner (like the sidebar) instead of floating as a separate column between the avatar and the name, which left an empty gap for offline users. Verified in Chromium: search arrow nav cycles 1->2->1->0, Esc hides the dropdown, no page errors. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: browse-modal keyboard nav + document list shortcuts Audit pass 2 (browse + docs): - Browse channels list is now keyboard navigable: Up/Down move a visible cursor (.kbfocus) and Enter triggers the highlighted row's Open / View button; hovering syncs the cursor. This completes arrow-key control across every list surface (search, quick switcher, @mention picker, people pickers, browse). - Documented the search / picker navigation in the About > Shortcuts help. Swept the remaining views (help, details Settings, profile panel, thread panel, Threads/Drafts/Later lists) - all icons and spacing check out, no further misalignments found. Verified browse nav in Chromium: arrows move the cursor and Enter activates the row's button. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix thread image overflow + add right-click context menu - Thread panel image overflow: .msg-img was capped at a fixed 360px, wider than the ~330px thread panel, forcing a horizontal scrollbar. Cap with min(360px, 100%) so it keeps the 360px limit in the wide pane but never exceeds a narrow container; same fix for the text-file preview (520px). - Right-click context menu for messages (Slack style): Add reaction, Reply in thread, Copy text, Save for later, Pin/Unpin, Edit (own text), Delete (own or manager), with a separator layout and danger styling. The single-key hints shown on the right (R/T/C/A/P/E, Del) are live while the menu is open; Ctrl/Cmd combos are left to the browser, and a native menu still appears when text is selected inside the message. Edit routes to the thread composer when the message is in the thread panel. Verified in Chromium end to end: a real message right-clicks open the menu with the expected items, the A shortcut runs its action and closes the menu, and the thread-panel image no longer overflows (360px cap preserved in the main pane). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: put the thread-reply bar below an image, not beside it The thread summary bar was display:inline-flex, so after an image (whose .file-preview is display:inline-block) the two shared a line and the "N replies / Last reply ..." pill floated to the right of the image. Make the bar block-level (display:flex) with width:fit-content so it drops onto its own line under the image while keeping its compact pill shape. Verified in Chromium: the bar's top is below the image's bottom and its width stays content-sized (~194px, not full width). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 --------- Co-authored-by: Claude <noreply@anthropic.com> * Notification Agent implementation (#283) * Implement notification agent system with AGI, priority and config UI Adds a full multi-channel notification system so ArozOS and AGI scripts can reach users through their preferred channels at a chosen priority. Backend (mod/notification): - Extend NotificationPayload with Priority (low/medium/high), Timestamp and Payload, plus priority helpers and a Sender interface. - New delivery agents: telegram (bot + per-user chat id), desktopn (in-memory per-user buffer polled by the web desktop) and webhookn (custom HTML API to a per-user configurable endpoint/template). - New preference store (mod/notification/preference) persisting per-user enabled channels, minimum priority threshold, Telegram chat id and webhook target; resolves delivery agents by preference and priority. AGI: - New "notification" library (requirelib) with notification.send / sendToUser and PRIORITY_* constants; wired via AgiSysInfo.NotificationSender. - Bump AgiVersion, update api.json and mod/agi/README.md. Core wiring: - Rewrite src/notification.go to register all agents and route through a preference-aware sender; start notificationInit before AGIInit. - src/notification_settings.go: "Notifications" settings tab with user preference endpoints, desktop polling endpoint, test-send, and admin-only Telegram/SMTP config endpoints. Frontend: - SystemAO/notification config menu (channels, priority, Telegram, webhook, admin agent config) with shared notification.js helper logic. - desktop.html polls the desktop agent and renders into #notificationlist, shows the notification bar popup and raises browser (Chrome) push. Tests: - Go table-driven tests for every new package/agent and the preference store and AGI lib. - Webapp unit tests (notification.test.js + tests.html) for the shared frontend logic, runnable in-browser and under Node. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Add desktop notification toast and focus-aware browser push Replace the full-notification-bar popup with a transient toast shown in the bottom-right of the desktop when a new notification arrives while the page is focused. When the page is not focused (hidden tab or unfocused window), raise a browser (Chrome) push notification instead; clicking it focuses the tab. Toast content is set via textContent to avoid markup injection, is theme-aware, colour-coded by priority, auto-dismisses (longer for high priority) and opens the full notification list on click. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Unit-test toast/browser-push behaviour and share it with the desktop Factor the toast-vs-browser-push decision into the unit-tested notification.js helper: - deliveryChannelForFocus(isFocused): "toast" when focused, "push" when not - toastPriorityClass(priority): CSS modifier class per priority - toastDurationMs(priority): auto-dismiss duration (high priority lingers) desktop.html now loads notification.js and uses these helpers (with local fallbacks) so the runtime behaviour is the same logic the tests exercise. Add matching cases to notification.test.js / tests.html (43 tests total). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Add notification AGI library test to the UnitTest webapp Add backend/notification.test.js to the Unit Tester webapp so the notification AGI library (requirelib("notification")) is exercised end-to-end against a live server: object shape, PRIORITY_* constants, send() to the current user at each priority, empty-title rejection, and the admin-gated sendToUser() failing for a non-existent user. Follows the harness convention (thrown assertion -> HTTP 500 -> FAIL; sendResp summary -> HTTP 200 -> PASS) and is auto-listed by list.agi. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Remove SystemAO frontend notification unit tests Drop SystemAO/notification/notification.test.js and tests.html; the notification library is now covered by the AGI test in the UnitTest webapp (backend/notification.test.js). notification.js is retained as it is runtime helper logic used by the settings page and the desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification prefs: channel x priority matrix + browser permission button Replace the "enabled channels + single minimum priority" model with a per-user delivery matrix: each channel (desktop, email, Telegram, custom webhook) can be independently enabled for low / medium / high priority. For example, desktop for everything but email only for high priority. Backend (mod/notification/preference): - UserPreference.Channels is now agent -> priority label -> bool. - DefaultPreference enables desktop for every priority. - ResolveAgents consults the matrix for the notification's priority. - Get/Set normalise the matrix (drop invalid labels and empty rows). - Update preference tests for the matrix model. - /system/notification/preference POST now takes a "channels" JSON matrix. Frontend (SystemAO/notification): - Render the preferences as a checkbox matrix (channels x priorities) with friendly channel names. - Add a "Browser Notifications" card with an Enable button that requests Notification permission and shows the current granted/denied/default state. - notification.js gains normalizeMatrix + browserPermissionState and builds the channels payload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification settings: simplistic top bar + author credit card - Replace the large bell-icon header with a minimal top bar (title + subtitle over a thin divider). - Add an author/credit card at the bottom in the imuslab business-card style: the ArozOS mascot icon (img/system/favicon.png) on the left, a vertical divider, then author name, tagline, email/web links and a short brand note in a monospace face with highlighted brand words. Responsive (stacks on narrow widths). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Move the redesign into the notification email template The simplistic top bar + system-info card belong in the email that goes out, not the settings page. Revert the settings page footer/header change and restyle system/www/smtpn.html instead: - Simplistic header: "Notification from <host>" on a clean white bar (replaces the blue gradient banner). - Business-card footer with the ArozOS mascot icon (embedded as a base64 data URI so mail clients render it without a remote fetch), a divider, and system-related info: host name, host version and sent time. smtpn.go now injects {{logo}} (base64 brand icon) and {{version}} into the template; notification.go sets the agent's SystemVersion from the build. Adds tests for loadLogoDataURI. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Email: inline CID logo (Gmail-safe) + host-identifying footer Gmail blocks data: image URIs, so the embedded logo did not render. Switch the SMTP message to multipart/related with the ArozOS icon attached inline as a CID resource (cid:arozoslogo), which renders in Gmail and other clients without a remote fetch. Non-ASCII subjects are now RFC 2047 encoded. Replace the footer's version / product-name lines with information that identifies the host and message: host name, System UUID and Notification ID (plus sent time). The SMTP agent takes a SystemUUIDProvider (wired to the host System UUID) instead of a version string. Add tests for wrapBase64 and buildEmailMessage (with/without logo, unicode subject) and the raw logo loader. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Email: pad the timestamp and make the card full-width - Fix the sent-time format (3:04:05 gives a zero-padded 1:03:03 AM instead of the odd 1:3:3). - Let the email card span the full width of the client with minimal (8px) outer padding instead of a fixed 600px centred column. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Email: remove background tint + add priority to the subject - Drop the grey page/footer background colours so the email has no background tint (plain, borders provide the structure). - Prefix the email subject with the notification priority when set, e.g. "[High] Disk failing"; titles for priority-less payloads are unchanged. Adds a buildSubject test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification settings: separate test section, consistent control sizing, icon alignment - Move the "Send a test notification" controls out of the Save row into their own card with a short description. - Give buttons and the priority select a shared 36px height (flex-centred) so they line up instead of rendering at mismatched heights. - Reset the Semantic icon margin/baseline inside #ntf-root so icons in card titles, buttons and the permission pill are vertically centred. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification settings: align permission chip with button + tidy spacing - Give the browser-permission status chip the same 36px height as the button beside it (rounded chip) so they line up as a matched pair. - Drop the height override in the icon reset so Semantic icons keep their intrinsic box and centre cleanly. - Add breathing room around the standalone Save preferences row. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Desktop toast: remove the coloured priority left bar Drop the border-left accent (and its high/low colour variants) from the desktop notification toast for a cleaner, flat popup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt --------- Co-authored-by: Claude <noreply@anthropic.com> * Add notification system and sound preferences to Chatspace (#284) * Chatspace: native desktop notifications + new-message chime Surface incoming messages beyond the in-app toast that was only visible while looking at Chatspace: - Native notifications: DMs and @mentions now raise an OS-level browser Notification (the same mechanism the ArozOS desktop uses) when the Chatspace window is backgrounded, so users are alerted even when the app is behind another window. When Chatspace is embedded in the ArozOS virtual desktop, the alert is also mirrored into the desktop notification centre. Clicking a notification focuses the app and opens the conversation. Permission is requested lazily on the first user gesture. - New-message chime: while the app is open, every incoming message plays a short WebAudio chime - a prominent rising tone for DMs/@mentions and a soft single note for ordinary messages - so there is an audible cue for new activity. Chimes share a throttle so bursts do not machine-gun the speaker. - Preferences: per-user "Play a sound for new messages" and "Desktop notifications" toggles in the profile panel (localStorage-backed), plus a hint showing the browser permission state. Both default on. Everything degrades gracefully: no AudioContext / Notification support or a standalone PWA launch simply falls back to the in-app toast and title badge. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A8EPn9EbFjJkeTMnXfdWzo * Chatspace: route push notifications through the ArozOS notification agent Follow-up to the notification work: instead of raising a browser-only Notification from the recipient's client, Chatspace now routes DMs and @mentions through the ArozOS notification system so recipients are reached even when Chatspace is not open, via each user's own configured agents (desktop, Telegram, email, webhook). Server side (AGI sharedspace library): - Add sharedspace.notifyMembers(spaceid, title, message, [priority], [usernames]) - a membership-scoped capability that a regular user can call (unlike notification.sendToUser, which is admin only). Only a member may notify, only fellow members can be reached, and members currently connected to the space's realtime channel are skipped (they already get the live message), avoiding duplicate alerts. Delivery per recipient runs through the existing NotificationSender, honouring that user's notification preferences. Recipient resolution is factored into a pure, table-tested helper; an Otto-level integration test exercises the full path (membership check, presence skip, explicit target intersection). Chatspace: - New backend/notify.js raises the notification for a message's addressees. - The client calls it when sending a DM or a message that @mentions members (or @channel / @everyone), passing the resolved targets. - Drop the earlier direct browser-Notification path and its per-user "desktop notifications" toggle; delivery is now governed by the user's ArozOS notification settings. The new-message chime and its sound toggle are unchanged. Docs: document notifyMembers in mod/agi/README.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A8EPn9EbFjJkeTMnXfdWzo * Update .gitignore * desktop: always show the in-page notification toast, push only when unfocused Previously an incoming desktop notification was surfaced as *either* an in-page toast (when the desktop was focused) *or* a browser push (when it was not). While unfocused - including when focus was in a floatWindow app or another window - no toast appeared, so a notification would land on the persistent list (showing the red dot on the clock) with no visible toast, and the browser push often did nothing (permission not granted / http origin). Now the in-page toast is shown regardless of focus, so the notification is never silently swallowed, and the browser (OS) push is additionally raised only when the desktop is not focused, to reach the user when they are looking elsewhere. deliveryChannelForFocus (single channel) becomes deliveryChannelsForFocus, returning ["toast"] when focused and ["toast","push"] when not; desktop.html shows each listed channel independently. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A8EPn9EbFjJkeTMnXfdWzo --------- Co-authored-by: Claude <noreply@anthropic.com> * Add ODF/PDF support to Office suite Extend the office conversion library and AGI bindings to import/export ODT, ODS, and ODP files and to generate real-text PDF exports for Docs, Sheets, and Slides. This also improves DOCX/PPTX fidelity with better table/image handling, captures slide media as poster images plus a sidecar zip for PPTX exports, updates the Office webapps and API docs for the new flows, and adds broad converter regression tests. * Add GitApp and AGI git library Introduces full git support across ArozOS: a new `mod/git` manager (status/history/branching/staging/commit/diff/blob/transport), encrypted per-user credential storage, and extensive unit tests. Wires the manager into AGI (`AgiVersion` 3.7), registers a new `git` library, and documents the API in both AGI README and Terminal `api.json`. Adds a new GitApp web module with backend AGI endpoints and a desktop-style frontend for repository management, diffs, history, remotes, and credentials. Also adds `src/system/git/` to `.gitignore` for local key material, plus small UI fixes in Calendar (week-view scrollbar alignment) and Sheets (currency/percent format toggle state). * Add Movie settings tab and playback controls Adds a new Settings view in Movie with index management: auto-index toggle, index stats, manual rescan, and clear-index actions backed by new AGI scripts (`getIndexStats.js`, `clearIndex.js`) and common script constants. Upgrades player UX in both full and embedded views with a gear-based playback popup (repeat-one, speed, volume bar visibility), persisted preferences, center play/pause flash feedback, improved repeat handling for transcoded streams, and keyboard shortcuts (`S`, `R`, refined `Esc`). Also replaces emoji/text glyphs with SVG icons and improves long-title/season tab overflow handling. * Add Git branch/history actions to GitApp Introduces new git manager capabilities for local/remote branch delete/rename and commit-level history actions (checkout, reset, branch/tag creation, revert, cherry-pick, amend), then wires them through AGI bindings and new GitApp backend endpoints. Updates the GitApp UI with branch and commit context menus, tag labels in history, and credential-aware remote branch operations. Also extends git log/branch metadata (commit tags, remote/short branch fields), adds unmerged-branch signaling, refreshes API docs, and adds comprehensive tests plus a .gitignore append regression fix. * Generate desktop icons for web modules Add desktop icon generation for module shortcuts when a web app does not provide its own desktop_icon.png. The new pipeline resolves/sanitizes asset paths, loads raster or SVG icons, rasterizes SVGs with stroke-width scaling fixes, and renders a padded squircle backplate with adaptive black/white contrast before saving the generated icon into the app folder. Also adds comprehensive unit tests for path resolution, squircle math/coverage, backplate color selection, icon scaling/rendering, SVG stroke scaling, and rasterized stroke thickness. * Refactor desktop logic into modular packages Extract desktop responsibilities from `desktop.go` into new `mod/desktop` packages: `icons`, `layout`, `prefs`, and `wallpaper`. The desktop handlers now initialize and use dedicated managers/generators for icon rendering, icon position persistence, user preferences/themes, and wallpaper theme discovery. This removes a large amount of inlined desktop/icon code from `desktop.go`, centralizes desktop constants, and keeps existing behavior while improving separation of concerns and testability. The old monolithic desktop icon tests were replaced with focused package-level tests for each new module. * Add raised hand feature, connection stats, and host kick capability (#292) * MeetRoom: clock, raised hands, kick, invite dialog, ArozOS attachments, stats Add seven participant-facing features to the MeetRoom app: - Header now shows the current wall-clock time and the live meeting duration (backend exposes the room CreatedAt in the descriptor). - Raise-hand control: a hand state rides the existing state broadcast, shows an animated badge on the raiser's tile and in the participant list, and chimes with a system note when a remote hand goes up. - Richer invite dialog replacing the copy-to-clipboard button: meeting title, ID, a shareable link, an optional personal message and one-tap copy buttons. - Attach menu lets users share a file straight from their ArozOS storage (new /system/meetroom/attachfile endpoint streams the file server-side from the user's file system) alongside device upload. - Host can remove participants: a kick control in the participant list, a host-only kick frame, and Room.KickParticipant (with test) that refuses to kick the host. The target gets a dedicated "kicked" frame so it stops auto-reconnecting. - Connection performance panel polls RTCPeerConnection.getStats() for per-peer send/receive bitrate, round-trip time and packet loss. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138Pxpde8t93BUip72hfLq3 * MeetRoom: float the stats window, add a raise-hand queue, fix hand-badge centering Address UI feedback on the MeetRoom features: - The raised-hand badge glyph sat low-right inside its round tile badge; nudge it to optically centre in the circle. - Turn the connection-stats side panel into a compact floating window ("minimized page") that overlays the meeting and can be dragged around by its header (pointer events, so mouse and touch both work). It no longer displaces the video grid or fights the chat / participants panels, and defaults to the top-left clear of them. - Add a raise-hand queue: the participants panel now lists everyone with a hand up in the order they raised it, numbered, above the roster. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138Pxpde8t93BUip72hfLq3 --------- Co-authored-by: Claude <noreply@anthropic.com> * Align Office pagination and header/footer modes Reworked Docs PDF export into a CSS-like block/inline layout pipeline so wrapping, margin collapsing, block pagination, tables/lists/pre blocks, and image sizing match the editor preview more closely. Added `hfMode` (`all`, `except-first`, `none`) end-to-end in Docs state/UI, DOCX/ODT readers/writers, and PDF rendering (including first-page page-number suppression behavior), with expanded regression tests for layout and header/footer round-trips. Also added desktop/icon PNG assets for AGIForge and GitApp, and updated Office docs to document the new behavior. * Integrate Raw Editor into Pixel Studio Moves Raw Editor under `Pixel Studio/raw`, registers it from Pixel Studio’s `init.agi`, and updates asset/API paths accordingly while removing the standalone Raw Editor module registration. Pixel Studio now detects RAW extensions and forwards opens to Raw Editor, including a new File menu entry to launch it directly. Improves editor UX with shared numeric inputs (typing + wheel step + unit labels), synced slider/number controls, and better layer opacity editing/undo behavior. Adds multi-layer panel selection (Ctrl/Shift click), layer context menu actions, merge-selected/delete-selected flows (including Ctrl+E behavior), and updates layer/menu shortcuts/help text. Save behavior is hardened to avoid accidental flattening by steering multi-layer documents to `.pxs` and using a better Save As start directory. * Add ArozOS PDF save option in Text app Adds a new “Save as PDF…” action to the Text app Export menu that renders the PDF and uploads it directly to a user-selected ArozOS path via the file selector, with status/error feedback. Also adds new desktop/app icon assets for AGIForge and GitApp. * Add streaming chat, reasoning/thinking support, and file uploads (#293) * AIChat: collapsible thinking section + media upload from computer Thinking / reasoning: - Capture model chain-of-thought in the llm client. openai.go reads reasoning_content (DeepSeek) / reasoning (OpenRouter); anthropic.go collects "thinking" content blocks (previously dropped). Surfaced via a new Choice.Message.ReasoningContent field on the unified response. - chat.agi forwards it to the frontend as a "reasoning" field. - The AIChat UI shows reasoning in a disclosure that is collapsed by default and only expands when the user presses "Show thinking". Inline <think>/<thinking> tags emitted by local models are parsed out of the reply too, so the answer bubble stays clean. Prior thinking is not fed back to the model on later turns. Media upload: - The attach button now opens a small menu: "ArozOS files" (the existing file selector) or "Upload from computer". Local picks are uploaded to a tmp:/ scratch folder and staged as virtual paths, so they flow through the same llm.fileParts path as drive files. Chips show an uploading spinner / failed state, and send waits for uploads to finish. - Added a self-contained toast (the desktop shell's showToast is not reachable from the app iframe) and replaced the one stale showToast call. Also: table-driven tests for reasoning capture (openai/anthropic clients and chat.agi), updated the llm API docs (README + api.json), and replaced a pre-existing emoji in the model picker per the icon policy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: stop the app shell overflowing the viewport The desktop grid (.app) set height:100dvh but no grid-template-rows, so its single implicit row was auto-sized to content and grew past the viewport — the sidebar's chat list and the message area couldn't shrink, producing a page scrollbar and pushing the composer toward the edge. Pin the row to minmax(0,1fr) and give the sidebar / chat list min-height:0 so the inner areas scroll instead of the whole app. Verified overflow is 0 from 600px to 900px tall viewports with the composer fully visible. Pre-existing layout issue, surfaced while adding the thinking section and media upload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: real-time streaming replies and PDF attachment support Streaming (token-by-token, including live thinking): - Add Client.ChatStream to the llm client, with SSE parsing for both wire formats: OpenAI (delta.content plus reasoning_content/reasoning, usage via stream_options.include_usage) and Anthropic (text_delta / thinking_delta, usage split across message_start and message_delta). - Expose it to AGI scripts as llm.streamRequest(messages, options, onDelta). onDelta fires per chunk with {content, reasoning} on the script's own goroutine, so a script can relay straight to websocket.send(). Usage and quota are recorded exactly as for a blocking call; connection resolution is now shared by both paths via llmResolveConnection. - New backend/chat_stream.agi relays the stream over a WebSocket using the frame protocol start/reasoning/delta/done/error. - The UI now streams: the answer grows token by token with a caret, and the thinking section auto-opens while the model reasons ("Thinking…") then collapses to "Show thinking" once the answer starts — unless the user toggled it themselves. Stop closes the socket and keeps partial output. If the socket cannot be opened the app falls back to the one-shot HTTP backend, so nothing regresses. PDF attachments: - PDFs are rasterised to JPEG pages in the browser with the pdf.js already bundled with the PDF Viewer app, then uploaded and attached in the PDF's place, fixing "unsupported file type for file-based chat: *.pdf". Works for both computer uploads and drive picks (read via /media). Capped at 10 pages with a notice; no new dependency and no system tools involved. - Attachment entries now carry a `paths` array, so one chip can expand to several page images; chips show conversion progress and the page count. Tests: SSE streaming for both formats (deltas, assembly, usage, error envelopes and error events), the AGI streaming binding, and chat_stream.agi driven through a stubbed websocket. Docs updated (README + api.json). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 --------- Co-authored-by: Claude <noreply@anthropic.com> * Add streaming chat, reasoning/thinking support, and file uploads (#294) * AIChat: collapsible thinking section + media upload from computer Thinking / reasoning: - Capture model chain-of-thought in the llm client. openai.go reads reasoning_content (DeepSeek) / reasoning (OpenRouter); anthropic.go collects "thinking" content blocks (previously dropped). Surfaced via a new Choice.Message.ReasoningContent field on the unified response. - chat.agi forwards it to the frontend as a "reasoning" field. - The AIChat UI shows reasoning in a disclosure that is collapsed by default and only expands when the user presses "Show thinking". Inline <think>/<thinking> tags emitted by local models are parsed out of the reply too, so the answer bubble stays clean. Prior thinking is not fed back to the model on later turns. Media upload: - The attach button now opens a small menu: "ArozOS files" (the existing file selector) or "Upload from computer". Local picks are uploaded to a tmp:/ scratch folder and staged as virtual paths, so they flow through the same llm.fileParts path as drive files. Chips show an uploading spinner / failed state, and send waits for uploads to finish. - Added a self-contained toast (the desktop shell's showToast is not reachable from the app iframe) and replaced the one stale showToast call. Also: table-driven tests for reasoning capture (openai/anthropic clients and chat.agi), updated the llm API docs (README + api.json), and replaced a pre-existing emoji in the model picker per the icon policy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: stop the app shell overflowing the viewport The desktop grid (.app) set height:100dvh but no grid-template-rows, so its single implicit row was auto-sized to content and grew past the viewport — the sidebar's chat list and the message area couldn't shrink, producing a page scrollbar and pushing the composer toward the edge. Pin the row to minmax(0,1fr) and give the sidebar / chat list min-height:0 so the inner areas scroll instead of the whole app. Verified overflow is 0 from 600px to 900px tall viewports with the composer fully visible. Pre-existing layout issue, surfaced while adding the thinking section and media upload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: real-time streaming replies and PDF attachment support Streaming (token-by-token, including live thinking): - Add Client.ChatStream to the llm client, with SSE parsing for both wire formats: OpenAI (delta.content plus reasoning_content/reasoning, usage via stream_options.include_usage) and Anthropic (text_delta / thinking_delta, usage split across message_start and message_delta). - Expose it to AGI scripts as llm.streamRequest(messages, options, onDelta). onDelta fires per chunk with {content, reasoning} on the script's own goroutine, so a script can relay straight to websocket.send(). Usage and quota are recorded exactly as for a blocking call; connection resolution is now shared by both paths via llmResolveConnection. - New backend/chat_stream.agi relays the stream over a WebSocket using the frame protocol start/reasoning/delta/done/error. - The UI now streams: the answer grows token by token with a caret, and the thinking section auto-opens while the model reasons ("Thinking…") then collapses to "Show thinking" once the answer starts — unless the user toggled it themselves. Stop closes the socket and keeps partial output. If the socket cannot be opened the app falls back to the one-shot HTTP backend, so nothing regresses. PDF attachments: - PDFs are rasterised to JPEG pages in the browser with the pdf.js already bundled with the PDF Viewer app, then uploaded and attached in the PDF's place, fixing "unsupported file type for file-based chat: *.pdf". Works for both computer uploads and drive picks (read via /media). Capped at 10 pages with a notice; no new dependency and no system tools involved. - Attachment entries now carry a `paths` array, so one chip can expand to several page images; chips show conversion progress and the page count. Tests: SSE streaming for both formats (deltas, assembly, usage, error envelopes and error events), the AGI streaming binding, and chat_stream.agi driven through a stubbed websocket. Docs updated (README + api.json). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: fix #### headings and --- rules not rendering Two markdown gaps in the chat renderer: - Headings were matched one depth at a time with ^###\s+, ^##\s+, ^#\s+. "#### Title" matched none of them (the third # is followed by another #, not whitespace), so it rendered literally, as did ##### and ######. One rule now covers every depth: # -> h2 through ###### -> h6, with the closed-ATX trailing #'s stripped. - Thematic breaks had no rule at all, so --- rendered as literal text. Add ---, ***, ___ and their spaced variants as <hr>, matched before the emphasis rules so a rule of asterisks is not eaten as bold/italic. Three or more markers are required, so list items are unaffected. Also style h2-h6 and hr explicitly (shared with the thinking panel, which renders the same markdown) so h5/h6 do not collapse to tiny default text, collapse <br> runs around block elements, and normalise CRLF so a trailing \r cannot leak into heading text. Verified against the real renderer: 24 cases covering both bugs, every heading depth, the rule variants, and regressions — lists, bold/italic, inline code, links, escaping, and --- / #### inside fenced code blocks staying literal. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: render markdown live while streaming, and support tables Live markdown during generation: - The streaming reply and the thinking panel were written as plain text and only converted to markdown once the reply finished. Both now render markdown as tokens arrive. Paints are coalesced on a 60ms timer so a fast token stream cannot thrash layout, and a queued paint is cancelled when the reply is finalised. - Half-written markup is normal mid-stream; the most visible case is an unclosed ``` fence, which would flash as raw backticks until the model closes it. A copy of the text is closed off for rendering only, leaving the stored text untouched, so code blocks appear as code from the first line. GFM tables: - Tables were not implemented, so a table rendered as rows of literal pipes. Added header/delimiter/body parsing with :--- , ---: and :---: alignment, scoped so it cannot swallow prose: a row must start with "|", and the delimiter row must be all dashes/colons. Runs after the inline rules, so cells keep bold/code/link formatting, and inside a wrapper that scrolls on its own so a wide table never widens the chat column. Verified with 40 renderer cases (16 new for tables, including the reported table, alignment, ragged rows, inline markup in cells, and the negative cases - prose containing a pipe, lists, rules, and tables inside code fences), plus a browser run confirming headings, the table, the rule and the code block are all rendered elements *during* streaming, with no raw "| :---", "##" or "```" ever visible. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 --------- Co-authored-by: Claude <noreply@anthropic.com> * Add experimental hardware acceleration support * Add storyboard scrub-bar previews to Movie player Generates a cached sprite sheet (one keyframe every N seconds) per video via a new /media/storyboard/ endpoint. The sheet is stored beside the video under .metadata/.storyboard/ so the ffmpeg pass runs only once. Both the full-page player (index.html) and the embedded player (embedded.html) fetch the layout and image on load, then slice the sheet with CSS background-position on timeline hover, showing a thumbnail and timestamp. Includes unit tests for the planning logic and cache-path helpers. * Improve Musicify touch playback behavior Avoid touch-only hover interactions in Musicify by showing playlist, queue, and song-row controls without relying on `:hover`, while keeping desktop hover behavior unchanged. Also prevent tapping the currently loaded track from restarting playback; it now opens the Now Playing panel instead, which fixes the double-tap/restart experience on touch devices. * Extract PDF Tool from Productivity module Creates a new standalone `PDF Tool` web app with its own `init.agi`, UI, and JS modules (`common`, `editor`, `convert`, `chops`) for PDF editing, image conversion, and chop management. Moves related assets and `pdf-lib` into the new module path, including a legacy chop-storage migration from `Productivity` keys. Removes the old `Productivity` app/tool files and updates the Text editor’s PDF export comment to reference PDF Tool. * Add embedded subtitle & font support to Movie player Adds a `/media/subtitles/` endpoint that lists embedded subtitle tracks and font attachments from MKV containers (via ffprobe/ffmpeg), extracts tracks as SubRip or native ASS, and serves font binaries. On the frontend, the Movie player now: - Probes for embedded tracks on file load - Shows muxed subtitle tracks in the subtitle context menu - Renders ASS/SSA tracks with full styling, positioning and simultaneous events via a new in-repo `script/ass.js` parser/renderer - Falls back to plain SubRip rendering for non-ASS tracks - Loads embedded fonts by internal family name and registers them via FontFace API - Exposes embedded fonts in Subtitle Settings for SubRip tracks Also adds `fontname.go` which parses the sfnt name table to resolve a font's internal family name (needed because muxed subsets are often renamed to random strings). * Fix subtitle z-index, collisions and wrap in Movie Remove explicit z-index from #ass-overlay and #srt-overlay so controls and menus always paint above subtitles. Add collision resolution to push overlapping margin-anchored lines apart, matching libass behaviour for stacked dual-language subtitles. Split renderEvent into separate DOM-build and fade-application passes to avoid rebuilding the overlay every frame. Respect WrapStyle 2 (pre) to prevent browser auto-wrapping from inflating block heights. * Fix subtitle seeks in Movie player Prevent the Movie player from showing subtitles that were already in progress when playback seeks, for both plain cues and ASS rendering. The change also keeps the last valid ASS overlay geometry until video dimensions are available again, avoiding subtitle misalignment over letterboxing during seek/transcode reloads. * Add dedicated icon for Language settings Update the Language device setting to use a dedicated `language.png` icon instead of the shared small icon. This also adds the new exported icon asset and its PSD source for future edits. * Harden AGI SQLite lifecycle and concurrency This adds robust SQLite resource management in AGI by introducing per-library VM cleanup hooks and wiring them into all script exit paths, preventing leaked DB handles after errors, exits, timeouts, or force-stops. It also updates SQLite connection setup to use WAL/busy-timeout/immediate-lock pragmas and single-connection pooling for safer concurrent access. A new `db.transaction(fn)` API is added to the JS wrapper for explicit batched writes with commit/rollback semantics and nested-transaction protection. README and Terminal API docs are updated, and tests are expanded to cover DSN behavior, concurrency expectations, cleanup registration, and transaction semantics. * Rollback AI chat to origin non-broken state --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Alan Yeung <yeungbluecat123@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tobychui <24617523+tobychui@users.noreply.github.com>
  • View comparison for these 18 commits »

3 days ago

TC synced commits to master at TC/arozos-mirror from mirror

  • 8cd7e2cb12 Sync master branch up-to-date to v3 dev branch (#320) * Update multiple dependencies and add LoongArch64 support (#300) * Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.19.1 in /src (#255) Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.19.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.19.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/image from 0.33.0 to 0.41.0 in /src (#265) Bumps [golang.org/x/image](https://github.com/golang/image) from 0.33.0 to 0.41.0. - [Commits](https://github.com/golang/image/compare/v0.33.0...v0.41.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-version: 0.41.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net from 0.53.0 to 0.55.0 in /src (#262) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.53.0 to 0.55.0. - [Commits](https://github.com/golang/net/compare/v0.53.0...v0.55.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.55.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/crypto from 0.50.0 to 0.52.0 in /src (#274) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.50.0 to 0.52.0. - [Commits](https://github.com/golang/crypto/compare/v0.50.0...v0.52.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.52.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Toby Chui <tobychui@users.noreply.github.com> * V3.0.1 (#285) * Add CalDAV server for iOS Calendar bidirectional sync (#256) Add CalDAV server for iOS Calendar bidirectional sync (#256) * Updated CLAUDE.md (#257) * Updated CLAUDE.md * Add Reminders WebApp * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add CalDAV VTODO sync for Reminders and recurring support Expose the Reminders web-app data as a CalDAV VTODO collection at /caldav/{username}/reminders/ so iOS Reminders can sync bidirectionally alongside the existing Calendar (VEVENT) collection. The principal now advertises a calendar-home-set containing both collections. Add RRULE recurrence support: events and reminders pass their recurrence rule through ICS in both directions. The Reminders UI gains a Repeat selector, shows a repeat indicator, and rolls recurring reminders forward to their next occurrence on completion (matching iOS behaviour). --------- Co-authored-by: Claude <noreply@anthropic.com> * Bump internal_version to 3.0.1 Update internal build version from 3.0.0 to 3.0.1 in src/flags.go to reflect a minor release increment. * Add shell mode (virtual FS) to web terminal Introduce an interactive shell mode for the web Terminal. Backend (session.agi): implement shell state, virtual path resolution, many shell commands (pwd, ls, cd, cat, mkdir, touch, rm, cp, mv, echo, whoami, clear, exit, help), tab-completion, prompt building, safe filelib wrappers, and new websocket message types (shellmode, clear, complete, shellPrompt in result). Frontend (index.html): track shellMode/shellPrompt, render shell output differently, handle shell enter/exit and clear messages, send/handle completion requests/responses, adjust input handling (Tab completion and disabling REPL dot-commands while in shell). Add .claude/launch.json to run a local static server for src/web. This enables a secure virtual filesystem shell inside the AGI REPL without host FS access. * TURN update for Arozcast screen share over Internet (#259) * Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.19.1 in /src (#255) Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.19.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.19.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add built-in TURN relay so Arozcast screen share works over the Internet Arozcast screen share is a direct WebRTC peer-to-peer connection that only used public STUN servers, so it could not traverse NAT and failed over the Internet. Add a built-in TURN relay (pion/turn, MIT, pure Go) that both peers reach through the same ArozOS host, plus an /api/arozcast/iceservers endpoint that hands the browser STUN + TURN with short-lived HMAC-signed credentials. The relay is optional/configurable, and operators can override the ICE list entirely with system/arozcast/iceservers.json to use an external TURN. - mod/network/turn: pion/turn wrapper + ephemeral credential helpers (tested) - cast.go: start the relay in ArozcastInit; serve /api/arozcast/iceservers - main.go: close the relay on shutdown - flags.go: -arozcast_turn, -arozcast_turn_port, -arozcast_turn_publicip - screenshare.html / index.html: fetch ICE servers (STUN fallback) - Arozcast README: endpoint + Internet/TURN operations docs Media casting (Musicify/Movie/Photo) already worked over the Internet via the existing relay and is unchanged. https://claude.ai/code/session_01P68sFxtXuRXfzDnwtpFrnU * Add TURN-over-TLS and a System Settings toggle for the Arozcast relay Builds on the built-in Arozcast TURN relay with two operator-facing enhancements. TURN-over-TLS (TURNS): - turn.NewServer now optionally starts a TURNS listener (TLSPort + TLSCertFile/TLSKeyFile) alongside the plain UDP/TCP relay, reusing the system TLS certificate. Restrictive firewalls that only permit outbound TLS (commonly 443) can then relay screen share, since the media rides inside a connection indistinguishable from HTTPS. - Listener setup tracks every opened conn so a later failure cleans up; a TURNS failure is non-fatal (logged, plain relay keeps running). - /api/arozcast/iceservers advertises turns:host:port?transport=tcp when the listener is up. New flags: -arozcast_turn_tls (default on, no-op without a usable cert) and -arozcast_turn_tls_port (default 5349; set to 443 for maximum reach). System Settings toggle & status: - The relay is now runtime-managed (mutex-guarded start/stop with a remembered config) and its on/off state is persisted in the system database, overriding the -arozcast_turn flag default across restarts. - New admin-only endpoints /system/arozcast/turn/{status,setEnabled} via the permission router, plus a "Screen Share Relay" page under System Settings -> Network & Connection (SystemAO/arozcast/turn.html) showing running state, port, TURNS and advertised host. Tests cover the TURNS listener (self-signed cert handshake) and the non-fatal missing-cert path. README documents both features. * Drop the SNI-routing proxy caveat from the TURNS 443 docs The TURN-over-TLS note suggested fronting port 443 with a TLS/SNI-routing proxy to share it with the web server. That over-complicated the guidance; replace it with a plain statement that 5349 is the default and 443 is only viable when free on the relay's address. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> * Add single instance support to Movie * Add cross-tab theme sync and file selector fixes Broadcast theme changes to other open tabs and improve file selector callback handling. file_explorer.html now writes ao_system_theme to localStorage when toggling theme in standalone mode so other tabs can react. ao_module.js adds ao_module_onThemeChanged, ao_module_toggleSystemTheme and an internal _ao_theme_broadcast to support both VDI (desktop-driven) and standalone/cross-tab theme propagation. Also fixes and documents file selector behavior: allow callback as a string or named function, auto-register a temporary global for anonymous callbacks in VDI mode, resolve string callbacks in non-VDI polling mode, and clean up localStorage handling. Minor typo/comment and whitespace fixes included. * Add theme listener to desktop * Added more icons for Code Studio * Added wip productivity app * Renewed Text app * Updated Productivity app * Text module style update * Add RWD support to text * Add Markdown source-mark reveal and image sync Show Typora-style markdown source marks and allow inline editing of image references. Adds CSS pseudo-elements to reveal heading, emphasis, code, blockquote and link syntax; a settings selector to control reveal mode (active/always/none); and a default syntax setting. Implements updateActiveBlock(), clearDecorations(), decorateBlock(), editable .md-imgsyn labels, syncImgFromSyn()/commitImgSyn(), and helpers (richPlainText, activeImgSyn, caret/block helpers) to keep serialization and word count unchanged. Updates event handlers and key handling to support image-label editing, heading mark editing, backspace behavior at block start, and selection changes. Ensures getContent strips editable image labels before turndown and wires UI state updates throughout. * Text: add Notion mode with slash commands and document-aware AI (#260) Adds a toolbar toggle that enables a Notion-style "/" command menu in the Markdown editor. Typing "/" at a line start (or after a space) opens a filterable, keyboard-navigable menu to quickly insert blocks (headings, to-do/bullet/numbered lists, quote, code block, table, divider) and to run AI actions. AI actions feed the entire current document in as context and insert the generated Markdown at the caret, with an inline "Ask AI" prompt for free-form instructions plus presets (continue writing, summarize, brainstorm, outline). Generation is relayed through a new Text/ai.agi backend that calls the aimodel library; the AI endpoint/key are configured by an admin in System Settings. A new "Notion & AI" settings section lets users toggle the feature, pick a model (lazy-loaded from the endpoint) and set the temperature; all preferences persist alongside the existing editor settings. Claude-Session: https://claude.ai/code/session_01Xd4TY3ecHMDdG7es1JqbKo Co-authored-by: Claude <noreply@anthropic.com> * Revert "Text: add Notion mode with slash commands and document-aware AI (#260)" This reverts commit be21397ccf060ed4fe403c48fbe3d63d72669965. * Added advanced code block function to Text * Add code-language picker and blank-line handling Introduce a code-block language <select> UI and preserve runs of blank paragraphs through round-trip serialization. Add LANG_LIST and TextHL.languages(), ensure language selectors are appended to <pre> blocks (contenteditable=false and stripped on save), and wire syncLangSelector/ensureLangSelector/clearLangSelectors/onLangSelectChange. Implement renderWithBlankRuns() and expandBlankSentinels() to keep multiple empty paragraphs, switch marked.parse/getContent/renderedHTML to use these, and replace the previous &nbsp; sentinel with a ZWSP sentinel. Fix code-block editing by rewriting newline/delete logic to operate on the code textContent (insertNewlineInCode, deleteInCode) to avoid DOM fragmentation and caret issues; add protection for key handling when the language <select> has focus. Adjust decoration logic to avoid marking PRE as md-active and update syntax display rules. Rename/move backend modules under Text/backend (export.agi, filesaver.agi, imgtool.agi) and update ao_module_agirun calls to use the new paths. Add related CSS for the language picker and other small UI adjustments. * Add link editor and improve code highlighting Introduce an interactive link editor and inline editable link marks, replacing the previous CSS-only closing a::after pseudo-element with a real .md-linksyn element so link URLs are clickable/editable. Add link dialog UI (overlay, inputs, remove/cancel/OK handlers) and associated logic to insert/edit/remove links, preserve/restore selection, and avoid tearing down marks while edited. Enhance code-block highlighting: switch to relightCode/highlightCode with caret/selection preservation (selectionEndOffsetIn, restoreCaretIn), handle live re-highlighting on edits, language changes, and prevent stuck empty code blocks by exiting them (exitEmptyCodeBlock). Also fix caret placement when clicking below trailing code blocks (escapeTrailingCodeBlockClick), update serialization to strip .md-linksyn, and adjust toolbar/labels for the link action. * Add support for token access in webdav server X-Access-Token + X-Aroz-User now can be used to login webdav with autologin token instead of Basic Auth * Add CNN inference API support * Rename aimodel to llm and add LLM server pkg Replace the legacy "aimodel" library with a new "llm" library and introduce a dedicated aiservers/llm package. Key changes: - Rename library identifier from "aimodel" to "llm" across docs and backend scripts (README, AGI scripts, web backend examples). - Remove the old agi.aimodel implementation and add agi.llm (new AGI lib) plus agi.llm_test.go. - Add mod/aiservers/llm package with client, OpenAI/Anthropic adapters and types, and tests (client.go, openai.go, anthropic.go, types.go, and tests). - Update tests and module wiring to use LLMConfig/LLMPricing/llmDBTable and injectLLMFunctions where appropriate. - Minor updates to web demo backend/init scripts and API docs to reflect the new requirelib name. Notes: System Settings UI and routes retaining the original "AI Model" naming; only the requirelib identifier and internal Go types/DB table references were changed. This restructures wire-protocol logic into the new aiservers/llm package for clearer separation of concerns and easier protocol-specific handling. * Fixed #204 * Add text color change inline * Add free resize on select tool * Add Cine Studio, a Premiere-like timeline video editor webapp (#263) A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 Co-authored-by: Claude <noreply@anthropic.com> * Docker support (#264) * Updated Video Editor app to have more functionalities (#266) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Fix docker package build failure on FreeBSD and other unlisted platforms (#267) The docker package split its PTY console and host-stats helpers into build-tagged files that only covered linux/darwin/windows. FreeBSD (built by the Jenkins release pipeline for amd64 and i386) matched none of them, so startDockerExecPTY, hostStorageUsage and hostLoadAvg were undefined and the cross-platform release build failed. - console_unix.go now builds for freebsd too (creack/pty supports it). - console_windows.go becomes console_other.go, a catch-all (!linux && !darwin && !freebsd) stub covering windows and any other GOOS. - host_darwin.go becomes host_bsd.go (darwin || freebsd); the Statfs-based storage helper works on both. - Add host_other.go, a catch-all fallback so the package builds on any remaining GOOS. Also expand the CI cross-compile smoke test to cover the full release matrix (including freebsd/amd64 and freebsd/386) so a platform-specific break is caught in CI instead of only in the release build. Claude-Session: https://claude.ai/code/session_01L4oR1xiTxpcfwYjRgi4RGh Co-authored-by: Claude <noreply@anthropic.com> * Added playwright e2e tests for cine studio (#268) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Claude/arozos playwright tests for arozos (#269) * Add full-stack Playwright E2E suite for ArozOS critical paths Extend the Playwright harness (previously Cine Studio only) with a 'system' suite that drives a real ArozOS server built from src/: - lib/arozos-server.js boots a disposable isolated instance (.instance/: web symlink + private system copy) and bootstraps a deterministic admin account at the zero-user state - lib/system-harness.js shares login (form + API), CSRF, JSON and pass/fail helpers; each spec also runs standalone - specs-system/ covers the critical paths: 010 sign in / sign out (form render, bad credentials, session persistence, gated redirects, logout, retry delay) 020 desktop shell (task bar, start menu, module list, quick access panel identity, UI sign-out) 030 file explorer (File Manager UI render + full file lifecycle: create, rename, copy, move, properties, recycle/restore/clear trash, permanent delete, CSRF enforcement) 040 system settings (settings UI, catalogue groups, admin-only modules, host info, permission group listing) 050 user management + permission control (group CRUD, user CRUD, restricted-user module visibility, admin-only endpoint denial, administrator group protection) - run.js orchestrates both suites; npm run test:static / test:system - CI workflow now builds the Go binary, triggers on src/** changes and uploads the server log on failure Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 1 E2E spec and coverage roadmap - specs-system/060-webapps-core.js: smoke + interaction coverage for the highest-importance WebApps (NotepadA, Text, Photo, Music, Video, PDF Viewer, Zip File Manager) against the real server, including opening a real file in NotepadA via the desktop hash convention - README: document the ranked 44-WebApp inventory and the wave order for upcoming specs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 2 E2E spec (office/productivity) specs-system/070-webapps-office.js: smoke + interaction coverage for Code Studio, MDEditor, Calendar, Notes, Memo, Reminders, OfficeViewer and Dashboard against the real server, including opening a real Markdown file in MDEditor via the desktop hash convention and probing Dashboard's live system-info data source. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 3 E2E spec (media/creative) specs-system/080-webapps-media.js: smoke coverage for Musicify, Movie, Manga, Paint, Pixel Studio, Audio Studio, Camera, Recorder and FFmpeg Factory against the real server, plus a probe of the storage data path the media library apps browse. Cine Studio keeps its own deep static suite and is not repeated here. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 4 E2E spec (utilities/dev/network) + close roadmap specs-system/090-webapps-utilities.js: smoke coverage for Calculator (incl. a real 7+8=15 calculation through the UI), Clock, Browser, Speedtest, Web Downloader, Web Builder, SQLite Admin, Terminal, AGIForge, AIChat, OTPAuth, Productivity, OnScreenKeyboard, Arozcast, Management Gateway, UnitTest, CronDemo and Serverless. This completes coverage of all 44 WebApps under src/web across four waves. README updated to reflect the full map; full suite (13 spec files: 4 static + 9 system) passes end to end. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add deep file-transfer critical-path spec (upload/download/search/share) specs-system/035-file-transfer.js extends the file-explorer coverage with the transfer features that move real bytes: - multipart upload of a real file - media download with byte-exact round-trip verification - file search by keyword - share-link lifecycle: create, list, anonymous direct download via /share/download/{uuid}/ (byte-exact) + preview page, then delete and confirm the share is revoked Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add account password-change critical-path spec specs-system/055-account.js exercises the My Account flow on a dedicated throwaway user (keeping the shared admin login intact): account settings UI render, userinfo identity, wrong-old-password refusal, successful change, and that afterwards only the new password signs in. README updated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop backend API spec (every /system/desktop endpoint) specs-system/021-desktop-api.js covers the full desktop.go API surface with the exact request shapes desktop.html uses: host/device details; user self-info (quota/groups/admin), another user's public info via ?target, and noicon; theme listing + set/get round-trip; preference set/get/remove; createShortcut + listDesktop metadata; icon location files set/get/del; and renameShortcut incl. off-desktop rejection. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop UI shell spec (clock, panels, start menu, search, icons) specs-system/022-desktop-ui.js drives the real desktop.html: wallpaper frame mounts, the taskbar clock shows a formatted time, the quick access panel carries the user identity, the start menu opens with module entries, its search box narrows the list and reports No Result for gibberish, the notification bar toggles from the clock, and an API-seeded shortcut renders as a desktop launch icon. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop float-window + context-menu spec and update README specs-system/023-desktop-windows.js drives the desktop window manager and right-click surfaces using the app's own globals and real clicks: openModule spawns a float window with a taskbar entry; newFloatWindow creates addressable windows; focus raises z-order; maximize/restore, minimize and close all work; and the wallpaper + icon context menus open with the expected entries. Desktop coverage is now three specs deep (API 021, UI 022, windows 023) on top of the original 020 shell smoke test. README layout updated. Full system suite (14 specs) passes together. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow --------- Co-authored-by: Claude <noreply@anthropic.com> * Video Editor Cline Update (#270) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * New webapp RAW Editor (#271) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Hand off developed image to Pixel Studio on Done Repurpose the Raw Editor's "Done" action into a hand-off: it now writes the current develop to a temporary JPEG (tmp:/RawEditor, auto-cleared by ArozOS) and launches Pixel Studio as a float window with that file as its input (matching Pixel Studio's ao_module_loadInputFiles hash format), then closes the Raw Editor window. Falls back to the normal Save dialog when running outside the ArozOS desktop. The bottom-bar button is relabelled "Open in Pixel Studio". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Redesign Raw Editor UI to match the newer Lightroom / Camera Raw layout Rework the develop panel into the 2024 Lightroom-style layout: - Thin centred title bar with open / save / reset / fit icons. - Borderless histogram with shadow/highlight clipping indicators and an EXIF readout (ISO, focal, aperture, shutter). - "Edit" header carrying Auto (auto-tone) and B&W (treatment) pills. - Profile selector row. - Collapsible Light / Color / Effects / LUT groups, each with a chevron to fold and an eye toggle that bypasses that group's adjustments. - Lightroom slider rows: label + right-aligned editable value on one line, thin track below, with coloured gradient tracks for Temperature (blue-> yellow), Tint (green->magenta) and Vibrance / Saturation. - White-balance eyedropper wired to auto white balance. - Bottom bar with a live filmstrip thumbnail, Fit / 100% zoom, an underlined dimension readout and Cancel / Open in Pixel Studio actions. - Decorative panel-selector strip on the right edge. Pipeline: add Texture (fine local contrast), Vignette (radial) and Grain (post noise) controls to the WebGL develop shader to complete the Effects group, plus per-group bypass handling in the parameter builder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add ArozOS-backed LUT library with a managed folder LUTs can now be managed through the user's ArozOS storage instead of only one-off browser uploads: - On first use the app creates a "user:/RawEditor/LUTs" folder (via the file_system newItem endpoint with a CSRF token). Users can drop .cube files into it with the Files app. - The LUT panel scans that folder (listDir) and lists every .cube in a "Library" dropdown; picking one reads it back through the media endpoint, parses it and applies it live. A refresh button re-scans on demand. - "Import .cube to library" still loads a local file immediately and now also uploads it into the library folder so it persists and reappears in the list next time. - Selecting a LUT re-enables the LUT group (clears any eye bypass); the hint line reports how many LUTs are available. Falls back gracefully to local import when running outside the ArozOS desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add scroll-zoom and right-drag pan; remove unused UI - Scroll wheel now zooms the photo, centred on the cursor, and the current zoom level is shown in the status bar. Fit / 100% buttons reset the view. - Right-mouse (or middle) button drag pans the image; the browser context menu is suppressed over the canvas. The view re-fits on window resize. The canvas is now transform-based (translate + scale) instead of the old fit / 1:1 CSS toggle. - Removed the Profile dropdown (no camera profiles in this pipeline) and the decorative right-edge tool strip, so the panel only shows working controls. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Pan with left mouse button and fix LUT dropdown overflow - Change canvas panning from right-drag to left-mouse (and middle) drag, with a grab / grabbing cursor over the image. The context menu is no longer suppressed. - Fix the LUT Library dropdown (and any select) overflowing the panel when an option label is long: give .mini-select min-width:0 so it can shrink inside its flex row instead of stretching to the widest option. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Load EXIF from JPEG APP1 so shooting info shows reliably Some RAW files (and any plain JPEG) did not populate the ISO / focal / aperture / shutter readout under the histogram. The cause: when the RAW's outer TIFF structure fails to parse, the image still loads via the brute-force embedded-JPEG scan, but the metadata comes back empty. Add a JPEG APP1 EXIF reader (the APP1 payload is itself a TIFF block, so it reuses the existing TIFF parser) and use it to: - read EXIF for plain JPEG images, and - fill any missing EXIF fields from the embedded preview for RAW files, which rescues shooting info when the main TIFF could not be parsed. Also harden applyMeta so the EXIF line is written before the window-title call and a title error can no longer suppress it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Match Photoshop LUT rendering: tetrahedral interpolation + true sRGB The same .cube LUT looked cyan/teal-shifted compared to Photoshop. Two causes, both fixed: - Interpolation: the 3D LUT was sampled with GPU trilinear filtering, which introduces a cyan/green cast on film-style LUTs. Switch the LUT textures to NEAREST and do proper tetrahedral interpolation in the shader — the same method Photoshop's Color Lookup and Resolve use. - Transfer function: encode to display with the true sRGB OETF instead of a plain 2.2 gamma. This exactly inverts the sRGB decode applied to 8-bit sources, so the values fed into the LUT match what Photoshop feeds it (previously the mismatch shifted shadow tones the LUT is sensitive to). Also honour the LUT's DOMAIN_MIN / DOMAIN_MAX when sampling. Verified in-browser: an identity LUT now passes through unchanged (exact tetrahedral), a channel-swap LUT swaps correctly, and a constant LUT maps to the constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Harden RAW EXIF parsing for real camera files Improve the chance that ISO / focal / aperture / shutter show for real RAWs (e.g. Sony ARW), which kept the readout blank: - Scan every embedded JPEG for APP1 EXIF, not just the largest preview. Sony keeps EXIF in the small thumbnail while the full-size preview has none. - Stop recursing the MakerNote (0x927C) as if its bytes were IFD offsets — that could be pathologically slow / derail a clean parse on real files; EXIF is reached through the standard ExifIFD (0x8769) pointer. - Cap IFD entry counts (>4096) to bail out of parsing stray/garbage offsets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Fix RAW preview selection: never decode CFA raw as the preview image On real Sony ARW files the develop view hung and EXIF stayed blank. Root cause: the CFA raw plane is a lossless-JPEG-compressed stream that also starts with 0xFFD8, and the embedded-preview finder picked it as the "largest JPEG" (31 MB) and handed it to the browser to decode as an image. The browser cannot decode lossless JPEG, so decoding stalled and the pipeline never reached the metadata display. Fixes: - Ignore CFA / raw IFDs (Photometric 32803) when hunting for a preview JPEG. - Only accept a range that is a real JPEG (SOI at the start AND EOI at the end) via a looksLikeJpeg() check, so a truncated raw stream can't be chosen. - Cap the brute-force SOI/EOI scan span so raw bytes containing 0xFFD8 can't yield a multi-megabyte junk range. With this, ARW files pick the correct full-size preview, the image loads, and ISO / focal / aperture / shutter populate under the histogram. Verified against a real 25MP Sony ILCE-6700 ARW end-to-end in the browser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 --------- Co-authored-by: Claude <noreply@anthropic.com> * RAW Editor - LUT Preview update (#272) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: … * Add 3D Viewer web app Introduce a self-registered 3D Viewer WebApp with a modern UI and bundled loaders for STL, OBJ, GLB/glTF, PLY, 3MF, FBX, DAE, and CAD formats like STEP, IGES, and BREP. This replaces the legacy SystemAO STL viewer, removes its old assets, and drops the old hardcoded module registration from module.util.go. * Add gcode support to 3D viewer * Prioritize LAN MACs in mDNS broadcast data Add `getMaxMacAddrString(maxLength)` to build a capped MAC address list from local interfaces, prioritizing interfaces with private LAN IPv4 ranges (10/8, 172.16/12, 192.168/16) before others. Update `NewMDNS` to use this helper with a 128-character limit when populating the `mac_addr` TXT record, replacing the previous full join of all MACs. * Add Games web app with 5 playable mini games Introduce a new `Games` module under `src/web/Games` with an AGI registration script and a landing page that links to Minesweeper, Tetris, Snake, Memory, and Pong. Each game is implemented as a standalone HTML app with in-page styling, controls, scoring/state handling, and restart/back navigation. Also update `.gitignore` to exclude `/.kilo`. * Optimized mini game list * File manager: pane splitters, upload pause/resume, UI polish Major file explorer overhaul across multiple areas: - Add draggable splitter handles between sidebar, file list, and properties panes (splitter.js) - Implement WebSocket upload pause/resume with server-side pause timeout (2h), idle timeout constants, atomic state tracking, and heartbeat keep-alive during pauses - Redesign popup dialogs as rounded bottom-right cards instead of full-height panels - Fix mobile double-tap to open files; fix breadcrumb path display on mobile - Fix hideSearchBar being called defensively when search was never open (was resetting view mode) - Fix zoom control display mode after rotation (inline style vs media query conflict) - Fix upload button click being swallowed during icon swap on progress ticks - Add cancel button shown only while paused; collapse upload panel when dialogs open - Support ArozOS File Manager drag-and-drop in 3D Viewer - Add forgetUploadTask() to clean up all task state on removal - Localize pause-expired message in 6 languages - Update Code Studio icons, desktop file type icons, and file thumbnail SVG centering * Fixed GitApp css bug * Removed Raw Editor (legacy) * Handle odd video dimensions in ffmpeg conversion Add shared video scaling logic that prevents ffmpeg failures on odd frame sizes for even-dimension-prone output formats. Introduces ffprobe-based dimension detection with a safe fallback filter, keeps named resolutions using `scale=-2:<height>`, and wires this into `FFmpeg_conv`, `FFmpeg_video_conv`, and `FFmpeg_conv_with_progress`. Also adds targeted tests for container checks, resolution handling, unprobeable-source fallback behavior, and invalid-dimension probing. * Add path memory and resilient large exports Introduces app-scoped file-selector path memory in `ao_module.js` (with per-action keys, fallback roots, and overwrite controls), then wires it through Audio Studio, Cine Studio, Office, Pixel Studio, and related selectors for better open/save/export defaults. Office now routes large AGI payloads through `OfficeApp.agirunLarge`, uploading oversized JSON to temp files to avoid the 10MB `ParseForm` limit; backend AGI scripts were updated to accept `*File` payload fields and clean up temp files. Cine Studio also gets UI/UX and rendering updates: split Open/Edit menus, rename affordance cleanup, export monitor mute toggle, safer temp cleanup after MP4 conversion, new audio "Fade To" effect, per-edge crop controls, and preview overlay/canvas sync improvements. * fix Windows disk stats On Windows hardware info, replaced per-property logical disk queries with grouped row-based WMI/CIM reads to prevent cross-column misalignment when devices appear/disappear or fields are null, and added focused tests for row shape and logical disk output. * Add empty-space folder context menu Enable right-click on the file area background to open a folder-level context menu with New Folder and Folder Properties actions. Refactor menu positioning into a shared helper so both item and folder menus are clamped to the viewport, and add the new context-menu locale keys across supported languages. * Add foreign-format save support to Office Sheets Introduce `saveFormats` support in the Office framework so apps can save back to non-native files (including keeping imported files attached for Ctrl+S), with format-aware Save As entries, one-way format handling (PDF), and autosave-safe veto behavior when a format cannot preserve content. Implement Sheets save-back writers for `.xlsx`, `.ods`, `.csv`, `.tsv`, and `.pdf`, add capability checks that block lossy saves with clear reasons, and refactor delimited output for both export/download and VFS save. Update Office/contract docs to define the new behavior and fix Sheets selection-border move cursor styling/hover state. * Clip overflowing sheet cell text in PDFs Add `pdfFitText` to truncate overlong cell content to column width before drawing, appending an ellipsis when possible and preserving rune boundaries for multibyte text. Wire it into sheet PDF rendering so `CellFormat` no longer paints text into neighboring columns. Expand tests to cover fit/overflow behavior, width guarantees, multibyte safety, and a regression case proving long Message cells no longer overlap adjacent columns. * Fixed pdf export collapse bug * Update README.md * Rewrite Web Builder * Add Sheets conditional formatting and lookups Introduces a new `sheets_cf.js` engine and UI for conditional formatting rules, wiring it into toolbar/menu actions, render-time effective styles, print/export styling, and sheet data normalization (`cf` per sheet). Expands the formula engine with `IFERROR`, `IFNA`, `IFS`, `AND`/`OR`/`NOT`, `VLOOKUP`, and `HLOOKUP`, adds `#N/A`, and aligns behavior with Sheets (optional `IF` false branch returns blank, case-insensitive text comparisons). Documentation and formula tests were updated to cover the new rule model, lookup behavior, and function semantics. * Fixed hls trancode on macos * Fixed flac playback stuck on Safari * Delete main.go * Refactor CF rules to be cell-owned Conditional formatting rules now belong to cells (cell.cf lists rule ids) rather than the sheet (sheet.cf array with ranges). The sheet holds rule bodies in cfDefs keyed by id. This makes rules behave like the rest of a cell's formatting: they travel on move/copy/fill automatically, the panel shows only rules on the current selection, and applying to a range stamps the id onto each cell. Editing is copy-on-write — a new body is minted and old orphaned defs are swept up. Other changes: - Add Ctrl/Cmd+wheel zoom with delta accumulation for smooth trackpad pinch - Add favicon links to docs, sheets and slides pages - Upgrade CF operand inputs to inline grid-range pickers (crosshair button) - Operand references (e.g. "B3") now shift per-cell like custom formulas do - Update README and inline doc comments to match * Unify async file operations and progress UI Refactors file operations into tracked background tasks with richer task state, per-file subtasks, pause/continue/cancel/remove controls, retention cleanup, and new async/status WebSocket endpoints. Operation execution is centralized and shared across legacy and async flows. In filesystem operations, adds byte-level progress reporting for copy/move (including folder transfers), keeps legacy percent callbacks compatible, improves move behavior with same-filesystem rename optimization, and fixes destination mkdir/remove handling through filesystem abstractions. Replaces the old per-operation popup with a unified system-wide file operation dialog, adds reusable launch API (`ao_module_startFileOperation`), updates explorer/desktop/archive/zip integration to use it, and includes related UX updates (hidden files toggle, hidden item styling, permission table rendering, and localization updates). Adds comprehensive Go tests for task bookkeeping, progress helpers, and copy/move progress behavior. * Add trash bin view with retention and quota This adds first-class trash management to File Manager with a dedicated trash special view, sidebar entry, sorting/searching, restore/delete actions, and detail dialogs. On the backend, it introduces per-user trash settings (`/system/file_system/trashSettings`) for retention days and quota bytes, enforces quota checks before recycle operations, and adds nightly cleanup of expired trash items. It also adds a new System Settings page for trash controls, new trash-related locale strings/icons, and bumps the internal version to 3.0.3. * Fixed file manager dark theme bug * Revamp Code Studio with modular workbench Replaces the old single-page/inline implementation with a VS Code-style workbench layout and modular frontend scripts for editor, explorer, terminal, search, SCM, session restore, and shell UI management. Adds new AGI backends for git operations, project search, workspace session persistence, and file/folder comparison, then wires in a full Compare tool (folder/text/hex/picture flows, settings, diff engine, and API layer). Also updates styling/theme handling, embedded stylesheet usage, welcome/home content, and bumps the module version to 2.0. * Improve trash bin UX and special view behavior Reworks the File Explorer trash bin to be more usable across layouts and safer for destructive actions. It adds streamed trash scanning with live row updates and fallback loading, a responsive card-mode UI for narrow panes/mobile (with kind chips, sort menu, and sticky action bar), and permanent-delete confirmation dialogs for item purge and empty-bin flows. The change also generalizes special view integration by adding sidebar rendering, per-view toolbar allowlists/handlers, blocked operation states, and operation handoff hooks (including delete/file info). Additionally, sidebar width is now persisted across sessions, and new locale strings were added for the new trash interactions. * Overhaul File Manager dialogs and trash bin - Replaced ad-hoc per-dialog styling with a shared dialog.css/dialog.js system - Rewrote file_properties.html with tabbed Basic/Permissions/Other layout, inlining the old file_permission.html (now deleted) - Rewrote defaultOpener.html with suggested/other app split and settings button - Rewrote file_versions.html with numbered versions and per-row ellipsis menu - Added cross-platform file creation time to the properties API (Windows/macOS/Linux fallback) - Added sentinel path registry (specialpaths.js) shared between the desktop and File Manager - Trash bin now accepts drag-and-drop from the desktop icon and sidebar entry - Added "Create Desktop Shortcut" context menu for storage roots and special views - Resized all dialog float windows to fit the new layouts - Updated locale files for all six languages * Optimized context menu design * Integrate versions into properties dialog Moves file version history management into the File Properties window by replacing the old “Other” tab with a new “Versions” tab, including inline create/download/restore/delete actions and delete-all support. It also reorganizes Basic tab rows into grouped sections for readability, adds related styling and polling behavior, and removes the now-obsolete standalone file_versions page and locale file. * Keep file context menu inside viewport * Add standalone Office platform and WASM converters Introduces a full host abstraction for Office so the same front-end works in both ArozOS and static standalone mode. It adds browser-side native container packing/unpacking, local recents storage, lazy-loaded WebAssembly converters (with Go conversion bridge + tests), and wires docs/sheets/slides import/export and file dialogs through the new platform layer with capability-based gating. Also adds a new Office home page, starter templates with a manifest + template builder, updates app entry HTML to load the new shared modules, extends launch config for standalone preview, and documents the two-host architecture and contract changes. * Fix file explorer empty-space right-clicks Adjusts the file explorer detail-view spacing and updates empty-area hit testing so blank space in grouped/grid listings opens the folder context menu instead of the browser menu. The details view now uses a background border to preserve the sticky header gap without clipping rows. * Add async zip tasks and file UI refinements Implements a new `tmpzipAsync` flow in `zipHandler` that runs archive creation in the background, reports progress via ongoing file-operation tasks, supports cancellation, and returns task metadata (`oprid`/dest) to the client. It also adds task-finalization coverage with new `finishTmpZipTask` tests. On the frontend, folder/multi-file downloads now track server-side zip progress in the transfer panel, show a progress-ring summary, and expose a “Download again” link for blocked auto-downloads. The Open With UI was redesigned to prioritize suggested WebApps and fold others, file-selector got a resizable sidebar and improved localized selection titles, context/menu spacing and icon behavior were polished, and Musicify now guards against duplicate auto-skip on playback errors. * Update index.html * Add foreign-format save flow to Office Teach Docs and Slides to save imported files back into their original formats via shared `saveFormats`, including capability vetoes and autosave opt-outs for expensive converters. The Office shell now shows a foreign-format warning banner with a one-click convert-to-native action, adds host support to open the converted copy in a new window, and updates the Office docs/contracts to describe the new behavior. * Improve Slides PPTX/ODP fidelity and image tools Overhauled Office slide import/export to preserve much more source formatting: style inheritance, theme color mapping, paragraph/run rich text, bullets/spacing, connectors, table cell formatting, image crop/radius/mask/opacity, and ODP master-page/style handling. Added PPTX chart-cache parsing and embedded font extraction support, expanded shape mappings, updated PDF text layout handling, and introduced broad fidelity tests plus docs/contract updates and new Slides UI for crop/mask/reset image workflows. * Add favorite folders to Musicify Add support for pinning folders as Favorites in Musicify. This introduces a sidebar Favorites section, favorite/unfavorite controls in folder views, persistence through module storage, and direct navigation that preserves folder backtracking from a pinned folder. * Add Slides image format tools Extract the Slides picture UI into a dedicated module with a floating image bar, crop-to-shape picker, and docked format panel for flips, position, recolor, brightness, contrast, and transparency. Update image rendering and reset behavior to apply those properties consistently across the editor. On the backend, extend Office image props and PPTX import/export so picture flips and DrawingML image effects round-trip correctly, with coverage for recolor, luminance, and transparency. Refresh the Office docs and contract to describe the new picture tools and data fields. * Render Slides PDF in browser and save bytes Switch Slides PDF export from the server converter to a browser-side renderer (`slides_pdf.js`) using `pdf-lib`, so layout/font decisions match what the editor actually shows. The export now writes generated bytes through a new cross-host path: `OfficePlatform.writeBytes` (ArozOS backend or standalone download) and `common/backend/binsaver.agi`. Add `office.writeBinaryFile(base64, destVpath)` to the AGI Office library to persist client-produced binary exports with existing write-permission checks, and wire it into API/help docs plus Office contract/README guidance. * Optimized pdf export flow in Slides app * Improve Movie ASS subtitle rendering Expand the Movie player's ASS renderer to better match libass behavior. This adds support for ScaleX/ScaleY, blur, animated `\move`, `\org`, vertical text, and vector drawing events, while tightening font metric handling so ASS font sizes and late-loaded embedded fonts render at the correct size and position. The player overlay CSS also now isolates ASS cue stacking so subtitle layers no longer cover controls, and the scrub preview is raised above the center click flash. * Expand Slides shape catalog support Add a shared Slides shape catalogue and use it across rendering, crop masks, PDF export, and shape pickers. This also replaces legacy shape-name handling with preset-based mappings in the PPTX/ODP readers and writers, adds round-trip coverage for preset geometries, and updates the Slides UI with layout previews, toolbar-based new-slide controls, thumbnail scaling, and rail keyboard delete behavior. * Removed file upload log * Revamp Docs DOCX fidelity and browser PDF export Overhauls Office DOCX import/export to preserve rich layout and formatting, including style inheritance, numbering, tabs, line spacing, borders, table geometry, header/footer HTML, footnotes, page fields, image orientation/cropping, and page setup distances. Adds new parsing/writer helpers and broad test coverage for rich round-trips and fidelity edge cases. On the web side, introduces a shared PDF core/drawing stack and moves Docs PDF generation to browser rendering with worker-based assembly, plus a new Docs layout engine for pagination, split handling, tab/list metrics, footnotes, page sheets, and header/footer/page-number rendering aligned with the live editor. * Improve Office startup and PDF pagination Adds a new Office startup splash system and wires it into Docs/OfficeApp so document loading reports progress, avoids covering dialogs/errors, and opens Docs windows at splash size before growing to working size. Docs now paginates multi-column layouts via layout-only column sections instead of dotted page guides, including column overflow splitting behavior used by normal pagination and PDF export. Refactors PDF execution paths so Docs and Slides both use OfficePdfDraw.run with worker fallback logic centralized in common/pdfdraw.js. Slides PDF export now records pdf-lib drawing calls and replays/assembles in the worker, reducing main-thread stalls on large decks, with improved staged progress reporting. * Extend Office splash to Sheets and Slides Bring the shared Office start-up splash to Sheets and Slides, including preloaded app icons, splash-first loading order, and smaller initial float-window sizes that expand to the full working size when the document is ready. The shared splash logic now recenters windows on the desktop and avoids stacking new windows directly on top of existing ones, and the Office docs/contracts were updated to describe the behavior across Docs, Sheets, and Slides. * Upgrade Sheets formulas and Office splash Expand the spreadsheet engine with cross-sheet references, array-aware evaluation, new Excel-style functions, and formula rewriting for sheet renames and row/column moves. The XLSX import/export path now preserves shared formulas and user-hidden rows, with new tests covering both. Refresh the Office startup splash with app-specific SVG artwork, larger initial window sizing, and updated Docs/Sheets/Slides integration and documentation. Sheets also gains row hide/unhide UI, better frozen-pane rendering, and related menu/shortcut support. * Overhaul Sheets formulas and XLSX compatibility Refactors the Sheets formula engine into a registry-driven core with new function modules (logic, math, stats, text, date, lookup, reference, array, finance), broad function coverage, array spilling, defined names, whole-row/column references, and improved coercion/error behavior. Adds XLSX round-trip support for defined names, dynamic array formulas (including metadata and spill ranges), and Excel future-function prefixes (_xlfn/_xlws/_xlpm), plus updates to Sheets UI behavior (spill outlines, link rendering, named-range manager, drag capture helper) and stronger Office editor font command handling. Includes extensive new Go and Node test coverage, including golden-file comparison tooling against real workbook cached results. * Add cluster membership and ACN transport Introduce the first cluster runtime phase with a new ACN package (node keys, signed requests with replay protection, direct/tunnel/relay routing, and tunnel handling), membership manager (create/join/leave, heartbeats, sync, join tokens, admin APIs), and capability detection (including cross-platform disk usage). Wire cluster startup/shutdown into the core, mount `/cluster/acn/*` before session auth, reserve `cluster` from subservice paths, add a System Settings Cluster UI page, and document the architecture with new cluster READMEs and guidance updates. * Add cluster identity and auth forwarding Introduce cluster identity support with an origin node that verifies logins through a new auth forward hook, mirrors account hashes and groups to members for offline fallback, and writes password changes back to the origin. This also adds signed cross-node user assertions, persists identity state in cluster.db, replicates cluster-wide identity settings through membership gossip, and exposes identity controls/status in the SystemAO cluster UI and docs. * Add cluster storage, metadata, and events Implement the next cluster phases end-to-end: add the replicated metadata store, cluster-scoped DB helpers, the cluster:/ filesystem backend and storage service, replication planning/verification/evacuation, and the cluster event bus with AGI hooks and a new cluster library. Wire everything into startup/shutdown, expose admin and ACN endpoints, update the cluster settings UI, and document the new APIs and roadmap status. * Add cluster jobs, mapreduce, and scheduling Implement phases 7-9 of cluster runtime: add replicated job records and AGI-backed job execution with submit/status/list/cancel/wait APIs, timeout/cancellation, and user/admin routes. Add map/reduce orchestration (dataset globbing, locality-based partitioning, reduce aggregation), introduce a shared weighted scheduling manager (jobs/storage/replication) with tunable replicated weights and /system/cluster/sched/* explain/status endpoints, and add membership latency-matrix collection for site-diversity scoring plus disk-low-space guarding. Update Cluster UI (new Jobs page and Scheduling panel) and AGI/API docs to expose the new functionality. * Revamp cluster UI and metadata persistence Split cluster administration into dedicated Settings, Info, and Jobs pages with shared styling/helpers, full cluster localization, and a new `-disable_cluster` flag. The cluster drive is now only mounted when the node is in a cluster with at least one volume, and storage settings add a cluster-wide auto read-only toggle for nearly full volumes. Rework cluster metadata persistence to use batched write-behind disk flushes via new database batch writes, preventing store lock contention and lease starvation while adding coverage for the new persistence paths. This also tightens pending-log draining, syncs snapshot change hooks, and updates docs/examples to match the new cluster UX. Miscellaneous fixes improve special URI decoding, media path handling, and failed-upload retry UI. * Cluster storage info and nightly cleanup This change makes cluster-owned storage behave like a first-class file system: nightly trash/version cleanup now runs only on the cluster master for shared cluster:/ volumes, while local drives keep their own per-node maintenance. The cluster now reports its master-node status through the nightly task manager and applies the same rule when clearing expired items or version history. It also adds a generic storage-info API for file system abstractions. The File Manager properties dialog can now show a Storage tab for cluster files, listing each physical copy with its node, volume, state, replica policy, checksum and related metadata. The cluster backend and abstraction wiring implement the provider, and the UI/locale updates render the copy cards in a consistent way. Tests cover the master-node logic, ordering of replicas and the storage-info flow. * Clarify cluster volume and virtual path IDs This change fixes path and volume identification in cluster-backed file properties and storage views by using node and volume UUIDs instead of ambiguous names. It also adds stable virtual-path cleaning for cross-platform behavior, updates AGI sorting keys to the same canonical form, and adds regression tests covering Windows-safe virtual path handling and cluster path uniqueness. * Add cluster thumbnail rendering support Render thumbnails for cluster:/ files on nodes that hold the content, cache the results locally by content hash, and avoid writing .metadata/.cache into the cluster namespace. This also adds cleanup for legacy thumbnail folders, updates cluster storage/filesystem metadata plumbing and tests, ignores the new system cache directory, and documents the cluster architecture in a new whitepaper. * Enhance Sheets paste and formula hints Add smarter copy/paste behavior in Office Sheets, including cross-sheet formula linking, multiple paste-special modes, a post-paste options chip, and value/format-aware internal clipboard data. This also adds formula function autocomplete with descriptions and examples, backed by a new help registry and stronger formula tests. Sheet tabs can now be reordered by drag-and-drop, and the README documents the new editing behavior. * Proper fix for #305 * fix: treat Darwin ps %mem sum as a percent (#304) * Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.19.1 in /src (#255) Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.19.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.19.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/image from 0.33.0 to 0.41.0 in /src (#265) Bumps [golang.org/x/image](https://github.com/golang/image) from 0.33.0 to 0.41.0. - [Commits](https://github.com/golang/image/compare/v0.33.0...v0.41.0) --- updated-dependencies: - dependency-name: golang.org/x/image dependency-version: 0.41.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net from 0.53.0 to 0.55.0 in /src (#262) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.53.0 to 0.55.0. - [Commits](https://github.com/golang/net/compare/v0.53.0...v0.55.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.55.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/crypto from 0.50.0 to 0.52.0 in /src (#274) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.50.0 to 0.52.0. - [Commits](https://github.com/golang/crypto/compare/v0.50.0...v0.52.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.52.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Toby Chui <tobychui@users.noreply.github.com> * V3.0.1 (#285) * Add CalDAV server for iOS Calendar bidirectional sync (#256) Add CalDAV server for iOS Calendar bidirectional sync (#256) * Updated CLAUDE.md (#257) * Updated CLAUDE.md * Add Reminders WebApp * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add CalDAV VTODO sync for Reminders and recurring support Expose the Reminders web-app data as a CalDAV VTODO collection at /caldav/{username}/reminders/ so iOS Reminders can sync bidirectionally alongside the existing Calendar (VEVENT) collection. The principal now advertises a calendar-home-set containing both collections. Add RRULE recurrence support: events and reminders pass their recurrence rule through ICS in both directions. The Reminders UI gains a Repeat selector, shows a repeat indicator, and rolls recurring reminders forward to their next occurrence on completion (matching iOS behaviour). --------- Co-authored-by: Claude <noreply@anthropic.com> * Bump internal_version to 3.0.1 Update internal build version from 3.0.0 to 3.0.1 in src/flags.go to reflect a minor release increment. * Add shell mode (virtual FS) to web terminal Introduce an interactive shell mode for the web Terminal. Backend (session.agi): implement shell state, virtual path resolution, many shell commands (pwd, ls, cd, cat, mkdir, touch, rm, cp, mv, echo, whoami, clear, exit, help), tab-completion, prompt building, safe filelib wrappers, and new websocket message types (shellmode, clear, complete, shellPrompt in result). Frontend (index.html): track shellMode/shellPrompt, render shell output differently, handle shell enter/exit and clear messages, send/handle completion requests/responses, adjust input handling (Tab completion and disabling REPL dot-commands while in shell). Add .claude/launch.json to run a local static server for src/web. This enables a secure virtual filesystem shell inside the AGI REPL without host FS access. * TURN update for Arozcast screen share over Internet (#259) * Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.19.1 in /src (#255) Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.19.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.19.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add built-in TURN relay so Arozcast screen share works over the Internet Arozcast screen share is a direct WebRTC peer-to-peer connection that only used public STUN servers, so it could not traverse NAT and failed over the Internet. Add a built-in TURN relay (pion/turn, MIT, pure Go) that both peers reach through the same ArozOS host, plus an /api/arozcast/iceservers endpoint that hands the browser STUN + TURN with short-lived HMAC-signed credentials. The relay is optional/configurable, and operators can override the ICE list entirely with system/arozcast/iceservers.json to use an external TURN. - mod/network/turn: pion/turn wrapper + ephemeral credential helpers (tested) - cast.go: start the relay in ArozcastInit; serve /api/arozcast/iceservers - main.go: close the relay on shutdown - flags.go: -arozcast_turn, -arozcast_turn_port, -arozcast_turn_publicip - screenshare.html / index.html: fetch ICE servers (STUN fallback) - Arozcast README: endpoint + Internet/TURN operations docs Media casting (Musicify/Movie/Photo) already worked over the Internet via the existing relay and is unchanged. https://claude.ai/code/session_01P68sFxtXuRXfzDnwtpFrnU * Add TURN-over-TLS and a System Settings toggle for the Arozcast relay Builds on the built-in Arozcast TURN relay with two operator-facing enhancements. TURN-over-TLS (TURNS): - turn.NewServer now optionally starts a TURNS listener (TLSPort + TLSCertFile/TLSKeyFile) alongside the plain UDP/TCP relay, reusing the system TLS certificate. Restrictive firewalls that only permit outbound TLS (commonly 443) can then relay screen share, since the media rides inside a connection indistinguishable from HTTPS. - Listener setup tracks every opened conn so a later failure cleans up; a TURNS failure is non-fatal (logged, plain relay keeps running). - /api/arozcast/iceservers advertises turns:host:port?transport=tcp when the listener is up. New flags: -arozcast_turn_tls (default on, no-op without a usable cert) and -arozcast_turn_tls_port (default 5349; set to 443 for maximum reach). System Settings toggle & status: - The relay is now runtime-managed (mutex-guarded start/stop with a remembered config) and its on/off state is persisted in the system database, overriding the -arozcast_turn flag default across restarts. - New admin-only endpoints /system/arozcast/turn/{status,setEnabled} via the permission router, plus a "Screen Share Relay" page under System Settings -> Network & Connection (SystemAO/arozcast/turn.html) showing running state, port, TURNS and advertised host. Tests cover the TURNS listener (self-signed cert handshake) and the non-fatal missing-cert path. README documents both features. * Drop the SNI-routing proxy caveat from the TURNS 443 docs The TURN-over-TLS note suggested fronting port 443 with a TLS/SNI-routing proxy to share it with the web server. That over-complicated the guidance; replace it with a plain statement that 5349 is the default and 443 is only viable when free on the relay's address. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> * Add single instance support to Movie * Add cross-tab theme sync and file selector fixes Broadcast theme changes to other open tabs and improve file selector callback handling. file_explorer.html now writes ao_system_theme to localStorage when toggling theme in standalone mode so other tabs can react. ao_module.js adds ao_module_onThemeChanged, ao_module_toggleSystemTheme and an internal _ao_theme_broadcast to support both VDI (desktop-driven) and standalone/cross-tab theme propagation. Also fixes and documents file selector behavior: allow callback as a string or named function, auto-register a temporary global for anonymous callbacks in VDI mode, resolve string callbacks in non-VDI polling mode, and clean up localStorage handling. Minor typo/comment and whitespace fixes included. * Add theme listener to desktop * Added more icons for Code Studio * Added wip productivity app * Renewed Text app * Updated Productivity app * Text module style update * Add RWD support to text * Add Markdown source-mark reveal and image sync Show Typora-style markdown source marks and allow inline editing of image references. Adds CSS pseudo-elements to reveal heading, emphasis, code, blockquote and link syntax; a settings selector to control reveal mode (active/always/none); and a default syntax setting. Implements updateActiveBlock(), clearDecorations(), decorateBlock(), editable .md-imgsyn labels, syncImgFromSyn()/commitImgSyn(), and helpers (richPlainText, activeImgSyn, caret/block helpers) to keep serialization and word count unchanged. Updates event handlers and key handling to support image-label editing, heading mark editing, backspace behavior at block start, and selection changes. Ensures getContent strips editable image labels before turndown and wires UI state updates throughout. * Text: add Notion mode with slash commands and document-aware AI (#260) Adds a toolbar toggle that enables a Notion-style "/" command menu in the Markdown editor. Typing "/" at a line start (or after a space) opens a filterable, keyboard-navigable menu to quickly insert blocks (headings, to-do/bullet/numbered lists, quote, code block, table, divider) and to run AI actions. AI actions feed the entire current document in as context and insert the generated Markdown at the caret, with an inline "Ask AI" prompt for free-form instructions plus presets (continue writing, summarize, brainstorm, outline). Generation is relayed through a new Text/ai.agi backend that calls the aimodel library; the AI endpoint/key are configured by an admin in System Settings. A new "Notion & AI" settings section lets users toggle the feature, pick a model (lazy-loaded from the endpoint) and set the temperature; all preferences persist alongside the existing editor settings. Claude-Session: https://claude.ai/code/session_01Xd4TY3ecHMDdG7es1JqbKo Co-authored-by: Claude <noreply@anthropic.com> * Revert "Text: add Notion mode with slash commands and document-aware AI (#260)" This reverts commit be21397ccf060ed4fe403c48fbe3d63d72669965. * Added advanced code block function to Text * Add code-language picker and blank-line handling Introduce a code-block language <select> UI and preserve runs of blank paragraphs through round-trip serialization. Add LANG_LIST and TextHL.languages(), ensure language selectors are appended to <pre> blocks (contenteditable=false and stripped on save), and wire syncLangSelector/ensureLangSelector/clearLangSelectors/onLangSelectChange. Implement renderWithBlankRuns() and expandBlankSentinels() to keep multiple empty paragraphs, switch marked.parse/getContent/renderedHTML to use these, and replace the previous &nbsp; sentinel with a ZWSP sentinel. Fix code-block editing by rewriting newline/delete logic to operate on the code textContent (insertNewlineInCode, deleteInCode) to avoid DOM fragmentation and caret issues; add protection for key handling when the language <select> has focus. Adjust decoration logic to avoid marking PRE as md-active and update syntax display rules. Rename/move backend modules under Text/backend (export.agi, filesaver.agi, imgtool.agi) and update ao_module_agirun calls to use the new paths. Add related CSS for the language picker and other small UI adjustments. * Add link editor and improve code highlighting Introduce an interactive link editor and inline editable link marks, replacing the previous CSS-only closing a::after pseudo-element with a real .md-linksyn element so link URLs are clickable/editable. Add link dialog UI (overlay, inputs, remove/cancel/OK handlers) and associated logic to insert/edit/remove links, preserve/restore selection, and avoid tearing down marks while edited. Enhance code-block highlighting: switch to relightCode/highlightCode with caret/selection preservation (selectionEndOffsetIn, restoreCaretIn), handle live re-highlighting on edits, language changes, and prevent stuck empty code blocks by exiting them (exitEmptyCodeBlock). Also fix caret placement when clicking below trailing code blocks (escapeTrailingCodeBlockClick), update serialization to strip .md-linksyn, and adjust toolbar/labels for the link action. * Add support for token access in webdav server X-Access-Token + X-Aroz-User now can be used to login webdav with autologin token instead of Basic Auth * Add CNN inference API support * Rename aimodel to llm and add LLM server pkg Replace the legacy "aimodel" library with a new "llm" library and introduce a dedicated aiservers/llm package. Key changes: - Rename library identifier from "aimodel" to "llm" across docs and backend scripts (README, AGI scripts, web backend examples). - Remove the old agi.aimodel implementation and add agi.llm (new AGI lib) plus agi.llm_test.go. - Add mod/aiservers/llm package with client, OpenAI/Anthropic adapters and types, and tests (client.go, openai.go, anthropic.go, types.go, and tests). - Update tests and module wiring to use LLMConfig/LLMPricing/llmDBTable and injectLLMFunctions where appropriate. - Minor updates to web demo backend/init scripts and API docs to reflect the new requirelib name. Notes: System Settings UI and routes retaining the original "AI Model" naming; only the requirelib identifier and internal Go types/DB table references were changed. This restructures wire-protocol logic into the new aiservers/llm package for clearer separation of concerns and easier protocol-specific handling. * Fixed #204 * Add text color change inline * Add free resize on select tool * Add Cine Studio, a Premiere-like timeline video editor webapp (#263) A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 Co-authored-by: Claude <noreply@anthropic.com> * Docker support (#264) * Updated Video Editor app to have more functionalities (#266) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Fix docker package build failure on FreeBSD and other unlisted platforms (#267) The docker package split its PTY console and host-stats helpers into build-tagged files that only covered linux/darwin/windows. FreeBSD (built by the Jenkins release pipeline for amd64 and i386) matched none of them, so startDockerExecPTY, hostStorageUsage and hostLoadAvg were undefined and the cross-platform release build failed. - console_unix.go now builds for freebsd too (creack/pty supports it). - console_windows.go becomes console_other.go, a catch-all (!linux && !darwin && !freebsd) stub covering windows and any other GOOS. - host_darwin.go becomes host_bsd.go (darwin || freebsd); the Statfs-based storage helper works on both. - Add host_other.go, a catch-all fallback so the package builds on any remaining GOOS. Also expand the CI cross-compile smoke test to cover the full release matrix (including freebsd/amd64 and freebsd/386) so a platform-specific break is caught in CI instead of only in the release build. Claude-Session: https://claude.ai/code/session_01L4oR1xiTxpcfwYjRgi4RGh Co-authored-by: Claude <noreply@anthropic.com> * Added playwright e2e tests for cine studio (#268) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Claude/arozos playwright tests for arozos (#269) * Add full-stack Playwright E2E suite for ArozOS critical paths Extend the Playwright harness (previously Cine Studio only) with a 'system' suite that drives a real ArozOS server built from src/: - lib/arozos-server.js boots a disposable isolated instance (.instance/: web symlink + private system copy) and bootstraps a deterministic admin account at the zero-user state - lib/system-harness.js shares login (form + API), CSRF, JSON and pass/fail helpers; each spec also runs standalone - specs-system/ covers the critical paths: 010 sign in / sign out (form render, bad credentials, session persistence, gated redirects, logout, retry delay) 020 desktop shell (task bar, start menu, module list, quick access panel identity, UI sign-out) 030 file explorer (File Manager UI render + full file lifecycle: create, rename, copy, move, properties, recycle/restore/clear trash, permanent delete, CSRF enforcement) 040 system settings (settings UI, catalogue groups, admin-only modules, host info, permission group listing) 050 user management + permission control (group CRUD, user CRUD, restricted-user module visibility, admin-only endpoint denial, administrator group protection) - run.js orchestrates both suites; npm run test:static / test:system - CI workflow now builds the Go binary, triggers on src/** changes and uploads the server log on failure Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 1 E2E spec and coverage roadmap - specs-system/060-webapps-core.js: smoke + interaction coverage for the highest-importance WebApps (NotepadA, Text, Photo, Music, Video, PDF Viewer, Zip File Manager) against the real server, including opening a real file in NotepadA via the desktop hash convention - README: document the ranked 44-WebApp inventory and the wave order for upcoming specs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 2 E2E spec (office/productivity) specs-system/070-webapps-office.js: smoke + interaction coverage for Code Studio, MDEditor, Calendar, Notes, Memo, Reminders, OfficeViewer and Dashboard against the real server, including opening a real Markdown file in MDEditor via the desktop hash convention and probing Dashboard's live system-info data source. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 3 E2E spec (media/creative) specs-system/080-webapps-media.js: smoke coverage for Musicify, Movie, Manga, Paint, Pixel Studio, Audio Studio, Camera, Recorder and FFmpeg Factory against the real server, plus a probe of the storage data path the media library apps browse. Cine Studio keeps its own deep static suite and is not repeated here. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 4 E2E spec (utilities/dev/network) + close roadmap specs-system/090-webapps-utilities.js: smoke coverage for Calculator (incl. a real 7+8=15 calculation through the UI), Clock, Browser, Speedtest, Web Downloader, Web Builder, SQLite Admin, Terminal, AGIForge, AIChat, OTPAuth, Productivity, OnScreenKeyboard, Arozcast, Management Gateway, UnitTest, CronDemo and Serverless. This completes coverage of all 44 WebApps under src/web across four waves. README updated to reflect the full map; full suite (13 spec files: 4 static + 9 system) passes end to end. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add deep file-transfer critical-path spec (upload/download/search/share) specs-system/035-file-transfer.js extends the file-explorer coverage with the transfer features that move real bytes: - multipart upload of a real file - media download with byte-exact round-trip verification - file search by keyword - share-link lifecycle: create, list, anonymous direct download via /share/download/{uuid}/ (byte-exact) + preview page, then delete and confirm the share is revoked Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add account password-change critical-path spec specs-system/055-account.js exercises the My Account flow on a dedicated throwaway user (keeping the shared admin login intact): account settings UI render, userinfo identity, wrong-old-password refusal, successful change, and that afterwards only the new password signs in. README updated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop backend API spec (every /system/desktop endpoint) specs-system/021-desktop-api.js covers the full desktop.go API surface with the exact request shapes desktop.html uses: host/device details; user self-info (quota/groups/admin), another user's public info via ?target, and noicon; theme listing + set/get round-trip; preference set/get/remove; createShortcut + listDesktop metadata; icon location files set/get/del; and renameShortcut incl. off-desktop rejection. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop UI shell spec (clock, panels, start menu, search, icons) specs-system/022-desktop-ui.js drives the real desktop.html: wallpaper frame mounts, the taskbar clock shows a formatted time, the quick access panel carries the user identity, the start menu opens with module entries, its search box narrows the list and reports No Result for gibberish, the notification bar toggles from the clock, and an API-seeded shortcut renders as a desktop launch icon. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop float-window + context-menu spec and update README specs-system/023-desktop-windows.js drives the desktop window manager and right-click surfaces using the app's own globals and real clicks: openModule spawns a float window with a taskbar entry; newFloatWindow creates addressable windows; focus raises z-order; maximize/restore, minimize and close all work; and the wallpaper + icon context menus open with the expected entries. Desktop coverage is now three specs deep (API 021, UI 022, windows 023) on top of the original 020 shell smoke test. README layout updated. Full system suite (14 specs) passes together. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow --------- Co-authored-by: Claude <noreply@anthropic.com> * Video Editor Cline Update (#270) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * New webapp RAW Editor (#271) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Hand off developed image to Pixel Studio on Done Repurpose the Raw Editor's "Done" action into a hand-off: it now writes the current develop to a temporary JPEG (tmp:/RawEditor, auto-cleared by ArozOS) and launches Pixel Studio as a float window with that file as its input (matching Pixel Studio's ao_module_loadInputFiles hash format), then closes the Raw Editor window. Falls back to the normal Save dialog when running outside the ArozOS desktop. The bottom-bar button is relabelled "Open in Pixel Studio". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Redesign Raw Editor UI to match the newer Lightroom / Camera Raw layout Rework the develop panel into the 2024 Lightroom-style layout: - Thin centred title bar with open / save / reset / fit icons. - Borderless histogram with shadow/highlight clipping indicators and an EXIF readout (ISO, focal, aperture, shutter). - "Edit" header carrying Auto (auto-tone) and B&W (treatment) pills. - Profile selector row. - Collapsible Light / Color / Effects / LUT groups, each with a chevron to fold and an eye toggle that bypasses that group's adjustments. - Lightroom slider rows: label + right-aligned editable value on one line, thin track below, with coloured gradient tracks for Temperature (blue-> yellow), Tint (green->magenta) and Vibrance / Saturation. - White-balance eyedropper wired to auto white balance. - Bottom bar with a live filmstrip thumbnail, Fit / 100% zoom, an underlined dimension readout and Cancel / Open in Pixel Studio actions. - Decorative panel-selector strip on the right edge. Pipeline: add Texture (fine local contrast), Vignette (radial) and Grain (post noise) controls to the WebGL develop shader to complete the Effects group, plus per-group bypass handling in the parameter builder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add ArozOS-backed LUT library with a managed folder LUTs can now be managed through the user's ArozOS storage instead of only one-off browser uploads: - On first use the app creates a "user:/RawEditor/LUTs" folder (via the file_system newItem endpoint with a CSRF token). Users can drop .cube files into it with the Files app. - The LUT panel scans that folder (listDir) and lists every .cube in a "Library" dropdown; picking one reads it back through the media endpoint, parses it and applies it live. A refresh button re-scans on demand. - "Import .cube to library" still loads a local file immediately and now also uploads it into the library folder so it persists and reappears in the list next time. - Selecting a LUT re-enables the LUT group (clears any eye bypass); the hint line reports how many LUTs are available. Falls back gracefully to local import when running outside the ArozOS desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add scroll-zoom and right-drag pan; remove unused UI - Scroll wheel now zooms the photo, centred on the cursor, and the current zoom level is shown in the status bar. Fit / 100% buttons reset the view. - Right-mouse (or middle) button drag pans the image; the browser context menu is suppressed over the canvas. The view re-fits on window resize. The canvas is now transform-based (translate + scale) instead of the old fit / 1:1 CSS toggle. - Removed the Profile dropdown (no camera profiles in this pipeline) and the decorative right-edge tool strip, so the panel only shows working controls. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Pan with left mouse button and fix LUT dropdown overflow - Change canvas panning from right-drag to left-mouse (and middle) drag, with a grab / grabbing cursor over the image. The context menu is no longer suppressed. - Fix the LUT Library dropdown (and any select) overflowing the panel when an option label is long: give .mini-select min-width:0 so it can shrink inside its flex row instead of stretching to the widest option. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Load EXIF from JPEG APP1 so shooting info shows reliably Some RAW files (and any plain JPEG) did not populate the ISO / focal / aperture / shutter readout under the histogram. The cause: when the RAW's outer TIFF structure fails to parse, the image still loads via the brute-force embedded-JPEG scan, but the metadata comes back empty. Add a JPEG APP1 EXIF reader (the APP1 payload is itself a TIFF block, so it reuses the existing TIFF parser) and use it to: - read EXIF for plain JPEG images, and - fill any missing EXIF fields from the embedded preview for RAW files, which rescues shooting info when the main TIFF could not be parsed. Also harden applyMeta so the EXIF line is written before the window-title call and a title error can no longer suppress it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Match Photoshop LUT rendering: tetrahedral interpolation + true sRGB The same .cube LUT looked cyan/teal-shifted compared to Photoshop. Two causes, both fixed: - Interpolation: the 3D LUT was sampled with GPU trilinear filtering, which introduces a cyan/green cast on film-style LUTs. Switch the LUT textures to NEAREST and do proper tetrahedral interpolation in the shader — the same method Photoshop's Color Lookup and Resolve use. - Transfer function: encode to display with the true sRGB OETF instead of a plain 2.2 gamma. This exactly inverts the sRGB decode applied to 8-bit sources, so the values fed into the LUT match what Photoshop feeds it (previously the mismatch shifted shadow tones the LUT is sensitive to). Also honour the LUT's DOMAIN_MIN / DOMAIN_MAX when sampling. Verified in-browser: an identity LUT now passes through unchanged (exact tetrahedral), a channel-swap LUT swaps correctly, and a constant LUT maps to the constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Harden RAW EXIF parsing for real camera files Improve the chance that ISO / focal / aperture / shutter show for real RAWs (e.g. Sony ARW), which kept the readout blank: - Scan every embedded JPEG for APP1 EXIF, not just the largest preview. Sony keeps EXIF in the small thumbnail while the full-size preview has none. - Stop recursing the MakerNote (0x927C) as if its bytes were IFD offsets — that could be pathologically slow / derail a clean parse on real files; EXIF is reached through the standard ExifIFD (0x8769) pointer. - Cap IFD entry counts (>4096) to bail out of parsing stray/garbage offsets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Fix RAW preview selection: never decode CFA raw as the preview image On real Sony ARW files the develop view hung and EXIF stayed blank. Root cause: the CFA raw plane is a lossless-JPEG-compressed stream that also starts with 0xFFD8, and the embedded-preview finder picked it as the "largest JPEG" (31 MB) and handed it to the browser to decode as an image. The browser cannot decode lossless JPEG, so decoding stalled and the pipeline never reached the metadata display. Fixes: - Ignore CFA / raw IFDs (Photometric 32803) when hunting for a preview JPEG. - Only accept a range that is a real JPEG (SOI at the start AND EOI at the end) via a looksLikeJpeg() check, so a truncated raw stream can't be chosen. - Cap the brute-force SOI/EOI scan span so raw bytes containing 0xFFD8 can't yield a multi-megabyte junk range. With this, ARW files pick the correct full-size preview, the image loads, and ISO / focal / aperture / shutter populate under the histogram. Verified against a real 25MP Sony ILCE-6700 ARW end-to-end in the browser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 --------- Co-authored-by: Claude <noreply@anthropic.com> * RAW Editor - LUT Preview update (#272) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: Claude Opus 4.… * Add shortcut editor and switch to bbolt Refactor desktop HTTP handling into a dedicated service package and add end-to-end shortcut editing: editable URL/folder/module targets, launch options, custom or preset icons, and a new desktop context-menu entry with localized UI. Migrate mod/database from boltdb to go.etcd.io/bbolt, including one-time import of legacy fsdb data, consolidated database tests, and removal of old race-test skips now that the database backend works under -race. Docs were updated to reflect the backend change and current race-testing status. * Support shared docs and HTML media assets Extend Office container handling to embed and resolve asset references inside Docs HTML (`src`/`poster`), not just whole-string fields, with safer asset extension handling and new Go/JS tests for pack/unpack symmetry. Add standalone Office support for `?request=<share link>` by introducing `common/share.js`, wiring share fetch/open flow through home/platform pages, and loading the helper in app entrypoints. Update share preview responses to expose an inline `Content-Disposition` filename for cross-origin consumers, and refresh related docs plus Office web build/launch path references. * Switch Office native files to OOXML formats Migrates Office’s native save/open flow from .doca/.xlsa/.ppta containers to .docx/.xlsx/.pptx with embedded ArozOS envelopes, plus new AGI APIs (`saveDocument`, `loadDocument`, `readPayload`) and updated backend/wasm wiring. Adds fidelity improvements across converters (DOCX comments/tracked changes and media links, XLSX conditional formatting/tab color/filter range, PPTX transitions/click links) and updates app docs/templates/UI associations to the new model. Includes broad new tests for AGI bindings, native package behavior, review markup, conditional formatting, and wasm/native round-trips. * Persist editable startup flags Store runtime-editable startup flags in the system database and restore them during boot, while keeping explicit command-line flags authoritative for that run. This also adds validation and tests for flag merging, and refreshes the SystemAO runtime page to reflect the new persistent behavior with clearer controls and updated localized strings. * Add container apps and office fixes Introduce Container Apps: a built-in reverse proxy for publishing container web UIs on /app/<slug>/ or dedicated hostnames, with admin/user APIs, Docker Manager publishing, desktop shortcut support, and a new management web app. Also harden the Office stack by moving editor workdirs to tmp with lifecycle cleanup, preventing saves when linked media has expired, and improving document fidelity across DOCX/XLSX/PPTX/ODP handling. Slides now preserve line dash/end styles, picture frames, and callout adjustments, with matching UI, PDF export, and tests. * Fix frozen pane selection overlays Keep sheet selection overlays visible and clipped correctly when frozen rows or columns are active. This adds mirrored range, spill, and fill-handle overlays inside each frozen pane, reuses shared overlay placement logic, and lets fill drag interactions work from the mirrored handles as well. * Fix SSDP shutdown race and make Close idempotent Refactors SSDP host lifecycle to stop the alive loop cleanly before/while closing the advertiser, preventing post-close Alive calls that could panic during shutdown (e.g., Ctrl+C). `Start` now uses a ticker with explicit quit/done signaling, and `Close` is guarded with `sync.Once` so repeated calls are safe and non-blocking. Adds a regression test to verify the alive loop exits on close and that calling `Close` twice does not hang or panic. * Harden HLS streaming and MSE recovery Fixes multiple HLS playback issues across transcoder and Movie player flows. The transcoder now forces forward-slash HLS output paths so ffmpeg writes init.mp4 into the correct session directory on Windows, and adds NVENC `-forced-idr 1` to keep segment boundaries aligned with forced keyframes for responsive seeking. On the frontend, the custom HLS MSE player now better mirrors native HLS behavior (playlist-length seekable range), adds segment retry/timeout logic, safer cursor retargeting on seek, append/trim coordination, and a stall watchdog with gap jumping and bounded recovery before surfacing failure. Movie pages now handle MSE stream-loss events explicitly, stop old media immediately when switching streams, and only show failure toasts after retry limits are exhausted. * Refine file explorer upload panel Improve the file explorer's upload UI with a compact minimized card that stays above the status bar, adds restore/close controls, and preserves panel state until the queue is cleared. The summary now shows a dedicated overall percentage and uses byte-weighted progress when task sizes are known so the ring matches the transferred totals. Also increases the upload chunk size from 512KB to 1MB. * Share chunked upload engine across clients Extract low-memory WebSocket upload logic into a new shared `script/chunkupload.js` module and wire both File Manager and Desktop to use it. The new uploader centralizes CRC32/checksum handling, pipelined windowed chunk sending, pause heartbeat, and retry/timeout behavior. Server-side low-memory upload handling is tightened to accept chunks only at the expected index, dropping duplicate or out-of-order chunk frames to keep progress/accounting and full-file checksums correct. * Add rich text RTF mode to Text editor Introduce full .rtf support in the Text web app with a new rich-text mode and dedicated toolbar actions (underline, colors, highlight, font size, alignment). Add `rtf.js` as a self-contained RTF parser/serializer with HTML conversion, Unicode/code-page handling, tables/lists/images, and image inlining for save/export. Update load/save/open/export flows and mode switching so markdown, rich text, and plain text coexist cleanly, and register `.rtf` in the module supported extensions. * Add experimental email client * Enhance Mail windows, caching, and sync Refactors the Mail WebApp to support dedicated compose and message windows, shared cross-window helpers, and BroadcastChannel-based state updates so drafts, sends, and message changes stay in sync across open views. It also adds list/message caching with background refresh and prefetching for faster navigation, improves menu UX with nested submenus, and updates rendering/theme behavior plus flat visual styling. The AGI runtime is bumped to 3.8 and the email library is fully documented in both `mod/agi/README.md` and Terminal API docs. Desktop float windows also gain a focus-cover mechanism (including container apps) so background windows can reliably be brought to front on first click. * Remove Playwright E2E test suite Delete the entire `test/e2e/playwright` harness, including the Node runner, shared helpers, package metadata, and all Cine Studio and full-stack system spec files. This cleans out the legacy browser E2E setup that is no longer being maintained or used. * Add test case to gitignore * Add local to docker apps * Add metafile rendering and native Office host Implement WMF/EMF support in the Office import pipeline by detecting Windows metafiles, rendering them to browser-safe PNG/JPEG output, and wiring this into DOCX/PPTX/ODT/ODP readers. The change adds a full metafile renderer (drawing primitives, text, transforms, DIB decoding, raster ops) plus focused tests for decoding, rendering behavior, and import integration. Also introduce a new `native` Office host mode for desktop shells via `common/native.js` and `platform.js`. This adds native file open/save handling, native recents, multi-window document behavior, native print flow, and close-confirmation hooks, with corresponding app/home UI updates and contract/docs updates. * Optimized Pixel Studio UI * Add Office ribbon and style round-trips Introduce a shared ribbon UI for Docs, Sheets, and Slides with new common icon and drawing helpers, responsive/mobile behavior, and app-specific commands such as format painter, slide overview, and richer editing controls. On the backend, extend Office format support so Sheets round-trips font family, strikethrough, and vertical alignment through XLSX/ODS, and Slides preserves superscript/subscript baselines in PPTX. Add tests covering the new cell style and rich text behavior. * Improve Slides shape draw UX and hit testing Shape insertion now matches PowerPoint-style flow: choosing a shape arms draw mode, dragging defines its bounds, Shift preserves catalog proportions, and click-to-place drops the default size. The update also refactors shape defaults/props setup, auto-scrolls active thumbnails during keyboard navigation, and adjusts line pointer-events so only the stroke is hittable (allowing clicks through the bounding box). UI polish includes presentation icon alignment tweaks, thumbnail scroll margin, and simplifying the image tools bar by removing the redundant "Edit image" label. * Fix docs panel placement and footnote backspace Adjust Office Docs panel positioning so the find/comments panels align to the right edge and dynamically track the toolbar’s bottom as the ribbon resizes. Also add empty-footnote handling: pressing Backspace in a footnote that only contains its number now removes the footnote and all its references, restores caret position at the first reference, and refreshes document state/counters. * Overhaul file sharing with secure multi-link Refactors the share subsystem into dedicated manager/API/access modules and upgrades share entries to support multiple links per path, per-link settings, persistence-safe expiry cleanup, and password-protected access with signed unlock cookies and rate-limited attempts. Adds editable folder-share uploads, invite notifications, and new share APIs for create/update/info/recipients while keeping legacy endpoints compatible. Updates AGI share timeout semantics to create true expiring shares, refreshes docs, and rewrites the File Manager share dialog/UI (quick/advanced/permissions flows) plus public share pages to honor download/list/expiry settings. Also adds comprehensive tests for share options, manager behavior, notifications, access/session logic, and upload sanitization. * Improve Office import fidelity and ship document fonts Tune the pptx/docx/odp import, editors and PDF export against reference renderings. Slides (Go): keep the deck's slide shape (960x720 for 4:3) in the pptx/odp readers and writers. Add picture/gradient backgrounds and fills, alpha colours, custom geometry, table styles with merged cells and per-cell anchoring, SmartArt drawings and inline Office math. Map symbol-font bullets and text to Unicode. Use PowerPoint's text layout rules (whole-point autofit sizes, line-based paragraph spacing, spcFirstLastPara, group scaling that leaves type alone). Do tint/shade in linear light. Write the new looks back out on save. Docs (Go/JS): keep the paragraph mark's decoration off the text, collapse auto spacing between paragraphs and inside lists, and add proportional CJK punctuation. Page numbers with no stored result are kept. Merged table cells are split across page cuts. Paragraph styles can apply to a selection within a paragraph. Layout is redone straight after style edits. Tab leaders are fixed. Fonts: ship about 40 open font families (Carlito, Caladea, Arimo, Tinos and others, OFL/Apache) and add OfficeFonts.substitute(). It draws missing fonts as metric twins or width-scaled stand-ins with PowerPoint line metrics. PDF export embeds the same faces and disables ligatures. Tests and docs: add docx and pptx render tests; update README, CONTRACT and the fonts README. * Refactor office system * Improve Office import titles and link removal Preserve the original filename in Office titles for read-only imports until the document is saved to its own path, while still suggesting the native Office extension on save. Also refactor Docs link removal into a shared helper and make the editor context menu offer “Remove link” directly when right-clicking an existing link. * Enhance slide fidelity and shape adjustments This updates the Office slide pipeline end-to-end so editing, PPTX import/export, and PDF output stay visually consistent. It adds placeholder role support (`ph`) with proper PPTX round-trip behavior, preserves and writes shape/picture adjustment guides (`adj`) including shaped image crops, and expands shape geometry/handle logic across many presets. PDF text rendering is also made more accurate: text-transform and letter-spacing are honored, synthetic bold/italic are measured per browser, ignorable code points are skipped, and unsupported glyphs are rasterized per character in-place instead of rasterizing whole text objects. The patch also improves image embedding fallbacks (GIF/WebP/BMP/SVG paths), updates UI behavior for empty placeholders/cursors/adjust handles, and adds fidelity/render tests plus related Office docs updates. * Fix weighted face handling in Office text/PDF Stop inferring run `font-weight` from weight words in typeface names for ODP/PPTX readers; only explicit bold flags now emit `font-weight:700`. Add regression tests for run CSS and SemiBold round trips. Update Office font substitution/PDF resolution so weighted substituted families (e.g. SemiBold mapped via bold files) carry a `heavy`/`bold` signal through segmentation and face selection, preserving correct export rendering. * Use Cmd for multi-select in File Manager on Mac On macOS, Ctrl + click is a right click, so Ctrl could not be used to multi-select. The primary modifier is now Cmd on Mac and Ctrl elsewhere, in both the file selector and the File Manager. - Add isMacOS, isPrimaryModifierKey and hasPrimaryModifier helpers, and read modifier state from the click and key events themselves. - Reset stuck modifier flags on window blur (e.g. Cmd + Tab). - Ctrl + click on a Mac now selects the target before the context menu opens. - Add Finder-style shortcuts: Cmd + Backspace deletes, Cmd + Option + Backspace force deletes, and Cmd + Down opens the selection. - Show Cmd glyphs in the shortcut hints. - Ignore browser shortcuts and lone modifiers in type-to-search so they no longer clear the selection. * Allow AGI scripts via any module from their folder Backend .agi scripts were only reachable by users with permission to a module named exactly like the script's folder. Apps that register several modules from one folder (Office/ -> Docs, Sheets, Slides) could not reach their shared backend scripts. Modules now record the folder they were registered from (ModuleInfo.SourceFolder, never serialized to JSON so a module cannot claim another app's folder). CheckUserAccessToScript grants access if the user can use a module named after the folder or any module registered from it. The gateway gets a ModuleFolderResolver for this, and ModuleRegisterParser now receives the source folder. Init scripts run through the new Gateway.RunWebAppInitScript, which replaces RunScript, so the module activator also records the source folder. Subservices set SourceFolder on launch. Scripts outside the scope are now rejected. Added tests and updated CLAUDE.md. * Add skipped (hidden) slides to Office Slides Add a Slide.Hidden flag ("Skip slide") that the slide show walks past while the slide stays in the deck and every export. File formats: pptx reads and writes <p:sld show="0">, odp reads and writes presentation:visibility="hidden" on the drawing-page style, and ppt reads the fHidden flag (import only). Editor: slide menu and Slide Show tab toggle, faded rail and overview previews with an eye-slash icon, "(skipped)" in the status bar. present.js skips hidden slides for next/prev/Home/End and the presenter view's next slide. Click links and the Preview buttons can still open a skipped slide. Also fixes menu icon vertical alignment. Desktop: use Cmd instead of Ctrl as the multi-select modifier on macOS, add Cmd+Backspace to delete, ignore Delete while typing in a field, and reset modifier state on window blur. Docs and tests are updated for the new flag. * Redesign interface selector and add startup setting Rebuild the post-login interface selector with a card layout, dark mode support, localization and the ArozOS logo. The remembered choice is validated against the user's available interfaces, and the selector can be forced open with ?switch. Add a Startup Interface page in Desktop settings to pick or clear the remembered workspace, or switch now. Hide Interface Module entries (Desktop, Dashboard) from the desktop, mobile and Dashboard app launchers. System Settings cards now show localized descriptions (desc/<group>/<name> keys), with translations added for all supported languages. Management Gateway's Switch Services link now opens the selector with ?switch. Fix typos in two setting descriptions. * Fix ziplib array sources, tar.gz panics; doc filelib binary Otto exports a JS array of strings as []string, which the ziplib create functions and 7z path parsing did not handle. Arrays were rejected or silently ignored. Add ziplibSourceList and a []string case in szParsePathsArg, and fail with "invalid source format" for unsupported values. Use archiver.NewTarGz() instead of a zero-value TarGz, which panicked because its embedded Tar was nil. filelib: attach readBinaryFile and writeBinaryFile to the JS object, so scripts can call them, and document both in the README. Raise a proper "File not exists" error instead of a nil error in the missing-file path. Add tests for filelib binary I/O, ziplib sources, create/extract round trips and partial zip extraction. * Update api.json * Add experimental Drive interface module * Add Gerber Viewer * Reorganize start menu categories and groups Rework desktop start menu categories: Network, Engineering, Development, System, Utilities and Container Apps replace the old Download/Files/Settings/Tools set, with updated locale strings in all languages. Add modules.IsUniversalGroup so Utilities and System Tools stay open to every user, and use it in RegisterModule. /system/appproxy/apps now returns a Containers flag, backed by a new Options.ContainersAvailable callback (true when Docker is usable), so the desktop shows Container Apps only on hosts that run containers. Move SQLite Admin to Development and Web Downloader to Internet. Document the Group rules in CLAUDE.md, add tests, and clarify the ao_module_getSystemThemeColor comment. Also adds a local drive-test-node launch config. * Updated PDF Viewer - Updated PDF Viewer - Fixed a few Drive bugs and optimization of launch process * Add PDF spreads; restyle Musicify Now Playing PDF viewers (Drive and PDF Viewer): add a page layout menu (automatic, single, two pages, two pages with cover alone). Automatic follows the document's /PageLayout. Spreads fall back to single pages on narrow views. Fit width/page, prev/next, keyboard navigation and resize handling are now spread-aware. Add a spread icon and localized strings in all languages. Musicify: restyle the embedded player and Now Playing overlay to match the Drive music player, using stroked SVG icons, a blurred cover backdrop, a white play button and a thin seek bar. Add a spectrum visualizer (skipped on iOS/iPadOS), a scrolling marquee for long titles with a settings toggle, and a purple theme when there is no cover art. Drive: small mobile CSS fixes for the sidebar, theme cards and popover. * Removed legacy Office Viewer * Add Musicify equalizer and float window min size Musicify: add a 10-band equalizer view with presets, pre-amp, a response curve and per-device persistence. It is built on Web Audio biquad filters ahead of the analyser and is hidden on iOS and Safari for macOS. The Now Playing overlay moves out of the scrolling area into a new .main-wrap, so it no longer needs scroll-offset handling or height compensation. Desktop: float windows get an optional minimum size, set through the minWidth/minHeight config on newfw or at runtime with ao_module_setWindowMinSize(). Resizing respects the minimum and clamps it to the screen. Drive and mobile get no-op stubs for setFloatWindowMinSize. Musicify uses the new API to set a 400x480 minimum, and examples/README.md documents it. * Exclude per-install secrets from release tarball and repo * Fixed icon duplicate bug * Fix FTP root listing and WebDAV lock persistence FTP: serve the root directory and README.txt from a read-only in-memory filesystem instead of writing placeholder folders into a per-user tmp buffer. This removes the tmpFolder parameter from NewFTPHandler and the driver, and rejects writes to the root. Storages are rebuilt on each root access, so newly mounted or closed ones appear immediately. Tests added. WebDAV: share the lock system per user and root across requests. The handler is rebuilt per request, so macOS Finder's LOCK followed by a PUT with the lock token in an If header failed with 412 and left a 0 byte file. Tests cover the shared lock system and a LOCK-then-PUT flow across requests. * Rework WiFi: native WLAN API, rich scan data, new UI Replace Windows netsh parsing with native wlanapi.dll bindings (language and code page independent) and decode binary WLAN structures in portable, tested Go. Add 802.11 information element parsing (security, PHY/Wi-Fi generation, channel width, MIMO streams, estimated max rate, BSS load, WPS, roaming) shared by all platforms. On Linux, replace the ad hoc iwlist parsing with tested parsers for iwlist and `iw link`, and add interface status with rfkill, IP and gateway info. Mark the connected BSS in scan results. Darwin and FreeBSD get stubs for the new methods. Extend WiFiInfo with the new fields and add WiFiInterfaceStatus. wifi.go now accepts an `interface` parameter on scan, returns per-interface status plus capability flags from wifiinfo, and fixes a missing return in the remove handler. Rewrite wifi.html and wifiinfo.html without jQuery: channel map, sortable and filterable network list with detail panels, live signal gauge and an interface selector. File Manager: ignore stale search results after leaving search, navigating or starting a newer search. Fix upload retry appending the Firefox subpath twice. Move Linux-only tests to wifi_linux_test.go and close the test DB so Windows can clean up temp files. * Redesign System Settings * Removed legacy Raw Editor Raw editor has been included in Pixel Studio, independent app is now removed * Add system font library and move locale files Add a per-language system font library and serve the system locale files from ./system/locale instead of the web root. - New mod/locale serves /SystemAO/locale/* and renders each user's locale JSON with their chosen font (fontFamily, systemFont, fontCSS), falling back to the old web/SystemAO/locale path. - New mod/locale/fonts reads TTF/OTF/WOFF/WOFF2 uploads, cuts large TrueType fonts into on-demand WOFF2 slices with disjoint unicode-ranges (including GSUB closure), and stores per-user and admin-default font choices. - Add /system/fonts/{list,preference,default,upload,delete} endpoints and a System Fonts page in System Settings (LocaleInit wired from startup). - applocale.js links the font style sheet and applies the system font through CSS rather than inline styles. - System Settings pages use var(--ss-font, ...) so they follow the chosen font; the sidebar now starts with groups folded. - File Manager: fix duplicate uploads on folder drops, auto-retry dropped large uploads once, lower upload concurrency to 2, and defer resize handlers until scripts load. - Module manager: reserve space so the detail panel does not make the page jump. - Update docs and paths to src/system/locale; clear system/cache in the release build. * Serve all storages under one WebDAV root WebDAV now exposes a single endpoint at /webdav/ whose root is a read-only virtual listing with one folder per storage, named by its UUID. This mirrors the FTP server. Paths below a storage folder go to that storage's adapter, so the old /webdav/{vroot_name} URLs still work. Add RootFsWebDAVAdapter. It blocks create, delete and rename at the root level, and supports moves between storages by copying then removing the source. Lock systems are now shared per user instead of per user and root. The bare /webdav path is served as the root instead of returning 404. WebDavGetEndpoints returns one endpoint, and the setup instructions are updated. Add tests for the root adapter, endpoints and root handling. * Musicify: skip Web Audio on macOS Safari Safari on macOS stops honouring the <audio> element's volume once playback is routed through Web Audio, so the volume slider did nothing there. _webAudioUnsafe() now also returns true for macOS Safari. The spectrum is disabled there and the synthetic visualizer path is used instead. The equalizer follows spectrumSupported, so it is also unavailable on Safari. The Safari-specific guard inside the EQ chain setup is removed, since that code is no longer reached on Safari. Comments are updated to match. * Fixed typo * Removed pdf reader close button in PDF Viewer * Fix trash bin leftovers and audio viewer layout Trash: only entries named <name>.<unix time> directly inside a .trash folder are now treated as trashed items. Thumbnail leftovers such as .metadata and .DS_Store no longer show up as undeletable nameless entries. A new helper removes a .trash folder once no trashed item remains, and it is used when restoring, clearing, expiring and deleting from the trash bin. Tests are added in file_system_trash_test.go. Audio viewer: the cover art and controls now sit in a scrollable .ap-stage, so a short window no longer clips them. The art shrinks, and then hides, as the window gets shorter. On narrow screens the queue moves under the player and the whole page scrolls, so the queue toggle button and its JS handler are removed. * Add docker manager locale * Remove IoT Hub; localize settings pages Remove the IoT subsystem: mod/iot and its protocol handlers (HDS, HDSv2, Sonoff), the AGI `iot` library, the IoT Hub web app and settings page, example/unit-test scripts, and related docs and locale strings. The `-allow_iot` flag is still accepted but ignored, so existing launch commands keep working. The settings group is renamed from "Devices & IoT" to "Devices". Also included: - Localize the Notification and Screen Share Relay (TURN) settings pages with new locale files. - Rework the Module List page into a responsive list. - Make the Group, Locale, Theme and Network pages work better on narrow screens. - Patch the WiFi info DOM in place instead of replacing it, so refreshes no longer reset scroll or the signal animation. * Make zip and unzip responsive to pause/cancel Consolidate the duplicated zip implementations into ArozZipFileWithProgressAndCompression, which now reports through a progressReporter during the folder scan, between files and while streaming large files. Pause and cancel therefore take effect promptly instead of only after a scan or file finishes. A cancelled or failed archive is now removed rather than left half written. Unzip also listens for pause/cancel while extracting large files. The SFTP and SMB Walk implementations now honour the callback's return value (stop on error, SkipDir), so a cancel can interrupt a walk on those filesystems. runFileOperationTask no longer treats a user cancel as a failure and cleans up buffers on a zip error. The cancellation check moves into a fileOperationCancelled helper. Tests added for zip/unzip cancel, pause and the helper. * Fix File Manager when current folder is deleted When a folder was removed by another window or client, the directory hash endpoint did not report an error, so the File Manager stayed on a missing path. Backend: system_fs_handleDirHash now returns "Directory not found" if the path no longer exists or is not a directory. Frontend: getDirHash handles this error by walking up to the nearest existing parent directory and listing it, using the new returnToExistingParentDir and getParentDir helpers. It falls back to user:/ and reloads the side bar roots if the whole root is gone. This replaces the previous page reload. * Update go.mod * Move trash to a single root .trash folder Trash scans used to walk the whole drive looking for per-folder .metadata/.trash directories. Each file system root now keeps one .trash folder, and a removed item keeps the folders it came from with the removal time appended: user:/foo/bar/a.txt -> user:/.trash/foo/bar/a.txt.<unix time> Scans read only that folder and never look inside trashed folders. Folder names on the way that look like a trashed item ("backup.2024") get a "~" appended so the mapping stays reversible. Changes: - Add helpers to map between original and trash paths, scan a root's trash, and prune folders left empty. - Rework list, scan, restore, clear, nightly expiry and recycle to use them. - Restore now checks write permission and refuses to overwrite an existing item. It recreates the original folder if it was removed. - Recycle rejects items already in the trash and the root folder. - Drive storage analysis walks the new .trash location. - Replace the old trash tests with tests for the new helpers and scan/prune behaviour. Items trashed under the old per-folder .metadata/.trash layout are not migrated. * Add drop indicator and resizable details columns File Manager drag and drop: - Highlight the folder a drop would land in and show a hint pill naming it (upload / move / copy). - Refuse drops of a folder into itself or its subfolder, and skip items already in the target folder, before the request is sent. - Fix dropToFolder so it parses the payload safely and stores the correct cut mode. Details view: - New columns.js lets users drag header cells to reorder columns and drag the grip between headers to resize; double-clicking a grip resets the widths. - Order and widths are saved per user under file_explorer/detailsColumns. - Rows and header render in the saved column order. Adds the new strings to the file_explorer locale in all five languages. * Add Docs table of contents with DOCX round-trip The Docs editor's table of contents is now a titled, updatable table framed by an "Update table" tab. Ctrl+click on an entry jumps to its heading, and the table keeps the heading range of an imported field instead of resetting it. DOCX writer: wraps TOC lines in Word's Table of Contents building-block control with a `TOC \o "1-N" \h \z \u` field. It also emits the `TOC Heading` and `toc 1..9` styles so Word can update the table itself. DOCX reader: recognises Word's TOC styles, so `TOC Heading` is read as a title rather than a Heading 1. Google Docs writes no TOC styles, so entries inside a TOC field are detected by their content and take their level from the heading they link to. The field's range is preserved as `data-toc-max`. Also adds tests and README docs, skips the overlay in PDF export and print, and adds locale strings to file_explorer.json for drag-and-drop messages and column resizing. * Add table of contents options panel to Docs Add a side panel, opened from a new "..." button on the TOC tab, for styling a table of contents. It offers a format (plain, dotted, links), page numbers, tab leader, link colour, bold top level, and which heading levels are listed with per-level indents. The look is stored as JSON in data-toc-cfg on every entry, so updates and saves keep it. Tables without one infer it from how their lines look. Entries now link to their headings through generated _Toc ids. The docx writer reads data-toc-cfg and emits \o "from-to" for the listed levels, plus \n when page numbers are off. It falls back to data-toc-max when the config is missing or invalid. Adds tests for the new field instructions and entry hyperlinks, and documents the feature in the Office README. * Add PDF import to DOCX feature Also fixed Ctrl + Enter new page seperator backspace bug * Add outline bookmarks to Office PDF exports PDFs exported from Docs, Slides and Sheets now carry an outline (bookmarks) so readers can navigate them. - Docs: headings h1-h6 (not the Title paragraph) become nested outline entries, both in the client-side exporter (docs.js, docs_pdf.js, pdfdraw.js) and the server-side Go exporter (mod/office/pdf/document.go). Each entry opens its page at the heading's top. - Slides: one entry per slide, named by its title placeholder, else "Slide N". - Sheets: one entry per sheet, named by sheet name, else "Sheet N". - Go bookmark titles are encoded as UTF-16BE (pdfTextString), so non-Latin-1 scripts survive. - Added outline_test.go covering nesting, skipped levels, page breaks, destinations, and encoding. - Updated the AGI README, Office README and Terminal api.json. * Add column resizing and overwrite prompt to selector File selector list view: header cells get resize grips that trade width between adjacent columns. Double-click resets the pair. Widths are driven by CSS custom properties, saved in view preferences, and the density breakpoints adjust for resized columns. New file mode: before returning an existing file name, show an in-page Replace/Cancel dialog (Cancel is the default, with keyboard handling). The check uses the listing, then falls back to getProperties on the server for hidden or case-variant files. Adds the localized strings for en, zh-TW, zh-CN, ja and ko. * Use stand-in fonts for system fonts in Office PDF System fonts that cannot be embedded used to be stepped over, or squeezed to width alone, which broke monospace code listings. They now get the nearest face of their kind: the screen's substitute, a shipped metric twin, Cousine for monospace families, or the standard font of that kind. - Stand-ins are drawn at a size that matches the original's average advance (OfficeFonts.widthOf), so Cousine for Consolas is set at about 0.917 of the size. - planRun now fits only the ink of each fragment, leaving out edge spaces, which a stand-in sets at a different width. - Spaces inside highlighted spans still draw their highlight box. - haveFamily now treats a family as installed if it differs from either generic. This fixes Consolas and Times New Roman, which are Chrome's own monospace and serif defaults. - The display list carries a per-segment size multiple (k), which pdfdraw applies. - OfficeFonts exposes kindOf, twinOf and widthOf, and recognises "monaco" as monospace. - README and slides_pdf header comments updated. * Add System font library support * Fix Docs font grow and line height after edits Extract selectionFontEl() so currentFontPt() reads the size from the node a between-nodes selection actually covers. Previously Grow font stepped from the stale size after the first change. Add a MutationObserver (watchLineHeights) that applies the line-height pass to touched blocks before paint. This stops newly typed text in a new size or font from sitting crammed until the debounced layout runs. Observer records from its own writes and from the full layout are dropped via takeRecords. * Pixel Studio: fix text hit-testing and lock toast Move tool hit-testing now treats a text layer as hit anywhere inside its content bounds, so clicking in the gaps between letters no longer falls through to the background. Selecting a position-locked layer with a plain click no longer shows the "Layer position is locked" toast. The toast now appears only once the pointer is dragged more than 3 screen pixels. * Add new PDF Editor * Hide editor chrome from Docs PDF export Skip .of-noprint elements (e.g. the TOC "Update table" tab) and their text runs when exporting Docs to PDF, and hide .doc-toc-frame via CSS while exporting. Also refine zh-TW/zh-CN PDF Editor strings: "手形" becomes "抓取" and the image source prompt is reworded. * Add video quality ladder and Auto quality to Movie Add a 360p/480p/720p/1080p quality ladder for transcoding, plus Original and Auto, in the Movie player. Backend: - New transcoder/quality.go: each step fits the picture into a bounding box that matches the source orientation, never upscales, and keeps even dimensions. Steps also carry a bitrate ceiling (CRF + maxrate for libx264, target bitrate for hardware encoders). - Replace resolutionHeight with resolutionScaleFilter and add ParseTranscodeResolution. The MP4 and HLS paths and the hardware encoder profiles now take a full scale filter instead of a height. - Fix the 1080p constant, which was "1280p" and made 1080p requests fail with 400. - ffprobe now reports the container bitrate (BitRate), which Auto uses. Frontend: - Quality selector in the settings popup of both the embedded and full players. - Quality changes re-open the stream at the current position, switching between direct play and transcode as needed. - Auto quality picks a step from the video buffer fill rate and steps down on stalls. It steps up one step at a time with backoff on steps that did not hold. - Every file is now probed so steps larger than the source are hidden. - Tests added and updated. * Add pure Go PDF thumbnails to File Manager Add a `pdfrender` package, a pure Go PDF page rasteriser with no cgo and no external tools. The File Manager uses it to generate thumbnails for .pdf files on every supported target, including 32-bit ARM and MIPS. The renderer covers: - Classic, stream and hybrid xref tables, object streams and reconstruction of broken files. - Standard encryption with the empty password (RC4, AES-128, AES-256). - Flate, LZW, ASCII85, ASCIIHex, RunLength and CCITT filters. - Paths, strokes, clipping, alpha, blend modes and soft masks. - ICC, Lab, Indexed, Separation and DeviceN colour spaces. - JPEG and raw images. - Shadings and tiling patterns. - TrueType, CFF, Type 1 and Type 3 fonts, plus CMaps. Fonts that are not embedded fall back to the Go fonts. The package parses untrusted files, so it bounds recursion, allocations and render time, and returns a partial image with ErrTimeout when a page runs out of its budget. Hardening tests cover crafted input. `metadata.go` now reports .pdf as thumbnail-supported and dispatches it to `generateThumbnailForPDF` (new `pdf.go`), which writes a JPEG of the first page. The thumbnail shows the top of a portrait page and the whole page for a landscape one. The repository layout section of CLAUDE.md lists the new package. * Docs: image handles, rotate, table menu and grid Pictures: replace the single resize dot with eight handles and a rotate knob. Rotation and flips are baked into the bitmap. fitPicture adds an aspect-ratio so a picture keeps its shape in a narrow column or table cell, and settlePictures commits the shown size when a table column is narrowed. The .docx writer now scales a stated height along when it clamps a picture to the text column, to match the editor; the fidelity test is updated. Tables: Insert > Table opens Word's grid as a dropdown, with an "Insert table..." dialog for larger sizes. Table editing moves to a context-sensitive right-click menu with Word-style Insert and Delete submenus that act on every selected row or column. Colgroup widths are kept when columns are inserted or deleted. Table commands are removed from the floating text bar. Context menu: it now shows only the entries that fit the target (picture, table, link, TOC, selected text or caret), with new Edit link and Open link commands. Menu items can use OfficeIcons through the new `svg` field. Adds table and rotate icons, and updates the README and CONTRACT docs. * Removed legacy PDF Tool * Add read-only share:/ "Shared with me" drive Files and folders other users shared with someone now appear as a virtual read-only drive, share:/, shown in the File Manager sidebar as "Shared with me" above the trash bin. Backend: - New sharefs abstraction. It resolves every path against the requesting user's shares on each call and reads from the owner's drive. Real paths carry an HMAC-signed user segment so "../other" cannot switch users, and they never exist on the host. - share/drive.go builds the drive root. Only shares addressed to the user (by user or group) are listed, link-only, signed-in and password shares are left out, names are made unique, and permissions are merged. Roots are cached briefly and the cache is cleared when shares change. New endpoint /system/file_system/share/sharedWithMe. - The drive is mounted in the base pool and treated as a network drive. It is skipped by listRoots and the trash scan. Copy and zip are refused when the owner disallows downloads, and files on the drive cannot be re-shared. - Glob wildcards containing ".." segments are rejected in file search. Front end: - A "drive view" in the File Manager (shared.js, specialview.js) offers only the operations the shared item allows, for the toolbar, context menu and shortcuts. - Adds a "Path Not Found" page and safe decoding of hand-typed paths. Locale strings, an icon and a desktop shortcut for %share% are added. Docs: CLAUDE.md gains a section describing the drive. * Restrict /system/auth/register to administrators Once any user existed, HandleRegister only checked that the caller was signed in and then created the account in the group named in the POST body, so any ordinary user could create an administrator account (or overwrite an existing account's password, since CreateUserAccount writes over existing keys). - With users present, only a caller in an admin group may register accounts, and the requested group must exist (exact match, as group membership lookups are case sensitive). - First-run setup still works without login, but the first account must be in an existing admin group, matching what listgroup offers then. - Existing usernames are refused instead of being overwritten. - The checks come from a RegisterAuthorizer wired in by main (auth cannot import user/permission); registration fails closed if unset. - user.html and newUser.html now show {"error": ...} replies instead of throwing on data.includes. The public self-registration flow (/public/register/*) calls the auth agent directly and is unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Show sharer as owner of files on share:/ drive File properties showed no owner for items on the read-only share:/ drive, because ownership records only cover a user's own home. When no owner is found, fall back to the new sharedDriveOwnerOf helper, which resolves the item through the sharefs drive and returns the user who shared it. The helper returns an empty string for other drives, the drive root, and paths not shared with the user. Added table-driven tests for these cases. * Harden Sheets names and Slides default body Sheets: defaultBody now goes through normalizeBody, and defined-name access is routed through a new definedNames() helper that tolerates a missing or non-array names list. nameEntry skips empty or malformed entries, and the rename and Names dialog code no longer throws on such bodies. The dialog also edits and deletes by entry rather than by stale index. Slides: the default deck is passed through normalizeBody so state such as embedded fonts or missing fields does not carry over from the previous deck. * Fix Safari PDF export of wrapped text lines WebKit adds an empty client rect at the end of the line above for a range that starts at a wrap. getBoundingClientRect() included it, so the first character of each wrapped line was measured as sitting on the previous line ("Basics of R" / "everse Proxy"), and short lines were fitted to the width of the line above. Add OfficePdfCore.rangeBox, which unions only the rects that have width, and use it in splitByLine and the run planner. Pieces with no width now draw nothing and never open a new line. Add common/test_pdfcore.js with a fake DOM that simulates both Blink/Gecko and WebKit layouts, and document the pitfall and the new test command in the Office README. * Add Blocky App * Add more blocky features * Add realistic shaders * Optimized circuit design * Blocky: signs, iron bars, double doors, rail switches Add new blocks and mechanics to the Blocky game. * Add Orbital Claim real-time strategy game WebApp Adds a new WebApp under src/web/Orbital Claim, registered through init.agi in the Games group with a floatWindow launch. The game is a canvas-based orbital mining and defence game. You mine asteroids, wire a power grid of solars, relays and batteries, and defend against escalating enemy waves. - Core: fixed-timestep loop, camera, input and spatial hash. - World and systems: power grid islands with brownouts, economy, wave director, Survival, Mining Race and Sandbox modes, synthesised Web Audio sound, saved settings and personal bests. - Entities: miners, solar, relay, battery, laser, pulser, missile bay and repair drones, plus six enemy types. - UI: HUD, minimap, Esc menu with settings pages, animated title scene and an end-of-run report with charts. - Content: SVG sprite sheet, balance data in entities.json, an asset sheet page and an animated tutorial page. - Art: icons, screenshots and a theme PSD. * Optimize desktop icons * Add difficulty levels to Orbital Claim mining mode Mining Race now has Easy, Normal and Hard, defined in entities.json. Each level sets the quota, time limit, starting minerals, ore field shape, and enemy hull, count and build-window scaling. The title screen shows one start button per difficulty, with its quota, clock and personal best. Restart and Play Again keep the chosen difficulty. Field generation takes a minOre option, so a field always holds at least target x oreMargin ore, whatever the seed. Personal bests are stored per difficulty; Normal keeps the old 'mining' key, so existing records still count. The pause menu shows the ore left in the field, and the end summary shows the difficulty. * Add more features to the mini game * Added boats * Removed mini game app * Add more game elements * Fine tune blocky game physics mechanism * Optimize game mechanism * Fixed Manga reader firefox bug * Add 3rd mini game * Special character handling + security fixes (#310) * Port #206 filename handling to v3.0.5 - Keep %, +, #, & and other URL-special characters in file names - Remove the FilenameIsWebSafe filter and double URL decoding - Validate absolute paths and traversal in create, rename and uploads - Preserve names in uploads instead of replacing % with _ - Escape file names in the current explorer, trash, properties and share views - Keep the cross-platform cleanRepoPath fix and add its test coverage * Fix v3.0.5 CI test failures - Skip the E2E job when test/e2e/playwright is absent (v3.0.5 removed it) - Use %v for []Propstat values so go test's vet pass succeeds * Fix vpath traversal; add File Manager settings Security: "user:../bob" kept its ".." because the path was cleaned before the volume ID was split off, so it resolved into another user's home. GetIDFromVirtualPath, the generic translator, smbfs and webdavfs now reject subpaths that escape their root (ErrPathEscapesRoot). GetPathAccessPermission denies such paths. Many file_system handlers, and the media server, now check CanRead/CanWrite on every path and stop ignoring path-resolution errors. Features: replace the trash settings page with a File Manager settings page (theme, toolbar, hidden files, opening view, upload auto-close, trash retention and quota). Add a per-folder view mode (/system/file_system/viewMode, fs-viewpref table). Open File Manager windows apply setting changes through a localStorage event. Fixes: JSON-encode the callbackFunction paths passed to the file operation dialog, fix double-encoding of the lowmemUpload filename, encode the upload dir in desktop.html, and load escape.js in file_share.html. Also adjusts the floatWindow title style in ao.css and adds tests for the new path handling. * Add debug tools and multilingual support Add an F3 debug menu with gameplay cheats, run controls, story viewing, and unlocks. Introduce Japanese and Traditional Chinese translations, improve CJK text wrapping, tune beginner difficulty, and add ending and credits artwork. * Add Assistive Access setting for readable titles Adds an Assistive Access tab under System Settings > Desktop & Themes with a toggle for readable window titles, which draws a dark outline around float window titles so they stay legible on light wallpapers and theme colours. The choice is stored as the "assistive-titles" desktop preference. The desktop reads it on start and toggles body.assistiveTitles, which the new rules in ao.css key on. An open desktop updates at once, directly when the settings page runs inside it and via localStorage when it is in another tab. Includes a live preview and locale strings (zh-TW, zh-CN, en, ja, ko). * Add mini game resources * Add more game mechanics * Add OpAmp logic * Fix minor mini game UX issues * Update Yoru no Hana icons Refresh the desktop icon, add icon assets and source files, and use the PNG module icon for registration. * Restructure Storage Pool architecture * Delete ACCESS_PROPOSAL.md * Create SMB_PROPOSAL.md * Add experimental internal SMB server to arozos (#313) * Add experimental built-in SMB server Serve ArozOS drives over SMB 2.1–3.1.1 without Samba. Add per-user credentials, Samba password import, access controls, localized settings, and diagnostic capture. The server is disabled by default. * Expand built-in SMB server capabilities Add SMB3 encryption, leases, durable handles, change notifications and server-side copy. Support cloud and remote drives with staged file access, failed-upload recovery and configurable size limits. Fix FTP and WebDAV filesystem behavior and update SMB settings and documentation. * Update SMB_PROPOSAL.md * Expand SMB discovery and file features Add Windows and macOS network discovery, named streams, and read-only Previous Versions. Optionally move SMB-deleted files to the desktop trash bin, with localized settings for discovery and trash. * Harden SMB security and handle lifecycle Validate imported accounts and credential ownership, redact captures before truncation, and fix durable handle and copy races. Isolate root streams, clean up replaced streams, and improve FTP directory creation and error classification. * Update SMB server default settings * Disable SMB server on Windows * Add setup wizard and module controls Guide administrators through first-run workspace, storage, account, and file-sharing setup. Add persistent module enable/disable controls, validate new usernames, and prevent formatting disks in use. Also close detached SMB handles on shutdown and localize file-server settings. * Fixed #314 Fixed 314 by properly implementing a session revoke flow * Revamp FTP and SFTP server management Add per-user FTP activation, client monitoring, read-only and network controls, and SFTP host-key fingerprints. Fix SFTP uploads and file-handle leaks. Note: The changeset also includes a private SFTP host key that should not be committed. * S3 drive: fix copying new files over SMB, cache metadata to cut round trips (#315) * s3fs: report a missing object as os.ErrNotExist HeadObject answers a missing key with NotFound and GetObject with NoSuchKey, and both reached callers as plain SDK errors. Code that tests errors.Is(err, os.ErrNotExist) took them for real failures. The built-in SMB server is one such caller: before creating a file, File Explorer opens the name to see whether it exists, and the server answered STATUS_UNSUCCESSFUL instead of STATUS_OBJECT_NAME_NOT_FOUND. Explorer then gives up with "Can't read from the source file or disk", so no new file could be copied onto an S3 drive over SMB. Stat, GetModTime, ReadStream and Rename now wrap those answers so they match os.ErrNotExist while keeping the original error. A missing bucket is left as it is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ExjHL5UKQTZYb5tpmZ9v1U * s3fs: cache object metadata so SMB and listings stop waiting on the bucket Every Stat on an S3 drive cost three round trips: a HEAD for a directory marker, a one-key listing, then a HEAD for the object itself. Nothing was kept, and File Explorer asks about one file ten or more times while it opens it over SMB (CREATE, QUERY_INFO, FSCTL_CREATE_OR_GET_OBJECT_ID and CLOSE with post-query each Stat it). Against Cloudflare R2 at ~140 ms a request, every one of those took ~0.4 s and opening a small file took several seconds. - Stat asks for the object first, so a file is one request; only a miss goes on to the directory checks. FileExists, GetFileSize and GetModTime go through Stat. - Answers, missing paths included, are kept for 10 seconds (statcache.go), the lifetime the Windows SMB client uses for its own cache. - A complete ReadDir listing fills the cache and also answers for names it does not hold, so the per-file questions after Explorer lists a folder, and its probes for desktop.ini and the like, need no request. - Mkdir, Remove, RemoveAll, Rename and WriteStream drop what they could make wrong (the path and every folder above it, or everything for a folder operation). A generation counter keeps a lookup that started before a change from storing its answer after it. Changes made straight to the bucket, around ArozOS, show within the 10 seconds. Measured against R2: a cold file Stat went from ~420 ms to ~200 ms, and repeated Stats and Stats after a listing from ~420 ms to none. s3fs_bucket_test.go runs against a real S3 service when S3FS_TEST_ENDPOINT and S3FS_TEST_BUCKET are set (checked with SeaweedFS) and counts the requests sent; it is skipped otherwise. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ExjHL5UKQTZYb5tpmZ9v1U --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Fixed storage pool reload SMB conn stop bug Fixed storage pool reload causes SMB server to freeze bug * Add 3D modeling tool * Enhance 3D Modeler and Office Docs layout Add sketch plane dragging, face painting, scene controls, hidden edges, and mesh export options to 3D Modeler. Improve feature guidance and fix revolve precision. Refine Docs line spacing, paragraph borders, tabs, and PDF import layout. * Replace Painterro with a custom Paint editor Rebuild Paint with drawing tools, editable shapes and selections, image operations, undo history, and ArozOS file integration. Add localization, standalone file support, documentation, and unit tests. * Update paint icon * Add more 3D modeler * Add native macOS bridge to 3D Modeler Integrate native file dialogs, local paths, window controls, menus, theme changes and Finder-opened files. Return the left mouse button to selection when starting tools, and add native bridge tests. * Expand 3D Modeler tools and geometry handling Add sweep, loft, draft, parameters, materials, and reference mesh imports. Improve mesh watertightness with geometry checks and repair, preserve references across edits, and expand export and view controls. * Update viewport.js * Add experimental syncthing server support * Minimize sketch movement on dimension edits Choose dimension solutions that move the fewest points, preserving shared edges and preferring earlier-drawn geometry on ties. Apply this behavior to parameter edits and add regression coverage. * Refactorize desktop structure * Refactorize the desktop interface module * Prevent duplicate Office close prompts Ignore repeated close requests while a prompt or save is in progress, and remove the blue background from the dock launcher icon. * Fixed Safari css bug * Optimized css and shortcut flow - Add dock shortcut - Removed default desktop shorcut on new desktop creation * Removed legacy Trashbin app Removed legacy trash bin app Fixed Text Editor small bug on Photo load Fixed RAID not support console error * Add model previews and Quick Access actions Save 3D Modeler document previews for secure File Manager thumbnails and show loading progress when opening models. Add a Quick Access context menu and preserve paste destinations when resolving conflicts. * Enhanced security and prevent XSS * Fix css issue on syncthing file server * Fix context menu on trashbin * Modernize Windows info and refresh setup Replace Windows hardware helper processes with native APIs to avoid console window side effects. Rename Setup Wizard to Setup, add server name and runtime settings, and refresh the setup theme and app icons. * Add syncthing stall detection watchdog * Add iOS photo sync server * Support sync uploads behind proxies Add alternative credential headers for proxies that replace Authorization, with localized setup guidance. Preserve sync settings during status refreshes and keep JSON responses readable in shortcut results. * Added heic format support * Add mult-select mode auto exit * Optimized File Manager context menu css * Add new night wallpaper pack * Add SMB server password length override * Moved smb server into a dedicated go module * Add macOS Time Machine support to SMB server Add per-user backup shares, configurable size limits, Bonjour discovery, and localized settings. Upgrade smbsrv and fix disk capacity reporting on macOS. * Fixed minor css bug * Fix Clock Timer Audio bug * Localize media apps and harden SQLite startup Add translations for Movie, Musicify, and Photo, including their embedded views. Retry SQLite busy errors during initial connection, preserve photo listings when the index is unavailable, and remember Musicify's selected library. * Add advance filtering and search to Photo * Fix message css bug, add animations * Fixed file server quota unsync bug * Fixed moving folders across drive bug Previous implementation move folder across drives will fail, this fixes such implementation in sftp server implementation * Offload HEVC transcode decode and scaling to VAAPI The transcoder only moved the H.264 encode to the GPU; HEVC decoding, scaling and the 10-bit to NV12 conversion still ran on the CPU, which saturates low-end CPUs. VAAPI profiles now decode with -hwaccel vaapi, keep frames on the GPU and scale with scale_vaapi, falling back to software decode for sources the GPU cannot handle. Low-power (VDEnc) variants are tried for drivers such as Debian's free iHD build that only offer that entrypoint, and every DRM render node is probed. * Fixed transcoder and add GPU encoder * Fixed subtitle bug in Movie app * Add dng render support * Updated the wave wallpaper set * Add file selector full path enter support * Fix chamfer not working on exact numbers bug * Fixed chamfer bug in exact extrusion * Bump github.com/pion/dtls/v3 from 3.1.4 to 3.1.13 in /src (#319) * Redesign the document page --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alan Yeung <yeungbluecat123@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: calico-cat-3333 <113905958+calico-cat-3333@users.noreply.github.com> Co-authored-by: mirkosalvato1-ctrl <mirkosalvato1@gmail.com> Co-authored-by: mirkosalvato1-ctrl <227404546+mirkosalvato1-ctrl@users.noreply.github.com> Co-authored-by: Po-Han Shih <79733497+stantheman0128@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: 白铭骢 (Mingcong Bai) <jeffbai@aosc.io> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tobychui <24617523+tobychui@users.noreply.github.com> Co-authored-by: stantheman0128 <stantheman0128@users.noreply.github.com> Co-authored-by: bramdebouvere <bram.debouvere@gmail.com>

3 days ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

  • fb8d28cdec Bump github.com/pion/dtls/v3 from 3.1.4 to 3.1.13 in /src (#319)

3 days ago

TC synced commits to dependabot/go_modules/src/github.com/pion/dtls/v3-3.1.13 at TC/arozos-mirror from mirror

  • 9da61774b8 Merge remote-tracking branch 'origin/v3.0.5' into dependabot/go_modules/src/github.com/pion/dtls/v3-3.1.13 # Conflicts: # src/go.mod # src/go.sum # src/mod/database/database_core.go # src/mod/database/database_openwrt.go # src/mod/disk/smart/helper.go # src/mod/disk/smart/smart_test.go # src/mod/info/hardwareinfo/hardwareinfo.go # src/mod/info/hardwareinfo/hardwareinfo_test.go Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
  • 24d2b6a967 Fixed chamfer bug in exact extrusion
  • 9790978d21 Fix chamfer not working on exact numbers bug
  • 3ac926a335 Add file selector full path enter support
  • b6e5642a2c Updated the wave wallpaper set
  • View comparison for these 230 commits »

3 days ago

TC synced commits to dependabot/go_modules/src/github.com/pion/dtls/v3-3.1.13 at TC/arozos-mirror from mirror

  • 5c07e014a3 Bump github.com/pion/dtls/v3 from 3.1.4 to 3.1.13 in /src Bumps [github.com/pion/dtls/v3](https://github.com/pion/dtls) from 3.1.4 to 3.1.13. - [Release notes](https://github.com/pion/dtls/releases) - [Commits](https://github.com/pion/dtls/compare/v3.1.4...v3.1.13) --- updated-dependencies: - dependency-name: github.com/pion/dtls/v3 dependency-version: 3.1.13 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
  • e3819d18da Bump github.com/klauspost/compress from 1.18.6 to 1.18.7 in /src (#308) Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress) from 1.18.6 to 1.18.7. - [Release notes](https://github.com/klauspost/compress/releases) - [Commits](https://github.com/klauspost/compress/compare/v1.18.6...v1.18.7) --- updated-dependencies: - dependency-name: github.com/klauspost/compress dependency-version: 1.18.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 2ecbb06b4c Merge branch 'v3.0.3' into master
  • f7cc25288a V3.0.2 (#299) * Add CalDAV server for iOS Calendar bidirectional sync (#256) Add CalDAV server for iOS Calendar bidirectional sync (#256) * Updated CLAUDE.md (#257) * Updated CLAUDE.md * Add Reminders WebApp * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add CalDAV VTODO sync for Reminders and recurring support Expose the Reminders web-app data as a CalDAV VTODO collection at /caldav/{username}/reminders/ so iOS Reminders can sync bidirectionally alongside the existing Calendar (VEVENT) collection. The principal now advertises a calendar-home-set containing both collections. Add RRULE recurrence support: events and reminders pass their recurrence rule through ICS in both directions. The Reminders UI gains a Repeat selector, shows a repeat indicator, and rolls recurring reminders forward to their next occurrence on completion (matching iOS behaviour). --------- Co-authored-by: Claude <noreply@anthropic.com> * Bump internal_version to 3.0.1 Update internal build version from 3.0.0 to 3.0.1 in src/flags.go to reflect a minor release increment. * Add shell mode (virtual FS) to web terminal Introduce an interactive shell mode for the web Terminal. Backend (session.agi): implement shell state, virtual path resolution, many shell commands (pwd, ls, cd, cat, mkdir, touch, rm, cp, mv, echo, whoami, clear, exit, help), tab-completion, prompt building, safe filelib wrappers, and new websocket message types (shellmode, clear, complete, shellPrompt in result). Frontend (index.html): track shellMode/shellPrompt, render shell output differently, handle shell enter/exit and clear messages, send/handle completion requests/responses, adjust input handling (Tab completion and disabling REPL dot-commands while in shell). Add .claude/launch.json to run a local static server for src/web. This enables a secure virtual filesystem shell inside the AGI REPL without host FS access. * TURN update for Arozcast screen share over Internet (#259) * Bump github.com/go-git/go-git/v5 from 5.16.5 to 5.19.1 in /src (#255) Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.16.5 to 5.19.1. - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](https://github.com/go-git/go-git/compare/v5.16.5...v5.19.1) --- updated-dependencies: - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add Reminders WebApp (macOS Reminders-style) A self-contained ArozOS WebApp that mimics the macOS Reminders app. Front-end (web/Reminders/index.html), single-page, no framework: - Sidebar with the smart-list grid — Today, Scheduled, All, Flagged and a Completed card — plus custom "My Lists" with colour + SF-style icons and live incomplete counts, an Add List action and a light/dark toggle. - Reminder rows with circle checkboxes, inline title editing, sub-tasks (Tab/Shift+Tab to indent), notes, due date/time chips (red when overdue), flags, priority (!/!!/!!!) and clickable URLs. - Smart-view grouping: Today by time-of-day (All-Day/Morning/Afternoon/ Tonight), Scheduled by date (with an Overdue group), All/Search by list. - A detail editor popover (On a Day / At a Time, priority, list, URL, flag) and a list create/edit modal with colour and icon pickers. - Native macOS look with full light/dark theming; sticky UI prefs via localStorage; responsive off-canvas sidebar on narrow screens. Back-end AGI scripts (web/Reminders/backend/*.agi) persist a per-user { lists, reminders } store to user:/Document/Reminders/data.json via filelib, following the Calendar app's pattern: init (load + seed default list), saveReminder/deleteReminder, saveList/deleteList and a full saveData for re-ordering and clearing completed items. https://claude.ai/code/session_018JqHkXkuYjj5hz4kjiS1fQ * Add built-in TURN relay so Arozcast screen share works over the Internet Arozcast screen share is a direct WebRTC peer-to-peer connection that only used public STUN servers, so it could not traverse NAT and failed over the Internet. Add a built-in TURN relay (pion/turn, MIT, pure Go) that both peers reach through the same ArozOS host, plus an /api/arozcast/iceservers endpoint that hands the browser STUN + TURN with short-lived HMAC-signed credentials. The relay is optional/configurable, and operators can override the ICE list entirely with system/arozcast/iceservers.json to use an external TURN. - mod/network/turn: pion/turn wrapper + ephemeral credential helpers (tested) - cast.go: start the relay in ArozcastInit; serve /api/arozcast/iceservers - main.go: close the relay on shutdown - flags.go: -arozcast_turn, -arozcast_turn_port, -arozcast_turn_publicip - screenshare.html / index.html: fetch ICE servers (STUN fallback) - Arozcast README: endpoint + Internet/TURN operations docs Media casting (Musicify/Movie/Photo) already worked over the Internet via the existing relay and is unchanged. https://claude.ai/code/session_01P68sFxtXuRXfzDnwtpFrnU * Add TURN-over-TLS and a System Settings toggle for the Arozcast relay Builds on the built-in Arozcast TURN relay with two operator-facing enhancements. TURN-over-TLS (TURNS): - turn.NewServer now optionally starts a TURNS listener (TLSPort + TLSCertFile/TLSKeyFile) alongside the plain UDP/TCP relay, reusing the system TLS certificate. Restrictive firewalls that only permit outbound TLS (commonly 443) can then relay screen share, since the media rides inside a connection indistinguishable from HTTPS. - Listener setup tracks every opened conn so a later failure cleans up; a TURNS failure is non-fatal (logged, plain relay keeps running). - /api/arozcast/iceservers advertises turns:host:port?transport=tcp when the listener is up. New flags: -arozcast_turn_tls (default on, no-op without a usable cert) and -arozcast_turn_tls_port (default 5349; set to 443 for maximum reach). System Settings toggle & status: - The relay is now runtime-managed (mutex-guarded start/stop with a remembered config) and its on/off state is persisted in the system database, overriding the -arozcast_turn flag default across restarts. - New admin-only endpoints /system/arozcast/turn/{status,setEnabled} via the permission router, plus a "Screen Share Relay" page under System Settings -> Network & Connection (SystemAO/arozcast/turn.html) showing running state, port, TURNS and advertised host. Tests cover the TURNS listener (self-signed cert handshake) and the non-fatal missing-cert path. README documents both features. * Drop the SNI-routing proxy caveat from the TURNS 443 docs The TURN-over-TLS note suggested fronting port 443 with a TLS/SNI-routing proxy to share it with the web server. That over-complicated the guidance; replace it with a plain statement that 5349 is the default and 443 is only viable when free on the relay's address. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com> * Add single instance support to Movie * Add cross-tab theme sync and file selector fixes Broadcast theme changes to other open tabs and improve file selector callback handling. file_explorer.html now writes ao_system_theme to localStorage when toggling theme in standalone mode so other tabs can react. ao_module.js adds ao_module_onThemeChanged, ao_module_toggleSystemTheme and an internal _ao_theme_broadcast to support both VDI (desktop-driven) and standalone/cross-tab theme propagation. Also fixes and documents file selector behavior: allow callback as a string or named function, auto-register a temporary global for anonymous callbacks in VDI mode, resolve string callbacks in non-VDI polling mode, and clean up localStorage handling. Minor typo/comment and whitespace fixes included. * Add theme listener to desktop * Added more icons for Code Studio * Added wip productivity app * Renewed Text app * Updated Productivity app * Text module style update * Add RWD support to text * Add Markdown source-mark reveal and image sync Show Typora-style markdown source marks and allow inline editing of image references. Adds CSS pseudo-elements to reveal heading, emphasis, code, blockquote and link syntax; a settings selector to control reveal mode (active/always/none); and a default syntax setting. Implements updateActiveBlock(), clearDecorations(), decorateBlock(), editable .md-imgsyn labels, syncImgFromSyn()/commitImgSyn(), and helpers (richPlainText, activeImgSyn, caret/block helpers) to keep serialization and word count unchanged. Updates event handlers and key handling to support image-label editing, heading mark editing, backspace behavior at block start, and selection changes. Ensures getContent strips editable image labels before turndown and wires UI state updates throughout. * Text: add Notion mode with slash commands and document-aware AI (#260) Adds a toolbar toggle that enables a Notion-style "/" command menu in the Markdown editor. Typing "/" at a line start (or after a space) opens a filterable, keyboard-navigable menu to quickly insert blocks (headings, to-do/bullet/numbered lists, quote, code block, table, divider) and to run AI actions. AI actions feed the entire current document in as context and insert the generated Markdown at the caret, with an inline "Ask AI" prompt for free-form instructions plus presets (continue writing, summarize, brainstorm, outline). Generation is relayed through a new Text/ai.agi backend that calls the aimodel library; the AI endpoint/key are configured by an admin in System Settings. A new "Notion & AI" settings section lets users toggle the feature, pick a model (lazy-loaded from the endpoint) and set the temperature; all preferences persist alongside the existing editor settings. Claude-Session: https://claude.ai/code/session_01Xd4TY3ecHMDdG7es1JqbKo Co-authored-by: Claude <noreply@anthropic.com> * Revert "Text: add Notion mode with slash commands and document-aware AI (#260)" This reverts commit be21397ccf060ed4fe403c48fbe3d63d72669965. * Added advanced code block function to Text * Add code-language picker and blank-line handling Introduce a code-block language <select> UI and preserve runs of blank paragraphs through round-trip serialization. Add LANG_LIST and TextHL.languages(), ensure language selectors are appended to <pre> blocks (contenteditable=false and stripped on save), and wire syncLangSelector/ensureLangSelector/clearLangSelectors/onLangSelectChange. Implement renderWithBlankRuns() and expandBlankSentinels() to keep multiple empty paragraphs, switch marked.parse/getContent/renderedHTML to use these, and replace the previous &nbsp; sentinel with a ZWSP sentinel. Fix code-block editing by rewriting newline/delete logic to operate on the code textContent (insertNewlineInCode, deleteInCode) to avoid DOM fragmentation and caret issues; add protection for key handling when the language <select> has focus. Adjust decoration logic to avoid marking PRE as md-active and update syntax display rules. Rename/move backend modules under Text/backend (export.agi, filesaver.agi, imgtool.agi) and update ao_module_agirun calls to use the new paths. Add related CSS for the language picker and other small UI adjustments. * Add link editor and improve code highlighting Introduce an interactive link editor and inline editable link marks, replacing the previous CSS-only closing a::after pseudo-element with a real .md-linksyn element so link URLs are clickable/editable. Add link dialog UI (overlay, inputs, remove/cancel/OK handlers) and associated logic to insert/edit/remove links, preserve/restore selection, and avoid tearing down marks while edited. Enhance code-block highlighting: switch to relightCode/highlightCode with caret/selection preservation (selectionEndOffsetIn, restoreCaretIn), handle live re-highlighting on edits, language changes, and prevent stuck empty code blocks by exiting them (exitEmptyCodeBlock). Also fix caret placement when clicking below trailing code blocks (escapeTrailingCodeBlockClick), update serialization to strip .md-linksyn, and adjust toolbar/labels for the link action. * Add support for token access in webdav server X-Access-Token + X-Aroz-User now can be used to login webdav with autologin token instead of Basic Auth * Add CNN inference API support * Rename aimodel to llm and add LLM server pkg Replace the legacy "aimodel" library with a new "llm" library and introduce a dedicated aiservers/llm package. Key changes: - Rename library identifier from "aimodel" to "llm" across docs and backend scripts (README, AGI scripts, web backend examples). - Remove the old agi.aimodel implementation and add agi.llm (new AGI lib) plus agi.llm_test.go. - Add mod/aiservers/llm package with client, OpenAI/Anthropic adapters and types, and tests (client.go, openai.go, anthropic.go, types.go, and tests). - Update tests and module wiring to use LLMConfig/LLMPricing/llmDBTable and injectLLMFunctions where appropriate. - Minor updates to web demo backend/init scripts and API docs to reflect the new requirelib name. Notes: System Settings UI and routes retaining the original "AI Model" naming; only the requirelib identifier and internal Go types/DB table references were changed. This restructures wire-protocol logic into the new aiservers/llm package for clearer separation of concerns and easier protocol-specific handling. * Fixed #204 * Add text color change inline * Add free resize on select tool * Add Cine Studio, a Premiere-like timeline video editor webapp (#263) A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 Co-authored-by: Claude <noreply@anthropic.com> * Docker support (#264) * Updated Video Editor app to have more functionalities (#266) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Fix docker package build failure on FreeBSD and other unlisted platforms (#267) The docker package split its PTY console and host-stats helpers into build-tagged files that only covered linux/darwin/windows. FreeBSD (built by the Jenkins release pipeline for amd64 and i386) matched none of them, so startDockerExecPTY, hostStorageUsage and hostLoadAvg were undefined and the cross-platform release build failed. - console_unix.go now builds for freebsd too (creack/pty supports it). - console_windows.go becomes console_other.go, a catch-all (!linux && !darwin && !freebsd) stub covering windows and any other GOOS. - host_darwin.go becomes host_bsd.go (darwin || freebsd); the Statfs-based storage helper works on both. - Add host_other.go, a catch-all fallback so the package builds on any remaining GOOS. Also expand the CI cross-compile smoke test to cover the full release matrix (including freebsd/amd64 and freebsd/386) so a platform-specific break is caught in CI instead of only in the release build. Claude-Session: https://claude.ai/code/session_01L4oR1xiTxpcfwYjRgi4RGh Co-authored-by: Claude <noreply@anthropic.com> * Added playwright e2e tests for cine studio (#268) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * Claude/arozos playwright tests for arozos (#269) * Add full-stack Playwright E2E suite for ArozOS critical paths Extend the Playwright harness (previously Cine Studio only) with a 'system' suite that drives a real ArozOS server built from src/: - lib/arozos-server.js boots a disposable isolated instance (.instance/: web symlink + private system copy) and bootstraps a deterministic admin account at the zero-user state - lib/system-harness.js shares login (form + API), CSRF, JSON and pass/fail helpers; each spec also runs standalone - specs-system/ covers the critical paths: 010 sign in / sign out (form render, bad credentials, session persistence, gated redirects, logout, retry delay) 020 desktop shell (task bar, start menu, module list, quick access panel identity, UI sign-out) 030 file explorer (File Manager UI render + full file lifecycle: create, rename, copy, move, properties, recycle/restore/clear trash, permanent delete, CSRF enforcement) 040 system settings (settings UI, catalogue groups, admin-only modules, host info, permission group listing) 050 user management + permission control (group CRUD, user CRUD, restricted-user module visibility, admin-only endpoint denial, administrator group protection) - run.js orchestrates both suites; npm run test:static / test:system - CI workflow now builds the Go binary, triggers on src/** changes and uploads the server log on failure Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 1 E2E spec and coverage roadmap - specs-system/060-webapps-core.js: smoke + interaction coverage for the highest-importance WebApps (NotepadA, Text, Photo, Music, Video, PDF Viewer, Zip File Manager) against the real server, including opening a real file in NotepadA via the desktop hash convention - README: document the ranked 44-WebApp inventory and the wave order for upcoming specs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 2 E2E spec (office/productivity) specs-system/070-webapps-office.js: smoke + interaction coverage for Code Studio, MDEditor, Calendar, Notes, Memo, Reminders, OfficeViewer and Dashboard against the real server, including opening a real Markdown file in MDEditor via the desktop hash convention and probing Dashboard's live system-info data source. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 3 E2E spec (media/creative) specs-system/080-webapps-media.js: smoke coverage for Musicify, Movie, Manga, Paint, Pixel Studio, Audio Studio, Camera, Recorder and FFmpeg Factory against the real server, plus a probe of the storage data path the media library apps browse. Cine Studio keeps its own deep static suite and is not repeated here. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add WebApp wave 4 E2E spec (utilities/dev/network) + close roadmap specs-system/090-webapps-utilities.js: smoke coverage for Calculator (incl. a real 7+8=15 calculation through the UI), Clock, Browser, Speedtest, Web Downloader, Web Builder, SQLite Admin, Terminal, AGIForge, AIChat, OTPAuth, Productivity, OnScreenKeyboard, Arozcast, Management Gateway, UnitTest, CronDemo and Serverless. This completes coverage of all 44 WebApps under src/web across four waves. README updated to reflect the full map; full suite (13 spec files: 4 static + 9 system) passes end to end. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add deep file-transfer critical-path spec (upload/download/search/share) specs-system/035-file-transfer.js extends the file-explorer coverage with the transfer features that move real bytes: - multipart upload of a real file - media download with byte-exact round-trip verification - file search by keyword - share-link lifecycle: create, list, anonymous direct download via /share/download/{uuid}/ (byte-exact) + preview page, then delete and confirm the share is revoked Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add account password-change critical-path spec specs-system/055-account.js exercises the My Account flow on a dedicated throwaway user (keeping the shared admin login intact): account settings UI render, userinfo identity, wrong-old-password refusal, successful change, and that afterwards only the new password signs in. README updated. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop backend API spec (every /system/desktop endpoint) specs-system/021-desktop-api.js covers the full desktop.go API surface with the exact request shapes desktop.html uses: host/device details; user self-info (quota/groups/admin), another user's public info via ?target, and noicon; theme listing + set/get round-trip; preference set/get/remove; createShortcut + listDesktop metadata; icon location files set/get/del; and renameShortcut incl. off-desktop rejection. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop UI shell spec (clock, panels, start menu, search, icons) specs-system/022-desktop-ui.js drives the real desktop.html: wallpaper frame mounts, the taskbar clock shows a formatted time, the quick access panel carries the user identity, the start menu opens with module entries, its search box narrows the list and reports No Result for gibberish, the notification bar toggles from the clock, and an API-seeded shortcut renders as a desktop launch icon. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow * Add desktop float-window + context-menu spec and update README specs-system/023-desktop-windows.js drives the desktop window manager and right-click surfaces using the app's own globals and real clicks: openModule spawns a float window with a taskbar entry; newFloatWindow creates addressable windows; focus raises z-order; maximize/restore, minimize and close all work; and the wallpaper + icon context menus open with the expected entries. Desktop coverage is now three specs deep (API 021, UI 022, windows 023) on top of the original 020 shell smoke test. README layout updated. Full system suite (14 specs) passes together. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PdeQtHTSvBQgUpWfKWvkow --------- Co-authored-by: Claude <noreply@anthropic.com> * Video Editor Cline Update (#270) * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Cine Studio, a Premiere-like timeline video editor webapp A new dark macOS-style video editor under src/web/Cine Studio with: - Media bin importing from the ArozOS file system (file selector + File Manager drag-drop) and from the local device (uploaded to user:/Cine Studio/Media so projects stay portable), with probed durations, filmstrip thumbnails and decoded waveform peaks - Multi-track timeline (video/audio) with drag-move, edge trimming, blade splitting, snapping, track visibility/mute toggles, zoomable timecode ruler and undo/redo history - Canvas compositing preview player with per-clip transform, crop mode, opacity, color controls (exposure/contrast/saturation/presets) and a WebAudio mix bus for synced audio playback - .cine project format (open/save/save-as via ao_module file selector, registered as a file association with its own icon) - Export pipeline: real-time MediaRecorder render to WebM uploaded to the ArozOS storage, with optional server-side MP4 conversion through the AGI ffmpeg library when the host has ffmpeg installed Backend AGI scripts create the per-user app folders and expose the ffmpeg availability check / conversion / cleanup actions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Remove macOS traffic lights and implement all stubbed Cine Studio features Top bar: drop the decorative macOS traffic-light buttons. Effects (new js/effects.js): per-clip effect stacks (Black & White, Sepia, Invert, Hue Shift, Blur, Pixelate, Mirror, Vignette, Film Grain, Fade In/Out) applied by the compositor so preview and export match. Fades also ramp audio-clip volume. Gallery panel with rendered preview cards plus an inspector Effects tab with amount sliders, add/remove and an fx badge on timeline clips. Titles and Elements (new js/titles.js): generated clips with no backing media - text titles (content, size, color, weight, align, vertical position, plain/lower-third/caption styles) and solid/gradient color boards. They render through a cached offscreen frame so transforms, color controls, effects and transitions all apply. Inserted from the Titles/Elements panels, the T tool or the T key onto a free video track (auto-created when needed). Transitions (new js/transitions.js): Cross Dissolve, Fade and Wipe stored on the incoming clip with adjustable duration; the previous clip's last frame is frozen and blended, with a from-black fallback and a marker on the clip. Applied from the gallery or the inspector Transition tab. Also implemented: Filters panel applying color-preset looks, Libraries panel listing saved .cine projects (new backend/listprojects.js), media bin list view toggle, and crop/audio toolbar buttons that jump to the matching inspector section. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add preview direct manipulation, auto track creation and .pxs/.asproj import Preview (new js/previewctl.js): an overlay canvas on the preview lets the user click a clip to select it, drag it to reposition and pull a corner handle to scale it - rotation aware, works for video, image, title and color clips, with a selection outline and handles drawn over the frame. Timeline drags now listen on the window because Chrome drops element pointer capture when the clip is reparented across lanes. Unlimited tracks: dragging a clip past the outermost lanes creates a new video/audio track on drop, and dropping bin media onto the empty timeline area below the lanes does the same, in addition to the existing add-track button. Pixel Studio import (.pxs): the layered project is flattened in the browser - raster layers honoring visibility, opacity and blend mode, text layers re-rendered from their text data - and used as image media. Audio Studio import (.asproj): prefers an embedded or referenced rendered mixdown; otherwise decodes the project's track/clip references (tolerant field names) and mixes them with an OfflineAudioContext into a WAV. Both importers keep the original virtual path in the project file and re-composite when a saved project is reopened. Both extensions join the import filters, the local-device picker and the module's SupportedExt list. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add the most critical everyday editing features to Cine Studio Safety and workflow: - Auto-save (20s, localStorage) with crash-recovery prompt on launch, cleared once the project is saved to disk (new js/session.js) - Recent projects list in the project menu (dedup, last 8) Editing fundamentals: - Multi-select (shift-click) with group move, group delete, group copy - Copy / paste at playhead / duplicate clips (Ctrl+C / V / D) - Ripple delete closing the gap (Shift+Del, context menu) - Timeline markers: add/remove at playhead (M), flags on the ruler, jump to next (Shift+M), saved in the project, act as snap targets - Snapping on/off toggle (magnet button) - Clip speed 25-400%: timeline length, element sync, trimming and splitting are all speed aware; audio pitch follows rate Compositing and playback: - Blend modes (multiply, screen, overlay, add, soft light, difference) - Flip horizontal / vertical toggles - JKL shuttle (reverse scrub / pause / forward up to 8x) and loop playback toggle; export temporarily disables looping Output and audio: - Export current frame as PNG from the export menu - Detach audio: video clip audio moves to its own audio-track clip - Audio track solo via the track header context menu Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 * Add Playwright E2E suite for Cine Studio + GitHub Actions job Ports the browser-driven tests used to verify Cine Studio into the codebase under test/e2e/playwright (outside src/ so they never touch the Go module). The tests drive the real app in headless Chromium, generating their own media in-page (canvas -> MediaRecorder WebM, synthesized WAV) and asserting on rendered pixels, so they exercise the full compositor / playback / export pipeline rather than mocking it. Structure: - lib/static-server.js minimal static server for the ArozOS web root - lib/harness.js browser launch + app navigation + ok()/fail(); resolves Playwright's own Chromium (no hardcoded path), overridable via PW_CHROMIUM_PATH - run.js serves src/web, runs each spec in its own process, exits non-zero on any failure - specs/functional.js media probe, playback, edit, round-trip, WebM export - specs/features.js effects, titles, transitions, elements, filters - specs/interaction.js preview drag/resize, auto tracks, .pxs/.asproj import - specs/editing.js multi-select, copy/paste, speed, JKL, markers, autosave 41 assertions across the four specs, all passing locally. CI: .github/workflows/e2e-playwright.yml installs Node + Playwright Chromium and runs `npm test`, scoped to changes under the app or the harness so unrelated commits don't trigger it. Front-end only - runs independently of the Go build. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BSxJni7aDMU5MFoWG2SSa4 --------- Co-authored-by: Claude <noreply@anthropic.com> * New webapp RAW Editor (#271) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Hand off developed image to Pixel Studio on Done Repurpose the Raw Editor's "Done" action into a hand-off: it now writes the current develop to a temporary JPEG (tmp:/RawEditor, auto-cleared by ArozOS) and launches Pixel Studio as a float window with that file as its input (matching Pixel Studio's ao_module_loadInputFiles hash format), then closes the Raw Editor window. Falls back to the normal Save dialog when running outside the ArozOS desktop. The bottom-bar button is relabelled "Open in Pixel Studio". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Redesign Raw Editor UI to match the newer Lightroom / Camera Raw layout Rework the develop panel into the 2024 Lightroom-style layout: - Thin centred title bar with open / save / reset / fit icons. - Borderless histogram with shadow/highlight clipping indicators and an EXIF readout (ISO, focal, aperture, shutter). - "Edit" header carrying Auto (auto-tone) and B&W (treatment) pills. - Profile selector row. - Collapsible Light / Color / Effects / LUT groups, each with a chevron to fold and an eye toggle that bypasses that group's adjustments. - Lightroom slider rows: label + right-aligned editable value on one line, thin track below, with coloured gradient tracks for Temperature (blue-> yellow), Tint (green->magenta) and Vibrance / Saturation. - White-balance eyedropper wired to auto white balance. - Bottom bar with a live filmstrip thumbnail, Fit / 100% zoom, an underlined dimension readout and Cancel / Open in Pixel Studio actions. - Decorative panel-selector strip on the right edge. Pipeline: add Texture (fine local contrast), Vignette (radial) and Grain (post noise) controls to the WebGL develop shader to complete the Effects group, plus per-group bypass handling in the parameter builder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add ArozOS-backed LUT library with a managed folder LUTs can now be managed through the user's ArozOS storage instead of only one-off browser uploads: - On first use the app creates a "user:/RawEditor/LUTs" folder (via the file_system newItem endpoint with a CSRF token). Users can drop .cube files into it with the Files app. - The LUT panel scans that folder (listDir) and lists every .cube in a "Library" dropdown; picking one reads it back through the media endpoint, parses it and applies it live. A refresh button re-scans on demand. - "Import .cube to library" still loads a local file immediately and now also uploads it into the library folder so it persists and reappears in the list next time. - Selecting a LUT re-enables the LUT group (clears any eye bypass); the hint line reports how many LUTs are available. Falls back gracefully to local import when running outside the ArozOS desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add scroll-zoom and right-drag pan; remove unused UI - Scroll wheel now zooms the photo, centred on the cursor, and the current zoom level is shown in the status bar. Fit / 100% buttons reset the view. - Right-mouse (or middle) button drag pans the image; the browser context menu is suppressed over the canvas. The view re-fits on window resize. The canvas is now transform-based (translate + scale) instead of the old fit / 1:1 CSS toggle. - Removed the Profile dropdown (no camera profiles in this pipeline) and the decorative right-edge tool strip, so the panel only shows working controls. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Pan with left mouse button and fix LUT dropdown overflow - Change canvas panning from right-drag to left-mouse (and middle) drag, with a grab / grabbing cursor over the image. The context menu is no longer suppressed. - Fix the LUT Library dropdown (and any select) overflowing the panel when an option label is long: give .mini-select min-width:0 so it can shrink inside its flex row instead of stretching to the widest option. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Load EXIF from JPEG APP1 so shooting info shows reliably Some RAW files (and any plain JPEG) did not populate the ISO / focal / aperture / shutter readout under the histogram. The cause: when the RAW's outer TIFF structure fails to parse, the image still loads via the brute-force embedded-JPEG scan, but the metadata comes back empty. Add a JPEG APP1 EXIF reader (the APP1 payload is itself a TIFF block, so it reuses the existing TIFF parser) and use it to: - read EXIF for plain JPEG images, and - fill any missing EXIF fields from the embedded preview for RAW files, which rescues shooting info when the main TIFF could not be parsed. Also harden applyMeta so the EXIF line is written before the window-title call and a title error can no longer suppress it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Match Photoshop LUT rendering: tetrahedral interpolation + true sRGB The same .cube LUT looked cyan/teal-shifted compared to Photoshop. Two causes, both fixed: - Interpolation: the 3D LUT was sampled with GPU trilinear filtering, which introduces a cyan/green cast on film-style LUTs. Switch the LUT textures to NEAREST and do proper tetrahedral interpolation in the shader — the same method Photoshop's Color Lookup and Resolve use. - Transfer function: encode to display with the true sRGB OETF instead of a plain 2.2 gamma. This exactly inverts the sRGB decode applied to 8-bit sources, so the values fed into the LUT match what Photoshop feeds it (previously the mismatch shifted shadow tones the LUT is sensitive to). Also honour the LUT's DOMAIN_MIN / DOMAIN_MAX when sampling. Verified in-browser: an identity LUT now passes through unchanged (exact tetrahedral), a channel-swap LUT swaps correctly, and a constant LUT maps to the constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Harden RAW EXIF parsing for real camera files Improve the chance that ISO / focal / aperture / shutter show for real RAWs (e.g. Sony ARW), which kept the readout blank: - Scan every embedded JPEG for APP1 EXIF, not just the largest preview. Sony keeps EXIF in the small thumbnail while the full-size preview has none. - Stop recursing the MakerNote (0x927C) as if its bytes were IFD offsets — that could be pathologically slow / derail a clean parse on real files; EXIF is reached through the standard ExifIFD (0x8769) pointer. - Cap IFD entry counts (>4096) to bail out of parsing stray/garbage offsets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Fix RAW preview selection: never decode CFA raw as the preview image On real Sony ARW files the develop view hung and EXIF stayed blank. Root cause: the CFA raw plane is a lossless-JPEG-compressed stream that also starts with 0xFFD8, and the embedded-preview finder picked it as the "largest JPEG" (31 MB) and handed it to the browser to decode as an image. The browser cannot decode lossless JPEG, so decoding stalled and the pipeline never reached the metadata display. Fixes: - Ignore CFA / raw IFDs (Photometric 32803) when hunting for a preview JPEG. - Only accept a range that is a real JPEG (SOI at the start AND EOI at the end) via a looksLikeJpeg() check, so a truncated raw stream can't be chosen. - Cap the brute-force SOI/EOI scan span so raw bytes containing 0xFFD8 can't yield a multi-megabyte junk range. With this, ARW files pick the correct full-size preview, the image loads, and ISO / focal / aperture / shutter populate under the histogram. Verified against a real 25MP Sony ILCE-6700 ARW end-to-end in the browser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 --------- Co-authored-by: Claude <noreply@anthropic.com> * RAW Editor - LUT Preview update (#272) * Add Raw Editor webapp with RAW decode, develop controls and LUT grading Introduce a new "Raw Editor" WebApp under src/web that decodes camera RAW files client-side and develops them with a Camera-Raw style interface. Decoder (js/rawdecoder.js): - TIFF/IFD parser covering the common RAW containers (ARW, DNG, NEF, CR2, ORF, RW2 ...), little/big endian, with SubIFD/EXIF traversal. - CFA (Bayer) extraction for uncompressed 12/14/16-bit and Sony ARW2 lossy compression, bilinear demosaic with black/white-level normalisation and camera (AsShotNeutral) or gray-world white balance. - Robust embedded full-size JPEG preview fallback (IFD pointers + brute-force SOI/EOI scan) so any RAW still renders when its compression is unsupported. - EXIF metadata (camera, shutter, aperture, ISO, focal length). Develop pipeline (js/glrender.js): WebGL2 real-time renderer implementing white balance (temperature/tint), exposure, contrast, highlights, shadows, whites, blacks, clarity, dehaze, vibrance and saturation, plus an optional 3D LUT grade. A separable Gaussian low-pass drives clarity/dehaze local contrast. Keeps a valid identity 3D texture bound at all times so drivers that reject incomplete sampler3D bindings still render. LUT (js/lut.js): Adobe/IRIDAS .cube parser for 1D and 3D LUTs, uploaded to a WebGL 3D texture. UI (index.html, css/style.css, js/editor.js): dark Camera-Raw inspired layout with RGB histogram, EXIF readout, Basic/LUT tabs, editable sliders, auto white balance / auto tone, treatment (colour / B&W), file open (ArozOS picker, local picker and drag & drop) and JPEG export back to storage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Hand off developed image to Pixel Studio on Done Repurpose the Raw Editor's "Done" action into a hand-off: it now writes the current develop to a temporary JPEG (tmp:/RawEditor, auto-cleared by ArozOS) and launches Pixel Studio as a float window with that file as its input (matching Pixel Studio's ao_module_loadInputFiles hash format), then closes the Raw Editor window. Falls back to the normal Save dialog when running outside the ArozOS desktop. The bottom-bar button is relabelled "Open in Pixel Studio". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Redesign Raw Editor UI to match the newer Lightroom / Camera Raw layout Rework the develop panel into the 2024 Lightroom-style layout: - Thin centred title bar with open / save / reset / fit icons. - Borderless histogram with shadow/highlight clipping indicators and an EXIF readout (ISO, focal, aperture, shutter). - "Edit" header carrying Auto (auto-tone) and B&W (treatment) pills. - Profile selector row. - Collapsible Light / Color / Effects / LUT groups, each with a chevron to fold and an eye toggle that bypasses that group's adjustments. - Lightroom slider rows: label + right-aligned editable value on one line, thin track below, with coloured gradient tracks for Temperature (blue-> yellow), Tint (green->magenta) and Vibrance / Saturation. - White-balance eyedropper wired to auto white balance. - Bottom bar with a live filmstrip thumbnail, Fit / 100% zoom, an underlined dimension readout and Cancel / Open in Pixel Studio actions. - Decorative panel-selector strip on the right edge. Pipeline: add Texture (fine local contrast), Vignette (radial) and Grain (post noise) controls to the WebGL develop shader to complete the Effects group, plus per-group bypass handling in the parameter builder. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add ArozOS-backed LUT library with a managed folder LUTs can now be managed through the user's ArozOS storage instead of only one-off browser uploads: - On first use the app creates a "user:/RawEditor/LUTs" folder (via the file_system newItem endpoint with a CSRF token). Users can drop .cube files into it with the Files app. - The LUT panel scans that folder (listDir) and lists every .cube in a "Library" dropdown; picking one reads it back through the media endpoint, parses it and applies it live. A refresh button re-scans on demand. - "Import .cube to library" still loads a local file immediately and now also uploads it into the library folder so it persists and reappears in the list next time. - Selecting a LUT re-enables the LUT group (clears any eye bypass); the hint line reports how many LUTs are available. Falls back gracefully to local import when running outside the ArozOS desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add scroll-zoom and right-drag pan; remove unused UI - Scroll wheel now zooms the photo, centred on the cursor, and the current zoom level is shown in the status bar. Fit / 100% buttons reset the view. - Right-mouse (or middle) button drag pans the image; the browser context menu is suppressed over the canvas. The view re-fits on window resize. The canvas is now transform-based (translate + scale) instead of the old fit / 1:1 CSS toggle. - Removed the Profile dropdown (no camera profiles in this pipeline) and the decorative right-edge tool strip, so the panel only shows working controls. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Pan with left mouse button and fix LUT dropdown overflow - Change canvas panning from right-drag to left-mouse (and middle) drag, with a grab / grabbing cursor over the image. The context menu is no longer suppressed. - Fix the LUT Library dropdown (and any select) overflowing the panel when an option label is long: give .mini-select min-width:0 so it can shrink inside its flex row instead of stretching to the widest option. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Load EXIF from JPEG APP1 so shooting info shows reliably Some RAW files (and any plain JPEG) did not populate the ISO / focal / aperture / shutter readout under the histogram. The cause: when the RAW's outer TIFF structure fails to parse, the image still loads via the brute-force embedded-JPEG scan, but the metadata comes back empty. Add a JPEG APP1 EXIF reader (the APP1 payload is itself a TIFF block, so it reuses the existing TIFF parser) and use it to: - read EXIF for plain JPEG images, and - fill any missing EXIF fields from the embedded preview for RAW files, which rescues shooting info when the main TIFF could not be parsed. Also harden applyMeta so the EXIF line is written before the window-title call and a title error can no longer suppress it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Match Photoshop LUT rendering: tetrahedral interpolation + true sRGB The same .cube LUT looked cyan/teal-shifted compared to Photoshop. Two causes, both fixed: - Interpolation: the 3D LUT was sampled with GPU trilinear filtering, which introduces a cyan/green cast on film-style LUTs. Switch the LUT textures to NEAREST and do proper tetrahedral interpolation in the shader — the same method Photoshop's Color Lookup and Resolve use. - Transfer function: encode to display with the true sRGB OETF instead of a plain 2.2 gamma. This exactly inverts the sRGB decode applied to 8-bit sources, so the values fed into the LUT match what Photoshop feeds it (previously the mismatch shifted shadow tones the LUT is sensitive to). Also honour the LUT's DOMAIN_MIN / DOMAIN_MAX when sampling. Verified in-browser: an identity LUT now passes through unchanged (exact tetrahedral), a channel-swap LUT swaps correctly, and a constant LUT maps to the constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Harden RAW EXIF parsing for real camera files Improve the chance that ISO / focal / aperture / shutter show for real RAWs (e.g. Sony ARW), which kept the readout blank: - Scan every embedded JPEG for APP1 EXIF, not just the largest preview. Sony keeps EXIF in the small thumbnail while the full-size preview has none. - Stop recursing the MakerNote (0x927C) as if its bytes were IFD offsets — that could be pathologically slow / derail a clean parse on real files; EXIF is reached through the standard ExifIFD (0x8769) pointer. - Cap IFD entry counts (>4096) to bail out of parsing stray/garbage offsets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Fix RAW preview selection: never decode CFA raw as the preview image On real Sony ARW files the develop view hung and EXIF stayed blank. Root cause: the CFA raw plane is a lossless-JPEG-compressed stream that also starts with 0xFFD8, and the embedded-preview finder picked it as the "largest JPEG" (31 MB) and handed it to the browser to decode as an image. The browser cannot decode lossless JPEG, so decoding stalled and the pipeline never reached the metadata display. Fixes: - Ignore CFA / raw IFDs (Photometric 32803) when hunting for a preview JPEG. - Only accept a range that is a real JPEG (SOI at the start AND EOI at the end) via a looksLikeJpeg() check, so a truncated raw stream can't be chosen. - Cap the brute-force SOI/EOI scan span so raw bytes containing 0xFFD8 can't yield a multi-megabyte junk range. With this, ARW files pick the correct full-size preview, the image loads, and ISO / focal / aperture / shutter populate under the histogram. Verified against a real 25MP Sony ILCE-6700 ARW end-to-end in the browser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 * Add LUT "Log input" mode for log-to-display conversion LUTs Film-conversion LUTs (F-Log/S-Log/V-Log -> Rec.709, e.g. the Fujifilm FLog_to_ETERNA LUT) are authored for a flat log signal. Applied straight to a normal photo they over-contrast and over-saturate, which is why the result looked much punchier than the same LUT in Photoshop. Add a "Log input" toggle in the LUT panel: before the 3D lookup the image is flattened toward a log signal so the LUT reads it the way it was designed to, giving the intended muted film look instead of a punchy one. - A true camera-log encode can't work from a display-referred base (a JPEG spans ~2.5 stops, F-Log expects ~14 — it fogs shadows or greys highlights), so the flatten is a clean log2 curve that keeps blacks black and whites white while lifting mid-tones. No wash-out. - Auto-enables when the LUT name/title looks like a log conversion (f-log, s-log, v-log, log-c, ...); still user-toggleable, with an Amount slider for fine control. Verified end-to-end on the real Sony ARW + Fujifilm ETERNA LUT: colours stay natural and the grade is muted rather than over-saturated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0151sG7aaGnwCPRt3qvGNxd3 --------- Co-authored-by: Claude <noreply@anthropic.com> * Updated Musicify * Add iOS support for privacy mode * Add module icons and polish UI messaging Adds new desktop/module icon assets (including PSD sources) for Audio Studio, Productivity, and Reminders, and updates Cine Studio’s desktop icon. Also simplifies the PDF editor save toast message in Productivity and removes the fwdragger text-shadow override in ao.css for cleaner styling behavior. * Update Makefile * Add work in progress office suite * Add DOCX support and packed Office files Extend the Office stack end-to-end: add DOCX reader/writer support in mod/office with new tests, expose new AGI office APIs for DOCX and native container pack/unpack, and document the new functions in AGI and Terminal API docs. Native .doca/.xlsa/.ppta now use a zip container with embedded/deduplicated assets and workdir-based media extraction. Update Office web apps to use packed saves/loads and session snapshots, add Docs DOCX import/export plus multi-column/layout tooling and richer editing UX, add Sheets range-drag move with formula rewrite support, and expand Slides with grouping, animations, links, media objects, transitions, and presenter view. Also refresh Office module/file icons and extension mappings. * Office suite: charts, notes, review, pivot tables Backend: - Fix WriteStream to use O_TRUNC so overwriting a shorter file doesn't leave stale bytes (fixes zip-based formats like .pptx) - xlsx: native DrawingML chart round-trip (bar/line/pie) for Sheets - xlsx: cell note (comment) round-trip via xl/commentsN.xml + VML Frontend (shared): - OfficeHotkeys (hotkeys.js): centralized keyboard registry with Ctrl+/ help dialog; all three apps migrated - OfficeColorPicker (colorpicker.js): Google-Docs-style palette + HSV picker + eyedropper replaces <input type="color"> - OfficeTextEditBar: two-row layout, highlight color button, OfficeColorPicker integration Docs: - Review comments: anchor <span class="doc-cmt">, side panel, Ctrl+Alt+M - Track changes / suggest-edits mode: ins.doc-ins / del.doc-del; accept/reject per-suggestion or all - Foreign exports (docx/html/md/txt) use resolvedHtml() with suggestions accepted Sheets: - Cell notes (N field): corner indicator, Shift+F2 / context menu - Formula bar range picking: click/drag on grid inserts cell reference while editing - Chart clipboard: objects round-trip via system clipboard as marker JSON - Pivot table dialog (Data menu) with range picker; refresh on demand Slides: - Fully migrated to OfficeHotkeys; Ctrl+C/X write objects to system clipboard synchronously - Ctrl+Click opens links in text boxes; plain click shows hint - Slide background color uses OfficeColorPicker.swatchInput * V3.0.1 -> V3.0.2 (#278) * Video conferencing tool (#275) * Add MeetRoom video conferencing system New Zoom-style video conferencing for ArozOS, joinable by 9-digit meeting ID with optional password: - mod/meetroom: room manager with password-protected rooms (salted SHA-256, constant-time compare), participant registry for the signaling relay, temp-dir attachment storage addressed by random IDs, idle-room sweeping, and table-driven tests. - src/meetroom.go: prouter-gated endpoints under /system/meetroom/ (create, join, info, end, upload, download, iceservers) plus the WebSocket signaling relay for SDP/ICE, chat, file announcements and mute/camera/screen state. Reuses Arozcast's STUN/TURN ICE config so the built-in relay also carries MeetRoom calls across NAT. - web/MeetRoom: WebApp with lobby (new meeting / join by ID+password) and meeting UI: WebRTC mesh video+audio, screen sharing via replaceTrack (no renegotiation), meeting chat with unread badge, and file attachment sharing with download links. Media is always peer-to-peer; the server only relays signaling and stores files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WRXbPMLvRgPBZ2et8FJPaY * Add auto-reconnect and dead-connection timeouts to MeetRoom Client (web/MeetRoom/app.js): - App-level ping/pong heartbeat (15s cadence) detects half-dead sockets; 40s without a pong force-closes the connection. - When the signaling socket drops mid-meeting, the room UI and local media stay alive and the client reconnects with capped exponential backoff (1s..10s), showing a reconnect banner with the attempt count. Each attempt first probes /info (stop immediately if the meeting ended) and refreshes the short-lived TURN credentials. - Reconnecting rejoins as a fresh peer and rebuilds the WebRTC mesh from the new welcome frame; mute/camera choices are preserved. - Gives up after 60s and returns to the lobby with an explanation. Chat drafts are kept (not silently dropped) while reconnecting. Server (src/meetroom.go): - WebSocket keepalive: protocol ping every 20s, 60s read deadline refreshed by pongs and incoming frames, 10s write deadlines - a silently dead client is removed from the room (with peer-leave broadcast) instead of lingering as a ghost participant. - New "ping" signaling frame answered with {"type":"pong"} to back the client heartbeat. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WRXbPMLvRgPBZ2et8FJPaY --------- Co-authored-by: Claude <noreply@anthropic.com> * Add SharedSpace collaboration areas and MeetRoom integration (#276) * MeetRoom AGI integration: shared spaces, attendance, richer chat Expose MeetRoom room creation to AGI scripts and build the shared-area mechanism it rides on, plus a round of front-end upgrades: - New mod/sharedspace package: in-memory shared areas where multiple users share texts, images and files together (capability-style random IDs, disk-backed blobs, item listeners, owner/uploader permissions). - New AGI "sharedspace" library: create/list/delete spaces, addText, addFile (from user storage), listItems, getText, saveFileTo, removeItem. New AGI "meetroom" library (gated by MeetRoom module permission): createRoom, getRoomInfo, getRoomSpace, listMyRooms, endRoom, getAttendance. AgiVersion bumped to 3.3; README and Terminal api.json updated in sync. - MeetRoom rooms now bind a shared space at creation: chat and uploads mirror into it, and items posted by AGI scripts flow back into the live meeting as chat/file frames, so scripts can read and post into a running meeting. - Attendance log per room (join/leave times) with a new "attendance" WebSocket frame and a Participants side panel in the UI. - Chat upgrades: images render inline by default (inline=1 download disposition, raster whitelist keeps SVG as attachment-only), Ctrl+V pastes a copied image straight into the chat, and a clickable popup toast appears when a new message arrives while the chat is closed. - WebAudio join/leave chimes (no bundled audio assets). - Fix missing API.info entry that broke the reconnect probe in app.js. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: access control, persistence, realtime channels, documents Grow mod/sharedspace from an ephemeral item store into the collaboration backbone core: - access.go: access modes (open capability-ID, public self-join, private invite-only), member roles (owner/admin/member), space metadata with caps, public/member listings and disk usage accounting. - persistence.go: opt-in persistent spaces write through to the system database (spaces, items, documents) with blobs in a durable root; self-healing boot reload, cascading deletion and a stale-space sweeper for retention. - channel.go: per-space realtime hub (numbered subscribers, targeted send, broadcast-with-exclude, presence hooks, leaf-lock discipline) generalizing the MeetRoom relay pattern for WebSocket transports. - doc.go: revision-numbered collaborative documents with compare-and-swap updates, splice-patch diffs and doc events for Google-Docs-style co-editing without an OT/CRDT engine. - SpaceEvent stream (SubscribeEvents) alongside the existing item listeners so transports can fan out item/doc/member mutations live. Persistent chat rooms trim their oldest items at the cap; ephemeral spaces keep the existing fail-at-cap semantics, and every pre-existing API keeps its exact behaviour (all previous tests pass unmodified). Database-backed tests skip under -race: boltdb v1.3.1 trips checkptr. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * meetroom: run meeting signaling on the sharedspace channel layer Replace the room's private participant registry with the bound space's realtime channel, proving conferencing apps can be built directly on the sharedspace backbone: - Participant is now a thin wrapper around a sharedspace.Subscriber (PeerID and Send alias the subscriber's ID and buffer; close-once lives in the subscriber). - Room.Broadcast / Room.SendTo delegate to the channel, so meeting frames also reach generic space subscribers connected through the sharedspace WebSocket - and the attendance roster stays meeting-only. - Rooms without a bound space manager get a standalone channel with identical semantics; CloseRoom tears the hub down for everyone. The whole pre-migration test suite passes unmodified; new tests pin the roster/channel relationship and the cross-subscriber broadcast path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: HTTP/WS endpoint surface and administrator control Expose the collaboration backbone to web clients and administrators: - /system/sharedspace/* user endpoints (login-gated; the space ACL is the authorization layer): space CRUD, public directory, join/leave, member and role management, metadata, items, upload/download with inline raster-image support, and compare-and-swap document endpoints with structured conflict replies. - /system/sharedspace/ws realtime channel: welcome/presence frames, ephemeral signal relay (WebRTC-ready) and broadcast frames, persisted chat via item-added fan-out, live document patches with sender-only conflict frames, meetroom-style liveness (server pings + read deadlines). - Admin surface under System Settings > Shared Spaces (Advance group): enumerate every space with usage figures, delete with system authority, and persist limits (max upload, items per space, persistence toggle, retention days) applied live; hourly retention sweep for idle persistent spaces. - The manager now boots persistence-enabled over the system database with durable blobs under system/sharedspace. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * agi: sharedspace access control, membership and document functions Extend the AGI sharedspace library to the full backbone feature set (all additive; the original ten functions keep their signatures): - createSpaceAdvanced(name, {access, persistent, metadata}), the public directory (listPublicSpaces), joined-space listing, joinSpace / leaveSpace, setAccess, setMeta / getMeta and addMember / removeMember / listMembers. - Collaborative documents: createDoc, listDocs, getDoc and compare-and-swap updateDoc returning {ok, revision} or a structured conflict object, plus deleteDoc. - Existing read paths now honour the space ACL (identical behaviour for all pre-existing open spaces; private spaces read as nonexistent to outsiders), item removal accepts space admins, and deleteSpace broadcasts the shutdown to live channel subscribers first. AgiVersion bumped to 3.4; mod/agi README, the Terminal in-app API reference and the CLAUDE.md library list updated in sync. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj --------- Co-authored-by: Claude <noreply@anthropic.com> * MeetRoom AGI integration: shared spaces, attendance, richer chat * MeetRoom AGI integration: shared spaces, attendance, richer chat Expose MeetRoom room creation to AGI scripts and build the shared-area mechanism it rides on, plus a round of front-end upgrades: - New mod/sharedspace package: in-memory shared areas where multiple users share texts, images and files together (capability-style random IDs, disk-backed blobs, item listeners, owner/uploader permissions). - New AGI "sharedspace" library: create/list/delete spaces, addText, addFile (from user storage), listItems, getText, saveFileTo, removeItem. New AGI "meetroom" library (gated by MeetRoom module permission): createRoom, getRoomInfo, getRoomSpace, listMyRooms, endRoom, getAttendance. AgiVersion bumped to 3.3; README and Terminal api.json updated in sync. - MeetRoom rooms now bind a shared space at creation: chat and uploads mirror into it, and items posted by AGI scripts flow back into the live meeting as chat/file frames, so scripts can read and post into a running meeting. - Attendance log per room (join/leave times) with a new "attendance" WebSocket frame and a Participants side panel in the UI. - Chat upgrades: images render inline by default (inline=1 download disposition, raster whitelist keeps SVG as attachment-only), Ctrl+V pastes a copied image straight into the chat, and a clickable popup toast appears when a new message arrives while the chat is closed. - WebAudio join/leave chimes (no bundled audio assets). - Fix missing API.info entry that broke the reconnect probe in app.js. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: access control, persistence, realtime channels, documents Grow mod/sharedspace from an ephemeral item store into the collaboration backbone core: - access.go: access modes (open capability-ID, public self-join, private invite-only), member roles (owner/admin/member), space metadata with caps, public/member listings and disk usage accounting. - persistence.go: opt-in persistent spaces write through to the system database (spaces, items, documents) with blobs in a durable root; self-healing boot reload, cascading deletion and a stale-space sweeper for retention. - channel.go: per-space realtime hub (numbered subscribers, targeted send, broadcast-with-exclude, presence hooks, leaf-lock discipline) generalizing the MeetRoom relay pattern for WebSocket transports. - doc.go: revision-numbered collaborative documents with compare-and-swap updates, splice-patch diffs and doc events for Google-Docs-style co-editing without an OT/CRDT engine. - SpaceEvent stream (SubscribeEvents) alongside the existing item listeners so transports can fan out item/doc/member mutations live. Persistent chat rooms trim their oldest items at the cap; ephemeral spaces keep the existing fail-at-cap semantics, and every pre-existing API keeps its exact behaviour (all previous tests pass unmodified). Database-backed tests skip under -race: boltdb v1.3.1 trips checkptr. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * meetroom: run meeting signaling on the sharedspace channel layer Replace the room's private participant registry with the bound space's realtime channel, proving conferencing apps can be built directly on the sharedspace backbone: - Participant is now a thin wrapper around a sharedspace.Subscriber (PeerID and Send alias the subscriber's ID and buffer; close-once lives in the subscriber). - Room.Broadcast / Room.SendTo delegate to the channel, so meeting frames also reach generic space subscribers connected through the sharedspace WebSocket - and the attendance roster stays meeting-only. - Rooms without a bound space manager get a standalone channel with identical semantics; CloseRoom tears the hub down for everyone. The whole pre-migration test suite passes unmodified; new tests pin the roster/channel relationship and the cross-subscriber broadcast path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * sharedspace: HTTP/WS endpoint surface and administrator control Expose the collaboration backbone to web clients and administrators: - /system/sharedspace/* user endpoints (login-gated; the space ACL is the authorization layer): space CRUD, public directory, join/leave, member and role management, metadata, items, upload/download with inline raster-image support, and compare-and-swap document endpoints with structured conflict replies. - /system/sharedspace/ws realtime channel: welcome/presence frames, ephemeral signal relay (WebRTC-ready) and broadcast frames, persisted chat via item-added fan-out, live document patches with sender-only conflict frames, meetroom-style liveness (server pings + read deadlines). - Admin surface under System Settings > Shared Spaces (Advance group): enumerate every space with usage figures, delete with system authority, and persist limits (max upload, items per space, persistence toggle, retention days) applied live; hourly retention sweep for idle persistent spaces. - The manager now boots persistence-enabled over the system database with durable blobs under system/sharedspace. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * agi: sharedspace access control, membership and document functions Extend the AGI sharedspace library to the full backbone feature set (all additive; the original ten functions keep their signatures): - createSpaceAdvanced(name, {access, persistent, metadata}), the public directory (listPublicSpaces), joined-space listing, joinSpace / leaveSpace, setAccess, setMeta / getMeta and addMember / removeMember / listMembers. - Collaborative documents: createDoc, listDocs, getDoc and compare-and-swap updateDoc returning {ok, revision} or a structured conflict object, plus deleteDoc. - Existing read paths now honour the space ACL (identical behaviour for all pre-existing open spaces; private spaces read as nonexistent to outsiders), item removal accepts space admins, and deleteSpace broadcasts the shutdown to live channel subscribers first. AgiVersion bumped to 3.4; mod/agi README, the Terminal in-app API reference and the CLAUDE.md library list updated in sync. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0186iLM3a3oY85KQqPiLHXWj * Chatspace: Slack-style team chat WebApp on the sharedspace backbone A new webapp (src/web/Chatspace) that replicates the Slack desktop client on top of the shared space collaboration layer, with no core (Go) changes: - Channels and DMs are shared spaces: channels are public (browsable, self-join) or private (invite-only) spaces; DMs are private spaces keyed by their sorted participant list so both sides converge on the same conversation. - Messages are space text items carrying a JSON envelope; reactions, edits, pins and threads are envelope items referencing the target item id, reduced client-side from the item stream. Plain text items from other sharedspace clients render as normal messages. - Realtime delivery, presence and typing ride the per-space WebSocket channel (item events, peer-join/leave, ephemeral broadcasts) with per-socket heartbeat and capped-backoff reconnect. - Workspace bootstrap (auto-provisioned #general), channel creation and DM find-or-create run as AGI backend scripts using requirelib("sharedspace"). - Slack features: aubergine rail + sidebar with unread/mention badges, threads panel, reactions, message editing/deleting, pinned messages, saved-for-later, drafts, activity feed (mentions/replies/reactions), channel browser/creator, invites, member management, topic/rename, quick switcher (Ctrl+K), search, file/image uploads with drag-drop and paste, presence dots, typing indicators, day dividers, message grouping and Slack-style markup (*bold*, _italic_, ~strike~, code, quotes, @mentions, :shortcode: icons rendered as Semantic UI glyphs instead of emoji, per repo convention). Verified end-to-end against a live build with two users via headless Chromium: bootstrap, WS chat, reactions, threads, channel creation, DM open, cross-user realtime delivery, quick switcher and search. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: AI assistant, Slack-style Activity pane, @everyone, motion polish Round-2 improvements to the Chatspace WebApp, plus one storage change: - AI assistant (@ai): a new AGI backend script (backend/aibot.js) built on requirelib("llm") - the built-in AGI AI integration - answers when a member mentions @ai in any channel, thread or DM. It feeds the recent conversation (thread-scoped when asked inside a thread) to the configured model and posts the reply back into the shared space as a bot-flagged envelope, so everyone sees it in realtime. The client shows a "Chatspace AI is typing" indicator while the model thinks and renders bot replies with an assistant avatar and APP badge. When no AI endpoint is configured the bot answers with a pointer to System Settings instead of failing silently. - Activity is now a full main-pane view (like the Slack client), with All / Mentions / Threads / Reactions tabs, actor avatars and click-to-jump rows, opened from the rail or the sidebar; the old sidebar list remains for the other rail views. - @everyone / @channel broadcast mentions: offered by the mention autocomplete, rendered as highlight pills, and counted as a mention for every member (badges, notification sound, activity feed). - Huddle button now opens MeetRoom in an ArozOS floatWindow via ao_module_newfw (which itself falls back to window.open outside the desktop). - Motion polish: entry animations for modals, popovers, panels, toasts, new messages and view switches, plus hover/press transitions, respecting prefers-reduced-motion. - Assistant replies posted in the same second as their trigger now sort after it (bot-rank tiebreak in the item reducer). - Shared space storage now lives with the user data under the -root directory (default ./files/sharedspace) instead of system/; an existing system/sharedspace tree is migrated once at startup, keeping the legacy location if the move fails (e.g. across mounts). Blob disk paths are recomputed from the root at load time, so relocation is safe. Verified against a live build with a stub OpenAI-compatible endpoint: mention picker -> thinking indicator -> bot reply, @everyone pill + cross-user activity row, activity tabs and jump, huddle fallback, and the system->files storage migration. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: PWA support, Slack-style attachments, details modal, date jump - PWA: manifest.json (standalone display, SVG + generated 192/512 PNG icons, credentialed fetch like the other webapps) plus a service worker that keeps the static app shell available network-first with a cached fallback; the /system/ API surface, uploads and WebSockets are never intercepted so chat data cannot go stale. Apple/mobile web app meta tags added to the shell. - Attachments now follow the Slack presentation: a muted filename bar with a collapse chevron above the preview (toggling folds the preview away per item), rounded inline image previews with hover overlay actions (download, open in new tab), and non-image files keep a compact card with a hover download hint - the redundant download card under images is gone. - Channel details moved from the right panel into a Slack-style centered modal: header with the channel name, Star and Huddle pill buttons, and About / Members / Settings tabs. Members has find-member filtering, an Add people row, presence dots and Channel Manager / Admin role tags with click-through to profiles; Settings gathers rename, public/private visibility switch (new), leave and delete. About gains an editable description alongside the topic. - Day dividers are now clickable "Jump to..." menus (Today, Last week, Last month, or a specific date) that scroll to and highlight the first message from the chosen time. Verified in-browser: manifest 200 + active service worker, hover actions and collapse toggle, tabbed modal with member filter and role tag, and date jumps landing on highlighted messages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: in-app image lightbox instead of opening a new tab Clicking an inline image preview now opens a Slack-style lightbox over the app: dark backdrop, top bar with the uploader's avatar, filename and size, and download / open-in-new-tab / close actions. Arrow keys or on-screen chevrons move through every image in the conversation in chronological order (with an "n of m" counter), clicking the image toggles full-size zoom, and Esc or a backdrop click closes it. The hover overlay on the inline preview keeps explicit download and open-in-tab links for when a tab is actually wanted. Verified in-browser: no popup on click, working file label and counter, arrow navigation, zoom toggle and Esc close. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: responsive mobile / installable-PWA layout On phone-width screens (<=768px) the desktop three-pane layout collapses into the Slack mobile pattern so the installed PWA feels native: - The icon rail becomes a bottom tab bar (Home / DMs / Activity / More / Search) with labels and a red activity dot; the compose button becomes a floating action button that hides while a conversation is open. - The purple sidebar is the "list" screen and the white content card is the conversation / activity screen, which slides over the list; a back chevron in the channel/activity header returns to the list. On launch the app lands on the Home list (the last conversation is preloaded behind it for an instant open) instead of opening a conversation. - The workspace avatar moves into the sidebar header (opens the profile); a Search tab opens the quick switcher since the desktop search bar is hidden. - Thread / details / profile panels and all modals (details, browse, new message, invite, quick switcher) become full-screen sheets; toasts sit above the tab bar; the lightbox clears the notch. - Safe-area insets (viewport-fit=cover + env(safe-area-inset-*)) and 100dvh sizing keep content clear of the status bar, home indicator and dynamic browser chrome. The composer formatting toolbar collapses behind the Aa button on mobile; the Aa toggle now reads the computed state so it works on both layouts. Desktop layout is unchanged (mobile affordances are hidden >768px, and the old 900px squeeze became a gentler 769-1040px tightening). Verified with a 390x844 touch viewport: bottom bar, list<->conversation slide + back, send, DMs/Activity tabs, full-screen profile and quick switcher; plus a desktop regression pass (topbar, toolbar, rail avatar intact, no console errors). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace sidebar redesign + Shared Spaces admin dark mode Sidebar (left channel list): - The active conversation now uses a purple pill highlight (matching the Slack aubergine sidebar) instead of a flat dark overlay; hover is a lighter, subtler tint. - Unread conversations stay bold white; the pink count badge appears only when it is actionable - a channel where I'm @mentioned (mention count, including @everyone / @channel and mentions inside thread replies) or a direct message (unread message count). Unread-but-not- mentioned channels are just bold, no badge, like Slack. - recountUnread now scans every message (not just roots) so thread-reply mentions and messages count toward the badge. Shared Spaces admin page (SystemAO/sharedspace/spaces.html): - Added dark-mode support following the System Settings convention: the page toggles a scoped `.dark` class on #ss-root from the host's `preferredTheme` and the live `detailPageThemeCallback`, with a prefers-color-scheme fallback when opened standalone. Dark overrides cover the cards, text, number inputs, table hover and the access / storage pills, fixing the washed-out low-contrast rendering when the desktop is in dark mode. Verified in-browser: active purple pill (rgb 91,46,92), #general mention badge "1" + bold, bob DM badge "1"; spaces.html dark (bg #1c1c1e, text #ececec) with light mode still unaffected. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 * Chatspace: video/audio/text previews, download-or-save chooser, avatar fix Attachment previews now cover more than images: - Video files (mp4, webm, mov, m4v, mkv, ogv) render an inline <video> player; audio files (mp3, wav, ogg, m4a, flac, aac) an <audio> player. - Text / code files (txt, md, json, csv, logs, source, ...) up to 256KB show an inline, scrollable source preview, fetched and inserted with textContent so the file body is never interpreted as HTML; larger files show a truncation note. Media plays and text loads straight from the existing download endpoint - Content-Disposition is ignored for media elements and fetch, so no server change was needed. Download control: - The download button on every attachment now opens a chooser: "Download to this device" (a normal browser download) or "Save to ArozOS files" (copy into the user's own ArozOS storage). The latter uses the desktop folder picker when available, else defaults to user:/Desktop, via a new AGI backend script (backend/saveToArozOS.js) that calls sharedspace.saveFileTo; it creates the destination folder if missing and falls back to the user root. Avatar fix: - Profile-picture images are now constrained to their container (.cs-avatar-img: width/height 100%, object-fit cover) so a large source image (e.g. 280x280) no longer overflows the rail / message / header avatars. Verified in-browser: text preview populated, audio metadata/duration loads (proving inline playback under attachment disposition), video element present, the two-option download menu, save-to-ArozOS writing the file to the user's Desktop, and a 280x280 avatar rendering at its 36px container size. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UVTgmFBben9gaUqh5gToK7 --------- Co-authored-by: Claude <noreply@anthropic.com> * Chat app icon alignment centering (#279) * Fix Chatspace sidebar icon alignment and center plus glyph The Semantic UI icon-font glyphs render high inside their em-box, so the sidebar nav icons (Threads, Drafts, Activity, Later, channels) sat above the vertical center of their labels. Nudge .sb-item icons down 1px so the glyph ink lines up with the text. The add/new-message plus box used width:auto, which shrank the icon to the glyph advance width and exposed the plus glyph's asymmetric side bearings, leaving the + low and left of center. Give the icon the full box with line-height and text-align centering so the + sits in the middle. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrRRTcYfs6H4ej14kvn9rh * Nudge Chatspace reaction-pill icons up to align with the count The check/heart/thumbs glyphs sat optically low next to the reaction count digit because the icon box centers on the pill while the digit ink rides high in its line box. Shift the pill icon up 1px so it lines up with the number. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrRRTcYfs6H4ej14kvn9rh * Increase Chatspace reaction-pill icon nudge for bottom-heavy glyphs A 1px lift wasn't enough for the thumbs up/down, rocket and trophy glyphs: they carry their visual mass low, so they still hung below the count digit even though their em-box was centered. Bump the lift to 2px, which balances those glyphs with the number while keeping the symmetric ones (check, heart, star) from riding high. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NrRRTcYfs6H4ej14kvn9rh * Correct Chatspace sidebar icon nudge direction The earlier nudge pushed .sb-item icons down 1px, which was the wrong direction: with a red center-line overlay the hashtag, lock and channel glyphs all hung below their label text. The pixel scan confirms every icon shares the same ink center that sits slightly low, so shift them up 1px instead. Now the channel/DM icons line up with their names. * Adjust Chatspace sidebar icon nudge to -3px Per request, shift .sb-item icons up 3px. --------- Co-authored-by: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com> * Add curl-like http.request() with full control over method, headers, and body (#280) * AGI: curl-like http.request + 60min LLM timeout http library: - Add http.request(options) supporting method selection, custom headers, raw/JSON/form/binary(base64) request bodies, HTTP basic auth, per-request timeout, redirect-follow control and text/base64 response bodies. Returns a {ok, status, statusText, headers, body, error} response object. - Add http.put/patch/delete/postForm/postJSON helpers built on http.request. - http.get and http.post now accept optional headers (backward compatible: the classic no-header signatures behave exactly as before). - Add agi.http_test.go covering the body builder, request execution (methods, headers, form/binary bodies, basic auth, redirect handling) and the JS bindings. llm library: - Raise the AI completion request timeout from 120s to 60 minutes so long reasoning/agentic replies are not cut short. Docs: update mod/agi/README.md and Terminal api.json; bump AgiVersion to 3.5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * UnitTest: add http.request example backend script Add src/web/UnitTest/backend/http.request.js demonstrating the new curl-like http.request(options) call (method, custom headers, JSON body, timeout, response object) plus the http.postForm helper, matching the existing http.get/post/head/download unit-test examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN --------- Co-authored-by: Claude <noreply@anthropic.com> * Add cross app copy * Fix repeat-one navigation in Musicify Update track navigation logic so `repeat: 'one'` behaves like looped playback at queue boundaries. `nextTrack()` now wraps to the first item when reaching the end under repeat-one, and `prevTrack()` wraps to the last item (and stops playback when repeat is off at the start). This also removes the previous "restart track if >3s" behavior so previous-track consistently follows queue navigation rules. * Add message context menu, thread editing, and keyboard navigation (#281) * AGI: curl-like http.request + 60min LLM timeout http library: - Add http.request(options) supporting method selection, custom headers, raw/JSON/form/binary(base64) request bodies, HTTP basic auth, per-request timeout, redirect-follow control and text/base64 response bodies. Returns a {ok, status, statusText, headers, body, error} response object. - Add http.put/patch/delete/postForm/postJSON helpers built on http.request. - http.get and http.post now accept optional headers (backward compatible: the classic no-header signatures behave exactly as before). - Add agi.http_test.go covering the body builder, request execution (methods, headers, form/binary bodies, basic auth, redirect handling) and the JS bindings. llm library: - Raise the AI completion request timeout from 120s to 60 minutes so long reasoning/agentic replies are not cut short. Docs: update mod/agi/README.md and Terminal api.json; bump AgiVersion to 3.5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * UnitTest: add http.request example backend script Add src/web/UnitTest/backend/http.request.js demonstrating the new curl-like http.request(options) call (method, custom headers, JSON body, timeout, response object) plus the http.postForm helper, matching the existing http.get/post/head/download unit-test examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * Chatspace: keyboard-driven composers + PWA Back for threads Full keyboard control across the app: - @mention picker is now arrow-navigable: Up/Down move the highlight (wrapping), Enter/Tab insert, Esc dismisses. Rows confirm on mousedown so the composer keeps focus/selection. - Mentions and the same key affordances now work in the thread composer too, not just the main composer (shared composerKeydown handler). - Up-arrow-to-edit works inside threads (edits your last reply); Esc cancels an in-progress inline edit without closing the panel. - Layered Esc: closes the top-most popover, then an open modal, then the thread/profile panel. PWA: opening a thread/profile panel pushes a history entry so the device or browser Back button closes the panel instead of leaving the installed app. A single sentinel is reused across convo switches to avoid an async popstate race; UI dismissals consume it via history.back(). Bumped the service-worker shell cache to v2 and refreshed the in-app shortcut help. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: stop thread panel overflowing off-screen when narrow The desktop layout grid used `68px 1fr` for the rail/body columns. A bare `1fr` track is floored at its min-content, so once the thread (right) panel is open the sidebar + content + panel minimum widths force the body track wider than the viewport. The body then overflows to the right and the thread panel - along with its close button - is pushed off-screen and unreachable at narrow desktop / resized floatWindow widths (roughly 769-1040px), where the mobile full-screen breakpoint has not yet kicked in. Floor the body track with `minmax(0, 1fr)` and let `#body` shrink (`min-width: 0`) so the flex row collapses to the available width instead of overflowing; `overflow: hidden` on `#app` is a belt-and-suspenders guard (in-app popovers and modals live outside `#app`, so they are not clipped). Verified in Chromium from 760px through 1280px: zero body / document overflow and the panel close button stays on-screen at every width. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix channel-header overlap and email-username mentions Two narrow-width / naming bugs in the channel view: 1. Channel header overlap. When the content pane is squeezed (e.g. a thread panel open on a mid-size window), the channel name spilled out of `.ch-left` and rendered on top of the star / members / call buttons, producing the mangled "name + overlapping box + star" seen in the header. `.ch-left` now clips its overflow, the channel name truncates with an ellipsis instead of pushing its siblings out (`#chNameBtn` is a flex row with `min-width:0`, `#chName` ellipsizes), the star keeps its size (`flex-shrink:0`), and the secondary topic yields space first (`flex-shrink:100`). Verified: no element overlaps from 230px through full width, and the name shows in full once there is room. 2. Email-style @mentions. The mention token stopped at an embedded "@", so mentioning a user named "admin@example.com" only highlighted "admin". The mention render + typing-detection character classes now include "@", so the whole "admin@example.com" is captured and matched. Exact-username lookup is unchanged, so plain names, dotted names and @everyone/@ai still resolve and bare emails in prose (bob@example.com, no leading @) are still not treated as mentions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: sidebar, search empty-state, mention + details fixes - Sidebar: starred channels / DMs stay listed under their own Channels / Direct messages section instead of being removed once starred, and the collapse caret on each section title is aligned to the same column as the row icons (# / lock / +) for a clean left rail. - Search: focusing the (blank) search box now opens a Slack-style empty state - a "Search messages, files and more" hint plus recent conversations as quick jumps - instead of showing nothing. - Mentions: only real-user mentions (which carry data-user) open a profile on click; @everyone / @channel / @ai are not people and no longer pop a blank profile panel. - Details modal: the topic "Edit" link is no longer glued to the value ("Add a topicEdit") - .rp-editlink is now a global class so its left margin applies outside .rp-section too. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: keyboard nav for search + pickers, tidy presence dot Audit pass 1 (search / people pickers): - Search dropdown is now keyboard driven: Down/Up move the highlight (wrapping), Enter opens the highlighted result, Esc closes the panel; hovering syncs the cursor. Previously it was mouse-only. - The New message / Add people pickers gain the same arrow + Enter navigation, with a visible keyboard-cursor highlight (.kbfocus). - Presence dot in picker rows now overlays the avatar's corner (like the sidebar) instead of floating as a separate column between the avatar and the name, which left an empty gap for offline users. Verified in Chromium: search arrow nav cycles 1->2->1->0, Esc hides the dropdown, no page errors. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: browse-modal keyboard nav + document list shortcuts Audit pass 2 (browse + docs): - Browse channels list is now keyboard navigable: Up/Down move a visible cursor (.kbfocus) and Enter triggers the highlighted row's Open / View button; hovering syncs the cursor. This completes arrow-key control across every list surface (search, quick switcher, @mention picker, people pickers, browse). - Documented the search / picker navigation in the About > Shortcuts help. Swept the remaining views (help, details Settings, profile panel, thread panel, Threads/Drafts/Later lists) - all icons and spacing check out, no further misalignments found. Verified browse nav in Chromium: arrows move the cursor and Enter activates the row's button. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix thread image overflow + add right-click context menu - Thread panel image overflow: .msg-img was capped at a fixed 360px, wider than the ~330px thread panel, forcing a horizontal scrollbar. Cap with min(360px, 100%) so it keeps the 360px limit in the wide pane but never exceeds a narrow container; same fix for the text-file preview (520px). - Right-click context menu for messages (Slack style): Add reaction, Reply in thread, Copy text, Save for later, Pin/Unpin, Edit (own text), Delete (own or manager), with a separator layout and danger styling. The single-key hints shown on the right (R/T/C/A/P/E, Del) are live while the menu is open; Ctrl/Cmd combos are left to the browser, and a native menu still appears when text is selected inside the message. Edit routes to the thread composer when the message is in the thread panel. Verified in Chromium end to end: a real message right-clicks open the menu with the expected items, the A shortcut runs its action and closes the menu, and the thread-panel image no longer overflows (360px cap preserved in the main pane). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: put the thread-reply bar below an image, not beside it The thread summary bar was display:inline-flex, so after an image (whose .file-preview is display:inline-block) the two shared a line and the "N replies / Last reply ..." pill floated to the right of the image. Make the bar block-level (display:flex) with width:fit-content so it drops onto its own line under the image while keeping its compact pill shape. Verified in Chromium: the bar's top is below the image's bottom and its width stays content-sized (~194px, not full width). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 --------- Co-authored-by: Claude <noreply@anthropic.com> * Add docs page breaks and table tools Teach Docs to preserve explicit page breaks in the editor and DOCX import/export, and align exported headers/footers with the editor's left-aligned layout. The editor UI also gains a Word-style table inserter, contextual table formatting menus, richer context/edit menu clipboard actions, and related pagination/menu contract updates. * Add message context menu, thread editing, and keyboard navigation (#282) * AGI: curl-like http.request + 60min LLM timeout http library: - Add http.request(options) supporting method selection, custom headers, raw/JSON/form/binary(base64) request bodies, HTTP basic auth, per-request timeout, redirect-follow control and text/base64 response bodies. Returns a {ok, status, statusText, headers, body, error} response object. - Add http.put/patch/delete/postForm/postJSON helpers built on http.request. - http.get and http.post now accept optional headers (backward compatible: the classic no-header signatures behave exactly as before). - Add agi.http_test.go covering the body builder, request execution (methods, headers, form/binary bodies, basic auth, redirect handling) and the JS bindings. llm library: - Raise the AI completion request timeout from 120s to 60 minutes so long reasoning/agentic replies are not cut short. Docs: update mod/agi/README.md and Terminal api.json; bump AgiVersion to 3.5. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * UnitTest: add http.request example backend script Add src/web/UnitTest/backend/http.request.js demonstrating the new curl-like http.request(options) call (method, custom headers, JSON body, timeout, response object) plus the http.postForm helper, matching the existing http.get/post/head/download unit-test examples. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N7iat5zMwn2N5xDVEAvgpN * Chatspace: keyboard-driven composers + PWA Back for threads Full keyboard control across the app: - @mention picker is now arrow-navigable: Up/Down move the highlight (wrapping), Enter/Tab insert, Esc dismisses. Rows confirm on mousedown so the composer keeps focus/selection. - Mentions and the same key affordances now work in the thread composer too, not just the main composer (shared composerKeydown handler). - Up-arrow-to-edit works inside threads (edits your last reply); Esc cancels an in-progress inline edit without closing the panel. - Layered Esc: closes the top-most popover, then an open modal, then the thread/profile panel. PWA: opening a thread/profile panel pushes a history entry so the device or browser Back button closes the panel instead of leaving the installed app. A single sentinel is reused across convo switches to avoid an async popstate race; UI dismissals consume it via history.back(). Bumped the service-worker shell cache to v2 and refreshed the in-app shortcut help. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: stop thread panel overflowing off-screen when narrow The desktop layout grid used `68px 1fr` for the rail/body columns. A bare `1fr` track is floored at its min-content, so once the thread (right) panel is open the sidebar + content + panel minimum widths force the body track wider than the viewport. The body then overflows to the right and the thread panel - along with its close button - is pushed off-screen and unreachable at narrow desktop / resized floatWindow widths (roughly 769-1040px), where the mobile full-screen breakpoint has not yet kicked in. Floor the body track with `minmax(0, 1fr)` and let `#body` shrink (`min-width: 0`) so the flex row collapses to the available width instead of overflowing; `overflow: hidden` on `#app` is a belt-and-suspenders guard (in-app popovers and modals live outside `#app`, so they are not clipped). Verified in Chromium from 760px through 1280px: zero body / document overflow and the panel close button stays on-screen at every width. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix channel-header overlap and email-username mentions Two narrow-width / naming bugs in the channel view: 1. Channel header overlap. When the content pane is squeezed (e.g. a thread panel open on a mid-size window), the channel name spilled out of `.ch-left` and rendered on top of the star / members / call buttons, producing the mangled "name + overlapping box + star" seen in the header. `.ch-left` now clips its overflow, the channel name truncates with an ellipsis instead of pushing its siblings out (`#chNameBtn` is a flex row with `min-width:0`, `#chName` ellipsizes), the star keeps its size (`flex-shrink:0`), and the secondary topic yields space first (`flex-shrink:100`). Verified: no element overlaps from 230px through full width, and the name shows in full once there is room. 2. Email-style @mentions. The mention token stopped at an embedded "@", so mentioning a user named "admin@example.com" only highlighted "admin". The mention render + typing-detection character classes now include "@", so the whole "admin@example.com" is captured and matched. Exact-username lookup is unchanged, so plain names, dotted names and @everyone/@ai still resolve and bare emails in prose (bob@example.com, no leading @) are still not treated as mentions. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: sidebar, search empty-state, mention + details fixes - Sidebar: starred channels / DMs stay listed under their own Channels / Direct messages section instead of being removed once starred, and the collapse caret on each section title is aligned to the same column as the row icons (# / lock / +) for a clean left rail. - Search: focusing the (blank) search box now opens a Slack-style empty state - a "Search messages, files and more" hint plus recent conversations as quick jumps - instead of showing nothing. - Mentions: only real-user mentions (which carry data-user) open a profile on click; @everyone / @channel / @ai are not people and no longer pop a blank profile panel. - Details modal: the topic "Edit" link is no longer glued to the value ("Add a topicEdit") - .rp-editlink is now a global class so its left margin applies outside .rp-section too. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: keyboard nav for search + pickers, tidy presence dot Audit pass 1 (search / people pickers): - Search dropdown is now keyboard driven: Down/Up move the highlight (wrapping), Enter opens the highlighted result, Esc closes the panel; hovering syncs the cursor. Previously it was mouse-only. - The New message / Add people pickers gain the same arrow + Enter navigation, with a visible keyboard-cursor highlight (.kbfocus). - Presence dot in picker rows now overlays the avatar's corner (like the sidebar) instead of floating as a separate column between the avatar and the name, which left an empty gap for offline users. Verified in Chromium: search arrow nav cycles 1->2->1->0, Esc hides the dropdown, no page errors. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: browse-modal keyboard nav + document list shortcuts Audit pass 2 (browse + docs): - Browse channels list is now keyboard navigable: Up/Down move a visible cursor (.kbfocus) and Enter triggers the highlighted row's Open / View button; hovering syncs the cursor. This completes arrow-key control across every list surface (search, quick switcher, @mention picker, people pickers, browse). - Documented the search / picker navigation in the About > Shortcuts help. Swept the remaining views (help, details Settings, profile panel, thread panel, Threads/Drafts/Later lists) - all icons and spacing check out, no further misalignments found. Verified browse nav in Chromium: arrows move the cursor and Enter activates the row's button. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: fix thread image overflow + add right-click context menu - Thread panel image overflow: .msg-img was capped at a fixed 360px, wider than the ~330px thread panel, forcing a horizontal scrollbar. Cap with min(360px, 100%) so it keeps the 360px limit in the wide pane but never exceeds a narrow container; same fix for the text-file preview (520px). - Right-click context menu for messages (Slack style): Add reaction, Reply in thread, Copy text, Save for later, Pin/Unpin, Edit (own text), Delete (own or manager), with a separator layout and danger styling. The single-key hints shown on the right (R/T/C/A/P/E, Del) are live while the menu is open; Ctrl/Cmd combos are left to the browser, and a native menu still appears when text is selected inside the message. Edit routes to the thread composer when the message is in the thread panel. Verified in Chromium end to end: a real message right-clicks open the menu with the expected items, the A shortcut runs its action and closes the menu, and the thread-panel image no longer overflows (360px cap preserved in the main pane). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 * Chatspace: put the thread-reply bar below an image, not beside it The thread summary bar was display:inline-flex, so after an image (whose .file-preview is display:inline-block) the two shared a line and the "N replies / Last reply ..." pill floated to the right of the image. Make the bar block-level (display:flex) with width:fit-content so it drops onto its own line under the image while keeping its compact pill shape. Verified in Chromium: the bar's top is below the image's bottom and its width stays content-sized (~194px, not full width). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CfKyJV4zkj4AyME6XjH5q6 --------- Co-authored-by: Claude <noreply@anthropic.com> * Notification Agent implementation (#283) * Implement notification agent system with AGI, priority and config UI Adds a full multi-channel notification system so ArozOS and AGI scripts can reach users through their preferred channels at a chosen priority. Backend (mod/notification): - Extend NotificationPayload with Priority (low/medium/high), Timestamp and Payload, plus priority helpers and a Sender interface. - New delivery agents: telegram (bot + per-user chat id), desktopn (in-memory per-user buffer polled by the web desktop) and webhookn (custom HTML API to a per-user configurable endpoint/template). - New preference store (mod/notification/preference) persisting per-user enabled channels, minimum priority threshold, Telegram chat id and webhook target; resolves delivery agents by preference and priority. AGI: - New "notification" library (requirelib) with notification.send / sendToUser and PRIORITY_* constants; wired via AgiSysInfo.NotificationSender. - Bump AgiVersion, update api.json and mod/agi/README.md. Core wiring: - Rewrite src/notification.go to register all agents and route through a preference-aware sender; start notificationInit before AGIInit. - src/notification_settings.go: "Notifications" settings tab with user preference endpoints, desktop polling endpoint, test-send, and admin-only Telegram/SMTP config endpoints. Frontend: - SystemAO/notification config menu (channels, priority, Telegram, webhook, admin agent config) with shared notification.js helper logic. - desktop.html polls the desktop agent and renders into #notificationlist, shows the notification bar popup and raises browser (Chrome) push. Tests: - Go table-driven tests for every new package/agent and the preference store and AGI lib. - Webapp unit tests (notification.test.js + tests.html) for the shared frontend logic, runnable in-browser and under Node. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Add desktop notification toast and focus-aware browser push Replace the full-notification-bar popup with a transient toast shown in the bottom-right of the desktop when a new notification arrives while the page is focused. When the page is not focused (hidden tab or unfocused window), raise a browser (Chrome) push notification instead; clicking it focuses the tab. Toast content is set via textContent to avoid markup injection, is theme-aware, colour-coded by priority, auto-dismisses (longer for high priority) and opens the full notification list on click. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Unit-test toast/browser-push behaviour and share it with the desktop Factor the toast-vs-browser-push decision into the unit-tested notification.js helper: - deliveryChannelForFocus(isFocused): "toast" when focused, "push" when not - toastPriorityClass(priority): CSS modifier class per priority - toastDurationMs(priority): auto-dismiss duration (high priority lingers) desktop.html now loads notification.js and uses these helpers (with local fallbacks) so the runtime behaviour is the same logic the tests exercise. Add matching cases to notification.test.js / tests.html (43 tests total). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Add notification AGI library test to the UnitTest webapp Add backend/notification.test.js to the Unit Tester webapp so the notification AGI library (requirelib("notification")) is exercised end-to-end against a live server: object shape, PRIORITY_* constants, send() to the current user at each priority, empty-title rejection, and the admin-gated sendToUser() failing for a non-existent user. Follows the harness convention (thrown assertion -> HTTP 500 -> FAIL; sendResp summary -> HTTP 200 -> PASS) and is auto-listed by list.agi. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Remove SystemAO frontend notification unit tests Drop SystemAO/notification/notification.test.js and tests.html; the notification library is now covered by the AGI test in the UnitTest webapp (backend/notification.test.js). notification.js is retained as it is runtime helper logic used by the settings page and the desktop. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification prefs: channel x priority matrix + browser permission button Replace the "enabled channels + single minimum priority" model with a per-user delivery matrix: each channel (desktop, email, Telegram, custom webhook) can be independently enabled for low / medium / high priority. For example, desktop for everything but email only for high priority. Backend (mod/notification/preference): - UserPreference.Channels is now agent -> priority label -> bool. - DefaultPreference enables desktop for every priority. - ResolveAgents consults the matrix for the notification's priority. - Get/Set normalise the matrix (drop invalid labels and empty rows). - Update preference tests for the matrix model. - /system/notification/preference POST now takes a "channels" JSON matrix. Frontend (SystemAO/notification): - Render the preferences as a checkbox matrix (channels x priorities) with friendly channel names. - Add a "Browser Notifications" card with an Enable button that requests Notification permission and shows the current granted/denied/default state. - notification.js gains normalizeMatrix + browserPermissionState and builds the channels payload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification settings: simplistic top bar + author credit card - Replace the large bell-icon header with a minimal top bar (title + subtitle over a thin divider). - Add an author/credit card at the bottom in the imuslab business-card style: the ArozOS mascot icon (img/system/favicon.png) on the left, a vertical divider, then author name, tagline, email/web links and a short brand note in a monospace face with highlighted brand words. Responsive (stacks on narrow widths). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Move the redesign into the notification email template The simplistic top bar + system-info card belong in the email that goes out, not the settings page. Revert the settings page footer/header change and restyle system/www/smtpn.html instead: - Simplistic header: "Notification from <host>" on a clean white bar (replaces the blue gradient banner). - Business-card footer with the ArozOS mascot icon (embedded as a base64 data URI so mail clients render it without a remote fetch), a divider, and system-related info: host name, host version and sent time. smtpn.go now injects {{logo}} (base64 brand icon) and {{version}} into the template; notification.go sets the agent's SystemVersion from the build. Adds tests for loadLogoDataURI. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Email: inline CID logo (Gmail-safe) + host-identifying footer Gmail blocks data: image URIs, so the embedded logo did not render. Switch the SMTP message to multipart/related with the ArozOS icon attached inline as a CID resource (cid:arozoslogo), which renders in Gmail and other clients without a remote fetch. Non-ASCII subjects are now RFC 2047 encoded. Replace the footer's version / product-name lines with information that identifies the host and message: host name, System UUID and Notification ID (plus sent time). The SMTP agent takes a SystemUUIDProvider (wired to the host System UUID) instead of a version string. Add tests for wrapBase64 and buildEmailMessage (with/without logo, unicode subject) and the raw logo loader. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Email: pad the timestamp and make the card full-width - Fix the sent-time format (3:04:05 gives a zero-padded 1:03:03 AM instead of the odd 1:3:3). - Let the email card span the full width of the client with minimal (8px) outer padding instead of a fixed 600px centred column. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Email: remove background tint + add priority to the subject - Drop the grey page/footer background colours so the email has no background tint (plain, borders provide the structure). - Prefix the email subject with the notification priority when set, e.g. "[High] Disk failing"; titles for priority-less payloads are unchanged. Adds a buildSubject test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification settings: separate test section, consistent control sizing, icon alignment - Move the "Send a test notification" controls out of the Save row into their own card with a short description. - Give buttons and the priority select a shared 36px height (flex-centred) so they line up instead of rendering at mismatched heights. - Reset the Semantic icon margin/baseline inside #ntf-root so icons in card titles, buttons and the permission pill are vertically centred. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Notification settings: align permission chip with button + tidy spacing - Give the browser-permission status chip the same 36px height as the button beside it (rounded chip) so they line up as a matched pair. - Drop the height override in the icon reset so Semantic icons keep their intrinsic box and centre cleanly. - Add breathing room around the standalone Save preferences row. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt * Desktop toast: remove the coloured priority left bar Drop the border-left accent (and its high/low colour variants) from the desktop notification toast for a cleaner, flat popup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CSwCGEoDvwKtwbF69ytKBt --------- Co-authored-by: Claude <noreply@anthropic.com> * Add notification system and sound preferences to Chatspace (#284) * Chatspace: native desktop notifications + new-message chime Surface incoming messages beyond the in-app toast that was only visible while looking at Chatspace: - Native notifications: DMs and @mentions now raise an OS-level browser Notification (the same mechanism the ArozOS desktop uses) when the Chatspace window is backgrounded, so users are alerted even when the app is behind another window. When Chatspace is embedded in the ArozOS virtual desktop, the alert is also mirrored into the desktop notification centre. Clicking a notification focuses the app and opens the conversation. Permission is requested lazily on the first user gesture. - New-message chime: while the app is open, every incoming message plays a short WebAudio chime - a prominent rising tone for DMs/@mentions and a soft single note for ordinary messages - so there is an audible cue for new activity. Chimes share a throttle so bursts do not machine-gun the speaker. - Preferences: per-user "Play a sound for new messages" and "Desktop notifications" toggles in the profile panel (localStorage-backed), plus a hint showing the browser permission state. Both default on. Everything degrades gracefully: no AudioContext / Notification support or a standalone PWA launch simply falls back to the in-app toast and title badge. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A8EPn9EbFjJkeTMnXfdWzo * Chatspace: route push notifications through the ArozOS notification agent Follow-up to the notification work: instead of raising a browser-only Notification from the recipient's client, Chatspace now routes DMs and @mentions through the ArozOS notification system so recipients are reached even when Chatspace is not open, via each user's own configured agents (desktop, Telegram, email, webhook). Server side (AGI sharedspace library): - Add sharedspace.notifyMembers(spaceid, title, message, [priority], [usernames]) - a membership-scoped capability that a regular user can call (unlike notification.sendToUser, which is admin only). Only a member may notify, only fellow members can be reached, and members currently connected to the space's realtime channel are skipped (they already get the live message), avoiding duplicate alerts. Delivery per recipient runs through the existing NotificationSender, honouring that user's notification preferences. Recipient resolution is factored into a pure, table-tested helper; an Otto-level integration test exercises the full path (membership check, presence skip, explicit target intersection). Chatspace: - New backend/notify.js raises the notification for a message's addressees. - The client calls it when sending a DM or a message that @mentions members (or @channel / @everyone), passing the resolved targets. - Drop the earlier direct browser-Notification path and its per-user "desktop notifications" toggle; delivery is now governed by the user's ArozOS notification settings. The new-message chime and its sound toggle are unchanged. Docs: document notifyMembers in mod/agi/README.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A8EPn9EbFjJkeTMnXfdWzo * Update .gitignore * desktop: always show the in-page notification toast, push only when unfocused Previously an incoming desktop notification was surfaced as *either* an in-page toast (when the desktop was focused) *or* a browser push (when it was not). While unfocused - including when focus was in a floatWindow app or another window - no toast appeared, so a notification would land on the persistent list (showing the red dot on the clock) with no visible toast, and the browser push often did nothing (permission not granted / http origin). Now the in-page toast is shown regardless of focus, so the notification is never silently swallowed, and the browser (OS) push is additionally raised only when the desktop is not focused, to reach the user when they are looking elsewhere. deliveryChannelForFocus (single channel) becomes deliveryChannelsForFocus, returning ["toast"] when focused and ["toast","push"] when not; desktop.html shows each listed channel independently. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A8EPn9EbFjJkeTMnXfdWzo --------- Co-authored-by: Claude <noreply@anthropic.com> * Add ODF/PDF support to Office suite Extend the office conversion library and AGI bindings to import/export ODT, ODS, and ODP files and to generate real-text PDF exports for Docs, Sheets, and Slides. This also improves DOCX/PPTX fidelity with better table/image handling, captures slide media as poster images plus a sidecar zip for PPTX exports, updates the Office webapps and API docs for the new flows, and adds broad converter regression tests. * Add GitApp and AGI git library Introduces full git support across ArozOS: a new `mod/git` manager (status/history/branching/staging/commit/diff/blob/transport), encrypted per-user credential storage, and extensive unit tests. Wires the manager into AGI (`AgiVersion` 3.7), registers a new `git` library, and documents the API in both AGI README and Terminal `api.json`. Adds a new GitApp web module with backend AGI endpoints and a desktop-style frontend for repository management, diffs, history, remotes, and credentials. Also adds `src/system/git/` to `.gitignore` for local key material, plus small UI fixes in Calendar (week-view scrollbar alignment) and Sheets (currency/percent format toggle state). * Add Movie settings tab and playback controls Adds a new Settings view in Movie with index management: auto-index toggle, index stats, manual rescan, and clear-index actions backed by new AGI scripts (`getIndexStats.js`, `clearIndex.js`) and common script constants. Upgrades player UX in both full and embedded views with a gear-based playback popup (repeat-one, speed, volume bar visibility), persisted preferences, center play/pause flash feedback, improved repeat handling for transcoded streams, and keyboard shortcuts (`S`, `R`, refined `Esc`). Also replaces emoji/text glyphs with SVG icons and improves long-title/season tab overflow handling. * Add Git branch/history actions to GitApp Introduces new git manager capabilities for local/remote branch delete/rename and commit-level history actions (checkout, reset, branch/tag creation, revert, cherry-pick, amend), then wires them through AGI bindings and new GitApp backend endpoints. Updates the GitApp UI with branch and commit context menus, tag labels in history, and credential-aware remote branch operations. Also extends git log/branch metadata (commit tags, remote/short branch fields), adds unmerged-branch signaling, refreshes API docs, and adds comprehensive tests plus a .gitignore append regression fix. * Generate desktop icons for web modules Add desktop icon generation for module shortcuts when a web app does not provide its own desktop_icon.png. The new pipeline resolves/sanitizes asset paths, loads raster or SVG icons, rasterizes SVGs with stroke-width scaling fixes, and renders a padded squircle backplate with adaptive black/white contrast before saving the generated icon into the app folder. Also adds comprehensive unit tests for path resolution, squircle math/coverage, backplate color selection, icon scaling/rendering, SVG stroke scaling, and rasterized stroke thickness. * Refactor desktop logic into modular packages Extract desktop responsibilities from `desktop.go` into new `mod/desktop` packages: `icons`, `layout`, `prefs`, and `wallpaper`. The desktop handlers now initialize and use dedicated managers/generators for icon rendering, icon position persistence, user preferences/themes, and wallpaper theme discovery. This removes a large amount of inlined desktop/icon code from `desktop.go`, centralizes desktop constants, and keeps existing behavior while improving separation of concerns and testability. The old monolithic desktop icon tests were replaced with focused package-level tests for each new module. * Add raised hand feature, connection stats, and host kick capability (#292) * MeetRoom: clock, raised hands, kick, invite dialog, ArozOS attachments, stats Add seven participant-facing features to the MeetRoom app: - Header now shows the current wall-clock time and the live meeting duration (backend exposes the room CreatedAt in the descriptor). - Raise-hand control: a hand state rides the existing state broadcast, shows an animated badge on the raiser's tile and in the participant list, and chimes with a system note when a remote hand goes up. - Richer invite dialog replacing the copy-to-clipboard button: meeting title, ID, a shareable link, an optional personal message and one-tap copy buttons. - Attach menu lets users share a file straight from their ArozOS storage (new /system/meetroom/attachfile endpoint streams the file server-side from the user's file system) alongside device upload. - Host can remove participants: a kick control in the participant list, a host-only kick frame, and Room.KickParticipant (with test) that refuses to kick the host. The target gets a dedicated "kicked" frame so it stops auto-reconnecting. - Connection performance panel polls RTCPeerConnection.getStats() for per-peer send/receive bitrate, round-trip time and packet loss. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138Pxpde8t93BUip72hfLq3 * MeetRoom: float the stats window, add a raise-hand queue, fix hand-badge centering Address UI feedback on the MeetRoom features: - The raised-hand badge glyph sat low-right inside its round tile badge; nudge it to optically centre in the circle. - Turn the connection-stats side panel into a compact floating window ("minimized page") that overlays the meeting and can be dragged around by its header (pointer events, so mouse and touch both work). It no longer displaces the video grid or fights the chat / participants panels, and defaults to the top-left clear of them. - Add a raise-hand queue: the participants panel now lists everyone with a hand up in the order they raised it, numbered, above the roster. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0138Pxpde8t93BUip72hfLq3 --------- Co-authored-by: Claude <noreply@anthropic.com> * Align Office pagination and header/footer modes Reworked Docs PDF export into a CSS-like block/inline layout pipeline so wrapping, margin collapsing, block pagination, tables/lists/pre blocks, and image sizing match the editor preview more closely. Added `hfMode` (`all`, `except-first`, `none`) end-to-end in Docs state/UI, DOCX/ODT readers/writers, and PDF rendering (including first-page page-number suppression behavior), with expanded regression tests for layout and header/footer round-trips. Also added desktop/icon PNG assets for AGIForge and GitApp, and updated Office docs to document the new behavior. * Integrate Raw Editor into Pixel Studio Moves Raw Editor under `Pixel Studio/raw`, registers it from Pixel Studio’s `init.agi`, and updates asset/API paths accordingly while removing the standalone Raw Editor module registration. Pixel Studio now detects RAW extensions and forwards opens to Raw Editor, including a new File menu entry to launch it directly. Improves editor UX with shared numeric inputs (typing + wheel step + unit labels), synced slider/number controls, and better layer opacity editing/undo behavior. Adds multi-layer panel selection (Ctrl/Shift click), layer context menu actions, merge-selected/delete-selected flows (including Ctrl+E behavior), and updates layer/menu shortcuts/help text. Save behavior is hardened to avoid accidental flattening by steering multi-layer documents to `.pxs` and using a better Save As start directory. * Add ArozOS PDF save option in Text app Adds a new “Save as PDF…” action to the Text app Export menu that renders the PDF and uploads it directly to a user-selected ArozOS path via the file selector, with status/error feedback. Also adds new desktop/app icon assets for AGIForge and GitApp. * Add streaming chat, reasoning/thinking support, and file uploads (#293) * AIChat: collapsible thinking section + media upload from computer Thinking / reasoning: - Capture model chain-of-thought in the llm client. openai.go reads reasoning_content (DeepSeek) / reasoning (OpenRouter); anthropic.go collects "thinking" content blocks (previously dropped). Surfaced via a new Choice.Message.ReasoningContent field on the unified response. - chat.agi forwards it to the frontend as a "reasoning" field. - The AIChat UI shows reasoning in a disclosure that is collapsed by default and only expands when the user presses "Show thinking". Inline <think>/<thinking> tags emitted by local models are parsed out of the reply too, so the answer bubble stays clean. Prior thinking is not fed back to the model on later turns. Media upload: - The attach button now opens a small menu: "ArozOS files" (the existing file selector) or "Upload from computer". Local picks are uploaded to a tmp:/ scratch folder and staged as virtual paths, so they flow through the same llm.fileParts path as drive files. Chips show an uploading spinner / failed state, and send waits for uploads to finish. - Added a self-contained toast (the desktop shell's showToast is not reachable from the app iframe) and replaced the one stale showToast call. Also: table-driven tests for reasoning capture (openai/anthropic clients and chat.agi), updated the llm API docs (README + api.json), and replaced a pre-existing emoji in the model picker per the icon policy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: stop the app shell overflowing the viewport The desktop grid (.app) set height:100dvh but no grid-template-rows, so its single implicit row was auto-sized to content and grew past the viewport — the sidebar's chat list and the message area couldn't shrink, producing a page scrollbar and pushing the composer toward the edge. Pin the row to minmax(0,1fr) and give the sidebar / chat list min-height:0 so the inner areas scroll instead of the whole app. Verified overflow is 0 from 600px to 900px tall viewports with the composer fully visible. Pre-existing layout issue, surfaced while adding the thinking section and media upload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: real-time streaming replies and PDF attachment support Streaming (token-by-token, including live thinking): - Add Client.ChatStream to the llm client, with SSE parsing for both wire formats: OpenAI (delta.content plus reasoning_content/reasoning, usage via stream_options.include_usage) and Anthropic (text_delta / thinking_delta, usage split across message_start and message_delta). - Expose it to AGI scripts as llm.streamRequest(messages, options, onDelta). onDelta fires per chunk with {content, reasoning} on the script's own goroutine, so a script can relay straight to websocket.send(). Usage and quota are recorded exactly as for a blocking call; connection resolution is now shared by both paths via llmResolveConnection. - New backend/chat_stream.agi relays the stream over a WebSocket using the frame protocol start/reasoning/delta/done/error. - The UI now streams: the answer grows token by token with a caret, and the thinking section auto-opens while the model reasons ("Thinking…") then collapses to "Show thinking" once the answer starts — unless the user toggled it themselves. Stop closes the socket and keeps partial output. If the socket cannot be opened the app falls back to the one-shot HTTP backend, so nothing regresses. PDF attachments: - PDFs are rasterised to JPEG pages in the browser with the pdf.js already bundled with the PDF Viewer app, then uploaded and attached in the PDF's place, fixing "unsupported file type for file-based chat: *.pdf". Works for both computer uploads and drive picks (read via /media). Capped at 10 pages with a notice; no new dependency and no system tools involved. - Attachment entries now carry a `paths` array, so one chip can expand to several page images; chips show conversion progress and the page count. Tests: SSE streaming for both formats (deltas, assembly, usage, error envelopes and error events), the AGI streaming binding, and chat_stream.agi driven through a stubbed websocket. Docs updated (README + api.json). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 --------- Co-authored-by: Claude <noreply@anthropic.com> * Add streaming chat, reasoning/thinking support, and file uploads (#294) * AIChat: collapsible thinking section + media upload from computer Thinking / reasoning: - Capture model chain-of-thought in the llm client. openai.go reads reasoning_content (DeepSeek) / reasoning (OpenRouter); anthropic.go collects "thinking" content blocks (previously dropped). Surfaced via a new Choice.Message.ReasoningContent field on the unified response. - chat.agi forwards it to the frontend as a "reasoning" field. - The AIChat UI shows reasoning in a disclosure that is collapsed by default and only expands when the user presses "Show thinking". Inline <think>/<thinking> tags emitted by local models are parsed out of the reply too, so the answer bubble stays clean. Prior thinking is not fed back to the model on later turns. Media upload: - The attach button now opens a small menu: "ArozOS files" (the existing file selector) or "Upload from computer". Local picks are uploaded to a tmp:/ scratch folder and staged as virtual paths, so they flow through the same llm.fileParts path as drive files. Chips show an uploading spinner / failed state, and send waits for uploads to finish. - Added a self-contained toast (the desktop shell's showToast is not reachable from the app iframe) and replaced the one stale showToast call. Also: table-driven tests for reasoning capture (openai/anthropic clients and chat.agi), updated the llm API docs (README + api.json), and replaced a pre-existing emoji in the model picker per the icon policy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: stop the app shell overflowing the viewport The desktop grid (.app) set height:100dvh but no grid-template-rows, so its single implicit row was auto-sized to content and grew past the viewport — the sidebar's chat list and the message area couldn't shrink, producing a page scrollbar and pushing the composer toward the edge. Pin the row to minmax(0,1fr) and give the sidebar / chat list min-height:0 so the inner areas scroll instead of the whole app. Verified overflow is 0 from 600px to 900px tall viewports with the composer fully visible. Pre-existing layout issue, surfaced while adding the thinking section and media upload. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: real-time streaming replies and PDF attachment support Streaming (token-by-token, including live thinking): - Add Client.ChatStream to the llm client, with SSE parsing for both wire formats: OpenAI (delta.content plus reasoning_content/reasoning, usage via stream_options.include_usage) and Anthropic (text_delta / thinking_delta, usage split across message_start and message_delta). - Expose it to AGI scripts as llm.streamRequest(messages, options, onDelta). onDelta fires per chunk with {content, reasoning} on the script's own goroutine, so a script can relay straight to websocket.send(). Usage and quota are recorded exactly as for a blocking call; connection resolution is now shared by both paths via llmResolveConnection. - New backend/chat_stream.agi relays the stream over a WebSocket using the frame protocol start/reasoning/delta/done/error. - The UI now streams: the answer grows token by token with a caret, and the thinking section auto-opens while the model reasons ("Thinking…") then collapses to "Show thinking" once the answer starts — unless the user toggled it themselves. Stop closes the socket and keeps partial output. If the socket cannot be opened the app falls back to the one-shot HTTP backend, so nothing regresses. PDF attachments: - PDFs are rasterised to JPEG pages in the browser with the pdf.js already bundled with the PDF Viewer app, then uploaded and attached in the PDF's place, fixing "unsupported file type for file-based chat: *.pdf". Works for both computer uploads and drive picks (read via /media). Capped at 10 pages with a notice; no new dependency and no system tools involved. - Attachment entries now carry a `paths` array, so one chip can expand to several page images; chips show conversion progress and the page count. Tests: SSE streaming for both formats (deltas, assembly, usage, error envelopes and error events), the AGI streaming binding, and chat_stream.agi driven through a stubbed websocket. Docs updated (README + api.json). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: fix #### headings and --- rules not rendering Two markdown gaps in the chat renderer: - Headings were matched one depth at a time with ^###\s+, ^##\s+, ^#\s+. "#### Title" matched none of them (the third # is followed by another #, not whitespace), so it rendered literally, as did ##### and ######. One rule now covers every depth: # -> h2 through ###### -> h6, with the closed-ATX trailing #'s stripped. - Thematic breaks had no rule at all, so --- rendered as literal text. Add ---, ***, ___ and their spaced variants as <hr>, matched before the emphasis rules so a rule of asterisks is not eaten as bold/italic. Three or more markers are required, so list items are unaffected. Also style h2-h6 and hr explicitly (shared with the thinking panel, which renders the same markdown) so h5/h6 do not collapse to tiny default text, collapse <br> runs around block elements, and normalise CRLF so a trailing \r cannot leak into heading text. Verified against the real renderer: 24 cases covering both bugs, every heading depth, the rule variants, and regressions — lists, bold/italic, inline code, links, escaping, and --- / #### inside fenced code blocks staying literal. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 * AIChat: render markdown live while streaming, and support tables Live markdown during generation: - The streaming reply and the thinking panel were written as plain text and only converted to markdown once the reply finished. Both now render markdown as tokens arrive. Paints are coalesced on a 60ms timer so a fast token stream cannot thrash layout, and a queued paint is cancelled when the reply is finalised. - Half-written markup is normal mid-stream; the most visible case is an unclosed ``` fence, which would flash as raw backticks until the model closes it. A copy of the text is closed off for rendering only, leaving the stored text untouched, so code blocks appear as code from the first line. GFM tables: - Tables were not implemented, so a table rendered as rows of literal pipes. Added header/delimiter/body parsing with :--- , ---: and :---: alignment, scoped so it cannot swallow prose: a row must start with "|", and the delimiter row must be all dashes/colons. Runs after the inline rules, so cells keep bold/code/link formatting, and inside a wrapper that scrolls on its own so a wide table never widens the chat column. Verified with 40 renderer cases (16 new for tables, including the reported table, alignment, ragged rows, inline markup in cells, and the negative cases - prose containing a pipe, lists, rules, and tables inside code fences), plus a browser run confirming headings, the table, the rule and the code block are all rendered elements *during* streaming, with no raw "| :---", "##" or "```" ever visible. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136jXkjkwNzRZDrU9pbsHD1 --------- Co-authored-by: Claude <noreply@anthropic.com> * Add experimental hardware acceleration support * Add storyboard scrub-bar previews to Movie player Generates a cached sprite sheet (one keyframe every N seconds) per video via a new /media/storyboard/ endpoint. The sheet is stored beside the video under .metadata/.storyboard/ so the ffmpeg pass runs only once. Both the full-page player (index.html) and the embedded player (embedded.html) fetch the layout and image on load, then slice the sheet with CSS background-position on timeline hover, showing a thumbnail and timestamp. Includes unit tests for the planning logic and cache-path helpers. * Improve Musicify touch playback behavior Avoid touch-only hover interactions in Musicify by showing playlist, queue, and song-row controls without relying on `:hover`, while keeping desktop hover behavior unchanged. Also prevent tapping the currently loaded track from restarting playback; it now opens the Now Playing panel instead, which fixes the double-tap/restart experience on touch devices. * Extract PDF Tool from Productivity module Creates a new standalone `PDF Tool` web app with its own `init.agi`, UI, and JS modules (`common`, `editor`, `convert`, `chops`) for PDF editing, image conversion, and chop management. Moves related assets and `pdf-lib` into the new module path, including a legacy chop-storage migration from `Productivity` keys. Removes the old `Productivity` app/tool files and updates the Text editor’s PDF export comment to reference PDF Tool. * Add embedded subtitle & font support to Movie player Adds a `/media/subtitles/` endpoint that lists embedded subtitle tracks and font attachments from MKV containers (via ffprobe/ffmpeg), extracts tracks as SubRip or native ASS, and serves font binaries. On the frontend, the Movie player now: - Probes for embedded tracks on file load - Shows muxed subtitle tracks in the subtitle context menu - Renders ASS/SSA tracks with full styling, positioning and simultaneous events via a new in-repo `script/ass.js` parser/renderer - Falls back to plain SubRip rendering for non-ASS tracks - Loads embedded fonts by internal family name and registers them via FontFace API - Exposes embedded fonts in Subtitle Settings for SubRip tracks Also adds `fontname.go` which parses the sfnt name table to resolve a font's internal family name (needed because muxed subsets are often renamed to random strings). * Fix subtitle z-index, collisions and wrap in Movie Remove explicit z-index from #ass-overlay and #srt-overlay so controls and menus always paint above subtitles. Add collision resolution to push overlapping margin-anchored lines apart, matching libass behaviour for stacked dual-language subtitles. Split renderEvent into separate DOM-build and fade-application passes to avoid rebuilding the overlay every frame. Respect WrapStyle 2 (pre) to prevent browser auto-wrapping from inflating block heights. * Fix subtitle seeks in Movie player Prevent the Movie player from showing subtitles that were already in progress when playback seeks, for both plain cues and ASS rendering. The change also keeps the last valid ASS overlay geometry until video dimensions are available again, avoiding subtitle misalignment over letterboxing during seek/transcode reloads. * Add dedicated icon for Language settings Update the Language device setting to use a dedicated `language.png` icon instead of the shared small icon. This also adds the new exported icon asset and its PSD source for future edits. * Harden AGI SQLite lifecycle and concurrency This adds robust SQLite resource management in AGI by introducing per-library VM cleanup hooks and wiring them into all script exit paths, preventing leaked DB handles after errors, exits, timeouts, or force-stops. It also updates SQLite connection setup to use WAL/busy-timeout/immediate-lock pragmas and single-connection pooling for safer concurrent access. A new `db.transaction(fn)` API is added to the JS wrapper for explicit batched writes with commit/rollback semantics and nested-transaction protection. README and Terminal API docs are updated, and tests are expanded to cover DSN behavior, concurrency expectations, cleanup registration, and transaction semantics. * Rollback AI chat to origin non-broken state --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Alan Yeung <yeungbluecat123@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tobychui <24617523+tobychui@users.noreply.github.com>
  • d23775e273 Add codec-aware playback and fMP4 HLS support Switch HLS output from MPEG-TS to fragmented MP4, enabling direct MediaSource appending without a demuxer. Add a /media/probe/ endpoint that reports actual codecs and whether a file can be direct-played, replacing the unreliable extension-based check that caused HEVC and 10-bit H.264 files to fail with decode errors. Add hlsmse.js, a lightweight MSE player for Firefox/Chrome that makes hls.js optional. Fix 10-bit transcodes producing High 10 streams browsers cannot decode by adding -pix_fmt yuv420p. Rewrite the fMP4 playlist init segment URI onto the segment endpoint (ffmpeg always writes it as a bare filename).
  • View comparison for these 10 commits »

4 days ago

TC synced new reference dependabot/go_modules/src/github.com/pion/dtls/v3-3.1.13 to TC/arozos-mirror from mirror

4 days ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

5 days ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

  • d49032c49e Add dng render support
  • d8c0d4d6c7 Fixed subtitle bug in Movie app
  • 4b0f11125a Fixed transcoder and add GPU encoder
  • ff5d5071dc Offload HEVC transcode decode and scaling to VAAPI The transcoder only moved the H.264 encode to the GPU; HEVC decoding, scaling and the 10-bit to NV12 conversion still ran on the CPU, which saturates low-end CPUs. VAAPI profiles now decode with -hwaccel vaapi, keep frames on the GPU and scale with scale_vaapi, falling back to software decode for sources the GPU cannot handle. Low-power (VDEnc) variants are tried for drivers such as Debian's free iHD build that only offer that entrypoint, and every DRM render node is probed.
  • View comparison for these 4 commits »

6 days ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

1 week ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

  • ad70b5ac62 Fix message css bug, add animations
  • 46ac505469 Add advance filtering and search to Photo
  • d92dce4a11 Localize media apps and harden SQLite startup Add translations for Movie, Musicify, and Photo, including their embedded views. Retry SQLite busy errors during initial connection, preserve photo listings when the index is unavailable, and remember Musicify's selected library.
  • 8fc24ec020 Fix Clock Timer Audio bug
  • View comparison for these 4 commits »

1 week ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

1 week ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

1 week ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

  • 3408657fe8 Added heic format support
  • 2e6ea32d60 Support sync uploads behind proxies Add alternative credential headers for proxies that replace Authorization, with localized setup guidance. Preserve sync settings during status refreshes and keep JSON responses readable in shortcut results.
  • 2b354a24eb Add iOS photo sync server
  • e76911be96 Add syncthing stall detection watchdog
  • e44bb899f0 Modernize Windows info and refresh setup Replace Windows hardware helper processes with native APIs to avoid console window side effects. Rename Setup Wizard to Setup, add server name and runtime settings, and refresh the setup theme and app icons.
  • View comparison for these 5 commits »

1 week ago

TC synced commits to v3.0.5 at TC/arozos-mirror from mirror

  • a16e8c39b9 Fix context menu on trashbin
  • 4ee70b4b79 Fix css issue on syncthing file server
  • 117a1b1d37 Enhanced security and prevent XSS
  • 4f3f233f49 Add model previews and Quick Access actions Save 3D Modeler document previews for secure File Manager thumbnails and show loading progress when opening models. Add a Quick Access context menu and preserve paste destinations when resolving conflicts.
  • a4a9c73a9a Removed legacy Trashbin app Removed legacy trash bin app Fixed Text Editor small bug on Photo load Fixed RAID not support console error
  • View comparison for these 6 commits »

1 week ago