feat: rebrand internal namespaces to @ocas/ scope #10

Merged
xingyue merged 2 commits from feat/namespace-rebranding into main 2026-06-01 08:13:50 +00:00

2 Commits

Author SHA1 Message Date
xiaoju 777e58019a fix: rename @bool to @ocas/bool + add OCAS_HOME env var
- @bool alias missed in namespace rebranding, now @ocas/bool
- CLI respects OCAS_HOME env var for store path (--store > OCAS_HOME > ~/.ocas)
- Update help text and snapshots
2026-06-01 08:12:29 +00:00
xiaoju 2795116776 feat: rebrand internal namespaces to @ocas/ scope
- cas_ref → ocas_ref (schema format identifier)
- @schema → @ocas/schema, @string → @ocas/string, etc. (builtin type aliases)
- @output/* → @ocas/output/* (output schema aliases)
- Guard @ocas/ namespace in var set/delete CLI commands (reserved, not user-writable)
- Template commands use varStore directly, bypassing the guard
- Update all tests to use template set --inline instead of var set @ocas/

Breaking change: all builtin schema hashes will change due to payload changes.
2026-06-01 07:59:21 +00:00