@agentuity/opencode 1.0.19 → 1.0.20

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 (98) hide show
  1. package/dist/agents/expert-backend.d.ts +1 -1
  2. package/dist/agents/expert-backend.d.ts.map +1 -1
  3. package/dist/agents/expert-backend.js +0 -17
  4. package/dist/agents/expert-backend.js.map +1 -1
  5. package/dist/agents/expert.d.ts +1 -1
  6. package/dist/agents/expert.d.ts.map +1 -1
  7. package/dist/agents/expert.js +1 -1
  8. package/dist/agents/index.d.ts.map +1 -1
  9. package/dist/agents/index.js +0 -2
  10. package/dist/agents/index.js.map +1 -1
  11. package/dist/agents/lead.d.ts +1 -1
  12. package/dist/agents/lead.d.ts.map +1 -1
  13. package/dist/agents/lead.js +25 -145
  14. package/dist/agents/lead.js.map +1 -1
  15. package/dist/agents/scout.d.ts +1 -1
  16. package/dist/agents/scout.d.ts.map +1 -1
  17. package/dist/agents/scout.js +16 -0
  18. package/dist/agents/scout.js.map +1 -1
  19. package/dist/config/loader.d.ts.map +1 -1
  20. package/dist/config/loader.js +1 -33
  21. package/dist/config/loader.js.map +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/index.js.map +1 -1
  25. package/dist/plugin/hooks/cadence.d.ts +1 -2
  26. package/dist/plugin/hooks/cadence.d.ts.map +1 -1
  27. package/dist/plugin/hooks/cadence.js +7 -33
  28. package/dist/plugin/hooks/cadence.js.map +1 -1
  29. package/dist/plugin/hooks/compaction-utils.d.ts.map +1 -1
  30. package/dist/plugin/hooks/compaction-utils.js +6 -13
  31. package/dist/plugin/hooks/compaction-utils.js.map +1 -1
  32. package/dist/plugin/hooks/session-memory.d.ts +1 -2
  33. package/dist/plugin/hooks/session-memory.d.ts.map +1 -1
  34. package/dist/plugin/hooks/session-memory.js +6 -29
  35. package/dist/plugin/hooks/session-memory.js.map +1 -1
  36. package/dist/plugin/plugin.d.ts.map +1 -1
  37. package/dist/plugin/plugin.js +8 -222
  38. package/dist/plugin/plugin.js.map +1 -1
  39. package/dist/sqlite/types.d.ts +0 -6
  40. package/dist/sqlite/types.d.ts.map +1 -1
  41. package/dist/tmux/manager.d.ts +4 -4
  42. package/dist/tmux/manager.js +4 -4
  43. package/dist/tmux/types.d.ts +1 -1
  44. package/dist/tools/index.d.ts +1 -1
  45. package/dist/tools/index.d.ts.map +1 -1
  46. package/dist/tools/index.js +1 -1
  47. package/dist/tools/index.js.map +1 -1
  48. package/dist/types.d.ts +2 -20
  49. package/dist/types.d.ts.map +1 -1
  50. package/dist/types.js +0 -9
  51. package/dist/types.js.map +1 -1
  52. package/package.json +3 -3
  53. package/src/agents/expert-backend.ts +0 -17
  54. package/src/agents/expert.ts +1 -1
  55. package/src/agents/index.ts +0 -2
  56. package/src/agents/lead.ts +25 -145
  57. package/src/agents/scout.ts +16 -0
  58. package/src/config/loader.ts +1 -45
  59. package/src/index.ts +0 -1
  60. package/src/plugin/hooks/cadence.ts +6 -39
  61. package/src/plugin/hooks/compaction-utils.ts +6 -12
  62. package/src/plugin/hooks/session-memory.ts +5 -35
  63. package/src/plugin/plugin.ts +7 -257
  64. package/src/sqlite/types.ts +0 -2
  65. package/src/tmux/manager.ts +4 -4
  66. package/src/tmux/types.ts +2 -2
  67. package/src/tools/index.ts +2 -9
  68. package/src/types.ts +0 -13
  69. package/dist/agents/monitor.d.ts +0 -4
  70. package/dist/agents/monitor.d.ts.map +0 -1
  71. package/dist/agents/monitor.js +0 -159
  72. package/dist/agents/monitor.js.map +0 -1
  73. package/dist/background/concurrency.d.ts +0 -36
  74. package/dist/background/concurrency.d.ts.map +0 -1
  75. package/dist/background/concurrency.js +0 -92
  76. package/dist/background/concurrency.js.map +0 -1
  77. package/dist/background/index.d.ts +0 -5
  78. package/dist/background/index.d.ts.map +0 -1
  79. package/dist/background/index.js +0 -4
  80. package/dist/background/index.js.map +0 -1
  81. package/dist/background/manager.d.ts +0 -123
  82. package/dist/background/manager.d.ts.map +0 -1
  83. package/dist/background/manager.js +0 -1075
  84. package/dist/background/manager.js.map +0 -1
  85. package/dist/background/types.d.ts +0 -90
  86. package/dist/background/types.d.ts.map +0 -1
  87. package/dist/background/types.js +0 -2
  88. package/dist/background/types.js.map +0 -1
  89. package/dist/tools/background.d.ts +0 -67
  90. package/dist/tools/background.d.ts.map +0 -1
  91. package/dist/tools/background.js +0 -95
  92. package/dist/tools/background.js.map +0 -1
  93. package/src/agents/monitor.ts +0 -161
  94. package/src/background/concurrency.ts +0 -116
  95. package/src/background/index.ts +0 -4
  96. package/src/background/manager.ts +0 -1215
  97. package/src/background/types.ts +0 -82
  98. package/src/tools/background.ts +0 -179
