@pstdio/ui 0.2.5 → 0.3.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.
@@ -161,6 +161,10 @@ export type EventStore = {
161
161
  getHistory(): JsonPatch[];
162
162
  subscribe(): AsyncIterable<JsonPatch>;
163
163
  historyPlusStream(): AsyncIterable<JsonPatch>;
164
+ snapshotAndSubscribe(): {
165
+ history: JsonPatch[];
166
+ stream: AsyncIterable<JsonPatch>;
167
+ };
164
168
  };
165
169
  export type SpawnedProcess = {
166
170
  sessionId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pstdio/ui",
3
- "version": "0.2.5",
3
+ "version": "0.3.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/pufflyai/prompt-studio"
@@ -50,8 +50,6 @@
50
50
  "react-dom": "^19.0.0"
51
51
  },
52
52
  "dependencies": {
53
- "@chakra-ui/react": "3.32.0",
54
- "@emotion/react": "11.14.0",
55
53
  "@fontsource/inter": "^5.2.8",
56
54
  "@fontsource/onest": "^5.2.11",
57
55
  "@fontsource/playfair-display": "^5.2.8",
@@ -77,8 +75,6 @@
77
75
  "katex": "^0.16.33",
78
76
  "lexical": "^0.40.0",
79
77
  "lucide-react": "^0.556.0",
80
- "react": "19.2.4",
81
- "react-dom": "19.2.4",
82
78
  "use-stick-to-bottom": "^1.1.3",
83
79
  "y-protocols": "^1.0.7",
84
80
  "y-websocket": "^3.0.0",
@@ -86,19 +82,23 @@
86
82
  "zustand": "^5.0.8"
87
83
  },
88
84
  "devDependencies": {
85
+ "@chakra-ui/react": "3.32.0",
86
+ "@emotion/react": "11.14.0",
89
87
  "@storybook/addon-themes": "^10.1.10",
90
88
  "@storybook/react": "^10.1.9",
91
89
  "@storybook/react-vite": "^10.1.9",
90
+ "@storybook/test-runner": "^0.22.0",
92
91
  "@types/react": "^19.2.0",
93
92
  "@types/react-dom": "^19.2.0",
94
93
  "@vitejs/plugin-react": "^5.1.1",
95
94
  "babel-plugin-react-compiler": "^1.0.0",
95
+ "react": "19.2.4",
96
+ "react-dom": "19.2.4",
96
97
  "storybook": "^10.1.9",
97
98
  "typescript": "~5.9.3",
98
99
  "vite": "^7.2.4",
99
100
  "vite-plugin-dts": "^4.5.4",
100
101
  "vite-plugin-externalize-deps": "^0.8.0",
101
- "vite-plugin-svgr": "^4.3.0",
102
- "@storybook/test-runner": "^0.22.0"
102
+ "vite-plugin-svgr": "^4.3.0"
103
103
  }
104
104
  }