You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/agent/context.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@
25
25
2.`approvalManager.js` determines whether a proposed command can run automatically or needs a human decision.
26
26
3.`commandExecution.js` executes built-ins before shell commands and returns structured execution metadata.
27
27
- After every pass, `observationBuilder.js` converts command output into both CLI previews and history observations so the next model call has the right context.
28
+
-`loop.js` maintains an active plan manager that merges partial LLM plan updates, emits the merged outline to UIs, and writes a snapshot to `.openagent/todo.md` at repo root so humans can inspect the current plan.
28
29
- Integration suites mock `openaiRequest.js` to enqueue deterministic completions, reflecting the module boundaries introduced by this architecture.
Copy file name to clipboardExpand all lines: src/utils/context.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
-`asyncQueue.js`: exposes the `AsyncQueue` class (with a compatibility factory) used to shuttle events between the agent loop and UIs.
10
10
-`cancellation.js`: stack-based cancellation manager enabling ESC-triggered aborts and nested operations.
11
11
-`output.js`: merges stdout/stderr and provides preview builders used when rendering command results.
12
-
-`plan.js`: supplies plan inspection helpers (e.g., `planHasOpenSteps`).
12
+
-`plan.js`: supplies plan inspection helpers (e.g., `planHasOpenSteps`) plus merge/serialization utilities that keep the active plan snapshot in sync with `.openagent/todo.md`.
13
13
-`text.js`: regex filtering, tailing, truncation, and lightweight shell argument splitting.
14
14
-`contextUsage.js`: estimates token usage/remaining context for the current conversation history.
15
15
-`jsonAssetValidator.js`: shared helpers for JSON schema validation and prompt copy synchronization checks.
0 commit comments