ask-agent 0.29.1 → 0.30.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/lib/ask/agent/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 58b285b250efd49063ba2fb5c078ea3107d3ebd583ab33b4c92c07084280a242
|
|
4
|
+
data.tar.gz: 1d6df4327981ec16e652cedbb864112721db2a6ae1c1c5d7d74ecacfe4a6aa38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1adec012cf31271f1039068e6329c172981d631c221e5d18ce21fe2f19d2449bceac06a4fb4e8845b762c59b263b20ba947cd70463947b389e70f618beda501e
|
|
7
|
+
data.tar.gz: 84cdadbbf141991d3c294e06ec9f42e689835407bf3a2577d6ce8a9e173bd3eb21030313e0a59b3663f6718bee88b245deab144aaeda440e443ae176877af4cb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,36 @@
|
|
|
1
|
+
## [0.30.0] — 2026-08-06
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
|
|
5
|
+
- **Session checkpoints: fork, rollback, resume.** Versioned, durable
|
|
6
|
+
checkpoints on any state adapter. Enable with
|
|
7
|
+
`Session.new(state: store, checkpoints: true)` — every turn is snapshotted
|
|
8
|
+
under a sequential key, and the session gains time travel:
|
|
9
|
+
- **`Session#rollback!(seq: / turn:)`** — rewind messages and turn count
|
|
10
|
+
to an earlier checkpoint. Later checkpoints are kept, so the session
|
|
11
|
+
can roll forward again. The legacy blob stays consistent.
|
|
12
|
+
- **`Session#fork(at_seq: / at_turn:)`** — a new session (new id, same
|
|
13
|
+
model/tools) whose history is everything up to that point, backed by
|
|
14
|
+
its own checkpoint chain; continue the branch with `run`.
|
|
15
|
+
- **`Session#checkpoint_history` / `Session#load_checkpoint(seq:)`** —
|
|
16
|
+
inspect the timeline. `Session.load` re-enables checkpointing
|
|
17
|
+
automatically when the stored session has checkpoints.
|
|
18
|
+
- `Ask::Agent::CheckpointStore` — the store itself, usable standalone.
|
|
19
|
+
It needs only the minimal KV contract (`get`/`set`/`delete`), so it
|
|
20
|
+
works with every state provider (SQLite, Redis, Postgres, MySQL) and
|
|
21
|
+
custom adapters — no list primitives required, no provider mandated.
|
|
22
|
+
- `Events::SessionRolledBack` / `Events::SessionForked` fire on rollback
|
|
23
|
+
and fork. `Session#delete` cleans up checkpoint keys too.
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- **`Session.load` could not restore sessions saved with tools.** The
|
|
28
|
+
built-in `LoadSkillTool` (auto-added to every session) cannot be
|
|
29
|
+
instantiated without a registry, so any saved session with tools failed
|
|
30
|
+
to load with `ArgumentError: missing keyword: :registry`. Load now
|
|
31
|
+
instantiates saved tool classes defensively — un-instantiable classes are
|
|
32
|
+
skipped and re-added by `resolve_tools` with a proper registry.
|
|
33
|
+
|
|
1
34
|
## [0.29.1] — 2026-08-06
|
|
2
35
|
|
|
3
36
|
### Fixed
|
data/lib/ask/agent/version.rb
CHANGED