@ericsanchezok/synergy-sdk 2.0.2 → 2.1.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.
- package/dist/gen/types.gen.d.ts +89 -18
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -1286,6 +1286,41 @@ export type Config = {
|
|
|
1286
1286
|
model?: string;
|
|
1287
1287
|
};
|
|
1288
1288
|
};
|
|
1289
|
+
/**
|
|
1290
|
+
* Timeout configuration for agent turns, provider requests, and tool execution
|
|
1291
|
+
*/
|
|
1292
|
+
timeout?: {
|
|
1293
|
+
/**
|
|
1294
|
+
* Max wall-clock seconds for one agent turn (default: 900 = 15min)
|
|
1295
|
+
*/
|
|
1296
|
+
invoke_sec?: number;
|
|
1297
|
+
provider?: {
|
|
1298
|
+
/**
|
|
1299
|
+
* Max seconds to wait for first byte (TTFB) from provider. Accommodates reasoning/thinking models (e.g. o1-pro, deepseek-r1). Default: 600 = 10min
|
|
1300
|
+
*/
|
|
1301
|
+
ttfb_sec?: number;
|
|
1302
|
+
/**
|
|
1303
|
+
* Idle timeout in seconds (0 = disable, default: 180 = 3min). Resets on each data chunk.
|
|
1304
|
+
*/
|
|
1305
|
+
idle_sec?: number;
|
|
1306
|
+
/**
|
|
1307
|
+
* Hard wall-clock timeout per HTTP request in seconds (0 = disabled, default: 0). CAUTION: conflicts with streaming — will interrupt normal token output. Only enable if you need a hard cap beyond idle+TTFB
|
|
1308
|
+
*/
|
|
1309
|
+
wall_sec?: number;
|
|
1310
|
+
};
|
|
1311
|
+
tool?: {
|
|
1312
|
+
/**
|
|
1313
|
+
* Default timeout per tool execution in seconds (default: 300 = 5min)
|
|
1314
|
+
*/
|
|
1315
|
+
default_sec?: number;
|
|
1316
|
+
/**
|
|
1317
|
+
* Per-tool timeout overrides by tool name, e.g. { bash: 600, webfetch: 120 }
|
|
1318
|
+
*/
|
|
1319
|
+
overrides?: {
|
|
1320
|
+
[key: string]: number;
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1289
1324
|
watcher?: {
|
|
1290
1325
|
ignore?: Array<string>;
|
|
1291
1326
|
};
|
|
@@ -1336,7 +1371,7 @@ export type Config = {
|
|
|
1336
1371
|
*/
|
|
1337
1372
|
holos_friend_reply_model?: string;
|
|
1338
1373
|
/**
|
|
1339
|
-
* Model for
|
|
1374
|
+
* Model for image analysis via the look_at tool, in the format of provider/model. If not set, look_at is disabled.
|
|
1340
1375
|
*/
|
|
1341
1376
|
vision_model?: string;
|
|
1342
1377
|
/**
|
|
@@ -1351,7 +1386,9 @@ export type Config = {
|
|
|
1351
1386
|
* Agent configuration
|
|
1352
1387
|
*/
|
|
1353
1388
|
agent?: {
|
|
1354
|
-
|
|
1389
|
+
synergy?: AgentConfig;
|
|
1390
|
+
"synergy-max"?: AgentConfig;
|
|
1391
|
+
developer?: AgentConfig;
|
|
1355
1392
|
general?: AgentConfig;
|
|
1356
1393
|
explore?: AgentConfig;
|
|
1357
1394
|
title?: AgentConfig;
|
|
@@ -1712,6 +1749,22 @@ export type SessionInteraction = {
|
|
|
1712
1749
|
*/
|
|
1713
1750
|
source?: string;
|
|
1714
1751
|
};
|
|
1752
|
+
export type SessionCortexDelegation = {
|
|
1753
|
+
parentSessionID: string;
|
|
1754
|
+
parentMessageID: string;
|
|
1755
|
+
description: string;
|
|
1756
|
+
agent: string;
|
|
1757
|
+
executionRole?: "primary" | "delegated_subagent";
|
|
1758
|
+
startedAt: number;
|
|
1759
|
+
completedAt?: number;
|
|
1760
|
+
status: "queued" | "running" | "completed" | "error" | "cancelled";
|
|
1761
|
+
model?: {
|
|
1762
|
+
providerID: string;
|
|
1763
|
+
modelID: string;
|
|
1764
|
+
};
|
|
1765
|
+
result?: string;
|
|
1766
|
+
error?: string;
|
|
1767
|
+
};
|
|
1715
1768
|
export type Session = {
|
|
1716
1769
|
id: string;
|
|
1717
1770
|
scope: SessionScope;
|
|
@@ -1749,6 +1802,7 @@ export type Session = {
|
|
|
1749
1802
|
snapshot?: string;
|
|
1750
1803
|
diff?: string;
|
|
1751
1804
|
};
|
|
1805
|
+
cortex?: SessionCortexDelegation;
|
|
1752
1806
|
};
|
|
1753
1807
|
export type SessionStatus = {
|
|
1754
1808
|
type: "idle";
|
|
@@ -1789,7 +1843,7 @@ export type DagNode = {
|
|
|
1789
1843
|
*/
|
|
1790
1844
|
content: string;
|
|
1791
1845
|
/**
|
|
1792
|
-
* Current status: pending, running, completed, failed, cancelled
|
|
1846
|
+
* Current status: pending, running, blocked, completed, failed, cancelled
|
|
1793
1847
|
*/
|
|
1794
1848
|
status: string;
|
|
1795
1849
|
/**
|
|
@@ -1797,9 +1851,21 @@ export type DagNode = {
|
|
|
1797
1851
|
*/
|
|
1798
1852
|
deps: Array<string>;
|
|
1799
1853
|
/**
|
|
1800
|
-
* Suggested executor: self
|
|
1854
|
+
* Suggested executor: self or one of the registered specialized subagent identifiers
|
|
1801
1855
|
*/
|
|
1802
1856
|
assign?: string;
|
|
1857
|
+
/**
|
|
1858
|
+
* Background task ID currently or previously associated with this node
|
|
1859
|
+
*/
|
|
1860
|
+
task_id?: string;
|
|
1861
|
+
/**
|
|
1862
|
+
* Subagent session ID currently or previously associated with this node
|
|
1863
|
+
*/
|
|
1864
|
+
session_id?: string;
|
|
1865
|
+
/**
|
|
1866
|
+
* Short node-local memo for important result, blocker, or handoff context
|
|
1867
|
+
*/
|
|
1868
|
+
memo?: string;
|
|
1803
1869
|
};
|
|
1804
1870
|
export type UserMessage = {
|
|
1805
1871
|
id: string;
|
|
@@ -2228,8 +2294,18 @@ export type CortexTask = {
|
|
|
2228
2294
|
progress?: {
|
|
2229
2295
|
toolCalls: number;
|
|
2230
2296
|
lastTool?: string;
|
|
2297
|
+
lastToolStatus?: string;
|
|
2298
|
+
lastTitle?: string;
|
|
2299
|
+
lastPartId?: string;
|
|
2231
2300
|
lastUpdate: number;
|
|
2232
2301
|
lastMessage?: string;
|
|
2302
|
+
recentTools?: Array<{
|
|
2303
|
+
id: string;
|
|
2304
|
+
tool: string;
|
|
2305
|
+
status: string;
|
|
2306
|
+
title?: string;
|
|
2307
|
+
updatedAt: number;
|
|
2308
|
+
}>;
|
|
2233
2309
|
};
|
|
2234
2310
|
};
|
|
2235
2311
|
export type Command = {
|
|
@@ -2931,6 +3007,7 @@ export type Agent = {
|
|
|
2931
3007
|
mode: "subagent" | "primary" | "all";
|
|
2932
3008
|
native?: boolean;
|
|
2933
3009
|
hidden?: boolean;
|
|
3010
|
+
visibleTo?: Array<string>;
|
|
2934
3011
|
topP?: number;
|
|
2935
3012
|
temperature?: number;
|
|
2936
3013
|
color?: string;
|
|
@@ -3165,12 +3242,6 @@ export type EventNoteDeleted = {
|
|
|
3165
3242
|
scopeID: string;
|
|
3166
3243
|
};
|
|
3167
3244
|
};
|
|
3168
|
-
export type EventSessionCreated = {
|
|
3169
|
-
type: "session.created";
|
|
3170
|
-
properties: {
|
|
3171
|
-
info: Session;
|
|
3172
|
-
};
|
|
3173
|
-
};
|
|
3174
3245
|
export type EventSessionUpdated = {
|
|
3175
3246
|
type: "session.updated";
|
|
3176
3247
|
properties: {
|
|
@@ -3272,13 +3343,6 @@ export type EventMessagePartRemoved = {
|
|
|
3272
3343
|
partID: string;
|
|
3273
3344
|
};
|
|
3274
3345
|
};
|
|
3275
|
-
export type EventTodoUpdated = {
|
|
3276
|
-
type: "todo.updated";
|
|
3277
|
-
properties: {
|
|
3278
|
-
sessionID: string;
|
|
3279
|
-
todos: Array<Todo>;
|
|
3280
|
-
};
|
|
3281
|
-
};
|
|
3282
3346
|
export type EventDagUpdated = {
|
|
3283
3347
|
type: "dag.updated";
|
|
3284
3348
|
properties: {
|
|
@@ -3287,6 +3351,13 @@ export type EventDagUpdated = {
|
|
|
3287
3351
|
ready: Array<string>;
|
|
3288
3352
|
};
|
|
3289
3353
|
};
|
|
3354
|
+
export type EventTodoUpdated = {
|
|
3355
|
+
type: "todo.updated";
|
|
3356
|
+
properties: {
|
|
3357
|
+
sessionID: string;
|
|
3358
|
+
todos: Array<Todo>;
|
|
3359
|
+
};
|
|
3360
|
+
};
|
|
3290
3361
|
export type EventHolosProfileUpdated = {
|
|
3291
3362
|
type: "holos.profile.updated";
|
|
3292
3363
|
properties: {
|
|
@@ -3508,7 +3579,7 @@ export type EventGlobalDisposed = {
|
|
|
3508
3579
|
[key: string]: unknown;
|
|
3509
3580
|
};
|
|
3510
3581
|
};
|
|
3511
|
-
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 |
|
|
3582
|
+
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 | EventSessionUpdated | EventSessionDeleted | EventSessionDiff | EventSessionError | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventQuestionTimedOut | EventRuntimeReloaded | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventDagUpdated | EventTodoUpdated | 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;
|
|
3512
3583
|
export type GlobalHealthData = {
|
|
3513
3584
|
body?: never;
|
|
3514
3585
|
path?: never;
|