@rozenite/tanstack-query-plugin 1.7.0-rc.2 → 1.8.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.
- package/CHANGELOG.md +31 -0
- package/dist/devtools/assets/{CXEL7IU7-DJlSmt0p.js → CXEL7IU7-DmbowaBr.js} +1 -1
- package/dist/devtools/assets/{tanstack-query-_leiFatc.js → tanstack-query-DRBLkSCy.js} +11 -11
- package/dist/devtools/tanstack-query.html +1 -1
- package/dist/react-native/chunks/useTanStackQueryDevTools.require.cjs +1 -1
- package/dist/react-native/chunks/useTanStackQueryDevTools.require.js +309 -268
- package/dist/rozenite.json +1 -1
- package/dist/sdk/index.cjs +1 -0
- package/dist/sdk/index.d.ts +1939 -0
- package/dist/sdk/index.js +167 -0
- package/package.json +13 -6
- package/sdk.ts +55 -0
- package/src/react-native/agent/__tests__/tanstack-query-agent.test.ts +73 -29
- package/src/react-native/agent/tanstack-query-agent.ts +33 -235
- package/src/react-native/agent/useTanStackQueryAgentTools.ts +39 -65
- package/src/react-native/devtools-actions.ts +17 -3
- package/src/react-native/useHandleDevToolsMessages.ts +14 -11
- package/src/shared/agent-tools.ts +403 -0
- package/src/shared/hydrate.ts +16 -13
- package/src/shared/messaging.ts +3 -0
- package/src/shared/query-data-sync.test.ts +93 -0
- package/src/shared/query-data-sync.ts +156 -0
- package/src/shared/types.ts +1 -0
- package/src/ui/tanstack-query.tsx +12 -0
- package/tsconfig.json +4 -1
- package/vite.config.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @rozenite/tanstack-query-plugin
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#222](https://github.com/callstackincubator/rozenite/pull/222) [`404244b`](https://github.com/callstackincubator/rozenite/commit/404244bab0600761ed82e5a7e8072b933c46f80a) Thanks [@manapard](https://github.com/manapard)! - Add typed `./sdk` entrypoints for the official agent-enabled plugins backed by
|
|
8
|
+
the same shared tool contracts used at runtime.
|
|
9
|
+
|
|
10
|
+
These plugins now publish typed descriptor groups for `session.tools.call(...)`
|
|
11
|
+
workflows, including shared public input/result types, while keeping their
|
|
12
|
+
existing tool names and runtime behavior unchanged. The official agent SDK docs
|
|
13
|
+
and plugin authoring guidance now also document this SDK export pattern,
|
|
14
|
+
including the `network-activity` fallback note for environments without the
|
|
15
|
+
built-in `network` domain.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`404244b`](https://github.com/callstackincubator/rozenite/commit/404244bab0600761ed82e5a7e8072b933c46f80a), [`404244b`](https://github.com/callstackincubator/rozenite/commit/404244bab0600761ed82e5a7e8072b933c46f80a)]:
|
|
20
|
+
- @rozenite/agent-bridge@1.8.0
|
|
21
|
+
- @rozenite/agent-shared@1.8.0
|
|
22
|
+
- @rozenite/plugin-bridge@1.8.0
|
|
23
|
+
|
|
24
|
+
## 1.7.0
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- [#220](https://github.com/callstackincubator/rozenite/pull/220) [`66bcf5a`](https://github.com/callstackincubator/rozenite/commit/66bcf5a6e032fb62b751fe7b227279e3c256c2fe) Thanks [@V3RON](https://github.com/V3RON)! - Fix TanStack Query devtools data edits so query data changes made in the panel sync back to the device without breaking existing loading and error actions.
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`a826e35`](https://github.com/callstackincubator/rozenite/commit/a826e35ffadcf79b9d2f1bb033666d3b27d40752)]:
|
|
31
|
+
- @rozenite/agent-bridge@1.7.0
|
|
32
|
+
- @rozenite/plugin-bridge@1.7.0
|
|
33
|
+
|
|
3
34
|
## 1.6.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|