@nooterra/types
v0.1.0
Published
Shared type definitions for the Nooterra protocol
Readme
@nooterra/types
Shared TypeScript type definitions for the Nooterra protocol.
Installation
pnpm add @nooterra/typesUsage
import type {
WorkflowManifest,
AgentCard,
Policy,
LedgerEntry,
CapabilityDefinition,
} from "@nooterra/types";
// Or import from specific modules
import type { Workflow, WorkflowNode } from "@nooterra/types/workflow";
import type { Agent, AgentHealth } from "@nooterra/types/agent";Modules
- workflow - Workflow manifests, nodes, execution state
- agent - Agent cards (ACARDs), configuration, health metrics
- ledger - Double-entry ledger, accounts, pricing
- policy - Policies, projects, access control
- capability - Capability definitions, discovery, verification
Type Categories
Workflow Types
WorkflowManifest- DAG definition with nodes and settingsWorkflowNode- Runtime state of a nodeWorkflow- Complete workflow instanceSelectionLog- Agent selection audit trail
Agent Types
AgentCard- ACARD identity documentAgent- Registered agent dataAgentHealth- Sliding window health metricsAgentConfig- SDK configuration
Ledger Types
LedgerAccount- Account balancesLedgerEntry- Double-entry ledger entriesUsageSummary- Usage analytics
Policy Types
Policy- Execution policiesProject- Project configurationAlert- System alerts
Capability Types
CapabilityDefinition- Registered capabilitiesDiscoveryResult- Semantic search resultsVerificationResult- Verifier output
