updated skills
This commit is contained in:
@@ -115,4 +115,3 @@ bun add @suaveplan/api-host
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
|
||||
@@ -65,14 +65,14 @@ await registry.dispose();
|
||||
## API Reference
|
||||
|
||||
- `class CapabilityRegistry`
|
||||
- `register(reg)`: void
|
||||
- `lookup<Id>(id): CapabilityRegistration<Id> | undefined`
|
||||
- `require<Id>(id): CapabilityRegistration<Id>`
|
||||
- `has(id): boolean`
|
||||
- `ids(): readonly CapabilityId[]`
|
||||
- `size(): number`
|
||||
- `assertSatisfies(ranges: Record<string, string>): void`
|
||||
- `dispose(): Promise<void>`
|
||||
- `register(reg)`: void
|
||||
- `lookup<Id>(id): CapabilityRegistration<Id> | undefined`
|
||||
- `require<Id>(id): CapabilityRegistration<Id>`
|
||||
- `has(id): boolean`
|
||||
- `ids(): readonly CapabilityId[]`
|
||||
- `size(): number`
|
||||
- `assertSatisfies(ranges: Record<string, string>): void`
|
||||
- `dispose(): Promise<void>`
|
||||
- `defineCapability<const Id>(reg): CapabilityRegistration<Id>`
|
||||
- `CapabilityScope`: `"host" | "plugin" | "request"`
|
||||
- `CapabilityRegistration<Id>`: shape consumed by `register`.
|
||||
|
||||
@@ -73,12 +73,12 @@ for (const name of HOST_COUNTER_NAMES) {
|
||||
- `HOST_COUNTER_NAMES` — `readonly` tuple of every counter name.
|
||||
- `HOST_HISTOGRAM_NAMES` — `readonly` tuple of every histogram name.
|
||||
- `HostInstruments`:
|
||||
- `meter: Meter`
|
||||
- `tenantLabelOptIn: boolean`
|
||||
- `counters: Readonly<Record<HostCounterName, Counter>>`
|
||||
- `histograms: Readonly<Record<HostHistogramName, Histogram>>`
|
||||
- `forPlugin(name): PluginInstruments`
|
||||
- `dispose(): void`
|
||||
- `meter: Meter`
|
||||
- `tenantLabelOptIn: boolean`
|
||||
- `counters: Readonly<Record<HostCounterName, Counter>>`
|
||||
- `histograms: Readonly<Record<HostHistogramName, Histogram>>`
|
||||
- `forPlugin(name): PluginInstruments`
|
||||
- `dispose(): void`
|
||||
- `PluginInstruments`: `{ meter: Meter; pluginName: string }`.
|
||||
|
||||
## Implementation Notes
|
||||
|
||||
@@ -112,7 +112,7 @@ const PIPELINE_STEPS: readonly PipelineStepName[];
|
||||
|
||||
## Implementation Notes
|
||||
|
||||
The pipeline runs route-match *first* (technically step 2 in §6) so
|
||||
The pipeline runs route-match _first_ (technically step 2 in §6) so
|
||||
later step gates (`auth`, `csrf`, `rateLimit`, `idempotent`) can
|
||||
consult per-route policy. The §6 ordering of "intake → match" is
|
||||
preserved at the engine adapter; this driver assumes the intake has
|
||||
|
||||
Reference in New Issue
Block a user