@ideascol/agents-generator-sdk 0.1.3 → 0.1.4

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 CHANGED
@@ -598,7 +598,7 @@ var OpenAPI;
598
598
  var init_OpenAPI = __esm(() => {
599
599
  OpenAPI = {
600
600
  BASE: "",
601
- VERSION: "main-ee92ad146ba906cba1beaa2c1928679b0d8b071c",
601
+ VERSION: "main-6a6ce76bec2e854b841b630c73e9e239512aff88",
602
602
  WITH_CREDENTIALS: false,
603
603
  CREDENTIALS: "include",
604
604
  TOKEN: undefined,
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-ee92ad146ba906cba1beaa2c1928679b0d8b071c",
169
+ VERSION: "main-6a6ce76bec2e854b841b630c73e9e239512aff88",
170
170
  WITH_CREDENTIALS: false,
171
171
  CREDENTIALS: "include",
172
172
  TOKEN: undefined,
@@ -8,7 +8,7 @@ export type AgentRequest = {
8
8
  /**
9
9
  * List of MCP servers associated with this agent
10
10
  */
11
- mcp_servers?: (Array<MCPServerReference> | null);
11
+ mcp_servers?: Array<MCPServerReference>;
12
12
  /**
13
13
  * ID of the credential associated with this agent
14
14
  */
@@ -8,21 +8,21 @@ export type NodeData = {
8
8
  /**
9
9
  * List of MCP servers associated with this node
10
10
  */
11
- mcp_servers?: (Array<MCPServerReference> | null);
11
+ mcp_servers?: Array<MCPServerReference>;
12
12
  /**
13
13
  * List of selected folders for file search tools
14
14
  */
15
- selectedFolders?: null;
15
+ selectedFolders?: Array<any>;
16
16
  /**
17
17
  * Configuration for web search tool
18
18
  */
19
- webSearchConfig?: (Record<string, any> | null);
19
+ webSearchConfig?: Record<string, any>;
20
20
  /**
21
21
  * Configuration for hosted MCP tool
22
22
  */
23
- hostedMCPConfig?: (Record<string, any> | null);
23
+ hostedMCPConfig?: Record<string, any>;
24
24
  /**
25
25
  * List of callback tools (contract only, execution handled by Node.js app)
26
26
  */
27
- callbackTools?: (Array<CallbackTool> | null);
27
+ callbackTools?: Array<CallbackTool>;
28
28
  };
@@ -13,7 +13,7 @@ export declare class AgentService {
13
13
  * @returns CreateAgentResponse Successful Response
14
14
  * @throws ApiError
15
15
  */
16
- static createAgent(requestBody: AgentRequest, userId?: string): CancelablePromise<CreateAgentResponse>;
16
+ static createAgent(requestBody: AgentRequest, userId?: (string | null)): CancelablePromise<CreateAgentResponse>;
17
17
  /**
18
18
  * Get Agents
19
19
  * @param skip
@@ -30,7 +30,7 @@ export declare class AgentService {
30
30
  * @returns any Successful Response
31
31
  * @throws ApiError
32
32
  */
33
- static updateAgent(agentId: string, requestBody: AgentRequest, userId?: string): CancelablePromise<Record<string, any>>;
33
+ static updateAgent(agentId: string, requestBody: AgentRequest, userId?: (string | null)): CancelablePromise<Record<string, any>>;
34
34
  /**
35
35
  * Get Agent
36
36
  * @param agentId
@@ -38,7 +38,7 @@ export declare class AgentService {
38
38
  * @returns GetAgentResponse Successful Response
39
39
  * @throws ApiError
40
40
  */
41
- static getAgent(agentId: string, userId?: string): CancelablePromise<GetAgentResponse>;
41
+ static getAgent(agentId: string, userId?: (string | null)): CancelablePromise<GetAgentResponse>;
42
42
  /**
43
43
  * Delete Agent
44
44
  * @param agentId
@@ -46,7 +46,7 @@ export declare class AgentService {
46
46
  * @returns any Successful Response
47
47
  * @throws ApiError
48
48
  */
49
- static deleteAgent(agentId: string, userId?: string): CancelablePromise<Record<string, any>>;
49
+ static deleteAgent(agentId: string, userId?: (string | null)): CancelablePromise<Record<string, any>>;
50
50
  /**
51
51
  * Initialize Agent
52
52
  * @param agentId
@@ -63,7 +63,7 @@ export declare class AgentService {
63
63
  * @returns AgentQueryResponse Successful Response
64
64
  * @throws ApiError
65
65
  */
66
- static queryAgent(agentId: string, requestBody: AgentQueryRequest, userId?: string, conversationId?: (string | null)): CancelablePromise<AgentQueryResponse>;
66
+ static queryAgent(agentId: string, requestBody: AgentQueryRequest, userId?: (string | null), conversationId?: (string | null)): CancelablePromise<AgentQueryResponse>;
67
67
  /**
68
68
  * Get Agent Structure
69
69
  * Get detailed agent structure and tools information using openai-agents visualization.
@@ -73,7 +73,7 @@ export declare class AgentService {
73
73
  * @returns any Successful Response
74
74
  * @throws ApiError
75
75
  */
76
- static getAgentStructure(agentId: string, userId?: string): CancelablePromise<Record<string, any>>;
76
+ static getAgentStructure(agentId: string, userId?: (string | null)): CancelablePromise<Record<string, any>>;
77
77
  /**
78
78
  * Visualize Agent
79
79
  * @param agentId
@@ -82,5 +82,5 @@ export declare class AgentService {
82
82
  * @returns any Successful Response
83
83
  * @throws ApiError
84
84
  */
85
- static visualizeAgent(agentId: string, userId?: string, format?: string): CancelablePromise<any>;
85
+ static visualizeAgent(agentId: string, userId?: (string | null), format?: string): CancelablePromise<any>;
86
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ideascol/agents-generator-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "test": "bun test",