@vellumai/plugin-api 0.10.10-dev.202607162206.d08e98e → 0.10.10-dev.202607170140.fd86251

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.
Files changed (2) hide show
  1. package/index.d.ts +16 -8
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -300,10 +300,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
300
300
  }>>;
301
301
  }, z.core.$strip>>;
302
302
  stt: z.ZodDefault<z.ZodObject<{
303
- mode: z.ZodDefault<z.ZodEnum<{
304
- managed: "managed";
305
- "your-own": "your-own";
306
- }>>;
307
303
  provider: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
308
304
  vellum: "vellum";
309
305
  deepgram: "deepgram";
@@ -314,10 +310,6 @@ declare const AssistantConfigSchema: z.ZodObject<{
314
310
  providers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
315
311
  }, z.core.$strip>>;
316
312
  tts: z.ZodDefault<z.ZodObject<{
317
- mode: z.ZodDefault<z.ZodEnum<{
318
- managed: "managed";
319
- "your-own": "your-own";
320
- }>>;
321
313
  provider: z.ZodDefault<z.ZodEnum<{
322
314
  vellum: "vellum";
323
315
  deepgram: "deepgram";
@@ -4662,6 +4654,13 @@ export declare interface ProviderResponse {
4662
4654
  model: string;
4663
4655
  /** Provider that actually produced this response, which may differ from a wrapper provider name. */
4664
4656
  actualProvider?: string;
4657
+ /**
4658
+ * Base URL the provider's HTTP client actually resolved to for this request,
4659
+ * read from the live SDK client instance rather than re-derived from config.
4660
+ * Lets diagnostics observe the true routing target (e.g. a misrouted host)
4661
+ * instead of inferring it. Absent for providers that don't surface it.
4662
+ */
4663
+ resolvedEndpoint?: string;
4665
4664
  usage: {
4666
4665
  /** Total input tokens (input_tokens + cache_creation + cache_read). */
4667
4666
  inputTokens: number;
@@ -6013,6 +6012,14 @@ export declare interface ToolExecutionResult {
6013
6012
  content: string;
6014
6013
  /** When true, the agent loop treats `content` as an error and may surface it / retry. */
6015
6014
  isError: boolean;
6015
+ /**
6016
+ * Stable, machine-readable classification for an error result (e.g.
6017
+ * `acp_claude_oauth_missing`). Threaded to the client on the `tool_result`
6018
+ * event so surfaces can render a structured affordance for a known failure
6019
+ * instead of re-parsing the human `content` string. Only meaningful when
6020
+ * `isError` is true.
6021
+ */
6022
+ errorCode?: string;
6016
6023
  /** Optional short status message for client display (e.g. `"truncated"`, `"timed out"`). */
6017
6024
  status?: string;
6018
6025
  /**
@@ -6256,6 +6263,7 @@ declare const ToolResultEventSchema: z.ZodObject<{
6256
6263
  mayRequireJavaScript: z.ZodOptional<z.ZodBoolean>;
6257
6264
  }, z.core.$strip>>;
6258
6265
  }, z.core.$strip>>;
6266
+ errorCode: z.ZodOptional<z.ZodString>;
6259
6267
  completedAt: z.ZodOptional<z.ZodNumber>;
6260
6268
  }, z.core.$strip>;
6261
6269
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vellumai/plugin-api",
3
- "version": "0.10.10-dev.202607162206.d08e98e",
3
+ "version": "0.10.10-dev.202607170140.fd86251",
4
4
  "description": "Public TypeScript authoring contract for Vellum assistant plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",