@ericsanchezok/synergy-sdk 1.1.28 → 1.2.0

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.
@@ -166,17 +166,29 @@ export type AgendaDelivery = {
166
166
  target: "session";
167
167
  sessionID: string;
168
168
  };
169
- /**
170
- * Channel context if created from a messaging channel
171
- */
172
169
  export type ChannelInfo = {
173
170
  type: string;
174
- accountId: string;
171
+ accountId?: string;
175
172
  chatId: string;
173
+ chatType?: "dm" | "group";
174
+ chatName?: string;
176
175
  senderId?: string;
176
+ senderName?: string;
177
177
  scopeKey?: string;
178
178
  createdAt?: number;
179
179
  };
180
+ export type SessionChannelEndpoint = {
181
+ kind: "channel";
182
+ channel: ChannelInfo;
183
+ };
184
+ export type SessionHolosEndpoint = {
185
+ kind: "holos";
186
+ agentId: string;
187
+ };
188
+ /**
189
+ * Endpoint context if created from a session endpoint
190
+ */
191
+ export type SessionEndpoint = SessionChannelEndpoint | SessionHolosEndpoint;
180
192
  /**
181
193
  * Context captured at creation time
182
194
  */
@@ -186,7 +198,7 @@ export type AgendaOrigin = {
186
198
  * Session where the item was created
187
199
  */
188
200
  sessionID?: string;
189
- channel?: ChannelInfo;
201
+ endpoint?: SessionEndpoint;
190
202
  };
