Skip to main content

Module dw_cmd

Module dw_cmd 

Source
Expand description

Thin store-API client for agentic worker publish/install.

Mirrors the HTTP distribution precedent in crate::distributor and the designer’s StoreClient (greentic-designer src/store/client.rs). No upstream CLI exists for these operations, so the commands live natively in greentic-dev rather than passing through to a delegated binary.

The store endpoints are:

  • POST {store}/api/v1/agentic-workers — multipart publish (auth required).
  • GET {store}/api/v1/agentic-workers/{name}/{version} — version metadata.
  • GET {store}/api/v1/agentic-workers/{name}/{version}/artifact — bytes.

Structs§

DwInstallArgs
DwPublishArgs

Enums§

DwCommand

Functions§

run