Skip to content

Open-source cleanup, docs, and per-step task detail - #5

Merged
Rrrima merged 2 commits into
mainfrom
open-source-cleanup
Nov 13, 2026
Merged

Rrrima merged 2 commits into
mainfrom
open-source-cleanup

Conversation

@Rrrima

@Rrrima Rrrima commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Prepares ausm for open source and adds a detailed step sentence to tasks.

Cleanup (first commit)

  • Material Chat security: listens on 127.0.0.1 only and rejects non-local Host headers and foreign origins. Use materialChat.allowedOrigins for custom schemes like app://. The hardcoded user name is removed from model prompts.
  • Detector docs examples: inline # comments in DETECTOR.md frontmatter are now ignored instead of leaking into values.
  • Native sensors:
    • text selection restores the whole clipboard
    • screen-stream segments get unique names
    • hotkeyOnly screenshots ignore UI events
    • text input is capped at 100k characters
    • fixed a clipboard read race
  • Runtime:
    • shuts down on a failed initialize()
    • on* returns an unsubscribe function
    • no double-registered callbacks after restart
    • handles helper EPIPE
    • bridge screenshot cache is pruned
    • OpenAI-compatible base URLs work without a key
  • Metadata: Aware copyright and foundation-interface/ausm URLs everywhere.
  • Docs:
    • README rewritten (sensors, storage diagram, detectors, local models, credits)
    • agent skill and reference corrected
    • docs page synced

Task detail (second commit)

rapid-task asks for task_description, one sentence on the current step. TaskTracker still matches tasks on the summary subject and carries the sentence as separate detail. A new step updates the task instead of splitting it, and events show the sentence. Vertex's response schema now lists the field.

Behaviour changes

  • Setting only apiBaseUrl enables the detector pipeline.
  • Material Chat data defaults to ~/Library/Application Support/ausm.
  • Deprecated screen-stream/camera type exports are removed.

Tests

  • Build and typecheck clean.
  • npm tests pass, including core 280 and detector-pipeline 139.
  • swift test passes: 314 tests.
  • Docs sync check passes.

🤖 Generated with Claude Code

Rrrima and others added 2 commits November 12, 2026 19:30
- material-chat: bind to 127.0.0.1, reject non-local Host and foreign
  Origins (allowedOrigins for custom schemes); drop the hardcoded user
  name from model prompts; remove the unused planner/synthesizer path
- detectors: ignore YAML comments in DETECTOR.md frontmatter
- native sensors: restore the whole clipboard after selection reads,
  unique screen-stream segment names, hotkeyOnly ignores ui events,
  text-input length cap, clipboard changeCount race
- runtime: shut down on failed initialize, on* returns unsubscribe,
  no double-registered callbacks, helper EPIPE handling, bridge cache
  pruning, keyless OpenAI-compatible base URLs
- metadata: Aware copyright and foundation-interface/ausm URLs
- README rewrite with sensors, storage diagram, detectors, local
  models and credits; skill and reference docs corrected

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rapid-task now asks for task_description, one sentence on the
current step. The tracker keeps matching on the summary subject and
carries the sentence as separate detail, so a new step updates the
task instead of starting a new one. Vertex's response schema lists
the field so it is returned there too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Rrrima
Rrrima merged commit 88dfe62 into main Nov 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant