@breign/client 1.0.135 → 1.0.136

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.
@@ -0,0 +1,32 @@
1
+ /**
2
+ * brain-client
3
+ * Api ands models for brain-app and brain-app
4
+ *
5
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Per-agent activation of computer use: those that allow the agent to use the computer for various tasks. Opt-in.
14
+ * @export
15
+ * @interface AgentComputerUseConfigurationUio
16
+ */
17
+ export interface AgentComputerUseConfigurationUio {
18
+ /**
19
+ * General switch for computer use on this agent.
20
+ * @type {boolean}
21
+ * @memberof AgentComputerUseConfigurationUio
22
+ */
23
+ enabled?: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the AgentComputerUseConfigurationUio interface.
27
+ */
28
+ export declare function instanceOfAgentComputerUseConfigurationUio(value: object): value is AgentComputerUseConfigurationUio;
29
+ export declare function AgentComputerUseConfigurationUioFromJSON(json: any): AgentComputerUseConfigurationUio;
30
+ export declare function AgentComputerUseConfigurationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentComputerUseConfigurationUio;
31
+ export declare function AgentComputerUseConfigurationUioToJSON(json: any): AgentComputerUseConfigurationUio;
32
+ export declare function AgentComputerUseConfigurationUioToJSONTyped(value?: AgentComputerUseConfigurationUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * brain-client
6
+ * Api ands models for brain-app and brain-app
7
+ *
8
+ * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfAgentComputerUseConfigurationUio = instanceOfAgentComputerUseConfigurationUio;
17
+ exports.AgentComputerUseConfigurationUioFromJSON = AgentComputerUseConfigurationUioFromJSON;
18
+ exports.AgentComputerUseConfigurationUioFromJSONTyped = AgentComputerUseConfigurationUioFromJSONTyped;
19
+ exports.AgentComputerUseConfigurationUioToJSON = AgentComputerUseConfigurationUioToJSON;
20
+ exports.AgentComputerUseConfigurationUioToJSONTyped = AgentComputerUseConfigurationUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentComputerUseConfigurationUio interface.
23
+ */
24
+ function instanceOfAgentComputerUseConfigurationUio(value) {
25
+ return true;
26
+ }
27
+ function AgentComputerUseConfigurationUioFromJSON(json) {
28
+ return AgentComputerUseConfigurationUioFromJSONTyped(json, false);
29
+ }
30
+ function AgentComputerUseConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
36
+ };
37
+ }
38
+ function AgentComputerUseConfigurationUioToJSON(json) {
39
+ return AgentComputerUseConfigurationUioToJSONTyped(json, false);
40
+ }
41
+ function AgentComputerUseConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ 'enabled': value['enabled'],
47
+ };
48
+ }
@@ -18,7 +18,7 @@ import type { AgentMemoryConfigurationUio } from './AgentMemoryConfigurationUio'
18
18
  import type { AgentPatchEngineUio } from './AgentPatchEngineUio';
19
19
  import type { AgentSandboxConfigurationUio } from './AgentSandboxConfigurationUio';
20
20
  import type { AgentTypeUio } from './AgentTypeUio';
21
- import type { AgentPendingToolsConfigurationUio } from './AgentPendingToolsConfigurationUio';
21
+ import type { AgentComputerUseConfigurationUio } from './AgentComputerUseConfigurationUio';
22
22
  /**
23
23
  *
24
24
  * @export
@@ -181,10 +181,10 @@ export interface AgentPatchUio {
181
181
  sandboxConfiguration?: AgentSandboxConfigurationUio | null;
182
182
  /**
183
183
  *
184
- * @type {AgentPendingToolsConfigurationUio}
184
+ * @type {AgentComputerUseConfigurationUio}
185
185
  * @memberof AgentPatchUio
186
186
  */
187
- pendingToolsConfiguration?: AgentPendingToolsConfigurationUio | null;
187
+ computerUseConfiguration?: AgentComputerUseConfigurationUio | null;
188
188
  }
189
189
  /**
190
190
  * Check if a given object implements the AgentPatchUio interface.
@@ -27,7 +27,7 @@ const AgentMemoryConfigurationUio_1 = require("./AgentMemoryConfigurationUio");
27
27
  const AgentPatchEngineUio_1 = require("./AgentPatchEngineUio");
28
28
  const AgentSandboxConfigurationUio_1 = require("./AgentSandboxConfigurationUio");
29
29
  const AgentTypeUio_1 = require("./AgentTypeUio");
30
- const AgentPendingToolsConfigurationUio_1 = require("./AgentPendingToolsConfigurationUio");
30
+ const AgentComputerUseConfigurationUio_1 = require("./AgentComputerUseConfigurationUio");
31
31
  /**
32
32
  * Check if a given object implements the AgentPatchUio interface.
33
33
  */
