Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcp/ai-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-session": "^3.0.1",
"@metorial/mcp-sdk-utils": "^3.0.1",
"zod": "^3.22.4"
Expand Down
2 changes: 1 addition & 1 deletion mcp/anthropic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1",
"@metorial/openai-compatible": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion mcp/deepseek/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1",
"@metorial/openai-compatible": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion mcp/google/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1",
"@metorial/openai-compatible": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion mcp/langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1",
"zod": "^3.22.4"
Expand Down
4 changes: 2 additions & 2 deletions mcp/mcp-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
],
"dependencies": {
"@metorial/json-schema": "^3.0.0",
"@metorial/core": "^3.0.1",
"@metorial/generated": "^3.0.0",
"@metorial/core": "^3.0.2",
"@metorial/generated": "^3.0.2",
"@metorial/util-endpoint": "^3.0.0",
"@modelcontextprotocol/sdk": "^1.12.1",
"eventsource-parser": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion mcp/mistral/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion mcp/openai-compatible/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion mcp/openai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1",
"@metorial/openai-compatible": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion mcp/togetherai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1",
"@metorial/openai-compatible": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion mcp/xai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-sdk-utils": "^3.0.1",
"@metorial/mcp-session": "^3.0.1",
"@metorial/openai-compatible": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-sdk-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/core": "^3.0.1",
"@metorial/core": "^3.0.2",
"@metorial/mcp-session": "^3.0.1"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions sdk/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metorial/core",
"version": "3.0.1",
"version": "3.0.2",
"author": "Metorial Inc.",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -29,7 +29,7 @@
"dist"
],
"dependencies": {
"@metorial/generated": "^3.0.0",
"@metorial/generated": "^3.0.2",
"@metorial/util-endpoint": "^3.0.0"
},
"devDependencies": {
Expand All @@ -39,4 +39,4 @@
"typescript": "^5.1.6",
"vitest": "^0.34.6"
}
}
}
2 changes: 1 addition & 1 deletion sdk/gen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metorial/generated",
"version": "3.0.0",
"version": "3.0.2",
"author": "Metorial Inc.",
"license": "MIT",
"type": "module",
Expand Down
29 changes: 29 additions & 0 deletions sdk/gen/src/mt_2026_01_01_magnetar/endpoints/custom-providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ import {
import {
mapDashboardInstanceCustomProvidersCreateBody,
mapDashboardInstanceCustomProvidersCreateOutput,
mapDashboardInstanceCustomProvidersGetEnvOutput,
mapDashboardInstanceCustomProvidersGetOutput,
mapDashboardInstanceCustomProvidersListOutput,
mapDashboardInstanceCustomProvidersListQuery,
mapDashboardInstanceCustomProvidersUpdateBody,
mapDashboardInstanceCustomProvidersUpdateOutput,
type DashboardInstanceCustomProvidersCreateBody,
type DashboardInstanceCustomProvidersCreateOutput,
type DashboardInstanceCustomProvidersGetEnvOutput,
type DashboardInstanceCustomProvidersGetOutput,
type DashboardInstanceCustomProvidersListOutput,
type DashboardInstanceCustomProvidersListQuery,
Expand Down Expand Up @@ -104,6 +106,33 @@ export class MetorialCustomProvidersEndpoint {
);
}

/**
* @name Get custom provider environment
* @description Retrieves the environment variables for a specific custom provider by ID.
*
* @param `customProviderId` - string
* @param `opts` - { headers?: Record<string, string> }
* @returns DashboardInstanceCustomProvidersGetEnvOutput
* @see https://metorial.com/api
* @see https://metorial.com/docs
*/
getEnv(
customProviderId: string,
opts?: { headers?: Record<string, string> }
): Promise<DashboardInstanceCustomProvidersGetEnvOutput> {
let path = `custom-providers/${customProviderId}/env`;

let request = {
path,

...(opts?.headers ? { headers: opts.headers } : {})
} as any;

return this._get(request).transform(
mapDashboardInstanceCustomProvidersGetEnvOutput
);
}

/**
* @name Create custom provider
* @description Creates a new custom provider.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import {
import {
mapDashboardInstanceCustomProvidersVersionsCreateBody,
mapDashboardInstanceCustomProvidersVersionsCreateOutput,
mapDashboardInstanceCustomProvidersVersionsGetEnvOutput,
mapDashboardInstanceCustomProvidersVersionsGetOutput,
mapDashboardInstanceCustomProvidersVersionsListOutput,
mapDashboardInstanceCustomProvidersVersionsListQuery,
type DashboardInstanceCustomProvidersVersionsCreateBody,
type DashboardInstanceCustomProvidersVersionsCreateOutput,
type DashboardInstanceCustomProvidersVersionsGetEnvOutput,
type DashboardInstanceCustomProvidersVersionsGetOutput,
type DashboardInstanceCustomProvidersVersionsListOutput,
type DashboardInstanceCustomProvidersVersionsListQuery
Expand Down Expand Up @@ -102,6 +104,33 @@ export class MetorialCustomProvidersVersionsEndpoint {
);
}

/**
* @name Get custom provider version environment
* @description Retrieves the environment variables for a specific version of a custom provider.
*
* @param `customProviderVersionId` - string
* @param `opts` - { headers?: Record<string, string> }
* @returns DashboardInstanceCustomProvidersVersionsGetEnvOutput
* @see https://metorial.com/api
* @see https://metorial.com/docs
*/
getEnv(
customProviderVersionId: string,
opts?: { headers?: Record<string, string> }
): Promise<DashboardInstanceCustomProvidersVersionsGetEnvOutput> {
let path = `custom-provider-versions/${customProviderVersionId}/env`;

let request = {
path,

...(opts?.headers ? { headers: opts.headers } : {})
} as any;

return this._get(request).transform(
mapDashboardInstanceCustomProvidersVersionsGetEnvOutput
);
}

/**
* @name Create custom provider version
* @description Creates a new version for a custom provider.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ import {
import {
mapDashboardInstanceCustomProvidersCreateBody,
mapDashboardInstanceCustomProvidersCreateOutput,
mapDashboardInstanceCustomProvidersGetEnvOutput,
mapDashboardInstanceCustomProvidersGetOutput,
mapDashboardInstanceCustomProvidersListOutput,
mapDashboardInstanceCustomProvidersListQuery,
mapDashboardInstanceCustomProvidersUpdateBody,
mapDashboardInstanceCustomProvidersUpdateOutput,
type DashboardInstanceCustomProvidersCreateBody,
type DashboardInstanceCustomProvidersCreateOutput,
type DashboardInstanceCustomProvidersGetEnvOutput,
type DashboardInstanceCustomProvidersGetOutput,
type DashboardInstanceCustomProvidersListOutput,
type DashboardInstanceCustomProvidersListQuery,
Expand Down Expand Up @@ -108,6 +110,35 @@ export class MetorialDashboardInstanceCustomProvidersEndpoint {
);
}

/**
* @name Get custom provider environment
* @description Retrieves the environment variables for a specific custom provider by ID.
*
* @param `instanceId` - string
* @param `customProviderId` - string
* @param `opts` - { headers?: Record<string, string> }
* @returns DashboardInstanceCustomProvidersGetEnvOutput
* @see https://metorial.com/api
* @see https://metorial.com/docs
*/
getEnv(
instanceId: string,
customProviderId: string,
opts?: { headers?: Record<string, string> }
): Promise<DashboardInstanceCustomProvidersGetEnvOutput> {
let path = `dashboard/instances/${instanceId}/custom-providers/${customProviderId}/env`;

let request = {
path,

...(opts?.headers ? { headers: opts.headers } : {})
} as any;

return this._get(request).transform(
mapDashboardInstanceCustomProvidersGetEnvOutput
);
}

/**
* @name Create custom provider
* @description Creates a new custom provider.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import {
import {
mapDashboardInstanceCustomProvidersVersionsCreateBody,
mapDashboardInstanceCustomProvidersVersionsCreateOutput,
mapDashboardInstanceCustomProvidersVersionsGetEnvOutput,
mapDashboardInstanceCustomProvidersVersionsGetOutput,
mapDashboardInstanceCustomProvidersVersionsListOutput,
mapDashboardInstanceCustomProvidersVersionsListQuery,
type DashboardInstanceCustomProvidersVersionsCreateBody,
type DashboardInstanceCustomProvidersVersionsCreateOutput,
type DashboardInstanceCustomProvidersVersionsGetEnvOutput,
type DashboardInstanceCustomProvidersVersionsGetOutput,
type DashboardInstanceCustomProvidersVersionsListOutput,
type DashboardInstanceCustomProvidersVersionsListQuery
Expand Down Expand Up @@ -106,6 +108,35 @@ export class MetorialDashboardInstanceCustomProvidersVersionsEndpoint {
);
}

/**
* @name Get custom provider version environment
* @description Retrieves the environment variables for a specific version of a custom provider.
*
* @param `instanceId` - string
* @param `customProviderVersionId` - string
* @param `opts` - { headers?: Record<string, string> }
* @returns DashboardInstanceCustomProvidersVersionsGetEnvOutput
* @see https://metorial.com/api
* @see https://metorial.com/docs
*/
getEnv(
instanceId: string,
customProviderVersionId: string,
opts?: { headers?: Record<string, string> }
): Promise<DashboardInstanceCustomProvidersVersionsGetEnvOutput> {
let path = `dashboard/instances/${instanceId}/custom-provider-versions/${customProviderVersionId}/env`;

let request = {
path,

...(opts?.headers ? { headers: opts.headers } : {})
} as any;

return this._get(request).transform(
mapDashboardInstanceCustomProvidersVersionsGetEnvOutput
);
}

/**
* @name Create custom provider version
* @description Creates a new version for a custom provider.
Expand Down
Loading
Loading