@dexto/agent-management 1.9.8 → 1.10.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.
@@ -31,10 +31,10 @@ function createDelegatingApprovalHandler(parentApprovalManager, subAgentId, pare
31
31
  pendingApprovalIds.add(request.approvalId);
32
32
  try {
33
33
  const delegatedDetails = {
34
+ ...request.autoApproval === void 0 ? {} : { autoApproval: request.autoApproval },
35
+ ...request.hostRuntime === void 0 ? {} : { hostRuntime: request.hostRuntime },
34
36
  type: request.type,
35
37
  timeout: request.timeout,
36
- // IMPORTANT: use the parent sessionId so the interactive CLI surfaces
37
- // the approval in the correct active session.
38
38
  sessionId: parentSessionId ?? request.sessionId,
39
39
  metadata: {
40
40
  ...request.metadata,
@@ -1 +1 @@
1
- {"version":3,"file":"approval-delegation.d.ts","sourceRoot":"","sources":["../../src/runtime/approval-delegation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACR,eAAe,EAIf,eAAe,EACf,MAAM,EACT,MAAM,aAAa,CAAC;AAerB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,+BAA+B,CAC3C,qBAAqB,EAAE,eAAe,EACtC,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,MAAM,EAAE,MAAM,GACf,eAAe,CAwFjB"}
1
+ {"version":3,"file":"approval-delegation.d.ts","sourceRoot":"","sources":["../../src/runtime/approval-delegation.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACR,eAAe,EAIf,eAAe,EACf,MAAM,EACT,MAAM,aAAa,CAAC;AAErB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,+BAA+B,CAC3C,qBAAqB,EAAE,eAAe,EACtC,UAAU,EAAE,MAAM,EAClB,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,MAAM,EAAE,MAAM,GACf,eAAe,CA2FjB"}
@@ -8,10 +8,10 @@ function createDelegatingApprovalHandler(parentApprovalManager, subAgentId, pare
8
8
  pendingApprovalIds.add(request.approvalId);
9
9
  try {
10
10
  const delegatedDetails = {
11
+ ...request.autoApproval === void 0 ? {} : { autoApproval: request.autoApproval },
12
+ ...request.hostRuntime === void 0 ? {} : { hostRuntime: request.hostRuntime },
11
13
  type: request.type,
12
14
  timeout: request.timeout,
13
- // IMPORTANT: use the parent sessionId so the interactive CLI surfaces
14
- // the approval in the correct active session.
15
15
  sessionId: parentSessionId ?? request.sessionId,
16
16
  metadata: {
17
17
  ...request.metadata,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexto/agent-management",
3
- "version": "1.9.8",
3
+ "version": "1.10.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -22,11 +22,11 @@
22
22
  "dependencies": {
23
23
  "yaml": "^2.8.3",
24
24
  "zod": "^4.3.6",
25
- "@dexto/agent-config": "1.9.8",
26
- "@dexto/core": "1.9.8",
27
- "@dexto/llm": "1.9.8",
28
- "@dexto/orchestration": "1.9.8",
29
- "@dexto/tools-builtins": "1.9.8"
25
+ "@dexto/agent-config": "1.10.0",
26
+ "@dexto/core": "1.10.0",
27
+ "@dexto/llm": "1.10.0",
28
+ "@dexto/orchestration": "1.10.0",
29
+ "@dexto/tools-builtins": "1.10.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.13.5"