15 Commits

Author SHA1 Message Date
xiaoju dbfaf01031 docs: add export/import to README/cards; tidy bundle.ts imports
CI / check (pull_request) Successful in 2m35s
Address reviewer feedback on #83:

- Replace dynamic `await import("./bootstrap-capable.js")` in
  bundle.ts with a static top-of-file import (no real cycle exists,
  bootstrap.ts is already statically imported).
- Remove unused `bootstrapSym` Symbol.for() / `void bootstrapSym`
  dead code in importBundle.
- Move the misplaced `import { decode } from "cborg"` to the top of
  bundle.ts with the other imports.
- Document the new `export` / `import` commands and `--store`,
  `--scope`, `-o` flags in:
  - root README.md (commands + global flags)
  - packages/cli/README.md (command table + bundles section + global flags)
  - packages/cli/prompts/usage.md (`ocas prompt usage` output)
  - packages/core/README.md (Closure & Bundles API surface)
  - .cards/cli.md (bundle commands + --store architecture note)
2026-06-07 03:19:59 +00:00
xiaomo c4d9205eb2 docs: update all documentation for node:sqlite, pnpm, proman workflow
- README: bun → pnpm, update API examples, add Node >=22.5.0 requirement
- CLAUDE.md: replace 3-phase release process with proman bump/publish
- Package READMEs: fix package names, update storage/API descriptions
- Cards: update store.md (sqlite), cli.md (db filename, remove --var-db)
- docs/sync-readme.md: update to proman workflow
2026-06-03 23:21:30 +00:00
xiaoju 3859187989 docs: update all docs for @scope/name variable naming convention
- variable.md: add Naming Convention section
- cli.md: update variable name examples
- README.md: all examples use @scope/name format
- CLAUDE.md: add variable naming rule to Architecture Notes

Refs #29
2026-06-01 16:17:45 +00:00
xiaoju 48743cbf4f docs: quick start use stdin pipe instead of temp file 2026-06-01 15:23:41 +00:00
xiaoju 8504abbb5a docs: rewrite README — CLI-first with practical examples
- Quick Start with end-to-end workflow (schema → store → retrieve)
- Full CLI command reference with real examples
- Variables, templates, rendering, GC all with usage patterns
- Library usage condensed to one section with link to package READMEs
- Sorting/pagination flags documented
2026-06-01 15:18:32 +00:00
xiaoju 5463b44554 docs: update cards, README, CLAUDE.md for list pagination & ListEntry
- store.md: update Store interface (ListEntry[], ListOptions params, remove stale delete())
- variable.md: add sorting & pagination section
- README.md: add --sort/--limit/--offset/--desc flags
- CLAUDE.md: add ListOptions, ListEntry types and list-utils reference

Refs #27
2026-06-01 15:14:53 +00:00
xiaoju a62e18a189 docs: unify alias→variable, refactor var commands
- All docs/cards: alias → variable name
- CLAUDE.md: add Architecture Notes section
- README: fix --store→--home, add variable names section
- CLI: var commands use openStoreAndVarStore(), no double bootstrap
- Tests updated for bootstrap-seeded variables

Fixes #20
2026-06-01 12:38:25 +00:00
xiaoju 63d04d28d4 docs: fix README — ASCII art alignment, broken links, deprecated text
- Fix architecture ASCII art box widths to match @ocas/* names
- Remove nonsensical 'legacy alias ocas is deprecated' line
- Fix package links: packages/ocas → packages/core, etc.
- Add full project name: Object Content Addressable Store
- Add License section
2026-06-01 06:47:57 +00:00
xiaoju 4b114e96ac docs: fix store path and remove redundant alias text
- README.md: ~/.uncaged/ocas → ~/.ocas
- CLI README: remove '(also aliased ocas)' redundancy

Thanks 小墨 for the review 🖊️

Closes #8
2026-06-01 06:29:59 +00:00
xiaoju 1edb09a8b0 feat: rebrand json-cas → OCAS (Object Content Addressable Store)
- 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
2026-06-01 06:21:56 +00:00
xiaoju cb2041e29c docs: update README — ucas is primary CLI, json-cas deprecated
Also add list-meta and list-schema to command reference.
2026-06-01 05:56:54 +00:00
xiaoju 9090456ed2 feat: wrap template commands with envelope, update docs (Phase 4)
Fixes #72
2026-05-31 16:00:21 +00:00
xiaomo 1dacd699d5 docs: sync READMEs, remove json-cas-workflow references 2026-05-25 10:27:59 +00:00
xiaomo e00a23dd80 docs: add READMEs for all packages, move sync-readme to docs/ 2026-05-25 09:51:54 +00:00
xiaoju 9645e37ab5 Initial commit 2026-05-17 09:00:36 +00:00