@salsita-ai/contracts 0.50.0-develop.ecda3c6152 → 0.50.0-develop.eeaf6c4605

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.
@@ -1,4 +1,3 @@
1
- export { browserDetailsTool } from './browser-details-tool.js';
2
1
  export { ASSISTANT_AI_PROVIDERS, ASSISTANT_MODEL_TIERS, ASSISTANT_REASONING_LEVELS, AssistantAiSettings, DeploymentAssistant, } from './deployment-assistant.js';
3
2
  export { AssistantGraphQLToolInput, applyTool, queryTool } from './graphql-tools.js';
4
3
  export type { AssistantGraphQLOperation } from './graphql-tools.js';
@@ -1 +1 @@
1
- export{browserDetailsTool}from"./browser-details-tool.js";export{ASSISTANT_AI_PROVIDERS,ASSISTANT_MODEL_TIERS,ASSISTANT_REASONING_LEVELS,AssistantAiSettings,DeploymentAssistant}from"./deployment-assistant.js";export{AssistantGraphQLToolInput,applyTool,queryTool}from"./graphql-tools.js";export{assistantImageReference,readAssistantImageReference}from"./image-reference.js";export{AssistantMessageMetadata}from"./message-metadata.js";export{ASSISTANT_TOOL_ERROR_CODES,AssistantToolError}from"./tool-error.js";
1
+ export{ASSISTANT_AI_PROVIDERS,ASSISTANT_MODEL_TIERS,ASSISTANT_REASONING_LEVELS,AssistantAiSettings,DeploymentAssistant}from"./deployment-assistant.js";export{AssistantGraphQLToolInput,applyTool,queryTool}from"./graphql-tools.js";export{assistantImageReference,readAssistantImageReference}from"./image-reference.js";export{AssistantMessageMetadata}from"./message-metadata.js";export{ASSISTANT_TOOL_ERROR_CODES,AssistantToolError}from"./tool-error.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salsita-ai/contracts",
3
- "version": "0.50.0-develop.ecda3c6152",
3
+ "version": "0.50.0-develop.eeaf6c4605",
4
4
  "description": "Shared API, authentication, domain, chat, and webhook contracts for Phoenix.",
5
5
  "keywords": [
6
6
  "salsita",
@@ -54,7 +54,7 @@
54
54
  "uuid": "14.0.0",
55
55
  "valid-url": "1.0.9",
56
56
  "zod": "3.25.76",
57
- "@salsita-ai/common": "0.50.0-develop.ecda3c6152"
57
+ "@salsita-ai/common": "0.50.0-develop.eeaf6c4605"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@lingui/core": "5.9.5",
@@ -1,16 +0,0 @@
1
- /**
2
- * Client-side tool of the assistant chat: the browser draws its own details (user agent, viewport,
3
- * pixel ratio, language) onto a canvas and returns the capture as an image content part. It carries
4
- * no domain meaning; it proves that a client tool result reaches the model as an image.
5
- *
6
- * The server passes the definition to the model without an implementation, so every call becomes a
7
- * client-tool interrupt; the SDK registers the browser implementation via `.client()`.
8
- *
9
- * The input schema is plain JSON Schema because `@tanstack/ai` converts only schemas that expose
10
- * `~standard.jsonSchema` (Zod 4.2+), which the workspace's Zod 3 does not.
11
- */
12
- export declare const browserDetailsTool: import("@tanstack/ai").ToolDefinition<{
13
- type: string;
14
- properties: {};
15
- required: never[];
16
- }, undefined, "getBrowserDetails", false, undefined>;
@@ -1 +0,0 @@
1
- import{toolDefinition as e}from"@tanstack/ai";export const browserDetailsTool=e({name:"getBrowserDetails",description:"Call when the user asks about their browser, screen or device. Returns their browser details as an image.",inputSchema:{type:"object",properties:{},required:[]}});