@ericsanchezok/synergy-sdk 2.3.0 → 2.4.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.
@@ -2384,6 +2384,12 @@ export type SessionCortexDelegation = {
2384
2384
  };
2385
2385
  result?: string;
2386
2386
  error?: string;
2387
+ visibility?: "visible" | "hidden";
2388
+ tools?: {
2389
+ [key: string]: boolean;
2390
+ };
2391
+ output?: unknown;
2392
+ outputResult?: unknown;
2387
2393
  };
2388
2394
  export type SessionWorkingInfo = {
2389
2395
  status: "busy";
@@ -3119,6 +3125,34 @@ export type CortexTask = {
3119
3125
  }>;
3120
3126
  };
3121
3127
  notifyParentOnComplete?: boolean;
3128
+ visibility?: "visible" | "hidden";
3129
+ tools?: {
3130
+ [key: string]: boolean;
3131
+ };
3132
+ output?: {
3133
+ mode?: "summary";
3134
+ } | {
3135
+ mode: "final_response";
3136
+ } | {
3137
+ mode: "structured";
3138
+ schema: {
3139
+ [key: string]: unknown;
3140
+ };
3141
+ maxRepairTurns?: 0 | 1 | 2 | 3;
3142
+ };
3143
+ outputResult?: {
3144
+ mode: "final_response";
3145
+ text: string;
3146
+ } | {
3147
+ mode: "structured";
3148
+ status: "valid" | "invalid";
3149
+ source?: "structured_tool" | "final_response";
3150
+ data?: unknown;
3151
+ text?: string;
3152
+ repairTurns: number;
3153
+ error?: string;
3154
+ validationErrors?: Array<string>;
3155
+ };
3122
3156
  };
3123
3157
  export type Command = {
3124
3158
  name: string;
@@ -4196,28 +4230,6 @@ export type EventMcpFailed = {
4196
4230
  error: string;
4197
4231
  };
4198
4232
  };
