@myagentroam/agent 0.10.56 → 0.10.57

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.
@@ -40,7 +40,7 @@ export async function executeSleep(arguments_, context) {
40
40
  context.signal.throwIfAborted();
41
41
  const data = {
42
42
  durationMs,
43
- elapsedMs: performance.now() - started,
43
+ elapsedMs: Math.round(performance.now() - started),
44
44
  wakeReason: outcome === 'ready' ? 'subagent_message' : outcome === 'interrupted' ? 'steer' : 'elapsed'
45
45
  };
46
46
  return { content: JSON.stringify(data), data };
@@ -47,7 +47,7 @@ export declare const TOOL_EXECUTION_LIMITS: Readonly<{
47
47
  agentWaitDefaultWaitMs: 30000;
48
48
  agentWaitMaxWaitMs: 300000;
49
49
  agentWaitMaxAgents: 8;
50
- sleepMaxDurationMs: 300000;
50
+ sleepMaxDurationMs: 1800000;
51
51
  subagentDescriptionMaxCharacters: 80;
52
52
  subagentPromptMaxBytes: 131072;
53
53
  subagentMessageMaxBytes: 131072;
@@ -47,7 +47,7 @@ export const TOOL_EXECUTION_LIMITS = Object.freeze({
47
47
  agentWaitDefaultWaitMs: 30_000,
48
48
  agentWaitMaxWaitMs: 300_000,
49
49
  agentWaitMaxAgents: 8,
50
- sleepMaxDurationMs: 300_000,
50
+ sleepMaxDurationMs: 1_800_000,
51
51
  subagentDescriptionMaxCharacters: 80,
52
52
  subagentPromptMaxBytes: 131_072,
53
53
  subagentMessageMaxBytes: 131_072,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/agent",
3
- "version": "0.10.56",
3
+ "version": "0.10.57",
4
4
  "description": "Embeddable MAR coding agent SDK and CLI.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",