Why: Contract foundation for the inbox/command-bus/workspaces phase (proposal D28/D30): ActivityCard as the first-class state object behind the right-rail inbox, card.* stream events, inline-confirm anchoring (anchorMessageId + blocked/blockReason) on HITL, seven new UI schema vocabularies, plugin provides.commands/workspaces, workflow card step and workspace declarations. Evidence: go vet clean; conformance goldens regenerated and verified — new activity_card / hitl_card_blocked / event_card_created / event_card_resolved / ui_vocabularies samples plus extended plugin_manifest; CardStatus.Terminal helper unit-covered via build; ts/types.ts mirrors all additions. Impact: Additive only (omitempty fields, new types, new event types) — existing consumers ignore unknown values per forward-compat rule; vocabulary spec types carry a Spec suffix to avoid const-name collisions. Refs: modules/documents docs/proposals/2026-09-30-ui-inbox-command-workspace.md
35 lines
462 B
JSON
35 lines
462 B
JSON
{
|
|
"id": "example",
|
|
"name": "示例插件",
|
|
"version": "0.1.0",
|
|
"apiVersion": "1.0",
|
|
"requires": {
|
|
"network": [
|
|
"api.example.com"
|
|
]
|
|
},
|
|
"provides": {
|
|
"tools": [
|
|
"http_echo"
|
|
],
|
|
"intents": [
|
|
"demo"
|
|
],
|
|
"panels": [
|
|
"demo"
|
|
],
|
|
"cards": [
|
|
"note"
|
|
],
|
|
"settings": [
|
|
"greeting"
|
|
],
|
|
"commands": [
|
|
"demo.refresh"
|
|
],
|
|
"workspaces": [
|
|
"demo-main"
|
|
]
|
|
}
|
|
}
|