Kind: Class
Source: atloria-monorepo/libs/agent-core/src/tools/env-tracker.ts
Methods
| Method | Signature | Returns |
|---|---|---|
isEnvModifyingCommand | isEnvModifyingCommand(command: string) | boolean |
capture | capture() | Promise<EnvSnapshot> |
getSnapshot | getSnapshot() | `EnvSnapshot |
getChanges | getChanges() | Record<string, { from?: string; to: string }> |
formatForContext | formatForContext() | string |
getCaptureCount | getCaptureCount() | number |
Where it refuses work
EnvTrackerstops the work with an early return when!this.currentSnapshot, in 2 places.
When something fails
EnvTrackerhandles failure in 1 place: it discards it silently in all 1.
Was this page helpful?