claude-use 14.2.4 → 14.3.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.
@@ -1015,6 +1015,9 @@ declare const ProviderCatalogueSchema: z.ZodObject<{
1015
1015
  url: z.ZodOptional<z.ZodURL>;
1016
1016
  }, z.core.$strict>;
1017
1017
  type ProviderCatalogue = z.infer<typeof ProviderCatalogueSchema>;
1018
+ /** What the door does with tools that carry a `type` and no `input_schema` (such as web search, which Anthropic runs for a native session) when it forwards a request to an `http` provider: `forward` sends them as they are, `drop` removes them. */
1019
+ declare const SERVER_TOOLS_MODES: readonly ["forward", "drop"];
1020
+ type ServerToolsMode = (typeof SERVER_TOOLS_MODES)[number];
1018
1021
  /** All kinds of provider; see `HttpProviderSchema` for the shared fields. */
1019
1022
  declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1020
1023
  $schema: z.ZodOptional<z.ZodString>;
@@ -1156,6 +1159,10 @@ declare const ProviderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1156
1159
  provider: z.ZodString;
1157
1160
  model: z.ZodOptional<z.ZodString>;
1158
1161
  }, z.core.$strict>>>;
1162
+ serverTools: z.ZodOptional<z.ZodEnum<{
1163
+ forward: "forward";
1164
+ drop: "drop";
1165
+ }>>;
1159
1166
  }, z.core.$strict>, z.ZodObject<{
1160
1167
  $schema: z.ZodOptional<z.ZodString>;
1161
1168
  kind: z.ZodLiteral<"codex">;
@@ -27328,7 +27335,7 @@ interface ConditionContext {
27328
27335
  readonly lastPickHoursAgo?: number;
27329
27336
  };
27330
27337
  /**
27331
- * The request facts a provider's route condition reads, present only when the condition routes a request the door is resolving: `request.model` (the Messages body's own model field) and `request.hasImage` (an image block anywhere in the scanned head of the body). A request the door could not read that far carries neither, so a condition naming them is indeterminate and the routing falls through, never to a cheaper provider by accident.
27338
+ * The request facts a provider's route condition reads, present only when the condition routes a request the door is resolving: `request.model` (the Messages body's own model field) and `request.hasImage`, `request.toolsPresent`, `request.thinking` and `request.maxTokens` (textual matches anywhere in the text the door read: the whole body for a Messages request whose routes name one of them, else the head, where an absence is no answer). A fact the door could not decide is carried by none, so a condition naming it is indeterminate and the routing falls through, never to a cheaper provider by accident.
27332
27339
  */
27333
27340
  readonly request?: {
27334
27341
  readonly model?: string;
@@ -27827,6 +27834,8 @@ interface AddProviderInput {
27827
27834
  readonly catalogue?: ProviderCatalogue;
27828
27835
  /** An http provider's bound on opening a connection to its base URL, in milliseconds; absent keeps the derived default. */
27829
27836
  readonly connectTimeoutMs?: number;
27837
+ /** What an http provider's route does with tools that have no `input_schema` in a request; see `HttpProvider.serverTools`. */
27838
+ readonly serverTools?: ServerToolsMode;
27830
27839
  readonly codex?: CodexProviderConfig;
27831
27840
  readonly antigravity?: AntigravityProviderConfig;
27832
27841
  }
@@ -27858,6 +27867,8 @@ interface UpdateProviderInput {
27858
27867
  readonly catalogue?: ProviderCatalogue | false;
27859
27868
  /** A new connect timeout in milliseconds, or false to go back to the derived default; undefined leaves the existing one. Applies only to an http provider. */
27860
27869
  readonly connectTimeoutMs?: number | false;
27870
+ /** The http provider's new server-tools setting; undefined leaves the existing one. */
27871
+ readonly serverTools?: ServerToolsMode;
27861
27872
  /** Merged over a codex provider's existing settings: a field given here replaces that field, and `models` entries merge per tier. */
27862
27873
  readonly codex?: CodexProviderConfig;
27863
27874
  /** Merged over an antigravity provider's existing settings: a field given here replaces that field, and `models` entries merge per tier. */
@@ -28356,6 +28367,8 @@ interface RunDoctorParams {
28356
28367
  readonly providerAliases?: ProviderAliases;
28357
28368
  /** Probes the base URLs of every valid http provider, up to `MAX_CONCURRENT_PROBES` distinct targets together and any more in rounds of that many, one connection each, each bounded by its provider's connect timeout. Omit to leave reachability out of the findings; with it, a valid http provider whose base URL accepts no connection fails, naming the URL. */
28358
28369
  readonly probeBaseUrls?: BaseUrlBatchProbe;
28370
+ /** The providers whose last catalogue refresh, as the serving front door recorded it, failed on a redirect it does not follow, each with the reason it recorded. Omit to leave the finding out. */
28371
+ readonly catalogueRedirects?: ReadonlyMap<string, string>;
28359
28372
  /** The journals of identity renames that were left unfinished, and the files in their directory that are not journals. Omit to leave renames out of the findings. */
28360
28373
  readonly renameJournals?: RenameJournalListing;
28361
28374
  /** The entries of the identities directory that cannot be reached (a symlink the filesystem would not follow, or a directory nobody can enter), which are not counted as identities. Omit to leave them out of the findings. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "14.2.4",
3
+ "version": "14.3.0",
4
4
  "description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
5
5
  "license": "MIT",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",