Publish Norn Eve plugin sidecar
This commit is contained in:
parent
9b5a27834e
commit
16faf31f7f
15 changed files with 880 additions and 13 deletions
66
plugins/norn-graph.plugin-abi-fixture.json
Normal file
66
plugins/norn-graph.plugin-abi-fixture.json
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"schema": "gamecult.eve.plugin_abi_fixture.v1",
|
||||
"fixtureId": "norn-graph-owner-sidecar",
|
||||
"pluginId": "norn.graph",
|
||||
"ownerRepo": "Norn",
|
||||
"contract": "gamecult.eve.plugin_abi.v1",
|
||||
"requestSchema": "gamecult.eve.plugin_abi.request.v1",
|
||||
"responseSchema": "gamecult.eve.plugin_abi.response.v1",
|
||||
"sourceFixture": "sai-nested-norn",
|
||||
"sourceFixtureRole": "optional-nested-placement-evidence",
|
||||
"authority": "Norn owns graph semantics; the Sai-derived component proves only nested composition.",
|
||||
"operations": [
|
||||
{
|
||||
"operation": "describe",
|
||||
"input": {},
|
||||
"expect": {
|
||||
"pluginId": "norn.graph",
|
||||
"componentKinds": ["embed.norn"],
|
||||
"commands": ["graph.node.activate", "graph.focus"],
|
||||
"capabilities": ["embed.norn", "graph.node.activate"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"operation": "validate",
|
||||
"input": { "componentKinds": ["embed.norn", "embed.tex", "vn.stage"] },
|
||||
"expect": {
|
||||
"acceptedComponentKinds": ["embed.norn"],
|
||||
"rejectedComponentKinds": ["embed.tex", "vn.stage"],
|
||||
"requiredCapabilities": ["embed.norn"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"operation": "project",
|
||||
"input": {
|
||||
"component": { "kind": "embed.norn", "props": { "documentId": "sai.whiteboard.graph" } },
|
||||
"graph": {
|
||||
"schema": "norn.graph.document.v1",
|
||||
"nodes": [{ "id": "arrival" }, { "id": "choice" }, { "id": "aftermath" }],
|
||||
"edges": [{ "source": "arrival", "target": "choice" }, { "source": "choice", "target": "aftermath" }]
|
||||
}
|
||||
},
|
||||
"expect": {
|
||||
"projectionKind": "embedded-semantic-surface",
|
||||
"ownedComponentKinds": ["embed.norn"],
|
||||
"semanticOwner": "Norn"
|
||||
}
|
||||
},
|
||||
{
|
||||
"operation": "measure",
|
||||
"input": {
|
||||
"graph": {
|
||||
"schema": "norn.graph.document.v1",
|
||||
"nodes": [{ "id": "arrival" }, { "id": "choice" }, { "id": "aftermath" }],
|
||||
"edges": [{ "source": "arrival", "target": "choice" }, { "source": "choice", "target": "aftermath" }],
|
||||
"layout": { "iterations": 40 }
|
||||
}
|
||||
},
|
||||
"expect": {
|
||||
"measurementKind": "graph-layout-metrics",
|
||||
"measurementOutputs": ["nodeBounds", "edgeRoutes", "viewportBounds"],
|
||||
"preservesProviderAuthority": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
36
plugins/norn-graph.plugin-advertisement.json
Normal file
36
plugins/norn-graph.plugin-advertisement.json
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"schema": "gamecult.eve.plugin_advertisement.v1",
|
||||
"pluginId": "norn.graph",
|
||||
"ownerService": "norn",
|
||||
"version": "0.1.0",
|
||||
"manifestAddress": "file://plugins/norn-graph.plugin.json",
|
||||
"runtime": {
|
||||
"invocationModel": "executable-sidecar",
|
||||
"contract": "gamecult.eve.plugin_abi.v1",
|
||||
"transports": ["stdio"],
|
||||
"authority": ["renderer-independent", "no-provider-state-mutation", "provider-accepts-or-denies-commands"],
|
||||
"sidecar": {
|
||||
"processKind": "long-running-daemon",
|
||||
"protocol": "stdio-ndjson",
|
||||
"requestSchema": "gamecult.eve.plugin_abi.request.v1",
|
||||
"responseSchema": "gamecult.eve.plugin_abi.response.v1",
|
||||
"operations": ["describe", "validate", "project", "measure"],
|
||||
"commandEnvelope": "gamecult.eve.command.v1",
|
||||
"receiptSchema": "gamecult.eve.command_receipt.v1",
|
||||
"stateAuthority": "proposes-plugin-state-only-provider-accepts",
|
||||
"launch": { "artifact": "cargo:norn-eve-plugin", "command": "norn-eve-plugin" },
|
||||
"stdio": {
|
||||
"encoding": "utf-8",
|
||||
"framing": "ndjson",
|
||||
"ordering": "sequential",
|
||||
"blankLines": "ignored",
|
||||
"diagnostics": "stderr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"schemas": ["norn.graph.document.v1", "norn.graph.layout_request.v1", "norn.graph.layout_result.v1"],
|
||||
"componentKinds": ["embed.norn"],
|
||||
"commands": ["graph.node.activate", "graph.focus"],
|
||||
"fixtures": ["sai-nested-norn"]
|
||||
}
|
||||
|
||||
54
plugins/norn-graph.plugin.json
Normal file
54
plugins/norn-graph.plugin.json
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"schema": "gamecult.eve.plugin.v1",
|
||||
"pluginId": "norn.graph",
|
||||
"title": "Norn Graph",
|
||||
"owner": "Norn",
|
||||
"componentKinds": ["embed.norn"],
|
||||
"commands": [
|
||||
{ "command": "graph.node.activate", "schema": "norn.graph.command.v1", "effect": "activate-node" },
|
||||
{ "command": "graph.focus", "schema": "norn.graph.command.v1", "effect": "focus-graph" }
|
||||
],
|
||||
"runtime": {
|
||||
"invocationModel": "executable-sidecar",
|
||||
"contract": "gamecult.eve.plugin_abi.v1",
|
||||
"transports": ["stdio"],
|
||||
"authority": ["renderer-independent", "no-provider-state-mutation", "provider-accepts-or-denies-commands"],
|
||||
"sidecar": {
|
||||
"processKind": "long-running-daemon",
|
||||
"protocol": "stdio-ndjson",
|
||||
"requestSchema": "gamecult.eve.plugin_abi.request.v1",
|
||||
"responseSchema": "gamecult.eve.plugin_abi.response.v1",
|
||||
"operations": ["describe", "validate", "project", "measure"],
|
||||
"commandEnvelope": "gamecult.eve.command.v1",
|
||||
"receiptSchema": "gamecult.eve.command_receipt.v1",
|
||||
"stateAuthority": "proposes-plugin-state-only-provider-accepts",
|
||||
"launch": {
|
||||
"artifact": "cargo:norn-eve-plugin",
|
||||
"command": "norn-eve-plugin"
|
||||
},
|
||||
"stdio": {
|
||||
"encoding": "utf-8",
|
||||
"framing": "ndjson",
|
||||
"ordering": "sequential",
|
||||
"blankLines": "ignored",
|
||||
"diagnostics": "stderr"
|
||||
}
|
||||
}
|
||||
},
|
||||
"stateSchemas": ["norn.graph.document.v1", "norn.graph.layout_request.v1", "norn.graph.layout_result.v1"],
|
||||
"fixtures": [
|
||||
{
|
||||
"fixtureId": "sai-nested-norn",
|
||||
"schema": "gamecult.eve.plugin_abi_fixture.v1",
|
||||
"path": "plugins/norn-graph.plugin-abi-fixture.json",
|
||||
"role": "optional-nested-placement-evidence",
|
||||
"authority": "Norn owns graph semantics; Sai supplies only an embed.norn composition slot."
|
||||
}
|
||||
],
|
||||
"abiFixtures": ["plugins/norn-graph.plugin-abi-fixture.json"],
|
||||
"capabilities": {
|
||||
"requires": ["embed.norn"],
|
||||
"optionalCapabilities": ["graph.node.activate", "graph.pan", "graph.zoom"]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue