@fugood/bricks-project 2.25.0-beta.16 → 2.25.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/package.json.bak +2 -2
- package/types/generators/Assistant.ts +18 -0
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.25.0-beta.
|
|
3
|
+
"version": "2.25.0-beta.18",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"typecheck": "tsc --noEmit",
|
|
7
7
|
"build": "bun scripts/build.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@fugood/bricks-cli": "^2.25.0-beta.
|
|
10
|
+
"@fugood/bricks-cli": "^2.25.0-beta.18",
|
|
11
11
|
"@huggingface/gguf": "^0.3.2",
|
|
12
12
|
"@iarna/toml": "^3.0.0",
|
|
13
13
|
"@modelcontextprotocol/sdk": "^1.15.0",
|
package/package.json.bak
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-ctor",
|
|
3
|
-
"version": "2.25.0-beta.
|
|
3
|
+
"version": "2.25.0-beta.18",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"typecheck": "tsc --noEmit",
|
|
7
7
|
"build": "bun scripts/build.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@fugood/bricks-cli": "^2.25.0-beta.
|
|
10
|
+
"@fugood/bricks-cli": "^2.25.0-beta.18",
|
|
11
11
|
"@huggingface/gguf": "^0.3.2",
|
|
12
12
|
"@iarna/toml": "^3.0.0",
|
|
13
13
|
"@modelcontextprotocol/sdk": "^1.15.0",
|
|
@@ -511,6 +511,24 @@ Default property:
|
|
|
511
511
|
mcpResourceAnnotationKeyword?: string | DataLink
|
|
512
512
|
/* Fallback text when MCP server or resource is not found. If empty, an error will be thrown. */
|
|
513
513
|
mcpResourceAnnotationFallback?: string | DataLink
|
|
514
|
+
/* Guardrails — safety checks applied at specific pipeline hook points. Each entry runs a `pattern` regex or `llm` verdict check at the specified `on` hook, and fires the configured `action` when triggered. Template slots available in `llmUserPromptTemplate` / `llmSystemPrompt`: `{input}`, `{output}`, `{tool_call}`, `{tool_args}`, `{tool_result}`. For `action: 'redact'` with `kind: 'llm'`, `llmSystemPrompt` is also used as the sanitiser system prompt (defaults to a built-in rewrite instruction when omitted). */
|
|
515
|
+
guardrails?:
|
|
516
|
+
| Array<
|
|
517
|
+
| DataLink
|
|
518
|
+
| {
|
|
519
|
+
id?: string | DataLink
|
|
520
|
+
on?: 'before-llm' | 'after-llm' | 'before-tool' | 'after-tool' | DataLink
|
|
521
|
+
kind?: 'pattern' | 'llm' | DataLink
|
|
522
|
+
patternMatch?: string | DataLink
|
|
523
|
+
llmGeneratorId?: string | DataLink | (() => Generator)
|
|
524
|
+
llmLivePolicy?: 'only-in-use' | 'manual' | DataLink
|
|
525
|
+
llmSystemPrompt?: string | DataLink
|
|
526
|
+
llmUserPromptTemplate?: string | DataLink
|
|
527
|
+
llmResultMatch?: string | DataLink
|
|
528
|
+
action?: 'block' | 'redact' | 'log-only' | DataLink
|
|
529
|
+
}
|
|
530
|
+
>
|
|
531
|
+
| DataLink
|
|
514
532
|
}
|
|
515
533
|
events?: {
|
|
516
534
|
/* Error event */
|