init
This commit is contained in:
commit
0858862cda
17 files changed
+2189
No files matched your search
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Public surface of the `dsh-facet/guard` row — the half mounted inside the
|
||||
* `facet` agent preset.
|
||||
*/
|
||||
|
||||
import type { Context } from '@deepseek-ai/cordis'
|
||||
import type z from '@deepseek-ai/schemastery'
|
||||
|
||||
/** Plugin name. */
|
||||
export declare const name = 'facet-guard'
|
||||
|
||||
/** Services the guard cannot work without; it stays pending until all are present. */
|
||||
export declare const inject: readonly ['facetPolicy', 'tools', 'systemPrompt', 'fs']
|
||||
|
||||
/** Configuration for the preset-scoped half. */
|
||||
export interface Config {
|
||||
/** Register the `facet` tool. Defaults to `true`; the guard works without it. */
|
||||
tool?: boolean
|
||||
}
|
||||
|
||||
export declare const Config: z<Config>
|
||||
|
||||
export declare function apply(ctx: Context, config: Config): void
|
||||
Reference in new issue
Block a user