agentResolution
agentResolution
Section titled “agentResolution”| Field | Value |
|---|---|
| Prefix | agentResolution |
| Namespace constant | AgentResolutionNamespace |
| Subjects constant | AgentResolutionSubjects |
| Kind | bus |
| Schema record | AgentResolutionSchemas |
| Tier | framework |
| Package | @makaio/contracts |
| Defined in | packages/contracts/src/agent-resolution/namespace.ts |
Subjects
Section titled “Subjects”| Key | Wire | Type | Schema |
|---|---|---|---|
resolve | agentResolution.resolve | rpc | schemas.ts |
Subject Details
Section titled “Subject Details”agentResolution.resolve (rpc)
Section titled “agentResolution.resolve (rpc)”Resolve a host-tier agent selection into concrete adapter config.
Subject: agentResolution.resolve
Type: Request (RPC)
The framework orchestrator calls this for any agent.kind it doesn’t
handle natively. The host-tier handler dispatches to the appropriate
domain service based on kind.
Request:
| Field | Type | Required |
|---|---|---|
context | { sessionId?: string | undefined; projectId?: string | undefined; promptText?: string | undefined; sessionContext?: unknown; } | undefined | no |
selection | { [x: string]: unknown; kind: string; providerConfigId?: string | undefined; model?: string | undefined; reasoningEffort?: "none" | "low" | "medium" | "high" | "extra-high" | undefined; cwd?: string | undefined; systemPrompt?: string | { mode: "append"; content: string; } | undefined; allowedTools?: string[] | undefined; disallowedTools?: string[] | undefined; allowedDirectories?: string[] | undefined; } | yes |
Response:
| Field | Type | Required |
|---|---|---|
adapterName | string | yes |
allowedDirectories | string[] | undefined | no |
allowedTools | string[] | undefined | no |
approvalPolicy | "reject" | "always-ask" | "full-access" | undefined | no |
compressionMode | "auto" | "manual" | "off" | yes |
contextMode | "fork" | "fresh" | yes |
disallowedTools | string[] | undefined | no |
harnessId | string | undefined | no |
mcpConfig | { directTools?: string[] | undefined; discoveryTools?: string[] | undefined; toolExposure?: Record<string, "direct" | "discovery" | "hidden"> | undefined; } | undefined | no |
model | string | undefined | no |
profileId | string | undefined | no |
providerConfigId | string | undefined | no |
reasoningEffort | "none" | "low" | "medium" | "high" | "extra-high" | undefined | no |
systemPrompt | string | undefined | no |
Auto-generated by yarn docs:bus. Do not edit manually.