@corti/sdk 1.1.0-coding.1 → 1.2.0-rc
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/agents/client/requests/AgentsCreateAgent.d.ts +2 -0
- package/dist/cjs/api/resources/agents/client/requests/AgentsUpdateAgent.d.ts +2 -0
- package/dist/cjs/api/types/AgentsAgent.d.ts +2 -0
- package/dist/cjs/api/types/AgentsMcpServerTransportType.d.ts +1 -0
- package/dist/cjs/api/types/AgentsMcpServerTransportType.js +1 -0
- package/dist/cjs/api/types/AgentsRegistryExpert.d.ts +4 -0
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.d.ts +2 -0
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsCreateAgent.js +2 -0
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsUpdateAgent.d.ts +2 -0
- package/dist/cjs/serialization/resources/agents/client/requests/AgentsUpdateAgent.js +2 -0
- package/dist/cjs/serialization/types/AgentsAgent.d.ts +2 -0
- package/dist/cjs/serialization/types/AgentsAgent.js +2 -0
- package/dist/cjs/serialization/types/AgentsMcpServerTransportType.d.ts +1 -1
- package/dist/cjs/serialization/types/AgentsMcpServerTransportType.js +1 -1
- package/dist/cjs/serialization/types/AgentsRegistryExpert.d.ts +2 -0
- package/dist/cjs/serialization/types/AgentsRegistryExpert.js +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agents/client/requests/AgentsCreateAgent.d.mts +2 -0
- package/dist/esm/api/resources/agents/client/requests/AgentsUpdateAgent.d.mts +2 -0
- package/dist/esm/api/types/AgentsAgent.d.mts +2 -0
- package/dist/esm/api/types/AgentsMcpServerTransportType.d.mts +1 -0
- package/dist/esm/api/types/AgentsMcpServerTransportType.mjs +1 -0
- package/dist/esm/api/types/AgentsRegistryExpert.d.mts +4 -0
- package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.d.mts +2 -0
- package/dist/esm/serialization/resources/agents/client/requests/AgentsCreateAgent.mjs +2 -0
- package/dist/esm/serialization/resources/agents/client/requests/AgentsUpdateAgent.d.mts +2 -0
- package/dist/esm/serialization/resources/agents/client/requests/AgentsUpdateAgent.mjs +2 -0
- package/dist/esm/serialization/types/AgentsAgent.d.mts +2 -0
- package/dist/esm/serialization/types/AgentsAgent.mjs +2 -0
- package/dist/esm/serialization/types/AgentsMcpServerTransportType.d.mts +1 -1
- package/dist/esm/serialization/types/AgentsMcpServerTransportType.mjs +1 -1
- package/dist/esm/serialization/types/AgentsRegistryExpert.d.mts +2 -0
- package/dist/esm/serialization/types/AgentsRegistryExpert.mjs +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.
|
|
47
|
-
"User-Agent": "@corti/sdk/1.
|
|
46
|
+
"X-Fern-SDK-Version": "1.2.0-rc",
|
|
47
|
+
"User-Agent": "@corti/sdk/1.2.0-rc",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -18,4 +18,6 @@ export interface AgentsCreateAgent {
|
|
|
18
18
|
/** A brief description of the agent's capabilities. */
|
|
19
19
|
description: string;
|
|
20
20
|
experts?: Corti.AgentsCreateAgentExpertsItem[];
|
|
21
|
+
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
22
|
+
mcpServers?: Corti.AgentsCreateMcpServer[];
|
|
21
23
|
}
|
|
@@ -11,4 +11,6 @@ export interface AgentsUpdateAgent {
|
|
|
11
11
|
/** A brief description of the agent's capabilities. */
|
|
12
12
|
description?: string;
|
|
13
13
|
experts?: Corti.AgentsUpdateAgentExpertsItem[];
|
|
14
|
+
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
15
|
+
mcpServers?: Corti.AgentsCreateMcpServer[];
|
|
14
16
|
}
|
|
@@ -9,4 +9,6 @@ export interface AgentsAgent {
|
|
|
9
9
|
/** The system prompt that defines the overall agents behavior and expectations. */
|
|
10
10
|
systemPrompt: string;
|
|
11
11
|
experts?: Corti.AgentsAgentExpertsItem[];
|
|
12
|
+
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
13
|
+
mcpServers?: Corti.AgentsMcpServer[];
|
|
12
14
|
}
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
export declare const AgentsMcpServerTransportType: {
|
|
3
3
|
readonly Stdio: "stdio";
|
|
4
4
|
readonly StreamableHttp: "streamable_http";
|
|
5
|
+
readonly Sse: "sse";
|
|
5
6
|
};
|
|
6
7
|
export type AgentsMcpServerTransportType = (typeof AgentsMcpServerTransportType)[keyof typeof AgentsMcpServerTransportType];
|
|
@@ -2,6 +2,10 @@ import type * as Corti from "../index.js";
|
|
|
2
2
|
export interface AgentsRegistryExpert {
|
|
3
3
|
/** The name of the expert. */
|
|
4
4
|
name: string;
|
|
5
|
+
/** An optional human-readable display name for the expert. */
|
|
6
|
+
displayName?: string;
|
|
7
|
+
/** An optional human-readable display description for the expert. */
|
|
8
|
+
displayDescription?: string;
|
|
5
9
|
/** A brief description of the expert's capabilities. */
|
|
6
10
|
description: string;
|
|
7
11
|
/** A list of MCP servers the expert can call, including their authorization types. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Corti from "../../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
|
+
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.js";
|
|
4
5
|
import { AgentsCreateAgentAgentType } from "../../types/AgentsCreateAgentAgentType.js";
|
|
5
6
|
import { AgentsCreateAgentExpertsItem } from "../../types/AgentsCreateAgentExpertsItem.js";
|
|
6
7
|
export declare const AgentsCreateAgent: core.serialization.Schema<serializers.AgentsCreateAgent.Raw, Omit<Corti.AgentsCreateAgent, "ephemeral">>;
|
|
@@ -11,5 +12,6 @@ export declare namespace AgentsCreateAgent {
|
|
|
11
12
|
systemPrompt?: string | null;
|
|
12
13
|
description: string;
|
|
13
14
|
experts?: AgentsCreateAgentExpertsItem.Raw[] | null;
|
|
15
|
+
mcpServers?: AgentsCreateMcpServer.Raw[] | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -36,6 +36,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentsCreateAgent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
const AgentsCreateMcpServer_js_1 = require("../../../../types/AgentsCreateMcpServer.js");
|
|
39
40
|
const AgentsCreateAgentAgentType_js_1 = require("../../types/AgentsCreateAgentAgentType.js");
|
|
40
41
|
const AgentsCreateAgentExpertsItem_js_1 = require("../../types/AgentsCreateAgentExpertsItem.js");
|
|
41
42
|
exports.AgentsCreateAgent = core.serialization.object({
|
|
@@ -44,4 +45,5 @@ exports.AgentsCreateAgent = core.serialization.object({
|
|
|
44
45
|
systemPrompt: core.serialization.string().optional(),
|
|
45
46
|
description: core.serialization.string(),
|
|
46
47
|
experts: core.serialization.list(AgentsCreateAgentExpertsItem_js_1.AgentsCreateAgentExpertsItem).optional(),
|
|
48
|
+
mcpServers: core.serialization.list(AgentsCreateMcpServer_js_1.AgentsCreateMcpServer).optional(),
|
|
47
49
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Corti from "../../../../../api/index.js";
|
|
2
2
|
import * as core from "../../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../../index.js";
|
|
4
|
+
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.js";
|
|
4
5
|
import { AgentsUpdateAgentExpertsItem } from "../../types/AgentsUpdateAgentExpertsItem.js";
|
|
5
6
|
export declare const AgentsUpdateAgent: core.serialization.Schema<serializers.AgentsUpdateAgent.Raw, Corti.AgentsUpdateAgent>;
|
|
6
7
|
export declare namespace AgentsUpdateAgent {
|
|
@@ -9,5 +10,6 @@ export declare namespace AgentsUpdateAgent {
|
|
|
9
10
|
systemPrompt?: string | null;
|
|
10
11
|
description?: string | null;
|
|
11
12
|
experts?: AgentsUpdateAgentExpertsItem.Raw[] | null;
|
|
13
|
+
mcpServers?: AgentsCreateMcpServer.Raw[] | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -36,10 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentsUpdateAgent = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../core/index.js"));
|
|
39
|
+
const AgentsCreateMcpServer_js_1 = require("../../../../types/AgentsCreateMcpServer.js");
|
|
39
40
|
const AgentsUpdateAgentExpertsItem_js_1 = require("../../types/AgentsUpdateAgentExpertsItem.js");
|
|
40
41
|
exports.AgentsUpdateAgent = core.serialization.object({
|
|
41
42
|
name: core.serialization.string().optional(),
|
|
42
43
|
systemPrompt: core.serialization.string().optional(),
|
|
43
44
|
description: core.serialization.string().optional(),
|
|
44
45
|
experts: core.serialization.list(AgentsUpdateAgentExpertsItem_js_1.AgentsUpdateAgentExpertsItem).optional(),
|
|
46
|
+
mcpServers: core.serialization.list(AgentsCreateMcpServer_js_1.AgentsCreateMcpServer).optional(),
|
|
45
47
|
});
|
|
@@ -2,6 +2,7 @@ import type * as Corti from "../../api/index.js";
|
|
|
2
2
|
import * as core from "../../core/index.js";
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
import { AgentsAgentExpertsItem } from "./AgentsAgentExpertsItem.js";
|
|
5
|
+
import { AgentsMcpServer } from "./AgentsMcpServer.js";
|
|
5
6
|
export declare const AgentsAgent: core.serialization.ObjectSchema<serializers.AgentsAgent.Raw, Corti.AgentsAgent>;
|
|
6
7
|
export declare namespace AgentsAgent {
|
|
7
8
|
interface Raw {
|
|
@@ -10,5 +11,6 @@ export declare namespace AgentsAgent {
|
|
|
10
11
|
description: string;
|
|
11
12
|
systemPrompt: string;
|
|
12
13
|
experts?: AgentsAgentExpertsItem.Raw[] | null;
|
|
14
|
+
mcpServers?: AgentsMcpServer.Raw[] | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -37,10 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AgentsAgent = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
39
|
const AgentsAgentExpertsItem_js_1 = require("./AgentsAgentExpertsItem.js");
|
|
40
|
+
const AgentsMcpServer_js_1 = require("./AgentsMcpServer.js");
|
|
40
41
|
exports.AgentsAgent = core.serialization.object({
|
|
41
42
|
id: core.serialization.string(),
|
|
42
43
|
name: core.serialization.string(),
|
|
43
44
|
description: core.serialization.string(),
|
|
44
45
|
systemPrompt: core.serialization.string(),
|
|
45
46
|
experts: core.serialization.list(AgentsAgentExpertsItem_js_1.AgentsAgentExpertsItem).optional(),
|
|
47
|
+
mcpServers: core.serialization.list(AgentsMcpServer_js_1.AgentsMcpServer).optional(),
|
|
46
48
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const AgentsMcpServerTransportType: core.serialization.Schema<serializers.AgentsMcpServerTransportType.Raw, Corti.AgentsMcpServerTransportType>;
|
|
5
5
|
export declare namespace AgentsMcpServerTransportType {
|
|
6
|
-
type Raw = "stdio" | "streamable_http";
|
|
6
|
+
type Raw = "stdio" | "streamable_http" | "sse";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.AgentsMcpServerTransportType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core/index.js"));
|
|
39
|
-
exports.AgentsMcpServerTransportType = core.serialization.enum_(["stdio", "streamable_http"]);
|
|
39
|
+
exports.AgentsMcpServerTransportType = core.serialization.enum_(["stdio", "streamable_http", "sse"]);
|
|
@@ -6,6 +6,8 @@ export declare const AgentsRegistryExpert: core.serialization.ObjectSchema<seria
|
|
|
6
6
|
export declare namespace AgentsRegistryExpert {
|
|
7
7
|
interface Raw {
|
|
8
8
|
name: string;
|
|
9
|
+
displayName?: string | null;
|
|
10
|
+
displayDescription?: string | null;
|
|
9
11
|
description: string;
|
|
10
12
|
mcpServers?: AgentsRegistryMcpServer.Raw[] | null;
|
|
11
13
|
}
|
|
@@ -39,6 +39,8 @@ const core = __importStar(require("../../core/index.js"));
|
|
|
39
39
|
const AgentsRegistryMcpServer_js_1 = require("./AgentsRegistryMcpServer.js");
|
|
40
40
|
exports.AgentsRegistryExpert = core.serialization.object({
|
|
41
41
|
name: core.serialization.string(),
|
|
42
|
+
displayName: core.serialization.string().optional(),
|
|
43
|
+
displayDescription: core.serialization.string().optional(),
|
|
42
44
|
description: core.serialization.string(),
|
|
43
45
|
mcpServers: core.serialization.list(AgentsRegistryMcpServer_js_1.AgentsRegistryMcpServer).optional(),
|
|
44
46
|
});
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.0-rc";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@corti/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.
|
|
10
|
-
"User-Agent": "@corti/sdk/1.
|
|
9
|
+
"X-Fern-SDK-Version": "1.2.0-rc",
|
|
10
|
+
"User-Agent": "@corti/sdk/1.2.0-rc",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -18,4 +18,6 @@ export interface AgentsCreateAgent {
|
|
|
18
18
|
/** A brief description of the agent's capabilities. */
|
|
19
19
|
description: string;
|
|
20
20
|
experts?: Corti.AgentsCreateAgentExpertsItem[];
|
|
21
|
+
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
22
|
+
mcpServers?: Corti.AgentsCreateMcpServer[];
|
|
21
23
|
}
|
|
@@ -11,4 +11,6 @@ export interface AgentsUpdateAgent {
|
|
|
11
11
|
/** A brief description of the agent's capabilities. */
|
|
12
12
|
description?: string;
|
|
13
13
|
experts?: Corti.AgentsUpdateAgentExpertsItem[];
|
|
14
|
+
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
15
|
+
mcpServers?: Corti.AgentsCreateMcpServer[];
|
|
14
16
|
}
|
|
@@ -9,4 +9,6 @@ export interface AgentsAgent {
|
|
|
9
9
|
/** The system prompt that defines the overall agents behavior and expectations. */
|
|
10
10
|
systemPrompt: string;
|
|
11
11
|
experts?: Corti.AgentsAgentExpertsItem[];
|
|
12
|
+
/** A list of MCP servers that the agent can call. If omitted, the agent can't call any MCP servers. */
|
|
13
|
+
mcpServers?: Corti.AgentsMcpServer[];
|
|
12
14
|
}
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
export declare const AgentsMcpServerTransportType: {
|
|
3
3
|
readonly Stdio: "stdio";
|
|
4
4
|
readonly StreamableHttp: "streamable_http";
|
|
5
|
+
readonly Sse: "sse";
|
|
5
6
|
};
|
|
6
7
|
export type AgentsMcpServerTransportType = (typeof AgentsMcpServerTransportType)[keyof typeof AgentsMcpServerTransportType];
|
|
@@ -2,6 +2,10 @@ import type * as Corti from "../index.mjs";
|
|
|
2
2
|
export interface AgentsRegistryExpert {
|
|
3
3
|
/** The name of the expert. */
|
|
4
4
|
name: string;
|
|
5
|
+
/** An optional human-readable display name for the expert. */
|
|
6
|
+
displayName?: string;
|
|
7
|
+
/** An optional human-readable display description for the expert. */
|
|
8
|
+
displayDescription?: string;
|
|
5
9
|
/** A brief description of the expert's capabilities. */
|
|
6
10
|
description: string;
|
|
7
11
|
/** A list of MCP servers the expert can call, including their authorization types. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Corti from "../../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
|
+
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.mjs";
|
|
4
5
|
import { AgentsCreateAgentAgentType } from "../../types/AgentsCreateAgentAgentType.mjs";
|
|
5
6
|
import { AgentsCreateAgentExpertsItem } from "../../types/AgentsCreateAgentExpertsItem.mjs";
|
|
6
7
|
export declare const AgentsCreateAgent: core.serialization.Schema<serializers.AgentsCreateAgent.Raw, Omit<Corti.AgentsCreateAgent, "ephemeral">>;
|
|
@@ -11,5 +12,6 @@ export declare namespace AgentsCreateAgent {
|
|
|
11
12
|
systemPrompt?: string | null;
|
|
12
13
|
description: string;
|
|
13
14
|
experts?: AgentsCreateAgentExpertsItem.Raw[] | null;
|
|
15
|
+
mcpServers?: AgentsCreateMcpServer.Raw[] | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
|
+
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.mjs";
|
|
3
4
|
import { AgentsCreateAgentAgentType } from "../../types/AgentsCreateAgentAgentType.mjs";
|
|
4
5
|
import { AgentsCreateAgentExpertsItem } from "../../types/AgentsCreateAgentExpertsItem.mjs";
|
|
5
6
|
export const AgentsCreateAgent = core.serialization.object({
|
|
@@ -8,4 +9,5 @@ export const AgentsCreateAgent = core.serialization.object({
|
|
|
8
9
|
systemPrompt: core.serialization.string().optional(),
|
|
9
10
|
description: core.serialization.string(),
|
|
10
11
|
experts: core.serialization.list(AgentsCreateAgentExpertsItem).optional(),
|
|
12
|
+
mcpServers: core.serialization.list(AgentsCreateMcpServer).optional(),
|
|
11
13
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Corti from "../../../../../api/index.mjs";
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../../index.mjs";
|
|
4
|
+
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.mjs";
|
|
4
5
|
import { AgentsUpdateAgentExpertsItem } from "../../types/AgentsUpdateAgentExpertsItem.mjs";
|
|
5
6
|
export declare const AgentsUpdateAgent: core.serialization.Schema<serializers.AgentsUpdateAgent.Raw, Corti.AgentsUpdateAgent>;
|
|
6
7
|
export declare namespace AgentsUpdateAgent {
|
|
@@ -9,5 +10,6 @@ export declare namespace AgentsUpdateAgent {
|
|
|
9
10
|
systemPrompt?: string | null;
|
|
10
11
|
description?: string | null;
|
|
11
12
|
experts?: AgentsUpdateAgentExpertsItem.Raw[] | null;
|
|
13
|
+
mcpServers?: AgentsCreateMcpServer.Raw[] | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../../core/index.mjs";
|
|
3
|
+
import { AgentsCreateMcpServer } from "../../../../types/AgentsCreateMcpServer.mjs";
|
|
3
4
|
import { AgentsUpdateAgentExpertsItem } from "../../types/AgentsUpdateAgentExpertsItem.mjs";
|
|
4
5
|
export const AgentsUpdateAgent = core.serialization.object({
|
|
5
6
|
name: core.serialization.string().optional(),
|
|
6
7
|
systemPrompt: core.serialization.string().optional(),
|
|
7
8
|
description: core.serialization.string().optional(),
|
|
8
9
|
experts: core.serialization.list(AgentsUpdateAgentExpertsItem).optional(),
|
|
10
|
+
mcpServers: core.serialization.list(AgentsCreateMcpServer).optional(),
|
|
9
11
|
});
|
|
@@ -2,6 +2,7 @@ import type * as Corti from "../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
import { AgentsAgentExpertsItem } from "./AgentsAgentExpertsItem.mjs";
|
|
5
|
+
import { AgentsMcpServer } from "./AgentsMcpServer.mjs";
|
|
5
6
|
export declare const AgentsAgent: core.serialization.ObjectSchema<serializers.AgentsAgent.Raw, Corti.AgentsAgent>;
|
|
6
7
|
export declare namespace AgentsAgent {
|
|
7
8
|
interface Raw {
|
|
@@ -10,5 +11,6 @@ export declare namespace AgentsAgent {
|
|
|
10
11
|
description: string;
|
|
11
12
|
systemPrompt: string;
|
|
12
13
|
experts?: AgentsAgentExpertsItem.Raw[] | null;
|
|
14
|
+
mcpServers?: AgentsMcpServer.Raw[] | null;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
3
|
import { AgentsAgentExpertsItem } from "./AgentsAgentExpertsItem.mjs";
|
|
4
|
+
import { AgentsMcpServer } from "./AgentsMcpServer.mjs";
|
|
4
5
|
export const AgentsAgent = core.serialization.object({
|
|
5
6
|
id: core.serialization.string(),
|
|
6
7
|
name: core.serialization.string(),
|
|
7
8
|
description: core.serialization.string(),
|
|
8
9
|
systemPrompt: core.serialization.string(),
|
|
9
10
|
experts: core.serialization.list(AgentsAgentExpertsItem).optional(),
|
|
11
|
+
mcpServers: core.serialization.list(AgentsMcpServer).optional(),
|
|
10
12
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
export declare const AgentsMcpServerTransportType: core.serialization.Schema<serializers.AgentsMcpServerTransportType.Raw, Corti.AgentsMcpServerTransportType>;
|
|
5
5
|
export declare namespace AgentsMcpServerTransportType {
|
|
6
|
-
type Raw = "stdio" | "streamable_http";
|
|
6
|
+
type Raw = "stdio" | "streamable_http" | "sse";
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../core/index.mjs";
|
|
3
|
-
export const AgentsMcpServerTransportType = core.serialization.enum_(["stdio", "streamable_http"]);
|
|
3
|
+
export const AgentsMcpServerTransportType = core.serialization.enum_(["stdio", "streamable_http", "sse"]);
|
|
@@ -6,6 +6,8 @@ export declare const AgentsRegistryExpert: core.serialization.ObjectSchema<seria
|
|
|
6
6
|
export declare namespace AgentsRegistryExpert {
|
|
7
7
|
interface Raw {
|
|
8
8
|
name: string;
|
|
9
|
+
displayName?: string | null;
|
|
10
|
+
displayDescription?: string | null;
|
|
9
11
|
description: string;
|
|
10
12
|
mcpServers?: AgentsRegistryMcpServer.Raw[] | null;
|
|
11
13
|
}
|
|
@@ -3,6 +3,8 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import { AgentsRegistryMcpServer } from "./AgentsRegistryMcpServer.mjs";
|
|
4
4
|
export const AgentsRegistryExpert = core.serialization.object({
|
|
5
5
|
name: core.serialization.string(),
|
|
6
|
+
displayName: core.serialization.string().optional(),
|
|
7
|
+
displayDescription: core.serialization.string().optional(),
|
|
6
8
|
description: core.serialization.string(),
|
|
7
9
|
mcpServers: core.serialization.list(AgentsRegistryMcpServer).optional(),
|
|
8
10
|
});
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.0-rc";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.2.0-rc";
|