cortex-sdk-1.5.3 has been yanked.
cortex-sdk
cortex-sdk is the public plugin contract for Cortex.
The SDK is capability-first. A plugin declares its capabilities in a manifest, the host grants a capability set at execution time, and each tool request must stay inside both boundaries.
Contracts
PluginManifestdescribes plugin name, version, ABI version, capabilities, boundary, and resource limits.PluginContextcarries tenant, actor, session, host-granted capabilities, and resource limits.ToolRequestdeclares the tool name, JSON input, required capabilities, and requested host paths.ToolResponsecarries JSON output and an audit label.PluginBoundarydistinguishes process and native plugin boundaries.ABI_VERSIONis the SDK ABI version expected by the host.
Validation
- Empty names and versions are rejected.
- ABI mismatches are rejected.
- Tool requests requiring undeclared capabilities are rejected.
- Missing host-granted capabilities are rejected.
- Host paths are denied unless explicitly enabled.
- Output larger than the configured limit is rejected.
Conformance
The conformance floor is:
The full release gate is: