@eventmodelers/cli 2.0.37 → 2.0.38

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.
@@ -13,6 +13,7 @@ import { requestFetch, requestSync } from './stubs/chatSend'
13
13
  import { phaseOf } from './stubs/useApplyStatus'
14
14
  import { RebuildButton } from '@player/RebuildButton'
15
15
  import { usePrototypeRebuild } from '@player/usePrototypeRebuild'
16
+ import { snapshotsKey, useSnapshots } from '@player/snapshots'
16
17
  import '@player/feedback/FeedbackReplay' // registers the replay overlay
17
18
 
18
19
  const SQUARE: React.CSSProperties = { margin: 0, width: 30, height: 30, padding: 0, display: 'inline-flex', alignItems: 'center', justifyContent: 'center' }
@@ -115,6 +116,7 @@ const LocalPlayer: React.FC = () => {
115
116
  const name = (load && 'contextName' in load && load.contextName) || 'Prototype'
116
117
  const reloadRef = useRef<() => void>(() => {})
117
118
  const feedback = usePrototypeFeedback(frame, { timelineId: 'local', title: name, html, boardId: 'local' })
119
+ useSnapshots(frame, snapshotsKey('local', 'local', name), run) // the Event log panel's named snapshots, kept in this browser
118
120
  const agentRebuild = usePrototypeRebuild({ timelineId: 'local', title: name, boardId: 'local', name, onRebuilt: () => reloadRef.current() })
119
121
 
120
122
  const reload = useCallback(() => { setFrameReady(false); setRun(r => r + 1) }, [])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventmodelers/cli",
3
- "version": "2.0.37",
3
+ "version": "2.0.38",
4
4
  "description": "Eventmodelers CLI — real-time Claude agent + skills for Claude Code, for any stack (Node, Supabase, Axon, OpenCQRS, UmaDB, Kurrent, or modeling-only)",
5
5
  "type": "module",
6
6
  "bin": {