@ideascol/agents-generator-sdk 0.1.2 → 0.1.3
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/bin/cli.js +3 -3
- package/dist/index.js +3 -3
- package/dist/lib/clients/agents-generator/index.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/AgentStats.d.ts +5 -0
- package/dist/lib/clients/agents-generator/models/CallbackTool.d.ts +6 -0
- package/dist/lib/clients/agents-generator/models/CreateAgentResponse.d.ts +10 -0
- package/dist/lib/clients/agents-generator/models/GetAgentResponse.d.ts +9 -0
- package/dist/lib/clients/agents-generator/models/NodeData.d.ts +5 -0
- package/dist/lib/clients/agents-generator/services/AgentService.d.ts +8 -6
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -598,7 +598,7 @@ var OpenAPI;
|
|
|
598
598
|
var init_OpenAPI = __esm(() => {
|
|
599
599
|
OpenAPI = {
|
|
600
600
|
BASE: "",
|
|
601
|
-
VERSION: "main-
|
|
601
|
+
VERSION: "main-ee92ad146ba906cba1beaa2c1928679b0d8b071c",
|
|
602
602
|
WITH_CREDENTIALS: false,
|
|
603
603
|
CREDENTIALS: "include",
|
|
604
604
|
TOKEN: undefined,
|
|
@@ -1073,13 +1073,13 @@ class CredentialsService {
|
|
|
1073
1073
|
static getCredentials() {
|
|
1074
1074
|
return request(OpenAPI, {
|
|
1075
1075
|
method: "GET",
|
|
1076
|
-
url: "/credentials
|
|
1076
|
+
url: "/credentials"
|
|
1077
1077
|
});
|
|
1078
1078
|
}
|
|
1079
1079
|
static createCredential(requestBody) {
|
|
1080
1080
|
return request(OpenAPI, {
|
|
1081
1081
|
method: "POST",
|
|
1082
|
-
url: "/credentials
|
|
1082
|
+
url: "/credentials",
|
|
1083
1083
|
body: requestBody,
|
|
1084
1084
|
mediaType: "application/json",
|
|
1085
1085
|
errors: {
|
package/dist/index.js
CHANGED
|
@@ -166,7 +166,7 @@ var OpenAPI;
|
|
|
166
166
|
var init_OpenAPI = __esm(() => {
|
|
167
167
|
OpenAPI = {
|
|
168
168
|
BASE: "",
|
|
169
|
-
VERSION: "main-
|
|
169
|
+
VERSION: "main-ee92ad146ba906cba1beaa2c1928679b0d8b071c",
|
|
170
170
|
WITH_CREDENTIALS: false,
|
|
171
171
|
CREDENTIALS: "include",
|
|
172
172
|
TOKEN: undefined,
|
|
@@ -641,13 +641,13 @@ class CredentialsService {
|
|
|
641
641
|
static getCredentials() {
|
|
642
642
|
return request(OpenAPI, {
|
|
643
643
|
method: "GET",
|
|
644
|
-
url: "/credentials
|
|
644
|
+
url: "/credentials"
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
647
|
static createCredential(requestBody) {
|
|
648
648
|
return request(OpenAPI, {
|
|
649
649
|
method: "POST",
|
|
650
|
-
url: "/credentials
|
|
650
|
+
url: "/credentials",
|
|
651
651
|
body: requestBody,
|
|
652
652
|
mediaType: "application/json",
|
|
653
653
|
errors: {
|
|
@@ -6,12 +6,15 @@ export type { AgentInitResponse } from './models/AgentInitResponse';
|
|
|
6
6
|
export type { AgentQueryRequest } from './models/AgentQueryRequest';
|
|
7
7
|
export type { AgentQueryResponse } from './models/AgentQueryResponse';
|
|
8
8
|
export type { AgentRequest } from './models/AgentRequest';
|
|
9
|
+
export type { AgentStats } from './models/AgentStats';
|
|
9
10
|
export type { Body_upload_file } from './models/Body_upload_file';
|
|
10
11
|
export type { BucketCreate } from './models/BucketCreate';
|
|
11
12
|
export type { BucketResponse } from './models/BucketResponse';
|
|
13
|
+
export type { CallbackTool } from './models/CallbackTool';
|
|
12
14
|
export type { ConversationCreate } from './models/ConversationCreate';
|
|
13
15
|
export type { ConversationResponse } from './models/ConversationResponse';
|
|
14
16
|
export type { ConversationUpdate } from './models/ConversationUpdate';
|
|
17
|
+
export type { CreateAgentResponse } from './models/CreateAgentResponse';
|
|
15
18
|
export type { CreateMCPServerRequest } from './models/CreateMCPServerRequest';
|
|
16
19
|
export type { CredentialCreate } from './models/CredentialCreate';
|
|
17
20
|
export type { CredentialUpdate } from './models/CredentialUpdate';
|
|
@@ -23,6 +26,7 @@ export type { FolderCreate } from './models/FolderCreate';
|
|
|
23
26
|
export type { FolderResponse } from './models/FolderResponse';
|
|
24
27
|
export type { FolderUploadRequest } from './models/FolderUploadRequest';
|
|
25
28
|
export type { FolderUploadResponse } from './models/FolderUploadResponse';
|
|
29
|
+
export type { GetAgentResponse } from './models/GetAgentResponse';
|
|
26
30
|
export type { Handoff } from './models/Handoff';
|
|
27
31
|
export type { HTTPValidationError } from './models/HTTPValidationError';
|
|
28
32
|
export type { MarkerEnd } from './models/MarkerEnd';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CallbackTool } from './CallbackTool';
|
|
1
2
|
import type { Handoff } from './Handoff';
|
|
2
3
|
import type { MCPServerReference } from './MCPServerReference';
|
|
3
4
|
export type NodeData = {
|
|
@@ -20,4 +21,8 @@ export type NodeData = {
|
|
|
20
21
|
* Configuration for hosted MCP tool
|
|
21
22
|
*/
|
|
22
23
|
hostedMCPConfig?: (Record<string, any> | null);
|
|
24
|
+
/**
|
|
25
|
+
* List of callback tools (contract only, execution handled by Node.js app)
|
|
26
|
+
*/
|
|
27
|
+
callbackTools?: (Array<CallbackTool> | null);
|
|
23
28
|
};
|
|
@@ -2,24 +2,26 @@ import type { AgentInitResponse } from '../models/AgentInitResponse';
|
|
|
2
2
|
import type { AgentQueryRequest } from '../models/AgentQueryRequest';
|
|
3
3
|
import type { AgentQueryResponse } from '../models/AgentQueryResponse';
|
|
4
4
|
import type { AgentRequest } from '../models/AgentRequest';
|
|
5
|
+
import type { CreateAgentResponse } from '../models/CreateAgentResponse';
|
|
6
|
+
import type { GetAgentResponse } from '../models/GetAgentResponse';
|
|
5
7
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
8
|
export declare class AgentService {
|
|
7
9
|
/**
|
|
8
10
|
* Create Agent
|
|
9
11
|
* @param requestBody
|
|
10
12
|
* @param userId
|
|
11
|
-
* @returns
|
|
13
|
+
* @returns CreateAgentResponse Successful Response
|
|
12
14
|
* @throws ApiError
|
|
13
15
|
*/
|
|
14
|
-
static createAgent(requestBody: AgentRequest, userId?: string): CancelablePromise<
|
|
16
|
+
static createAgent(requestBody: AgentRequest, userId?: string): CancelablePromise<CreateAgentResponse>;
|
|
15
17
|
/**
|
|
16
18
|
* Get Agents
|
|
17
19
|
* @param skip
|
|
18
20
|
* @param limit
|
|
19
|
-
* @returns
|
|
21
|
+
* @returns GetAgentResponse Successful Response
|
|
20
22
|
* @throws ApiError
|
|
21
23
|
*/
|
|
22
|
-
static getAgents(skip?: number, limit?: number): CancelablePromise<Array<
|
|
24
|
+
static getAgents(skip?: number, limit?: number): CancelablePromise<Array<GetAgentResponse>>;
|
|
23
25
|
/**
|
|
24
26
|
* Update Agent
|
|
25
27
|
* @param agentId
|
|
@@ -33,10 +35,10 @@ export declare class AgentService {
|
|
|
33
35
|
* Get Agent
|
|
34
36
|
* @param agentId
|
|
35
37
|
* @param userId
|
|
36
|
-
* @returns
|
|
38
|
+
* @returns GetAgentResponse Successful Response
|
|
37
39
|
* @throws ApiError
|
|
38
40
|
*/
|
|
39
|
-
static getAgent(agentId: string, userId?: string): CancelablePromise<
|
|
41
|
+
static getAgent(agentId: string, userId?: string): CancelablePromise<GetAgentResponse>;
|
|
40
42
|
/**
|
|
41
43
|
* Delete Agent
|
|
42
44
|
* @param agentId
|