artifactuse 0.1.25 → 0.1.28
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/README.md +60 -1
- package/dist/core/detector.d.ts +5 -0
- package/dist/core/index.d.ts +2 -1
- package/dist/{index-Bzk5VnG1.js → index-D56xsAnF.js} +1484 -1411
- package/dist/index.js +1 -1
- package/dist/react/ArtifactuseAgentMessage.d.ts +9 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +863 -803
- package/dist/styles/artifactuse.css +1 -0
- package/dist/styles/components/inline-preview.css +69 -0
- package/dist/styles/components/message.css +7 -1
- package/dist/styles/components/panel.css +18 -0
- package/dist/svelte/index.d.ts +6 -6
- package/dist/svelte/index.js +1909 -1868
- package/dist/vue/index.d.ts +4 -4
- package/dist/vue/index.js +1230 -1169
- package/dist/vue2/composables.d.ts +4 -4
- package/dist/vue2/index.js +265 -27
- package/package.json +1 -1
package/dist/vue/index.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export function provideArtifactuse(config?: {
|
|
|
66
66
|
isFullscreen: boolean;
|
|
67
67
|
};
|
|
68
68
|
subscribe: (callback: any) => () => void;
|
|
69
|
-
processMessage: (content: any, messageId: any) => {
|
|
69
|
+
processMessage: (content: any, messageId: any, overrides?: {}) => {
|
|
70
70
|
html: string | Promise<string>;
|
|
71
71
|
artifacts: any[];
|
|
72
72
|
};
|
|
@@ -183,7 +183,7 @@ export function provideArtifactuse(config?: {
|
|
|
183
183
|
hasArtifacts: import("vue").ComputedRef<boolean>;
|
|
184
184
|
panelTypes: import("vue").ComputedRef<any>;
|
|
185
185
|
activePanelUrl: import("vue").ComputedRef<any>;
|
|
186
|
-
processMessage: (content: any, messageId: any) => {
|
|
186
|
+
processMessage: (content: any, messageId: any, overrides?: {}) => {
|
|
187
187
|
html: string | Promise<string>;
|
|
188
188
|
artifacts: any[];
|
|
189
189
|
};
|
|
@@ -278,7 +278,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
278
278
|
isFullscreen: boolean;
|
|
279
279
|
};
|
|
280
280
|
subscribe: (callback: any) => () => void;
|
|
281
|
-
processMessage: (content: any, messageId: any) => {
|
|
281
|
+
processMessage: (content: any, messageId: any, overrides?: {}) => {
|
|
282
282
|
html: string | Promise<string>;
|
|
283
283
|
artifacts: any[];
|
|
284
284
|
};
|
|
@@ -395,7 +395,7 @@ export function createArtifactuseComposable(config?: {}): {
|
|
|
395
395
|
hasArtifacts: import("vue").ComputedRef<boolean>;
|
|
396
396
|
panelTypes: import("vue").ComputedRef<any>;
|
|
397
397
|
activePanelUrl: import("vue").ComputedRef<any>;
|
|
398
|
-
processMessage: (content: any, messageId: any) => {
|
|
398
|
+
processMessage: (content: any, messageId: any, overrides?: {}) => {
|
|
399
399
|
html: string | Promise<string>;
|
|
400
400
|
artifacts: any[];
|
|
401
401
|
};
|