4199
- export type EventCommandExecuted = {
4200
- type: "command.executed";
4201
- properties: {
4202
- name: string;
4203
- sessionID: string;
4204
- arguments: string;
4205
- messageID: string;
4206
- };
4207
- };
4208
- export type EventFileEdited = {
4209
- type: "file.edited";
4210
- properties: {
4211
- file: string;
4212
- };
4213
- };
4214
- export type EventFileWatcherUpdated = {
4215
- type: "file.watcher.updated";
4216
- properties: {
4217
- file: string;
4218
- event: "add" | "change" | "unlink";
4219
- };
4220
- };
4221
4233
  export type EventLspClientDiagnostics = {
4222
4234
  type: "lsp.client.diagnostics";
4223
4235
  properties: {
@@ -4231,12 +4243,6 @@ export type EventLspUpdated = {
4231
4243
  [key: string]: unknown;
4232
4244
  };
4233
4245
  };
4234
- export type EventVcsBranchUpdated = {
4235
- type: "vcs.branch.updated";
4236
- properties: {
4237
- branch?: string;
4238
- };
4239
- };
4240
4246
  export type EventMessageUpdated = {
4241
4247
  type: "message.updated";
4242
4248
  properties: {
@@ -4323,25 +4329,6 @@ export type EventSessionInboxUpdated = {
4323
4329
  items: Array<SessionInboxItem>;
4324
4330
  };
4325
4331
  };
4326
- export type EventNoteCreated = {
4327
- type: "note.created";
4328
- properties: {
4329
- note: NoteInfo;
4330
- };
4331
- };
4332
- export type EventNoteUpdated = {
4333
- type: "note.updated";
4334
- properties: {
4335
- note: NoteInfo;
4336
- };
4337
- };
4338
- export type EventNoteDeleted = {
4339
- type: "note.deleted";
4340
- properties: {
4341
- id: string;
4342
- scopeID: string;
4343
- };
4344
- };
4345
4332
  export type EventQuestionAsked = {
4346
4333
  type: "question.asked";
4347
4334
  properties: QuestionRequest;
@@ -4368,6 +4355,18 @@ export type EventQuestionTimedOut = {
4368
4355
  requestID: string;
4369
4356
  };
4370
4357
  };
4358
+ export type EventSessionCompacted = {
4359
+ type: "session.compacted";
4360
+ properties: {
4361
+ sessionID: string;
4362
+ };
4363
+ };
4364
+ export type EventFileEdited = {
4365
+ type: "file.edited";
4366
+ properties: {
4367
+ file: string;
4368
+ };
4369
+ };
4371
4370
  export type EventRuntimeReloaded = {
4372
4371
  type: "runtime.reloaded";
4373
4372
  properties: {
@@ -4391,6 +4390,25 @@ export type EventTodoUpdated = {
4391
4390
  todos: Array<Todo>;
4392
4391
  };
4393
4392
  };
4393
+ export type EventNoteCreated = {
4394
+ type: "note.created";
4395
+ properties: {
4396
+ note: NoteInfo;
4397
+ };
4398
+ };
4399
+ export type EventNoteUpdated = {
4400
+ type: "note.updated";
4401
+ properties: {
4402
+ note: NoteInfo;
4403
+ };
4404
+ };
4405
+ export type EventNoteDeleted = {
4406
+ type: "note.deleted";
4407
+ properties: {
4408
+ id: string;
4409
+ scopeID: string;
4410
+ };
4411
+ };
4394
4412
  export type EventBlueprintLoopCreated = {
4395
4413
  type: "blueprint_loop.created";
4396
4414
  properties: {
@@ -4435,12 +4453,6 @@ export type EventBlueprintLoopRestarted = {
4435
4453
  reason: string;
4436
4454
  };
4437
4455
  };
4438
- export type EventSessionCompacted = {
4439
- type: "session.compacted";
4440
- properties: {
4441
- sessionID: string;
4442
- };
4443
- };
4444
4456
  export type EventAgendaItemCreated = {
4445
4457
  type: "agenda.item.created";
4446
4458
  properties: {
@@ -4478,6 +4490,28 @@ export type EventCortexTasksUpdated = {
4478
4490
  tasks: Array<CortexTask>;
4479
4491
  };
4480
4492
  };
4493
+ export type EventCommandExecuted = {
4494
+ type: "command.executed";
4495
+ properties: {
4496
+ name: string;
4497
+ sessionID: string;
4498
+ arguments: string;
4499
+ messageID: string;
4500
+ };
4501
+ };
4502
+ export type EventFileWatcherUpdated = {
4503
+ type: "file.watcher.updated";
4504
+ properties: {
4505
+ file: string;
4506
+ event: "add" | "change" | "unlink";
4507
+ };
4508
+ };
4509
+ export type EventVcsBranchUpdated = {
4510
+ type: "vcs.branch.updated";
4511
+ properties: {
4512
+ branch?: string;
4513
+ };
4514
+ };
4481
4515
  export type EventPtyCreated = {
4482
4516
  type: "pty.created";
4483
4517
  properties: {
@@ -4587,7 +4621,7 @@ export type EventGlobalDisposed = {
4587
4621
  [key: string]: unknown;
4588
4622
  };
4589
4623
  };
4590
- export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventCommandExecuted | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventVcsBranchUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventSessionInboxUpdated | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventRuntimeReloaded | EventDagUpdated | EventTodoUpdated | EventBlueprintLoopCreated | EventBlueprintLoopUpdated | EventBlueprintLoopCompleted | EventBlueprintLoopFailed | EventBlueprintLoopCancelled | EventBlueprintLoopAuditing | EventBlueprintLoopRestarted | EventSessionCompacted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventServerConnected | EventGlobalDisposed;
4624
+ export type Event = EventScopeUpdated | EventScopeRemoved | EventScopeRuntimeDisposed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventConfigUpdated | EventMcpToolsChanged | EventMcpPromptsChanged | EventMcpResourcesChanged | EventMcpReady | EventMcpFailed | EventLspClientDiagnostics | EventLspUpdated | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventPermissionAsked | EventPermissionReplied | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventSessionInboxUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventSessionCompacted | EventFileEdited | EventRuntimeReloaded | EventDagUpdated | EventTodoUpdated | EventNoteCreated | EventNoteUpdated | EventNoteDeleted | EventBlueprintLoopCreated | EventBlueprintLoopUpdated | EventBlueprintLoopCompleted | EventBlueprintLoopFailed | EventBlueprintLoopCancelled | EventBlueprintLoopAuditing | EventBlueprintLoopRestarted | EventAgendaItemCreated | EventAgendaItemUpdated | EventAgendaItemDeleted | EventCortexTaskCreated | EventCortexTaskCompleted | EventCortexTasksUpdated | EventCommandExecuted | EventFileWatcherUpdated | EventVcsBranchUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventChannelCommandExecuted | EventChannelConnected | EventChannelDisconnected | EventChannelMessageReceived | EventHolosContactAdded | EventHolosContactRemoved | EventHolosContactUpdated | EventHolosConnected | EventHolosConnectionStatusChanged | EventHolosPresence | EventServerConnected | EventGlobalDisposed;
4591
4625
  export type GlobalHealthData = {
4592
4626
  body?: never;
4593
4627
  path?: never;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@ericsanchezok/synergy-sdk",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {