cf-service-sdk 0.0.47 → 0.0.48

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.
@@ -102,6 +102,7 @@ export type AiAgentChatResponse = {
102
102
  response?: Maybe<Scalars['String']['output']>;
103
103
  success?: Maybe<Scalars['Boolean']['output']>;
104
104
  toolCalls?: Maybe<Array<Maybe<ToolCallType>>>;
105
+ toolResults?: Maybe<Array<Maybe<ToolResultType>>>;
105
106
  };
106
107
  /** Response type for continuing after tool execution. */
107
108
  export type AiAgentContinueResponse = {
@@ -111,6 +112,7 @@ export type AiAgentContinueResponse = {
111
112
  response?: Maybe<Scalars['String']['output']>;
112
113
  success?: Maybe<Scalars['Boolean']['output']>;
113
114
  toolCalls?: Maybe<Array<Maybe<ToolCallType>>>;
115
+ toolResults?: Maybe<Array<Maybe<ToolResultType>>>;
114
116
  };
115
117
  /** Response type for tool execution. */
116
118
  export type AiAgentExecuteResponse = {
@@ -3202,6 +3204,14 @@ export type AiAgentChatMutation = {
3202
3204
  name?: string | null;
3203
3205
  input?: any | null;
3204
3206
  } | null> | null;
3207
+ toolResults?: Array<{
3208
+ __typename?: 'ToolResultType';
3209
+ toolUseId?: string | null;
3210
+ type?: string | null;
3211
+ success?: boolean | null;
3212
+ result?: any | null;
3213
+ error?: string | null;
3214
+ } | null> | null;
3205
3215
  } | null;
3206
3216
  };
3207
3217
  export type AiAgentContinueMutationVariables = Exact<{
@@ -3223,6 +3233,14 @@ export type AiAgentContinueMutation = {
3223
3233
  name?: string | null;
3224
3234
  input?: any | null;
3225
3235
  } | null> | null;
3236
+ toolResults?: Array<{
3237
+ __typename?: 'ToolResultType';
3238
+ toolUseId?: string | null;
3239
+ type?: string | null;
3240
+ success?: boolean | null;
3241
+ result?: any | null;
3242
+ error?: string | null;
3243
+ } | null> | null;
3226
3244
  } | null;
3227
3245
  };
3228
3246
  export type AiAgentExecuteMutationVariables = Exact<{
@@ -845,6 +845,13 @@ exports.AiAgentChatDocument = (0, client_1.gql) `
845
845
  name
846
846
  input
847
847
  }
848
+ toolResults {
849
+ toolUseId
850
+ type
851
+ success
852
+ result
853
+ error
854
+ }
848
855
  requiresExecution
849
856
  error
850
857
  }
@@ -884,6 +891,13 @@ exports.AiAgentContinueDocument = (0, client_1.gql) `
884
891
  name
885
892
  input
886
893
  }
894
+ toolResults {
895
+ toolUseId
896
+ type
897
+ success
898
+ result
899
+ error
900
+ }
887
901
  requiresExecution
888
902
  error
889
903
  }
package/dist/mutations.js CHANGED
@@ -4045,6 +4045,13 @@ mutation AiAgentChat($conversationId: String, $enableTools: Boolean, $message: S
4045
4045
  name
4046
4046
  input
4047
4047
  }
4048
+ toolResults {
4049
+ toolUseId
4050
+ type
4051
+ success
4052
+ result
4053
+ error
4054
+ }
4048
4055
  requiresExecution
4049
4056
  error
4050
4057
  }
@@ -4074,6 +4081,13 @@ mutation AiAgentContinue($conversationId: String!, $toolResults: [JSONString]!)
4074
4081
  name
4075
4082
  input
4076
4083
  }
4084
+ toolResults {
4085
+ toolUseId
4086
+ type
4087
+ success
4088
+ result
4089
+ error
4090
+ }
4077
4091
  requiresExecution
4078
4092
  error
4079
4093
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-service-sdk",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",