@breign/client 1.0.140 → 1.0.141

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,38 @@
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 agent-to-agent calls. Opt-in: the agent may question the agents listed in allowedAgentIds, and no other. An empty list keeps the tool out of its toolbox.
14
+ * @export
15
+ * @interface AgentCallConfigurationUio
16
+ */
17
+ export interface AgentCallConfigurationUio {
18
+ /**
19
+ * Enables the Agent_ask tool for this agent.
20
+ * @type {boolean}
21
+ * @memberof AgentCallConfigurationUio
22
+ */
23
+ enabled?: boolean;
24
+ /**
25
+ * Agents this agent is allowed to question. Same organisation only, enforced server-side.
26
+ * @type {Array<string>}
27
+ * @memberof AgentCallConfigurationUio
28
+ */
29
+ allowedAgentIds?: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the AgentCallConfigurationUio interface.
33
+ */
34
+ export declare function instanceOfAgentCallConfigurationUio(value: object): value is AgentCallConfigurationUio;
35
+ export declare function AgentCallConfigurationUioFromJSON(json: any): AgentCallConfigurationUio;
36
+ export declare function AgentCallConfigurationUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentCallConfigurationUio;
37
+ export declare function AgentCallConfigurationUioToJSON(json: any): AgentCallConfigurationUio;
38
+ export declare function AgentCallConfigurationUioToJSONTyped(value?: AgentCallConfigurationUio | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfAgentCallConfigurationUio = instanceOfAgentCallConfigurationUio;
17
+ exports.AgentCallConfigurationUioFromJSON = AgentCallConfigurationUioFromJSON;
18
+ exports.AgentCallConfigurationUioFromJSONTyped = AgentCallConfigurationUioFromJSONTyped;
19
+ exports.AgentCallConfigurationUioToJSON = AgentCallConfigurationUioToJSON;
20
+ exports.AgentCallConfigurationUioToJSONTyped = AgentCallConfigurationUioToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the AgentCallConfigurationUio interface.
23
+ */
24
+ function instanceOfAgentCallConfigurationUio(value) {
25
+ return true;
26
+ }
27
+ function AgentCallConfigurationUioFromJSON(json) {
28
+ return AgentCallConfigurationUioFromJSONTyped(json, false);
29
+ }
30
+ function AgentCallConfigurationUioFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
36
+ 'allowedAgentIds': json['allowedAgentIds'] == null ? undefined : json['allowedAgentIds'],
37
+ };
38
+ }
39
+ function AgentCallConfigurationUioToJSON(json) {
40
+ return AgentCallConfigurationUioToJSONTyped(json, false);
41
+ }
42
+ function AgentCallConfigurationUioToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'enabled': value['enabled'],
48
+ 'allowedAgentIds': value['allowedAgentIds'],
49
+ };
50
+ }
@@ -19,6 +19,7 @@ import type { AgentPatchEngineUio } from './AgentPatchEngineUio';
19
19
  import type { AgentSandboxConfigurationUio } from './AgentSandboxConfigurationUio';
20
20
  import type { AgentTypeUio } from './AgentTypeUio';
21
21
  import type { AgentComputerUseConfigurationUio } from './AgentComputerUseConfigurationUio';
22
+ import type { AgentCallConfigurationUio } from './AgentCallConfigurationUio';
22
23
  /**
23
24
  *
24
25
  * @export
@@ -185,6 +186,12 @@ export interface AgentPatchUio {
185
186
  * @memberof AgentPatchUio
186
187
  */
187
188
  computerUseConfiguration?: AgentComputerUseConfigurationUio | null;
189
+ /**
190
+ *
191
+ * @type {AgentCallConfigurationUio}
192
+ * @memberof AgentPatchUio
193
+ */
194
+ agentCallConfiguration?: AgentCallConfigurationUio | null;
188
195
  }
189
196
  /**
190
197
  * Check if a given object implements the AgentPatchUio interface.
@@ -28,6 +28,7 @@ const AgentPatchEngineUio_1 = require("./AgentPatchEngineUio");
28
28
  const AgentSandboxConfigurationUio_1 = require("./AgentSandboxConfigurationUio");
29
29
  const AgentTypeUio_1 = require("./AgentTypeUio");
30
30
  const AgentComputerUseConfigurationUio_1 = require("./AgentComputerUseConfigurationUio");
31
+ const AgentCallConfigurationUio_1 = require("./AgentCallConfigurationUio");
31
32
  /**
32
33
  * Check if a given object implements the AgentPatchUio interface.
33
34
  */
