@things-factory/ai-client-base 10.1.316 → 10.1.319
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.
|
@@ -252,6 +252,18 @@ export interface ToolSpecBase {
|
|
|
252
252
|
* The side that registers the tool says it.
|
|
253
253
|
*/
|
|
254
254
|
keepsProposal?: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* This write may be done from outside the application - an agent connected for a person calls it and it writes, as
|
|
257
|
+
* that person, with no card for anyone to press (ADR-0237 amendment 1, decision 12). Whether it may, the side that
|
|
258
|
+
* registers it answers for the request's domain - its own setting, off until the domain turns it on - and it is asked
|
|
259
|
+
* at every list and every call. Only on an `external` tool - one that runs on the server and answers; a `write` or
|
|
260
|
+
* `action` is applied by a screen, and there is none outside. Without it nothing that writes goes out.
|
|
261
|
+
*/
|
|
262
|
+
writesOutside?: {
|
|
263
|
+
enabledFor(domain: {
|
|
264
|
+
id: string;
|
|
265
|
+
}): Promise<boolean>;
|
|
266
|
+
};
|
|
255
267
|
/**
|
|
256
268
|
* What this tool answers from besides its arguments and the request state (ADR-0237 decision 3) - a door without it
|
|
257
269
|
* does not offer the tool:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/ai-client-base",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.319",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"config",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@anthropic-ai/sdk": "^0.40.0",
|
|
40
40
|
"@google/generative-ai": "^0.24.0",
|
|
41
|
-
"@things-factory/auth-base": "^10.1.
|
|
41
|
+
"@things-factory/auth-base": "^10.1.319",
|
|
42
42
|
"@things-factory/env": "^10.1.298",
|
|
43
|
-
"@things-factory/setting-base": "^10.1.
|
|
43
|
+
"@things-factory/setting-base": "^10.1.319",
|
|
44
44
|
"@things-factory/shell": "^10.1.304",
|
|
45
45
|
"openai": "^4.0.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "9740f0f13130271ec920b435b6d833afdf611267"
|
|
48
48
|
}
|