@crossworks/client-types 0.232.74 → 0.232.81

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 +24 -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.81",
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. */
@@ -243,6 +258,10 @@ export type AgentRole =
243
258
  export interface AgentAvatarDTO {
244
259
  style: string;
245
260
  seed: string;
261
+ /** Avatar-builder component choices layered over the seed: component name →
262
+ * pinned variant, or null to hide an optional component. Stale entries
263
+ * (from another style) are ignored at render time. Absent = seed only. */
264
+ parts?: Record<string, string | null>;
246
265
  }
247
266
 
248
267
  /** Memory/budget tuning (jsonb). All fields optional — empty = runtime defaults.
@@ -911,6 +930,11 @@ export type ProfilePreferences = {
911
930
  * so an avatar still renders. Personal — two admins share the brain's style
912
931
  * but never the same avatar. */
913
932
  avatarSeed?: string;
933
+ /** Avatar-builder component choices for THIS user's avatar, layered over the
934
+ * seed: component name → pinned variant, or null to hide an optional
935
+ * component. Personal, like avatarSeed. Stale entries (saved under another
936
+ * brain style) are ignored at render time. Absent/empty = seed only. */
937
+ avatarParts?: Record<string, string | null>;
914
938
  /** Slug of the responder agent whose Telegram bot delivers event reminders.
915
939
  * Unset → the reminder worker falls back to the most-recently-active allowed
916
940
  * DM (whichever bot you last messaged). Set it to pin reminders to one