@drisp/cli 0.5.1 → 0.5.2

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  startDaemon
4
- } from "./chunk-OB4HZXR5.js";
4
+ } from "./chunk-LKLNEXTK.js";
5
5
  import "./chunk-MRAM6EYI.js";
6
6
  import {
7
7
  resolveGatewayPaths,
@@ -176,7 +176,18 @@ function createInstanceSocketClient(opts) {
176
176
  function sendFeedEvent(event) {
177
177
  send({ type: "feed_event", ...event });
178
178
  }
179
- return { connect, close, onFrame, onClose, sendRunEvent, sendFeedEvent };
179
+ function sendDecisionAck(input) {
180
+ send({ type: "decision_ack", ...input });
181
+ }
182
+ return {
183
+ connect,
184
+ close,
185
+ onFrame,
186
+ onClose,
187
+ sendRunEvent,
188
+ sendFeedEvent,
189
+ sendDecisionAck
190
+ };
180
191
  }
181
192
 
182
193
  // src/infra/daemon/pidLock.ts
@@ -392,4 +403,4 @@ export {
392
403
  acquirePidLock,
393
404
  readPidLock
394
405
  };
395
- //# sourceMappingURL=chunk-ZVOGOZNT.js.map
406
+ //# sourceMappingURL=chunk-JV7CRNTC.js.map
@@ -2240,7 +2240,7 @@ var cachedVersion = null;
2240
2240
  function readVersion() {
2241
2241
  if (cachedVersion !== null) return cachedVersion;
2242
2242
  try {
2243
- const injected = "0.5.1";
2243
+ const injected = "0.5.2";
2244
2244
  if (typeof injected === "string" && injected.length > 0) {
2245
2245
  cachedVersion = injected;
2246
2246
  return cachedVersion;
@@ -4121,4 +4121,4 @@ async function startDaemon(opts) {
4121
4121
  export {
4122
4122
  startDaemon
4123
4123
  };
4124
- //# sourceMappingURL=chunk-OB4HZXR5.js.map
4124
+ //# sourceMappingURL=chunk-LKLNEXTK.js.map
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  createInstanceSocketClient,
18
18
  writeAttachmentMirror
19
- } from "./chunk-ZVOGOZNT.js";
19
+ } from "./chunk-JV7CRNTC.js";
20
20
  import {
21
21
  TransportUnreachableError,
22
22
  createUdsClientTransport,
@@ -12588,6 +12588,10 @@ function createDashboardPairedExecution(options) {
12588
12588
  decision: frame.decision,
12589
12589
  receivedAt: now()
12590
12590
  });
12591
+ client.sendDecisionAck({
12592
+ athenaSessionId: frame.athenaSessionId,
12593
+ requestId: frame.requestId
12594
+ });
12591
12595
  }
12592
12596
  function handleCancel(frame) {
12593
12597
  const entry = active.get(frame.runId);
@@ -12756,6 +12760,11 @@ async function runDashboardRuntimeDaemon(options = {}) {
12756
12760
  return;
12757
12761
  }
12758
12762
  current.sendRunEvent(event);
12763
+ },
12764
+ sendDecisionAck(input) {
12765
+ const current = client;
12766
+ if (!current) return;
12767
+ current.sendDecisionAck(input);
12759
12768
  }
12760
12769
  };
12761
12770
  const pairedExecution = createDashboardPairedExecution({
@@ -13271,4 +13280,4 @@ export {
13271
13280
  startUdsServer,
13272
13281
  sendUdsRequest
13273
13282
  };
13274
- //# sourceMappingURL=chunk-PEBITVZQ.js.map
13283
+ //# sourceMappingURL=chunk-PC46SGTK.js.map
package/dist/cli.js CHANGED
@@ -68,7 +68,7 @@ import {
68
68
  todoGlyphSet,
69
69
  writeGatewayClientConfig,
70
70
  wsClientOptionsForEndpoint
71
- } from "./chunk-PEBITVZQ.js";
71
+ } from "./chunk-PC46SGTK.js";
72
72
  import {
73
73
  generateId as generateId2
74
74
  } from "./chunk-BTKQ67RE.js";
@@ -80,7 +80,7 @@ import {
80
80
  readPidLock,
81
81
  removeAttachmentMirror,
82
82
  writeAttachmentMirror
83
- } from "./chunk-ZVOGOZNT.js";
83
+ } from "./chunk-JV7CRNTC.js";
84
84
  import {
85
85
  dashboardClientConfigPath,
86
86
  disableTelemetry,
@@ -16052,7 +16052,7 @@ var cachedVersion = null;
16052
16052
  function readPackageVersion() {
16053
16053
  if (cachedVersion !== null) return cachedVersion;
16054
16054
  try {
16055
- const injected = "0.5.1";
16055
+ const injected = "0.5.2";
16056
16056
  if (typeof injected === "string" && injected.length > 0) {
16057
16057
  cachedVersion = injected;
16058
16058
  return cachedVersion;
@@ -2,14 +2,14 @@ import {
2
2
  ensureDaemonStateDir,
3
3
  runDashboardRuntimeDaemon,
4
4
  startUdsServer
5
- } from "./chunk-PEBITVZQ.js";
5
+ } from "./chunk-PC46SGTK.js";
6
6
  import "./chunk-BTKQ67RE.js";
7
7
  import {
8
8
  openDaemonLog
9
9
  } from "./chunk-2OJ3GGIP.js";
10
10
  import {
11
11
  acquirePidLock
12
- } from "./chunk-ZVOGOZNT.js";
12
+ } from "./chunk-JV7CRNTC.js";
13
13
  import {
14
14
  readDashboardClientConfig,
15
15
  refreshDashboardAccessToken
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  startDaemon
4
- } from "./chunk-OB4HZXR5.js";
4
+ } from "./chunk-LKLNEXTK.js";
5
5
  import "./chunk-MRAM6EYI.js";
6
6
  import {
7
7
  openDaemonLog
@@ -11,7 +11,7 @@ import {
11
11
  attachmentMirrorPath,
12
12
  createInstanceSocketClient,
13
13
  readAttachmentMirror
14
- } from "./chunk-ZVOGOZNT.js";
14
+ } from "./chunk-JV7CRNTC.js";
15
15
  import {
16
16
  readDashboardClientConfig,
17
17
  refreshDashboardAccessToken,
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "hooks",
18
18
  "dashboard"
19
19
  ],
20
- "version": "0.5.1",
20
+ "version": "0.5.2",
21
21
  "license": "MIT",
22
22
  "bin": {
23
23
  "athena": "dist/cli.js",