@crossworks/client-types 0.232.74 → 0.232.78

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.74",
3
+ "version": "0.232.78",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -73,6 +73,8 @@ export type ToolHandler =
73
73
  headersRef?: string | null;
74
74
  authRef?: string | null;
75
75
  timeoutMs?: number;
76
+ /** Provenance on rows materialised by an OpenAPI connector's sync. */
77
+ openapi?: { group: string; op: string; vanishedAt?: string; editedAt?: string };
76
78
  }
77
79
  | { kind: 'shell'; cmd: string }
78
80
  | { kind: 'mcp'; group: string; toolName: string; vanishedAt?: string }
@@ -146,6 +148,19 @@ export interface ToolGroupIntegrationDTO {
146
148
  toolCount?: number;
147
149
  serverInfo?: { name?: string; version?: string };
148
150
  };
151
+ /** Set when the group is an OPENAPI CONNECTOR — its operations are compiled
152
+ * into ordinary http tools by the connector sync. Auth stays on the
153
+ * surrounding integration fields (`baseUrl`/`secretRef`/`authTemplate`),
154
+ * never in this block; the sync-bookkeeping fields are written by the sync. */
155
+ openapi?: {
156
+ specUrl: string;
157
+ specHash?: string;
158
+ selection?: { tags?: string[]; operations?: string[] };
159
+ apiTitle?: string;
160
+ apiVersion?: string;
161
+ lastSyncAt?: string;
162
+ toolCount?: number;
163
+ };
149
164
  }
150
165
 
151
166
  /** A tool group — a named bundle of tool slugs granted to agents wholesale. */