SUPER EARLY BETA -- do not use in production yet! API is subject to change without warning.
| Package | Description | Readme |
|---|---|---|
@woss/dali-orm |
Schema definitions, query builders, conditions (merged core + driver) | README.md |
@woss/dali-memory |
Agent memory with Dali ORM using embeddings, hooks, and tools backed by SurrealDB | README.md |
- Node.js >=20 (managed via mise) — see
.mise.toml - pnpm 11 — installed via mise or corepack
- SurrealDB (for integration tests)
pnpm installpnpm buildBuilds all packages in parallel (pnpm -r build).
pnpm test # All unit tests
pnpm test:coverage # With coverage report
pnpm test:watch # Watch mode
pnpm test:integration # Integration tests (requires SurrealDB)pnpm lint # Check
pnpm lint:fix # Auto-fix
pnpm format # Formatpnpm clean # Remove all dist/ directoriesTo use these packages in another local project during development:
# From the dali repo root, build first
pnpm build
# Link each package globally
cd packages/dali-orm && pnpm link --global
cd packages/dali-memory && pnpm link --global
# In your target project
pnpm link --global @woss/dali-orm
pnpm link --global @woss/dali-memoryThe dali-orm CLI can also be used directly from source without linking:
pnpm --filter @woss/dali-orm exec dali-orm --helpReleases are tag-based with keyless OIDC publishing — no npm/JSR tokens involved.
- Bump
versioninpackages/dali-orm/package.jsonandpackages/dali-orm/jsr.json(they must match), updatepackages/dali-orm/CHANGELOG.md, and commit. - Tag and push:
git tag v0.4.0 && git push origin v0.4.0.
The Release workflow then runs, in order:
gates— build, test coverage, lint, and tag/package version syncpublish-npm— publishes@woss/dali-ormto npm with provenance (npm Trusted Publishing)publish-jsr— publishes to JSR via OIDCgithub-release— attaches a source tarball to the GitHub Release
GPL-3.0-only