Skip to content

Expose chronicle metadata APIs in Python and CLI#643

Draft
iameneko wants to merge 3 commits into
576-show-chronicles-stories-error-contractfrom
573-bind-metadata-apis
Draft

Expose chronicle metadata APIs in Python and CLI#643
iameneko wants to merge 3 commits into
576-show-chronicles-stories-error-contractfrom
573-bind-metadata-apis

Conversation

@iameneko
Copy link
Copy Markdown
Contributor

@iameneko iameneko commented May 8, 2026

Adds Python bindings for GetChronicleAttr, EditChronicleAttr, ShowChronicles and ShowStories — the four metadata APIs the C++ client and Visor have always implemented but py_chronolog_client never bound, so Python callers had no way to list chronicles or inspect their attributes. The two Show* bindings return (rc, list) tuples and GetChronicleAttr returns (rc, value), matching the out-parameter shape of the underlying C++ API.

Also adds matching interactive commands to client_cli (-l -c, -l -s, -g, -e), and deletes the long-commented-out Local* stub block in VisorClientPortal.cpp that has been dead since the API was redesigned.

Stacked on #639 (the new ShowChronicles / ShowStories signatures land there). Will be retargeted to develop once #639 merges.

Closes #573. Part of #572.

Adds Python bindings for GetChronicleAttr, EditChronicleAttr,
ShowChronicles and ShowStories — the four metadata APIs the C++
client and Visor have always implemented but py_chronolog_client
never bound, so Python callers had no way to list chronicles or
inspect their attributes. The two Show* bindings return (rc, list)
tuples and GetChronicleAttr returns (rc, value), matching the
out-parameter shape of the underlying C++ API.

Also adds matching interactive commands to client_cli (-l -c, -l -s,
-g, -e), and deletes the long-commented-out Local* stub block in
VisorClientPortal.cpp that has been dead since the API was redesigned.

Closes #573.
@iameneko iameneko added this to the v2.9.0 — API Completeness milestone May 8, 2026
@iameneko iameneko added ChronoVisor Coordination service: chronicle/story metadata, client registry, recording group orchestration ChronoLogClient Client library: C++/Python APIs for connecting, recording, and replaying labels May 8, 2026
@iameneko iameneko self-assigned this May 8, 2026
@iameneko iameneko linked an issue May 8, 2026 that may be closed by this pull request
@iameneko iameneko modified the milestones: v2.9.0 — API Completeness, v3.0.0 — Native Extension Plugins May 14, 2026
@iameneko iameneko force-pushed the 573-bind-metadata-apis branch from e35d51f to a0db3f3 Compare May 18, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ChronoLogClient Client library: C++/Python APIs for connecting, recording, and replaying ChronoVisor Coordination service: chronicle/story metadata, client registry, recording group orchestration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose chronicle metadata APIs in Python and CLI

1 participant