Update documentation to include snapshot functions

- Added snapshot functions to SDK requirements
- Updated testing guide with snapshot examples
- Added snapshot checklist items for refactoring
- Clarified image() function in utilities section

All agents refactoring SDKs must now implement:
- sessionSnapshot(session_id, opts)
- serviceSnapshot(service_id, opts)
- listSnapshots(opts)
- restoreSnapshot(snapshot_id, opts)
- deleteSnapshot(snapshot_id, opts)
This commit is contained in:
russell@unturf.com 2026-01-15 15:37:56 -05:00
parent e433bc28c8
commit 67a14eae4a
3 changed files with 35 additions and 3 deletions

View file

@ -24,6 +24,13 @@ Use this checklist when refactoring a UN SDK to ensure nothing is missed.
- [ ] `cancelJob(job_id)` - Cancel running job
- [ ] `listJobs(limit)` - List active jobs
### Snapshots (NEW!)
- [ ] `sessionSnapshot(session_id)` - Create session snapshot
- [ ] `serviceSnapshot(service_id)` - Create service snapshot
- [ ] `listSnapshots()` - List all snapshots
- [ ] `restoreSnapshot(snapshot_id)` - Restore from snapshot
- [ ] `deleteSnapshot(snapshot_id)` - Delete snapshot
### Utilities
- [ ] `languages(cache_ttl)` - Get supported languages
- [ ] `languageInfo(language)` - Get language details