@@ -1 +0,0 @@
1
- {"version":3,"file":"concurrency.d.ts","sourceRoot":"","sources":["../../src/background/concurrency.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,yBAAyB;;cAG5B,MAAM;;;;;;cAAN,MAAM;;;CAAK,CAAC;AAOtB,MAAM,WAAW,iBAAiB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,qBAAa,kBAAkB;IAC9B,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,MAAM,CAA6B;IAC3C,OAAO,CAAC,MAAM,CAA6B;IAC3C,OAAO,CAAC,MAAM,CAA+B;gBAEjC,MAAM,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC;IAW/C,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAIlC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAqBzC,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAQ1B,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAUhC,KAAK,IAAI,IAAI;IAQb,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAI7B,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAInC,OAAO,CAAC,QAAQ;IAQhB,OAAO,CAAC,UAAU;CAWlB"}
@@ -1,92 +0,0 @@
1
- import { StructuredError } from '@agentuity/core';
2
- /**
3
- * Error thrown when a concurrency waiter is cancelled.
4
- */
5
- export const ConcurrencyCancelledError = StructuredError('ConcurrencyCancelledError', 'Concurrency waiter cancelled')();
6
- export class ConcurrencyManager {
7
- defaultLimit;
8
- limits = new Map();
9
- counts = new Map();
10
- queues = new Map();
11
- constructor(config) {
12
- // Clamp defaultLimit to at least 1 to prevent deadlocks
13
- this.defaultLimit = Math.max(1, config?.defaultLimit ?? 1);
14
- if (config?.limits) {
15
- for (const [key, value] of Object.entries(config.limits)) {
16
- // Clamp each limit to at least 1
17
- this.limits.set(key, Math.max(1, value));
18
- }
19
- }
20
- }
21
- getConcurrencyLimit(key) {
22
- return this.limits.get(key) ?? this.defaultLimit;
23
- }
24
- async acquire(key) {
25
- const limit = this.getConcurrencyLimit(key);
26
- const count = this.getCount(key);
27
- if (count < limit) {
28
- this.counts.set(key, count + 1);
29
- return;
30
- }
31
- await new Promise((resolve, reject) => {
32
- const queue = this.getQueue(key);
33
- queue.push({
34
- resolve: () => {
35
- this.counts.set(key, this.getCount(key) + 1);
36
- resolve();
37
- },
38
- reject,
39
- });
40
- });
41
- }
42
- release(key) {
43
- const count = this.getCount(key);
44
- if (count > 0) {
45
- this.counts.set(key, count - 1);
46
- }
47
- this.flushQueue(key);
48
- }
49
- cancelWaiters(key) {
50
- const queue = this.queues.get(key);
51
- if (!queue || queue.length === 0)
52
- return;
53
- for (const waiter of queue) {
54
- waiter.reject(new ConcurrencyCancelledError({ key }));
55
- }
56
- this.queues.delete(key);
57
- }
58
- clear() {
59
- for (const key of this.queues.keys()) {
60
- this.cancelWaiters(key);
61
- }
62
- this.counts.clear();
63
- this.queues.clear();
64
- }
65
- getCount(key) {
66
- return this.counts.get(key) ?? 0;
67
- }
68
- getQueueLength(key) {
69
- return this.queues.get(key)?.length ?? 0;
70
- }
71
- getQueue(key) {
72
- const existing = this.queues.get(key);
73
- if (existing)
74
- return existing;
75
- const queue = [];
76
- this.queues.set(key, queue);
77
- return queue;
78
- }
79
- flushQueue(key) {
80
- const queue = this.queues.get(key);
81
- if (!queue || queue.length === 0)
82
- return;
83
- const limit = this.getConcurrencyLimit(key);
84
- while (queue.length > 0 && this.getCount(key) < limit) {
85
- const waiter = queue.shift();
86
- if (!waiter)
87
- break;
88
- waiter.resolve();
89
- }
90
- }
91
- }
92
- //# sourceMappingURL=concurrency.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"concurrency.js","sourceRoot":"","sources":["../../src/background/concurrency.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,eAAe,CACvD,2BAA2B,EAC3B,8BAA8B,CAC9B,EAAoB,CAAC;AAYtB,MAAM,OAAO,kBAAkB;IACtB,YAAY,CAAS;IACrB,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;IACnC,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;IACnC,MAAM,GAAG,IAAI,GAAG,EAAoB,CAAC;IAE7C,YAAY,MAAmC;QAC9C,wDAAwD;QACxD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,IAAI,CAAC,CAAC,CAAC;QAC3D,IAAI,MAAM,EAAE,MAAM,EAAE,CAAC;YACpB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC1D,iCAAiC;gBACjC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;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CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO;QAEzC,MAAM,KAAK,GAAG,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC;QAC5C,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,KAAK,EAAE,CAAC;YACvD,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC;YAC7B,IAAI,CAAC,MAAM;gBAAE,MAAM;YACnB,MAAM,CAAC,OAAO,EAAE,CAAC;QAClB,CAAC;IACF,CAAC;CACD"}
@@ -1,5 +0,0 @@
1
- export * from './types';
2
- export { ConcurrencyManager } from './concurrency';
3
- export { BackgroundManager } from './manager';
4
- export type { BackgroundManagerCallbacks } from './manager';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/background/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC"}
@@ -1,4 +0,0 @@
1
- export * from './types';
2
- export { ConcurrencyManager } from './concurrency';
3
- export { BackgroundManager } from './manager';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/background/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
@@ -1,123 +0,0 @@
1
- import type { PluginInput } from '@opencode-ai/plugin';
2
- import type { OpenCodeDBReader } from '../sqlite';
3
- import type { BackgroundTask, BackgroundTaskConfig, BackgroundTaskStatus, LaunchInput, TaskInspection } from './types';
4
- type EventPayload = {
5
- type: string;
6
- properties?: Record<string, unknown>;
7
- };
8
- export interface BackgroundManagerCallbacks {
9
- onSubagentSessionCreated?: (event: {
10
- sessionId: string;
11
- parentId: string;
12
- title: string;
13
- }) => void;
14
- onSubagentSessionDeleted?: (event: {
15
- sessionId: string;
16
- }) => void;
17
- onShutdown?: () => void | Promise<void>;
18
- }
19
- export declare class BackgroundManager {
20
- private ctx;
21
- private config;
22
- private concurrency;
23
- private callbacks?;
24
- private dbReader?;
25
- private serverUrl;
26
- private authHeaders;
27
- private tasks;
28
- private tasksByParent;
29
- private tasksBySession;
30
- private notifications;
31
- private toolCallIds;
32
- /** Tracks tool call IDs that are currently in-flight (pending/running state) per task */
33
- private activeToolCallIds;
34
- /** Maps parent session ID → monitor task ID for auto-launched monitors */
35
- private monitorsPerParent;
36
- private lastNotifyTimes;
37
- private shuttingDown;
38
- private refreshIntervalId;
39
- constructor(ctx: PluginInput, config?: BackgroundTaskConfig, callbacks?: BackgroundManagerCallbacks, dbReader?: OpenCodeDBReader);
40
- /**
41
- * Resolve the server URL from the plugin context.
42
- * Mirrors the defensive pattern used in the tmux manager to handle
43
- * sandbox environments where the client may not have a baseUrl configured.
44
- */
45
- private resolveServerUrl;
46
- /**
47
- * Resolve authentication headers from environment variables.
48
- *
49
- * Reads `OPENCODE_SERVER_USERNAME` and `OPENCODE_SERVER_PASSWORD` (set
50
- * automatically by the OpenCode server in sandbox environments) and
51
- * produces a Basic Auth header (`base64("username:password")`).
52
- *
53
- * In sandbox environments the SDK client's default auth may not carry over
54
- * when a per-call `baseUrl` override is provided, so we need to explicitly
55
- * attach these credentials for server-to-server requests.
56
- */
57
- private resolveAuthHeaders;
58
- /**
59
- * Build the per-call client overrides (baseUrl + auth headers).
60
- * Spread this into every SDK client call so both the server URL and
61
- * authentication are correctly forwarded in sandbox environments.
62
- */
63
- private getClientOverrides;
64
- launch(input: LaunchInput): Promise<BackgroundTask>;
65
- getTask(id: string): BackgroundTask | undefined;
66
- getTasksByParent(sessionId: string): BackgroundTask[];
67
- findBySession(sessionId: string): BackgroundTask | undefined;
68
- /**
69
- * Inspect a background task by fetching its session messages.
70
- * Useful for seeing what a child Lead or other agent is doing.
71
- */
72
- inspectTask(taskId: string): Promise<TaskInspection | undefined>;
73
- /**
74
- * Refresh task statuses from the server.
75
- * Useful for recovering state after issues or checking on stuck tasks.
76
- */
77
- refreshStatuses(): Promise<Map<string, BackgroundTaskStatus>>;
78
- /**
79
- * Recover background tasks from existing sessions.
80
- * Call this on plugin startup to restore state after restart.
81
- *
82
- * This method queries all sessions and reconstructs task state from
83
- * sessions that have JSON-encoded task metadata in their title.
84
- *
85
- * @returns The number of tasks recovered
86
- */
87
- recoverTasks(): Promise<number>;
88
- private mapSessionStatusToTaskStatus;
89
- cancel(taskId: string): boolean;
90
- handleEvent(event: EventPayload): void;
91
- markForNotification(task: BackgroundTask): void;
92
- getPendingNotifications(sessionId: string): BackgroundTask[];
93
- clearNotifications(sessionId: string): void;
94
- shutdown(): void;
95
- private indexTask;
96
- /**
97
- * Ensure a Monitor agent is watching all background tasks for the given parent session.
98
- *
99
- * Called automatically whenever a new background task is launched. If a Monitor is
100
- * already running for this parent, this is a no-op. The Monitor uses
101
- * `agentuity_session_dashboard({ session_id: parentSessionId })` which is scoped
102
- * to child sessions of that parent only — it does not see unrelated sessions.
103
- *
104
- * The Monitor pushes a consolidated status update to Lead when all tasks complete,
105
- * so Lead doesn't need to self-poll.
106
- */
107
- private ensureMonitorForParent;
108
- private startTask;
109
- private updateProgress;
110
- private createProgress;
111
- private completeTask;
112
- private failTask;
113
- private releaseConcurrency;
114
- private notifyParent;
115
- private abortSession;
116
- private fetchLatestResult;
117
- private mapDbStatusToTaskStatus;
118
- private getConcurrencyGroup;
119
- private getConcurrencyKey;
120
- private expireStaleTasks;
121
- }
122
- export {};
123
- //# sourceMappingURL=manager.d.ts.map
@@ -1 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