@beeos-ai/device-agent 0.15.0 → 0.16.1

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.
Files changed (240) hide show
  1. package/README.md +35 -0
  2. package/dist/adapters/agent-gateway-client.d.ts +6 -68
  3. package/dist/adapters/agent-gateway-client.js +7 -67
  4. package/dist/adapters/agent-gateway-client.js.map +1 -1
  5. package/dist/adapters/device-compat.d.ts +1 -2
  6. package/dist/adapters/device-compat.js +2 -52
  7. package/dist/adapters/device-compat.js.map +1 -1
  8. package/dist/agent-runtime/action-guard.js +92 -17
  9. package/dist/agent-runtime/action-guard.js.map +1 -1
  10. package/dist/agent-runtime/adapters/base.d.ts +13 -9
  11. package/dist/agent-runtime/adapters/base.js.map +1 -1
  12. package/dist/agent-runtime/adapters/general-flash.d.ts +3 -3
  13. package/dist/agent-runtime/adapters/general-flash.js +2 -2
  14. package/dist/agent-runtime/adapters/general-flash.js.map +1 -1
  15. package/dist/agent-runtime/adapters/native-tools.d.ts +56 -0
  16. package/dist/agent-runtime/adapters/native-tools.js +416 -0
  17. package/dist/agent-runtime/adapters/native-tools.js.map +1 -0
  18. package/dist/agent-runtime/adapters/openai.d.ts +1 -2
  19. package/dist/agent-runtime/adapters/openai.js +5 -5
  20. package/dist/agent-runtime/adapters/openai.js.map +1 -1
  21. package/dist/agent-runtime/adapters/pro.d.ts +7 -37
  22. package/dist/agent-runtime/adapters/pro.js +7 -249
  23. package/dist/agent-runtime/adapters/pro.js.map +1 -1
  24. package/dist/agent-runtime/advanced/app-card.js +9 -2
  25. package/dist/agent-runtime/advanced/app-card.js.map +1 -1
  26. package/dist/agent-runtime/advanced/subgoal-verifier.d.ts +1 -0
  27. package/dist/agent-runtime/advanced/subgoal-verifier.js +30 -36
  28. package/dist/agent-runtime/advanced/subgoal-verifier.js.map +1 -1
  29. package/dist/agent-runtime/advanced/task-state.js +4 -9
  30. package/dist/agent-runtime/advanced/task-state.js.map +1 -1
  31. package/dist/agent-runtime/agent-runner.d.ts +2 -11
  32. package/dist/agent-runtime/agent-runner.js +69 -34
  33. package/dist/agent-runtime/agent-runner.js.map +1 -1
  34. package/dist/agent-runtime/core.d.ts +24 -46
  35. package/dist/agent-runtime/core.js +161 -228
  36. package/dist/agent-runtime/core.js.map +1 -1
  37. package/dist/agent-runtime/execution-checks.d.ts +40 -0
  38. package/dist/agent-runtime/execution-checks.js +133 -0
  39. package/dist/agent-runtime/execution-checks.js.map +1 -0
  40. package/dist/agent-runtime/execution-mode.d.ts +1 -8
  41. package/dist/agent-runtime/execution-mode.js +10 -30
  42. package/dist/agent-runtime/execution-mode.js.map +1 -1
  43. package/dist/agent-runtime/feedback.d.ts +4 -28
  44. package/dist/agent-runtime/feedback.js +4 -26
  45. package/dist/agent-runtime/feedback.js.map +1 -1
  46. package/dist/agent-runtime/form-prerequisites.d.ts +3 -0
  47. package/dist/agent-runtime/form-prerequisites.js +52 -0
  48. package/dist/agent-runtime/form-prerequisites.js.map +1 -0
  49. package/dist/agent-runtime/index.d.ts +2 -8
  50. package/dist/agent-runtime/index.js +2 -8
  51. package/dist/agent-runtime/index.js.map +1 -1
  52. package/dist/agent-runtime/{modes/orchestrator → knowledge}/app-guide.d.ts +1 -1
  53. package/dist/agent-runtime/{modes/orchestrator → knowledge}/app-guide.js +1 -1
  54. package/dist/agent-runtime/knowledge/app-guide.js.map +1 -0
  55. package/dist/agent-runtime/models/base.d.ts +3 -1
  56. package/dist/agent-runtime/models/client.js +30 -9
  57. package/dist/agent-runtime/models/client.js.map +1 -1
  58. package/dist/agent-runtime/models/reasoning.d.ts +10 -0
  59. package/dist/agent-runtime/models/reasoning.js +29 -0
  60. package/dist/agent-runtime/models/reasoning.js.map +1 -0
  61. package/dist/agent-runtime/models/runtime-registry.d.ts +2 -1
  62. package/dist/agent-runtime/models/runtime-registry.js +4 -2
  63. package/dist/agent-runtime/models/runtime-registry.js.map +1 -1
  64. package/dist/agent-runtime/models/vlm/autoglm.js +6 -2
  65. package/dist/agent-runtime/models/vlm/autoglm.js.map +1 -1
  66. package/dist/agent-runtime/models/vlm/base.js +1 -12
  67. package/dist/agent-runtime/models/vlm/base.js.map +1 -1
  68. package/dist/agent-runtime/models/vlm/index.d.ts +0 -4
  69. package/dist/agent-runtime/models/vlm/index.js +0 -4
  70. package/dist/agent-runtime/models/vlm/index.js.map +1 -1
  71. package/dist/agent-runtime/modes/hybrid/index.d.ts +2 -12
  72. package/dist/agent-runtime/modes/hybrid/index.js +10 -27
  73. package/dist/agent-runtime/modes/hybrid/index.js.map +1 -1
  74. package/dist/agent-runtime/modes/hybrid/planner/base.d.ts +4 -44
  75. package/dist/agent-runtime/modes/hybrid/planner/base.js +3 -21
  76. package/dist/agent-runtime/modes/hybrid/planner/base.js.map +1 -1
  77. package/dist/agent-runtime/modes/hybrid/planner/llm-planner.d.ts +1 -1
  78. package/dist/agent-runtime/modes/hybrid/planner/llm-planner.js +9 -6
  79. package/dist/agent-runtime/modes/hybrid/planner/llm-planner.js.map +1 -1
  80. package/dist/agent-runtime/modes/hybrid/planner/prompts.d.ts +1 -17
  81. package/dist/agent-runtime/modes/hybrid/planner/prompts.js +65 -160
  82. package/dist/agent-runtime/modes/hybrid/planner/prompts.js.map +1 -1
  83. package/dist/agent-runtime/plan-executor.d.ts +13 -14
  84. package/dist/agent-runtime/plan-executor.js +236 -122
  85. package/dist/agent-runtime/plan-executor.js.map +1 -1
  86. package/dist/agent-runtime/pro-memory.js +1 -1
  87. package/dist/agent-runtime/pro-memory.js.map +1 -1
  88. package/dist/agent-runtime/pro-operator.js +8 -2
  89. package/dist/agent-runtime/pro-operator.js.map +1 -1
  90. package/dist/agent-runtime/pro-perception.d.ts +1 -0
  91. package/dist/agent-runtime/pro-perception.js +4 -2
  92. package/dist/agent-runtime/pro-perception.js.map +1 -1
  93. package/dist/agent-runtime/pro-target-check.d.ts +2 -2
  94. package/dist/agent-runtime/pro-target-check.js +102 -17
  95. package/dist/agent-runtime/pro-target-check.js.map +1 -1
  96. package/dist/agent-runtime/prompts/operator.d.ts +2 -0
  97. package/dist/agent-runtime/prompts/operator.js +69 -0
  98. package/dist/agent-runtime/prompts/operator.js.map +1 -0
  99. package/dist/agent-runtime/prompts/verification.d.ts +2 -0
  100. package/dist/agent-runtime/prompts/verification.js +52 -0
  101. package/dist/agent-runtime/prompts/verification.js.map +1 -0
  102. package/dist/agent-runtime/skills/replay.d.ts +4 -14
  103. package/dist/agent-runtime/skills/replay.js +46 -27
  104. package/dist/agent-runtime/skills/replay.js.map +1 -1
  105. package/dist/agent-runtime/tool-batch.d.ts +10 -0
  106. package/dist/agent-runtime/tool-batch.js +51 -0
  107. package/dist/agent-runtime/tool-batch.js.map +1 -0
  108. package/dist/agent-runtime/visual-state.d.ts +2 -0
  109. package/dist/agent-runtime/visual-state.js +24 -0
  110. package/dist/agent-runtime/visual-state.js.map +1 -0
  111. package/dist/agent-runtime/vlm.d.ts +1 -1
  112. package/dist/agent-runtime/vlm.js +1 -1
  113. package/dist/api.js +3 -1
  114. package/dist/api.js.map +1 -1
  115. package/dist/app/agent-host.js +6 -2
  116. package/dist/app/agent-host.js.map +1 -1
  117. package/dist/app/multi-device-host.js +4 -5
  118. package/dist/app/multi-device-host.js.map +1 -1
  119. package/dist/app/session-manager.d.ts +3 -45
  120. package/dist/app/session-manager.js +8 -9
  121. package/dist/app/session-manager.js.map +1 -1
  122. package/dist/bootstrap.js +25 -84
  123. package/dist/bootstrap.js.map +1 -1
  124. package/dist/config/loader.js +12 -1
  125. package/dist/config/loader.js.map +1 -1
  126. package/dist/config/schema.d.ts +7 -2
  127. package/dist/config/schema.js +8 -5
  128. package/dist/config/schema.js.map +1 -1
  129. package/dist/core/abortable-read.d.ts +1 -0
  130. package/dist/core/abortable-read.js +24 -0
  131. package/dist/core/abortable-read.js.map +1 -0
  132. package/dist/device/ui-xml.d.ts +4 -0
  133. package/dist/device/ui-xml.js +35 -13
  134. package/dist/device/ui-xml.js.map +1 -1
  135. package/dist/fleet/adapters/process/node-process-manager.d.ts +2 -1
  136. package/dist/fleet/adapters/process/node-process-manager.js +11 -19
  137. package/dist/fleet/adapters/process/node-process-manager.js.map +1 -1
  138. package/dist/inbound/acp/handlers/models.js +11 -8
  139. package/dist/inbound/acp/handlers/models.js.map +1 -1
  140. package/dist/inbound/acp/handlers/session.d.ts +1 -4
  141. package/dist/inbound/acp/handlers/session.js +3 -6
  142. package/dist/inbound/acp/handlers/session.js.map +1 -1
  143. package/dist/inbound/bma/agent.d.ts +47 -0
  144. package/dist/inbound/bma/agent.js +130 -0
  145. package/dist/inbound/bma/agent.js.map +1 -0
  146. package/dist/inbound/bma/command.d.ts +15 -0
  147. package/dist/inbound/bma/command.js +98 -0
  148. package/dist/inbound/bma/command.js.map +1 -0
  149. package/dist/inbound/bma/model-proxy.d.ts +22 -0
  150. package/dist/inbound/bma/model-proxy.js +130 -0
  151. package/dist/inbound/bma/model-proxy.js.map +1 -0
  152. package/dist/inbound/cli/main.js +12 -2
  153. package/dist/inbound/cli/main.js.map +1 -1
  154. package/dist/inbound/cli/run-artifacts.js +16 -7
  155. package/dist/inbound/cli/run-artifacts.js.map +1 -1
  156. package/dist/inbound/cli/run-command.d.ts +7 -0
  157. package/dist/inbound/cli/run-command.js +37 -29
  158. package/dist/inbound/cli/run-command.js.map +1 -1
  159. package/dist/index.d.ts +1 -10
  160. package/dist/index.js +1 -6
  161. package/dist/index.js.map +1 -1
  162. package/dist/mcp-client/autospawn.d.ts +7 -9
  163. package/dist/mcp-client/autospawn.js +16 -12
  164. package/dist/mcp-client/autospawn.js.map +1 -1
  165. package/dist/mcp-client/client.d.ts +6 -3
  166. package/dist/mcp-client/client.js +31 -13
  167. package/dist/mcp-client/client.js.map +1 -1
  168. package/dist/mcp-client/runtime.d.ts +5 -2
  169. package/dist/plugins/agent-sync/index.d.ts +32 -17
  170. package/dist/plugins/agent-sync/index.js +223 -232
  171. package/dist/plugins/agent-sync/index.js.map +1 -1
  172. package/dist/plugins/message-bus/inbound.d.ts +0 -32
  173. package/dist/plugins/message-bus/inbound.js +3 -0
  174. package/dist/plugins/message-bus/inbound.js.map +1 -1
  175. package/dist/plugins/message-bus/ms-channel-notifier.d.ts +1 -0
  176. package/dist/plugins/message-bus/ms-channel-notifier.js +16 -8
  177. package/dist/plugins/message-bus/ms-channel-notifier.js.map +1 -1
  178. package/dist/plugins/native-chat/deadline.d.ts +2 -0
  179. package/dist/plugins/native-chat/deadline.js +16 -0
  180. package/dist/plugins/native-chat/deadline.js.map +1 -0
  181. package/dist/plugins/native-chat/index.d.ts +46 -0
  182. package/dist/plugins/native-chat/index.js +331 -0
  183. package/dist/plugins/native-chat/index.js.map +1 -0
  184. package/dist/plugins/native-chat/reply-stream.d.ts +50 -0
  185. package/dist/plugins/native-chat/reply-stream.js +81 -0
  186. package/dist/plugins/native-chat/reply-stream.js.map +1 -0
  187. package/dist/plugins/native-chat/session-notifier.d.ts +16 -0
  188. package/dist/plugins/native-chat/session-notifier.js +130 -0
  189. package/dist/plugins/native-chat/session-notifier.js.map +1 -0
  190. package/dist/ports/agent-core.d.ts +2 -0
  191. package/dist/ports/agent-host.d.ts +2 -0
  192. package/dist/ports/agent-host.js +0 -21
  193. package/dist/ports/agent-host.js.map +1 -1
  194. package/dist/ports/device.d.ts +0 -1
  195. package/dist/ports/device.js +0 -1
  196. package/dist/ports/device.js.map +1 -1
  197. package/dist/runtime-authority/device-prompt.gen.d.ts +54 -0
  198. package/dist/runtime-authority/device-prompt.gen.js +19 -0
  199. package/dist/runtime-authority/device-prompt.gen.js.map +1 -0
  200. package/dist/types.d.ts +10 -0
  201. package/dist/types.js +1 -0
  202. package/dist/types.js.map +1 -1
  203. package/package.json +7 -5
  204. package/dist/adapters/device-desktop.d.ts +0 -49
  205. package/dist/adapters/device-desktop.js +0 -132
  206. package/dist/adapters/device-desktop.js.map +0 -1
  207. package/dist/agent-runtime/factory.d.ts +0 -24
  208. package/dist/agent-runtime/factory.js +0 -25
  209. package/dist/agent-runtime/factory.js.map +0 -1
  210. package/dist/agent-runtime/models/vlm/guiowl.d.ts +0 -1
  211. package/dist/agent-runtime/models/vlm/guiowl.js +0 -249
  212. package/dist/agent-runtime/models/vlm/guiowl.js.map +0 -1
  213. package/dist/agent-runtime/models/vlm/maiui.d.ts +0 -1
  214. package/dist/agent-runtime/models/vlm/maiui.js +0 -142
  215. package/dist/agent-runtime/models/vlm/maiui.js.map +0 -1
  216. package/dist/agent-runtime/models/vlm/qwen38.d.ts +0 -1
  217. package/dist/agent-runtime/models/vlm/qwen38.js +0 -241
  218. package/dist/agent-runtime/models/vlm/qwen38.js.map +0 -1
  219. package/dist/agent-runtime/models/vlm/qwenvl.d.ts +0 -1
  220. package/dist/agent-runtime/models/vlm/qwenvl.js +0 -202
  221. package/dist/agent-runtime/models/vlm/qwenvl.js.map +0 -1
  222. package/dist/agent-runtime/modes/orchestrator/app-guide.js.map +0 -1
  223. package/dist/agent-runtime/modes/orchestrator/index.d.ts +0 -41
  224. package/dist/agent-runtime/modes/orchestrator/index.js +0 -218
  225. package/dist/agent-runtime/modes/orchestrator/index.js.map +0 -1
  226. package/dist/agent-runtime/modes/orchestrator/prompt.d.ts +0 -7
  227. package/dist/agent-runtime/modes/orchestrator/prompt.js +0 -53
  228. package/dist/agent-runtime/modes/orchestrator/prompt.js.map +0 -1
  229. package/dist/agent-runtime/reflection.d.ts +0 -100
  230. package/dist/agent-runtime/reflection.js +0 -241
  231. package/dist/agent-runtime/reflection.js.map +0 -1
  232. package/dist/agent-runtime/reflectors/action-reflector.d.ts +0 -97
  233. package/dist/agent-runtime/reflectors/action-reflector.js +0 -234
  234. package/dist/agent-runtime/reflectors/action-reflector.js.map +0 -1
  235. package/dist/agent-runtime/reflectors/policy.d.ts +0 -56
  236. package/dist/agent-runtime/reflectors/policy.js +0 -111
  237. package/dist/agent-runtime/reflectors/policy.js.map +0 -1
  238. package/dist/agent-runtime/reflectors/trajectory-reflector.d.ts +0 -93
  239. package/dist/agent-runtime/reflectors/trajectory-reflector.js +0 -224
  240. package/dist/agent-runtime/reflectors/trajectory-reflector.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * agent-runtime/core — Plan-Act-Reflect loop.
