Skip to content

Publish as @ausm/ausm; docs around sensors, materials, detectors - #10

Merged
Rrrima merged 1 commit into
mainfrom
docs-sensors-materials-detectors
Nov 19, 2026
Merged

Rrrima merged 1 commit into
mainfrom
docs-sensors-materials-detectors

Conversation

@Rrrima

@Rrrima Rrrima commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

What changes

  • Install name. npm refuses the bare name ausm (too similar to existing packages), so the public package is @ausm/ausm. It is live at 0.1.0 with its 13 dependencies. Docs, README, skill and reference now use that name and its import paths.
  • Docs page. Reorganized around sensors → materials → detectors. Memory and Material Chat sit under materials; tasks and models under detectors. New material and task figures, a Material Chat page, and a section for the Swift package with notes.
  • README. What each layer needs, Material Chat endpoints, Swift notes, and a link to the now-public ausm-visualizer.
  • Runtime fixes found while testing the packed install:
    • the ESM build of @ausm/core could not load any sensor ("Dynamic require … is not supported")
    • Material Chat opened the wrong database when dbPath was relative
    • Material Chat kept running, holding its port, when the app exited without shutdown()
    • three bin paths that npm stripped at publish time
  • scripts/publish-all.sh publishes the packages in dependency order and skips versions already on the registry.

Tested

  • 869 Node tests pass; docs/skill sync check passes.
  • Clean npm install @ausm/ausm from the registry: the quick start prints COPY TEXT; import and require both load.
  • From packed tarballs with Screen Recording granted: window and material events, frames, OCR, weights, and Material Chat search, read, ask, streaming chat and sessions.

Not tested

  • Detectors and tasks (no vision model key was set).
  • Install on a Mac without Xcode Command Line Tools.

The runtime fixes are already in the published 0.1.0, which was built from this tree.

npm refuses the bare name ausm as too similar to existing packages, so the
public install is now @ausm/ausm. Docs, README, skill and reference use the
new name and imports.

Docs page reorganized around sensors -> materials -> detectors, with memory
and Material Chat under materials, and tasks and models under detectors.

Runtime fixes found while testing the packed install:
- ESM build of @ausm/core could not load sensors (dynamic require)
- Material Chat opened the wrong database for a relative dbPath
- Material Chat was left running when the app exited without shutdown()
- bin paths that npm stripped at publish time

Adds scripts/publish-all.sh and a README section linking ausm-visualizer.
@Rrrima
Rrrima merged commit f156136 into main Nov 19, 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