@noodleseed/one 0.139.0 → 0.139.1
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.
|
@@ -2,12 +2,12 @@ const ANNOTATION = 'x-noodleseed-model-latest-message-includes-any';
|
|
|
2
2
|
const MAX_PHRASES = 32;
|
|
3
3
|
const MAX_PHRASE_CHARS = 128;
|
|
4
4
|
export function manifestToolAnnotations(options) {
|
|
5
|
-
if (options.modelVisibility === undefined) {
|
|
6
|
-
return options.annotations ? { annotations: { ...options.annotations } } : {};
|
|
7
|
-
}
|
|
8
5
|
if (Object.hasOwn(options.annotations ?? {}, ANNOTATION)) {
|
|
9
6
|
throw new Error(`Use modelVisibility.latestMessageIncludesAny instead of the reserved ${ANNOTATION} annotation.`);
|
|
10
7
|
}
|
|
8
|
+
if (options.modelVisibility === undefined) {
|
|
9
|
+
return options.annotations ? { annotations: { ...options.annotations } } : {};
|
|
10
|
+
}
|
|
11
11
|
const phrases = options.modelVisibility.latestMessageIncludesAny;
|
|
12
12
|
if (phrases.length < 1 || phrases.length > MAX_PHRASES) {
|
|
13
13
|
throw new Error(`modelVisibility.latestMessageIncludesAny must contain 1-${MAX_PHRASES} literal phrases.`);
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
41
41
|
"@noodle-borg/admission-limits": "0.0.0",
|
|
42
|
-
"@noodle-borg/agent-kit": "0.
|
|
42
|
+
"@noodle-borg/agent-kit": "0.84.0",
|
|
43
43
|
"@noodle-borg/app-package": "0.0.0",
|
|
44
44
|
"@noodle-borg/assistant-gateway": "0.0.0",
|
|
45
45
|
"@noodle-borg/auth": "0.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noodleseed/one",
|
|
3
|
-
"version": "0.139.
|
|
3
|
+
"version": "0.139.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Noodle CLI by Noodle Seed — author, run, and deploy declarative MCP servers. Embedding the assistant in your own web app is @noodleseed/assistant.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"@modelcontextprotocol/client": "2.0.0",
|
|
237
237
|
"@modelcontextprotocol/server": "2.0.0",
|
|
238
238
|
"@noodle-borg/admission-limits": "0.0.0",
|
|
239
|
-
"@noodle-borg/agent-kit": "0.
|
|
239
|
+
"@noodle-borg/agent-kit": "0.84.0",
|
|
240
240
|
"@noodle-borg/app-audit": "0.0.0",
|
|
241
241
|
"@noodle-borg/app-package": "0.0.0",
|
|
242
242
|
"@noodle-borg/assistant-gateway": "0.0.0",
|