@cubos/agent-sdk 0.0.1143127 → 0.0.1143337

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.
@@ -23,6 +23,8 @@ export declare function mcpsApi(t: Transport, tenantSlug: string): {
23
23
  created_at: string;
24
24
  display_name: string;
25
25
  dynamic_tools: boolean;
26
+ graphql_eligible?: boolean;
27
+ graphql_enabled: boolean;
26
28
  has_headers: boolean;
27
29
  header_names: string[] | null;
28
30
  id: string;
@@ -39,6 +41,8 @@ export declare function mcpsApi(t: Transport, tenantSlug: string): {
39
41
  created_at: string;
40
42
  display_name: string;
41
43
  dynamic_tools: boolean;
44
+ graphql_eligible?: boolean;
45
+ graphql_enabled: boolean;
42
46
  has_headers: boolean;
43
47
  header_names: string[] | null;
44
48
  id: string;
@@ -55,6 +59,8 @@ export declare function mcpsApi(t: Transport, tenantSlug: string): {
55
59
  created_at: string;
56
60
  display_name: string;
57
61
  dynamic_tools: boolean;
62
+ graphql_eligible?: boolean;
63
+ graphql_enabled: boolean;
58
64
  has_headers: boolean;
59
65
  header_names: string[] | null;
60
66
  id: string;
@@ -73,6 +79,8 @@ export declare function mcpsApi(t: Transport, tenantSlug: string): {
73
79
  created_at: string;
74
80
  display_name: string;
75
81
  dynamic_tools: boolean;
82
+ graphql_eligible?: boolean;
83
+ graphql_enabled: boolean;
76
84
  has_headers: boolean;
77
85
  header_names: string[] | null;
78
86
  id: string;
@@ -7984,7 +7984,9 @@ export interface paths {
7984
7984
  headers: {
7985
7985
  [name: string]: unknown;
7986
7986
  };
7987
- content?: never;
7987
+ content: {
7988
+ "application/json": components["schemas"]["McpCreateError"];
7989
+ };
7988
7990
  };
7989
7991
  401: {
7990
7992
  headers: {
@@ -12236,6 +12238,12 @@ export interface components {
12236
12238
  CreateMcpInput: {
12237
12239
  display_name: string;
12238
12240
  dynamic_tools?: boolean;
12241
+ /**
12242
+ * @description Rejected with `400` unless the probe leaves the MCP `graphql_eligible`:
12243
+ * enabled read-only tools with output schemas, at least one of which
12244
+ * takes an id another one returns.
12245
+ */
12246
+ graphql_enabled?: boolean;
12239
12247
  /**
12240
12248
  * @description Extra HTTP headers sent on every request to this MCP server, as a JSON
12241
12249
  * object **encoded in a string** — NOT raw `Name: value` header lines.
@@ -12756,6 +12764,21 @@ export interface components {
12756
12764
  * turn instead of relying on the cached `mcp_tools` snapshot.
12757
12765
  */
12758
12766
  dynamic_tools: boolean;
12767
+ /**
12768
+ * @description Computed, never stored: whether the enabled tools would give that
12769
+ * schema at least one traversal — some read-only tool's result carries
12770
+ * the named id another read-only tool takes. Without one a query is the
12771
+ * direct call with the whole schema as prompt overhead, so the flag is
12772
+ * refused. Recomputed on every read because a refresh can change it.
12773
+ * Defaulted so the CLI can decode responses from pre-field servers.
12774
+ */
12775
+ graphql_eligible?: boolean;
12776
+ /**
12777
+ * @description When true, the agent also gets a synthesized `{slug}__graphql` tool that
12778
+ * queries this MCP's read-only tools through one GraphQL schema derived
12779
+ * from their output schemas. Can only be turned on while `graphql_eligible`.
12780
+ */
12781
+ graphql_enabled: boolean;
12759
12782
  /** @description Whether the headers field has a value (plaintext is never returned). */
12760
12783
  has_headers: boolean;
12761
12784
  /**
@@ -13674,6 +13697,11 @@ export interface components {
13674
13697
  UpdateMcpInput: {
13675
13698
  display_name?: string | null;
13676
13699
  dynamic_tools?: boolean | null;
13700
+ /**
13701
+ * @description Turning this on is rejected with `400` unless the MCP currently has at
13702
+ * least one enabled read-only tool that advertises an output schema.
13703
+ */
13704
+ graphql_enabled?: boolean | null;
13677
13705
  /**
13678
13706
  * @description A JSON object encoded in a string (same wire format as on create) that
13679
13707
  * PATCHes the stored header set: a string value replaces that header, a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cubos/agent-sdk",
3
- "version": "0.0.1143127",
3
+ "version": "0.0.1143337",
4
4
  "type": "module",
5
5
  "description": "Client for the Cubos Agent conversation API. Runs anywhere fetch does.",
6
6
  "license": "SEE LICENSE IN LICENSE",