191
203
  export type AgendaItemState = {
192
204
  /**
@@ -669,7 +681,6 @@ export type PermissionConfig = {
669
681
  question?: PermissionActionConfig;
670
682
  webfetch?: PermissionActionConfig;
671
683
  websearch?: PermissionActionConfig;
672
- codesearch?: PermissionActionConfig;
673
684
  download?: PermissionActionConfig;
674
685
  lsp?: PermissionRuleConfig;
675
686
  doom_loop?: PermissionActionConfig;
@@ -718,6 +729,25 @@ export type AgentConfig = {
718
729
  [key: string]: unknown;
719
730
  } | string | number | PermissionConfig | undefined;
720
731
  };
732
+ export type ExternalAgentConfig = {
733
+ /**
734
+ * Disable this external agent
735
+ */
736
+ disabled?: boolean;
737
+ /**
738
+ * Override path to the external agent binary
739
+ */
740
+ path?: string;
741
+ /**
742
+ * Default model for this external agent
743
+ */
744
+ model?: string;
745
+ /**
746
+ * Whether to auto-discover this agent on startup (default: true)
747
+ */
748
+ auto_discover?: boolean;
749
+ [key: string]: unknown | boolean | string | undefined;
750
+ };
721
751
  export type ProviderConfig = {
722
752
  api?: string;
723
753
  name?: string;
@@ -757,7 +787,6 @@ export type ProviderConfig = {
757
787
  input: Array<"text" | "audio" | "image" | "video" | "pdf">;
758
788
  output: Array<"text" | "audio" | "image" | "video" | "pdf">;
759
789
  };
760
- experimental?: boolean;
761
790
  status?: "alpha" | "beta" | "deprecated";
762
791
  options?: {
763
792
  [key: string]: unknown;
@@ -1143,11 +1172,14 @@ export type ChannelFeishuConfig = {
1143
1172
  */
1144
1173
  streaming?: boolean;
1145
1174
  };
1146
- export type ChannelHolosAccountConfig = {
1175
+ /**
1176
+ * Holos platform configuration
1177
+ */
1178
+ export type HolosConfig = {
1179
+ /**
1180
+ * Enable the Holos runtime connection
1181
+ */
1147
1182
  enabled?: boolean;
1148
- };
1149
- export type ChannelHolosConfig = {
1150
- type: "holos";
1151
1183
  /**
1152
1184
  * Holos API base URL
1153
1185
  */
@@ -1160,9 +1192,55 @@ export type ChannelHolosConfig = {
1160
1192
  * Holos portal URL for browser-facing pages (bind/start)
1161
1193
  */
1162
1194
  portalUrl?: string;
1163
- accounts: {
1164
- [key: string]: ChannelHolosAccountConfig;
1165
- };
1195
+ };
1196
+ /**
1197
+ * Sender identity for outgoing emails
1198
+ */
1199
+ export type EmailFromConfig = {
1200
+ /**
1201
+ * Sender email address
1202
+ */
1203
+ address?: string;
1204
+ /**
1205
+ * Sender display name
1206
+ */
1207
+ name?: string;
1208
+ };
1209
+ /**
1210
+ * SMTP transport settings for outgoing emails
1211
+ */
1212
+ export type EmailSmtpConfig = {
1213
+ /**
1214
+ * SMTP server hostname
1215
+ */
1216
+ host?: string;
1217
+ /**
1218
+ * SMTP server port
1219
+ */
1220
+ port?: number;
1221
+ /**
1222
+ * Use TLS/SSL for the SMTP connection
1223
+ */
1224
+ secure?: boolean;
1225
+ /**
1226
+ * SMTP username
1227
+ */
1228
+ username?: string;
1229
+ /**
1230
+ * SMTP password or app token
1231
+ */
1232
+ password?: string;
1233
+ };
1234
+ /**
1235
+ * Outgoing email configuration
1236
+ */
1237
+ export type EmailConfig = {
1238
+ /**
1239
+ * Enable outgoing email features
1240
+ */
1241
+ enabled?: boolean;
1242
+ from?: EmailFromConfig;
1243
+ smtp?: EmailSmtpConfig;
1166
1244
  };
1167
1245
  /**
1168
1246
  * @deprecated Always uses stretch layout.
@@ -1197,49 +1275,6 @@ export type Config = {
1197
1275
  theme?: string;
1198
1276
  keybinds?: KeybindsConfig;
1199
1277
  logLevel?: LogLevel;
1200
- /**
1201
- * TUI specific settings
1202
- */
1203
- tui?: {
1204
- /**
1205
- * TUI scroll speed
1206
- */
1207
- scroll_speed?: number;
1208
- /**
1209
- * Scroll acceleration settings
1210
- */
1211
- scroll_acceleration?: {
1212
- /**
1213
- * Enable scroll acceleration
1214
- */
1215
- enabled: boolean;
1216
- };
1217
- /**
1218
- * Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column
1219
- */
1220
- diff_style?: "auto" | "stacked";
1221
- /**
1222
- * Sound notification settings for user attention events
1223
- */
1224
- notification?: {
1225
- /**
1226
- * Enable sound notifications when user input is required
1227
- */
1228
- enabled?: boolean;
1229
- /**
1230
- * Play sound when agent asks a question (default: true)
1231
- */
1232
- on_question?: boolean;
1233
- /**
1234
- * Play sound when tool needs approval (default: true)
1235
- */
1236
- on_permission?: boolean;
1237
- /**
1238
- * Play sound when task completes (default: true)
1239
- */
1240
- on_complete?: boolean;
1241
- };
1242
- };
1243
1278
  server?: ServerConfig;
1244
1279
  /**
1245
1280
  * Command configuration
@@ -1325,6 +1360,12 @@ export type Config = {
1325
1360
  compaction?: AgentConfig;
1326
1361
  [key: string]: AgentConfig | undefined;
1327
1362
  };
1363
+ /**
1364
+ * External agent configurations (e.g. codex, claude-code)
1365
+ */
1366
+ external_agent?: {
1367
+ [key: string]: ExternalAgentConfig;
1368
+ };
1328
1369
  /**
1329
1370
  * Custom provider configurations and model overrides
1330
1371
  */
@@ -1344,8 +1385,10 @@ export type Config = {
1344
1385
  * Channel configurations for messaging platform integrations
1345
1386
  */
1346
1387
  channel?: {
1347
- [key: string]: ChannelFeishuConfig | ChannelHolosConfig;
1388
+ [key: string]: ChannelFeishuConfig;
1348
1389
  };
1390
+ holos?: HolosConfig;
1391
+ email?: EmailConfig;
1349
1392
  formatter?: false | {
1350
1393
  [key: string]: {
1351
1394
  disabled?: boolean;
@@ -1414,27 +1457,6 @@ export type Config = {
1414
1457
  prune?: boolean;
1415
1458
  };
1416
1459
  experimental?: {
1417
- hook?: {
1418
- file_edited?: {
1419
- [key: string]: Array<{
1420
- command: Array<string>;
1421
- environment?: {
1422
- [key: string]: string;
1423
- };
1424
- }>;
1425
- };
1426
- session_completed?: Array<{
1427
- command: Array<string>;
1428
- environment?: {
1429
- [key: string]: string;
1430
- };
1431
- }>;
1432
- };
1433
- /**
1434
- * Number of retries for chat completions on failure
1435
- */
1436
- chatMaxRetries?: number;
1437
- disable_paste_summary?: boolean;
1438
1460
  /**
1439
1461
  * Enable the batch tool
1440
1462
  */
@@ -1498,7 +1520,7 @@ export type ConfigRawValidationResult = {
1498
1520
  export type ConfigSetRawValidateInput = {
1499
1521
  raw: string;
1500
1522
  };
1501
- export type RuntimeReloadTarget = "config" | "skill" | "provider" | "agent" | "plugin" | "mcp" | "lsp" | "formatter" | "watcher" | "channel" | "command" | "tool_registry" | "all";
1523
+ export type RuntimeReloadTarget = "config" | "skill" | "provider" | "agent" | "plugin" | "mcp" | "lsp" | "formatter" | "watcher" | "channel" | "holos" | "command" | "tool_registry" | "all";
1502
1524
  export type RuntimeReloadResult = {
1503
1525
  success: true;
1504
1526
  requested: Array<RuntimeReloadTarget>;
@@ -1676,7 +1698,7 @@ export type Session = {
1676
1698
  id: string;
1677
1699
  scope: SessionScope;
1678
1700
  parentID?: string;
1679
- channel?: ChannelInfo;
1701
+ endpoint?: SessionEndpoint;
1680
1702
  summary?: {
1681
1703
  additions: number;
1682
1704
  deletions: number;
@@ -2140,25 +2162,15 @@ export type QuestionRequest = {
2140
2162
  };
2141
2163
  };
2142
2164
  export type QuestionAnswer = Array<string>;
2143
- export type Feedback = {
2144
- id: string;
2145
- sessionID: string;
2146
- userMessageID: string;
2147
- assistantMessageID: string;
2148
- rating: "up" | "down";
2149
- time: {
2150
- created: number;
2151
- };
2152
- };
2153
- export type DebugReportSizeEstimate = {
2165
+ export type SessionExportSizeEstimate = {
2154
2166
  sessionCount: number;
2155
2167
  messageCount: number;
2156
2168
  estimatedBytes: number;
2157
2169
  };
2158
2170
  /**
2159
- * Report detail level
2171
+ * Export detail level
2160
2172
  */
2161
- export type DebugReportMode = "compact" | "standard" | "full";
2173
+ export type SessionExportMode = "compact" | "standard" | "full";
2162
2174
  export type CortexTask = {
2163
2175
  id: string;
2164
2176
  sessionID: string;
@@ -2167,6 +2179,7 @@ export type CortexTask = {
2167
2179
  description: string;
2168
2180
  prompt: string;
2169
2181
  agent: string;
2182
+ executionRole?: "primary" | "delegated_subagent";
2170
2183
  category?: string;
2171
2184
  dagNodeId?: string;
2172
2185
  status: "pending" | "queued" | "running" | "completed" | "error" | "cancelled";
@@ -2199,15 +2212,30 @@ export type ProviderAuthAuthorization = {
2199
2212
  method: "auto" | "code";
2200
2213
  instructions: string;
2201
2214
  };
2202
- export type SkillList = Array<{
2203
- name: string;
2204
- description: string;
2205
- location: string;
2206
- builtin?: boolean;
2207
- scope: "builtin" | "global" | "project";
2208
- references?: Array<string>;
2209
- scripts?: Array<string>;
2210
- }>;
2215
+ export type SkillList = {
2216
+ items: Array<{
2217
+ name: string;
2218
+ description: string;
2219
+ location: string;
2220
+ builtin?: boolean;
2221
+ source?: "builtin" | "synergy" | "claude" | "openclaw" | "codex" | "generic";
2222
+ scope: "builtin" | "project" | "global" | "workspace" | "external";
2223
+ compatibility?: {
2224
+ level: "native" | "compatible" | "partial";
2225
+ warnings?: Array<string>;
2226
+ unsupported?: Array<string>;
2227
+ };
2228
+ entryFile?: string;
2229
+ baseDir?: string;
2230
+ references?: Array<string>;
2231
+ scripts?: Array<string>;
2232
+ }>;
2233
+ diagnostics: Array<{
2234
+ path: string;
2235
+ name: string;
2236
+ message: string;
2237
+ }>;
2238
+ };
2211
2239
  export type Symbol = {
2212
2240
  name: string;
2213
2241
  kind: number;
@@ -2427,7 +2455,7 @@ export type AgendaCreateInput = {
2427
2455
  * Session where the item was created
2428
2456
  */
2429
2457
  sessionID?: string;
2430
- channel?: ChannelInfo;
2458
+ endpoint?: SessionEndpoint;
2431
2459
  };
2432
2460
  export type AgendaPatchInput = {
2433
2461
  title?: string;
@@ -2492,23 +2520,54 @@ export type HolosCredentialsStatusResponse = {
2492
2520
  agentId?: string;
2493
2521
  maskedSecret?: string;
2494
2522
  };
2495
- export type HolosVerifyResponse = {
2496
- valid: true;
2497
- agentId: string;
2523
+ export type HolosIdentityState = {
2524
+ loggedIn: boolean;
2525
+ agentId: string | null;
2526
+ };
2527
+ export type HolosConnectionState = {
2528
+ status: "connected" | "connecting" | "disconnected" | "disabled" | "failed" | "unknown";
2529
+ error?: string;
2530
+ };
2531
+ export type HolosReadinessState = {
2532
+ ready: boolean;
2533
+ reason?: "not_logged_in" | "not_connected";
2534
+ };
2535
+ export type HolosCapabilityKey = "agora" | "websearch" | "arxiv" | "remote_execution";
2536
+ export type HolosCapabilityStatus = "available" | "locked" | "degraded" | "unknown";
2537
+ export type HolosCapabilityReason = "not_logged_in" | "not_connected" | "quota_unavailable" | "quota_exhausted" | "temporarily_unavailable" | "unknown";
2538
+ export type HolosCapabilityActionKind = "login_holos" | "reconnect_holos" | "open_settings" | "wait";
2539
+ export type HolosCapabilityAction = {
2540
+ kind: HolosCapabilityActionKind;
2541
+ label: string;
2542
+ };
2543
+ export type HolosCapabilityItem = {
2544
+ key: HolosCapabilityKey;
2545
+ status: HolosCapabilityStatus;
2546
+ reason?: HolosCapabilityReason;
2547
+ title: string;
2548
+ description: string;
2549
+ action?: HolosCapabilityAction;
2550
+ };
2551
+ export type HolosCapabilityState = {
2552
+ items: Array<HolosCapabilityItem>;
2553
+ };
2554
+ export type HolosQuotaStatus = "available" | "exhausted" | "unknown" | "unavailable";
2555
+ export type HolosQuotaInfo = {
2556
+ status: HolosQuotaStatus;
2557
+ remaining: number | null;
2558
+ limit: number | null;
2559
+ reason?: string;
2560
+ };
2561
+ export type HolosEntitlementState = {
2562
+ quotas: {
2563
+ dailyFreeUsage: HolosQuotaInfo;
2564
+ };
2498
2565
  };
2499
2566
  export type HolosProfile = {
2500
2567
  name: string;
2501
2568
  bio: string;
2502
2569
  initialized: boolean;
2503
2570
  initializedAt?: number;
2504
- /**
2505
- * Local asset ID for the profile avatar
2506
- */
2507
- avatar?: string;
2508
- };
2509
- export type HolosProfileResponse = {
2510
- agentId: string | null;
2511
- profile: HolosProfile | null;
2512
2571
  };
2513
2572
  export type Contact = {
2514
2573
  /**
@@ -2532,10 +2591,6 @@ export type Contact = {
2532
2591
  * Timestamp when contact was added
2533
2592
  */
2534
2593
  addedAt: number;
2535
- /**
2536
- * Local asset ID for the contact avatar
2537
- */
2538
- avatar?: string;
2539
2594
  config?: {
2540
2595
  /**
2541
2596
  * Allow the agent to automatically reply to messages from this contact
@@ -2576,10 +2631,6 @@ export type FriendRequest = {
2576
2631
  * Short bio of the other party
2577
2632
  */
2578
2633
  peerBio?: string;
2579
- /**
2580
- * Local asset ID for the other party's avatar
2581
- */
2582
- peerAvatar?: string;
2583
2634
  status?: "pending" | "accepted" | "rejected" | "pending_delivery";
2584
2635
  /**
2585
2636
  * Timestamp when request was created
@@ -2590,6 +2641,30 @@ export type FriendRequest = {
2590
2641
  */
2591
2642
  respondedAt?: number;
2592
2643
  };
2644
+ export type HolosSocialState = {
2645
+ profile: HolosProfile | null;
2646
+ contacts: Array<Contact>;
2647
+ friendRequests: Array<FriendRequest>;
2648
+ presence: {
2649
+ [key: string]: "online" | "offline" | "unknown";
2650
+ };
2651
+ };
2652
+ export type HolosState = {
2653
+ identity: HolosIdentityState;
2654
+ connection: HolosConnectionState;
2655
+ readiness: HolosReadinessState;
2656
+ capability: HolosCapabilityState;
2657
+ entitlement: HolosEntitlementState;
2658
+ social: HolosSocialState;
2659
+ };
2660
+ export type HolosVerifyResponse = {
2661
+ valid: true;
2662
+ agentId: string;
2663
+ };
2664
+ export type HolosProfileResponse = {
2665
+ agentId: string | null;
2666
+ profile: HolosProfile | null;
2667
+ };
2593
2668
  export type FriendRequestSendResponse = {
2594
2669
  queued: boolean;
2595
2670
  };
@@ -2611,6 +2686,14 @@ export type FriendReplyMapping = Array<{
2611
2686
  triggerMessageId: string;
2612
2687
  subSessionId: string;
2613
2688
  }>;
2689
+ export type ExternalAgentInfo = {
2690
+ adapter: string;
2691
+ path?: string;
2692
+ version?: string;
2693
+ config?: {
2694
+ [key: string]: unknown;
2695
+ };
2696
+ };
2614
2697
  export type Agent = {
2615
2698
  name: string;
2616
2699
  description?: string;
@@ -2630,6 +2713,7 @@ export type Agent = {
2630
2713
  [key: string]: unknown;
2631
2714
  };
2632
2715
  steps?: number;
2716
+ external?: ExternalAgentInfo;
2633
2717
  };
2634
2718
  export type McpStatusConnected = {
2635
2719
  status: "connected";
@@ -2769,43 +2853,28 @@ export type EventFileWatcherUpdated = {
2769
2853
  event: "add" | "change" | "unlink";
2770
2854
  };
2771
2855
  };
2772
- export type EventTuiPromptAppend = {
2773
- type: "tui.prompt.append";
2856
+ export type EventMcpToolsChanged = {
2857
+ type: "mcp.tools.changed";
2774
2858
  properties: {
2775
- text: string;
2859
+ server: string;
2776
2860
  };
2777
2861
  };
2778
- export type EventTuiCommandExecute = {
2779
- type: "tui.command.execute";
2862
+ export type EventMcpPromptsChanged = {
2863
+ type: "mcp.prompts.changed";
2780
2864
  properties: {
2781
- command: "session.list" | "session.new" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
2865
+ server: string;
2782
2866
  };
2783
2867
  };
2784
- export type EventTuiToastShow = {
2785
- type: "tui.toast.show";
2868
+ export type EventMcpResourcesChanged = {
2869
+ type: "mcp.resources.changed";
2786
2870
  properties: {
2787
- title?: string;
2788
- message: string;
2789
- variant: "info" | "success" | "warning" | "error";
2790
- /**
2791
- * Duration in milliseconds
2792
- */
2793
- duration?: number;
2871
+ server: string;
2794
2872
  };
2795
2873
  };
2796
- export type EventTuiSessionSelect = {
2797
- type: "tui.session.select";
2874
+ export type EventMcpReady = {
2875
+ type: "mcp.ready";
2798
2876
  properties: {
2799
- /**
2800
- * Session ID to navigate to
2801
- */
2802
- sessionID: string;
2803
- };
2804
- };
2805
- export type EventMcpToolsChanged = {
2806
- type: "mcp.tools.changed";
2807
- properties: {
2808
- server: string;
2877
+ [key: string]: unknown;
2809
2878
  };
2810
2879
  };
2811
2880
  export type EventCommandExecuted = {
@@ -3019,6 +3088,24 @@ export type EventHolosContactConfigUpdated = {
3019
3088
  contact: Contact;
3020
3089
  };
3021
3090
  };
3091
+ export type EventHolosFriendRequestCreated = {
3092
+ type: "holos.friend_request.created";
3093
+ properties: {
3094
+ request: FriendRequest;
3095
+ };
3096
+ };
3097
+ export type EventHolosFriendRequestUpdated = {
3098
+ type: "holos.friend_request.updated";
3099
+ properties: {
3100
+ request: FriendRequest;
3101
+ };
3102
+ };
3103
+ export type EventHolosFriendRequestRemoved = {
3104
+ type: "holos.friend_request.removed";
3105
+ properties: {
3106
+ id: string;
3107
+ };
3108
+ };
3022
3109
  export type EventHolosQueueEnqueued = {
3023
3110
  type: "holos.queue.enqueued";
3024
3111
  properties: {
@@ -3048,30 +3135,19 @@ export type EventHolosQueueExpired = {
3048
3135
  id: string;
3049
3136
  };
3050
3137
  };
3051
- export type EventHolosFriendRequestCreated = {
3052
- type: "holos.friend_request.created";
3053
- properties: {
3054
- request: FriendRequest;
3055
- };
3056
- };
3057
- export type EventHolosFriendRequestUpdated = {
3058
- type: "holos.friend_request.updated";
3059
- properties: {
3060
- request: FriendRequest;
3061
- };
3062
- };
3063
- export type EventHolosFriendRequestRemoved = {
3064
- type: "holos.friend_request.removed";
3065
- properties: {
3066
- id: string;
3067
- };
3068
- };
3069
3138
  export type EventHolosConnected = {
3070
3139
  type: "holos.connected";
3071
3140
  properties: {
3072
3141
  peerId: string;
3073
3142
  };
3074
3143
  };
3144
+ export type EventHolosConnectionStatusChanged = {
3145
+ type: "holos.connection.status_changed";
3146
+ properties: {
3147
+ status: string;
3148
+ error?: string;
3149
+ };
3150
+ };
3075
3151
  export type EventHolosPresence = {
3076
3152
  type: "holos.presence";
3077
3153
  properties: {
@@ -3104,19 +3180,6 @@ export type EventAgendaItemDeleted = {
3104
3180
  scopeID: string;
3105
3181
  };
3106
3182
  };
3107
- export type EventFeedbackUpdated = {
3108
- type: "feedback.updated";
3109
- properties: {
3110
- feedback: Feedback;
3111
- };
3112
- };
3113
- export type EventFeedbackRemoved = {
3114
- type: "feedback.removed";
3115
- properties: {
3116
- sessionID: string;
3117
- assistantMessageID: string;
3118
- };
3119
- };
3120
3183
  export type EventCortexTaskCreated = {
3121
3184
  type: "cortex.task.created";
3122
3185
  properties: {
@@ -3206,7 +3269,7 @@ export type EventGlobalDisposed = {
3206
3269
  [key: string]: unknown;
3207
3270
  };
3208
3271
  };
3209
- export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventScopeUpdated | EventScopeRemoved | EventConfigUpdated | EventConfigSetActivated | EventServerInstanceDisposed | EventFileEdited | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventCommandExecuted | EventVcsBranchUpdated | EventPermissionAsked | EventPermissionReplied | EventPermissionAllowAllChanged | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventRuntimeReloaded | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventTodoUpdated | EventDagUpdated | EventHolosProfileUpdated | EventAppPush | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosContactConfigUpdated | EventHolosQueueEnqueued | EventHolosQueueDelivered | EventHolosQueueExpired | EventHolosFriendRequestCreated | EventHolosFriendRequestUpdated | EventHolosFriendRequestRemoved | EventHolosConnected | EventHolosPresence | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventFeedbackUpdated | EventFeedbackRemoved | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventServerConnected | EventGlobalDisposed;
3272
+ export type Event = EventInstallationUpdated | EventInstallationUpdateAvailable | EventScopeUpdated | EventScopeRemoved | EventConfigUpdated | EventConfigSetActivated | EventServerInstanceDisposed | EventFileEdited | EventLspClientDiagnostics | EventLspUpdated | EventFileWatcherUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventCommandExecuted | EventVcsBranchUpdated | EventPermissionAsked | EventPermissionReplied | EventPermissionAllowAllChanged | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventRuntimeReloaded | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventTodoUpdated | EventDagUpdated | EventHolosProfileUpdated | EventAppPush | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosContactConfigUpdated | EventHolosFriendRequestCreated | EventHolosFriendRequestUpdated | EventHolosFriendRequestRemoved | EventHolosQueueEnqueued | EventHolosQueueDelivered | EventHolosQueueExpired | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventServerConnected | EventGlobalDisposed;
3210
3273
  export type GlobalHealthData = {
3211
3274
  body?: never;
3212
3275
  path?: never;
@@ -5083,152 +5146,7 @@ export type QuestionRejectResponses = {
5083
5146
  200: boolean;
5084
5147
  };
5085
5148
  export type QuestionRejectResponse = QuestionRejectResponses[keyof QuestionRejectResponses];
5086
- export type SessionFeedbackListData = {
5087
- body?: never;
5088
- path: {
5089
- /**
5090
- * Session ID
5091
- */
5092
- sessionID: string;
5093
- };
5094
- query?: {
5095
- directory?: string;
5096
- };
5097
- url: "/session/{sessionID}/feedback";
5098
- };
5099
- export type SessionFeedbackListErrors = {
5100
- /**
5101
- * Bad request
5102
- */
5103
- 400: BadRequestError;
5104
- /**
5105
- * Not found
5106
- */
5107
- 404: NotFoundError;
5108
- };
5109
- export type SessionFeedbackListError = SessionFeedbackListErrors[keyof SessionFeedbackListErrors];
5110
- export type SessionFeedbackListResponses = {
5111
- /**
5112
- * Feedback list
5113
- */
5114
- 200: Array<Feedback>;
5115
- };
5116
- export type SessionFeedbackListResponse = SessionFeedbackListResponses[keyof SessionFeedbackListResponses];
5117
- export type SessionFeedbackSetData = {
5118
- body?: {
5119
- /**
5120
- * User message ID
5121
- */
5122
- userMessageID: string;
5123
- /**
5124
- * Assistant message ID
5125
- */
5126
- assistantMessageID: string;
5127
- /**
5128
- * Rating: up or down
5129
- */
5130
- rating: "up" | "down";
5131
- };
5132
- path: {
5133
- /**
5134
- * Session ID
5135
- */
5136
- sessionID: string;
5137
- };
5138
- query?: {
5139
- directory?: string;
5140
- };
5141
- url: "/session/{sessionID}/feedback";
5142
- };
5143
- export type SessionFeedbackSetErrors = {
5144
- /**
5145
- * Bad request
5146
- */
5147
- 400: BadRequestError;
5148
- /**
5149
- * Not found
5150
- */
5151
- 404: NotFoundError;
5152
- };
5153
- export type SessionFeedbackSetError = SessionFeedbackSetErrors[keyof SessionFeedbackSetErrors];
5154
- export type SessionFeedbackSetResponses = {
5155
- /**
5156
- * Feedback saved
5157
- */
5158
- 200: Feedback;
5159
- };
5160
- export type SessionFeedbackSetResponse = SessionFeedbackSetResponses[keyof SessionFeedbackSetResponses];
5161
- export type SessionFeedbackDeleteData = {
5162
- body?: never;
5163
- path: {
5164
- /**
5165
- * Session ID
5166
- */
5167
- sessionID: string;
5168
- /**
5169
- * Assistant message ID
5170
- */
5171
- messageID: string;
5172
- };
5173
- query?: {
5174
- directory?: string;
5175
- };
5176
- url: "/session/{sessionID}/feedback/{messageID}";
5177
- };
5178
- export type SessionFeedbackDeleteErrors = {
5179
- /**
5180
- * Bad request
5181
- */
5182
- 400: BadRequestError;
5183
- /**
5184
- * Not found
5185
- */
5186
- 404: NotFoundError;
5187
- };
5188
- export type SessionFeedbackDeleteError = SessionFeedbackDeleteErrors[keyof SessionFeedbackDeleteErrors];
5189
- export type SessionFeedbackDeleteResponses = {
5190
- /**
5191
- * Feedback deleted
5192
- */
5193
- 200: boolean;
5194
- };
5195
- export type SessionFeedbackDeleteResponse = SessionFeedbackDeleteResponses[keyof SessionFeedbackDeleteResponses];
5196
- export type SessionFeedbackGetData = {
5197
- body?: never;
5198
- path: {
5199
- /**
5200
- * Session ID
5201
- */
5202
- sessionID: string;
5203
- /**
5204
- * Assistant message ID
5205
- */
5206
- messageID: string;
5207
- };
5208
- query?: {
5209
- directory?: string;
5210
- };
5211
- url: "/session/{sessionID}/feedback/{messageID}";
5212
- };
5213
- export type SessionFeedbackGetErrors = {
5214
- /**
5215
- * Bad request
5216
- */
5217
- 400: BadRequestError;
5218
- /**
5219
- * Not found
5220
- */
5221
- 404: NotFoundError;
5222
- };
5223
- export type SessionFeedbackGetError = SessionFeedbackGetErrors[keyof SessionFeedbackGetErrors];
5224
- export type SessionFeedbackGetResponses = {
5225
- /**
5226
- * Feedback or null
5227
- */
5228
- 200: Feedback | null;
5229
- };
5230
- export type SessionFeedbackGetResponse = SessionFeedbackGetResponses[keyof SessionFeedbackGetResponses];
5231
- export type SessionDebugReportEstimateData = {
5149
+ export type SessionExportEstimateData = {
5232
5150
  body?: never;
5233
5151
  path: {
5234
5152
  /**
@@ -5239,9 +5157,9 @@ export type SessionDebugReportEstimateData = {
5239
5157
  query?: {
5240
5158
  directory?: string;
5241
5159
  };
5242
- url: "/session/{sessionID}/debug-report/estimate";
5160
+ url: "/session/{sessionID}/export/estimate";
5243
5161
  };
5244
- export type SessionDebugReportEstimateErrors = {
5162
+ export type SessionExportEstimateErrors = {
5245
5163
  /**
5246
5164
  * Bad request
5247
5165
  */
@@ -5251,15 +5169,15 @@ export type SessionDebugReportEstimateErrors = {
5251
5169
  */
5252
5170
  404: NotFoundError;
5253
5171
  };
5254
- export type SessionDebugReportEstimateError = SessionDebugReportEstimateErrors[keyof SessionDebugReportEstimateErrors];
5255
- export type SessionDebugReportEstimateResponses = {
5172
+ export type SessionExportEstimateError = SessionExportEstimateErrors[keyof SessionExportEstimateErrors];
5173
+ export type SessionExportEstimateResponses = {
5256
5174
  /**
5257
5175
  * Size estimate
5258
5176
  */
5259
- 200: DebugReportSizeEstimate;
5177
+ 200: SessionExportSizeEstimate;
5260
5178
  };
5261
- export type SessionDebugReportEstimateResponse = SessionDebugReportEstimateResponses[keyof SessionDebugReportEstimateResponses];
5262
- export type SessionDebugReportExportData = {
5179
+ export type SessionExportEstimateResponse = SessionExportEstimateResponses[keyof SessionExportEstimateResponses];
5180
+ export type SessionExportDownloadData = {
5263
5181
  body?: never;
5264
5182
  path: {
5265
5183
  /**
@@ -5269,11 +5187,11 @@ export type SessionDebugReportExportData = {
5269
5187
  };
5270
5188
  query?: {
5271
5189
  directory?: string;
5272
- mode?: DebugReportMode;
5190
+ mode?: SessionExportMode;
5273
5191
  };
5274
- url: "/session/{sessionID}/debug-report";
5192
+ url: "/session/{sessionID}/export";
5275
5193
  };
5276
- export type SessionDebugReportExportErrors = {
5194
+ export type SessionExportDownloadErrors = {
5277
5195
  /**
5278
5196
  * Bad request
5279
5197
  */
@@ -5283,57 +5201,13 @@ export type SessionDebugReportExportErrors = {
5283
5201
  */
5284
5202
  404: NotFoundError;
5285
5203
  };
5286
- export type SessionDebugReportExportError = SessionDebugReportExportErrors[keyof SessionDebugReportExportErrors];
5287
- export type SessionDebugReportExportResponses = {
5204
+ export type SessionExportDownloadError = SessionExportDownloadErrors[keyof SessionExportDownloadErrors];
5205
+ export type SessionExportDownloadResponses = {
5288
5206
  /**
5289
- * Debug report as gzipped JSON
5207
+ * Session export as gzipped JSON
5290
5208
  */
5291
5209
  200: unknown;
5292
5210
  };
5293
- export type SessionDebugReportEmailData = {
5294
- body?: {
5295
- /**
5296
- * Recipient email address
5297
- */
5298
- to: string;
5299
- mode?: DebugReportMode;
5300
- /**
5301
- * User description of the issue
5302
- */
5303
- description?: string;
5304
- };
5305
- path: {
5306
- /**
5307
- * Root session ID
5308
- */
5309
- sessionID: string;
5310
- };
5311
- query?: {
5312
- directory?: string;
5313
- };
5314
- url: "/session/{sessionID}/debug-report/email";
5315
- };
5316
- export type SessionDebugReportEmailErrors = {
5317
- /**
5318
- * Bad request
5319
- */
5320
- 400: BadRequestError;
5321
- /**
5322
- * Not found
5323
- */
5324
- 404: NotFoundError;
5325
- };
5326
- export type SessionDebugReportEmailError = SessionDebugReportEmailErrors[keyof SessionDebugReportEmailErrors];
5327
- export type SessionDebugReportEmailResponses = {
5328
- /**
5329
- * Email sent
5330
- */
5331
- 200: {
5332
- success: boolean;
5333
- messageId: string;
5334
- };
5335
- };
5336
- export type SessionDebugReportEmailResponse = SessionDebugReportEmailResponses[keyof SessionDebugReportEmailResponses];
5337
5211
  export type CortexListData = {
5338
5212
  body?: never;
5339
5213
  path?: never;
@@ -5510,7 +5384,6 @@ export type ProviderListResponses = {
5510
5384
  input: Array<"text" | "audio" | "image" | "video" | "pdf">;
5511
5385
  output: Array<"text" | "audio" | "image" | "video" | "pdf">;
5512
5386
  };
5513
- experimental?: boolean;
5514
5387
  status?: "alpha" | "beta" | "deprecated";
5515
5388
  options: {
5516
5389
  [key: string]: unknown;
@@ -6799,6 +6672,21 @@ export type HolosCredentialsStatusResponses = {
6799
6672
  200: HolosCredentialsStatusResponse;
6800
6673
  };
6801
6674
  export type HolosCredentialsStatusResponse2 = HolosCredentialsStatusResponses[keyof HolosCredentialsStatusResponses];
6675
+ export type HolosStateData = {
6676
+ body?: never;
6677
+ path?: never;
6678
+ query?: {
6679
+ directory?: string;
6680
+ };
6681
+ url: "/holos/state";
6682
+ };
6683
+ export type HolosStateResponses = {
6684
+ /**
6685
+ * Unified Holos state
6686
+ */
6687
+ 200: HolosState;
6688
+ };
6689
+ export type HolosStateResponse = HolosStateResponses[keyof HolosStateResponses];
6802
6690
  export type HolosVerifyData = {
6803
6691
  body?: never;
6804
6692
  path?: never;
@@ -6833,7 +6721,6 @@ export type HolosProfileUpdateData = {
6833
6721
  body?: {
6834
6722
  name: string;
6835
6723
  bio: string;
6836
- avatar?: string;
6837
6724
  };
6838
6725
  path?: never;
6839
6726
  query?: {
@@ -6885,30 +6772,6 @@ export type HolosProfileSkipGenesisResponses = {
6885
6772
  200: HolosProfile;
6886
6773
  };
6887
6774
  export type HolosProfileSkipGenesisResponse = HolosProfileSkipGenesisResponses[keyof HolosProfileSkipGenesisResponses];
6888
- export type HolosProfileAvatarData = {
6889
- body?: {
6890
- file: unknown;
6891
- };
6892
- path?: never;
6893
- query?: {
6894
- directory?: string;
6895
- };
6896
- url: "/holos/profile/avatar";
6897
- };
6898
- export type HolosProfileAvatarErrors = {
6899
- /**
6900
- * Bad request
6901
- */
6902
- 400: BadRequestError;
6903
- };
6904
- export type HolosProfileAvatarError = HolosProfileAvatarErrors[keyof HolosProfileAvatarErrors];
6905
- export type HolosProfileAvatarResponses = {
6906
- /**
6907
- * Updated profile
6908
- */
6909
- 200: HolosProfile;
6910
- };
6911
- export type HolosProfileAvatarResponse = HolosProfileAvatarResponses[keyof HolosProfileAvatarResponses];
6912
6775
  export type HolosContactListData = {
6913
6776
  body?: never;
6914
6777
  path?: never;