@blocklet/pages-kit 0.2.311 → 0.2.313

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 (41) 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 +29 -12
  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/session.js +217 -79
  15. package/lib/cjs/builtin/page/header.js +45 -3
  16. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  17. package/lib/esm/builtin/async/ai-runtime/api/session.js +8 -0
  18. package/lib/esm/builtin/async/ai-runtime/components/PopperMenuButton/LoadingMenuItem.js +46 -0
  19. package/lib/esm/builtin/async/ai-runtime/components/PopperMenuButton/index.js +42 -0
  20. package/lib/esm/builtin/async/ai-runtime/locales/index.js +1 -1
  21. package/lib/esm/builtin/async/ai-runtime/runtime/ChatBotButton/index.js +31 -14
  22. package/lib/esm/builtin/async/ai-runtime/runtime/Runtime/index.js +23 -34
  23. package/lib/esm/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +3 -3
  24. package/lib/esm/builtin/async/ai-runtime/runtime-components/MultiAgentsChat/index.js +7 -6
  25. package/lib/esm/builtin/async/ai-runtime/runtime-components/PhotoGallery/index.js +7 -6
  26. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +35 -10
  27. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +3 -3
  28. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Input.js +3 -3
  29. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Page.js +3 -4
  30. package/lib/esm/builtin/async/ai-runtime/state/session.js +215 -79
  31. package/lib/esm/builtin/page/header.js +42 -1
  32. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  33. package/lib/types/builtin/async/ai-runtime/api/session.d.ts +3 -0
  34. package/lib/types/builtin/async/ai-runtime/components/PopperMenuButton/LoadingMenuItem.d.ts +5 -0
  35. package/lib/types/builtin/async/ai-runtime/components/PopperMenuButton/index.d.ts +6 -0
  36. package/lib/types/builtin/async/ai-runtime/runtime-components/SimpleChat/index.d.ts +2 -1
  37. package/lib/types/builtin/async/ai-runtime/state/runtime.d.ts +1 -0
  38. package/lib/types/builtin/async/ai-runtime/state/session.d.ts +27 -6
  39. package/lib/types/builtin/page/header.d.ts +13 -0
  40. package/lib/types/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +7 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.2.311",
3
+ "version": "0.2.313",
4
4
  "description": "Pages Kit components and utils",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -85,15 +85,15 @@
85
85
  "url": "git+https://github.com/blocklet/pages-kit.git"
86
86
  },
87
87
  "dependencies": {
88
- "@arcblock/did-connect": "^2.9.79",
88
+ "@arcblock/did-connect": "^2.9.80",
89
89
  "@blocklet/ai-kit": "^0.1.33",
90
- "@blocklet/ai-runtime": "^0.1.395",
90
+ "@blocklet/ai-runtime": "^0.1.397",
91
91
  "@blocklet/js-sdk": "1.16.26",
92
92
  "@blocklet/sdk": "^1.16.26",
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",
@@ -131,7 +132,7 @@
131
132
  "react-router-dom": "^6.16.0"
132
133
  },
133
134
  "devDependencies": {
134
- "@arcblock/ux": "^2.9.79",
135
+ "@arcblock/ux": "^2.9.80",
135
136
  "@emotion/cache": "^11.11.0",
136
137
  "@emotion/css": "^11.11.2",
137
138
  "@emotion/react": "^11.11.4",
@@ -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",