chore: release v0.2.0

This commit is contained in:
2026-06-02 12:53:38 +00:00
parent b49da8ebbd
commit 185c4c779b
11 changed files with 76 additions and 55 deletions
-10
View File
@@ -1,10 +0,0 @@
---
"@ocas/core": minor
"@ocas/cli": minor
---
Top-level tag/untag commands (#52)
- New `@ocas/output/tag` and `@ocas/output/untag` output schemas in core
- New top-level `ocas tag <target> <tag>...` and `ocas untag <target> <tag>...` commands
- Removed `ocas var tag` subcommand — tagging is now via top-level commands
-9
View File
@@ -1,9 +0,0 @@
---
"@ocas/core": minor
"@ocas/cli": minor
---
get/var get now show tag info (#53)
- Extended `@ocas/output/get` and `@ocas/output/var-get` schemas to include tags
- `ocas get` and `ocas var get` output now includes tag information
-5
View File
@@ -1,5 +0,0 @@
---
"@ocas/cli": minor
---
Add `--tag` filter to `ocas list` and `ocas var list`. Multiple `--tag` flags AND together. Tag format: `key:value` for tags, bare name for labels. Without `--tag`, behavior is unchanged.
-24
View File
@@ -1,24 +0,0 @@
---
"@ocas/core": minor
"@ocas/fs": minor
"@ocas/cli": minor
---
Unified Store type refactor (#38)
**Breaking changes:**
- `Store` is now `{ cas: CasStore, var: VarStore, tag: TagStore }` — all sub-stores accessed via properties
- `bootstrap(store)` and `putSchema(store, schema)` are now **synchronous** (were async)
- `VariableStore` class removed from `@ocas/core` — SQLite implementation moved to `@ocas/fs`
- `createVariableStore()` removed from `@ocas/core`
- `openStoreAndVarStore()` removed from CLI internals — use `openStore()` returning unified `Store`
- `RenderOptions.varStore` removed — templates resolved via `store.var` internally
- `@ocas/core` has zero `bun:sqlite` imports — pure TypeScript
**New:**
- `CasStore`, `VarStore`, `TagStore` sub-store types
- `TagStore` — first-class tags on any CAS node (not just variables)
- `var-store-helpers.ts` — shared validation/history logic
- `validation.ts` — shared `validateName()` exported from core
+23
View File
@@ -1,5 +1,28 @@
# @ocas/cli
## 0.2.0
### Breaking Changes
- `Store` is now `{ cas: CasStore, var: VarStore, tag: TagStore }` — all sub-stores accessed via properties
- `bootstrap(store)` and `putSchema(store, schema)` are now **synchronous** (were async)
- `VariableStore` class removed from `@ocas/core` — SQLite implementation moved to `@ocas/fs`
- `createVariableStore()` removed from `@ocas/core`
- `openStoreAndVarStore()` removed — use `openStore()` returning unified `Store`
- `RenderOptions.varStore` removed — templates resolved via `store.var` internally
- `@ocas/core` has zero `bun:sqlite` imports — pure TypeScript
- `ocas var tag` subcommand removed — use `ocas tag` / `ocas untag` instead
### New Features
- `CasStore`, `VarStore`, `TagStore` sub-store types
- `TagStore` — first-class tags on any CAS node (not just variables)
- Top-level `ocas tag <target> <tag>...` and `ocas untag <target> <tag>...` commands
- `ocas get` and `ocas var get` now include tag info in output
- `ocas list --tag` and `ocas var list --tag` filter support
- `var-store-helpers.ts` — shared validation/history logic
- `validation.ts` — shared `validateName()` exported from core
## 0.1.2
### Patch Changes
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@ocas/cli",
"version": "0.2.0-rc.1",
"version": "0.2.0",
"type": "module",
"bin": {
"ocas": "src/index.ts"
@@ -10,8 +10,8 @@
"prepublishOnly": "bash ../../scripts/check-workspace-deps.sh"
},
"dependencies": {
"@ocas/core": "0.2.0-rc.1",
"@ocas/fs": "0.2.0-rc.1"
"@ocas/core": "0.2.0",
"@ocas/fs": "0.2.0"
},
"repository": {
"type": "git",
@@ -51,7 +51,7 @@ Flags:
--epsilon <n> Cutoff threshold for render (default: 0.01)
--pipe, -p Read from stdin (put/hash: raw JSON payload; render: { type, value } envelope)
Agent: If you have not installed the ocas skill for this version (0.2.0-rc.1), run \`ocas prompt setup\` and follow the instructions."
Agent: If you have not installed the ocas skill for this version (0.2.0), run \`ocas prompt setup\` and follow the instructions."
`;
exports[`Phase 3: Variable System 3.1 var set creates variable 1`] = `
+23
View File
@@ -1,5 +1,28 @@
# @ocas/core
## 0.2.0
### Breaking Changes
- `Store` is now `{ cas: CasStore, var: VarStore, tag: TagStore }` — all sub-stores accessed via properties
- `bootstrap(store)` and `putSchema(store, schema)` are now **synchronous** (were async)
- `VariableStore` class removed from `@ocas/core` — SQLite implementation moved to `@ocas/fs`
- `createVariableStore()` removed from `@ocas/core`
- `openStoreAndVarStore()` removed — use `openStore()` returning unified `Store`
- `RenderOptions.varStore` removed — templates resolved via `store.var` internally
- `@ocas/core` has zero `bun:sqlite` imports — pure TypeScript
- `ocas var tag` subcommand removed — use `ocas tag` / `ocas untag` instead
### New Features
- `CasStore`, `VarStore`, `TagStore` sub-store types
- `TagStore` — first-class tags on any CAS node (not just variables)
- Top-level `ocas tag <target> <tag>...` and `ocas untag <target> <tag>...` commands
- `ocas get` and `ocas var get` now include tag info in output
- `ocas list --tag` and `ocas var list --tag` filter support
- `var-store-helpers.ts` — shared validation/history logic
- `validation.ts` — shared `validateName()` exported from core
## 0.1.2
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ocas/core",
"version": "0.2.0-rc.1",
"version": "0.2.0",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
+23
View File
@@ -1,5 +1,28 @@
# @ocas/fs
## 0.2.0
### Breaking Changes
- `Store` is now `{ cas: CasStore, var: VarStore, tag: TagStore }` — all sub-stores accessed via properties
- `bootstrap(store)` and `putSchema(store, schema)` are now **synchronous** (were async)
- `VariableStore` class removed from `@ocas/core` — SQLite implementation moved to `@ocas/fs`
- `createVariableStore()` removed from `@ocas/core`
- `openStoreAndVarStore()` removed — use `openStore()` returning unified `Store`
- `RenderOptions.varStore` removed — templates resolved via `store.var` internally
- `@ocas/core` has zero `bun:sqlite` imports — pure TypeScript
- `ocas var tag` subcommand removed — use `ocas tag` / `ocas untag` instead
### New Features
- `CasStore`, `VarStore`, `TagStore` sub-store types
- `TagStore` — first-class tags on any CAS node (not just variables)
- Top-level `ocas tag <target> <tag>...` and `ocas untag <target> <tag>...` commands
- `ocas get` and `ocas var get` now include tag info in output
- `ocas list --tag` and `ocas var list --tag` filter support
- `var-store-helpers.ts` — shared validation/history logic
- `validation.ts` — shared `validateName()` exported from core
## 0.1.2
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@ocas/fs",
"version": "0.2.0-rc.1",
"version": "0.2.0",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
@@ -20,7 +20,7 @@
},
"dependencies": {
"cborg": "^4.2.3",
"@ocas/core": "0.2.0-rc.1"
"@ocas/core": "0.2.0"
},
"repository": {
"type": "git",