@kylecheng3146/agent-ops 0.2.6 → 0.2.8

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.
@@ -174,6 +174,14 @@ function parseSession(value) {
174
174
  attachedAt: value.attachedAt
175
175
  };
176
176
  }
177
+ /**
178
+ * Validated task state without taking the write lock. A recovery hook must
179
+ * stay fail-open and fast: contending for the lock that `mutate` holds would
180
+ * make a read of the state able to fail, or to delay, a session start.
181
+ */
182
+ export function parseTaskStateSource(source) {
183
+ return parseState(source);
184
+ }
177
185
  function parseState(source) {
178
186
  if (source === null) {
179
187
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kylecheng3146/agent-ops",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "Evidence-driven development loops for agy, Codex, Claude Code, and opencode",
5
5
  "type": "module",
6
6
  "license": "MIT",