@stack-spot/portal-network 0.197.0 → 0.197.1-beta.1
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/CHANGELOG.md +123 -0
- package/dist/api/agent-tools.d.ts +139 -148
- package/dist/api/agent-tools.d.ts.map +1 -1
- package/dist/api/agent-tools.js +41 -4
- package/dist/api/agent-tools.js.map +1 -1
- package/dist/api/agent.d.ts +55 -55
- package/dist/api/agent.d.ts.map +1 -1
- package/dist/api/ai.d.ts +288 -19
- package/dist/api/ai.d.ts.map +1 -1
- package/dist/api/ai.js +196 -11
- package/dist/api/ai.js.map +1 -1
- package/dist/api/cloudPlatformHorizon.d.ts +178 -9
- package/dist/api/cloudPlatformHorizon.d.ts.map +1 -1
- package/dist/api/cloudPlatformHorizon.js +69 -1
- package/dist/api/cloudPlatformHorizon.js.map +1 -1
- package/dist/api/codeShift.d.ts +316 -32
- package/dist/api/codeShift.d.ts.map +1 -1
- package/dist/api/codeShift.js +172 -8
- package/dist/api/codeShift.js.map +1 -1
- package/dist/api/dataIntegration.d.ts +291 -1
- package/dist/api/dataIntegration.d.ts.map +1 -1
- package/dist/api/dataIntegration.js +254 -0
- package/dist/api/dataIntegration.js.map +1 -1
- package/dist/api/discover.d.ts +95 -12
- package/dist/api/discover.d.ts.map +1 -1
- package/dist/api/discover.js +78 -2
- package/dist/api/discover.js.map +1 -1
- package/dist/api-addresses.d.ts.map +1 -1
- package/dist/client/account.d.ts +233 -233
- package/dist/client/account.d.ts.map +1 -1
- package/dist/client/agent-tools.d.ts +159 -126
- package/dist/client/agent-tools.d.ts.map +1 -1
- package/dist/client/agent-tools.js +35 -4
- package/dist/client/agent-tools.js.map +1 -1
- package/dist/client/agent.d.ts +46 -46
- package/dist/client/agent.d.ts.map +1 -1
- package/dist/client/ai.d.ts +226 -108
- package/dist/client/ai.d.ts.map +1 -1
- package/dist/client/ai.js +92 -2
- package/dist/client/ai.js.map +1 -1
- package/dist/client/api-management.d.ts +2 -2
- package/dist/client/cloud-account.d.ts +13 -13
- package/dist/client/cloud-platform-horizon.d.ts +38 -19
- package/dist/client/cloud-platform-horizon.d.ts.map +1 -1
- package/dist/client/cloud-platform-horizon.js +19 -1
- package/dist/client/cloud-platform-horizon.js.map +1 -1
- package/dist/client/cloud-platform.d.ts +50 -50
- package/dist/client/cloud-runtimes.d.ts +4 -4
- package/dist/client/cloud-services.d.ts +17 -17
- package/dist/client/cloud-services.d.ts.map +1 -1
- package/dist/client/code-shift.d.ts +332 -265
- package/dist/client/code-shift.d.ts.map +1 -1
- package/dist/client/code-shift.js +55 -1
- package/dist/client/code-shift.js.map +1 -1
- package/dist/client/content.d.ts +127 -132
- package/dist/client/content.d.ts.map +1 -1
- package/dist/client/data-integration.d.ts +85 -55
- package/dist/client/data-integration.d.ts.map +1 -1
- package/dist/client/data-integration.js +22 -2
- package/dist/client/data-integration.js.map +1 -1
- package/dist/client/discover.d.ts +29 -9
- package/dist/client/discover.d.ts.map +1 -1
- package/dist/client/discover.js +236 -1
- package/dist/client/discover.js.map +1 -1
- package/dist/client/event-bus.d.ts.map +1 -1
- package/dist/client/gen-ai-inference.d.ts +20 -20
- package/dist/client/insights.d.ts +7 -7
- package/dist/client/notification.d.ts +10 -10
- package/dist/client/runtime-manager.d.ts +8 -8
- package/dist/client/secrets.d.ts.map +1 -1
- package/dist/client/secrets.js +1 -1
- package/dist/client/secrets.js.map +1 -1
- package/dist/client/types.d.ts +14 -0
- package/dist/client/types.d.ts.map +1 -1
- package/dist/client/workflow.d.ts +10 -10
- package/dist/client/workspace-ai.d.ts +53 -53
- package/dist/client/workspace-manager.d.ts +77 -77
- package/dist/client/workspace-search.d.ts +2 -2
- package/dist/client/workspace.d.ts +58 -105
- package/dist/client/workspace.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.d.ts +6 -0
- package/dist/error/dictionary/cloud-platform.d.ts.map +1 -1
- package/dist/error/dictionary/cloud-platform.js +6 -0
- package/dist/error/dictionary/cloud-platform.js.map +1 -1
- package/dist/utils/StreamedJson.d.ts.map +1 -1
- package/dist/utils/StreamedJson.js +9 -1
- package/dist/utils/StreamedJson.js.map +1 -1
- package/package.json +2 -2
- package/src/api/agent-tools.ts +186 -150
- package/src/api/ai.ts +521 -24
- package/src/api/cloudPlatformHorizon.ts +412 -9
- package/src/api/codeShift.ts +631 -37
- package/src/api/dataIntegration.ts +635 -1
- package/src/api/discover.ts +180 -14
- package/src/client/agent-tools.ts +26 -4
- package/src/client/ai.ts +74 -10
- package/src/client/cloud-platform-horizon.ts +12 -4
- package/src/client/code-shift.ts +35 -1
- package/src/client/data-integration.ts +15 -1
- package/src/client/discover.ts +233 -3
- package/src/client/secrets.ts +1 -1
- package/src/client/types.ts +17 -2
- package/src/error/dictionary/cloud-platform.ts +6 -0
- package/src/utils/StreamedJson.tsx +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,128 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.197.1-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.197.0-beta.1...portal-network-beta@v0.197.1-beta.1) (2025-12-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* rating beta ([#1873](https://github.com/stack-spot/portal-commons/issues/1873)) ([a6bb8d9](https://github.com/stack-spot/portal-commons/commit/a6bb8d97ffd0c6169d0c0dc1aed92980771aa1d7))
|
|
9
|
+
|
|
10
|
+
## [0.197.0-beta.1](https://github.com/stack-spot/portal-commons/compare/portal-network-beta@v0.196.0-beta.1...portal-network-beta@v0.197.0-beta.1) (2025-12-09)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* 3332 insights ([#1862](https://github.com/stack-spot/portal-commons/issues/1862)) ([9b3aa7c](https://github.com/stack-spot/portal-commons/commit/9b3aa7ca4c5dcbe72cce060b8ade2645e9d23659))
|
|
16
|
+
* python 'feat-3101-python-script' into beta-release ([21bf3ec](https://github.com/stack-spot/portal-commons/commit/21bf3ecf405c13108ca0470d738beb0ceb086e74))
|
|
17
|
+
* tools mcp ([#1858](https://github.com/stack-spot/portal-commons/issues/1858)) ([40d2bfe](https://github.com/stack-spot/portal-commons/commit/40d2bfe0fcea283e8cbb3cff8fc59ebd9f03f281))
|
|
18
|
+
* Upd agent tools ([#1845](https://github.com/stack-spot/portal-commons/issues/1845)) ([5a74800](https://github.com/stack-spot/portal-commons/commit/5a74800f85be09dd713934f46c7286d22167520a))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* adjusts paginated ([#1860](https://github.com/stack-spot/portal-commons/issues/1860)) ([0bb24c7](https://github.com/stack-spot/portal-commons/commit/0bb24c7cea9b3a77e13d43506f80b161aaa3a5dc))
|
|
24
|
+
* remove qc script ([#1867](https://github.com/stack-spot/portal-commons/issues/1867)) ([612e4de](https://github.com/stack-spot/portal-commons/commit/612e4dea7bd1f11e1fc8ec951cfa4ad7676d4921))
|
|
25
|
+
* Update code shift swagger ([#1865](https://github.com/stack-spot/portal-commons/issues/1865)) ([45e706d](https://github.com/stack-spot/portal-commons/commit/45e706d7d6559a44c9a170145a8525f8047872de))
|
|
26
|
+
|
|
27
|
+
## [0.204.2](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.204.1...portal-network@v0.204.2) (2025-12-08)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* remove qc script ([#1867](https://github.com/stack-spot/portal-commons/issues/1867)) ([612e4de](https://github.com/stack-spot/portal-commons/commit/612e4dea7bd1f11e1fc8ec951cfa4ad7676d4921))
|
|
33
|
+
|
|
34
|
+
## [0.204.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.204.0...portal-network@v0.204.1) (2025-12-08)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* Update code shift swagger ([#1865](https://github.com/stack-spot/portal-commons/issues/1865)) ([45e706d](https://github.com/stack-spot/portal-commons/commit/45e706d7d6559a44c9a170145a8525f8047872de))
|
|
40
|
+
|
|
41
|
+
## [0.204.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.203.0...portal-network@v0.204.0) (2025-12-05)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Features
|
|
45
|
+
|
|
46
|
+
* Upd agent tools ([#1845](https://github.com/stack-spot/portal-commons/issues/1845)) ([5a74800](https://github.com/stack-spot/portal-commons/commit/5a74800f85be09dd713934f46c7286d22167520a))
|
|
47
|
+
|
|
48
|
+
## [0.203.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.202.1...portal-network@v0.203.0) (2025-12-04)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Features
|
|
52
|
+
|
|
53
|
+
* 3332 insights ([#1862](https://github.com/stack-spot/portal-commons/issues/1862)) ([9b3aa7c](https://github.com/stack-spot/portal-commons/commit/9b3aa7ca4c5dcbe72cce060b8ade2645e9d23659))
|
|
54
|
+
|
|
55
|
+
## [0.202.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.202.0...portal-network@v0.202.1) (2025-12-04)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
* adjusts paginated ([#1860](https://github.com/stack-spot/portal-commons/issues/1860)) ([0bb24c7](https://github.com/stack-spot/portal-commons/commit/0bb24c7cea9b3a77e13d43506f80b161aaa3a5dc))
|
|
61
|
+
|
|
62
|
+
## [0.202.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.201.0...portal-network@v0.202.0) (2025-12-03)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Features
|
|
66
|
+
|
|
67
|
+
* tools mcp ([#1858](https://github.com/stack-spot/portal-commons/issues/1858)) ([40d2bfe](https://github.com/stack-spot/portal-commons/commit/40d2bfe0fcea283e8cbb3cff8fc59ebd9f03f281))
|
|
68
|
+
|
|
69
|
+
## [0.201.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.200.0...portal-network@v0.201.0) (2025-12-01)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Features
|
|
73
|
+
|
|
74
|
+
* 3101 python script ([#1840](https://github.com/stack-spot/portal-commons/issues/1840)) ([545a6cb](https://github.com/stack-spot/portal-commons/commit/545a6cb58df36dfde482966a40a00076fc68c4cf))
|
|
75
|
+
|
|
76
|
+
## [0.200.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.199.0...portal-network@v0.200.0) (2025-11-28)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Features
|
|
80
|
+
|
|
81
|
+
* add new request in cloud platform horizon ([#1824](https://github.com/stack-spot/portal-commons/issues/1824)) ([8ac12ca](https://github.com/stack-spot/portal-commons/commit/8ac12ca4aadc72d76e35b89458e98a43390894e8))
|
|
82
|
+
|
|
83
|
+
## [0.199.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.4...portal-network@v0.199.0) (2025-11-25)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
* Adds analytics modules execution times queries ([#1821](https://github.com/stack-spot/portal-commons/issues/1821)) ([56c568d](https://github.com/stack-spot/portal-commons/commit/56c568d1a8d2c18ab8dbfd1f5881e78ec893f733))
|
|
89
|
+
* Adds module docs API support ([#1809](https://github.com/stack-spot/portal-commons/issues/1809)) ([f8238d6](https://github.com/stack-spot/portal-commons/commit/f8238d6c772118d95f2f5436b4957d97c4113a08))
|
|
90
|
+
|
|
91
|
+
## [0.198.4](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.3...portal-network@v0.198.4) (2025-11-24)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
### Bug Fixes
|
|
95
|
+
|
|
96
|
+
* agents v3 ([#1817](https://github.com/stack-spot/portal-commons/issues/1817)) ([3202548](https://github.com/stack-spot/portal-commons/commit/3202548501b50e3ebb06490ea03dc0de62540775))
|
|
97
|
+
|
|
98
|
+
## [0.198.3](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.2...portal-network@v0.198.3) (2025-11-24)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Bug Fixes
|
|
102
|
+
|
|
103
|
+
* Add memory option ([#1816](https://github.com/stack-spot/portal-commons/issues/1816)) ([487cbca](https://github.com/stack-spot/portal-commons/commit/487cbcad5fa5be53450c011f78e21f9959ded3a3))
|
|
104
|
+
|
|
105
|
+
## [0.198.2](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.1...portal-network@v0.198.2) (2025-11-12)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### Bug Fixes
|
|
109
|
+
|
|
110
|
+
* add new message error in cloud platform ([#1791](https://github.com/stack-spot/portal-commons/issues/1791)) ([aa9ecf2](https://github.com/stack-spot/portal-commons/commit/aa9ecf207b58b70dfb9d335dfda4fa1cbf27a938))
|
|
111
|
+
|
|
112
|
+
## [0.198.1](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.198.0...portal-network@v0.198.1) (2025-11-11)
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
### Bug Fixes
|
|
116
|
+
|
|
117
|
+
* add type for resources in adp chat ([#1789](https://github.com/stack-spot/portal-commons/issues/1789)) ([9967d20](https://github.com/stack-spot/portal-commons/commit/9967d207a264bb7d412f66745ae82ed1a7533c41))
|
|
118
|
+
|
|
119
|
+
## [0.198.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.197.0...portal-network@v0.198.0) (2025-11-10)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Features
|
|
123
|
+
|
|
124
|
+
* add sendChatMessage in discover ([#1785](https://github.com/stack-spot/portal-commons/issues/1785)) ([22a5994](https://github.com/stack-spot/portal-commons/commit/22a5994aff7cb9d2f766b5566dd9d86bdeae7590))
|
|
125
|
+
|
|
3
126
|
## [0.197.0](https://github.com/stack-spot/portal-commons/compare/portal-network@v0.196.0...portal-network@v0.197.0) (2025-11-10)
|
|
4
127
|
|
|
5
128
|
|
|
@@ -28,6 +28,7 @@ export type HttpValidationError = {
|
|
|
28
28
|
detail?: ValidationError[];
|
|
29
29
|
};
|
|
30
30
|
export type VisibilityLevelEnum = "account" | "personal" | "shared" | "workspace" | "favorite";
|
|
31
|
+
export type ToolkitType = "mcp" | "web_request";
|
|
31
32
|
export type CustomToolkitSimpleResponse = {
|
|
32
33
|
id: string;
|
|
33
34
|
name: string;
|
|
@@ -35,6 +36,7 @@ export type CustomToolkitSimpleResponse = {
|
|
|
35
36
|
avatar?: string | null;
|
|
36
37
|
visibility_level: VisibilityLevelEnum;
|
|
37
38
|
creator_name: string | null;
|
|
39
|
+
toolkit_type?: ToolkitType | null;
|
|
38
40
|
};
|
|
39
41
|
export type ToolkitRequest = {
|
|
40
42
|
/** Toolkit name (up to 150 characters, required) */
|
|
@@ -46,6 +48,20 @@ export type ToolkitRequest = {
|
|
|
46
48
|
/** Visibility level (default 'PERSONAL') */
|
|
47
49
|
visibility_level?: VisibilityLevelEnum;
|
|
48
50
|
};
|
|
51
|
+
export type ToolkitMcpRequest = {
|
|
52
|
+
/** Toolkit name (up to 150 characters, required) */
|
|
53
|
+
name: string;
|
|
54
|
+
/** Toolkit description (up to 1024 characters, optional) */
|
|
55
|
+
description?: string | null;
|
|
56
|
+
/** Toolkit avatar (text base64, optional) */
|
|
57
|
+
avatar?: string | null;
|
|
58
|
+
/** Visibility level (default 'PERSONAL') */
|
|
59
|
+
visibility_level?: VisibilityLevelEnum;
|
|
60
|
+
url: string;
|
|
61
|
+
toolkit_type: ToolkitType;
|
|
62
|
+
/** List of secret IDs (optional) */
|
|
63
|
+
secrets?: string[] | null;
|
|
64
|
+
};
|
|
49
65
|
export type CreatedResponse = {
|
|
50
66
|
id: string;
|
|
51
67
|
};
|
|
@@ -71,10 +87,12 @@ export type CustomToolkitResponse = {
|
|
|
71
87
|
avatar?: string | null;
|
|
72
88
|
visibility_level: VisibilityLevelEnum;
|
|
73
89
|
creator_name: string | null;
|
|
90
|
+
toolkit_type?: ToolkitType | null;
|
|
74
91
|
tools: CustomToolkitToolResponse[];
|
|
75
92
|
secret_id?: string | null;
|
|
76
93
|
secrets?: string[] | null;
|
|
77
94
|
is_usable_by_others: boolean;
|
|
95
|
+
url?: string | null;
|
|
78
96
|
};
|
|
79
97
|
export type ToolkitUpdateRequest = {
|
|
80
98
|
/** Toolkit name (up to 150 characters, optional) */
|
|
@@ -90,6 +108,22 @@ export type ToolkitUpdateRequest = {
|
|
|
90
108
|
/** List of secret IDs (optional) */
|
|
91
109
|
secrets?: string[] | null;
|
|
92
110
|
};
|
|
111
|
+
export type ToolkitMcpUpdateRequest = {
|
|
112
|
+
/** Toolkit name (up to 150 characters, optional) */
|
|
113
|
+
name?: string | null;
|
|
114
|
+
/** Toolkit description (up to 1024 characters, optional) */
|
|
115
|
+
description?: string | null;
|
|
116
|
+
/** Toolkit avatar (text base64, optional) */
|
|
117
|
+
avatar?: string | null;
|
|
118
|
+
/** Visibility level (optional) */
|
|
119
|
+
visibility_level?: VisibilityLevelEnum | null;
|
|
120
|
+
/** IAM secret ID (optional) */
|
|
121
|
+
secret_id?: string | null;
|
|
122
|
+
/** List of secret IDs (optional) */
|
|
123
|
+
secrets?: string[] | null;
|
|
124
|
+
/** MCP Server URL */
|
|
125
|
+
url?: string | null;
|
|
126
|
+
};
|
|
93
127
|
export type ToolkitForkRequest = {
|
|
94
128
|
/** Toolkit name (up to 150 characters, required) */
|
|
95
129
|
name: string;
|
|
@@ -99,148 +133,7 @@ export type ToolkitForkRequest = {
|
|
|
99
133
|
avatar?: string | null;
|
|
100
134
|
};
|
|
101
135
|
export type HttpMethod = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
102
|
-
export type
|
|
103
|
-
$ref: string;
|
|
104
|
-
summary?: string | null;
|
|
105
|
-
description?: string | null;
|
|
106
|
-
[key: string]: any;
|
|
107
|
-
};
|
|
108
|
-
export type DataType = "null" | "string" | "number" | "integer" | "boolean" | "array" | "object";
|
|
109
|
-
export type Discriminator = {
|
|
110
|
-
propertyName: string;
|
|
111
|
-
mapping?: {
|
|
112
|
-
[key: string]: string;
|
|
113
|
-
} | null;
|
|
114
|
-
[key: string]: any;
|
|
115
|
-
};
|
|
116
|
-
export type Xml = {
|
|
117
|
-
name?: string | null;
|
|
118
|
-
"namespace"?: string | null;
|
|
119
|
-
prefix?: string | null;
|
|
120
|
-
attribute?: boolean;
|
|
121
|
-
wrapped?: boolean;
|
|
122
|
-
[key: string]: any;
|
|
123
|
-
};
|
|
124
|
-
export type ExternalDocumentation = {
|
|
125
|
-
description?: string | null;
|
|
126
|
-
url: string;
|
|
127
|
-
[key: string]: any;
|
|
128
|
-
};
|
|
129
|
-
export type Schema = {
|
|
130
|
-
allOf?: (Reference | Schema)[] | null;
|
|
131
|
-
anyOf?: (Reference | Schema)[] | null;
|
|
132
|
-
oneOf?: (Reference | Schema)[] | null;
|
|
133
|
-
not?: Reference | Schema | null;
|
|
134
|
-
"if"?: Reference | Schema | null;
|
|
135
|
-
then?: Reference | Schema | null;
|
|
136
|
-
"else"?: Reference | Schema | null;
|
|
137
|
-
dependentSchemas?: {
|
|
138
|
-
[key: string]: Reference | Schema;
|
|
139
|
-
} | null;
|
|
140
|
-
prefixItems?: (Reference | Schema)[] | null;
|
|
141
|
-
items?: Reference | Schema | null;
|
|
142
|
-
contains?: Reference | Schema | null;
|
|
143
|
-
properties?: {
|
|
144
|
-
[key: string]: Reference | Schema;
|
|
145
|
-
} | null;
|
|
146
|
-
patternProperties?: {
|
|
147
|
-
[key: string]: Reference | Schema;
|
|
148
|
-
} | null;
|
|
149
|
-
additionalProperties?: Reference | Schema | boolean | null;
|
|
150
|
-
propertyNames?: Reference | Schema | null;
|
|
151
|
-
unevaluatedItems?: Reference | Schema | null;
|
|
152
|
-
unevaluatedProperties?: Reference | Schema | null;
|
|
153
|
-
"type"?: DataType | DataType[] | null;
|
|
154
|
-
"enum"?: any[] | null;
|
|
155
|
-
"const"?: any | null;
|
|
156
|
-
multipleOf?: number | null;
|
|
157
|
-
maximum?: number | null;
|
|
158
|
-
exclusiveMaximum?: number | null;
|
|
159
|
-
minimum?: number | null;
|
|
160
|
-
exclusiveMinimum?: number | null;
|
|
161
|
-
maxLength?: number | null;
|
|
162
|
-
minLength?: number | null;
|
|
163
|
-
pattern?: string | null;
|
|
164
|
-
maxItems?: number | null;
|
|
165
|
-
minItems?: number | null;
|
|
166
|
-
uniqueItems?: boolean | null;
|
|
167
|
-
maxContains?: number | null;
|
|
168
|
-
minContains?: number | null;
|
|
169
|
-
maxProperties?: number | null;
|
|
170
|
-
minProperties?: number | null;
|
|
171
|
-
required?: string[] | null;
|
|
172
|
-
dependentRequired?: {
|
|
173
|
-
[key: string]: string[];
|
|
174
|
-
} | null;
|
|
175
|
-
format?: string | null;
|
|
176
|
-
contentEncoding?: string | null;
|
|
177
|
-
contentMediaType?: string | null;
|
|
178
|
-
contentSchema?: Reference | Schema | null;
|
|
179
|
-
title?: string | null;
|
|
180
|
-
description?: string | null;
|
|
181
|
-
"default"?: any | null;
|
|
182
|
-
deprecated?: boolean | null;
|
|
183
|
-
readOnly?: boolean | null;
|
|
184
|
-
writeOnly?: boolean | null;
|
|
185
|
-
discriminator?: Discriminator | null;
|
|
186
|
-
xml?: Xml | null;
|
|
187
|
-
externalDocs?: ExternalDocumentation | null;
|
|
188
|
-
[key: string]: any;
|
|
189
|
-
};
|
|
190
|
-
export type Header = {
|
|
191
|
-
description?: string | null;
|
|
192
|
-
required?: boolean;
|
|
193
|
-
deprecated?: boolean;
|
|
194
|
-
style?: string | null;
|
|
195
|
-
explode?: boolean | null;
|
|
196
|
-
schema?: Reference | Schema | null;
|
|
197
|
-
content?: {
|
|
198
|
-
[key: string]: MediaType;
|
|
199
|
-
} | null;
|
|
200
|
-
[key: string]: any;
|
|
201
|
-
};
|
|
202
|
-
export type Encoding = {
|
|
203
|
-
contentType?: string | null;
|
|
204
|
-
headers?: {
|
|
205
|
-
[key: string]: Header | Reference;
|
|
206
|
-
} | null;
|
|
207
|
-
style?: string | null;
|
|
208
|
-
explode?: boolean | null;
|
|
209
|
-
allowReserved?: boolean;
|
|
210
|
-
[key: string]: any;
|
|
211
|
-
};
|
|
212
|
-
export type MediaType = {
|
|
213
|
-
schema?: Reference | Schema | null;
|
|
214
|
-
encoding?: {
|
|
215
|
-
[key: string]: Encoding;
|
|
216
|
-
} | null;
|
|
217
|
-
[key: string]: any;
|
|
218
|
-
};
|
|
219
|
-
export type ParameterLocation = "query" | "header" | "path" | "cookie";
|
|
220
|
-
export type Parameter = {
|
|
221
|
-
description?: string | null;
|
|
222
|
-
required?: boolean;
|
|
223
|
-
deprecated?: boolean;
|
|
224
|
-
style?: string | null;
|
|
225
|
-
explode?: boolean | null;
|
|
226
|
-
schema?: Reference | Schema | null;
|
|
227
|
-
content?: {
|
|
228
|
-
[key: string]: MediaType;
|
|
229
|
-
} | null;
|
|
230
|
-
name: string;
|
|
231
|
-
"in": ParameterLocation;
|
|
232
|
-
allowEmptyValue?: boolean;
|
|
233
|
-
allowReserved?: boolean;
|
|
234
|
-
[key: string]: any;
|
|
235
|
-
};
|
|
236
|
-
export type RequestBody = {
|
|
237
|
-
description?: string | null;
|
|
238
|
-
content: {
|
|
239
|
-
[key: string]: MediaType;
|
|
240
|
-
};
|
|
241
|
-
required?: boolean;
|
|
242
|
-
[key: string]: any;
|
|
243
|
-
};
|
|
136
|
+
export type JsonValue = any;
|
|
244
137
|
export type CustomToolRequest = {
|
|
245
138
|
/** Tool name (up to 256 characters, required) */
|
|
246
139
|
name: string;
|
|
@@ -251,9 +144,9 @@ export type CustomToolRequest = {
|
|
|
251
144
|
/** Endpoint URL (required, must use https schema) */
|
|
252
145
|
url: string;
|
|
253
146
|
/** Dict of parameters (optional) */
|
|
254
|
-
parameters?:
|
|
147
|
+
parameters?: JsonValue[] | null;
|
|
255
148
|
/** Dict of request body (optional) */
|
|
256
|
-
request_body?:
|
|
149
|
+
request_body?: JsonValue | null;
|
|
257
150
|
/** Response transformation (optional) */
|
|
258
151
|
response_transformation?: string | null;
|
|
259
152
|
};
|
|
@@ -285,10 +178,23 @@ export type AssignToolsToAgentRequest = {
|
|
|
285
178
|
builtin_tool_ids?: string[] | null;
|
|
286
179
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
287
180
|
sub_agents_ids?: string[] | null;
|
|
181
|
+
mcp_toolkit_ids?: string[] | null;
|
|
182
|
+
};
|
|
183
|
+
export type ToolkitMcpResponse = {
|
|
184
|
+
id?: string | null;
|
|
185
|
+
name?: string | null;
|
|
186
|
+
description?: string | null;
|
|
187
|
+
avatar?: string | null;
|
|
188
|
+
visibility_level?: string | null;
|
|
189
|
+
secret_id?: string | null;
|
|
190
|
+
secrets?: string[] | null;
|
|
191
|
+
url?: string | null;
|
|
192
|
+
toolkit_type?: ToolkitType | null;
|
|
288
193
|
};
|
|
289
194
|
export type AgentToolsResponse = {
|
|
290
195
|
builtin_toolkits?: BuiltinToolkitResponse[];
|
|
291
196
|
custom_toolkits?: CustomToolkitResponse[];
|
|
197
|
+
mcp_toolkits?: ToolkitMcpResponse[];
|
|
292
198
|
};
|
|
293
199
|
export type SchemaEnum = "OPENAI";
|
|
294
200
|
export type FunctionParameter = {
|
|
@@ -318,6 +224,8 @@ export type Function = {
|
|
|
318
224
|
strict: boolean;
|
|
319
225
|
};
|
|
320
226
|
export type OpenAiTool = {
|
|
227
|
+
/** Unique identifier for the tool */
|
|
228
|
+
id?: string | null;
|
|
321
229
|
/** The type of the tool; must be 'function' */
|
|
322
230
|
"type": "function";
|
|
323
231
|
/** The function associated with this tool */
|
|
@@ -365,6 +273,7 @@ export type KnowledgeSourcesConfigRequest = {
|
|
|
365
273
|
sealed?: boolean | null;
|
|
366
274
|
};
|
|
367
275
|
export type AgentMode = "autonomous" | "plan_approval" | "plan_and_critical_approval";
|
|
276
|
+
export type AgentMemory = "vector" | "buffer";
|
|
368
277
|
export type NewAgentRequest = {
|
|
369
278
|
/** LLM model name */
|
|
370
279
|
model_name?: string | null;
|
|
@@ -388,6 +297,7 @@ export type NewAgentRequest = {
|
|
|
388
297
|
builtin_tools_ids?: string[];
|
|
389
298
|
/** Custom tools to assign to the agent */
|
|
390
299
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
300
|
+
mcp_toolkit_ids?: string[] | null;
|
|
391
301
|
sub_agents_ids?: string[] | null;
|
|
392
302
|
detail_mode?: boolean;
|
|
393
303
|
structured_output?: string | null;
|
|
@@ -396,6 +306,8 @@ export type NewAgentRequest = {
|
|
|
396
306
|
} | null;
|
|
397
307
|
/** Agent mode */
|
|
398
308
|
mode?: AgentMode;
|
|
309
|
+
/** Agent memory */
|
|
310
|
+
memory?: AgentMemory;
|
|
399
311
|
/** Available models for this particular agent */
|
|
400
312
|
available_models_ids?: string[];
|
|
401
313
|
};
|
|
@@ -507,10 +419,30 @@ export type CustomToolkitDto = {
|
|
|
507
419
|
visibility_level: VisibilityLevelEnum;
|
|
508
420
|
creator_name: string;
|
|
509
421
|
is_usable_by_others: boolean;
|
|
422
|
+
url: string | null;
|
|
423
|
+
toolkit_type: ToolkitType | null;
|
|
424
|
+
};
|
|
425
|
+
export type SecretScope = "ACCOUNT" | "SCOPED" | "SPOT" | "USER" | "UNKNOWN";
|
|
426
|
+
export type SecretDto = {
|
|
427
|
+
id: string;
|
|
428
|
+
scope?: SecretScope | null;
|
|
429
|
+
};
|
|
430
|
+
export type ToolkitMcpdto = {
|
|
431
|
+
secrets: SecretDto[] | null;
|
|
432
|
+
name: string;
|
|
433
|
+
description?: string | null;
|
|
434
|
+
avatar?: string | null;
|
|
435
|
+
visibility_level?: VisibilityLevelEnum;
|
|
436
|
+
id?: string | null;
|
|
437
|
+
url?: string | null;
|
|
438
|
+
tools?: any[] | null;
|
|
439
|
+
/** Toolkit type */
|
|
440
|
+
toolkit_type?: ToolkitType | null;
|
|
510
441
|
};
|
|
511
442
|
export type AgentToolsDto = {
|
|
512
443
|
builtin_toolkits?: BuiltinToolkitDto[];
|
|
513
444
|
custom_toolkits?: CustomToolkitDto[];
|
|
445
|
+
mcp_toolkits?: ToolkitMcpdto[];
|
|
514
446
|
};
|
|
515
447
|
export type LlmSettingsModel = {
|
|
516
448
|
property_key?: string | null;
|
|
@@ -554,6 +486,7 @@ export type AgentModel = {
|
|
|
554
486
|
updated_by?: string | null;
|
|
555
487
|
updated_at?: string | null;
|
|
556
488
|
available_llm_models?: AgentLlmModelDto[];
|
|
489
|
+
memory?: AgentMemory;
|
|
557
490
|
};
|
|
558
491
|
export type UpdateAgentRequest = {
|
|
559
492
|
use_only?: boolean | null;
|
|
@@ -580,6 +513,7 @@ export type UpdateAgentRequest = {
|
|
|
580
513
|
sub_agents_ids?: string[];
|
|
581
514
|
/** Custom tools to assign to the agent */
|
|
582
515
|
custom_tools?: AssignCustomToolsAgentRequest[] | null;
|
|
516
|
+
mcp_toolkit_ids?: string[] | null;
|
|
583
517
|
detail_mode?: boolean | null;
|
|
584
518
|
structured_output?: string | null;
|
|
585
519
|
llm_settings?: {
|
|
@@ -589,6 +523,8 @@ export type UpdateAgentRequest = {
|
|
|
589
523
|
mode?: AgentMode | null;
|
|
590
524
|
/** Available models for this particular agent */
|
|
591
525
|
available_models_ids?: string[];
|
|
526
|
+
/** Agent memory */
|
|
527
|
+
memory?: AgentMemory;
|
|
592
528
|
};
|
|
593
529
|
export type ForkAgentRequest = {
|
|
594
530
|
/** Agent slug to fork */
|
|
@@ -675,6 +611,34 @@ export type ToolkitForkResponse = {
|
|
|
675
611
|
/** List of toolkit IDs that failed to fork */
|
|
676
612
|
error_ids: string[];
|
|
677
613
|
};
|
|
614
|
+
export type PaginatedResponseCustomToolkitSimpleResponse = {
|
|
615
|
+
total_pages: number;
|
|
616
|
+
items: CustomToolkitSimpleResponse[];
|
|
617
|
+
};
|
|
618
|
+
export type ParametersModel = {
|
|
619
|
+
properties: {
|
|
620
|
+
[key: string]: {
|
|
621
|
+
[key: string]: any;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
required?: string[] | null;
|
|
625
|
+
"type": string;
|
|
626
|
+
additionalProperties: boolean;
|
|
627
|
+
};
|
|
628
|
+
export type FunctionModel = {
|
|
629
|
+
name: string;
|
|
630
|
+
description: string;
|
|
631
|
+
parameters: ParametersModel;
|
|
632
|
+
strict?: boolean;
|
|
633
|
+
};
|
|
634
|
+
export type FunctionItem = {
|
|
635
|
+
"type": string;
|
|
636
|
+
"function": FunctionModel;
|
|
637
|
+
};
|
|
638
|
+
export type FunctionsResponse = {
|
|
639
|
+
last_update: string;
|
|
640
|
+
tools: FunctionItem[];
|
|
641
|
+
};
|
|
678
642
|
/**
|
|
679
643
|
* Health Check
|
|
680
644
|
*/
|
|
@@ -711,13 +675,13 @@ export declare function listToolkitsV1ToolkitsGet({ visibility, xAccountId, xUse
|
|
|
711
675
|
/**
|
|
712
676
|
* Create Toolkit
|
|
713
677
|
*/
|
|
714
|
-
export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
678
|
+
export declare function createToolkitV1ToolkitsPost({ xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
|
|
715
679
|
xAccountId?: string | null;
|
|
716
680
|
xUsername?: string | null;
|
|
717
681
|
xUserId?: string | null;
|
|
718
682
|
xUserFullName?: string | null;
|
|
719
683
|
authorization: string;
|
|
720
|
-
|
|
684
|
+
body: ToolkitRequest | ToolkitMcpRequest;
|
|
721
685
|
}, opts?: Oazapfts.RequestOpts): Promise<CreatedResponse>;
|
|
722
686
|
/**
|
|
723
687
|
* Get Toolkit
|
|
@@ -733,14 +697,14 @@ export declare function getToolkitV1ToolkitsToolkitIdGet({ toolkitId, xAccountId
|
|
|
733
697
|
/**
|
|
734
698
|
* Update Toolkit
|
|
735
699
|
*/
|
|
736
|
-
export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization,
|
|
700
|
+
export declare function updateToolkitV1ToolkitsToolkitIdPatch({ toolkitId, xAccountId, xUsername, xUserId, xUserFullName, authorization, body }: {
|
|
737
701
|
toolkitId: string;
|
|
738
702
|
xAccountId?: string | null;
|
|
739
703
|
xUsername?: string | null;
|
|
740
704
|
xUserId?: string | null;
|
|
741
705
|
xUserFullName?: string | null;
|
|
742
706
|
authorization: string;
|
|
743
|
-
|
|
707
|
+
body: ToolkitUpdateRequest | ToolkitMcpUpdateRequest;
|
|
744
708
|
}, opts?: Oazapfts.RequestOpts): Promise<unknown>;
|
|
745
709
|
/**
|
|
746
710
|
* Delete Toolkit
|
|
@@ -1222,4 +1186,31 @@ export declare function internalForkToolkitsByIdsV1SpotToolkitsForkPost({ xAccou
|
|
|
1222
1186
|
authorization: string;
|
|
1223
1187
|
internalToolkitForkRequest: InternalToolkitForkRequest;
|
|
1224
1188
|
}, opts?: Oazapfts.RequestOpts): Promise<ToolkitForkResponse>;
|
|
1189
|
+
/**
|
|
1190
|
+
* List Toolkits
|
|
1191
|
+
*/
|
|
1192
|
+
export declare function listToolkitsV2ToolkitsGet({ name, visibilityList, size, page, order, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1193
|
+
name?: string | null;
|
|
1194
|
+
visibilityList?: VisibilityLevelEnum[];
|
|
1195
|
+
size?: number;
|
|
1196
|
+
page?: number;
|
|
1197
|
+
order?: OrderEnum | null;
|
|
1198
|
+
xAccountId?: string | null;
|
|
1199
|
+
xUsername?: string | null;
|
|
1200
|
+
xUserId?: string | null;
|
|
1201
|
+
xUserFullName?: string | null;
|
|
1202
|
+
authorization: string;
|
|
1203
|
+
}, opts?: Oazapfts.RequestOpts): Promise<PaginatedResponseCustomToolkitSimpleResponse>;
|
|
1204
|
+
/**
|
|
1205
|
+
* List Mcp Tools
|
|
1206
|
+
*/
|
|
1207
|
+
export declare function listMcpToolsV1McpToolsToolkitIdGet({ toolkitId, cacheControl, xAccountId, xUsername, xUserId, xUserFullName, authorization }: {
|
|
1208
|
+
toolkitId: string;
|
|
1209
|
+
cacheControl?: string | null;
|
|
1210
|
+
xAccountId?: string | null;
|
|
1211
|
+
xUsername?: string | null;
|
|
1212
|
+
xUserId?: string | null;
|
|
1213
|
+
xUserFullName?: string | null;
|
|
1214
|
+
authorization: string;
|
|
1215
|
+
}, opts?: Oazapfts.RequestOpts): Promise<FunctionsResponse>;
|
|
1225
1216
|
//# sourceMappingURL=agent-tools.d.ts.map
|