@vellumai/plugin-api 0.10.10-dev.202607162206.d08e98e → 0.10.10-dev.202607170046.8482d40
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/index.d.ts +16 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4662,6 +4662,13 @@ export declare interface ProviderResponse {
|
|
|
4662
4662
|
model: string;
|
|
4663
4663
|
/** Provider that actually produced this response, which may differ from a wrapper provider name. */
|
|
4664
4664
|
actualProvider?: string;
|
|
4665
|
+
/**
|
|
4666
|
+
* Base URL the provider's HTTP client actually resolved to for this request,
|
|
4667
|
+
* read from the live SDK client instance rather than re-derived from config.
|
|
4668
|
+
* Lets diagnostics observe the true routing target (e.g. a misrouted host)
|
|
4669
|
+
* instead of inferring it. Absent for providers that don't surface it.
|
|
4670
|
+
*/
|
|
4671
|
+
resolvedEndpoint?: string;
|
|
4665
4672
|
usage: {
|
|
4666
4673
|
/** Total input tokens (input_tokens + cache_creation + cache_read). */
|
|
4667
4674
|
inputTokens: number;
|
|
@@ -6013,6 +6020,14 @@ export declare interface ToolExecutionResult {
|
|
|
6013
6020
|
content: string;
|
|
6014
6021
|
/** When true, the agent loop treats `content` as an error and may surface it / retry. */
|
|
6015
6022
|
isError: boolean;
|
|
6023
|
+
/**
|
|
6024
|
+
* Stable, machine-readable classification for an error result (e.g.
|
|
6025
|
+
* `acp_claude_oauth_missing`). Threaded to the client on the `tool_result`
|
|
6026
|
+
* event so surfaces can render a structured affordance for a known failure
|
|
6027
|
+
* instead of re-parsing the human `content` string. Only meaningful when
|
|
6028
|
+
* `isError` is true.
|
|
6029
|
+
*/
|
|
6030
|
+
errorCode?: string;
|
|
6016
6031
|
/** Optional short status message for client display (e.g. `"truncated"`, `"timed out"`). */
|
|
6017
6032
|
status?: string;
|
|
6018
6033
|
/**
|
|
@@ -6256,6 +6271,7 @@ declare const ToolResultEventSchema: z.ZodObject<{
|
|
|
6256
6271
|
mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
|
|
6257
6272
|
}, z.core.$strip>>;
|
|
6258
6273
|
}, z.core.$strip>>;
|
|
6274
|
+
errorCode: z.ZodOptional<z.ZodString>;
|
|
6259
6275
|
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
6260
6276
|
}, z.core.$strip>;
|
|
6261
6277
|
|
package/package.json
CHANGED