1edb09a8b0
- Rename packages: @uncaged/json-cas → @ocas/core, @uncaged/json-cas-fs → @ocas/fs, @uncaged/cli-json-cas → @ocas/cli - Rename dirs: packages/json-cas → core, json-cas-fs → fs, cli-json-cas → cli - CLI binary: ocas (removed json-cas and ucas aliases) - Default store: ~/.ocas (was ~/.uncaged/json-cas) - Update all imports, tsconfig, biome, docs, tests, snapshots - Changeset config targets @ocas org and shazhou-ww/ocas GitHub Closes #3, Closes #4, Closes #5, Closes #6, Closes #7
1.4 KiB
1.4 KiB
@uncaged/json-cas
0.6.0
Minor Changes
-
Unified
{ type, value }envelope output for all CLI commands (RFC #67).Breaking Changes
- Removed
init,bootstrap,cat,schema put/get/list/validatecommands - All CLI command outputs now wrapped in
{ type, value }envelope (exceptrender) openStore()is now async and auto-bootstraps
New Features
- 18
@output/*schemas registered at bootstrap list --type <hash-or-alias>command (replacesschema list)verifynow checks both hash integrity and schema validationwrapEnvelope()helper exported from@uncaged/json-casopenStore()in@uncaged/json-cas-fs— async, auto mkdir + bootstrap- Default LiquidJS templates for all output schemas
- Pipe composition: any command output can be piped to
render -p
- Removed
0.5.3
Patch Changes
-
feat: add oneOf support to meta-schema validation
Added
oneOftoALLOWED_SCHEMA_KEYSand corresponding validation logic inisValidSchema. This enables workflow frontmatter schemas that useoneOfdiscriminated unions for multi-exit role definitions.
0.3.0
Minor Changes
- Disallow self-referencing nodes in put(). typeHash is now required (no null). Self-ref only via bootstrap().
0.2.0
Minor Changes
- Add listByType(typeHash) to Store interface for O(1) type-based queries, with append-only fs index