@salsita-ai/contracts 0.50.0-develop.f81ab6ac76 → 0.50.0-develop.f87b940e67

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.
@@ -49,7 +49,7 @@ export declare const AssistantGraphQLToolInput: z.ZodObject<{
49
49
  * Client-side tool of the assistant chat that reads the configuration: the browser runs the
50
50
  * operations against the configurator's GraphQL schema from the committed state and discards every
51
51
  * change, so mutations in the list answer "what if" questions. The result is the list of standard
52
- * GraphQL results with `committed: false`.
52
+ * GraphQL results with `committed: false`, followed by the pictures of the screenshots they took.
53
53
  *
54
54
  * The server passes the definition to the model without an implementation, so every call becomes a
55
55
  * client-tool interrupt; the SDK registers the browser implementation via `.client()`.
@@ -1 +1 @@
1
- import{toolDefinition as e}from"@tanstack/ai";import{z as t}from"zod";export const AssistantGraphQLToolInput=t.object({operations:t.array(t.object({query:t.string(),variables:t.record(t.unknown()).nullish(),operationName:t.string().nullish()})).min(1)});let o={type:"object",properties:{operations:{type:"array",minItems:1,description:"The operations to run, in order. Each one sees the changes of the ones before it.",items:{type:"object",properties:{query:{type:"string",description:"A GraphQL document with exactly one operation, a query or a mutation."},variables:{type:"object",description:"Values of the variables the document declares. Prefer literals written into the document."},operationName:{type:"string",description:"The name of the operation, when the document names it."}},required:["query"]}}},required:["operations"]};export const queryTool=e({name:"query",description:"Reads the open configuration: runs GraphQL operations and returns their results. Changes nothing; mutations run on a copy discarded after the call.",inputSchema:o});export const applyTool=e({name:"apply",description:"Changes the open configuration: runs GraphQL operations and keeps their changes as one undo step. All or nothing: when any operation fails, nothing changes. `committed` says whether the changes were kept.",inputSchema:o});
1
+ import{toolDefinition as e}from"@tanstack/ai";import{z as t}from"zod";export const AssistantGraphQLToolInput=t.object({operations:t.array(t.object({query:t.string(),variables:t.record(t.unknown()).nullish(),operationName:t.string().nullish()})).min(1)});let o={type:"object",properties:{operations:{type:"array",minItems:1,description:"The operations to run, in order. Each one sees the changes of the ones before it.",items:{type:"object",properties:{query:{type:"string",description:"A GraphQL document with exactly one operation, a query or a mutation."},variables:{type:"object",description:"Values of the variables the document declares. Prefer literals written into the document."},operationName:{type:"string",description:"The name of the operation, when the document names it."}},required:["query"]}}},required:["operations"]};export const queryTool=e({name:"query",description:"Reads the open configuration: runs GraphQL operations and returns their results. Changes nothing; mutations run on a copy discarded after the call. Screenshots the operations take follow the results as images, each after its label.",inputSchema:o});export const applyTool=e({name:"apply",description:"Changes the open configuration: runs GraphQL operations and keeps their changes as one undo step. All or nothing: when any operation fails, nothing changes. `committed` says whether the changes were kept. Screenshots the operations take follow the results as images, each after its label.",inputSchema:o});
@@ -53,6 +53,7 @@ export declare const DeploymentBuildStatus: ((value: string) => DeploymentBuildS
53
53
  export interface DeploymentBuild {
54
54
  readonly id: DeploymentBuildId;
55
55
  readonly environmentId: EnvironmentId;
56
+ readonly number: number | null;
56
57
  readonly mode: DeploymentBuildMode;
57
58
  readonly status: DeploymentBuildStatus;
58
59
  readonly sourceKey: DeploymentBuildSourceKey | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salsita-ai/contracts",
3
- "version": "0.50.0-develop.f81ab6ac76",
3
+ "version": "0.50.0-develop.f87b940e67",
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.f81ab6ac76"
57
+ "@salsita-ai/common": "0.50.0-develop.f87b940e67"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@lingui/core": "5.9.5",