Expand description
Repository-native agent packages.
An agent package is deliberately data, not executable plugin code:
.supercode/package.toml describes an agent/ folder, capability
requirements, workspace storage, and frontend-neutral JSON contributions.
This lets a repository deepen its integration with any Supercode frontend
without shipping another agent loop, CLI, MCP server, or UI bundle.
Structs§
- Agent
Contribution - A portable, inert contribution a frontend may choose to render.
- Agent
Folder - The resolved instruction and skill roots of an agent package.
- Agent
Package - A fully resolved, validated repository agent package.
- Agent
Package Capabilities - Capability requirements declared by an agent package.
- Agent
Package Resource - Browser-safe content loaded for a contribution’s declared storage resource.
- Agent
Package Storage - Durable workspace storage requested by an agent package.
Constants§
- AGENT_
PACKAGE_ MANIFEST - Repository-relative location of an agent package manifest.
- AGENT_
PACKAGE_ SCHEMA_ VERSION - Current manifest schema version.
- CONTRIBUTION_
SCHEMA - Stable contribution envelope understood by Supercode frontends.
- RESOURCE_
SCHEMA - Stable envelope for one resolved contribution resource.
Functions§
- declared_
resource_ contribution_ ids - Contribution ids that declare a storage-scoped resource, in source order.
- load_
workspace_ agent_ package - Load the agent package rooted at
workspace. - read_
contribution_ resource - Read one contribution’s declared resource from inside package storage.