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 .github/fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "truefoundry",
"version": "5.143.4"
"version": "5.171.3"
}
4 changes: 2 additions & 2 deletions .github/fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ groups:
ts-sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
version: 3.98.3
version: 3.107.6
output:
location: local-file-system
path: ../../packages/trueforge-sdk
Expand Down Expand Up @@ -104,7 +104,7 @@ groups:
python-sdk:
generators:
- name: fernapi/fern-python-sdk
version: 5.34.2
version: 5.41.7
output:
location: local-file-system
path: ../../python/trueforge_sdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export class AgentsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/agents/${core.url.encodePathParam(agent_id)}`,
`api/v1/agents/${core.url.encodePathParam(agent_id, errors.TrueForgeError)}`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -391,7 +391,7 @@ export class AgentsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/agents/${core.url.encodePathParam(agent_id)}`,
`api/v1/agents/${core.url.encodePathParam(agent_id, errors.TrueForgeError)}`,
),
method: "PUT",
headers: _headers,
Expand Down Expand Up @@ -508,7 +508,7 @@ export class AgentsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/agents/${core.url.encodePathParam(agent_id)}`,
`api/v1/agents/${core.url.encodePathParam(agent_id, errors.TrueForgeError)}`,
),
method: "DELETE",
headers: _headers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class AgentsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/agents/${core.url.encodePathParam(agent_id)}/code-snippets`,
`api/v1/agents/${core.url.encodePathParam(agent_id, errors.TrueForgeError)}/code-snippets`,
),
method: "GET",
headers: _headers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class McpServersClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/mcp-servers/${core.url.encodePathParam(name)}`,
`api/v1/mcp-servers/${core.url.encodePathParam(name, errors.TrueForgeError)}`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -242,7 +242,7 @@ export class McpServersClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/mcp-servers/${core.url.encodePathParam(name)}/authorize`,
`api/v1/mcp-servers/${core.url.encodePathParam(name, errors.TrueForgeError)}/authorize`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -378,7 +378,7 @@ export class McpServersClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/mcp-servers/${core.url.encodePathParam(name)}/authorize`,
`api/v1/mcp-servers/${core.url.encodePathParam(name, errors.TrueForgeError)}/authorize`,
),
method: "DELETE",
headers: _headers,
Expand Down Expand Up @@ -469,7 +469,7 @@ export class McpServersClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/mcp-servers/${core.url.encodePathParam(name)}/tools`,
`api/v1/mcp-servers/${core.url.encodePathParam(name, errors.TrueForgeError)}/tools`,
),
method: "GET",
headers: _headers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ export class SandboxEnvironmentsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sandbox-environments/${core.url.encodePathParam(name)}`,
`api/v1/sandbox-environments/${core.url.encodePathParam(name, errors.TrueForgeError)}`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -606,7 +606,7 @@ export class SandboxEnvironmentsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sandbox-environments/${core.url.encodePathParam(name)}`,
`api/v1/sandbox-environments/${core.url.encodePathParam(name, errors.TrueForgeError)}`,
),
method: "DELETE",
headers: _headers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ export class SchedulesClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/schedules/${core.url.encodePathParam(schedule_id)}`,
`api/v1/schedules/${core.url.encodePathParam(schedule_id, errors.TrueForgeError)}`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -553,7 +553,7 @@ export class SchedulesClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/schedules/${core.url.encodePathParam(schedule_id)}`,
`api/v1/schedules/${core.url.encodePathParam(schedule_id, errors.TrueForgeError)}`,
),
method: "PUT",
headers: _headers,
Expand Down Expand Up @@ -686,7 +686,7 @@ export class SchedulesClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/schedules/${core.url.encodePathParam(schedule_id)}`,
`api/v1/schedules/${core.url.encodePathParam(schedule_id, errors.TrueForgeError)}`,
),
method: "DELETE",
headers: _headers,
Expand Down Expand Up @@ -791,7 +791,7 @@ export class SchedulesClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/schedules/${core.url.encodePathParam(schedule_id)}/runs`,
`api/v1/schedules/${core.url.encodePathParam(schedule_id, errors.TrueForgeError)}/runs`,
),
method: "GET",
headers: _headers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -407,7 +407,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}`,
),
method: "DELETE",
headers: _headers,
Expand Down Expand Up @@ -492,7 +492,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}`,
),
method: "PATCH",
headers: _headers,
Expand Down Expand Up @@ -629,7 +629,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/cancel`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/cancel`,
),
method: "POST",
headers: _headers,
Expand Down Expand Up @@ -757,7 +757,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/events`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/events`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -889,7 +889,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -1011,7 +1011,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns`,
),
method: "POST",
headers: _headers,
Expand Down Expand Up @@ -1202,7 +1202,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns`,
),
method: "POST",
headers: _headers,
Expand Down Expand Up @@ -1374,7 +1374,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns/${core.url.encodePathParam(turn_id)}`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns/${core.url.encodePathParam(turn_id, errors.TrueForgeError)}`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -1483,7 +1483,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns/${core.url.encodePathParam(turn_id)}/download-sandbox-file`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns/${core.url.encodePathParam(turn_id, errors.TrueForgeError)}/download-sandbox-file`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -1650,7 +1650,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns/${core.url.encodePathParam(turn_id)}/events`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns/${core.url.encodePathParam(turn_id, errors.TrueForgeError)}/events`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -1791,7 +1791,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns/${core.url.encodePathParam(turn_id)}/events`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns/${core.url.encodePathParam(turn_id, errors.TrueForgeError)}/events`,
),
method: "POST",
headers: _headers,
Expand Down Expand Up @@ -1923,7 +1923,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns/${core.url.encodePathParam(turn_id)}/subscribe`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns/${core.url.encodePathParam(turn_id, errors.TrueForgeError)}/subscribe`,
),
method: "GET",
headers: _headers,
Expand All @@ -1944,7 +1944,7 @@ export class SessionsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/sessions/${core.url.encodePathParam(session_id)}/turns/${core.url.encodePathParam(turn_id)}/subscribe`,
`api/v1/sessions/${core.url.encodePathParam(session_id, errors.TrueForgeError)}/turns/${core.url.encodePathParam(turn_id, errors.TrueForgeError)}/subscribe`,
),
method: "GET",
headers: { ..._headers, "Last-Event-ID": lastEventId },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export class McpServersClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/settings/mcp-servers/${core.url.encodePathParam(name)}`,
`api/v1/settings/mcp-servers/${core.url.encodePathParam(name, errors.TrueForgeError)}`,
),
method: "GET",
headers: _headers,
Expand Down Expand Up @@ -501,7 +501,7 @@ export class McpServersClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/settings/mcp-servers/${core.url.encodePathParam(name)}`,
`api/v1/settings/mcp-servers/${core.url.encodePathParam(name, errors.TrueForgeError)}`,
),
method: "DELETE",
headers: _headers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ export class ModelProvidersClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/settings/model-providers/${core.url.encodePathParam(name)}`,
`api/v1/settings/model-providers/${core.url.encodePathParam(name, errors.TrueForgeError)}`,
),
method: "DELETE",
headers: _headers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export class SkillsClient {
url: core.url.join(
(await core.Supplier.get(this._options.baseUrl)) ??
(await core.Supplier.get(this._options.environment)),
`api/v1/settings/skills/${core.url.encodePathParam(name)}`,
`api/v1/settings/skills/${core.url.encodePathParam(name, errors.TrueForgeError)}`,
),
method: "DELETE",
headers: _headers,
Expand Down
2 changes: 1 addition & 1 deletion packages/trueforge-sdk/src/api/types/AvailableModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export interface AvailableModel {
name: string;
properties: TrueForge.ModelProperties;
provider: TrueForge.AvailableModelProvider;
/** Warning for not so capable models. */
/** Set when reasoning effort or context length is not configured; may affect TrueForge performance. */
warning?: string;
}
Loading
Loading