@@ -67,7 +67,7 @@ function AgentPatchUioFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'contextualKnowledgeConversation': json['contextualKnowledgeConversation'] == null ? undefined : (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioFromJSON)(json['contextualKnowledgeConversation']),
68
68
  'speechToText': json['speechToText'] == null ? undefined : (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioFromJSON)(json['speechToText']),
69
69
  'sandboxConfiguration': json['sandboxConfiguration'] == null ? undefined : (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioFromJSON)(json['sandboxConfiguration']),
70
- 'pendingToolsConfiguration': json['pendingToolsConfiguration'] == null ? undefined : (0, AgentPendingToolsConfigurationUio_1.AgentPendingToolsConfigurationUioFromJSON)(json['pendingToolsConfiguration']),
70
+ 'computerUseConfiguration': json['computerUseConfiguration'] == null ? undefined : (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioFromJSON)(json['computerUseConfiguration']),
71
71
  };
72
72
  }
73
73
  function AgentPatchUioToJSON(json) {
@@ -103,6 +103,6 @@ function AgentPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
103
103
  'contextualKnowledgeConversation': (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioToJSON)(value['contextualKnowledgeConversation']),
104
104
  'speechToText': (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioToJSON)(value['speechToText']),
105
105
  'sandboxConfiguration': (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioToJSON)(value['sandboxConfiguration']),
106
- 'pendingToolsConfiguration': (0, AgentPendingToolsConfigurationUio_1.AgentPendingToolsConfigurationUioToJSON)(value['pendingToolsConfiguration']),
106
+ 'computerUseConfiguration': (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioToJSON)(value['computerUseConfiguration']),
107
107
  };
108
108
  }
@@ -21,7 +21,7 @@ import type { AgentCreatorUio } from './AgentCreatorUio';
21
21
  import type { SpeechToTextConfigUio } from './SpeechToTextConfigUio';
22
22
  import type { AgentMemoryConfigurationUio } from './AgentMemoryConfigurationUio';
23
23
  import type { AgentTypeUio } from './AgentTypeUio';
24
- import type { AgentPendingToolsConfigurationUio } from './AgentPendingToolsConfigurationUio';
24
+ import type { AgentComputerUseConfigurationUio } from './AgentComputerUseConfigurationUio';
25
25
  /**
26
26
  *
27
27
  * @export
@@ -202,10 +202,10 @@ export interface AgentUio {
202
202
  sandboxConfiguration?: AgentSandboxConfigurationUio | null;
203
203
  /**
204
204
  *
205
- * @type {AgentPendingToolsConfigurationUio}
205
+ * @type {AgentComputerUseConfigurationUio}
206
206
  * @memberof AgentUio
207
207
  */
208
- pendingToolsConfiguration?: AgentPendingToolsConfigurationUio | null;
208
+ computerUseConfiguration?: AgentComputerUseConfigurationUio | null;
209
209
  /**
210
210
  *
211
211
  * @type {AgentCreatorUio}
@@ -31,7 +31,7 @@ const AgentCreatorUio_1 = require("./AgentCreatorUio");
31
31
  const SpeechToTextConfigUio_1 = require("./SpeechToTextConfigUio");
32
32
  const AgentMemoryConfigurationUio_1 = require("./AgentMemoryConfigurationUio");
33
33
  const AgentTypeUio_1 = require("./AgentTypeUio");
34
- const AgentPendingToolsConfigurationUio_1 = require("./AgentPendingToolsConfigurationUio");
34
+ const AgentComputerUseConfigurationUio_1 = require("./AgentComputerUseConfigurationUio");
35
35
  /**
36
36
  * @export
37
37
  */
@@ -100,7 +100,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
100
100
  'contextualKnowledgeConversation': json['contextualKnowledgeConversation'] == null ? undefined : (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioFromJSON)(json['contextualKnowledgeConversation']),
101
101
  'speechToText': json['speechToText'] == null ? undefined : (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioFromJSON)(json['speechToText']),
102
102
  'sandboxConfiguration': json['sandboxConfiguration'] == null ? undefined : (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioFromJSON)(json['sandboxConfiguration']),
103
- 'pendingToolsConfiguration': json['pendingToolsConfiguration'] == null ? undefined : (0, AgentPendingToolsConfigurationUio_1.AgentPendingToolsConfigurationUioFromJSON)(json['pendingToolsConfiguration']),
103
+ 'computerUseConfiguration': json['computerUseConfiguration'] == null ? undefined : (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioFromJSON)(json['computerUseConfiguration']),
104
104
  'creator': json['creator'] == null ? undefined : (0, AgentCreatorUio_1.AgentCreatorUioFromJSON)(json['creator']),
