@blocklet/pages-kit 0.2.352 → 0.2.354
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/lib/cjs/api/call.js +1 -2
- package/lib/cjs/api/pages-kit.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/api/agent.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/api/dataset.js +11 -12
- package/lib/cjs/builtin/async/ai-runtime/api/message.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/api/request.js +2 -2
- package/lib/cjs/builtin/async/ai-runtime/api/secret.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/api/session.js +7 -8
- package/lib/cjs/builtin/async/ai-runtime/components/ActionButton.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/AgentErrorBoundary.js +6 -4
- package/lib/cjs/builtin/async/ai-runtime/components/AgentInputField/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/AgentSettings/AgentSettingsDialog.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/GlobalLoading/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/Header/SimpleHeader.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/Layout/SimpleLayout.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/MenuButton.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/OutputFieldContainer/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/PopperMenuButton/LoadingMenuItem.js +3 -3
- package/lib/cjs/builtin/async/ai-runtime/components/PopperMenuButton/index.js +3 -3
- package/lib/cjs/builtin/async/ai-runtime/components/RuntimeCommonProvider.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/components/ScrollView.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/ShareActions/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/SocialShare.js +3 -4
- package/lib/cjs/builtin/async/ai-runtime/components/ThemeProvider.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/components/UserInfo.js +3 -4
- package/lib/cjs/builtin/async/ai-runtime/constants.js +2 -2
- package/lib/cjs/builtin/async/ai-runtime/contexts/ActiveAgent.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/contexts/ComponentPreferences.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/contexts/CurrentAgent.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/contexts/CurrentMessage.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/contexts/Runtime.js +3 -4
- package/lib/cjs/builtin/async/ai-runtime/hooks/use-agent-admin.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/hooks/use-appearances.js +4 -5
- package/lib/cjs/builtin/async/ai-runtime/hooks/use-header-menu.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/runtime/ChatBotButton/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime/Runtime/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ChatOutput/MessageErrorView.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ChatOutput/MessageItemView.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ChatOutput/MessageMetadataRenderer.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ChatOutput/MessageSuggestedQuestions.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ChatOutput/ReferenceLinks.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ChatOutput/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/GoogleSearch/GoogleSearchRelatedQuestionsView.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/GoogleSearch/GoogleSearchSourcesView.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ImagesView/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/MarkdownView/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/OpeningQuestionsView/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/PhotoGallery/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/PhotoGalleryItem/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ReferencedLinksView/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/ShareView/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/BackgroundImage.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/InputsView.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/MessageView.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/MessagesView.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/UserMessageView.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleOutput/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/SuggestedQuestionsView/index.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Input.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Output.js +6 -8
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Page.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/components/CodePreview.js +6 -7
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/components/Loading.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/components/UserQuestion.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/contexts/V0Runtime.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/state/agent.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/state/runtime.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/state/session.js +21 -21
- package/lib/cjs/builtin/async/ai-runtime/utils/agent-inputs.js +2 -2
- package/lib/cjs/builtin/async/ai-runtime/utils/download-image.js +2 -3
- package/lib/cjs/builtin/async/ai-runtime/utils/map-right.js +1 -1
- package/lib/cjs/builtin/async/ai-runtime/utils/runtime-output-schema.js +1 -2
- package/lib/cjs/builtin/async/ai-runtime/utils/zustand.js +1 -2
- package/lib/cjs/builtin/call.js +1 -2
- package/lib/cjs/builtin/iconify/react.js +1 -2
- package/lib/cjs/builtin/page/header.js +2 -2
- package/lib/cjs/builtin/session.js +1 -2
- package/lib/cjs/builtin/utils.js +2 -2
- package/lib/cjs/components/CustomComponentRenderer/BlockletReactComponentRenderer.js +1 -1
- package/lib/cjs/components/CustomComponentRenderer/DevProvider.js +2 -3
- package/lib/cjs/components/CustomComponentRenderer/index.js +1 -1
- package/lib/cjs/components/CustomComponentRenderer/state.js +4 -4
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/preload.js +1 -2
- package/lib/cjs/utils/property.js +5 -5
- package/lib/esm/builtin/async/ai-runtime/components/AgentErrorBoundary.js +4 -1
- package/lib/esm/builtin/async/ai-runtime/components/PopperMenuButton/LoadingMenuItem.js +2 -2
- package/lib/esm/builtin/async/ai-runtime/components/PopperMenuButton/index.js +2 -2
- package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Output.js +5 -7
- package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/components/CodePreview.js +2 -3
- package/lib/esm/builtin/async/ai-runtime/state/session.js +17 -17
- package/lib/esm/components/CustomComponentRenderer/state.js +1 -1
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/types/builtin/async/ai-runtime/api/request.d.ts +1 -1
- package/lib/types/builtin/async/ai-runtime/components/AgentInputField/LanguageField.d.ts +2 -3
- package/lib/types/builtin/async/ai-runtime/components/AgentInputField/NumberField.d.ts +2 -3
- package/lib/types/builtin/async/ai-runtime/components/AgentInputField/RadioField.d.ts +2 -3
- package/lib/types/builtin/async/ai-runtime/components/AgentInputField/SelectField.d.ts +2 -3
- package/lib/types/builtin/async/ai-runtime/components/AgentInputField/StringField.d.ts +2 -3
- package/lib/types/builtin/async/ai-runtime/components/LoadingButton.d.ts +0 -1
- package/lib/types/builtin/async/ai-runtime/hooks/use-appearances.d.ts +7 -7
- package/lib/types/builtin/async/ai-runtime/runtime-components/SimpleChat/MessageView.d.ts +0 -1
- package/lib/types/builtin/async/ai-runtime/runtime-components/SimpleChat/OpeningMessageView.d.ts +0 -1
- package/lib/types/builtin/async/ai-runtime/runtime-components/V0/components/CodePreview.d.ts +1 -2
- package/lib/types/builtin/async/ai-runtime/runtime-components/V0/components/ConfirmDialog.d.ts +0 -1
- package/lib/types/builtin/async/ai-runtime/runtime-components/V0/components/PropertiesSetting.d.ts +0 -1
- package/lib/types/builtin/async/ai-runtime/state/runtime.d.ts +4 -4
- package/lib/types/builtin/async/react-scroll-to-bottom.d.ts +22 -23
- package/lib/types/builtin/async/react-syntax-highlighter.d.ts +0 -1
- package/lib/types/builtin/call.d.ts +0 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/utils/typescript/builtin-module-transformer.d.ts +1 -1
- package/lib/types/utils/typescript/imports-removal-transformer.d.ts +1 -1
- package/package.json +4 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SourceFile, TransformerFactory } from 'typescript';
|
|
2
|
-
export declare const createBuiltinModuleTransformer: (ts: typeof import(
|
|
2
|
+
export declare const createBuiltinModuleTransformer: (ts: typeof import("typescript")) => TransformerFactory<SourceFile>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SourceFile, TransformerFactory } from 'typescript';
|
|
2
|
-
export declare const createImportsRemovalTransformer: (ts: typeof import(
|
|
2
|
+
export declare const createImportsRemovalTransformer: (ts: typeof import("typescript"), removals: string[]) => TransformerFactory<SourceFile>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.354",
|
|
4
4
|
"description": "Pages Kit components and utils",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -86,8 +86,8 @@
|
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
88
|
"@arcblock/did-connect": "^2.10.1",
|
|
89
|
-
"@blocklet/ai-kit": "^0.1.
|
|
90
|
-
"@blocklet/ai-runtime": "^0.2.
|
|
89
|
+
"@blocklet/ai-kit": "^0.1.41",
|
|
90
|
+
"@blocklet/ai-runtime": "^0.2.62",
|
|
91
91
|
"@blocklet/js-sdk": "^1.16.27",
|
|
92
92
|
"@blocklet/sdk": "^1.16.27",
|
|
93
93
|
"@iconify/react": "^4.1.1",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"react-transition-group": "^4.4.5",
|
|
117
117
|
"react-wrap-balancer": "^1.1.1",
|
|
118
118
|
"remark-gfm": "^4.0.0",
|
|
119
|
-
"typescript": "^5.
|
|
119
|
+
"typescript": "^5.5.2",
|
|
120
120
|
"ufo": "^1.5.3",
|
|
121
121
|
"zustand": "^4.5.2"
|
|
122
122
|
},
|