Files
j3ssie 77bad65cd9 feat: v5.1.0 — orgs, npm distribution, bundled skills, platform vendoring
Org (tenant) layer
- New Org model with org_uuid denormalized onto workspaces, assets,
  vulnerabilities and runs so cross-workspace queries need no join
- Automatic attribution via BeforeAppendModel hooks; importers stay org-unaware
- Read semantics: empty org means no filter (backward compatible)
  Write semantics: empty org coerced to the default org
- Migration backfills every pre-existing row into the default org
- CLI: osmedeus org create/show/assign/use/rename/delete
- API: /osm/api/orgs CRUD plus ?org= on assets, vulns, runs and workspaces

npm distribution
- npm install -g @j3ssie/osmedeus ships the Go binary through npm
- One npm name with version-suffixed platform builds pulled in as aliased
  optionalDependencies, so an install downloads exactly one binary
- Binary ships gzipped and is decompressed on first run into a
  version-scoped cache, so an upgrade can never exec a stale binary
- make bump-version is the single source of truth for the version constant

Bundled agent skills
- public/skills/ embedded in the binary, installed via osmedeus skills install
- Filesystem-driven discovery: a new bundle needs no code change
- make sync-skills mirrors bundles out to the standalone skills repo

Platform sub-projects
- Vendor dashboard, registry and workflow under platform/ so they version
  with the engine they talk to; make sync-platform publishes them out
- Rebuild the embedded UI in public/ui/
2026-08-08 22:26:09 +08:00

30 lines
575 B
Plaintext

# The Dockerfile does `COPY . .`, so everything here is build context. The Go
# build needs no JS tooling, and platform/ can hold a ~600MB node_modules tree
# once anyone runs `bun install` — keep it out of the context entirely.
#
# public/ui/ is the *built* dashboard and IS needed: it is go:embed'd.
platform/
.git/
.github/
# Build outputs and local artifacts
build/bin/
build/dist-npm/
bin/
coverage.out
coverage.html
test-results.xml
# Databases and scan artifacts
*.sqlite
*.sqlite-shm
*.sqlite-wal
# Editor / OS noise
.DS_Store
.idea/
.vscode/
.claude/
.agents/