@emblemvault/hustle-react 1.5.1 → 1.5.2
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/dist/browser/hustle-react.js +24 -24
- package/dist/browser/hustle-react.js.map +1 -1
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/hooks/index.d.cts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/{hustle-C0Ltl5k4.d.cts → hustle-6WvUkY7K.d.cts} +1 -1
- package/dist/{hustle-C0Ltl5k4.d.ts → hustle-6WvUkY7K.d.ts} +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/{plugin-COr42J6-.d.cts → plugin-DsYMoj_c.d.cts} +1 -1
- package/dist/{plugin-COr42J6-.d.ts → plugin-DsYMoj_c.d.ts} +1 -1
- package/dist/plugins/index.d.cts +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/providers/index.d.cts +1 -1
- package/dist/providers/index.d.ts +1 -1
- package/package.json +2 -2
package/dist/hooks/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { HustleProvider, useHustle } from '../providers/index.cjs';
|
|
2
|
-
export { A as Attachment, C as ChatMessage,
|
|
3
|
-
import { S as StoredPlugin,
|
|
2
|
+
export { A as Attachment, C as ChatMessage, a as ChatOptions, b as ChatResponse, H as HustleConfig, c as HustleContextValue, d as HustleProviderProps, M as Model, S as StreamChunk, e as StreamEndEvent, f as StreamOptions, T as ToolCall, g as ToolEndEvent, h as ToolResult, i as ToolStartEvent } from '../hustle-6WvUkY7K.cjs';
|
|
3
|
+
import { S as StoredPlugin, H as HydratedPlugin, a as HustlePlugin } from '../plugin-DsYMoj_c.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'hustle-incognito';
|
|
6
6
|
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { HustleProvider, useHustle } from '../providers/index.js';
|
|
2
|
-
export { A as Attachment, C as ChatMessage,
|
|
3
|
-
import { S as StoredPlugin,
|
|
2
|
+
export { A as Attachment, C as ChatMessage, a as ChatOptions, b as ChatResponse, H as HustleConfig, c as HustleContextValue, d as HustleProviderProps, M as Model, S as StreamChunk, e as StreamEndEvent, f as StreamOptions, T as ToolCall, g as ToolEndEvent, h as ToolResult, i as ToolStartEvent } from '../hustle-6WvUkY7K.js';
|
|
3
|
+
import { S as StoredPlugin, H as HydratedPlugin, a as HustlePlugin } from '../plugin-DsYMoj_c.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'hustle-incognito';
|
|
6
6
|
|
|
@@ -246,4 +246,4 @@ interface HustleProviderProps extends HustleConfig {
|
|
|
246
246
|
vaultId?: string;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export type { Attachment as A, ChatMessage as C, HustleConfig as H, Model as M,
|
|
249
|
+
export type { Attachment as A, ChatMessage as C, HustleConfig as H, Model as M, StreamChunk as S, ToolCall as T, ChatOptions as a, ChatResponse as b, HustleContextValue as c, HustleProviderProps as d, StreamEndEvent as e, StreamOptions as f, ToolEndEvent as g, ToolResult as h, ToolStartEvent as i };
|
|
@@ -246,4 +246,4 @@ interface HustleProviderProps extends HustleConfig {
|
|
|
246
246
|
vaultId?: string;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export type { Attachment as A, ChatMessage as C, HustleConfig as H, Model as M,
|
|
249
|
+
export type { Attachment as A, ChatMessage as C, HustleConfig as H, Model as M, StreamChunk as S, ToolCall as T, ChatOptions as a, ChatResponse as b, HustleContextValue as c, HustleProviderProps as d, StreamEndEvent as e, StreamOptions as f, ToolEndEvent as g, ToolResult as h, ToolStartEvent as i };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { HustleProvider, useHustle } from './providers/index.cjs';
|
|
2
2
|
export { HustleChat, HustleChatProps, HustleChatWidget, HustleChatWidgetConfig, HustleChatWidgetProps, MarkdownContent, WidgetPosition, WidgetSize } from './components/index.cjs';
|
|
3
|
-
export { A as Attachment, C as ChatMessage,
|
|
4
|
-
import { S as StoredPlugin, H as
|
|
5
|
-
export { C as ClientToolDefinition, E as ErrorContext,
|
|
3
|
+
export { A as Attachment, C as ChatMessage, a as ChatOptions, b as ChatResponse, H as HustleConfig, c as HustleContextValue, d as HustleProviderProps, M as Model, S as StreamChunk, e as StreamEndEvent, f as StreamOptions, T as ToolCall, g as ToolEndEvent, h as ToolResult, i as ToolStartEvent } from './hustle-6WvUkY7K.cjs';
|
|
4
|
+
import { S as StoredPlugin, H as HydratedPlugin, a as HustlePlugin } from './plugin-DsYMoj_c.cjs';
|
|
5
|
+
export { C as ClientToolDefinition, E as ErrorContext, b as HustleRequest, J as JSONSchema, c as JSONSchemaProperty, P as PluginHooks, d as ProcessedResponse, e as SerializedHooks, f as SerializedToolDefinition, T as ToolExecutor } from './plugin-DsYMoj_c.cjs';
|
|
6
6
|
export { UsePluginsReturn, UseSpeechRecognitionOptions, UseSpeechRecognitionReturn, usePlugins, useSpeechRecognition } from './hooks/index.cjs';
|
|
7
7
|
export { AvailablePlugin, availablePlugins, getAvailablePlugin, migrateFunPlugin, predictionMarketPlugin } from './plugins/index.cjs';
|
|
8
8
|
import 'react/jsx-runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { HustleProvider, useHustle } from './providers/index.js';
|
|
2
2
|
export { HustleChat, HustleChatProps, HustleChatWidget, HustleChatWidgetConfig, HustleChatWidgetProps, MarkdownContent, WidgetPosition, WidgetSize } from './components/index.js';
|
|
3
|
-
export { A as Attachment, C as ChatMessage,
|
|
4
|
-
import { S as StoredPlugin, H as
|
|
5
|
-
export { C as ClientToolDefinition, E as ErrorContext,
|
|
3
|
+
export { A as Attachment, C as ChatMessage, a as ChatOptions, b as ChatResponse, H as HustleConfig, c as HustleContextValue, d as HustleProviderProps, M as Model, S as StreamChunk, e as StreamEndEvent, f as StreamOptions, T as ToolCall, g as ToolEndEvent, h as ToolResult, i as ToolStartEvent } from './hustle-6WvUkY7K.js';
|
|
4
|
+
import { S as StoredPlugin, H as HydratedPlugin, a as HustlePlugin } from './plugin-DsYMoj_c.js';
|
|
5
|
+
export { C as ClientToolDefinition, E as ErrorContext, b as HustleRequest, J as JSONSchema, c as JSONSchemaProperty, P as PluginHooks, d as ProcessedResponse, e as SerializedHooks, f as SerializedToolDefinition, T as ToolExecutor } from './plugin-DsYMoj_c.js';
|
|
6
6
|
export { UsePluginsReturn, UseSpeechRecognitionOptions, UseSpeechRecognitionReturn, usePlugins, useSpeechRecognition } from './hooks/index.js';
|
|
7
7
|
export { AvailablePlugin, availablePlugins, getAvailablePlugin, migrateFunPlugin, predictionMarketPlugin } from './plugins/index.js';
|
|
8
8
|
import 'react/jsx-runtime';
|
|
@@ -171,4 +171,4 @@ interface HydratedPlugin extends StoredPlugin {
|
|
|
171
171
|
hooks?: PluginHooks;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
export type { ClientToolDefinition as C, ErrorContext as E,
|
|
174
|
+
export type { ClientToolDefinition as C, ErrorContext as E, HydratedPlugin as H, JSONSchema as J, PluginHooks as P, StoredPlugin as S, ToolExecutor as T, HustlePlugin as a, HustleRequest as b, JSONSchemaProperty as c, ProcessedResponse as d, SerializedHooks as e, SerializedToolDefinition as f };
|
|
@@ -171,4 +171,4 @@ interface HydratedPlugin extends StoredPlugin {
|
|
|
171
171
|
hooks?: PluginHooks;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
export type { ClientToolDefinition as C, ErrorContext as E,
|
|
174
|
+
export type { ClientToolDefinition as C, ErrorContext as E, HydratedPlugin as H, JSONSchema as J, PluginHooks as P, StoredPlugin as S, ToolExecutor as T, HustlePlugin as a, HustleRequest as b, JSONSchemaProperty as c, ProcessedResponse as d, SerializedHooks as e, SerializedToolDefinition as f };
|
package/dist/plugins/index.d.cts
CHANGED
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { d as HustleProviderProps, c as HustleContextValue } from '../hustle-6WvUkY7K.cjs';
|
|
3
3
|
import 'hustle-incognito';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { d as HustleProviderProps, c as HustleContextValue } from '../hustle-6WvUkY7K.js';
|
|
3
3
|
import 'hustle-incognito';
|
|
4
4
|
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emblemvault/hustle-react",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"highlight.js": "^11.11.1",
|
|
53
|
-
"hustle-incognito": "
|
|
53
|
+
"hustle-incognito": "0.4.3",
|
|
54
54
|
"marked": "^17.0.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|