Extract the unchanged canonical plan model for typed Runtime snapshots without a Server dependency cycle. Bind Tool consumer identities to persisted Session/call IDs, use the owner-issued context and current publication authorization, and register through FeatureInstallPlan with cooperative shutdown. Validation so far: root cargo check --locked, portable model 6 tests/doctest, Worker actual Component adapter 7 focused tests, Server plan 9 tests via shared isolation. Full product launch owner/pin lifecycle and Remote/Embedded vertical integration remain a subsequent coherent change.
20 lines
584 B
TOML
20 lines
584 B
TOML
[package]
|
|
name = "runtime-api"
|
|
description = "Typed JSON REST contract for Yoi Runtime Worker management"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
api-macros = { workspace = true, features = ["reqwest", "axum"] }
|
|
manifest.workspace = true
|
|
plugin-plan = { path = "../plugin-plan" }
|
|
protocol.workspace = true
|
|
session-store.workspace = true
|
|
serde = { workspace = true, features = ["derive"] }
|
|
workdir.workspace = true
|
|
|
|
[dev-dependencies]
|
|
serde_json.workspace = true
|
|
tokio = { workspace = true, features = ["macros", "net", "rt-multi-thread"] }
|