@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,113 @@
|
|
|
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.NodeSessionDetailUioRuntimeEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeSessionDetailUio = instanceOfNodeSessionDetailUio;
|
|
18
|
+
exports.NodeSessionDetailUioFromJSON = NodeSessionDetailUioFromJSON;
|
|
19
|
+
exports.NodeSessionDetailUioFromJSONTyped = NodeSessionDetailUioFromJSONTyped;
|
|
20
|
+
exports.NodeSessionDetailUioToJSON = NodeSessionDetailUioToJSON;
|
|
21
|
+
exports.NodeSessionDetailUioToJSONTyped = NodeSessionDetailUioToJSONTyped;
|
|
22
|
+
const NodeSessionMetricsUio_1 = require("./NodeSessionMetricsUio");
|
|
23
|
+
const NodeSessionStateUio_1 = require("./NodeSessionStateUio");
|
|
24
|
+
const NodeSessionProgressUio_1 = require("./NodeSessionProgressUio");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.NodeSessionDetailUioRuntimeEnum = {
|
|
29
|
+
Claude: 'claude',
|
|
30
|
+
Opencode: 'opencode'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the NodeSessionDetailUio interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfNodeSessionDetailUio(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 NodeSessionDetailUioFromJSON(json) {
|
|
63
|
+
return NodeSessionDetailUioFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function NodeSessionDetailUioFromJSONTyped(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
|
+
'resultText': json['resultText'] == null ? undefined : json['resultText'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function NodeSessionDetailUioToJSON(json) {
|
|
89
|
+
return NodeSessionDetailUioToJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
function NodeSessionDetailUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
'id': value['id'],
|
|
97
|
+
'agentId': value['agentId'],
|
|
98
|
+
'agentName': value['agentName'],
|
|
99
|
+
'conversationId': value['conversationId'],
|
|
100
|
+
'responseMessageId': value['responseMessageId'],
|
|
101
|
+
'runtime': value['runtime'],
|
|
102
|
+
'workspaceAlias': value['workspaceAlias'],
|
|
103
|
+
'state': (0, NodeSessionStateUio_1.NodeSessionStateUioToJSON)(value['state']),
|
|
104
|
+
'reason': value['reason'],
|
|
105
|
+
'metrics': (0, NodeSessionMetricsUio_1.NodeSessionMetricsUioToJSON)(value['metrics']),
|
|
106
|
+
'progress': (0, NodeSessionProgressUio_1.NodeSessionProgressUioToJSON)(value['progress']),
|
|
107
|
+
'autoResumed': value['autoResumed'],
|
|
108
|
+
'lastFrameAt': value['lastFrameAt'],
|
|
109
|
+
'createdAt': value['createdAt'],
|
|
110
|
+
'updatedAt': value['updatedAt'],
|
|
111
|
+
'resultText': value['resultText'],
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 NodeSessionLogEntryUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeSessionLogEntryUio {
|
|
18
|
+
/**
|
|
19
|
+
* Numéro de la trame qui portait la ligne
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NodeSessionLogEntryUio
|
|
22
|
+
*/
|
|
23
|
+
seq: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeSessionLogEntryUio
|
|
28
|
+
*/
|
|
29
|
+
stream: NodeSessionLogEntryUioStreamEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof NodeSessionLogEntryUio
|
|
34
|
+
*/
|
|
35
|
+
line: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NodeSessionLogEntryUio
|
|
40
|
+
*/
|
|
41
|
+
at: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const NodeSessionLogEntryUioStreamEnum: {
|
|
47
|
+
readonly Stdout: "stdout";
|
|
48
|
+
readonly Stderr: "stderr";
|
|
49
|
+
};
|
|
50
|
+
export type NodeSessionLogEntryUioStreamEnum = typeof NodeSessionLogEntryUioStreamEnum[keyof typeof NodeSessionLogEntryUioStreamEnum];
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the NodeSessionLogEntryUio interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfNodeSessionLogEntryUio(value: object): value is NodeSessionLogEntryUio;
|
|
55
|
+
export declare function NodeSessionLogEntryUioFromJSON(json: any): NodeSessionLogEntryUio;
|
|
56
|
+
export declare function NodeSessionLogEntryUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionLogEntryUio;
|
|
57
|
+
export declare function NodeSessionLogEntryUioToJSON(json: any): NodeSessionLogEntryUio;
|
|
58
|
+
export declare function NodeSessionLogEntryUioToJSONTyped(value?: NodeSessionLogEntryUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.NodeSessionLogEntryUioStreamEnum = void 0;
|
|
17
|
+
exports.instanceOfNodeSessionLogEntryUio = instanceOfNodeSessionLogEntryUio;
|
|
18
|
+
exports.NodeSessionLogEntryUioFromJSON = NodeSessionLogEntryUioFromJSON;
|
|
19
|
+
exports.NodeSessionLogEntryUioFromJSONTyped = NodeSessionLogEntryUioFromJSONTyped;
|
|
20
|
+
exports.NodeSessionLogEntryUioToJSON = NodeSessionLogEntryUioToJSON;
|
|
21
|
+
exports.NodeSessionLogEntryUioToJSONTyped = NodeSessionLogEntryUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.NodeSessionLogEntryUioStreamEnum = {
|
|
26
|
+
Stdout: 'stdout',
|
|
27
|
+
Stderr: 'stderr'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the NodeSessionLogEntryUio interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfNodeSessionLogEntryUio(value) {
|
|
33
|
+
if (!('seq' in value) || value['seq'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('stream' in value) || value['stream'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('line' in value) || value['line'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('at' in value) || value['at'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function NodeSessionLogEntryUioFromJSON(json) {
|
|
44
|
+
return NodeSessionLogEntryUioFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function NodeSessionLogEntryUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'seq': json['seq'],
|
|
52
|
+
'stream': json['stream'],
|
|
53
|
+
'line': json['line'],
|
|
54
|
+
'at': json['at'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function NodeSessionLogEntryUioToJSON(json) {
|
|
58
|
+
return NodeSessionLogEntryUioToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function NodeSessionLogEntryUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'seq': value['seq'],
|
|
66
|
+
'stream': value['stream'],
|
|
67
|
+
'line': value['line'],
|
|
68
|
+
'at': value['at'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { NodeSessionLogEntryUio } from './NodeSessionLogEntryUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface NodeSessionLogsUio
|
|
17
|
+
*/
|
|
18
|
+
export interface NodeSessionLogsUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<NodeSessionLogEntryUio>}
|
|
22
|
+
* @memberof NodeSessionLogsUio
|
|
23
|
+
*/
|
|
24
|
+
entries: Array<NodeSessionLogEntryUio>;
|
|
25
|
+
/**
|
|
26
|
+
* Lignes perdues par le spool plein du poste, sur ces lots
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof NodeSessionLogsUio
|
|
29
|
+
*/
|
|
30
|
+
dropped: number;
|
|
31
|
+
/**
|
|
32
|
+
* Curseur de la page suivante
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof NodeSessionLogsUio
|
|
35
|
+
*/
|
|
36
|
+
nextAfterSeq: number;
|
|
37
|
+
/**
|
|
38
|
+
* Page pleine — d'autres lots suivent, à lire tout de suite avec nextAfterSeq
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof NodeSessionLogsUio
|
|
41
|
+
*/
|
|
42
|
+
hasMore: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the NodeSessionLogsUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfNodeSessionLogsUio(value: object): value is NodeSessionLogsUio;
|
|
48
|
+
export declare function NodeSessionLogsUioFromJSON(json: any): NodeSessionLogsUio;
|
|
49
|
+
export declare function NodeSessionLogsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionLogsUio;
|
|
50
|
+
export declare function NodeSessionLogsUioToJSON(json: any): NodeSessionLogsUio;
|
|
51
|
+
export declare function NodeSessionLogsUioToJSONTyped(value?: NodeSessionLogsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfNodeSessionLogsUio = instanceOfNodeSessionLogsUio;
|
|
17
|
+
exports.NodeSessionLogsUioFromJSON = NodeSessionLogsUioFromJSON;
|
|
18
|
+
exports.NodeSessionLogsUioFromJSONTyped = NodeSessionLogsUioFromJSONTyped;
|
|
19
|
+
exports.NodeSessionLogsUioToJSON = NodeSessionLogsUioToJSON;
|
|
20
|
+
exports.NodeSessionLogsUioToJSONTyped = NodeSessionLogsUioToJSONTyped;
|
|
21
|
+
const NodeSessionLogEntryUio_1 = require("./NodeSessionLogEntryUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the NodeSessionLogsUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfNodeSessionLogsUio(value) {
|
|
26
|
+
if (!('entries' in value) || value['entries'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('dropped' in value) || value['dropped'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('nextAfterSeq' in value) || value['nextAfterSeq'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('hasMore' in value) || value['hasMore'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function NodeSessionLogsUioFromJSON(json) {
|
|
37
|
+
return NodeSessionLogsUioFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function NodeSessionLogsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'entries': (json['entries'].map(NodeSessionLogEntryUio_1.NodeSessionLogEntryUioFromJSON)),
|
|
45
|
+
'dropped': json['dropped'],
|
|
46
|
+
'nextAfterSeq': json['nextAfterSeq'],
|
|
47
|
+
'hasMore': json['hasMore'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function NodeSessionLogsUioToJSON(json) {
|
|
51
|
+
return NodeSessionLogsUioToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function NodeSessionLogsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'entries': (value['entries'].map(NodeSessionLogEntryUio_1.NodeSessionLogEntryUioToJSON)),
|
|
59
|
+
'dropped': value['dropped'],
|
|
60
|
+
'nextAfterSeq': value['nextAfterSeq'],
|
|
61
|
+
'hasMore': value['hasMore'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 NodeSessionMetricsUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeSessionMetricsUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof NodeSessionMetricsUio
|
|
22
|
+
*/
|
|
23
|
+
durationMs?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NodeSessionMetricsUio
|
|
28
|
+
*/
|
|
29
|
+
model?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeSessionMetricsUio
|
|
34
|
+
*/
|
|
35
|
+
inputTokens?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof NodeSessionMetricsUio
|
|
40
|
+
*/
|
|
41
|
+
outputTokens?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof NodeSessionMetricsUio
|
|
46
|
+
*/
|
|
47
|
+
cacheReadTokens?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof NodeSessionMetricsUio
|
|
52
|
+
*/
|
|
53
|
+
cacheWriteTokens?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof NodeSessionMetricsUio
|
|
58
|
+
*/
|
|
59
|
+
reasoningTokens?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof NodeSessionMetricsUio
|
|
64
|
+
*/
|
|
65
|
+
filesChanged?: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the NodeSessionMetricsUio interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfNodeSessionMetricsUio(value: object): value is NodeSessionMetricsUio;
|
|
71
|
+
export declare function NodeSessionMetricsUioFromJSON(json: any): NodeSessionMetricsUio;
|
|
72
|
+
export declare function NodeSessionMetricsUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionMetricsUio;
|
|
73
|
+
export declare function NodeSessionMetricsUioToJSON(json: any): NodeSessionMetricsUio;
|
|
74
|
+
export declare function NodeSessionMetricsUioToJSONTyped(value?: NodeSessionMetricsUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfNodeSessionMetricsUio = instanceOfNodeSessionMetricsUio;
|
|
17
|
+
exports.NodeSessionMetricsUioFromJSON = NodeSessionMetricsUioFromJSON;
|
|
18
|
+
exports.NodeSessionMetricsUioFromJSONTyped = NodeSessionMetricsUioFromJSONTyped;
|
|
19
|
+
exports.NodeSessionMetricsUioToJSON = NodeSessionMetricsUioToJSON;
|
|
20
|
+
exports.NodeSessionMetricsUioToJSONTyped = NodeSessionMetricsUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeSessionMetricsUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeSessionMetricsUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function NodeSessionMetricsUioFromJSON(json) {
|
|
28
|
+
return NodeSessionMetricsUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function NodeSessionMetricsUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'durationMs': json['durationMs'] == null ? undefined : json['durationMs'],
|
|
36
|
+
'model': json['model'] == null ? undefined : json['model'],
|
|
37
|
+
'inputTokens': json['inputTokens'] == null ? undefined : json['inputTokens'],
|
|
38
|
+
'outputTokens': json['outputTokens'] == null ? undefined : json['outputTokens'],
|
|
39
|
+
'cacheReadTokens': json['cacheReadTokens'] == null ? undefined : json['cacheReadTokens'],
|
|
40
|
+
'cacheWriteTokens': json['cacheWriteTokens'] == null ? undefined : json['cacheWriteTokens'],
|
|
41
|
+
'reasoningTokens': json['reasoningTokens'] == null ? undefined : json['reasoningTokens'],
|
|
42
|
+
'filesChanged': json['filesChanged'] == null ? undefined : json['filesChanged'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function NodeSessionMetricsUioToJSON(json) {
|
|
46
|
+
return NodeSessionMetricsUioToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function NodeSessionMetricsUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'durationMs': value['durationMs'],
|
|
54
|
+
'model': value['model'],
|
|
55
|
+
'inputTokens': value['inputTokens'],
|
|
56
|
+
'outputTokens': value['outputTokens'],
|
|
57
|
+
'cacheReadTokens': value['cacheReadTokens'],
|
|
58
|
+
'cacheWriteTokens': value['cacheWriteTokens'],
|
|
59
|
+
'reasoningTokens': value['reasoningTokens'],
|
|
60
|
+
'filesChanged': value['filesChanged'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 NodeSessionProgressUio
|
|
16
|
+
*/
|
|
17
|
+
export interface NodeSessionProgressUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NodeSessionProgressUio
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof NodeSessionProgressUio
|
|
28
|
+
*/
|
|
29
|
+
step?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof NodeSessionProgressUio
|
|
34
|
+
*/
|
|
35
|
+
total?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the NodeSessionProgressUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfNodeSessionProgressUio(value: object): value is NodeSessionProgressUio;
|
|
41
|
+
export declare function NodeSessionProgressUioFromJSON(json: any): NodeSessionProgressUio;
|
|
42
|
+
export declare function NodeSessionProgressUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionProgressUio;
|
|
43
|
+
export declare function NodeSessionProgressUioToJSON(json: any): NodeSessionProgressUio;
|
|
44
|
+
export declare function NodeSessionProgressUioToJSONTyped(value?: NodeSessionProgressUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfNodeSessionProgressUio = instanceOfNodeSessionProgressUio;
|
|
17
|
+
exports.NodeSessionProgressUioFromJSON = NodeSessionProgressUioFromJSON;
|
|
18
|
+
exports.NodeSessionProgressUioFromJSONTyped = NodeSessionProgressUioFromJSONTyped;
|
|
19
|
+
exports.NodeSessionProgressUioToJSON = NodeSessionProgressUioToJSON;
|
|
20
|
+
exports.NodeSessionProgressUioToJSONTyped = NodeSessionProgressUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NodeSessionProgressUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNodeSessionProgressUio(value) {
|
|
25
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function NodeSessionProgressUioFromJSON(json) {
|
|
30
|
+
return NodeSessionProgressUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function NodeSessionProgressUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'label': json['label'],
|
|
38
|
+
'step': json['step'] == null ? undefined : json['step'],
|
|
39
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function NodeSessionProgressUioToJSON(json) {
|
|
43
|
+
return NodeSessionProgressUioToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function NodeSessionProgressUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'label': value['label'],
|
|
51
|
+
'step': value['step'],
|
|
52
|
+
'total': value['total'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
* `dispatching` : écrit pour le nœud, pas encore acquitté. Les autres suivent le nœud.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const NodeSessionStateUio: {
|
|
17
|
+
readonly Dispatching: "dispatching";
|
|
18
|
+
readonly Queued: "queued";
|
|
19
|
+
readonly Running: "running";
|
|
20
|
+
readonly Interrupted: "interrupted";
|
|
21
|
+
readonly Finished: "finished";
|
|
22
|
+
readonly Failed: "failed";
|
|
23
|
+
};
|
|
24
|
+
export type NodeSessionStateUio = typeof NodeSessionStateUio[keyof typeof NodeSessionStateUio];
|
|
25
|
+
export declare function instanceOfNodeSessionStateUio(value: any): boolean;
|
|
26
|
+
export declare function NodeSessionStateUioFromJSON(json: any): NodeSessionStateUio;
|
|
27
|
+
export declare function NodeSessionStateUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): NodeSessionStateUio;
|
|
28
|
+
export declare function NodeSessionStateUioToJSON(value?: NodeSessionStateUio | null): any;
|
|
29
|
+
export declare function NodeSessionStateUioToJSONTyped(value: any, ignoreDiscriminator: boolean): NodeSessionStateUio;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.NodeSessionStateUio = void 0;
|
|
17
|
+
exports.instanceOfNodeSessionStateUio = instanceOfNodeSessionStateUio;
|
|
18
|
+
exports.NodeSessionStateUioFromJSON = NodeSessionStateUioFromJSON;
|
|
19
|
+
exports.NodeSessionStateUioFromJSONTyped = NodeSessionStateUioFromJSONTyped;
|
|
20
|
+
exports.NodeSessionStateUioToJSON = NodeSessionStateUioToJSON;
|
|
21
|
+
exports.NodeSessionStateUioToJSONTyped = NodeSessionStateUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* `dispatching` : écrit pour le nœud, pas encore acquitté. Les autres suivent le nœud.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.NodeSessionStateUio = {
|
|
27
|
+
Dispatching: 'dispatching',
|
|
28
|
+
Queued: 'queued',
|
|
29
|
+
Running: 'running',
|
|
30
|
+
Interrupted: 'interrupted',
|
|
31
|
+
Finished: 'finished',
|
|
32
|
+
Failed: 'failed'
|
|
33
|
+
};
|
|
34
|
+
function instanceOfNodeSessionStateUio(value) {
|
|
35
|
+
for (const key in exports.NodeSessionStateUio) {
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(exports.NodeSessionStateUio, key)) {
|
|
37
|
+
if (exports.NodeSessionStateUio[key] === value) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
function NodeSessionStateUioFromJSON(json) {
|
|
45
|
+
return NodeSessionStateUioFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function NodeSessionStateUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
function NodeSessionStateUioToJSON(value) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
function NodeSessionStateUioToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|