aws-runtime-bridge 1.9.153 → 1.9.162
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/CHANGELOG.md +462 -0
- package/dist/adapter/AcodeSdkAdapter.d.ts +29 -6
- package/dist/adapter/AcodeSdkAdapter.js +6 -5
- package/dist/adapter/prompts.d.ts +1 -1
- package/dist/adapter/prompts.js +1 -1
- package/dist/adapter/types.d.ts +0 -16
- package/dist/routes/acode-todos.js +1 -1
- package/dist/routes/ltr.js +1 -1
- package/dist/routes/sessions.d.ts +18 -74
- package/dist/routes/sessions.js +1 -1
- package/dist/routes/terminal.d.ts +8 -0
- package/dist/routes/terminal.js +24 -24
- package/dist/services/instance-features.d.ts +16 -2
- package/dist/services/instance-features.js +1 -1
- package/dist/services/workspace-files.js +1 -1
- package/dist/services/workspace-watch.js +1 -1
- package/package/acode/dist/ask-user-question-tool.js +1 -1
- package/package/acode/dist/await-complete-tool.js +1 -1
- package/package/acode/dist/background-command-manager.js +1 -1
- package/package/acode/dist/background-command-tools.js +1 -1
- package/package/acode/dist/built-in-file-tools.d.ts +18 -2
- package/package/acode/dist/built-in-file-tools.js +2 -2
- package/package/acode/dist/built-in-symbols-tool.js +1 -1
- package/package/acode/dist/context-overflow.d.ts +19 -0
- package/package/acode/dist/context-overflow.js +2 -0
- package/package/acode/dist/grammars/grammars/tree-sitter-lua.wasm +0 -0
- package/package/acode/dist/index.d.ts +3 -1
- package/package/acode/dist/index.js +1 -1
- package/package/acode/dist/parsers/ast-cache.d.ts +12 -1
- package/package/acode/dist/parsers/ast-cache.js +1 -1
- package/package/acode/dist/parsers/language-queries.js +1 -1
- package/package/acode/dist/parsers/symbol-extractor.js +2 -2
- package/package/acode/dist/parsers/tree-sitter-loader.d.ts +1 -1
- package/package/acode/dist/parsers/tree-sitter-loader.js +1 -1
- package/package/acode/dist/plugin-types.d.ts +5 -0
- package/package/acode/dist/plugin-types.js +1 -0
- package/package/acode/dist/read-file-state.d.ts +48 -0
- package/package/acode/dist/read-file-state.js +2 -0
- package/package/acode/dist/runtime.d.ts +63 -9
- package/package/acode/dist/runtime.js +30 -27
- package/package/acode/dist/skill-tool.js +3 -3
- package/package/acode/dist/sub-agent-manager.js +1 -1
- package/package/acode/dist/sub-agent-tools.js +5 -5
- package/package/acode/dist/todo-tool.js +3 -3
- package/package/acode/dist/tool-concurrency/index.d.ts +5 -0
- package/package/acode/dist/tool-concurrency/index.js +2 -0
- package/package/acode/dist/tool-concurrency/observability.d.ts +46 -0
- package/package/acode/dist/tool-concurrency/observability.js +3 -0
- package/package/acode/dist/tool-concurrency/resource-lock.d.ts +25 -0
- package/package/acode/dist/tool-concurrency/resource-lock.js +2 -0
- package/package/acode/dist/tool-concurrency/scheduler.d.ts +30 -0
- package/package/acode/dist/tool-concurrency/scheduler.js +2 -0
- package/package/acode/dist/tool-concurrency/types.d.ts +80 -0
- package/package/acode/dist/tool-concurrency/types.js +2 -0
- package/package/acode/dist/tool-group-manager.d.ts +116 -0
- package/package/acode/dist/tool-group-manager.js +14 -0
- package/package/acode/dist/types.d.ts +12 -2
- package/package/acode/package.json +2 -2
- package/package/aws-client-agent-mcp/dist/agent-client.d.ts +3 -27
- package/package/aws-client-agent-mcp/dist/agent-client.js +1 -1
- package/package/aws-client-agent-mcp/dist/mcp-server.d.ts +46 -8
- package/package/aws-client-agent-mcp/dist/mcp-server.js +30 -30
- package/package/aws-client-agent-mcp/dist/mcp-tools.d.ts +29 -3
- package/package/aws-client-agent-mcp/dist/mcp-tools.js +146 -21
- package/package/aws-client-agent-mcp/dist/office/office-equation.d.ts +5 -0
- package/package/aws-client-agent-mcp/dist/office/office-equation.js +2 -0
- package/package/aws-client-agent-mcp/dist/office/office-image.d.ts +12 -0
- package/package/aws-client-agent-mcp/dist/office/office-image.js +2 -0
- package/package/aws-client-agent-mcp/dist/office/office-workspace.d.ts +25 -0
- package/package/aws-client-agent-mcp/dist/office/office-workspace.js +2 -0
- package/package/aws-client-agent-mcp/dist/tool-groups.js +2 -2
- package/package/aws-client-agent-mcp/dist/types.d.ts +6 -2
- package/package/aws-client-agent-mcp/package.json +2 -1
- package/package.json +1 -1
- package/package/acode/dist/capability-prompt.d.ts +0 -16
- package/package/acode/dist/capability-prompt.js +0 -3
- package/package/acode/dist/plugin-tools.d.ts +0 -14
- package/package/acode/dist/plugin-tools.js +0 -9
|
@@ -17,6 +17,13 @@ interface ACodeMcpTool {
|
|
|
17
17
|
description?: string;
|
|
18
18
|
inputSchema: JsonObject;
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
export interface ACodeSubmitOptions {
|
|
22
|
+
|
|
23
|
+
skipProactiveCompaction?: boolean;
|
|
24
|
+
|
|
25
|
+
resume?: boolean;
|
|
26
|
+
}
|
|
20
27
|
export declare class ACodeRuntime extends EventEmitter {
|
|
21
28
|
private readonly config;
|
|
22
29
|
private readonly hookBus;
|
|
@@ -26,9 +33,15 @@ export declare class ACodeRuntime extends EventEmitter {
|
|
|
26
33
|
|
|
27
34
|
private exposedToolsInitialized;
|
|
28
35
|
|
|
36
|
+
private recoveredToolNames;
|
|
37
|
+
|
|
38
|
+
private readonly readFileStateTracker;
|
|
39
|
+
|
|
29
40
|
private readonly pendingMemorySubAgents;
|
|
30
41
|
|
|
31
42
|
private readonly memoryDelegateCooldownUntil;
|
|
43
|
+
|
|
44
|
+
private toolGroupManager;
|
|
32
45
|
private submitQueue;
|
|
33
46
|
|
|
34
47
|
private activeTurnToken;
|
|
@@ -39,11 +52,24 @@ export declare class ACodeRuntime extends EventEmitter {
|
|
|
39
52
|
private activeTurn;
|
|
40
53
|
|
|
41
54
|
private forceMessagePending;
|
|
55
|
+
|
|
56
|
+
private turnPromptPushed;
|
|
57
|
+
|
|
58
|
+
private turnSkipProactiveCompaction;
|
|
42
59
|
private abortRequested;
|
|
43
60
|
|
|
44
|
-
private
|
|
61
|
+
private toolSettleSlots;
|
|
45
62
|
private toolSettleSeq;
|
|
46
63
|
|
|
64
|
+
private readonly toolResourceLock;
|
|
65
|
+
private readonly toolConcurrencyScheduler;
|
|
66
|
+
|
|
67
|
+
private toolReadOnlyLimiter;
|
|
68
|
+
|
|
69
|
+
private toolBashLimiter;
|
|
70
|
+
|
|
71
|
+
private toolConcurrencyEnabled;
|
|
72
|
+
|
|
47
73
|
private pendingAwaitedSubIds;
|
|
48
74
|
|
|
49
75
|
private pendingAwaitedBgTaskIds;
|
|
@@ -89,7 +115,7 @@ export declare class ACodeRuntime extends EventEmitter {
|
|
|
89
115
|
|
|
90
116
|
private stopCompactionDebugLog;
|
|
91
117
|
|
|
92
|
-
submit(message: string): Promise<void>;
|
|
118
|
+
submit(message: string, options?: ACodeSubmitOptions): Promise<void>;
|
|
93
119
|
|
|
94
120
|
private executeSubmitGuarded;
|
|
95
121
|
|
|
@@ -113,6 +139,8 @@ export declare class ACodeRuntime extends EventEmitter {
|
|
|
113
139
|
private isTurnSuperseded;
|
|
114
140
|
private executeSubmit;
|
|
115
141
|
|
|
142
|
+
markSkipNextCompaction(): void;
|
|
143
|
+
|
|
116
144
|
abort(): Promise<void>;
|
|
117
145
|
|
|
118
146
|
private buildAskUserQuestionDeps;
|
|
@@ -143,7 +171,9 @@ export declare class ACodeRuntime extends EventEmitter {
|
|
|
143
171
|
|
|
144
172
|
private cancelPendingAwaitedBgTasks;
|
|
145
173
|
|
|
146
|
-
detachCurrentToolExecution(): boolean;
|
|
174
|
+
detachCurrentToolExecution(toolCallId?: string): boolean;
|
|
175
|
+
|
|
176
|
+
private pickSettleCandidate;
|
|
147
177
|
|
|
148
178
|
private beginToolSettle;
|
|
149
179
|
|
|
@@ -157,8 +187,36 @@ export declare class ACodeRuntime extends EventEmitter {
|
|
|
157
187
|
|
|
158
188
|
private summarizeConversationWithLLM;
|
|
159
189
|
private requestChatCompletion;
|
|
190
|
+
|
|
191
|
+
private compactForContextOverflow;
|
|
160
192
|
private readChatCompletionStream;
|
|
161
193
|
private handleToolCalls;
|
|
194
|
+
|
|
195
|
+
private executePreparedToolCallsConcurrently;
|
|
196
|
+
|
|
197
|
+
private executePreparedToolCallsSerially;
|
|
198
|
+
|
|
199
|
+
private commitPreparedToolOutcomes;
|
|
200
|
+
|
|
201
|
+
private executeOnePreparedTool;
|
|
202
|
+
|
|
203
|
+
private resolveToolLimiter;
|
|
204
|
+
|
|
205
|
+
private prepareToolCall;
|
|
206
|
+
|
|
207
|
+
private resolveToolConcurrencyDeclaration;
|
|
208
|
+
|
|
209
|
+
private runBuiltInToolCall;
|
|
210
|
+
|
|
211
|
+
private runMcpToolCall;
|
|
212
|
+
|
|
213
|
+
private classifyToolError;
|
|
214
|
+
|
|
215
|
+
private commitToolOutcome;
|
|
216
|
+
|
|
217
|
+
private commitSupersededToolResult;
|
|
218
|
+
|
|
219
|
+
private executeSingleToolByName;
|
|
162
220
|
private callMcpToolWithTimeout;
|
|
163
221
|
|
|
164
222
|
private static formatSubAgentCompletionAsPollResult;
|
|
@@ -202,13 +260,9 @@ export declare class ACodeRuntime extends EventEmitter {
|
|
|
202
260
|
|
|
203
261
|
requestMcpToolsRefresh(serverName?: string): void;
|
|
204
262
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
private recoverHiddenMcpTool;
|
|
208
|
-
|
|
209
|
-
private recoveredToolNames;
|
|
263
|
+
recoverHiddenMcpTool(toolName: string): Promise<boolean>;
|
|
210
264
|
|
|
211
|
-
private
|
|
265
|
+
private refreshMcpConnectionTools;
|
|
212
266
|
private createMcpTransport;
|
|
213
267
|
|
|
214
268
|
private fetchProfilePrompt;
|