feat: show tag info in get / var get output #56

Merged
xiaoju merged 1 commits from fix/53-tag-info-output into main 2026-06-02 11:26:51 +00:00
Owner

ocas get shows tags array when node has tags. ocas var get shows valueTags. Untagged nodes unchanged. 603 tests.

Fixes #53

ocas get shows tags array when node has tags. ocas var get shows valueTags. Untagged nodes unchanged. 603 tests. Fixes #53
xiaoju added 1 commit 2026-06-02 11:26:43 +00:00
When a CAS node has tags, ocas get includes them in the envelope's
value as a `tags` array. When a variable's value hash has tags,
ocas var get includes them as a `valueTags` array (separate from
the variable's own tags/labels). Untagged nodes/values produce
byte-identical output as before (no empty array serialized).

Schemas @ocas/output/get and @ocas/output/var-get extended to
accept the new optional fields.

Closes #53
xiaoju merged commit 54f225a514 into main 2026-06-02 11:26:51 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/ocas#56