Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

Trigger Fern SDK regeneration in CI. (#19)

debajyoti-truefoundry744d5f721dcc
diff --git a/fern/README.md b/fern/README.md
new file mode 100644
index 000000000..81b418871
--- /dev/null
+++ b/fern/README.md
@@ -0,0 +1,6 @@
+# Fern
+
+OpenAPI and the TypeScript SDK are generated in CI. Edit server routes, not
+`openapi/openapi.json` or `packages/sdk`.
+
+Bump: 1
diff --git a/fern/openapi/openapi.json b/fern/openapi/openapi.json
index c220ae119..b8db3dd3c 100644
--- a/fern/openapi/openapi.json
+++ b/fern/openapi/openapi.json
@@ -2649,22 +2649,24 @@
}
},
{
- "description": "Inclusive lower bound on `created_at` (ISO-8601).",
+ "description": "Inclusive lower bound on `created_at` (ISO-8601 / RFC 3339).",
"in": "query",
"name": "start_timestamp",
"required": false,
"schema": {
- "description": "Inclusive lower bound on `created_at` (ISO-8601).",
+ "description": "Inclusive lower bound on `created_at` (ISO-8601 / RFC 3339).",
+ "format": "date-time",
"type": "string"
}
},
{
- "description": "Inclusive upper bound on `created_at` (ISO-8601).",
+ "description": "Inclusive upper bound on `created_at` (ISO-8601 / RFC 3339).",
"in": "query",
"name": "end_timestamp",
"required": false,
"schema": {
- "description": "Inclusive upper bound on `created_at` (ISO-8601).",
+ "description": "Inclusive upper bound on `created_at` (ISO-8601 / RFC 3339).",
+ "format": "date-time",
"type": "string"
}
}
diff --git a/packages/sdk/.fern/metadata.json b/packages/sdk/.fern/metadata.json
index 56a137d56..1159405c8 100644
--- a/packages/sdk/.fern/metadata.json
+++ b/packages/sdk/.fern/metadata.json
@@ -26,8 +26,8 @@
"streamType": "web",
"useDefaultRequestParameterValues": true
},
- "originGitCommit": "124289a5430e1855ea5559ea906e0e07e8dfb0e1",
- "originGitCommitIsDirty": false,
+ "originGitCommit": "3f8a9c36b25d9afae08083043597d641199b100c",
+ "originGitCommitIsDirty": true,
"invokedBy": "ci",
"requestedVersion": "0.0.0",
"ciProvider": "github",
diff --git a/packages/sdk/src/api/resources/sessions/client/Client.ts b/packages/sdk/src/api/resources/sessions/client/Client.ts
index 29084ee95..fae1c5f95 100644
--- a/packages/sdk/src/api/resources/sessions/client/Client.ts
+++ b/packages/sdk/src/api/resources/sessions/client/Client.ts
@@ -57,8 +57,8 @@ export class SessionsClient {
})
: undefined,
page_token: pageToken,
- start_timestamp: startTimestamp,
- end_timestamp: endTimestamp,
+ start_timestamp: startTimestamp != null ? startTimestamp?.toISOString() : undefined,
+ end_timestamp: endTimestamp != null ? endTimestamp?.toISOString() : undefined,
};
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
this._options?.headers,
diff --git a/packages/sdk/src/api/resources/sessions/client/requests/ListSessionsRequest.ts b/packages/sdk/src/api/resources/sessions/client/requests/ListSessionsRequest.ts
index bdc6cb22b..adac97067 100644
--- a/packages/sdk/src/api/resources/sessions/client/requests/ListSessionsRequest.ts
+++ b/packages/sdk/src/api/resources/sessions/client/requests/ListSessionsRequest.ts
@@ -13,8 +13,8 @@ export interface ListSessionsRequest {
order?: TrueHarness.ListSessionsOrder;
/** Opaque token from a previous response `next_page_token`. */
pageToken?: string;
- /** Inclusive lower bound on `created_at` (ISO-8601). */
- startTimestamp?: string;
- /** Inclusive upper bound on `created_at` (ISO-8601). */
- endTimestamp?: string;
+ /** Inclusive lower bound on `created_at` (ISO-8601 / RFC 3339). */
+ startTimestamp?: Date;
+ /** Inclusive upper bound on `created_at` (ISO-8601 / RFC 3339). */
+ endTimestamp?: Date;
}