@blocklet/pages-kit 0.2.312 → 0.2.314

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.
Files changed (43) hide show
  1. package/lib/cjs/builtin/async/ai-runtime/api/session.js +10 -1
  2. package/lib/cjs/builtin/async/ai-runtime/components/PopperMenuButton/LoadingMenuItem.js +49 -0
  3. package/lib/cjs/builtin/async/ai-runtime/components/PopperMenuButton/index.js +68 -0
  4. package/lib/cjs/builtin/async/ai-runtime/locales/index.js +1 -1
  5. package/lib/cjs/builtin/async/ai-runtime/runtime/ChatBotButton/index.js +21 -4
  6. package/lib/cjs/builtin/async/ai-runtime/runtime/Runtime/index.js +22 -33
  7. package/lib/cjs/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +2 -2
  8. package/lib/cjs/builtin/async/ai-runtime/runtime-components/MultiAgentsChat/index.js +6 -5
  9. package/lib/cjs/builtin/async/ai-runtime/runtime-components/PhotoGallery/index.js +6 -5
  10. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +39 -14
  11. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +2 -2
  12. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Input.js +2 -2
  13. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Page.js +2 -3
  14. package/lib/cjs/builtin/async/ai-runtime/state/agent.js +2 -3
  15. package/lib/cjs/builtin/async/ai-runtime/state/session.js +218 -80
  16. package/lib/cjs/builtin/page/header.js +45 -3
  17. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  18. package/lib/esm/builtin/async/ai-runtime/api/session.js +8 -0
  19. package/lib/esm/builtin/async/ai-runtime/components/PopperMenuButton/LoadingMenuItem.js +46 -0
  20. package/lib/esm/builtin/async/ai-runtime/components/PopperMenuButton/index.js +42 -0
  21. package/lib/esm/builtin/async/ai-runtime/locales/index.js +1 -1
  22. package/lib/esm/builtin/async/ai-runtime/runtime/ChatBotButton/index.js +23 -6
  23. package/lib/esm/builtin/async/ai-runtime/runtime/Runtime/index.js +23 -34
  24. package/lib/esm/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +3 -3
  25. package/lib/esm/builtin/async/ai-runtime/runtime-components/MultiAgentsChat/index.js +7 -6
  26. package/lib/esm/builtin/async/ai-runtime/runtime-components/PhotoGallery/index.js +7 -6
  27. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +35 -10
  28. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +3 -3
  29. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Input.js +3 -3
  30. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Page.js +3 -4
  31. package/lib/esm/builtin/async/ai-runtime/state/agent.js +2 -3
  32. package/lib/esm/builtin/async/ai-runtime/state/session.js +216 -80
  33. package/lib/esm/builtin/page/header.js +42 -1
  34. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  35. package/lib/types/builtin/async/ai-runtime/api/session.d.ts +3 -0
  36. package/lib/types/builtin/async/ai-runtime/components/PopperMenuButton/LoadingMenuItem.d.ts +5 -0
  37. package/lib/types/builtin/async/ai-runtime/components/PopperMenuButton/index.d.ts +6 -0
  38. package/lib/types/builtin/async/ai-runtime/runtime-components/SimpleChat/index.d.ts +2 -1
  39. package/lib/types/builtin/async/ai-runtime/state/runtime.d.ts +1 -0
  40. package/lib/types/builtin/async/ai-runtime/state/session.d.ts +27 -6
  41. package/lib/types/builtin/page/header.d.ts +13 -0
  42. package/lib/types/tsconfig.tsbuildinfo +1 -1
  43. package/package.json +4 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.2.312",
3
+ "version": "0.2.314",
4
4
  "description": "Pages Kit components and utils",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -93,7 +93,7 @@
93
93
  "@iconify/react": "^4.1.1",
94
94
  "@lottiefiles/lottie-player": "^1.7.1",
95
95
  "@types/file-saver": "^2.0.7",
96
- "axios": "^1.6.8",
96
+ "axios": "^1.7.1",
97
97
  "dayjs": "^1.11.11",
98
98
  "eventsource-parser": "^1.1.2",
99
99
  "file-saver": "^2.0.5",
@@ -101,6 +101,7 @@
101
101
  "immer": "^10.1.1",
102
102
  "js-base64": "^3.7.7",
103
103
  "lodash": "^4.17.21",
104
+ "material-ui-popup-state": "^5.1.1",
104
105
  "nanoid": "^3.3.7",
105
106
  "node-fetch": "^2.7.0",
106
107
  "react-error-boundary": "^4.0.13",
@@ -145,7 +146,7 @@
145
146
  "@types/react-helmet": "^6.1.11",
146
147
  "@types/react-scroll-to-bottom": "^4.2.5",
147
148
  "@types/react-syntax-highlighter": "^15.5.13",
148
- "axios": "^1.6.8",
149
+ "axios": "^1.7.1",
149
150
  "npm-run-all": "^4.1.5",
150
151
  "react": "^18.3.1",
151
152
  "react-dom": "^18.3.1",