@breign/client 1.0.171 → 1.0.172
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/dist/apis/ExecutionNodesApi.d.ts +165 -0
- package/dist/apis/ExecutionNodesApi.js +399 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentExecutionNodeChoiceUio.d.ts +58 -0
- package/dist/models/AgentExecutionNodeChoiceUio.js +68 -0
- package/dist/models/AgentExecutionNodeUio.d.ts +50 -0
- package/dist/models/AgentExecutionNodeUio.js +62 -0
- package/dist/models/AgentExecutionUio.d.ts +80 -0
- package/dist/models/AgentExecutionUio.js +79 -0
- package/dist/models/ExecutionNodeAgentUio.d.ts +82 -0
- package/dist/models/ExecutionNodeAgentUio.js +86 -0
- package/dist/models/ExecutionNodeDetailUio.d.ts +111 -0
- package/dist/models/ExecutionNodeDetailUio.js +107 -0
- package/dist/models/ExecutionNodeRuntimeUio.d.ts +46 -0
- package/dist/models/ExecutionNodeRuntimeUio.js +60 -0
- package/dist/models/ExecutionNodeUio.d.ts +104 -0
- package/dist/models/ExecutionNodeUio.js +100 -0
- package/dist/models/ExecutionNodeWorkspaceUio.d.ts +38 -0
- package/dist/models/ExecutionNodeWorkspaceUio.js +54 -0
- package/dist/models/NodeSessionDetailUio.d.ts +133 -0
- package/dist/models/NodeSessionDetailUio.js +113 -0
- package/dist/models/NodeSessionLogEntryUio.d.ts +58 -0
- package/dist/models/NodeSessionLogEntryUio.js +70 -0
- package/dist/models/NodeSessionLogsUio.d.ts +51 -0
- package/dist/models/NodeSessionLogsUio.js +63 -0
- package/dist/models/NodeSessionMetricsUio.d.ts +74 -0
- package/dist/models/NodeSessionMetricsUio.js +62 -0
- package/dist/models/NodeSessionProgressUio.d.ts +44 -0
- package/dist/models/NodeSessionProgressUio.js +54 -0
- package/dist/models/NodeSessionStateUio.d.ts +29 -0
- package/dist/models/NodeSessionStateUio.js +55 -0
- package/dist/models/NodeSessionUio.d.ts +127 -0
- package/dist/models/NodeSessionUio.js +111 -0
- package/dist/models/NodeTurnCancelResultUio.d.ts +32 -0
- package/dist/models/NodeTurnCancelResultUio.js +50 -0
- package/dist/models/SetAgentExecutionRequestUio.d.ts +72 -0
- package/dist/models/SetAgentExecutionRequestUio.js +73 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/dist/openapi.json +5805 -4892
- package/package.json +1 -1
|
@@ -0,0 +1,127 @@
|
|
|
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
|
+
import type { NodeSessionMetricsUio } from './NodeSessionMetricsUio';
|
|
13
|
+
import type { NodeSessionStateUio } from './NodeSessionStateUio';
|
|
14
|
+
import type { NodeSessionProgressUio } from './NodeSessionProgressUio';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface NodeSessionUio
|
|
19
|
+
*/
|
|
20
|
+
export interface NodeSessionUio {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof NodeSessionUio
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof NodeSessionUio
|
|
31
|
+
*/
|
|
32
|
+
agentId: string;
|
|
33
|
+
/**
|
|
34
|
+
* Nom de l'agent, résolu par l'API ; null pour un agent supprimé.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof NodeSessionUio
|
|
37
|
+
*/
|
|
38
|
+
agentName: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof NodeSessionUio
|
|
43
|
+
*/
|
|
44
|
+
conversationId: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof NodeSessionUio
|
|
49
|
+
*/
|
|
50
|
+
responseMessageId?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof NodeSessionUio
|
|
55
|
+
*/
|
|
56
|
+
runtime: NodeSessionUioRuntimeEnum;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof NodeSessionUio
|
|
61
|
+
*/
|
|
62
|
+
workspaceAlias: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {NodeSessionStateUio}
|
|
66
|
+
* @memberof NodeSessionUio
|
|
67
|
+
*/
|
|
68
|
+
state: NodeSessionStateUio;
|
|
69
|
+
/**
|
|
70
|
+
* Motif d'un tour interrompu ou en échec : cancelled, host_restart, unpaired, runtime_missing, runtime_failed, workdir_refused, invalid_task, node_unreachable, lost_on_node…
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof NodeSessionUio
|
|
73
|
+
*/
|
|
74
|
+
reason: string | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {NodeSessionMetricsUio}
|
|
78
|
+
* @memberof NodeSessionUio
|
|
79
|
+
*/
|
|
80
|
+
metrics: NodeSessionMetricsUio | null;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {NodeSessionProgressUio}
|
|
84
|
+
* @memberof NodeSessionUio
|
|
85
|
+
*/
|
|
86
|
+
progress: NodeSessionProgressUio | null;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
* @memberof NodeSessionUio
|
|
91
|
+
*/
|
|
92
|
+
autoResumed?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof NodeSessionUio
|
|
97
|
+
*/
|
|
98
|
+
lastFrameAt?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof NodeSessionUio
|
|
103
|
+
*/
|
|
104
|
+
createdAt: string;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof NodeSessionUio
|
|
109
|
+
*/
|
|
110
|
+
updatedAt: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export declare const NodeSessionUioRuntimeEnum: {
|
|
116
|
+
readonly Claude: "claude";
|
|
117
|
+
readonly Opencode: "opencode";
|
|
118
|
+
};
|
|
119
|
+
export type NodeSessionUioRuntimeEnum = typeof NodeSessionUioRuntimeEnum[keyof typeof NodeSessionUioRuntimeEnum];
|
|
120
|
+
/**
|
|
121
|
+
* Check if a given object implements the NodeSessionUio interface.
|
|
122
|
+
*/
|
|
123
|
+
export declare function instanceOfNodeSessionUio(value: object): value is NodeSessionUio;
|
|
124
|
+
export declare function NodeSessionUioFromJSON(json: any): NodeSessionUio;
|
|
125
|
+
export declare function NodeSessionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionUio;
|
|
126
|
+
export declare function NodeSessionUioToJSON(json: any): NodeSessionUio;
|
|
127
|
+
export declare function NodeSessionUioToJSONTyped(value?: NodeSessionUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,111 @@
|
|
|
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.NodeSessionUioRuntimeEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeSessionUio = instanceOfNodeSessionUio;
|
|
18
|
+
exports.NodeSessionUioFromJSON = NodeSessionUioFromJSON;
|
|
19
|
+
exports.NodeSessionUioFromJSONTyped = NodeSessionUioFromJSONTyped;
|
|
20
|
+
exports.NodeSessionUioToJSON = NodeSessionUioToJSON;
|
|
21
|
+
exports.NodeSessionUioToJSONTyped = NodeSessionUioToJSONTyped;
|
|
22
|
+
const NodeSessionMetricsUio_1 = require("./NodeSessionMetricsUio");
|
|
23
|
+
const NodeSessionStateUio_1 = require("./NodeSessionStateUio");
|
|
24
|
+
const NodeSessionProgressUio_1 = require("./NodeSessionProgressUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.NodeSessionUioRuntimeEnum = {
|
|
29
|
+
Claude: 'claude',
|
|
30
|
+
Opencode: 'opencode'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the NodeSessionUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfNodeSessionUio(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('agentName' in value) || value['agentName'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('runtime' in value) || value['runtime'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('workspaceAlias' in value) || value['workspaceAlias'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('metrics' in value) || value['metrics'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
function NodeSessionUioFromJSON(json) {
|
|
63
|
+
return NodeSessionUioFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function NodeSessionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': json['id'],
|
|
71
|
+
'agentId': json['agentId'],
|
|
72
|
+
'agentName': json['agentName'],
|
|
73
|
+
'conversationId': json['conversationId'],
|
|
74
|
+
'responseMessageId': json['responseMessageId'] == null ? undefined : json['responseMessageId'],
|
|
75
|
+
'runtime': json['runtime'],
|
|
76
|
+
'workspaceAlias': json['workspaceAlias'],
|
|
77
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioFromJSON)(json['state']),
|
|
78
|
+
'reason': json['reason'],
|
|
79
|
+
'metrics': (0, NodeSessionMetricsUio_1.NodeSessionMetricsUioFromJSON)(json['metrics']),
|
|
80
|
+
'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioFromJSON)(json['progress']),
|
|
81
|
+
'autoResumed': json['autoResumed'] == null ? undefined : json['autoResumed'],
|
|
82
|
+
'lastFrameAt': json['lastFrameAt'] == null ? undefined : json['lastFrameAt'],
|
|
83
|
+
'createdAt': json['createdAt'],
|
|
84
|
+
'updatedAt': json['updatedAt'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function NodeSessionUioToJSON(json) {
|
|
88
|
+
return NodeSessionUioToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
function NodeSessionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
'id': value['id'],
|
|
96
|
+
'agentId': value['agentId'],
|
|
97
|
+
'agentName': value['agentName'],
|
|
98
|
+
'conversationId': value['conversationId'],
|
|
99
|
+
'responseMessageId': value['responseMessageId'],
|
|
100
|
+
'runtime': value['runtime'],
|
|
101
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
102
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioToJSON)(value['state']),
|
|
103
|
+
'reason': value['reason'],
|
|
104
|
+
'metrics': (0, NodeSessionMetricsUio_1.NodeSessionMetricsUioToJSON)(value['metrics']),
|
|
105
|
+
'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioToJSON)(value['progress']),
|
|
106
|
+
'autoResumed': value['autoResumed'],
|
|
107
|
+
'lastFrameAt': value['lastFrameAt'],
|
|
108
|
+
'createdAt': value['createdAt'],
|
|
109
|
+
'updatedAt': value['updatedAt'],
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NodeTurnCancelResultUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeTurnCancelResultUio {
|
|
18
|
+
/**
|
|
19
|
+
* Faux quand le message n'a pas de tour ouvert sur un nœud
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof NodeTurnCancelResultUio
|
|
22
|
+
*/
|
|
23
|
+
cancelled: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the NodeTurnCancelResultUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfNodeTurnCancelResultUio(value: object): value is NodeTurnCancelResultUio;
|
|
29
|
+
export declare function NodeTurnCancelResultUioFromJSON(json: any): NodeTurnCancelResultUio;
|
|
30
|
+
export declare function NodeTurnCancelResultUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeTurnCancelResultUio;
|
|
31
|
+
export declare function NodeTurnCancelResultUioToJSON(json: any): NodeTurnCancelResultUio;
|
|
32
|
+
export declare function NodeTurnCancelResultUioToJSONTyped(value?: NodeTurnCancelResultUio | 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.instanceOfNodeTurnCancelResultUio = instanceOfNodeTurnCancelResultUio;
|
|
17
|
+
exports.NodeTurnCancelResultUioFromJSON = NodeTurnCancelResultUioFromJSON;
|
|
18
|
+
exports.NodeTurnCancelResultUioFromJSONTyped = NodeTurnCancelResultUioFromJSONTyped;
|
|
19
|
+
exports.NodeTurnCancelResultUioToJSON = NodeTurnCancelResultUioToJSON;
|
|
20
|
+
exports.NodeTurnCancelResultUioToJSONTyped = NodeTurnCancelResultUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeTurnCancelResultUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeTurnCancelResultUio(value) {
|
|
25
|
+
if (!('cancelled' in value) || value['cancelled'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function NodeTurnCancelResultUioFromJSON(json) {
|
|
30
|
+
return NodeTurnCancelResultUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function NodeTurnCancelResultUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'cancelled': json['cancelled'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function NodeTurnCancelResultUioToJSON(json) {
|
|
41
|
+
return NodeTurnCancelResultUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function NodeTurnCancelResultUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'cancelled': value['cancelled'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
* `{ mode: server }` ramène l'agent sur le serveur Breign. `{ mode: node, … }` le fait tourner sur un nœud ; seul son propriétaire peut le choisir, sur un runtime et un alias déclarés.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SetAgentExecutionRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface SetAgentExecutionRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SetAgentExecutionRequestUio
|
|
22
|
+
*/
|
|
23
|
+
mode: SetAgentExecutionRequestUioModeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SetAgentExecutionRequestUio
|
|
28
|
+
*/
|
|
29
|
+
nodeId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SetAgentExecutionRequestUio
|
|
34
|
+
*/
|
|
35
|
+
runtime?: SetAgentExecutionRequestUioRuntimeEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SetAgentExecutionRequestUio
|
|
40
|
+
*/
|
|
41
|
+
workspaceAlias?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof SetAgentExecutionRequestUio
|
|
46
|
+
*/
|
|
47
|
+
autoResume?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const SetAgentExecutionRequestUioModeEnum: {
|
|
53
|
+
readonly Server: "server";
|
|
54
|
+
readonly Node: "node";
|
|
55
|
+
};
|
|
56
|
+
export type SetAgentExecutionRequestUioModeEnum = typeof SetAgentExecutionRequestUioModeEnum[keyof typeof SetAgentExecutionRequestUioModeEnum];
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const SetAgentExecutionRequestUioRuntimeEnum: {
|
|
61
|
+
readonly Claude: "claude";
|
|
62
|
+
readonly Opencode: "opencode";
|
|
63
|
+
};
|
|
64
|
+
export type SetAgentExecutionRequestUioRuntimeEnum = typeof SetAgentExecutionRequestUioRuntimeEnum[keyof typeof SetAgentExecutionRequestUioRuntimeEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the SetAgentExecutionRequestUio interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfSetAgentExecutionRequestUio(value: object): value is SetAgentExecutionRequestUio;
|
|
69
|
+
export declare function SetAgentExecutionRequestUioFromJSON(json: any): SetAgentExecutionRequestUio;
|
|
70
|
+
export declare function SetAgentExecutionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetAgentExecutionRequestUio;
|
|
71
|
+
export declare function SetAgentExecutionRequestUioToJSON(json: any): SetAgentExecutionRequestUio;
|
|
72
|
+
export declare function SetAgentExecutionRequestUioToJSONTyped(value?: SetAgentExecutionRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.SetAgentExecutionRequestUioRuntimeEnum = exports.SetAgentExecutionRequestUioModeEnum = void 0;
|
|
17
|
+
exports.instanceOfSetAgentExecutionRequestUio = instanceOfSetAgentExecutionRequestUio;
|
|
18
|
+
exports.SetAgentExecutionRequestUioFromJSON = SetAgentExecutionRequestUioFromJSON;
|
|
19
|
+
exports.SetAgentExecutionRequestUioFromJSONTyped = SetAgentExecutionRequestUioFromJSONTyped;
|
|
20
|
+
exports.SetAgentExecutionRequestUioToJSON = SetAgentExecutionRequestUioToJSON;
|
|
21
|
+
exports.SetAgentExecutionRequestUioToJSONTyped = SetAgentExecutionRequestUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SetAgentExecutionRequestUioModeEnum = {
|
|
26
|
+
Server: 'server',
|
|
27
|
+
Node: 'node'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
exports.SetAgentExecutionRequestUioRuntimeEnum = {
|
|
33
|
+
Claude: 'claude',
|
|
34
|
+
Opencode: 'opencode'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the SetAgentExecutionRequestUio interface.
|
|
38
|
+
*/
|
|
39
|
+
function instanceOfSetAgentExecutionRequestUio(value) {
|
|
40
|
+
if (!('mode' in value) || value['mode'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function SetAgentExecutionRequestUioFromJSON(json) {
|
|
45
|
+
return SetAgentExecutionRequestUioFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function SetAgentExecutionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'mode': json['mode'],
|
|
53
|
+
'nodeId': json['nodeId'] == null ? undefined : json['nodeId'],
|
|
54
|
+
'runtime': json['runtime'] == null ? undefined : json['runtime'],
|
|
55
|
+
'workspaceAlias': json['workspaceAlias'] == null ? undefined : json['workspaceAlias'],
|
|
56
|
+
'autoResume': json['autoResume'] == null ? undefined : json['autoResume'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function SetAgentExecutionRequestUioToJSON(json) {
|
|
60
|
+
return SetAgentExecutionRequestUioToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function SetAgentExecutionRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'mode': value['mode'],
|
|
68
|
+
'nodeId': value['nodeId'],
|
|
69
|
+
'runtime': value['runtime'],
|
|
70
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
71
|
+
'autoResume': value['autoResume'],
|
|
72
|
+
};
|
|
73
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -27,6 +27,9 @@ export * from './AgentComputerUseConfigurationUio';
|
|
|
27
27
|
export * from './AgentCreatorUio';
|
|
28
28
|
export * from './AgentCreatorUserUio';
|
|
29
29
|
export * from './AgentDuplicateRequestUio';
|
|
30
|
+
export * from './AgentExecutionNodeChoiceUio';
|
|
31
|
+
export * from './AgentExecutionNodeUio';
|
|
32
|
+
export * from './AgentExecutionUio';
|
|
30
33
|
export * from './AgentFeedbackMetricsUio';
|
|
31
34
|
export * from './AgentFlowCreateUio';
|
|
32
35
|
export * from './AgentFlowUio';
|
|
@@ -246,6 +249,11 @@ export * from './EntityTypeRuleUio';
|
|
|
246
249
|
export * from './EphemeralInstanceUio';
|
|
247
250
|
export * from './EphemeralInstancesMetricsResponseUio';
|
|
248
251
|
export * from './EphemeralInstancesTimeSeriesPointUio';
|
|
252
|
+
export * from './ExecutionNodeAgentUio';
|
|
253
|
+
export * from './ExecutionNodeDetailUio';
|
|
254
|
+
export * from './ExecutionNodeRuntimeUio';
|
|
255
|
+
export * from './ExecutionNodeUio';
|
|
256
|
+
export * from './ExecutionNodeWorkspaceUio';
|
|
249
257
|
export * from './FileAttachmentCreateRequestUio';
|
|
250
258
|
export * from './FileAttachmentDetailsResponseUio';
|
|
251
259
|
export * from './FileAttachmentProcessedOneOf1Uio';
|
|
@@ -393,6 +401,14 @@ export * from './ModelConsumptionItemUio';
|
|
|
393
401
|
export * from './ModelConsumptionSliceUio';
|
|
394
402
|
export * from './ModelDefinitionUio';
|
|
395
403
|
export * from './ModelUio';
|
|
404
|
+
export * from './NodeSessionDetailUio';
|
|
405
|
+
export * from './NodeSessionLogEntryUio';
|
|
406
|
+
export * from './NodeSessionLogsUio';
|
|
407
|
+
export * from './NodeSessionMetricsUio';
|
|
408
|
+
export * from './NodeSessionProgressUio';
|
|
409
|
+
export * from './NodeSessionStateUio';
|
|
410
|
+
export * from './NodeSessionUio';
|
|
411
|
+
export * from './NodeTurnCancelResultUio';
|
|
396
412
|
export * from './OcrModeUio';
|
|
397
413
|
export * from './OpenAiChatCompletionRequestStreamOptionsUio';
|
|
398
414
|
export * from './OpenAiChatCompletionRequestUio';
|
|
@@ -461,6 +477,7 @@ export * from './SearchKnowledgeBaseRequestUio';
|
|
|
461
477
|
export * from './SequenceContentsUio';
|
|
462
478
|
export * from './SequenceCreateRequestUio';
|
|
463
479
|
export * from './SequenceUio';
|
|
480
|
+
export * from './SetAgentExecutionRequestUio';
|
|
464
481
|
export * from './SetContextLocation400ResponseUio';
|
|
465
482
|
export * from './SetMessageReaction200ResponseUio';
|
|
466
483
|
export * from './SetMessageReactionRequestUio';
|
package/dist/models/index.js
CHANGED
|
@@ -45,6 +45,9 @@ __exportStar(require("./AgentComputerUseConfigurationUio"), exports);
|
|
|
45
45
|
__exportStar(require("./AgentCreatorUio"), exports);
|
|
46
46
|
__exportStar(require("./AgentCreatorUserUio"), exports);
|
|
47
47
|
__exportStar(require("./AgentDuplicateRequestUio"), exports);
|
|
48
|
+
__exportStar(require("./AgentExecutionNodeChoiceUio"), exports);
|
|
49
|
+
__exportStar(require("./AgentExecutionNodeUio"), exports);
|
|
50
|
+
__exportStar(require("./AgentExecutionUio"), exports);
|
|
48
51
|
__exportStar(require("./AgentFeedbackMetricsUio"), exports);
|
|
49
52
|
__exportStar(require("./AgentFlowCreateUio"), exports);
|
|
50
53
|
__exportStar(require("./AgentFlowUio"), exports);
|
|
@@ -264,6 +267,11 @@ __exportStar(require("./EntityTypeRuleUio"), exports);
|
|
|
264
267
|
__exportStar(require("./EphemeralInstanceUio"), exports);
|
|
265
268
|
__exportStar(require("./EphemeralInstancesMetricsResponseUio"), exports);
|
|
266
269
|
__exportStar(require("./EphemeralInstancesTimeSeriesPointUio"), exports);
|
|
270
|
+
__exportStar(require("./ExecutionNodeAgentUio"), exports);
|
|
271
|
+
__exportStar(require("./ExecutionNodeDetailUio"), exports);
|
|
272
|
+
__exportStar(require("./ExecutionNodeRuntimeUio"), exports);
|
|
273
|
+
__exportStar(require("./ExecutionNodeUio"), exports);
|
|
274
|
+
__exportStar(require("./ExecutionNodeWorkspaceUio"), exports);
|
|
267
275
|
__exportStar(require("./FileAttachmentCreateRequestUio"), exports);
|
|
268
276
|
__exportStar(require("./FileAttachmentDetailsResponseUio"), exports);
|
|
269
277
|
__exportStar(require("./FileAttachmentProcessedOneOf1Uio"), exports);
|
|
@@ -411,6 +419,14 @@ __exportStar(require("./ModelConsumptionItemUio"), exports);
|
|
|
411
419
|
__exportStar(require("./ModelConsumptionSliceUio"), exports);
|
|
412
420
|
__exportStar(require("./ModelDefinitionUio"), exports);
|
|
413
421
|
__exportStar(require("./ModelUio"), exports);
|
|
422
|
+
__exportStar(require("./NodeSessionDetailUio"), exports);
|
|
423
|
+
__exportStar(require("./NodeSessionLogEntryUio"), exports);
|
|
424
|
+
__exportStar(require("./NodeSessionLogsUio"), exports);
|
|
425
|
+
__exportStar(require("./NodeSessionMetricsUio"), exports);
|
|
426
|
+
__exportStar(require("./NodeSessionProgressUio"), exports);
|
|
427
|
+
__exportStar(require("./NodeSessionStateUio"), exports);
|
|
428
|
+
__exportStar(require("./NodeSessionUio"), exports);
|
|
429
|
+
__exportStar(require("./NodeTurnCancelResultUio"), exports);
|
|
414
430
|
__exportStar(require("./OcrModeUio"), exports);
|
|
415
431
|
__exportStar(require("./OpenAiChatCompletionRequestStreamOptionsUio"), exports);
|
|
416
432
|
__exportStar(require("./OpenAiChatCompletionRequestUio"), exports);
|
|
@@ -479,6 +495,7 @@ __exportStar(require("./SearchKnowledgeBaseRequestUio"), exports);
|
|
|
479
495
|
__exportStar(require("./SequenceContentsUio"), exports);
|
|
480
496
|
__exportStar(require("./SequenceCreateRequestUio"), exports);
|
|
481
497
|
__exportStar(require("./SequenceUio"), exports);
|
|
498
|
+
__exportStar(require("./SetAgentExecutionRequestUio"), exports);
|
|
482
499
|
__exportStar(require("./SetContextLocation400ResponseUio"), exports);
|
|
483
500
|
__exportStar(require("./SetMessageReaction200ResponseUio"), exports);
|
|
484
501
|
__exportStar(require("./SetMessageReactionRequestUio"), exports);
|