@drisp/cli 0.5.7 → 0.5.8

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.
@@ -2241,7 +2241,7 @@ var cachedVersion = null;
2241
2241
  function readVersion() {
2242
2242
  if (cachedVersion !== null) return cachedVersion;
2243
2243
  try {
2244
- const injected = "0.5.7";
2244
+ const injected = "0.5.8";
2245
2245
  if (typeof injected === "string" && injected.length > 0) {
2246
2246
  cachedVersion = injected;
2247
2247
  return cachedVersion;
@@ -5208,16 +5208,21 @@ function translateServerRequest(msg) {
5208
5208
  networkContext: params.networkApprovalContext && typeof params.networkApprovalContext === "object" ? {
5209
5209
  host: params.networkApprovalContext.host,
5210
5210
  protocol: params.networkApprovalContext.protocol
5211
- } : void 0
5211
+ } : void 0,
5212
+ toolUseId: params.itemId
5212
5213
  }
5213
5214
  );
5214
5215
  }
5215
5216
  case FILE_CHANGE_REQUEST_APPROVAL: {
5216
5217
  const params = msg.params;
5217
- return permissionRequestEvent("Edit", {
5218
- reason: params.reason,
5219
- grantRoot: params.grantRoot
5220
- });
5218
+ return permissionRequestEvent(
5219
+ "Edit",
5220
+ {
5221
+ reason: params.reason,
5222
+ grantRoot: params.grantRoot
5223
+ },
5224
+ { toolUseId: params.itemId }
5225
+ );
5221
5226
  }
5222
5227
  case PERMISSIONS_REQUEST_APPROVAL: {
5223
5228
  const params = msg.params;
@@ -14660,4 +14665,4 @@ export {
14660
14665
  startUdsServer,
14661
14666
  sendUdsRequest
14662
14667
  };
14663
- //# sourceMappingURL=chunk-UKMVFGY2.js.map
14668
+ //# sourceMappingURL=chunk-XIWMD4GT.js.map
package/dist/cli.js CHANGED
@@ -74,7 +74,7 @@ import {
74
74
  writeAttachmentMirror,
75
75
  writeGatewayClientConfig,
76
76
  wsClientOptionsForEndpoint
77
- } from "./chunk-UKMVFGY2.js";
77
+ } from "./chunk-XIWMD4GT.js";
78
78
  import {
79
79
  generateId as generateId2
80
80
  } from "./chunk-BTKQ67RE.js";
@@ -15705,7 +15705,7 @@ var cachedVersion = null;
15705
15705
  function readPackageVersion() {
15706
15706
  if (cachedVersion !== null) return cachedVersion;
15707
15707
  try {
15708
- const injected = "0.5.7";
15708
+ const injected = "0.5.8";
15709
15709
  if (typeof injected === "string" && injected.length > 0) {
15710
15710
  cachedVersion = injected;
15711
15711
  return cachedVersion;
@@ -3,7 +3,7 @@ import {
3
3
  ensureDaemonStateDir,
4
4
  runDashboardRuntimeDaemon,
5
5
  startUdsServer
6
- } from "./chunk-UKMVFGY2.js";
6
+ } from "./chunk-XIWMD4GT.js";
7
7
  import "./chunk-BTKQ67RE.js";
8
8
  import {
9
9
  readDashboardClientConfig,
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "hooks",
18
18
  "dashboard"
19
19
  ],
20
- "version": "0.5.7",
20
+ "version": "0.5.8",
21
21
  "license": "MIT",
22
22
  "bin": {
23
23
  "athena": "dist/cli.js",