sandbox-agent/sdks/persist-rivet
Nathan Flurry f96229abe6 fix: update Rivet doc examples and stale peer dependency
- Fix security.mdx: move SDK/session setup from per-action to createVars
  to prevent resource leaks (new SDK + session was created on every
  submitPrompt call without cleanup)
- Add onSleep cleanup hook matching multiplayer.mdx pattern
- Update persist-rivet peer dependency from >=0.5.0 to >=2.0.0
  (rivetkit is at 2.0.42)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:44:48 -07:00
..
src chore: fix bad merge 2026-02-11 07:57:02 -08:00
tests chore: fix bad merge 2026-02-11 07:57:02 -08:00
package.json fix: update Rivet doc examples and stale peer dependency 2026-03-09 20:44:48 -07:00
tsconfig.json chore: fix bad merge 2026-02-11 07:57:02 -08:00
tsup.config.ts chore: fix bad merge 2026-02-11 07:57:02 -08:00