@adhdev/daemon-core 1.0.18-rc.11 → 1.0.18-rc.12
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/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/dist/shared-types.d.ts +1 -1
- package/package.json +3 -3
- package/src/shared-types.ts +6 -0
- package/src/status/reporter.ts +1 -0
package/dist/shared-types.d.ts
CHANGED
|
@@ -624,7 +624,7 @@ export interface DashboardBootstrapDaemonEntry extends Partial<CloudDaemonSummar
|
|
|
624
624
|
p2p?: StatusReportPayload['p2p'];
|
|
625
625
|
timestamp?: number;
|
|
626
626
|
}
|
|
627
|
-
export type DaemonStatusEventName = 'agent:generating_started' | 'agent:waiting_approval' | 'agent:generating_completed' | 'agent:stopped' | 'monitor:no_progress' | 'monitor:long_generating';
|
|
627
|
+
export type DaemonStatusEventName = 'agent:generating_started' | 'agent:waiting_approval' | 'agent:waiting_choice' | 'agent:generating_completed' | 'agent:stopped' | 'monitor:no_progress' | 'monitor:long_generating';
|
|
628
628
|
/** Minimal daemon-originated event payload relayed through the server. */
|
|
629
629
|
export interface DaemonStatusEventPayload {
|
|
630
630
|
event: DaemonStatusEventName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adhdev/daemon-core",
|
|
3
|
-
"version": "1.0.18-rc.
|
|
3
|
+
"version": "1.0.18-rc.12",
|
|
4
4
|
"description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"author": "vilmire",
|
|
48
48
|
"license": "AGPL-3.0-or-later",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@adhdev/mesh-shared": "1.0.18-rc.
|
|
51
|
-
"@adhdev/session-host-core": "1.0.18-rc.
|
|
50
|
+
"@adhdev/mesh-shared": "1.0.18-rc.12",
|
|
51
|
+
"@adhdev/session-host-core": "1.0.18-rc.12",
|
|
52
52
|
"@agentclientprotocol/sdk": "^0.16.1",
|
|
53
53
|
"ajv": "^8.20.0",
|
|
54
54
|
"ajv-formats": "^3.0.1",
|
package/src/shared-types.ts
CHANGED
|
@@ -775,6 +775,12 @@ export interface DashboardBootstrapDaemonEntry extends Partial<CloudDaemonSummar
|
|
|
775
775
|
export type DaemonStatusEventName =
|
|
776
776
|
| 'agent:generating_started'
|
|
777
777
|
| 'agent:waiting_approval'
|
|
778
|
+
// A question picker (AskUserQuestion / InteractivePrompt) parks the agent
|
|
779
|
+
// awaiting a human decision — distinct from an approval modal, but equally a
|
|
780
|
+
// state the user must answer before work continues. Relayed to the server so
|
|
781
|
+
// push notifications fire (owner requirement: coordinator sessions must be
|
|
782
|
+
// pinged for pending questions).
|
|
783
|
+
| 'agent:waiting_choice'
|
|
778
784
|
| 'agent:generating_completed'
|
|
779
785
|
| 'agent:stopped'
|
|
780
786
|
| 'monitor:no_progress'
|
package/src/status/reporter.ts
CHANGED
|
@@ -118,6 +118,7 @@ export class DaemonStatusReporter {
|
|
|
118
118
|
switch (value) {
|
|
119
119
|
case 'agent:generating_started':
|
|
120
120
|
case 'agent:waiting_approval':
|
|
121
|
+
case 'agent:waiting_choice':
|
|
121
122
|
case 'agent:generating_completed':
|
|
122
123
|
case 'agent:stopped':
|
|
123
124
|
case 'monitor:no_progress':
|