105
105
  'engineSource': json['engineSource'] == null ? undefined : json['engineSource'],
106
106
  'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
@@ -143,7 +143,7 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
143
143
  'contextualKnowledgeConversation': (0, ContextualKnowledgeConversationUio_1.ContextualKnowledgeConversationUioToJSON)(value['contextualKnowledgeConversation']),
144
144
  'speechToText': (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioToJSON)(value['speechToText']),
145
145
  'sandboxConfiguration': (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioToJSON)(value['sandboxConfiguration']),
146
- 'pendingToolsConfiguration': (0, AgentPendingToolsConfigurationUio_1.AgentPendingToolsConfigurationUioToJSON)(value['pendingToolsConfiguration']),
146
+ 'computerUseConfiguration': (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioToJSON)(value['computerUseConfiguration']),
147
147
  'creator': (0, AgentCreatorUio_1.AgentCreatorUioToJSON)(value['creator']),
148
148
  'engineSource': value['engineSource'],
149
149
  'providerSource': value['providerSource'],
@@ -9,6 +9,7 @@ export * from './AdvancedFlowEditorNodeUio';
9
9
  export * from './AdvancedFlowEditorUio';
10
10
  export * from './AdvancedFlowEditorUpdateRequestUio';
11
11
  export * from './AgentChatOverviewEntryUio';
12
+ export * from './AgentComputerUseConfigurationUio';
12
13
  export * from './AgentCreatorUio';
13
14
  export * from './AgentCreatorUserUio';
14
15
  export * from './AgentDuplicateRequestUio';
@@ -37,7 +38,6 @@ export * from './AgentModuleTypeUio';
37
38
  export * from './AgentModuleUio';
38
39
  export * from './AgentPatchEngineUio';
39
40
  export * from './AgentPatchUio';
40
- export * from './AgentPendingToolsConfigurationUio';
41
41
  export * from './AgentRefUio';
42
42
  export * from './AgentRequestUio';
43
43
  export * from './AgentRoleDetailsUio';
@@ -27,6 +27,7 @@ __exportStar(require("./AdvancedFlowEditorNodeUio"), exports);
27
27
  __exportStar(require("./AdvancedFlowEditorUio"), exports);
28
28
  __exportStar(require("./AdvancedFlowEditorUpdateRequestUio"), exports);
29
29
  __exportStar(require("./AgentChatOverviewEntryUio"), exports);
30
+ __exportStar(require("./AgentComputerUseConfigurationUio"), exports);
30
31
  __exportStar(require("./AgentCreatorUio"), exports);
31
32
  __exportStar(require("./AgentCreatorUserUio"), exports);
32
33
  __exportStar(require("./AgentDuplicateRequestUio"), exports);
@@ -55,7 +56,6 @@ __exportStar(require("./AgentModuleTypeUio"), exports);
55
56
  __exportStar(require("./AgentModuleUio"), exports);
56
57
  __exportStar(require("./AgentPatchEngineUio"), exports);
57
58
  __exportStar(require("./AgentPatchUio"), exports);
58
- __exportStar(require("./AgentPendingToolsConfigurationUio"), exports);
59
59
  __exportStar(require("./AgentRefUio"), exports);
60
60
  __exportStar(require("./AgentRequestUio"), exports);
61
61
  __exportStar(require("./AgentRoleDetailsUio"), exports);
package/dist/openapi.json CHANGED
@@ -14680,9 +14680,9 @@
14680
14680
  } ],
14681
14681
  "nullable" : true
14682
14682
  },
14683
- "pendingToolsConfiguration" : {
14683
+ "computerUseConfiguration" : {
14684
14684
  "allOf" : [ {
14685
- "$ref" : "#/components/schemas/AgentPendingToolsConfiguration"
14685
+ "$ref" : "#/components/schemas/AgentComputerUseConfiguration"
14686
14686
  } ],
14687
14687
  "nullable" : true
14688
14688
  },
@@ -14874,20 +14874,12 @@
14874
14874
  },
14875
14875
  "type" : "object"
14876
14876
  },
