@ericsanchezok/synergy-sdk 1.1.27 → 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;
@@ -1100,6 +1129,10 @@ export type ChannelFeishuAccountConfig = {
1100
1129
  * Require @mention in group chats
1101
1130
  */
1102
1131
  requireMention?: boolean;
1132
+ /**
1133
+ * Bot open_id used to verify real @mentions in group chats
1134
+ */
1135
+ botOpenId?: string;
1103
1136
  /**
1104
1137
  * Enable streaming card updates
1105
1138
  */
@@ -1139,11 +1172,14 @@ export type ChannelFeishuConfig = {
1139
1172
  */
1140
1173
  streaming?: boolean;
1141
1174
  };
1142
- export type ChannelHolosAccountConfig = {
1175
+ /**
1176
+ * Holos platform configuration
1177
+ */
1178
+ export type HolosConfig = {
1179
+ /**
1180
+ * Enable the Holos runtime connection
1181
+ */
1143
1182
  enabled?: boolean;
1144
- };
1145
- export type ChannelHolosConfig = {
1146
- type: "holos";
1147
1183
  /**
1148
1184
  * Holos API base URL
1149
1185
  */
@@ -1156,9 +1192,55 @@ export type ChannelHolosConfig = {
1156
1192
  * Holos portal URL for browser-facing pages (bind/start)
1157
1193
  */
1158
1194
  portalUrl?: string;
1159
- accounts: {
1160
- [key: string]: ChannelHolosAccountConfig;
1161
- };
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;
1162
1244
  };
1163
1245
  /**
1164
1246
  * @deprecated Always uses stretch layout.
@@ -1193,49 +1275,6 @@ export type Config = {
1193
1275
  theme?: string;
1194
1276
  keybinds?: KeybindsConfig;
1195
1277
  logLevel?: LogLevel;
1196
- /**
1197
- * TUI specific settings
1198
- */
1199
- tui?: {
1200
- /**
1201
- * TUI scroll speed
1202
- */
1203
- scroll_speed?: number;
1204
- /**
1205
- * Scroll acceleration settings
1206
- */
1207
- scroll_acceleration?: {
1208
- /**
1209
- * Enable scroll acceleration
1210
- */
1211
- enabled: boolean;
1212
- };
1213
- /**
1214
- * Control diff rendering style: 'auto' adapts to terminal width, 'stacked' always shows single column
1215
- */
1216
- diff_style?: "auto" | "stacked";
1217
- /**
1218
- * Sound notification settings for user attention events
1219
- */
1220
- notification?: {
1221
- /**
1222
- * Enable sound notifications when user input is required
1223
- */
1224
- enabled?: boolean;
1225
- /**
1226
- * Play sound when agent asks a question (default: true)
1227
- */
1228
- on_question?: boolean;
1229
- /**
1230
- * Play sound when tool needs approval (default: true)
1231
- */
1232
- on_permission?: boolean;
1233
- /**
1234
- * Play sound when task completes (default: true)
1235
- */
1236
- on_complete?: boolean;
1237
- };
1238
- };
1239
1278
  server?: ServerConfig;
1240
1279
  /**
1241
1280
  * Command configuration
@@ -1321,6 +1360,12 @@ export type Config = {
1321
1360
  compaction?: AgentConfig;
1322
1361
  [key: string]: AgentConfig | undefined;
1323
1362
  };
1363
+ /**
1364
+ * External agent configurations (e.g. codex, claude-code)
1365
+ */
1366
+ external_agent?: {
1367
+ [key: string]: ExternalAgentConfig;
1368
+ };
1324
1369
  /**
1325
1370
  * Custom provider configurations and model overrides
1326
1371
  */
@@ -1340,8 +1385,10 @@ export type Config = {
1340
1385
  * Channel configurations for messaging platform integrations
1341
1386
  */
1342
1387
  channel?: {
1343
- [key: string]: ChannelFeishuConfig | ChannelHolosConfig;
1388
+ [key: string]: ChannelFeishuConfig;
1344
1389
  };
1390
+ holos?: HolosConfig;
1391
+ email?: EmailConfig;
1345
1392
  formatter?: false | {
1346
1393
  [key: string]: {
1347
1394
  disabled?: boolean;
@@ -1410,27 +1457,6 @@ export type Config = {
1410
1457
  prune?: boolean;
1411
1458
  };
1412
1459
  experimental?: {
1413
- hook?: {
1414
- file_edited?: {
1415
- [key: string]: Array<{
1416
- command: Array<string>;
1417
- environment?: {
1418
- [key: string]: string;
1419
- };
1420
- }>;
1421
- };
1422
- session_completed?: Array<{
1423
- command: Array<string>;
1424
- environment?: {
1425
- [key: string]: string;
1426
- };
1427
- }>;
1428
- };
1429
- /**
1430
- * Number of retries for chat completions on failure
1431
- */
1432
- chatMaxRetries?: number;
1433
- disable_paste_summary?: boolean;
1434
1460
  /**
1435
1461
  * Enable the batch tool
1436
1462
  */
@@ -1494,7 +1520,7 @@ export type ConfigRawValidationResult = {
1494
1520
  export type ConfigSetRawValidateInput = {
1495
1521
  raw: string;
1496
1522
  };
1497
- 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";
1498
1524
  export type RuntimeReloadResult = {
1499
1525
  success: true;
1500
1526
  requested: Array<RuntimeReloadTarget>;
@@ -1672,7 +1698,7 @@ export type Session = {
1672
1698
  id: string;
1673
1699
  scope: SessionScope;
1674
1700
  parentID?: string;
1675
- channel?: ChannelInfo;
1701
+ endpoint?: SessionEndpoint;
1676
1702
  summary?: {
1677
1703
  additions: number;
1678
1704
  deletions: number;
@@ -1690,6 +1716,7 @@ export type Session = {
1690
1716
  pinned?: number;
1691
1717
  permission?: PermissionRuleset;
1692
1718
  pendingReply?: boolean;
1719
+ allowAll?: boolean;
1693
1720
  interaction?: SessionInteraction;
1694
1721
  agenda?: {
1695
1722
  itemID: string;
@@ -2135,25 +2162,15 @@ export type QuestionRequest = {
2135
2162
  };
2136
2163
  };
2137
2164
  export type QuestionAnswer = Array<string>;
2138
- export type Feedback = {
2139
- id: string;
2140
- sessionID: string;
2141
- userMessageID: string;
2142
- assistantMessageID: string;
2143
- rating: "up" | "down";
2144
- time: {
2145
- created: number;
2146
- };
2147
- };
2148
- export type DebugReportSizeEstimate = {
2165
+ export type SessionExportSizeEstimate = {
2149
2166
  sessionCount: number;
2150
2167
  messageCount: number;
2151
2168
  estimatedBytes: number;
2152
2169
  };
2153
2170
  /**
2154
- * Report detail level
2171
+ * Export detail level
2155
2172
  */
2156
- export type DebugReportMode = "compact" | "standard" | "full";
2173
+ export type SessionExportMode = "compact" | "standard" | "full";
2157
2174
  export type CortexTask = {
2158
2175
  id: string;
2159
2176
  sessionID: string;
@@ -2162,6 +2179,7 @@ export type CortexTask = {
2162
2179
  description: string;
2163
2180
  prompt: string;
2164
2181
  agent: string;
2182
+ executionRole?: "primary" | "delegated_subagent";
2165
2183
  category?: string;
2166
2184
  dagNodeId?: string;
2167
2185
  status: "pending" | "queued" | "running" | "completed" | "error" | "cancelled";
@@ -2194,15 +2212,30 @@ export type ProviderAuthAuthorization = {
2194
2212
  method: "auto" | "code";
2195
2213
  instructions: string;
2196
2214
  };
2197
- export type SkillList = Array<{
2198
- name: string;
2199
- description: string;
2200
- location: string;
2201
- builtin?: boolean;
2202
- scope: "builtin" | "global" | "project";
2203
- references?: Array<string>;
2204
- scripts?: Array<string>;
2205
- }>;
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
+ };
2206
2239
  export type Symbol = {
2207
2240
  name: string;
2208
2241
  kind: number;
@@ -2422,7 +2455,7 @@ export type AgendaCreateInput = {
2422
2455
  * Session where the item was created
2423
2456
  */
2424
2457
  sessionID?: string;
2425
- channel?: ChannelInfo;
2458
+ endpoint?: SessionEndpoint;
2426
2459
  };
2427
2460
  export type AgendaPatchInput = {
2428
2461
  title?: string;
@@ -2487,23 +2520,54 @@ export type HolosCredentialsStatusResponse = {
2487
2520
  agentId?: string;
2488
2521
  maskedSecret?: string;
2489
2522
  };
2490
- export type HolosVerifyResponse = {
2491
- valid: true;
2492
- 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
+ };
2493
2565
  };
2494
2566
  export type HolosProfile = {
2495
2567
  name: string;
2496
2568
  bio: string;
2497
2569
  initialized: boolean;
2498
2570
  initializedAt?: number;
2499
- /**
2500
- * Local asset ID for the profile avatar
2501
- */
2502
- avatar?: string;
2503
- };
2504
- export type HolosProfileResponse = {
2505
- agentId: string | null;
2506
- profile: HolosProfile | null;
2507
2571
  };
2508
2572
  export type Contact = {
2509
2573
  /**
@@ -2527,10 +2591,6 @@ export type Contact = {
2527
2591
  * Timestamp when contact was added
2528
2592
  */
2529
2593
  addedAt: number;
2530
- /**
2531
- * Local asset ID for the contact avatar
2532
- */
2533
- avatar?: string;
2534
2594
  config?: {
2535
2595
  /**
2536
2596
  * Allow the agent to automatically reply to messages from this contact
@@ -2571,10 +2631,6 @@ export type FriendRequest = {
2571
2631
  * Short bio of the other party
2572
2632
  */
2573
2633
  peerBio?: string;
2574
- /**
2575
- * Local asset ID for the other party's avatar
2576
- */
2577
- peerAvatar?: string;
2578
2634
  status?: "pending" | "accepted" | "rejected" | "pending_delivery";
2579
2635
  /**
2580
2636
  * Timestamp when request was created
@@ -2585,6 +2641,30 @@ export type FriendRequest = {
2585
2641
  */
2586
2642
  respondedAt?: number;
2587
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
+ };
2588
2668
  export type FriendRequestSendResponse = {
2589
2669
  queued: boolean;
2590
2670
  };
@@ -2606,6 +2686,14 @@ export type FriendReplyMapping = Array<{
2606
2686
  triggerMessageId: string;
2607
2687
  subSessionId: string;
2608
2688
  }>;
2689
+ export type ExternalAgentInfo = {
2690
+ adapter: string;
2691
+ path?: string;
2692
+ version?: string;
2693
+ config?: {
2694
+ [key: string]: unknown;
2695
+ };
2696
+ };
2609
2697
  export type Agent = {
2610
2698
  name: string;
2611
2699
  description?: string;
@@ -2625,6 +2713,7 @@ export type Agent = {
2625
2713
  [key: string]: unknown;
2626
2714
  };
2627
2715
  steps?: number;
2716
+ external?: ExternalAgentInfo;
2628
2717
  };
2629
2718
  export type McpStatusConnected = {
2630
2719
  status: "connected";
@@ -2764,43 +2853,28 @@ export type EventFileWatcherUpdated = {
2764
2853
  event: "add" | "change" | "unlink";
2765
2854
  };
2766
2855
  };
2767
- export type EventTuiPromptAppend = {
2768
- type: "tui.prompt.append";
2856
+ export type EventMcpToolsChanged = {
2857
+ type: "mcp.tools.changed";
2769
2858
  properties: {
2770
- text: string;
2859
+ server: string;
2771
2860
  };
2772
2861
  };
2773
- export type EventTuiCommandExecute = {
2774
- type: "tui.command.execute";
2862
+ export type EventMcpPromptsChanged = {
2863
+ type: "mcp.prompts.changed";
2775
2864
  properties: {
2776
- 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;
2777
2866
  };
2778
2867
  };
2779
- export type EventTuiToastShow = {
2780
- type: "tui.toast.show";
2868
+ export type EventMcpResourcesChanged = {
2869
+ type: "mcp.resources.changed";
2781
2870
  properties: {
2782
- title?: string;
2783
- message: string;
2784
- variant: "info" | "success" | "warning" | "error";
2785
- /**
2786
- * Duration in milliseconds
2787
- */
2788
- duration?: number;
2871
+ server: string;
2789
2872
  };
2790
2873
  };
2791
- export type EventTuiSessionSelect = {
2792
- type: "tui.session.select";
2874
+ export type EventMcpReady = {
2875
+ type: "mcp.ready";
2793
2876
  properties: {
2794
- /**
2795
- * Session ID to navigate to
2796
- */
2797
- sessionID: string;
2798
- };
2799
- };
2800
- export type EventMcpToolsChanged = {
2801
- type: "mcp.tools.changed";
2802
- properties: {
2803
- server: string;
2877
+ [key: string]: unknown;
2804
2878
  };
2805
2879
  };
2806
2880
  export type EventCommandExecuted = {
@@ -2835,6 +2909,10 @@ export type EventPermissionAllowAllChanged = {
2835
2909
  properties: {
2836
2910
  sessionID: string;
2837
2911
  enabled: boolean;
2912
+ sessions: Array<{
2913
+ sessionID: string;
2914
+ enabled: boolean;
2915
+ }>;
2838
2916
  };
2839
2917
  };
2840
2918
  export type EventNoteCreated = {
@@ -3010,6 +3088,24 @@ export type EventHolosContactConfigUpdated = {
3010
3088
  contact: Contact;
3011
3089
  };
3012
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
+ };
3013
3109
  export type EventHolosQueueEnqueued = {
3014
3110
  type: "holos.queue.enqueued";
3015
3111
  properties: {
@@ -3039,30 +3135,19 @@ export type EventHolosQueueExpired = {
3039
3135
  id: string;
3040
3136
  };
3041
3137
  };
3042
- export type EventHolosFriendRequestCreated = {
3043
- type: "holos.friend_request.created";
3044
- properties: {
3045
- request: FriendRequest;
3046
- };
3047
- };
3048
- export type EventHolosFriendRequestUpdated = {
3049
- type: "holos.friend_request.updated";
3050
- properties: {
3051
- request: FriendRequest;
3052
- };
3053
- };
3054
- export type EventHolosFriendRequestRemoved = {
3055
- type: "holos.friend_request.removed";
3056
- properties: {
3057
- id: string;
3058
- };
3059
- };
3060
3138
  export type EventHolosConnected = {
3061
3139
  type: "holos.connected";
3062
3140
  properties: {
3063
3141
  peerId: string;
3064
3142
  };
3065
3143
  };
3144
+ export type EventHolosConnectionStatusChanged = {
3145
+ type: "holos.connection.status_changed";
3146
+ properties: {
3147
+ status: string;
3148
+ error?: string;
3149
+ };
3150
+ };
3066
3151
  export type EventHolosPresence = {
3067
3152
  type: "holos.presence";
3068
3153
  properties: {
@@ -3095,19 +3180,6 @@ export type EventAgendaItemDeleted = {
3095
3180
  scopeID: string;
3096
3181
  };
3097
3182
  };
3098
- export type EventFeedbackUpdated = {
3099
- type: "feedback.updated";
3100
- properties: {
3101
- feedback: Feedback;
3102
- };
3103
- };
3104
- export type EventFeedbackRemoved = {
3105
- type: "feedback.removed";
3106
- properties: {
3107
- sessionID: string;
3108
- assistantMessageID: string;
3109
- };
3110
- };
3111
3183
  export type EventCortexTaskCreated = {
3112
3184
  type: "cortex.task.created";
3113
3185
  properties: {
@@ -3197,7 +3269,7 @@ export type EventGlobalDisposed = {
3197
3269
  [key: string]: unknown;
3198
3270
  };
3199
3271
  };
3200
- 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;
3201
3273
  export type GlobalHealthData = {
3202
3274
  body?: never;
3203
3275
  path?: never;
@@ -5074,152 +5146,7 @@ export type QuestionRejectResponses = {
5074
5146
  200: boolean;
5075
5147
  };
5076
5148
  export type QuestionRejectResponse = QuestionRejectResponses[keyof QuestionRejectResponses];
5077
- export type SessionFeedbackListData = {
5078
- body?: never;
5079
- path: {
5080
- /**
5081
- * Session ID
5082
- */
5083
- sessionID: string;
5084
- };
5085
- query?: {
5086
- directory?: string;
5087
- };
5088
- url: "/session/{sessionID}/feedback";
5089
- };
5090
- export type SessionFeedbackListErrors = {
5091
- /**
5092
- * Bad request
5093
- */
5094
- 400: BadRequestError;
5095
- /**
5096
- * Not found
5097
- */
5098
- 404: NotFoundError;
5099
- };
5100
- export type SessionFeedbackListError = SessionFeedbackListErrors[keyof SessionFeedbackListErrors];
5101
- export type SessionFeedbackListResponses = {
5102
- /**
5103
- * Feedback list
5104
- */
5105
- 200: Array<Feedback>;
5106
- };
5107
- export type SessionFeedbackListResponse = SessionFeedbackListResponses[keyof SessionFeedbackListResponses];
5108
- export type SessionFeedbackSetData = {
5109
- body?: {
5110
- /**
5111
- * User message ID
5112
- */
5113
- userMessageID: string;
5114
- /**
5115
- * Assistant message ID
5116
- */
5117
- assistantMessageID: string;
5118
- /**
5119
- * Rating: up or down
5120
- */
5121
- rating: "up" | "down";
5122
- };
5123
- path: {
5124
- /**
5125
- * Session ID
5126
- */
5127
- sessionID: string;
5128
- };
5129
- query?: {
5130
- directory?: string;
5131
- };
5132
- url: "/session/{sessionID}/feedback";
5133
- };
5134
- export type SessionFeedbackSetErrors = {
5135
- /**
5136
- * Bad request
5137
- */
5138
- 400: BadRequestError;
5139
- /**
5140
- * Not found
5141
- */
5142
- 404: NotFoundError;
5143
- };
5144
- export type SessionFeedbackSetError = SessionFeedbackSetErrors[keyof SessionFeedbackSetErrors];
5145
- export type SessionFeedbackSetResponses = {
5146
- /**
5147
- * Feedback saved
5148
- */
5149
- 200: Feedback;
5150
- };
5151
- export type SessionFeedbackSetResponse = SessionFeedbackSetResponses[keyof SessionFeedbackSetResponses];
5152
- export type SessionFeedbackDeleteData = {
5153
- body?: never;
5154
- path: {
5155
- /**
5156
- * Session ID
5157
- */
5158
- sessionID: string;
5159
- /**
5160
- * Assistant message ID
5161
- */
5162
- messageID: string;
5163
- };
5164
- query?: {
5165
- directory?: string;
5166
- };
5167
- url: "/session/{sessionID}/feedback/{messageID}";
5168
- };
5169
- export type SessionFeedbackDeleteErrors = {
5170
- /**
5171
- * Bad request
5172
- */
5173
- 400: BadRequestError;
5174
- /**
5175
- * Not found
5176
- */
5177
- 404: NotFoundError;
5178
- };
5179
- export type SessionFeedbackDeleteError = SessionFeedbackDeleteErrors[keyof SessionFeedbackDeleteErrors];
5180
- export type SessionFeedbackDeleteResponses = {
5181
- /**
5182
- * Feedback deleted
5183
- */
5184
- 200: boolean;
5185
- };
5186
- export type SessionFeedbackDeleteResponse = SessionFeedbackDeleteResponses[keyof SessionFeedbackDeleteResponses];
5187
- export type SessionFeedbackGetData = {
5188
- body?: never;
5189
- path: {
5190
- /**
5191
- * Session ID
5192
- */
5193
- sessionID: string;
5194
- /**
5195
- * Assistant message ID
5196
- */
5197
- messageID: string;
5198
- };
5199
- query?: {
5200
- directory?: string;
5201
- };
5202
- url: "/session/{sessionID}/feedback/{messageID}";
5203
- };
5204
- export type SessionFeedbackGetErrors = {
5205
- /**
5206
- * Bad request
5207
- */
5208
- 400: BadRequestError;
5209
- /**
5210
- * Not found
5211
- */
5212
- 404: NotFoundError;
5213
- };
5214
- export type SessionFeedbackGetError = SessionFeedbackGetErrors[keyof SessionFeedbackGetErrors];
5215
- export type SessionFeedbackGetResponses = {
5216
- /**
5217
- * Feedback or null
5218
- */
5219
- 200: Feedback | null;
5220
- };
5221
- export type SessionFeedbackGetResponse = SessionFeedbackGetResponses[keyof SessionFeedbackGetResponses];
5222
- export type SessionDebugReportEstimateData = {
5149
+ export type SessionExportEstimateData = {
5223
5150
  body?: never;
5224
5151
  path: {
5225
5152
  /**
@@ -5230,9 +5157,9 @@ export type SessionDebugReportEstimateData = {
5230
5157
  query?: {
5231
5158
  directory?: string;
5232
5159
  };
5233
- url: "/session/{sessionID}/debug-report/estimate";
5160
+ url: "/session/{sessionID}/export/estimate";
5234
5161
  };
5235
- export type SessionDebugReportEstimateErrors = {
5162
+ export type SessionExportEstimateErrors = {
5236
5163
  /**
5237
5164
  * Bad request
5238
5165
  */
@@ -5242,15 +5169,15 @@ export type SessionDebugReportEstimateErrors = {
5242
5169
  */
5243
5170
  404: NotFoundError;
5244
5171
  };
5245
- export type SessionDebugReportEstimateError = SessionDebugReportEstimateErrors[keyof SessionDebugReportEstimateErrors];
5246
- export type SessionDebugReportEstimateResponses = {
5172
+ export type SessionExportEstimateError = SessionExportEstimateErrors[keyof SessionExportEstimateErrors];
5173
+ export type SessionExportEstimateResponses = {
5247
5174
  /**
5248
5175
  * Size estimate
5249
5176
  */
5250
- 200: DebugReportSizeEstimate;
5177
+ 200: SessionExportSizeEstimate;
5251
5178
  };
5252
- export type SessionDebugReportEstimateResponse = SessionDebugReportEstimateResponses[keyof SessionDebugReportEstimateResponses];
5253
- export type SessionDebugReportExportData = {
5179
+ export type SessionExportEstimateResponse = SessionExportEstimateResponses[keyof SessionExportEstimateResponses];
5180
+ export type SessionExportDownloadData = {
5254
5181
  body?: never;
5255
5182
  path: {
5256
5183
  /**
@@ -5260,11 +5187,11 @@ export type SessionDebugReportExportData = {
5260
5187
  };
5261
5188
  query?: {
5262
5189
  directory?: string;
5263
- mode?: DebugReportMode;
5190
+ mode?: SessionExportMode;
5264
5191
  };
5265
- url: "/session/{sessionID}/debug-report";
5192
+ url: "/session/{sessionID}/export";
5266
5193
  };
5267
- export type SessionDebugReportExportErrors = {
5194
+ export type SessionExportDownloadErrors = {
5268
5195
  /**
5269
5196
  * Bad request
5270
5197
  */
@@ -5274,57 +5201,13 @@ export type SessionDebugReportExportErrors = {
5274
5201
  */
5275
5202
  404: NotFoundError;
5276
5203
  };
5277
- export type SessionDebugReportExportError = SessionDebugReportExportErrors[keyof SessionDebugReportExportErrors];
5278
- export type SessionDebugReportExportResponses = {
5204
+ export type SessionExportDownloadError = SessionExportDownloadErrors[keyof SessionExportDownloadErrors];
5205
+ export type SessionExportDownloadResponses = {
5279
5206
  /**
5280
- * Debug report as gzipped JSON
5207
+ * Session export as gzipped JSON
5281
5208
  */
5282
5209
  200: unknown;
5283
5210
  };
5284
- export type SessionDebugReportEmailData = {
5285
- body?: {
5286
- /**
5287
- * Recipient email address
5288
- */
5289
- to: string;
5290
- mode?: DebugReportMode;
5291
- /**
5292
- * User description of the issue
5293
- */
5294
- description?: string;
5295
- };
5296
- path: {
5297
- /**
5298
- * Root session ID
5299
- */
5300
- sessionID: string;
5301
- };
5302
- query?: {
5303
- directory?: string;
5304
- };
5305
- url: "/session/{sessionID}/debug-report/email";
5306
- };
5307
- export type SessionDebugReportEmailErrors = {
5308
- /**
5309
- * Bad request
5310
- */
5311
- 400: BadRequestError;
5312
- /**
5313
- * Not found
5314
- */
5315
- 404: NotFoundError;
5316
- };
5317
- export type SessionDebugReportEmailError = SessionDebugReportEmailErrors[keyof SessionDebugReportEmailErrors];
5318
- export type SessionDebugReportEmailResponses = {
5319
- /**
5320
- * Email sent
5321
- */
5322
- 200: {
5323
- success: boolean;
5324
- messageId: string;
5325
- };
5326
- };
5327
- export type SessionDebugReportEmailResponse = SessionDebugReportEmailResponses[keyof SessionDebugReportEmailResponses];
5328
5211
  export type CortexListData = {
5329
5212
  body?: never;
5330
5213
  path?: never;
@@ -5501,7 +5384,6 @@ export type ProviderListResponses = {
5501
5384
  input: Array<"text" | "audio" | "image" | "video" | "pdf">;
5502
5385
  output: Array<"text" | "audio" | "image" | "video" | "pdf">;
5503
5386
  };
5504
- experimental?: boolean;
5505
5387
  status?: "alpha" | "beta" | "deprecated";
5506
5388
  options: {
5507
5389
  [key: string]: unknown;
@@ -6790,6 +6672,21 @@ export type HolosCredentialsStatusResponses = {
6790
6672
  200: HolosCredentialsStatusResponse;
6791
6673
  };
6792
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];
6793
6690
  export type HolosVerifyData = {
6794
6691
  body?: never;
6795
6692
  path?: never;
@@ -6824,7 +6721,6 @@ export type HolosProfileUpdateData = {
6824
6721
  body?: {
6825
6722
  name: string;
6826
6723
  bio: string;
6827
- avatar?: string;
6828
6724
  };
6829
6725
  path?: never;
6830
6726
  query?: {
@@ -6876,30 +6772,6 @@ export type HolosProfileSkipGenesisResponses = {
6876
6772
  200: HolosProfile;
6877
6773
  };
6878
6774
  export type HolosProfileSkipGenesisResponse = HolosProfileSkipGenesisResponses[keyof HolosProfileSkipGenesisResponses];
6879
- export type HolosProfileAvatarData = {
6880
- body?: {
6881
- file: unknown;
6882
- };
6883
- path?: never;
6884
- query?: {
6885
- directory?: string;
6886
- };
6887
- url: "/holos/profile/avatar";
6888
- };
6889
- export type HolosProfileAvatarErrors = {
6890
- /**
6891
- * Bad request
6892
- */
6893
- 400: BadRequestError;
6894
- };
6895
- export type HolosProfileAvatarError = HolosProfileAvatarErrors[keyof HolosProfileAvatarErrors];
6896
- export type HolosProfileAvatarResponses = {
6897
- /**
6898
- * Updated profile
6899
- */
6900
- 200: HolosProfile;
6901
- };
6902
- export type HolosProfileAvatarResponse = HolosProfileAvatarResponses[keyof HolosProfileAvatarResponses];
6903
6775
  export type HolosContactListData = {
6904
6776
  body?: never;
6905
6777
  path?: never;