Merge pull request #117 from deepseek-harness/drop-catalog-count-prose
docs(cordis-catalog): omit exact event/service counts from catalog prose
This commit is contained in:
@@ -11,7 +11,7 @@ The **harness tier** below (the `@deepseek-ai/dsh-*` packages) is the vocabulary
|
|||||||
|
|
||||||
## Events
|
## Events
|
||||||
|
|
||||||
Dispatch modes: **emit** (fire-and-forget), **waterfall** (each listener gets `next()` and may transform or veto — see [waterfall semantics](../architecture.md#cordis-waterfall-semantics-important)), **parallel** (awaited fan-out, no veto). The harness declares 24 events across 6 scopes.
|
Dispatch modes: **emit** (fire-and-forget), **waterfall** (each listener gets `next()` and may transform or veto — see [waterfall semantics](../architecture.md#cordis-waterfall-semantics-important)), **parallel** (awaited fan-out, no veto).
|
||||||
|
|
||||||
### `agent/*`
|
### `agent/*`
|
||||||
|
|
||||||
@@ -301,7 +301,7 @@ Source: [`packages/core/tools/src/index.ts:43`](../../packages/core/tools/src/in
|
|||||||
|
|
||||||
## Services
|
## Services
|
||||||
|
|
||||||
The 10 `ctx.<key>` services the harness provides. An abstract seam (e.g. `ctx.bash`) is implemented by a separate package; the interface is what consumers code against.
|
The `ctx.<key>` services the harness provides. An abstract seam (e.g. `ctx.bash`) is implemented by a separate package; the interface is what consumers code against.
|
||||||
|
|
||||||
### `ctx.agentLoop` — `AgentLoop`
|
### `ctx.agentLoop` — `AgentLoop`
|
||||||
|
|
||||||
|
|||||||
@@ -394,7 +394,7 @@ function render(events: EventEntry[], services: ServiceEntry[]): string {
|
|||||||
'',
|
'',
|
||||||
'## Events',
|
'## Events',
|
||||||
'',
|
'',
|
||||||
`Dispatch modes: **emit** (fire-and-forget), **waterfall** (each listener gets \`next()\` and may transform or veto — see [waterfall semantics](../architecture.md#cordis-waterfall-semantics-important)), **parallel** (awaited fan-out, no veto). The harness declares ${events.length} events across ${new Set(events.map(e => e.scope)).size} scopes.`,
|
'Dispatch modes: **emit** (fire-and-forget), **waterfall** (each listener gets `next()` and may transform or veto — see [waterfall semantics](../architecture.md#cordis-waterfall-semantics-important)), **parallel** (awaited fan-out, no veto).',
|
||||||
'',
|
'',
|
||||||
]
|
]
|
||||||
const scopes = [...new Set(events.map(e => e.scope))].sort()
|
const scopes = [...new Set(events.map(e => e.scope))].sort()
|
||||||
@@ -407,7 +407,7 @@ function render(events: EventEntry[], services: ServiceEntry[]): string {
|
|||||||
lines.push(
|
lines.push(
|
||||||
'## Services',
|
'## Services',
|
||||||
'',
|
'',
|
||||||
`The ${services.length} \`ctx.<key>\` services the harness provides. An abstract seam (e.g. \`ctx.bash\`) is implemented by a separate package; the interface is what consumers code against.`,
|
'The `ctx.<key>` services the harness provides. An abstract seam (e.g. `ctx.bash`) is implemented by a separate package; the interface is what consumers code against.',
|
||||||
'',
|
'',
|
||||||
)
|
)
|
||||||
for (const s of services) lines.push(...renderService(s))
|
for (const s of services) lines.push(...renderService(s))
|
||||||
|
|||||||
Reference in New Issue
Block a user