chore: migrate json-cas to ocas #585

Closed
opened 2026-06-02 02:36:24 +00:00 by xiaomo · 0 comments
Owner

Replace @uncaged/json-cas and @uncaged/json-cas-fs with @ocas/core and @ocas/fs (v0.1.1).

json-cas renamed and published as ocas. Old packages deprecated.

Atomic mechanical replacement — all packages updated together.

Deps:

  • @uncaged/json-cas@ocas/core
  • @uncaged/json-cas-fs@ocas/fs

Affected: workflow-protocol, workflow-util-agent, workflow-util, cli-workflow, workflow-agent-builtin, workflow-agent-hermes, workflow-agent-claude-code, scripts/mock-agent.ts

Also: CLAUDE.md, path refs (~/.uncaged/json-cas~/.ocas)

Steps: update package.json deps → find-replace imports → bun install → build → test

API changes: listByType() returns ListEntry[] not Hash[] — check usage. openStore() has optional varStore param.

Replace `@uncaged/json-cas` and `@uncaged/json-cas-fs` with `@ocas/core` and `@ocas/fs` (v0.1.1). json-cas renamed and published as ocas. Old packages deprecated. Atomic mechanical replacement — all packages updated together. **Deps:** - `@uncaged/json-cas` → `@ocas/core` - `@uncaged/json-cas-fs` → `@ocas/fs` **Affected:** workflow-protocol, workflow-util-agent, workflow-util, cli-workflow, workflow-agent-builtin, workflow-agent-hermes, workflow-agent-claude-code, scripts/mock-agent.ts **Also:** CLAUDE.md, path refs (`~/.uncaged/json-cas` → `~/.ocas`) **Steps:** update package.json deps → find-replace imports → bun install → build → test **API changes:** `listByType()` returns `ListEntry[]` not `Hash[]` — check usage. `openStore()` has optional varStore param.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#585