docs: fix Codex review findings on the cordis catalog
- Exclude protected methods from the generated service interface: a protected member (e.g. BashExecutor.notifyTaskDone) is a subclass hook, not part of the public ctx.<key> surface a plugin author calls. The method filter now drops private, protected, and static. - Add BashTaskRead to the type cross-link map so readOutput()'s return type links to its core-data-structures page. - Reword the generator module comment and the AGENTS.md @mode rule to state the current capability without narrating the retired event-taxonomy verifier (that history lives in the RFC).
This commit is contained in:
@@ -355,10 +355,9 @@ abstract list(): BashTask[]
|
||||
abstract readOutput(id: string): BashTaskRead
|
||||
abstract kill(id: string): boolean
|
||||
onTaskDone(listener: BashTaskListener): () => void
|
||||
protected notifyTaskDone(task: BashTask): void
|
||||
```
|
||||
|
||||
Types: [BashExecRequest](../core-data-structures/bash.md) · [BashExecSpec](../core-data-structures/bash.md) · [BashRunResult](../core-data-structures/bash.md) · [BashTask](../core-data-structures/bash.md)
|
||||
Types: [BashExecRequest](../core-data-structures/bash.md) · [BashExecSpec](../core-data-structures/bash.md) · [BashRunResult](../core-data-structures/bash.md) · [BashTask](../core-data-structures/bash.md) · [BashTaskRead](../core-data-structures/bash.md)
|
||||
|
||||
Source: [`packages/bash/src/index.ts:58`](../../packages/bash/src/index.ts)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user