@runtypelabs/sdk 6.6.3 → 7.0.0
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/index.cjs +8 -3
- package/dist/index.d.cts +350 -33
- package/dist/index.d.ts +350 -33
- package/dist/index.mjs +8 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6717,6 +6717,8 @@ interface paths {
|
|
|
6717
6717
|
/** @enum {string} */
|
|
6718
6718
|
type: "reasoning";
|
|
6719
6719
|
})[];
|
|
6720
|
+
/** @description The text a human actually saw for this message, when it differs from `content`. Stored beside the model content and returned by the history routes; NEVER read by execution, and never treated as authority. Send it for a message whose visible form is not its model form (a structured payload, a hidden `llmContent` variant, a directive rendered as UI). Absent means no projection was captured; an empty string is a deliberate empty projection, and the two are distinguished on read. For a message id the conversation already stores, only this field is taken — the stored model content wins — which makes a re-sent turn an idempotent repair path for a display-projection finalization that never landed. Plain text or Markdown, never rendered HTML. */
|
|
6721
|
+
displayContent?: string;
|
|
6720
6722
|
id?: string;
|
|
6721
6723
|
/** @enum {string} */
|
|
6722
6724
|
role: "user" | "assistant" | "system";
|
|
@@ -6824,14 +6826,16 @@ interface paths {
|
|
|
6824
6826
|
};
|
|
6825
6827
|
/**
|
|
6826
6828
|
* List the visitor's own conversations
|
|
6827
|
-
* @description List conversations belonging to the calling browser's anonymous visitor, newest first, cursor-paginated. Requires both a live `sessionId` and the `X-Visitor-Token` secret from `/client/init`; the site-wide client token alone can never reach this route.
|
|
6829
|
+
* @description List conversations belonging to the calling browser's anonymous visitor, newest first, cursor-paginated. Requires both a live `sessionId` and the `X-Visitor-Token` secret from `/client/init`; the site-wide client token alone can never reach this route. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
|
|
6828
6830
|
*/
|
|
6829
6831
|
get: {
|
|
6830
6832
|
parameters: {
|
|
6831
6833
|
query: {
|
|
6832
6834
|
/** @description Client session id from /client/init. */
|
|
6833
6835
|
sessionId: string;
|
|
6834
|
-
/** @description Only return conversations for this flow or agent id. */
|
|
6836
|
+
/** @description Only return conversations for this flow or agent id. Pass the `targetId` returned by `/client/init`. */
|
|
6837
|
+
targetId?: string;
|
|
6838
|
+
/** @description Deprecated alias of `targetId`. Sending both with different values is rejected 400; sending both with the same value is accepted. */
|
|
6835
6839
|
flowId?: string;
|
|
6836
6840
|
/** @description Opaque cursor returned as `nextCursor` by a previous page. Omit for the first page. */
|
|
6837
6841
|
cursor?: string;
|
|
@@ -6860,12 +6864,16 @@ interface paths {
|
|
|
6860
6864
|
data: {
|
|
6861
6865
|
/** @description ISO-8601 timestamp of the first turn, i.e. when the conversation was created. */
|
|
6862
6866
|
createdAt: string;
|
|
6863
|
-
/** @description
|
|
6867
|
+
/** @description Deprecated alias of `targetId`, carrying the same value. Retained for clients written before the rename; read `targetId` instead. */
|
|
6864
6868
|
flowId: string | null;
|
|
6865
6869
|
/** @description Conversation id. */
|
|
6866
6870
|
id: string;
|
|
6867
6871
|
/** @description Number of stored messages. Falls back to the length of the stored transcript when the conversation predates the counter. */
|
|
6868
6872
|
messageCount: number;
|
|
6873
|
+
/** @description Plain-text excerpt of the conversation's most recent visitor-visible message, bounded to 140 Unicode code points, for a scannable history list. Derived from `displayContent` when the message has one and never from opaque model-only content, so it cannot become the one place internals leak. Null when the latest visible message has no text — including when its captured projection is deliberately empty. */
|
|
6874
|
+
preview: string | null;
|
|
6875
|
+
/** @description The flow or agent this conversation ran against, and the exact value to pass as the `targetId` list/delete filter. Null for a conversation stored without one. Canonical replacement for `flowId`. */
|
|
6876
|
+
targetId: string | null;
|
|
6869
6877
|
/** @description Display title. Uses a timestamp fallback unless conversation-title generation is enabled and produces a title from the opening exchange. */
|
|
6870
6878
|
title: string;
|
|
6871
6879
|
/** @description ISO-8601 timestamp of the most recent write. Sort key for "resume where I left off" in a widget. */
|
|
@@ -6876,7 +6884,7 @@ interface paths {
|
|
|
6876
6884
|
};
|
|
6877
6885
|
};
|
|
6878
6886
|
};
|
|
6879
|
-
/** @description Missing or malformed `sessionId`,
|
|
6887
|
+
/** @description Missing or malformed `sessionId`, an undecodable `cursor`, `targetId` or `flowId` supplied empty (`invalid_target_filter`), or the two supplied with different values (`conflicting_target_filter`) */
|
|
6880
6888
|
400: {
|
|
6881
6889
|
headers: {
|
|
6882
6890
|
[name: string]: unknown;
|
|
@@ -6921,19 +6929,32 @@ interface paths {
|
|
|
6921
6929
|
"application/json": components["schemas"]["Error"];
|
|
6922
6930
|
};
|
|
6923
6931
|
};
|
|
6932
|
+
/** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
|
|
6933
|
+
503: {
|
|
6934
|
+
headers: {
|
|
6935
|
+
[name: string]: unknown;
|
|
6936
|
+
};
|
|
6937
|
+
content: {
|
|
6938
|
+
"application/json": components["schemas"]["Error"];
|
|
6939
|
+
};
|
|
6940
|
+
};
|
|
6924
6941
|
};
|
|
6925
6942
|
};
|
|
6926
6943
|
put?: never;
|
|
6927
6944
|
post?: never;
|
|
6928
6945
|
/**
|
|
6929
6946
|
* Delete all of the visitor's own conversations
|
|
6930
|
-
* @description Permanently delete every conversation belonging to the calling visitor, with their transcripts. Intended for a widget's "clear my history" control and for host-site privacy-erasure hooks.
|
|
6947
|
+
* @description Permanently delete every conversation belonging to the calling visitor, with their transcripts. Intended for a widget's "clear my history" control and for host-site privacy-erasure hooks. Pass `targetId` to delete only the conversations a target-scoped UI actually listed; OMITTING it deliberately means every conversation in the authorized visitor scope, across all targets. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
|
|
6931
6948
|
*/
|
|
6932
6949
|
delete: {
|
|
6933
6950
|
parameters: {
|
|
6934
6951
|
query: {
|
|
6935
6952
|
/** @description Client session id from /client/init. */
|
|
6936
6953
|
sessionId: string;
|
|
6954
|
+
/** @description Only delete conversations for this flow or agent id, matching the list route's filter. Omit to delete the visitor's entire authorized history. A widget showing one target's history should always send this, so "clear my history" cannot remove conversations the visitor was never shown. */
|
|
6955
|
+
targetId?: string;
|
|
6956
|
+
/** @description Deprecated alias of `targetId`. Sending both with different values is rejected 400; sending both with the same value is accepted. */
|
|
6957
|
+
flowId?: string;
|
|
6937
6958
|
};
|
|
6938
6959
|
header: {
|
|
6939
6960
|
/** @description The browser's anonymous visitor secret (`cvt_…`) returned by `/client/init`. It is what scopes the request to one visitor's own conversations, so a request without it is refused. Sent as a header so it never lands in access logs or `Referer`. */
|
|
@@ -6946,7 +6967,7 @@ interface paths {
|
|
|
6946
6967
|
};
|
|
6947
6968
|
requestBody?: never;
|
|
6948
6969
|
responses: {
|
|
6949
|
-
/** @description Deleted. `deleted` counts the rows removed and is 0 when the visitor had no history. */
|
|
6970
|
+
/** @description Deleted. `deleted` counts the rows removed and is 0 when the visitor had no history in scope. */
|
|
6950
6971
|
200: {
|
|
6951
6972
|
headers: {
|
|
6952
6973
|
[name: string]: unknown;
|
|
@@ -6958,7 +6979,7 @@ interface paths {
|
|
|
6958
6979
|
};
|
|
6959
6980
|
};
|
|
6960
6981
|
};
|
|
6961
|
-
/** @description Missing or malformed `sessionId` */
|
|
6982
|
+
/** @description Missing or malformed `sessionId`, `targetId` or `flowId` supplied empty (`invalid_target_filter`), or the two supplied with different values (`conflicting_target_filter`) */
|
|
6962
6983
|
400: {
|
|
6963
6984
|
headers: {
|
|
6964
6985
|
[name: string]: unknown;
|
|
@@ -7003,6 +7024,15 @@ interface paths {
|
|
|
7003
7024
|
"application/json": components["schemas"]["Error"];
|
|
7004
7025
|
};
|
|
7005
7026
|
};
|
|
7027
|
+
/** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
|
|
7028
|
+
503: {
|
|
7029
|
+
headers: {
|
|
7030
|
+
[name: string]: unknown;
|
|
7031
|
+
};
|
|
7032
|
+
content: {
|
|
7033
|
+
"application/json": components["schemas"]["Error"];
|
|
7034
|
+
};
|
|
7035
|
+
};
|
|
7006
7036
|
};
|
|
7007
7037
|
};
|
|
7008
7038
|
options?: never;
|
|
@@ -7019,7 +7049,7 @@ interface paths {
|
|
|
7019
7049
|
};
|
|
7020
7050
|
/**
|
|
7021
7051
|
* Read one of the visitor's own conversations
|
|
7022
|
-
* @description Return a single conversation with its message transcript. Answers 404 (never 403) for a conversation the caller does not own, so the route cannot be used to probe for other visitors' conversations.
|
|
7052
|
+
* @description Return a single conversation with its message transcript. Answers 404 (never 403) for a conversation the caller does not own, so the route cannot be used to probe for other visitors' conversations. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
|
|
7023
7053
|
*/
|
|
7024
7054
|
get: {
|
|
7025
7055
|
parameters: {
|
|
@@ -7052,9 +7082,11 @@ interface paths {
|
|
|
7052
7082
|
};
|
|
7053
7083
|
content: {
|
|
7054
7084
|
"application/json": {
|
|
7085
|
+
/** @description Opaque change token for this conversation. Compare for equality only — it is unordered and unparseable. It changes on every transcript mutation, including a display-projection finalization that deliberately leaves `updatedAt` untouched, so a client can tell whether a transcript it cached is still current. The same token is returned by `/client/init` and by the display-projections route. */
|
|
7086
|
+
conversationRevision: string;
|
|
7055
7087
|
/** @description ISO-8601 timestamp of the first turn, i.e. when the conversation was created. */
|
|
7056
7088
|
createdAt: string;
|
|
7057
|
-
/** @description
|
|
7089
|
+
/** @description Deprecated alias of `targetId`, carrying the same value. Retained for clients written before the rename; read `targetId` instead. */
|
|
7058
7090
|
flowId: string | null;
|
|
7059
7091
|
/** @description Conversation id. */
|
|
7060
7092
|
id: string;
|
|
@@ -7062,8 +7094,12 @@ interface paths {
|
|
|
7062
7094
|
messageCount: number;
|
|
7063
7095
|
/** @description The stored transcript, oldest first. Renderable fields only: tool invocations and other execution internals are not exposed here. */
|
|
7064
7096
|
messages: {
|
|
7065
|
-
/** @description
|
|
7097
|
+
/** @description The MODEL channel content, exactly as stored: a plain string, or an array of multi-modal content parts. Absent on a stored message that carried no content, and deliberately WITHHELD when the message has no `displayContent` and its stored content is not plainly render-safe — opaque structure is not handed to a renderer that would show a visitor internals. Prefer `displayContent` for rendering whenever it is present. */
|
|
7066
7098
|
content?: unknown;
|
|
7099
|
+
/** @description Whether this message has a visitor-renderable form at all — either a captured `displayContent`, or stored content that is plainly render-safe. False means the message exists in the transcript but its visible form cannot be reconstructed (a legacy message whose content was model-only); render a placeholder rather than anything derived from `content`. */
|
|
7100
|
+
displayAvailable: boolean;
|
|
7101
|
+
/** @description The text a human actually saw for this message, as captured by the client. Present only when a projection was recorded; an empty string is a deliberate empty projection and is NOT the same as absence. Render this in preference to `content`. Plain text or Markdown, never rendered HTML, and never model input. */
|
|
7102
|
+
displayContent?: string;
|
|
7067
7103
|
/** @description Client-supplied or server-minted message id. */
|
|
7068
7104
|
id: string;
|
|
7069
7105
|
/** @description Message author, typically 'user' or 'assistant'. */
|
|
@@ -7073,6 +7109,10 @@ interface paths {
|
|
|
7073
7109
|
}[];
|
|
7074
7110
|
/** @description Opaque cursor for the next older message page, or null when the beginning is reached. */
|
|
7075
7111
|
nextMessageCursor: string | null;
|
|
7112
|
+
/** @description Plain-text excerpt of the conversation's most recent visitor-visible message, bounded to 140 Unicode code points, for a scannable history list. Derived from `displayContent` when the message has one and never from opaque model-only content, so it cannot become the one place internals leak. Null when the latest visible message has no text — including when its captured projection is deliberately empty. */
|
|
7113
|
+
preview: string | null;
|
|
7114
|
+
/** @description The flow or agent this conversation ran against, and the exact value to pass as the `targetId` list/delete filter. Null for a conversation stored without one. Canonical replacement for `flowId`. */
|
|
7115
|
+
targetId: string | null;
|
|
7076
7116
|
/** @description Display title. Uses a timestamp fallback unless conversation-title generation is enabled and produces a title from the opening exchange. */
|
|
7077
7117
|
title: string;
|
|
7078
7118
|
/** @description ISO-8601 timestamp of the most recent write. Sort key for "resume where I left off" in a widget. */
|
|
@@ -7134,13 +7174,22 @@ interface paths {
|
|
|
7134
7174
|
"application/json": components["schemas"]["Error"];
|
|
7135
7175
|
};
|
|
7136
7176
|
};
|
|
7177
|
+
/** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
|
|
7178
|
+
503: {
|
|
7179
|
+
headers: {
|
|
7180
|
+
[name: string]: unknown;
|
|
7181
|
+
};
|
|
7182
|
+
content: {
|
|
7183
|
+
"application/json": components["schemas"]["Error"];
|
|
7184
|
+
};
|
|
7185
|
+
};
|
|
7137
7186
|
};
|
|
7138
7187
|
};
|
|
7139
7188
|
put?: never;
|
|
7140
7189
|
post?: never;
|
|
7141
7190
|
/**
|
|
7142
7191
|
* Delete one of the visitor's own conversations
|
|
7143
|
-
* @description Permanently delete a conversation and its stored transcript. Answers 404 (never 403) for a conversation the caller does not own.
|
|
7192
|
+
* @description Permanently delete a conversation and its stored transcript. Answers 404 (never 403) for a conversation the caller does not own. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
|
|
7144
7193
|
*/
|
|
7145
7194
|
delete: {
|
|
7146
7195
|
parameters: {
|
|
@@ -7228,6 +7277,15 @@ interface paths {
|
|
|
7228
7277
|
"application/json": components["schemas"]["Error"];
|
|
7229
7278
|
};
|
|
7230
7279
|
};
|
|
7280
|
+
/** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
|
|
7281
|
+
503: {
|
|
7282
|
+
headers: {
|
|
7283
|
+
[name: string]: unknown;
|
|
7284
|
+
};
|
|
7285
|
+
content: {
|
|
7286
|
+
"application/json": components["schemas"]["Error"];
|
|
7287
|
+
};
|
|
7288
|
+
};
|
|
7231
7289
|
};
|
|
7232
7290
|
};
|
|
7233
7291
|
options?: never;
|
|
@@ -7235,6 +7293,134 @@ interface paths {
|
|
|
7235
7293
|
patch?: never;
|
|
7236
7294
|
trace?: never;
|
|
7237
7295
|
};
|
|
7296
|
+
"/v1/client/conversations/{id}/display-projections": {
|
|
7297
|
+
parameters: {
|
|
7298
|
+
query?: never;
|
|
7299
|
+
header?: never;
|
|
7300
|
+
path?: never;
|
|
7301
|
+
cookie?: never;
|
|
7302
|
+
};
|
|
7303
|
+
get?: never;
|
|
7304
|
+
put?: never;
|
|
7305
|
+
post?: never;
|
|
7306
|
+
delete?: never;
|
|
7307
|
+
options?: never;
|
|
7308
|
+
head?: never;
|
|
7309
|
+
/**
|
|
7310
|
+
* Finalize the visible text of stored messages
|
|
7311
|
+
* @description Record what a human actually saw for messages this conversation already stores. A chat client can only compute an assistant message's final visible text after the stream closes and its own parsers, postprocessors, and plugins have run; this is the channel for sending that back, so the transcript reopens showing what the visitor read rather than the model-channel payload. It is projection-only: it can fill or replace `displayContent` and nothing else, never creating a message or touching model content, role, ordering, timestamps, count, ownership, or title. The batch applies all-or-nothing, and the write is guarded by a compare-and-swap on `conversationRevision`, so it can never overwrite a turn the chat path persisted concurrently. Replaying an identical projection is a no-op that performs no write and returns the same `conversationRevision`. A genuinely changed projection advances the revision and refreshes the list `preview`, but deliberately does NOT change `updatedAt` — a closing tab must not reorder the visitor's history. Authorization is exact: the live session must be bound to this conversation, on top of the visitor secret. Small and bounded on purpose, so a client can send it with `keepalive: true` on page exit.
|
|
7312
|
+
*/
|
|
7313
|
+
patch: {
|
|
7314
|
+
parameters: {
|
|
7315
|
+
query: {
|
|
7316
|
+
/** @description Client session id from /client/init. */
|
|
7317
|
+
sessionId: string;
|
|
7318
|
+
};
|
|
7319
|
+
header: {
|
|
7320
|
+
/** @description The browser's anonymous visitor secret (`cvt_…`) returned by `/client/init`. It is what scopes the request to one visitor's own conversations, so a request without it is refused. Sent as a header so it never lands in access logs or `Referer`. */
|
|
7321
|
+
"x-visitor-token": string;
|
|
7322
|
+
/** @description Optional fresh hosted end-user identity proof. When admitted and already bound to the presented visitor, expands the request from this exact browser to sibling visitors for the same verified person. Without it, even a previously bound visitor remains exact-browser scoped. */
|
|
7323
|
+
"x-identity-proof"?: string;
|
|
7324
|
+
};
|
|
7325
|
+
path: {
|
|
7326
|
+
/** @description Conversation id — must be this session’s own. */
|
|
7327
|
+
id: string;
|
|
7328
|
+
};
|
|
7329
|
+
cookie?: never;
|
|
7330
|
+
};
|
|
7331
|
+
requestBody: {
|
|
7332
|
+
content: {
|
|
7333
|
+
"application/json": {
|
|
7334
|
+
/** @description Projections to finalize, applied atomically. Total `displayContent` across the batch is capped at 49152 characters so the request fits the browser keepalive budget. */
|
|
7335
|
+
messages: {
|
|
7336
|
+
/** @description The final text a human saw for that message. An empty string is a valid, deliberate empty projection. */
|
|
7337
|
+
displayContent: string;
|
|
7338
|
+
/** @description Id of a message this conversation ALREADY stores. An id it does not hold fails the whole batch. */
|
|
7339
|
+
id: string;
|
|
7340
|
+
}[];
|
|
7341
|
+
};
|
|
7342
|
+
};
|
|
7343
|
+
};
|
|
7344
|
+
responses: {
|
|
7345
|
+
/** @description Projections finalized (or already current). */
|
|
7346
|
+
200: {
|
|
7347
|
+
headers: {
|
|
7348
|
+
[name: string]: unknown;
|
|
7349
|
+
};
|
|
7350
|
+
content: {
|
|
7351
|
+
"application/json": {
|
|
7352
|
+
/** @description The conversation's change token after this call. Unchanged when the projections were already current, so a client can replay a lost finalization safely. Compare for equality only. */
|
|
7353
|
+
conversationRevision: string;
|
|
7354
|
+
};
|
|
7355
|
+
};
|
|
7356
|
+
};
|
|
7357
|
+
/** @description Missing or malformed `sessionId`, or a body that exceeds the per-message / per-batch projection bounds */
|
|
7358
|
+
400: {
|
|
7359
|
+
headers: {
|
|
7360
|
+
[name: string]: unknown;
|
|
7361
|
+
};
|
|
7362
|
+
content: {
|
|
7363
|
+
"application/json": components["schemas"]["Error"];
|
|
7364
|
+
};
|
|
7365
|
+
};
|
|
7366
|
+
/** @description Session expired, or missing/invalid visitor token */
|
|
7367
|
+
401: {
|
|
7368
|
+
headers: {
|
|
7369
|
+
[name: string]: unknown;
|
|
7370
|
+
};
|
|
7371
|
+
content: {
|
|
7372
|
+
"application/json": components["schemas"]["Error"];
|
|
7373
|
+
};
|
|
7374
|
+
};
|
|
7375
|
+
/** @description Client token inactive or origin mismatch */
|
|
7376
|
+
403: {
|
|
7377
|
+
headers: {
|
|
7378
|
+
[name: string]: unknown;
|
|
7379
|
+
};
|
|
7380
|
+
content: {
|
|
7381
|
+
"application/json": components["schemas"]["Error"];
|
|
7382
|
+
};
|
|
7383
|
+
};
|
|
7384
|
+
/** @description This session is not on that conversation, the visitor does not own it, or the batch named a message the conversation does not hold. One non-enumerating answer covers all three: the route never confirms which. */
|
|
7385
|
+
404: {
|
|
7386
|
+
headers: {
|
|
7387
|
+
[name: string]: unknown;
|
|
7388
|
+
};
|
|
7389
|
+
content: {
|
|
7390
|
+
"application/json": components["schemas"]["Error"];
|
|
7391
|
+
};
|
|
7392
|
+
};
|
|
7393
|
+
/** @description The conversation changed while the projections were being written and the compare-and-swap kept losing (`conversation_modified`). Nothing was written. Non-fatal: retry, or ignore it and let the next chat turn re-carry the projections through the repair path. */
|
|
7394
|
+
409: {
|
|
7395
|
+
headers: {
|
|
7396
|
+
[name: string]: unknown;
|
|
7397
|
+
};
|
|
7398
|
+
content: {
|
|
7399
|
+
"application/json": components["schemas"]["Error"];
|
|
7400
|
+
};
|
|
7401
|
+
};
|
|
7402
|
+
/** @description Rate limit exceeded for this client token or session. The response carries a `Retry-After` header with the advisory wait in seconds. */
|
|
7403
|
+
429: {
|
|
7404
|
+
headers: {
|
|
7405
|
+
[name: string]: unknown;
|
|
7406
|
+
};
|
|
7407
|
+
content: {
|
|
7408
|
+
"application/json": components["schemas"]["Error"];
|
|
7409
|
+
};
|
|
7410
|
+
};
|
|
7411
|
+
/** @description Internal server error */
|
|
7412
|
+
500: {
|
|
7413
|
+
headers: {
|
|
7414
|
+
[name: string]: unknown;
|
|
7415
|
+
};
|
|
7416
|
+
content: {
|
|
7417
|
+
"application/json": components["schemas"]["Error"];
|
|
7418
|
+
};
|
|
7419
|
+
};
|
|
7420
|
+
};
|
|
7421
|
+
};
|
|
7422
|
+
trace?: never;
|
|
7423
|
+
};
|
|
7238
7424
|
"/v1/client/feedback": {
|
|
7239
7425
|
parameters: {
|
|
7240
7426
|
query?: never;
|
|
@@ -7427,9 +7613,13 @@ interface paths {
|
|
|
7427
7613
|
/** @description Opening message to render before the visitor's first turn. Null when the client token sets none. */
|
|
7428
7614
|
welcomeMessage: string | null;
|
|
7429
7615
|
};
|
|
7616
|
+
/** @description The durable conversation record this session reads and writes. Returned by every successful branch — a fresh mint, a legacy `sessionId` replay, and a `conversationId` resume all report the record they landed on. Persist THIS rather than the session id: a session is short-lived, the conversation is what a returning browser reopens. It is not a credential; history access is still scoped by the visitor secret. */
|
|
7617
|
+
conversationId: string;
|
|
7618
|
+
/** @description Opaque change token for `conversationId` at the moment this session was created. Compare it for equality and nothing else — it is unordered and unparseable. It changes on every transcript mutation, including a display-projection finalization that deliberately leaves `updatedAt` untouched, so a second device or a reloaded tab can tell whether the transcript it holds is still current. */
|
|
7619
|
+
conversationRevision: string;
|
|
7430
7620
|
/** @description ISO-8601 session idle-expiry timestamp. */
|
|
7431
7621
|
expiresAt: string;
|
|
7432
|
-
/** @description Resolved flow or agent for this session. Present on every response except the data-only Runtype App branch, which returns `app` instead. */
|
|
7622
|
+
/** @description Resolved flow or agent for this session. Present on every response except the data-only Runtype App branch, which returns `app` instead. Retained for compatibility: `id` always carries the same value as the canonical top-level `targetId`, which new clients should read instead. */
|
|
7433
7623
|
flow?: {
|
|
7434
7624
|
/** @description Flow description, null when the flow has none. Flow sessions only. */
|
|
7435
7625
|
description?: string | null;
|
|
@@ -7440,6 +7630,8 @@ interface paths {
|
|
|
7440
7630
|
};
|
|
7441
7631
|
/** @description The created (or resumed) client session ID. */
|
|
7442
7632
|
sessionId: string;
|
|
7633
|
+
/** @description The flow or agent this session executes against, resolved server-side. Canonical replacement for `flow.id`, and the exact key to pass as `targetId` when listing or deleting this conversation's history. Matches the value stored on the conversation record, including the case where an agent-only token resolves its agent to a primary flow. Absent only on the data-only Runtype App branch, which is not chat-capable. */
|
|
7634
|
+
targetId?: string;
|
|
7443
7635
|
/** @description The browser's anonymous visitor identity. Present when the request opts into visitor history (or supplies a visitor token, identity proof, or conversation id). Authenticates the `/client/conversations*` history routes, which the site-wide client token alone cannot reach. */
|
|
7444
7636
|
visitor?: {
|
|
7445
7637
|
/** @description The verified end user (`eu_…`) this browser is bound to, when an `identityProof` was admitted. Null while anonymous. Cross-device reads still require a fresh `identityProof` on that request; the stored binding alone remains exact-browser scoped. */
|
|
@@ -7448,6 +7640,11 @@ interface paths {
|
|
|
7448
7640
|
expiresAt: string;
|
|
7449
7641
|
/** @description Durable anonymous visitor id (`cvis_…`). */
|
|
7450
7642
|
id: string;
|
|
7643
|
+
/**
|
|
7644
|
+
* @description What the server did with a supplied `identityProof` on THIS request. `not_provided`: none was sent. `admitted`: it was verified and produced the end-user scope. `ignored`: one was sent but end-user admission is not enabled for this token owner, so it was never evaluated and the session is plain browser scope. Init still succeeds on `ignored` so chat degrades gracefully, but a widget must not offer verified cross-device history or a verified erase in that state (the history routes refuse such a request outright with 503 `identity_proof_not_admitted`). Reporting only: it confers no authority and carries no identity value.
|
|
7645
|
+
* @enum {string}
|
|
7646
|
+
*/
|
|
7647
|
+
identityStatus: "not_provided" | "admitted" | "ignored";
|
|
7451
7648
|
/** @description The raw visitor secret (`cvt_…`). Returned ONLY when this init newly mints a visitor. Store it and send it back as `visitorToken` on the next init; it is unrecoverable afterwards. Reset itself returns no replacement; the next history-capable init mints one. */
|
|
7452
7649
|
token?: string;
|
|
7453
7650
|
};
|
|
@@ -7679,7 +7876,7 @@ interface paths {
|
|
|
7679
7876
|
put?: never;
|
|
7680
7877
|
/**
|
|
7681
7878
|
* Reset the current browser visitor
|
|
7682
|
-
* @description Explicit widget shutdown/logout lifecycle. Revokes the presented browser visitor when it still resolves, without deleting conversation records. The response is idempotent so it cannot reveal whether a visitor secret was valid. Clear the locally stored secret after success; a later history-capable init creates a clean anonymous visitor.
|
|
7879
|
+
* @description Explicit widget shutdown/logout lifecycle. Revokes the presented browser visitor when it still resolves, without deleting conversation records. The response is idempotent so it cannot reveal whether a visitor secret was valid. Clear the locally stored secret after success; a later history-capable init creates a clean anonymous visitor. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
|
|
7683
7880
|
*/
|
|
7684
7881
|
post: {
|
|
7685
7882
|
parameters: {
|
|
@@ -7756,6 +7953,15 @@ interface paths {
|
|
|
7756
7953
|
"application/json": components["schemas"]["Error"];
|
|
7757
7954
|
};
|
|
7758
7955
|
};
|
|
7956
|
+
/** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
|
|
7957
|
+
503: {
|
|
7958
|
+
headers: {
|
|
7959
|
+
[name: string]: unknown;
|
|
7960
|
+
};
|
|
7961
|
+
content: {
|
|
7962
|
+
"application/json": components["schemas"]["Error"];
|
|
7963
|
+
};
|
|
7964
|
+
};
|
|
7759
7965
|
};
|
|
7760
7966
|
};
|
|
7761
7967
|
delete?: never;
|
|
@@ -10806,6 +11012,7 @@ interface paths {
|
|
|
10806
11012
|
localInference?: {
|
|
10807
11013
|
/** @enum {string} */
|
|
10808
11014
|
backend: "ollama";
|
|
11015
|
+
capabilityRevision?: string;
|
|
10809
11016
|
model: string;
|
|
10810
11017
|
/** Format: uuid */
|
|
10811
11018
|
sessionId: string;
|
|
@@ -11170,6 +11377,7 @@ interface paths {
|
|
|
11170
11377
|
localInference?: {
|
|
11171
11378
|
/** @enum {string} */
|
|
11172
11379
|
backend: "ollama";
|
|
11380
|
+
capabilityRevision?: string;
|
|
11173
11381
|
model: string;
|
|
11174
11382
|
/** Format: uuid */
|
|
11175
11383
|
sessionId: string;
|
|
@@ -13543,6 +13751,8 @@ interface paths {
|
|
|
13543
13751
|
requestBody?: {
|
|
13544
13752
|
content: {
|
|
13545
13753
|
"application/json": {
|
|
13754
|
+
evalConfigs?: components["schemas"]["EvalConfigRequest"][];
|
|
13755
|
+
} & {
|
|
13546
13756
|
[key: string]: unknown;
|
|
13547
13757
|
};
|
|
13548
13758
|
};
|
|
@@ -13633,6 +13843,9 @@ interface paths {
|
|
|
13633
13843
|
requestBody?: {
|
|
13634
13844
|
content: {
|
|
13635
13845
|
"application/json": {
|
|
13846
|
+
evalConfig?: components["schemas"]["EvalConfigRequest"];
|
|
13847
|
+
evalConfigs?: components["schemas"]["EvalConfigRequest"][];
|
|
13848
|
+
} & {
|
|
13636
13849
|
[key: string]: unknown;
|
|
13637
13850
|
};
|
|
13638
13851
|
};
|
|
@@ -44257,6 +44470,13 @@ interface components {
|
|
|
44257
44470
|
model: string;
|
|
44258
44471
|
proposals: components["schemas"]["EvalCaseProposal"][];
|
|
44259
44472
|
};
|
|
44473
|
+
EvalConfigRequest: {
|
|
44474
|
+
evalConfigId?: string;
|
|
44475
|
+
evalName?: string;
|
|
44476
|
+
overrides?: components["schemas"]["EvalOverrides"];
|
|
44477
|
+
} & {
|
|
44478
|
+
[key: string]: unknown;
|
|
44479
|
+
};
|
|
44260
44480
|
EvalCoverage: {
|
|
44261
44481
|
definitionHash: string;
|
|
44262
44482
|
instructions: {
|
|
@@ -44294,6 +44514,39 @@ interface components {
|
|
|
44294
44514
|
/** @enum {string} */
|
|
44295
44515
|
result: "definitionRequired";
|
|
44296
44516
|
};
|
|
44517
|
+
/** @description Canonical eval override field. Replaces `stepOverrides` (and its `"*"` key), `claudeManagedOverride` and `advisorOverride`; setting both spellings of one channel is a 400. */
|
|
44518
|
+
EvalOverrides: {
|
|
44519
|
+
/** @description Advisor override for agent capabilities. `null` disables the advisor; omitting it leaves the target’s own config alone. */
|
|
44520
|
+
advisor?: ({
|
|
44521
|
+
model: string;
|
|
44522
|
+
systemPrompt?: string;
|
|
44523
|
+
} & {
|
|
44524
|
+
[key: string]: unknown;
|
|
44525
|
+
}) | null;
|
|
44526
|
+
agent?: components["schemas"]["EvalStepOverrideValues"];
|
|
44527
|
+
/** @description Claude Managed variant override. Valid only on a claude_managed agent target; rejected on a standard agent rather than silently ignored. */
|
|
44528
|
+
claudeManaged?: {
|
|
44529
|
+
model?: string;
|
|
44530
|
+
systemPrompt?: string;
|
|
44531
|
+
toolPermissions?: {
|
|
44532
|
+
[key: string]: boolean;
|
|
44533
|
+
};
|
|
44534
|
+
} & {
|
|
44535
|
+
[key: string]: unknown;
|
|
44536
|
+
};
|
|
44537
|
+
flow?: components["schemas"]["EvalStepOverrideValues"] & unknown;
|
|
44538
|
+
/** @description Per-step overrides keyed by step id. Beats agent/flow field by field. A key naming no step of the target is a 400 rather than a silently-scored no-op. */
|
|
44539
|
+
steps?: {
|
|
44540
|
+
[key: string]: components["schemas"]["EvalStepOverrideValues"] & unknown;
|
|
44541
|
+
};
|
|
44542
|
+
subagentDefaults?: components["schemas"]["EvalStepOverrideValues"] & unknown;
|
|
44543
|
+
/** @description Per-sub-agent overrides keyed by agentId. The key is an identity, not a position: an entry applies wherever that agent runs, at any depth. A key naming an agent this target cannot reach is a 400. */
|
|
44544
|
+
subagents?: {
|
|
44545
|
+
[key: string]: components["schemas"]["EvalStepOverrideValues"] & unknown;
|
|
44546
|
+
};
|
|
44547
|
+
} & {
|
|
44548
|
+
[key: string]: unknown;
|
|
44549
|
+
};
|
|
44297
44550
|
EvalPullResponse: {
|
|
44298
44551
|
contentHash: string;
|
|
44299
44552
|
definition: {
|
|
@@ -44416,6 +44669,23 @@ interface components {
|
|
|
44416
44669
|
humanVerdict: "agree" | "disagree" | null;
|
|
44417
44670
|
scoreId: string;
|
|
44418
44671
|
};
|
|
44672
|
+
/** @description Applies to every prompt step of the agent under test. Valid only on an agent target; sending it on a flow target is a 400. */
|
|
44673
|
+
EvalStepOverrideValues: {
|
|
44674
|
+
frequencyPenalty?: number;
|
|
44675
|
+
maxTokens?: number;
|
|
44676
|
+
model?: string;
|
|
44677
|
+
presencePenalty?: number;
|
|
44678
|
+
reasoning?: unknown;
|
|
44679
|
+
/** @enum {string} */
|
|
44680
|
+
responseFormat?: "default" | "json" | "markdown" | "html" | "xml";
|
|
44681
|
+
seed?: number;
|
|
44682
|
+
temperature?: number;
|
|
44683
|
+
tools?: unknown;
|
|
44684
|
+
topK?: number;
|
|
44685
|
+
topP?: number;
|
|
44686
|
+
} & {
|
|
44687
|
+
[key: string]: unknown;
|
|
44688
|
+
};
|
|
44419
44689
|
EvalSuiteDetail: {
|
|
44420
44690
|
agentId: string | null;
|
|
44421
44691
|
baselineBatchExecutionId: string | null;
|
|
@@ -53475,6 +53745,45 @@ declare class ToolsEndpoint {
|
|
|
53475
53745
|
*/
|
|
53476
53746
|
cleanupCfSandbox(sandboxId: string): Promise<void>;
|
|
53477
53747
|
}
|
|
53748
|
+
/**
|
|
53749
|
+
* Sampling/model/tool values applied to one eval override target.
|
|
53750
|
+
*
|
|
53751
|
+
* Structurally `StepOverride` from `@runtypelabs/shared`, restated here to
|
|
53752
|
+
* keep the SDK dependency-free. `tools` stays `any` for the same reason: its
|
|
53753
|
+
* full shape pulls in the runtime-tool types.
|
|
53754
|
+
*/
|
|
53755
|
+
interface EvalOverrideValues {
|
|
53756
|
+
model?: string;
|
|
53757
|
+
temperature?: number;
|
|
53758
|
+
maxTokens?: number;
|
|
53759
|
+
topP?: number;
|
|
53760
|
+
topK?: number;
|
|
53761
|
+
frequencyPenalty?: number;
|
|
53762
|
+
presencePenalty?: number;
|
|
53763
|
+
seed?: number;
|
|
53764
|
+
responseFormat?: 'default' | 'json' | 'markdown' | 'html' | 'xml';
|
|
53765
|
+
reasoning?: any;
|
|
53766
|
+
tools?: any;
|
|
53767
|
+
}
|
|
53768
|
+
/**
|
|
53769
|
+
* Claude Managed variant override. Mirrors `ClaudeManagedEvalOverride` from
|
|
53770
|
+
* `@runtypelabs/shared`.
|
|
53771
|
+
*/
|
|
53772
|
+
interface ClaudeManagedEvalOverrideValues {
|
|
53773
|
+
targetType?: 'claude_managed';
|
|
53774
|
+
model?: string;
|
|
53775
|
+
systemPrompt?: string;
|
|
53776
|
+
toolPermissions?: {
|
|
53777
|
+
bash?: boolean;
|
|
53778
|
+
read?: boolean;
|
|
53779
|
+
write?: boolean;
|
|
53780
|
+
edit?: boolean;
|
|
53781
|
+
glob?: boolean;
|
|
53782
|
+
grep?: boolean;
|
|
53783
|
+
webFetch?: boolean;
|
|
53784
|
+
webSearch?: boolean;
|
|
53785
|
+
};
|
|
53786
|
+
}
|
|
53478
53787
|
/**
|
|
53479
53788
|
* Eval endpoint handlers
|
|
53480
53789
|
*/
|
|
@@ -53487,8 +53796,13 @@ declare class EvalEndpoint {
|
|
|
53487
53796
|
*
|
|
53488
53797
|
* Targets are mutually exclusive — provide exactly one of `flowId`,
|
|
53489
53798
|
* `flowDefinition`, or `agentId`. The `agentId` form targets a
|
|
53490
|
-
* `claude_managed` agent; combine with per-config
|
|
53491
|
-
* to vary model / system prompt / tool
|
|
53799
|
+
* `claude_managed` agent; combine with per-config
|
|
53800
|
+
* `overrides.claudeManaged` to vary model / system prompt / tool
|
|
53801
|
+
* permissions across configs.
|
|
53802
|
+
*
|
|
53803
|
+
* Override intent goes in `overrides`. Set one channel per config: pairing
|
|
53804
|
+
* `overrides` with a legacy field it replaces is a 400, because the losing
|
|
53805
|
+
* one would still be recorded and compared.
|
|
53492
53806
|
*/
|
|
53493
53807
|
runVirtualEval(data: {
|
|
53494
53808
|
record?: {
|
|
@@ -53510,27 +53824,30 @@ declare class EvalEndpoint {
|
|
|
53510
53824
|
evalConfigs: Array<{
|
|
53511
53825
|
evalConfigId?: string;
|
|
53512
53826
|
evalName?: string;
|
|
53513
|
-
stepOverrides?: Record<string, any>;
|
|
53514
53827
|
/**
|
|
53515
|
-
*
|
|
53516
|
-
* `claude_managed` agent. Mirrors `ClaudeManagedEvalOverride` from
|
|
53828
|
+
* The canonical override field. Mirrors `ResolvedEvalOverrides` from
|
|
53517
53829
|
* `@runtypelabs/shared` — defined inline here to keep the SDK
|
|
53518
53830
|
* dependency-free.
|
|
53831
|
+
*
|
|
53832
|
+
* `flow` (or `agent`, on an agent target) applies to every prompt step
|
|
53833
|
+
* of the unit under test; `steps` names one step and beats it field by
|
|
53834
|
+
* field. `subagents` is keyed by agentId and matches wherever that agent
|
|
53835
|
+
* runs, at ANY depth, with `subagentDefaults` covering the rest. A step
|
|
53836
|
+
* id or agentId the target does not have is a 400 rather than a
|
|
53837
|
+
* silently-compared no-op.
|
|
53519
53838
|
*/
|
|
53520
|
-
|
|
53521
|
-
|
|
53522
|
-
|
|
53523
|
-
|
|
53524
|
-
|
|
53525
|
-
|
|
53526
|
-
|
|
53527
|
-
|
|
53528
|
-
|
|
53529
|
-
|
|
53530
|
-
|
|
53531
|
-
|
|
53532
|
-
webSearch?: boolean;
|
|
53533
|
-
};
|
|
53839
|
+
overrides?: {
|
|
53840
|
+
agent?: EvalOverrideValues;
|
|
53841
|
+
flow?: EvalOverrideValues;
|
|
53842
|
+
steps?: Record<string, EvalOverrideValues>;
|
|
53843
|
+
subagents?: Record<string, EvalOverrideValues>;
|
|
53844
|
+
subagentDefaults?: EvalOverrideValues;
|
|
53845
|
+
claudeManaged?: ClaudeManagedEvalOverrideValues;
|
|
53846
|
+
/** `null` disables the advisor; omitting it leaves the target's own config alone. */
|
|
53847
|
+
advisor?: {
|
|
53848
|
+
model: string;
|
|
53849
|
+
systemPrompt?: string;
|
|
53850
|
+
} | null;
|
|
53534
53851
|
};
|
|
53535
53852
|
}>;
|
|
53536
53853
|
evalGroupId?: string;
|
|
@@ -57006,4 +57323,4 @@ declare function getLikelySupportingCandidatePaths(bestCandidatePath: string | u
|
|
|
57006
57323
|
declare function getDefaultPlanPath(taskName: string): string;
|
|
57007
57324
|
declare function sanitizeTaskSlug(taskName: string): string;
|
|
57008
57325
|
|
|
57009
|
-
export { type AIGrader, type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, ChatEndpoint, type CheckGrader, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withUnifiedEvents };
|
|
57326
|
+
export { type AIGrader, type Agent, type AgentApprovalCompleteEvent, type AgentApprovalStartEvent, type AgentCompleteEvent, type AgentDefinition, type AgentDefinitionConfig, AgentDriftError, AgentEnsureConflictError, type AgentErrorEvent, type AgentEvent, type AgentEventType, type AgentExecuteRequest, type AgentExecuteResponse, type AgentIterationCompleteEvent, type AgentIterationStartEvent, type AgentMediaEvent, type AgentMessage, type AgentPausedEvent, type AgentPingEvent, type AgentPullResult, type AgentReflectionEvent, type AgentRuntimeToolDefinition, type AgentStartEvent, type AgentStreamCallbacks, type AgentStreamEvent, type AgentSubagentConfig, type AgentToolCompleteEvent, type AgentToolDeltaEvent, type AgentToolInputCompleteEvent, type AgentToolInputDeltaEvent, type AgentToolStartEvent, type AgentTurnCompleteEvent, type AgentTurnDeltaEvent, type AgentTurnStartEvent, type AgentVersionDetail, type AgentVersionListItem, type AgentVersionPublishResponse, AgentVersionsEndpoint, type AgentVersionsListResponse, AgentsEndpoint, AgentsNamespace, AnalyticsEndpoint, type ApiClient, type ApiKey, ApiKeysEndpoint, type ApiResponse, type ApplyGeneratedProposalOptions, type ApplyGeneratedProposalResult, type AssetReferenceContentPart, type AttachRuntimeToolsOptions, type BaseAgentEvent, BatchBuilder, type BatchClient, type BatchListParams, type BatchOptions, type BatchRequest, type BatchResult, type BatchScheduleConfig, type BatchStatus, BatchesNamespace, BillingEndpoint, type BillingSpendAnalyticsParams, type BindSkillInput, type BuiltInGraderId, type BuiltInTool, type BulkEditCondition, type BulkEditRequest, type BulkEditResponse, type BulkEditResult, type CanonicalDispatchMessageContent, type CanonicalDispatchRequest, type CaseExpected, ChatEndpoint, type CheckGrader, type ClaudeManagedEvalOverrideValues, ClientBatchBuilder, type ClientConfig, type ClientConversation, ClientEvalBuilder, ClientFlowBuilder, type ClientToken, type ClientTokenConfig, type ClientTokenEnvironment, type ClientTokenVersionPin, ClientTokensEndpoint, type ClientToolDefinition, type ClientWidgetTheme, type CollectionMeta, CollectionsEndpoint, type ConditionalGetResult, type ConditionalStepConfig$1 as ConditionalStepConfig, type ContextErrorHandling, type ContextFallback, ContextTemplatesEndpoint, type Conversation, type ConversationListItem, type ConversationListParams, type ConversationMessage, type ConversationSource, ConversationsEndpoint, type ConversationsListResponse, type CreateApiKeyRequest, type CreateClientTokenRequest, type CreateClientTokenResponse, type CreateCollectionRequest, type CreateConversationRequest, type CreateEvalSuiteInput, type CreateFlowRequest, type CreateModelConfigRequest, type CreatePromptData, type CreatePromptRequest, type CreateProviderKeyRequest, type CreateRecordRequest, type CreateScheduleRequest, type CreateSecretRequest, type CreateToolRequest, type CurrentBilledSpendResponse, type CurrentBilledSpendSource, type CustomMCPServer, type CustomMCPServerAuth, type CustomToolConfig, DEFAULT_RECOVERY_AFTER_EMPTY_SESSIONS, DEFAULT_STALL_STOP_AFTER, type DecomposeCriteriaResult, type DefineAgentInput, type DefineEvalCaseInput, type DefineEvalInput, type DefineFlowInput, type DefineProductInput, type DefineSkillInput, type DefineSurfaceInput, type DefineToolInput, type DeployCfSandboxRequest, type DeployCfSandboxResponse, type DeploySandboxRequest, type DeploySandboxResponse, type DiscoveredModel, type DispatchAgentInput, type DispatchApprovalContinuationResponse, type DispatchApproveRequest, type DispatchApproveResponse, type DispatchClient, type DispatchContinuationRequest, type DispatchContinuationResponse, type DispatchDetachedApprovalResponse, DispatchEndpoint, type DispatchEnvironment, type DispatchEvent, type DispatchFlowInput, type DispatchMessageContent, type DispatchOptions$1 as DispatchOptions, type DispatchRequest, type DispatchResponse, type DispatchResumeRequest, type DispatchResumeResponse, type EndUserUsageQuery, type EndUserUsageResponse, type EnsureAgentConverged, type EnsureAgentOptions, type EnsureAgentPlan, type EnsureAgentResult, type EnsureEvalResult, type EnsureFlowConverged, type EnsureFlowOptions, type EnsureFlowPlan, type EnsureFlowResult, type EnsureFpoOptions, type EnsureFpoResult, type EnsureProductConverged, type EnsureProductOptions, type EnsureProductPlan, type EnsureProductResult, type EnsureSkillConverged, type EnsureSkillOptions, type EnsureSkillPlan, type EnsureSkillResult, type EnsureSurfaceConverged, type EnsureSurfaceOptions, type EnsureSurfacePlan, type EnsureSurfaceResult, type EnsureToolConverged, type EnsureToolOptions, type EnsureToolPlan, type EnsureToolResult, type ErrorHandlingMode, EvalBuilder, type EvalCaseDefinition, type EvalCaseInput, type EvalCaseProposal, type EvalCaseProposalAccepted, type EvalCaseProposalListResult, type EvalCasesGenerated, type EvalClient, type EvalDefinition, EvalEndpoint, type EvalListParams, type EvalMessage, type EvalOptions, type EvalOverrideValues, type EvalProposalSource, type EvalProposalStatus, type EvalProposedCase, type EvalPullResult, type EvalRecord, type EvalRequest, type EvalResult, type EvalRunCaseScores, type EvalRunConfig, type EvalRunScores, EvalRunner, type EvalStatus, type EvalSuiteCase, type EvalSuiteCaseInput, type EvalSuiteCoverage, type EvalSuiteDetail, type EvalSuiteLatestRun, type EvalSuiteListResult, type EvalSuiteRunQueued, type EvalSuiteRunResult, type EvalSuiteSummary, EvalSuitesNamespace, type EvalTarget, EvalsNamespace, type ExecuteToolRequest, type ExecuteToolResponse, type ExecutionStreamEvent, type ExternalAgentContext, type ExternalToolConfig, type FallbackFailEvent, type FallbackStartEvent, type FallbackSuccessEvent, type FallbackTrigger, type FallbackTriggerType, type FallbacksExhaustedEvent, type FallbacksInitiatedEvent, type FetchUrlStepConfig$1 as FetchUrlStepConfig, type FieldFormat, type FileContentPart, type Flow, type FlowAttachment, FlowBuilder, type FlowCompleteEvent, type FlowConfig$1 as FlowConfig, type FlowDefinition, type FlowDefinitionStep, FlowDriftError, FlowEnsureConflictError, type FlowErrorEvent, type FlowFallback, type FlowInlineEvalInput, type FlowListItem, type FlowPausedEvent, type FlowPullResult, FlowResult, type FlowStartEvent, type FlowStep, type FlowStepDefinition, type FlowStepType, FlowStepsEndpoint, type FlowStreamEvent, type FlowSummary, type FlowToolConfig, type FlowValidationClient, type FlowValidationIssue, type FlowValidationResult, type FlowVersionDetail, type FlowVersionListItem, type FlowVersionPublishResponse, FlowVersionsEndpoint, type FlowVersionsListResponse, FlowsEndpoint, FlowsNamespace, type FpoEntityOutcome, type FpoInput, type GenerateEmbeddingStepConfig$1 as GenerateEmbeddingStepConfig, type GenerateEvalCasesInput, type GeneratedRuntimeToolGateDecision, type GeneratedRuntimeToolGateOptions, type GetRecordStepConfig$1 as GetRecordStepConfig, type Gradeable, type GraderConfig, type GraderOutcome, type GraderSeverity, type HumanVerdict, type ImageContentPart, type InferCollectionSchemaResponse, type Integration, type IntegrationTool, IntegrationsEndpoint, type IntegrationsListResponse, type JSONSchema, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, LEDGER_ARTIFACT_LINE_PREFIX, type ListCollectionsResponse, type ListConversationsResponse, type ListParams, type ListRecordsStepConfig$1 as ListRecordsStepConfig, type LocalToolConfig, type LocalToolDefinition, type LocalToolExecutionCompleteEvent, type LocalToolExecutionLoopSnapshotSlice, type LocalToolExecutionStartEvent, type LogEntry, type LogQueryParams, type LogQueryResponse, type LogQueryResult, type LogStatsParams, type LogStatsResponse, type LogStatsResult, LogsEndpoint, type Message$1 as Message, type MessageContent, type MessageFallback, type Metadata, type ModelConfig, ModelConfigsEndpoint, type ModelFallback, type ModelOverride, type ModelUsageDetail, type ModelUsageQueryParams, type ModelUsageResponse, type ModelUsageSummary, type ModelUsageTimeSeries, type PaginationResponse, type PersistedGraderOutcome, type ProductDefinition, ProductDriftError, ProductEnsureConflictError, type ProductPullResult, ProductsNamespace, type Prompt$1 as Prompt, type PromptErrorHandling, type PromptFallback, type PromptListParams, type PromptStepConfig$1 as PromptStepConfig, PromptsEndpoint, PromptsNamespace, type ProviderApiKey, type ProviderKeyModel, ProviderKeysEndpoint, type PullFpoResult, RUNTYPE_CLIENT_KIND, type ReasoningConfig, type ReasoningContentPart, type ReasoningValue, type RecordCollection, type RecordCollectionWithHistory, type RecordCollections, type RecordConfig$1 as RecordConfig, type RecordCostAggregation, type RecordCostModelBreakdown, type RecordFilter, type RecordFilterCondition, type RecordFilterGroup, type RecordFilterOperator, type RecordListItem, type RecordListParams, type RecordStepResult, type RecordStepResultsParams, type RecordStepResultsResponse, type RecordWriteResponse, RecordsEndpoint, type RetrieveRecordStepConfig$1 as RetrieveRecordStepConfig, type RetryFallback, type RunEvalCaseResult, type RunEvalInput, type RunEvalResult, type RunTaskContextBudgetBreakdown, type RunTaskContextCompactionEvent, type RunTaskContextCompactionStrategy, type RunTaskContextNoticeEvent, type RunTaskContextSummaryEntry, type RunTaskContinuation, type RunTaskOffloadRecorder, type RunTaskOnContextCompaction, type RunTaskOnContextNotice, type RunTaskOnSession, type RunTaskOptions, type RunTaskResult, type RunTaskResumeState, type RunTaskSessionSummary, type RunTaskState, type RunTaskStateSlice, type RunTaskStatus, type RunTaskToolTraceSlice, type RuntimeCustomToolConfig, type RuntimeExternalToolConfig, type RuntimeFlowToolConfig, type RuntimeLocalToolConfig, type RuntimeSubagentToolConfig, type RuntimeTool, type RuntimeToolConfig, Runtype, type AgentSkillBinding as RuntypeAgentSkillBinding, RuntypeApiError, RuntypeClient, type ConditionalStepConfig as RuntypeConditionalStepConfig, type RuntypeConfig, type FetchUrlStepConfig as RuntypeFetchUrlStepConfig, RuntypeFlowBuilder, type FlowConfig as RuntypeFlowConfig, type GenerateEmbeddingStepConfig as RuntypeGenerateEmbeddingStepConfig, type GetRecordStepConfig as RuntypeGetRecordStepConfig, type ListRecordsStepConfig as RuntypeListRecordsStepConfig, type Message as RuntypeMessage, type ModelOverride$1 as RuntypeModelOverride, type Prompt as RuntypePrompt, type PromptStepConfig as RuntypePromptStepConfig, type RuntypeRecord, type RecordConfig as RuntypeRecordConfig, type RetrieveRecordStepConfig as RuntypeRetrieveRecordStepConfig, type SearchStepConfig as RuntypeSearchStepConfig, type SendEmailStepConfig as RuntypeSendEmailStepConfig, type SendEventStepConfig as RuntypeSendEventStepConfig, type SendStreamStepConfig as RuntypeSendStreamStepConfig, type SetVariableStepConfig as RuntypeSetVariableStepConfig, type Skill as RuntypeSkill, type SkillCapabilities as RuntypeSkillCapabilities, type SkillFrontmatter as RuntypeSkillFrontmatter, type SkillManifest as RuntypeSkillManifest, type SkillProposal as RuntypeSkillProposal, type SkillRuntypeExtensions as RuntypeSkillRuntypeExtensions, type SkillScanFinding as RuntypeSkillScanFinding, type SkillScanResult as RuntypeSkillScanResult, type SkillScanVerdict as RuntypeSkillScanVerdict, type SkillVersion as RuntypeSkillVersion, type TransformDataStepConfig as RuntypeTransformDataStepConfig, type UpsertFlowConfig as RuntypeUpsertFlowConfig, type UpsertRecordStepConfig as RuntypeUpsertRecordStepConfig, type VectorSearchStepConfig as RuntypeVectorSearchStepConfig, type WaitUntilStepConfig as RuntypeWaitUntilStepConfig, SDK_USER_AGENT, SDK_VERSION, STEP_FIELD_REGISTRY, STEP_TYPE_TO_METHOD, type Schedule, type ScheduleExecutionOptions, type ScheduleListParams, type ScheduleMessage, type ScheduleMessageSet, type ScheduleMessages, type ScheduleMutationResponse, type ScheduleRun, type ScheduleRunNowResponse, type ScheduleStatusResponse, type ScheduleTarget, type ScheduleTrigger, SchedulesEndpoint, type SearchStepConfig$1 as SearchStepConfig, type Secret, type SecretCheckResponse, type SecretDeleteResponse, type SecretSetupUrlRequest, type SecretSetupUrlResponse, SecretsEndpoint, type SendEmailStepConfig$1 as SendEmailStepConfig, type SendEventStepConfig$1 as SendEventStepConfig, type SendStreamStepConfig$1 as SendStreamStepConfig, type SetVariableStepConfig$1 as SetVariableStepConfig, type SkillDefinition, SkillDriftError, SkillEnsureConflictError, type SkillListPage, type SkillListPagination, type SkillListParams, type SkillManifestInput, type SkillMarkdownInput, type SkillOrigin, type SkillProposalStatus, SkillProposalsNamespace, type SkillPullResult, type SkillStatus, type SkillTrustLevel, type SkillVersionStatus, type SkillWithVersion, type SkillWriteInput, SkillsNamespace, type SlackInstallRequest, type SlackManifestRequest, type SlackManifestResponse, type SlackOAuthStartRequest, type SlackOAuthStartResponse, type StepCompleteEvent, type StepDeltaEvent, type StepFallback, type StepFieldMeta, type StepStartEvent, type StepWaitingLocalEvent, type StreamCallbacks, type StreamConsumeOptions, type StreamEvent, type StreamEventOf, type SubagentToolConfig, type Surface, type SurfaceDefinition, type SurfaceDefinitionEnvironment, type SurfaceDefinitionStatus, type SurfaceDefinitionType, SurfaceDriftError, SurfaceEnsureConflictError, type SurfaceListParams, type SurfacePullResult, SurfacesEndpoint, SurfacesNamespace, type TextContentPart, type Tool, type ToolApprovalGrant, ToolApprovalGrantsEndpoint, type ToolConfig, type ToolDefinition, type ToolDefinitionType, ToolDriftError, ToolEnsureConflictError, type ToolPullResult, type ToolWithValidation, type ToolsConfig, ToolsEndpoint, ToolsNamespace, type TransformDataStepConfig$1 as TransformDataStepConfig, type TypedCreateRecordRequest, type TypedRecordListItem, type TypedRecordWriteResponse, TypedRecordsScope, type TypedRuntypeRecord, UNIFIED_EVENTS_QUERY, type UpdateClientTokenRequest, type UpdateCollectionRequest, type UpdateCollectionResponse, type UpdateConversationRequest, type UpdateEvalCaseInput, type UpdateEvalSuiteInput, type UpdateFlowRequest, type UpdatePromptData, type UpdateProviderKeyRequest, type UpdateScheduleRequest, type UpdateSecretRequest, type UpdateToolRequest, type UpdatedFlow, type UpsertFlowConfig$1 as UpsertFlowConfig, type UpsertOptions, type UpsertRecordStepConfig$1 as UpsertRecordStepConfig, type UserProfile, UsersEndpoint, type ValidateExistingRecordsResponse, type VectorSearchStepConfig$1 as VectorSearchStepConfig, type VersionType, type WaitUntilStepConfig$1 as WaitUntilStepConfig, type WorkflowCompileDeps, type WorkflowCompletionCriteriaConfig, type WorkflowConfig, type WorkflowConfigFactory, type WorkflowContext, type WorkflowDefinition, type WorkflowHookEntry, type WorkflowHookKind, type WorkflowHookRef, type WorkflowHookSignatures, type WorkflowMilestoneConfig, type WorkflowPhase, type WorkflowPolicyConfig, type WorkflowRecoveryConfig, type WorkflowSlot, type WorkflowStallPolicy, applyGeneratedRuntimeToolProposalToDispatchRequest, attachRuntimeToolsToDispatchRequest, buildEmptySessionNudge, buildGeneratedRuntimeToolGateOutput, buildLedgerOffloadReference, buildPolicyGuidance, buildSendViewOffloadMarker, calledTool, compileWorkflowConfig, completed, computeAgentContentHash, computeEvalContentHash, computeFlowContentHash, computeFpoContentHash, computeProductContentHash, computeSkillContentHash, computeSurfaceContentHash, computeToolContentHash, contains, cost, createAgentEventTranslator, createClient, createExternalTool, createFlowEventTranslator, defaultWorkflow, defaultWorkflowConfig, defineAgent, defineEval, defineFlow, defineFpo, definePlaybook, defineProduct, defineSkill, defineSurface, defineTool, deployWorkflow, ensureDefaultWorkflowHooks, ensureEval, ensureFpo, evaluateGeneratedRuntimeToolProposal, extractDeclaredToolResultChars, gameWorkflow, getDefaultPlanPath, getLikelySupportingCandidatePaths, interpolateWorkflowTemplate, isDiscoveryToolName, isMarathonArtifactPath, isPreservationSensitiveTask, isUnifiedEventType, isWorkflowHookRef, jsonField, judge, judges, latency, length, listWorkflowHooks, matchesExpected, maxToolCalls, noError, normalizeAgentDefinition, normalizeCandidatePath, normalizeFpoDefinition, normalizeProductDefinition, normalizeSkillDefinition, normalizeSurfaceDefinition, normalizeToolDefinition, notCalledTool, notContains, parseFinalBuffer, parseLedgerArtifactRelativePath, parseOffloadedOutputId, parseSSEChunk, processStream, pullEval, pullFpo, ranStep, regex, registerWorkflowHook, resolveStallStopAfter, resolveWorkflowHook, runEvalSuite, sanitizeTaskSlug, shouldInjectEmptySessionNudge, shouldRequestModelEscalation, stepOrder, streamEvents, toolOrder, unregisterWorkflowHook, usedNoTools, validJson, withUnifiedEvents };
|