canonicalModel
canonicalModel
Section titled “canonicalModel”| Field | Value |
|---|---|
| Prefix | canonicalModel |
| Namespace constant | CanonicalModelNamespace |
| Subjects constant | CanonicalModelSubjects |
| Kind | bus |
| Schema record | CanonicalModelSchemas |
| Tier | framework |
| Package | @makaio/contracts |
| Defined in | packages/contracts/src/canonical-model/namespace.ts |
Subjects
Section titled “Subjects”| Key | Wire | Type | Schema |
|---|---|---|---|
resolve | canonicalModel.resolve | rpc | schemas.ts |
Subject Details
Section titled “Subject Details”canonicalModel.resolve (rpc)
Section titled “canonicalModel.resolve (rpc)”Subject: canonicalModel.resolve
Type: Request (RPC)
Request:
| Field | Type | Required |
|---|---|---|
context | { sessionId?: string | undefined; projectId?: string | undefined; promptText?: string | undefined; sessionContext?: unknown; } | undefined | no |
parsed | { kind: "bare"; model: string; } | { kind: "qualified"; segment1: string; model: string; segment2?: string | undefined; } | yes |
Response:
| Field | Type | Required |
|---|---|---|
adapterId | string | undefined | no |
adapterName | string | yes |
allowedDirectories | string[] | undefined | no |
allowedTools | string[] | undefined | no |
cwd | string | undefined | no |
disallowedTools | string[] | undefined | no |
kind | "adapter" | yes |
model | string | yes |
providerConfigId | string | yes |
reasoningEffort | "none" | "low" | "medium" | "high" | "extra-high" | undefined | no |
systemPrompt | string | { mode: "append"; content: string; } | undefined | no |
Auto-generated by yarn docs:bus. Do not edit manually.