2
+ * Android observation, prediction, execution and deterministic checks.
3
3
  *
4
4
  * Mirrors the Python reference at
5
5
  * /Users/heat/workspace/deviceagent_research/deviceagent/agent_runtime/loop/core.py
@@ -32,10 +32,9 @@ import { type Action, type Observation } from "@beeos-ai/device-common";
32
32
  import type { IMcpRuntime } from "../mcp-client/runtime.js";
33
33
  import type { IModelAdapter, ModelUsage, Prediction, StepHistory } from "./adapters/base.js";
34
34
  import { type StepFeedback } from "./feedback.js";
35
- import { HierarchicalReflector } from "./reflection.js";
35
+ import { ExecutionChecks } from "./execution-checks.js";
36
36
  import { ProTaskMemory } from "./pro-memory.js";
37
37
  import { type OcrProvider } from "./ocr.js";
38
- import type { TrajectoryVerdict } from "./reflectors/trajectory-reflector.js";
39
38
  import { type ObservationMode } from "./observation-mode.js";
40
39
  export type AgentLoopTerminator = "done" | "fail" | "call_for_user" | "step_budget" | "timeout" | "reflection_veto" | "cancelled" | "error";
41
40
  export interface AgentRunHooks {
@@ -61,6 +60,8 @@ export interface AgentObservationEvent {
61
60
  export interface AgentStepEvent {
62
61
  /** 1-based step index. */
63
62
  index: number;
63
+ /** Observation index before a sequence charges its additional taps. */
64
+ observationIndex?: number;
64
65
  rationale: string;
65
66
  action: Action;
66
67
  prediction: Prediction;
@@ -87,6 +88,11 @@ export interface AgentErrorEvent {
87
88
  export type AgentErrorCode = "MODEL_PREDICT_FAILED" | "MCP_ACT_FAILED" | "MCP_ACT_ACTIONABLE" | "MCP_OBSERVE_FAILED" | "STEP_BUDGET" | "TIMEOUT" | "REFLECTION_VETO" | "MODEL_FAIL" | "CALL_FOR_USER_TIMEOUT" | "ABORTED";
88
89
  export interface AgentRunOptions {
89
90
  task: string;
91
+ /** Preserve task identity independently of scoped prompts and recovery text. */
92
+ taskContext?: {
93
+ rootGoal: string;
94
+ currentMilestone: string;
95
+ };
90
96
  env: Observation["env"];
91
97
  mcp: IMcpRuntime;
92
98
  adapter: IModelAdapter;
@@ -106,11 +112,13 @@ export interface AgentRunOptions {
106
112
  signal?: AbortSignal;
107
113
  /** Run hooks for streaming events. */
108
114
  hooks?: AgentRunHooks;
109
- /** Optional pre-built reflector (test injection). */
110
- reflector?: HierarchicalReflector;
115
+ /** Optional pre-built deterministic checks (test injection). */
116
+ executionChecks?: ExecutionChecks;
111
117
  /** Pro only: completed prior loops within this same task, never another task. */
112
118
  priorHistory?: StepHistory[];
113
119
  proOperator?: boolean;
120
+ /** Whole-task plan guidance, separate from the immutable user goal. */
121
+ operatorGuidance?: string;
114
122
  /** Optional injected OCR backend. Production uses BEEOS_OCR_API_KEY. */
115
123
  ocrProvider?: OcrProvider;
116
124
  proMemory?: ProTaskMemory;
@@ -132,20 +140,9 @@ export interface AgentRunResult {
132
140
  * (verification codes, computed prices, etc.).
133
141
  */
134
142
  notes: string[];
135
- /**
136
- * Phase 2.2 — final verdict from the {@link ITrajectoryReflector}, if any.
137
- * Set when the periodic trajectory check flipped to `off_track` or
138
- * `stuck`. The PlanExecutor surfaces this into `PlanContext.trajectoryVerdict`
139
- * on replan so the planner can pivot the plan rather than re-deriving the
140
- * failure mode.
141
- */
142
- trajectoryVerdict?: {
143
- verdict: Exclude<TrajectoryVerdict, "on_track">;
144
- reason: string;
145
- };
146
143
  /**
147
144
  * Append-only log of every {@link StepFeedback} pushed during the run
148
- * (pre-sanity vetoes, MCP act failures, trajectory reflector verdicts).
145
+ * (pre-sanity vetoes, MCP act failures).
149
146
  * The PlanExecutor surfaces the tail of this list as
150
147
  * `PlanContext.failureChain` on replan so the planner sees the precise
151
148
  * chain of failures rather than a free-form failure-reason string.
@@ -154,18 +151,19 @@ export interface AgentRunResult {
154
151
  }
155
152
  export declare class AgentLoop {
156
153
  private readonly opts;
154
+ private readonly batch;
157
155
  private static readonly DEFAULT_MAX_STEPS;
158
156
  private static readonly DEFAULT_TIMEOUT_MS;
159
157
  private readonly history;
160
158
  private evidence?;
159
+ private observationIndex?;
161
160
  private readonly proMemory?;
162
- private readonly reflector;
161
+ private readonly executionChecks;
163
162
  private readonly notes;
164
- private trajectoryVerdict?;
165
163
  /**
166
164
  * One-way bus for diagnostics that need to surface in the next
167
165
  * `Observation.task` prefix. Drained right before each predict; entries
168
- * are pushed by veto / act_failed / trajectory-reflector paths. See
166
+ * are pushed by veto and act_failed paths. See
169
167
  * `feedback.ts` for the rationale (closes the reflection feedback loop
170
168
  * without adapter protocol changes).
171
169
  */
@@ -187,10 +185,14 @@ export declare class AgentLoop {
187
185
  * four identical actions.
188
186
  */
189
187
  private vetoCodeCount;
188
+ private signal?;
189
+ private deadline;
190
+ private readonly timeoutReason;
190
191
  constructor(opts: AgentRunOptions);
191
192
  /** Push feedback into both the pending queue and the immutable log. */
192
193
  private pushFeedback;
193
194
  run(): Promise<AgentRunResult>;
195
+ private runLoop;
194
196
  private observe;
195
197
  /**
196
198
  * Translate a model-frame action into an MCP-frame action by scaling
@@ -198,30 +200,6 @@ export declare class AgentLoop {
198
200
  * `_coordSystem` payload hint that `parsedToAction` plants.
199
201
  */
200
202
  private scaleAction;
201
- /**
202
- * Phase 1.4 — invoke the optional model-based action reflector. Verdicts
203
- * are advisory: a `passed: false` result is appended to the just-pushed
204
- * StepHistory entry's `rationale` (so the next `predict` sees it), and
205
- * the entry's `actionResult` is upgraded from `ok` → `act_failed` so
206
- * downstream code (skill evolver, trajectory reflector) treats it as a
207
- * miss.
208
- *
209
- * The reflector itself is responsible for {@link IActionReflector.shouldReflect}
210
- * gating; this helper just composes the wiring. Cost is rolled into the
211
- * surrounding {@link AgentLoop.run} `usage` aggregator.
212
- */
213
- private maybeRunActionReflector;
214
- /**
215
- * Phase 2.2 — periodic global progress assessment. The reflector decides
216
- * its own gating (default: every 5 steps); we just compose the wiring.
217
- *
218
- * Returns a non-empty veto string only on `stuck`. `off_track` injects an
219
- * advisory line into the most recent history entry's rationale so the
220
- * grounder sees it next predict, but the loop keeps running. The verdict
221
- * itself is stashed on `this.trajectoryVerdict` so the PlanExecutor can
222
- * thread it into `PlanContext.trajectoryVerdict` on replan.
223
- */
224
- private maybeRunTrajectoryReflector;
225
203
  private recordHistory;
226
204
  /**
227
205
  * Backfill `screenStateHashAfter` on the just-pushed terminal history
@@ -246,8 +224,8 @@ export declare class AgentLoop {
246
224
  * that look identical to a human should produce the same hash.
247
225
  *
248
226
  * Returns `undefined` when no `uiDump` is available — pure-vision
249
- * adapters (Open-AutoGLM, UI-TARS, Qwen-VL) skip the dump round-trip
227
+ * adapters (AutoGLM) skip the dump round-trip
250
228
  * and fall back to the legacy 8px coordinate-similarity heuristic in
251
- * `HierarchicalReflector.maybeBlockAction`.
229
+ * `ExecutionChecks.maybeBlockAction`.
252
230
  */
253
231
  export declare function computeScreenStateHash(uiDump: string | undefined): string | undefined;