Repository navigation
Description
Part of the nine-module architecture in #440. This issue holds the contract and code ownership of client. M2 defines the contract; the issues listed below own the implementation.
Purpose: The entry point. It reads configuration, creates the SDK object and holds the CLI that sits on top of the other modules.
Docker equivalent: Client (docker.from_env())
API surface: Prism.fromEnv(), createPrism(), and the prism CLI
Prism difference: It reads local configuration, and no daemon is required. It works in a browser as well as on a server.
Code that moves here
- Rust (
crates/prismpm/src):lib,main,cli,template,diagnostics - JavaScript (
sdk/npm/prism-code/src):index,node,browser,manifest,toml,init*,dev*,providers,middleware,tracing,generate/,studio/,author/,canonical/,bin/prism-code, pluscreate-prism-code
This map follows the agreed design in docs/proposals/440-nine-modules.md, under Code ownership. A file that will split keeps its current owner until it does. Confirm each row when the code moves.
May depend on: All other modules
Implemented by: #347 (developer surface), #280 (prism.toml), #293 (CLI plugins), #295 (middleware), #298 and #307 (other runtimes)
Done when: Prism.fromEnv() returns an object exposing the other eight modules, with today's createPrism() and prism export kept as documented paths; the CLI groups match the module names. Each public capability and diagnostic is registered in model/*.toml and covered by conformance fixtures.
Depends on: #440.
Part of the Prism SDK v1.0 roadmap: Prism SDK v1.0
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(prism-code): add the prism.errors namespace and a registration c…
feat(auth): prism.auth namespace with login, logout, stores and signi…
feat(prism-code): add prism.networks as a view over the capability fi…
feat(prism-code): prism.verify namespace and trust-decision audit (Refs
feat(prism-code): add the prism.volumes namespace over the capability…
feat(prism-code): the nine modules on one client, with prism.images a…
ci(prism-code): sum the package cap from one allowance file per chang…
feat(prism-code): CLI groups named after the modules (Part of #441)
feat(prism-code): CLI groups named after the modules (Part of #441) (#…
feat(prism-code): containers and volumes CLI groups (Part of #443, #445)
feat(prismpm): CLI groups named after the modules (Part of #441) (#627)
afflom commentedon Nov 12, 2026
The done-when holds on main:
Prism.fromEnv()returns the client with the other eight modules, andcreatePrism()and theprismexport remain documented (feat(prism-code): the nine modules on one client, with prism.images and prism.system #587).prism-code images|containers|volumes|system|auth <verb>(feat(prism-code): CLI groups named after the modules (Part of #441) #625, feat(prism-code): finish prism.containers and prism.volumes, SDK and CLI (Part of #443) #620, feat(prism-code): system and auth command groups (Part of #446) #621), and theprismpmgroups come from[[group]]rows in model/commands.toml (feat(prismpm): CLI groups named after the modules (Part of #441) #627).Closing.
Generated by Claude Code