Skip to main content

Module store_client

Module store_client 

Source
Expand description

Minimal store client for publishing AgenticWorker packs. Mirrors greentic-designer store::client::publish_agentic_worker.

Functions§

publish_agentic_worker
POST the pack to {store}/api/v1/agentic-workers (multipart metadata+artifact, Bearer token). 409 Conflict (already published) is returned as a distinct already published (409): <body> error; non-2xx otherwise carries the status code and body.
publish_metadata
Build the {describe, artifactSha256} upload metadata for a pack. The describe’s manifestSha256 and the top-level artifactSha256 are BOTH the lowercase-hex sha256 of pack_bytes (the final .gtpack).