@@ -68,6 +69,7 @@ function AgentPatchUioFromJSONTyped(json, ignoreDiscriminator) {
68
69
  'speechToText': json['speechToText'] == null ? undefined : (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioFromJSON)(json['speechToText']),
69
70
  'sandboxConfiguration': json['sandboxConfiguration'] == null ? undefined : (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioFromJSON)(json['sandboxConfiguration']),
70
71
  'computerUseConfiguration': json['computerUseConfiguration'] == null ? undefined : (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioFromJSON)(json['computerUseConfiguration']),
72
+ 'agentCallConfiguration': json['agentCallConfiguration'] == null ? undefined : (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioFromJSON)(json['agentCallConfiguration']),
71
73
  };
72
74
  }
73
75
  function AgentPatchUioToJSON(json) {
@@ -104,5 +106,6 @@ function AgentPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
104
106
  'speechToText': (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioToJSON)(value['speechToText']),
105
107
  'sandboxConfiguration': (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioToJSON)(value['sandboxConfiguration']),
106
108
  'computerUseConfiguration': (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioToJSON)(value['computerUseConfiguration']),
109
+ 'agentCallConfiguration': (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioToJSON)(value['agentCallConfiguration']),
107
110
  };
108
111
  }
@@ -22,6 +22,7 @@ import type { SpeechToTextConfigUio } from './SpeechToTextConfigUio';
22
22
  import type { AgentMemoryConfigurationUio } from './AgentMemoryConfigurationUio';
23
23
  import type { AgentTypeUio } from './AgentTypeUio';
24
24
  import type { AgentComputerUseConfigurationUio } from './AgentComputerUseConfigurationUio';
25
+ import type { AgentCallConfigurationUio } from './AgentCallConfigurationUio';
25
26
  /**
26
27
  *
27
28
  * @export
@@ -206,6 +207,12 @@ export interface AgentUio {
206
207
  * @memberof AgentUio
207
208
  */
208
209
  computerUseConfiguration?: AgentComputerUseConfigurationUio | null;
210
+ /**
211
+ *
212
+ * @type {AgentCallConfigurationUio}
213
+ * @memberof AgentUio
214
+ */
215
+ agentCallConfiguration?: AgentCallConfigurationUio | null;
209
216
  /**
210
217
  *
211
218
  * @type {AgentCreatorUio}
@@ -32,6 +32,7 @@ const SpeechToTextConfigUio_1 = require("./SpeechToTextConfigUio");
32
32
  const AgentMemoryConfigurationUio_1 = require("./AgentMemoryConfigurationUio");
33
33
  const AgentTypeUio_1 = require("./AgentTypeUio");
34
34
  const AgentComputerUseConfigurationUio_1 = require("./AgentComputerUseConfigurationUio");
35
+ const AgentCallConfigurationUio_1 = require("./AgentCallConfigurationUio");
35
36
  /**
36
37
  * @export
37
38
  */
