@ideascol/agents-generator-sdk 0.0.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/README.md +44 -0
- package/dist/bin/cli.d.ts +1 -0
- package/dist/bin/cli.js +1077 -0
- package/dist/cli.d.ts +3 -0
- package/dist/commands/agentsCommand.d.ts +3 -0
- package/dist/commands/rootCommand.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1081 -0
- package/dist/lib/clients/agents-generator/core/ApiError.d.ts +10 -0
- package/dist/lib/clients/agents-generator/core/ApiRequestOptions.d.ts +13 -0
- package/dist/lib/clients/agents-generator/core/ApiResult.d.ts +7 -0
- package/dist/lib/clients/agents-generator/core/CancelablePromise.d.ts +20 -0
- package/dist/lib/clients/agents-generator/core/OpenAPI.d.ts +16 -0
- package/dist/lib/clients/agents-generator/core/request.d.ts +30 -0
- package/dist/lib/clients/agents-generator/index.d.ts +29 -0
- package/dist/lib/clients/agents-generator/models/AgentInitResponse.d.ts +7 -0
- package/dist/lib/clients/agents-generator/models/AgentQueryRequest.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/AgentQueryResponse.d.ts +6 -0
- package/dist/lib/clients/agents-generator/models/AgentRequest.d.ts +15 -0
- package/dist/lib/clients/agents-generator/models/ConversationCreate.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/ConversationResponse.d.ts +10 -0
- package/dist/lib/clients/agents-generator/models/ConversationUpdate.d.ts +3 -0
- package/dist/lib/clients/agents-generator/models/Edge.d.ts +10 -0
- package/dist/lib/clients/agents-generator/models/HTTPValidationError.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/Handoff.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/MCPServer.d.ts +13 -0
- package/dist/lib/clients/agents-generator/models/MCPServerList.d.ts +7 -0
- package/dist/lib/clients/agents-generator/models/MCPServerReference.d.ts +11 -0
- package/dist/lib/clients/agents-generator/models/MarkerEnd.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/Measured.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/MessageCreate.d.ts +5 -0
- package/dist/lib/clients/agents-generator/models/MessageResponse.d.ts +7 -0
- package/dist/lib/clients/agents-generator/models/Node.d.ts +12 -0
- package/dist/lib/clients/agents-generator/models/NodeData.d.ts +11 -0
- package/dist/lib/clients/agents-generator/models/Position.d.ts +4 -0
- package/dist/lib/clients/agents-generator/models/ValidationError.d.ts +5 -0
- package/dist/lib/clients/agents-generator/services/AgentService.d.ts +75 -0
- package/dist/lib/clients/agents-generator/services/ConversationsService.d.ts +53 -0
- package/dist/lib/clients/agents-generator/services/McpServersService.d.ts +21 -0
- package/dist/lib/clients/agents-generator/services/RootService.d.ts +15 -0
- package/dist/lib/index.d.ts +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import type { ApiResult } from './ApiResult';
|
|
3
|
+
export declare class ApiError extends Error {
|
|
4
|
+
readonly url: string;
|
|
5
|
+
readonly status: number;
|
|
6
|
+
readonly statusText: string;
|
|
7
|
+
readonly body: any;
|
|
8
|
+
readonly request: ApiRequestOptions;
|
|
9
|
+
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type ApiRequestOptions = {
|
|
2
|
+
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
3
|
+
readonly url: string;
|
|
4
|
+
readonly path?: Record<string, any>;
|
|
5
|
+
readonly cookies?: Record<string, any>;
|
|
6
|
+
readonly headers?: Record<string, any>;
|
|
7
|
+
readonly query?: Record<string, any>;
|
|
8
|
+
readonly formData?: Record<string, any>;
|
|
9
|
+
readonly body?: any;
|
|
10
|
+
readonly mediaType?: string;
|
|
11
|
+
readonly responseHeader?: string;
|
|
12
|
+
readonly errors?: Record<number, string>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class CancelError extends Error {
|
|
2
|
+
constructor(message: string);
|
|
3
|
+
get isCancelled(): boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface OnCancel {
|
|
6
|
+
readonly isResolved: boolean;
|
|
7
|
+
readonly isRejected: boolean;
|
|
8
|
+
readonly isCancelled: boolean;
|
|
9
|
+
(cancelHandler: () => void): void;
|
|
10
|
+
}
|
|
11
|
+
export declare class CancelablePromise<T> implements Promise<T> {
|
|
12
|
+
#private;
|
|
13
|
+
constructor(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void, onCancel: OnCancel) => void);
|
|
14
|
+
get [Symbol.toStringTag](): string;
|
|
15
|
+
then<TResult1 = T, TResult2 = never>(onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null, onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
16
|
+
catch<TResult = never>(onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null): Promise<T | TResult>;
|
|
17
|
+
finally(onFinally?: (() => void) | null): Promise<T>;
|
|
18
|
+
cancel(): void;
|
|
19
|
+
get isCancelled(): boolean;
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
3
|
+
type Headers = Record<string, string>;
|
|
4
|
+
export type OpenAPIConfig = {
|
|
5
|
+
BASE: string;
|
|
6
|
+
VERSION: string;
|
|
7
|
+
WITH_CREDENTIALS: boolean;
|
|
8
|
+
CREDENTIALS: 'include' | 'omit' | 'same-origin';
|
|
9
|
+
TOKEN?: string | Resolver<string> | undefined;
|
|
10
|
+
USERNAME?: string | Resolver<string> | undefined;
|
|
11
|
+
PASSWORD?: string | Resolver<string> | undefined;
|
|
12
|
+
HEADERS?: Headers | Resolver<Headers> | undefined;
|
|
13
|
+
ENCODE_PATH?: ((path: string) => string) | undefined;
|
|
14
|
+
};
|
|
15
|
+
export declare const OpenAPI: OpenAPIConfig;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import type { ApiResult } from './ApiResult';
|
|
3
|
+
import { CancelablePromise } from './CancelablePromise';
|
|
4
|
+
import type { OnCancel } from './CancelablePromise';
|
|
5
|
+
import type { OpenAPIConfig } from './OpenAPI';
|
|
6
|
+
export declare const isDefined: <T>(value: T | null | undefined) => value is Exclude<T, null | undefined>;
|
|
7
|
+
export declare const isString: (value: any) => value is string;
|
|
8
|
+
export declare const isStringWithValue: (value: any) => value is string;
|
|
9
|
+
export declare const isBlob: (value: any) => value is Blob;
|
|
10
|
+
export declare const isFormData: (value: any) => value is FormData;
|
|
11
|
+
export declare const base64: (str: string) => string;
|
|
12
|
+
export declare const getQueryString: (params: Record<string, any>) => string;
|
|
13
|
+
export declare const getFormData: (options: ApiRequestOptions) => FormData | undefined;
|
|
14
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
15
|
+
export declare const resolve: <T>(options: ApiRequestOptions, resolver?: T | Resolver<T>) => Promise<T | undefined>;
|
|
16
|
+
export declare const getHeaders: (config: OpenAPIConfig, options: ApiRequestOptions) => Promise<Headers>;
|
|
17
|
+
export declare const getRequestBody: (options: ApiRequestOptions) => any;
|
|
18
|
+
export declare const sendRequest: (config: OpenAPIConfig, options: ApiRequestOptions, url: string, body: any, formData: FormData | undefined, headers: Headers, onCancel: OnCancel) => Promise<Response>;
|
|
19
|
+
export declare const getResponseHeader: (response: Response, responseHeader?: string) => string | undefined;
|
|
20
|
+
export declare const getResponseBody: (response: Response) => Promise<any>;
|
|
21
|
+
export declare const catchErrorCodes: (options: ApiRequestOptions, result: ApiResult) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Request method
|
|
24
|
+
* @param config The OpenAPI configuration object
|
|
25
|
+
* @param options The request options from the service
|
|
26
|
+
* @returns CancelablePromise<T>
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
export declare const request: <T>(config: OpenAPIConfig, options: ApiRequestOptions) => CancelablePromise<T>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { ApiError } from './core/ApiError';
|
|
2
|
+
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
3
|
+
export { OpenAPI } from './core/OpenAPI';
|
|
4
|
+
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
|
+
export type { AgentInitResponse } from './models/AgentInitResponse';
|
|
6
|
+
export type { AgentQueryRequest } from './models/AgentQueryRequest';
|
|
7
|
+
export type { AgentQueryResponse } from './models/AgentQueryResponse';
|
|
8
|
+
export type { AgentRequest } from './models/AgentRequest';
|
|
9
|
+
export type { ConversationCreate } from './models/ConversationCreate';
|
|
10
|
+
export type { ConversationResponse } from './models/ConversationResponse';
|
|
11
|
+
export type { ConversationUpdate } from './models/ConversationUpdate';
|
|
12
|
+
export type { Edge } from './models/Edge';
|
|
13
|
+
export type { Handoff } from './models/Handoff';
|
|
14
|
+
export type { HTTPValidationError } from './models/HTTPValidationError';
|
|
15
|
+
export type { MarkerEnd } from './models/MarkerEnd';
|
|
16
|
+
export type { MCPServer } from './models/MCPServer';
|
|
17
|
+
export type { MCPServerList } from './models/MCPServerList';
|
|
18
|
+
export type { MCPServerReference } from './models/MCPServerReference';
|
|
19
|
+
export type { Measured } from './models/Measured';
|
|
20
|
+
export type { MessageCreate } from './models/MessageCreate';
|
|
21
|
+
export type { MessageResponse } from './models/MessageResponse';
|
|
22
|
+
export type { Node } from './models/Node';
|
|
23
|
+
export type { NodeData } from './models/NodeData';
|
|
24
|
+
export type { Position } from './models/Position';
|
|
25
|
+
export type { ValidationError } from './models/ValidationError';
|
|
26
|
+
export { AgentService } from './services/AgentService';
|
|
27
|
+
export { ConversationsService } from './services/ConversationsService';
|
|
28
|
+
export { McpServersService } from './services/McpServersService';
|
|
29
|
+
export { RootService } from './services/RootService';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Edge } from './Edge';
|
|
2
|
+
import type { MCPServerReference } from './MCPServerReference';
|
|
3
|
+
import type { Node } from './Node';
|
|
4
|
+
export type AgentRequest = {
|
|
5
|
+
name: string;
|
|
6
|
+
description?: (string | null);
|
|
7
|
+
handoffs?: Array<Record<string, any>>;
|
|
8
|
+
/**
|
|
9
|
+
* List of MCP servers associated with this agent
|
|
10
|
+
*/
|
|
11
|
+
mcp_servers?: Array<MCPServerReference>;
|
|
12
|
+
nodes: Array<Node>;
|
|
13
|
+
edges: Array<Edge>;
|
|
14
|
+
timestamp: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MessageResponse } from './MessageResponse';
|
|
2
|
+
export type ConversationResponse = {
|
|
3
|
+
id: string;
|
|
4
|
+
agent_id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
created_at: string;
|
|
7
|
+
updated_at: string;
|
|
8
|
+
metadata?: (Record<string, any> | null);
|
|
9
|
+
messages?: Array<MessageResponse>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model representing an MCP server with basic properties.
|
|
3
|
+
*/
|
|
4
|
+
export type MCPServer = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier for the MCP server
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description?: (string | null);
|
|
11
|
+
status: string;
|
|
12
|
+
logo?: (string | null);
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model representing a reference to an MCP server within an agent.
|
|
3
|
+
* Includes the server ID and dynamic parameters.
|
|
4
|
+
*/
|
|
5
|
+
export type MCPServerReference = {
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* Dynamic parameters for the MCP server (e.g., API keys)
|
|
9
|
+
*/
|
|
10
|
+
params?: Record<string, any>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Measured } from './Measured';
|
|
2
|
+
import type { NodeData } from './NodeData';
|
|
3
|
+
import type { Position } from './Position';
|
|
4
|
+
export type Node = {
|
|
5
|
+
id: string;
|
|
6
|
+
type: string;
|
|
7
|
+
position: Position;
|
|
8
|
+
data: NodeData;
|
|
9
|
+
measured: Measured;
|
|
10
|
+
selected?: boolean;
|
|
11
|
+
dragging?: boolean;
|
|
12
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Handoff } from './Handoff';
|
|
2
|
+
import type { MCPServerReference } from './MCPServerReference';
|
|
3
|
+
export type NodeData = {
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
handoffs?: Array<Handoff>;
|
|
7
|
+
/**
|
|
8
|
+
* List of MCP servers associated with this node
|
|
9
|
+
*/
|
|
10
|
+
mcp_servers?: Array<MCPServerReference>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { AgentInitResponse } from '../models/AgentInitResponse';
|
|
2
|
+
import type { AgentQueryRequest } from '../models/AgentQueryRequest';
|
|
3
|
+
import type { AgentQueryResponse } from '../models/AgentQueryResponse';
|
|
4
|
+
import type { AgentRequest } from '../models/AgentRequest';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class AgentService {
|
|
7
|
+
/**
|
|
8
|
+
* Create Agent
|
|
9
|
+
* @param requestBody
|
|
10
|
+
* @param userId
|
|
11
|
+
* @returns any Successful Response
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static createAgentAgentsPost(requestBody: AgentRequest, userId?: string): CancelablePromise<Record<string, any>>;
|
|
15
|
+
/**
|
|
16
|
+
* Get Agents
|
|
17
|
+
* @param skip
|
|
18
|
+
* @param limit
|
|
19
|
+
* @param userId
|
|
20
|
+
* @returns any Successful Response
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static getAgentsAgentsGet(skip?: number, limit?: number, userId?: string): CancelablePromise<Array<Record<string, any>>>;
|
|
24
|
+
/**
|
|
25
|
+
* Update Agent
|
|
26
|
+
* @param agentId
|
|
27
|
+
* @param requestBody
|
|
28
|
+
* @param userId
|
|
29
|
+
* @returns any Successful Response
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static updateAgentAgentsAgentIdPut(agentId: string, requestBody: AgentRequest, userId?: string): CancelablePromise<Record<string, any>>;
|
|
33
|
+
/**
|
|
34
|
+
* Get Agent
|
|
35
|
+
* @param agentId
|
|
36
|
+
* @param userId
|
|
37
|
+
* @returns any Successful Response
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
static getAgentAgentsAgentIdGet(agentId: string, userId?: string): CancelablePromise<Record<string, any>>;
|
|
41
|
+
/**
|
|
42
|
+
* Delete Agent
|
|
43
|
+
* @param agentId
|
|
44
|
+
* @param userId
|
|
45
|
+
* @returns any Successful Response
|
|
46
|
+
* @throws ApiError
|
|
47
|
+
*/
|
|
48
|
+
static deleteAgentAgentsAgentIdDelete(agentId: string, userId?: string): CancelablePromise<Record<string, any>>;
|
|
49
|
+
/**
|
|
50
|
+
* Initialize Agent
|
|
51
|
+
* @param agentId
|
|
52
|
+
* @returns AgentInitResponse Successful Response
|
|
53
|
+
* @throws ApiError
|
|
54
|
+
*/
|
|
55
|
+
static initializeAgentAgentsAgentIdInitializePost(agentId: string): CancelablePromise<AgentInitResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Query Agent
|
|
58
|
+
* @param agentId
|
|
59
|
+
* @param requestBody
|
|
60
|
+
* @param userId
|
|
61
|
+
* @param conversationId
|
|
62
|
+
* @returns AgentQueryResponse Successful Response
|
|
63
|
+
* @throws ApiError
|
|
64
|
+
*/
|
|
65
|
+
static queryAgentAgentsAgentIdQueryPost(agentId: string, requestBody: AgentQueryRequest, userId?: string, conversationId?: (string | null)): CancelablePromise<AgentQueryResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Visualize Agent
|
|
68
|
+
* @param agentId
|
|
69
|
+
* @param userId
|
|
70
|
+
* @param format
|
|
71
|
+
* @returns any Successful Response
|
|
72
|
+
* @throws ApiError
|
|
73
|
+
*/
|
|
74
|
+
static visualizeAgentAgentsAgentIdVisualizeGet(agentId: string, userId?: string, format?: string): CancelablePromise<any>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ConversationCreate } from '../models/ConversationCreate';
|
|
2
|
+
import type { ConversationResponse } from '../models/ConversationResponse';
|
|
3
|
+
import type { ConversationUpdate } from '../models/ConversationUpdate';
|
|
4
|
+
import type { MessageCreate } from '../models/MessageCreate';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class ConversationsService {
|
|
7
|
+
/**
|
|
8
|
+
* Create Conversation
|
|
9
|
+
* @param requestBody
|
|
10
|
+
* @returns ConversationResponse Successful Response
|
|
11
|
+
* @throws ApiError
|
|
12
|
+
*/
|
|
13
|
+
static createConversationConversationsPost(requestBody: ConversationCreate): CancelablePromise<ConversationResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Get Conversation
|
|
16
|
+
* @param conversationId
|
|
17
|
+
* @returns ConversationResponse Successful Response
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static getConversationConversationsConversationIdGet(conversationId: string): CancelablePromise<ConversationResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Update Conversation
|
|
23
|
+
* @param conversationId
|
|
24
|
+
* @param requestBody
|
|
25
|
+
* @returns ConversationResponse Successful Response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static updateConversationConversationsConversationIdPut(conversationId: string, requestBody: ConversationUpdate): CancelablePromise<ConversationResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* Delete Conversation
|
|
31
|
+
* @param conversationId
|
|
32
|
+
* @returns any Successful Response
|
|
33
|
+
* @throws ApiError
|
|
34
|
+
*/
|
|
35
|
+
static deleteConversationConversationsConversationIdDelete(conversationId: string): CancelablePromise<Record<string, any>>;
|
|
36
|
+
/**
|
|
37
|
+
* Get Agent Conversations
|
|
38
|
+
* @param agentId
|
|
39
|
+
* @param skip
|
|
40
|
+
* @param limit
|
|
41
|
+
* @returns ConversationResponse Successful Response
|
|
42
|
+
* @throws ApiError
|
|
43
|
+
*/
|
|
44
|
+
static getAgentConversationsConversationsAgentAgentIdGet(agentId: string, skip?: number, limit?: number): CancelablePromise<Array<ConversationResponse>>;
|
|
45
|
+
/**
|
|
46
|
+
* Add Message
|
|
47
|
+
* @param conversationId
|
|
48
|
+
* @param requestBody
|
|
49
|
+
* @returns any Successful Response
|
|
50
|
+
* @throws ApiError
|
|
51
|
+
*/
|
|
52
|
+
static addMessageConversationsConversationIdMessagesPost(conversationId: string, requestBody: MessageCreate): CancelablePromise<any>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { MCPServer } from '../models/MCPServer';
|
|
2
|
+
import type { MCPServerList } from '../models/MCPServerList';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
+
export declare class McpServersService {
|
|
5
|
+
/**
|
|
6
|
+
* Get Mcp Servers
|
|
7
|
+
* Get a list of all MCP servers.
|
|
8
|
+
* Currently returns mock data as specified in the requirements.
|
|
9
|
+
* @returns MCPServerList Successful Response
|
|
10
|
+
* @throws ApiError
|
|
11
|
+
*/
|
|
12
|
+
static getMcpServersMcpServersGet(): CancelablePromise<MCPServerList>;
|
|
13
|
+
/**
|
|
14
|
+
* Get Mcp Server
|
|
15
|
+
* Get a specific MCP server by ID.
|
|
16
|
+
* @param serverId
|
|
17
|
+
* @returns MCPServer Successful Response
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
static getMcpServerMcpServersServerIdGet(serverId: string): CancelablePromise<MCPServer>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
export declare class RootService {
|
|
3
|
+
/**
|
|
4
|
+
* Root
|
|
5
|
+
* @returns any Successful Response
|
|
6
|
+
* @throws ApiError
|
|
7
|
+
*/
|
|
8
|
+
static rootGet(): CancelablePromise<any>;
|
|
9
|
+
/**
|
|
10
|
+
* Health Check
|
|
11
|
+
* @returns any Successful Response
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static healthCheckHealthGet(): CancelablePromise<any>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './clients/agents-generator';
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ideascol/agents-generator-sdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"test": "bun test",
|
|
7
|
+
"build": "tsc --emitDeclarationOnly && bun build ./src/index.ts ./src/bin/cli.ts --target=node --outdir ./dist --format cjs",
|
|
8
|
+
"build:test": "bun build ./src/tests/*.ts --target=node --outdir dist/tests --format cjs",
|
|
9
|
+
"prepublishOnly": "bun run build",
|
|
10
|
+
"start": "bun run src/cli.ts"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [],
|
|
13
|
+
"author": "Jairo Fernandez <jairof@ideascol.com>",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"description": "agents-generator-sdk",
|
|
16
|
+
"bin": {
|
|
17
|
+
"agents-generator-sdk": "dist/bin/cli.js"
|
|
18
|
+
},
|
|
19
|
+
"types": "dist/index.d.ts",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist/**/*",
|
|
22
|
+
"!src/tests/**/*"
|
|
23
|
+
],
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=20.15.1"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/node": "^22.14.1",
|
|
32
|
+
"typescript": "^5.8.3"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@ideascol/cli-maker": "^1.6.2"
|
|
36
|
+
}
|
|
37
|
+
}
|