14877
- "AgentPendingToolsConfiguration" : {
14878
- "description" : "Per-agent activation of deferred tools: those that suspend the chat turn until a client answers. Opt-in, because an agent whose client never answers would hang its turns. A tool is available only when the general switch is on AND the tool is listed.",
14877
+ "AgentComputerUseConfiguration" : {
14878
+ "description" : "Per-agent activation of computer use: those that allow the agent to use the computer for various tasks. Opt-in.",
14879
14879
  "properties" : {
14880
14880
  "enabled" : {
14881
- "description" : "General switch for deferred tools on this agent.",
14881
+ "description" : "General switch for computer use on this agent.",
14882
14882
  "type" : "boolean"
14883
- },
14884
- "tools" : {
14885
- "description" : "Names of the allowed deferred tools, for instance take_screenshot. Listing tools here is what makes them available, so a new deferred tool needs no schema change.",
14886
- "items" : {
14887
- "type" : "string"
14888
- },
14889
- "maxItems" : 50,
14890
- "type" : "array"
14891
14883
  }
14892
14884
  },
14893
14885
  "type" : "object"
@@ -15064,9 +15056,9 @@
15064
15056
  } ],
15065
15057
  "nullable" : true
15066
15058
  },
15067
- "pendingToolsConfiguration" : {
15059
+ "computerUseConfiguration" : {
15068
15060
  "allOf" : [ {
15069
- "$ref" : "#/components/schemas/AgentPendingToolsConfiguration"
15061
+ "$ref" : "#/components/schemas/AgentComputerUseConfiguration"
15070
15062
  } ],
15071
15063
  "nullable" : true
15072
15064
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.135",
3
+ "version": "1.0.136",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -1,38 +0,0 @@
1
- /**
2
- * brain-client
3
- * Api ands models for brain-app and brain-app
4
- *
5
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Per-agent activation of deferred tools: those that suspend the chat turn until a client answers. Opt-in, because an agent whose client never answers would hang its turns. A tool is available only when the general switch is on AND the tool is listed.
14
- * @export
15
- * @interface AgentPendingToolsConfigurationUio
16
- */
17
- export interface AgentPendingToolsConfigurationUio {
18
- /**
19
- * General switch for deferred tools on this agent.
20
- * @type {boolean}
21
- * @memberof AgentPendingToolsConfigurationUio
22
- */
23
- enabled?: boolean;
24
- /**
25
- * Names of the allowed deferred tools, for instance take_screenshot. Listing tools here is what makes them available, so a new deferred tool needs no schema change.
26
- * @type {Array<string>}
27
- * @memberof AgentPendingToolsConfigurationUio
28
- */
29
- tools?: Array<string>;
30
- }
31
- /**
32
- * Check if a given object implements the AgentPendingToolsConfigurationUio interface.
33
- */
34
- export declare function instanceOfAgentPendingToolsConfigurationUio(value: object): value is AgentPendingToolsConfigurationUio;
35
- export declare function AgentPendingToolsConfigurationUioFromJSON(json: any): AgentPendingToolsConfigurationUio;
36
- export declare function AgentPendingToolsConfigurationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentPendingToolsConfigurationUio;
37
- export declare function AgentPendingToolsConfigurationUioToJSON(json: any): AgentPendingToolsConfigurationUio;
38
- export declare function AgentPendingToolsConfigurationUioToJSONTyped(value?: AgentPendingToolsConfigurationUio | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * brain-client
6
- * Api ands models for brain-app and brain-app
7
- *
8
- * The version of the OpenAPI document: 0.0.0-SNAPSHOT
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfAgentPendingToolsConfigurationUio = instanceOfAgentPendingToolsConfigurationUio;
17
- exports.AgentPendingToolsConfigurationUioFromJSON = AgentPendingToolsConfigurationUioFromJSON;
18
- exports.AgentPendingToolsConfigurationUioFromJSONTyped = AgentPendingToolsConfigurationUioFromJSONTyped;
19
- exports.AgentPendingToolsConfigurationUioToJSON = AgentPendingToolsConfigurationUioToJSON;
20
- exports.AgentPendingToolsConfigurationUioToJSONTyped = AgentPendingToolsConfigurationUioToJSONTyped;
21
- /**
22
- * Check if a given object implements the AgentPendingToolsConfigurationUio interface.
23
- */
24
- function instanceOfAgentPendingToolsConfigurationUio(value) {
25
- return true;
26
- }
27
- function AgentPendingToolsConfigurationUioFromJSON(json) {
28
- return AgentPendingToolsConfigurationUioFromJSONTyped(json, false);
29
- }
30
- function AgentPendingToolsConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'enabled': json['enabled'] == null ? undefined : json['enabled'],
36
- 'tools': json['tools'] == null ? undefined : json['tools'],
37
- };
38
- }
39
- function AgentPendingToolsConfigurationUioToJSON(json) {
40
- return AgentPendingToolsConfigurationUioToJSONTyped(json, false);
41
- }
42
- function AgentPendingToolsConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'enabled': value['enabled'],
48
- 'tools': value['tools'],
49
- };
50
- }