@@ -101,6 +102,7 @@ function AgentUioFromJSONTyped(json, ignoreDiscriminator) {
101
102
  'speechToText': json['speechToText'] == null ? undefined : (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioFromJSON)(json['speechToText']),
102
103
  'sandboxConfiguration': json['sandboxConfiguration'] == null ? undefined : (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioFromJSON)(json['sandboxConfiguration']),
103
104
  'computerUseConfiguration': json['computerUseConfiguration'] == null ? undefined : (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioFromJSON)(json['computerUseConfiguration']),
105
+ 'agentCallConfiguration': json['agentCallConfiguration'] == null ? undefined : (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioFromJSON)(json['agentCallConfiguration']),
104
106
  'creator': json['creator'] == null ? undefined : (0, AgentCreatorUio_1.AgentCreatorUioFromJSON)(json['creator']),
105
107
  'engineSource': json['engineSource'] == null ? undefined : json['engineSource'],
106
108
  'providerSource': json['providerSource'] == null ? undefined : json['providerSource'],
@@ -144,6 +146,7 @@ function AgentUioToJSONTyped(value, ignoreDiscriminator = false) {
144
146
  'speechToText': (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioToJSON)(value['speechToText']),
145
147
  'sandboxConfiguration': (0, AgentSandboxConfigurationUio_1.AgentSandboxConfigurationUioToJSON)(value['sandboxConfiguration']),
146
148
  'computerUseConfiguration': (0, AgentComputerUseConfigurationUio_1.AgentComputerUseConfigurationUioToJSON)(value['computerUseConfiguration']),
149
+ 'agentCallConfiguration': (0, AgentCallConfigurationUio_1.AgentCallConfigurationUioToJSON)(value['agentCallConfiguration']),
147
150
  'creator': (0, AgentCreatorUio_1.AgentCreatorUioToJSON)(value['creator']),
148
151
  'engineSource': value['engineSource'],
149
152
  'providerSource': value['providerSource'],
@@ -10,6 +10,7 @@ export * from './AdvancedFlowEditorUio';
10
10
  export * from './AdvancedFlowEditorUpdateRequestUio';
11
11
  export * from './AgentBundleDiffUio';
12
12
  export * from './AgentBundleListDiffUio';
13
+ export * from './AgentCallConfigurationUio';
13
14
  export * from './AgentChatOverviewEntryUio';
14
15
  export * from './AgentComputerUseConfigurationUio';
15
16
  export * from './AgentCreatorUio';
@@ -28,6 +28,7 @@ __exportStar(require("./AdvancedFlowEditorUio"), exports);
28
28
  __exportStar(require("./AdvancedFlowEditorUpdateRequestUio"), exports);
29
29
  __exportStar(require("./AgentBundleDiffUio"), exports);
30
30
  __exportStar(require("./AgentBundleListDiffUio"), exports);
31
+ __exportStar(require("./AgentCallConfigurationUio"), exports);
31
32
  __exportStar(require("./AgentChatOverviewEntryUio"), exports);
32
33
  __exportStar(require("./AgentComputerUseConfigurationUio"), exports);
33
34
  __exportStar(require("./AgentCreatorUio"), exports);
package/dist/openapi.json CHANGED
@@ -15580,6 +15580,12 @@
15580
15580
  } ],
15581
15581
  "nullable" : true
15582
15582
  },
15583
+ "agentCallConfiguration" : {
15584
+ "allOf" : [ {
15585
+ "$ref" : "#/components/schemas/AgentCallConfiguration"
15586
+ } ],
15587
+ "nullable" : true
15588
+ },
15583
15589
  "creator" : {
15584
15590
  "$ref" : "#/components/schemas/Agent_creator"
15585
15591
  },
@@ -15779,6 +15785,24 @@
15779
15785
  },
15780
15786
  "type" : "object"
15781
15787
  },
15788
+ "AgentCallConfiguration" : {
15789
+ "description" : "Per-agent activation of agent-to-agent calls. Opt-in: the agent may question the agents listed in allowedAgentIds, and no other. An empty list keeps the tool out of its toolbox.",
15790
+ "properties" : {
15791
+ "enabled" : {
15792
+ "description" : "Enables the Agent_ask tool for this agent.",
15793
+ "type" : "boolean"
15794
+ },
15795
+ "allowedAgentIds" : {
15796
+ "description" : "Agents this agent is allowed to question. Same organisation only, enforced server-side.",
15797
+ "items" : {
15798
+ "type" : "string"
15799
+ },
15800
+ "maxItems" : 20,
15801
+ "type" : "array"
15802
+ }
15803
+ },
15804
+ "type" : "object"
15805
+ },
15782
15806
  "AgentTool" : {
15783
15807
  "properties" : {
15784
15808
  "id" : {
@@ -15956,6 +15980,12 @@
15956
15980
  "$ref" : "#/components/schemas/AgentComputerUseConfiguration"
15957
15981
  } ],
15958
15982
  "nullable" : true
15983
+ },
15984
+ "agentCallConfiguration" : {
15985
+ "allOf" : [ {
15986
+ "$ref" : "#/components/schemas/AgentCallConfiguration"
15987
+ } ],
15988
+ "nullable" : true
15959
15989
  }
15960
15990
  },
15961
15991
  "type" : "object"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/client",
3
- "version": "1.0.140",
3
+ "version": "1.0.141",
4
4
  "main": "dist/index.js",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",