@assistant-ui/react-ink 0.0.8 → 0.0.9
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/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -8
- package/src/index.ts +17 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="@assistant-ui/core/react" />
|
|
2
|
-
export type { ThreadMessage, ThreadUserMessage, ThreadAssistantMessage, ThreadSystemMessage, MessageStatus, MessageRole, ThreadMessageLike, AppendMessage, RunConfig, TextMessagePart, ReasoningMessagePart, SourceMessagePart, ToolCallMessagePart, ImageMessagePart, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart, ThreadUserMessagePart, ThreadAssistantMessagePart, AssistantRuntime, ThreadRuntime, MessageRuntime, ThreadComposerRuntime, EditComposerRuntime, ComposerRuntime, ThreadListRuntime, ThreadListItemRuntime, ChatModelAdapter, ChatModelRunOptions, ChatModelRunResult, RuntimeCapabilities, Attachment, PendingAttachment, CreateAttachment, AttachmentRuntime, AttachmentAdapter, ThreadHistoryAdapter, FeedbackAdapter, SuggestionAdapter, Unsubscribe, } from "@assistant-ui/core";
|
|
2
|
+
export type { ThreadMessage, ThreadUserMessage, ThreadAssistantMessage, ThreadSystemMessage, MessageStatus, MessageRole, ThreadMessageLike, AppendMessage, RunConfig, TextMessagePart, ReasoningMessagePart, SourceMessagePart, ToolCallMessagePart, ImageMessagePart, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart, ThreadUserMessagePart, ThreadAssistantMessagePart, AssistantRuntime, ThreadRuntime, MessageRuntime, ThreadComposerRuntime, EditComposerRuntime, ComposerRuntime, ThreadListRuntime, ThreadListItemRuntime, ChatModelAdapter, ChatModelRunOptions, ChatModelRunResult, RuntimeCapabilities, Attachment, PendingAttachment, CreateAttachment, AttachmentRuntime, AttachmentAdapter, ThreadHistoryAdapter, FeedbackAdapter, RealtimeVoiceAdapter, VoiceSessionControls, VoiceSessionHelpers, SuggestionAdapter, Unsubscribe, } from "@assistant-ui/core";
|
|
3
3
|
export type { RemoteThreadListAdapter, RemoteThreadListOptions, } from "@assistant-ui/core";
|
|
4
4
|
export { InMemoryThreadListAdapter } from "@assistant-ui/core";
|
|
5
|
+
export { createVoiceSession } from "@assistant-ui/core";
|
|
5
6
|
export { SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, CompositeAttachmentAdapter, } from "@assistant-ui/core";
|
|
6
7
|
export type { ThreadState, ThreadsState, MessageState, ComposerState, AttachmentState, ThreadListItemState, } from "@assistant-ui/core/store";
|
|
7
8
|
export { useAui, useAuiState, useAuiEvent, AuiProvider, AuiIf, type AssistantClient, type AssistantState, type AssistantEventScope, type AssistantEventSelector, type AssistantEventName, type AssistantEventPayload, type AssistantEventCallback, } from "@assistant-ui/store";
|
|
@@ -23,7 +24,7 @@ export * as ErrorPrimitive from "./primitives/error/index.js";
|
|
|
23
24
|
export * as DiffPrimitive from "./primitives/diff.js";
|
|
24
25
|
export { DiffView, type DiffViewProps } from "./primitives/diff/DiffView.js";
|
|
25
26
|
export { ThreadListItemByIndexProvider, ChainOfThoughtByIndicesProvider, MessageByIndexProvider, PartByIndexProvider, TextMessagePartProvider, ChainOfThoughtPartByIndexProvider, SuggestionByIndexProvider, } from "@assistant-ui/core/react";
|
|
26
|
-
export { makeAssistantTool, type AssistantTool, makeAssistantToolUI, type AssistantToolUI, makeAssistantDataUI, type AssistantDataUI, useAssistantTool, type AssistantToolProps, useAssistantToolUI, type AssistantToolUIProps, useAssistantDataUI, type AssistantDataUIProps, useAssistantInstructions, useInlineRender, type Toolkit, type ToolDefinition, Tools, DataRenderers, Interactables,
|
|
27
|
+
export { makeAssistantTool, type AssistantTool, makeAssistantToolUI, type AssistantToolUI, makeAssistantDataUI, type AssistantDataUI, useAssistantTool, type AssistantToolProps, useAssistantToolUI, type AssistantToolUIProps, useAssistantDataUI, type AssistantDataUIProps, useAssistantInstructions, useAssistantContext, type AssistantContextConfig, useInlineRender, type Toolkit, type ToolDefinition, Tools, DataRenderers, Interactables, useAssistantInteractable, type AssistantInteractableProps, useInteractableState, useToolArgsStatus, type ToolArgsStatus, } from "@assistant-ui/core/react";
|
|
27
28
|
export type { ModelContext, ModelContextProvider, LanguageModelConfig, LanguageModelV1CallSettings, } from "@assistant-ui/core";
|
|
28
29
|
export { mergeModelContexts } from "@assistant-ui/core";
|
|
29
30
|
export type { Tool } from "assistant-stream";
|
|
@@ -34,4 +35,5 @@ export type { ModelContextRegistryToolHandle, ModelContextRegistryInstructionHan
|
|
|
34
35
|
export { ModelContext as ModelContextClient } from "@assistant-ui/core/store";
|
|
35
36
|
export { ChainOfThoughtClient } from "@assistant-ui/core/store";
|
|
36
37
|
export type { EmptyMessagePartComponent, EmptyMessagePartProps, TextMessagePartComponent, TextMessagePartProps, ReasoningMessagePartComponent, ReasoningMessagePartProps, ReasoningGroupProps, ReasoningGroupComponent, SourceMessagePartComponent, SourceMessagePartProps, ImageMessagePartComponent, ImageMessagePartProps, FileMessagePartComponent, FileMessagePartProps, Unstable_AudioMessagePartComponent, Unstable_AudioMessagePartProps, DataMessagePartComponent, DataMessagePartProps, ToolCallMessagePartComponent, ToolCallMessagePartProps, } from "@assistant-ui/core/react";
|
|
38
|
+
export { useVoiceState, useVoiceVolume, useVoiceControls, } from "@assistant-ui/core/react";
|
|
37
39
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAEV,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,SAAS,EAET,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAE1B,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EAErB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EAEnB,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAEjB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EAEjB,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,YAAY,EACV,uBAAuB,EACvB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAEV,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,SAAS,EAET,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAE1B,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EAErB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EAEnB,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EAEjB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EAEjB,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAG5B,YAAY,EACV,uBAAuB,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EACxB,oBAAoB,EACpB,6BAA6B,EAC7B,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,kCAAkC,EAClC,8BAA8B,EAC9B,wBAAwB,EACxB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,aAAa,EACb,cAAc,EACd,gBAAgB,GACjB,MAAM,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="@assistant-ui/core/react" />
|
|
2
2
|
export { InMemoryThreadListAdapter } from "@assistant-ui/core";
|
|
3
|
+
export { createVoiceSession } from "@assistant-ui/core";
|
|
3
4
|
// Attachment adapter implementations
|
|
4
5
|
export { SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, CompositeAttachmentAdapter, } from "@assistant-ui/core";
|
|
5
6
|
// Store hooks and components
|
|
@@ -27,7 +28,7 @@ export { DiffView } from "./primitives/diff/DiffView.js";
|
|
|
27
28
|
// Re-export shared providers from core/react
|
|
28
29
|
export { ThreadListItemByIndexProvider, ChainOfThoughtByIndicesProvider, MessageByIndexProvider, PartByIndexProvider, TextMessagePartProvider, ChainOfThoughtPartByIndexProvider, SuggestionByIndexProvider, } from "@assistant-ui/core/react";
|
|
29
30
|
// Model context, tools & clients
|
|
30
|
-
export { makeAssistantTool, makeAssistantToolUI, makeAssistantDataUI, useAssistantTool, useAssistantToolUI, useAssistantDataUI, useAssistantInstructions, useInlineRender, Tools, DataRenderers, Interactables,
|
|
31
|
+
export { makeAssistantTool, makeAssistantToolUI, makeAssistantDataUI, useAssistantTool, useAssistantToolUI, useAssistantDataUI, useAssistantInstructions, useAssistantContext, useInlineRender, Tools, DataRenderers, Interactables, useAssistantInteractable, useInteractableState, useToolArgsStatus, } from "@assistant-ui/core/react";
|
|
31
32
|
export { mergeModelContexts } from "@assistant-ui/core";
|
|
32
33
|
export { tool } from "@assistant-ui/core";
|
|
33
34
|
export { Suggestions } from "@assistant-ui/core/store";
|
|
@@ -35,4 +36,5 @@ export { ModelContextRegistry } from "@assistant-ui/core";
|
|
|
35
36
|
// Client exports
|
|
36
37
|
export { ModelContext as ModelContextClient } from "@assistant-ui/core/store";
|
|
37
38
|
export { ChainOfThoughtClient } from "@assistant-ui/core/store";
|
|
39
|
+
export { useVoiceState, useVoiceVolume, useVoiceControls, } from "@assistant-ui/core/react";
|
|
38
40
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,kDAAkD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,kDAAkD;AA6DlD,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAExD,qCAAqC;AACrC,OAAO,EACL,4BAA4B,EAC5B,2BAA2B,EAC3B,0BAA0B,GAC3B,MAAM,oBAAoB,CAAC;AAY5B,6BAA6B;AAC7B,OAAO,EACL,MAAM,EACN,WAAW,EACX,WAAW,EACX,WAAW,EACX,KAAK,GAQN,MAAM,qBAAqB,CAAC;AAE7B,oBAAoB;AACpB,OAAO,EAAE,wBAAwB,EAAE,sCAAmC;AAEtE,UAAU;AACV,OAAO,EACL,eAAe,GAEhB,sCAAmC;AACpC,OAAO,EAAE,0BAA0B,EAAE,iDAA8C;AAEnF,aAAa;AACb,OAAO,KAAK,eAAe,+BAA4B;AACvD,OAAO,KAAK,iBAAiB,iCAA8B;AAC3D,OAAO,KAAK,gBAAgB,gCAA6B;AACzD,OAAO,KAAK,mBAAmB,mCAAgC;AAC/D,OAAO,KAAK,kBAAkB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|
2
2
|
"name": "@assistant-ui/react-ink",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "React Ink (terminal UI) bindings for assistant-ui",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"assistant",
|
|
@@ -15,12 +15,10 @@
|
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
|
-
"aui-source": "./src/index.ts",
|
|
19
18
|
"types": "./dist/index.d.ts",
|
|
20
19
|
"default": "./dist/index.js"
|
|
21
20
|
},
|
|
22
21
|
"./internal": {
|
|
23
|
-
"aui-source": "./src/internal.ts",
|
|
24
22
|
"types": "./dist/internal.d.ts",
|
|
25
23
|
"default": "./dist/internal.js"
|
|
26
24
|
}
|
|
@@ -34,10 +32,10 @@
|
|
|
34
32
|
],
|
|
35
33
|
"sideEffects": false,
|
|
36
34
|
"dependencies": {
|
|
37
|
-
"@assistant-ui/core": "^0.1.
|
|
38
|
-
"@assistant-ui/store": "^0.2.
|
|
39
|
-
"@assistant-ui/tap": "^0.5.
|
|
40
|
-
"assistant-stream": "^0.3.
|
|
35
|
+
"@assistant-ui/core": "^0.1.10",
|
|
36
|
+
"@assistant-ui/store": "^0.2.6",
|
|
37
|
+
"@assistant-ui/tap": "^0.5.6",
|
|
38
|
+
"assistant-stream": "^0.3.9",
|
|
41
39
|
"diff": "^8.0.4",
|
|
42
40
|
"ink-spinner": "^5.0.0",
|
|
43
41
|
"parse-diff": "^0.11.1",
|
|
@@ -58,7 +56,7 @@
|
|
|
58
56
|
"ink": "^6.8.0",
|
|
59
57
|
"ink-testing-library": "^4.0.0",
|
|
60
58
|
"react": "^19.2.4",
|
|
61
|
-
"vitest": "^4.1.
|
|
59
|
+
"vitest": "^4.1.2",
|
|
62
60
|
"@assistant-ui/x-buildutils": "0.0.3"
|
|
63
61
|
},
|
|
64
62
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
@@ -46,6 +46,9 @@ export type {
|
|
|
46
46
|
AttachmentAdapter,
|
|
47
47
|
ThreadHistoryAdapter,
|
|
48
48
|
FeedbackAdapter,
|
|
49
|
+
RealtimeVoiceAdapter,
|
|
50
|
+
VoiceSessionControls,
|
|
51
|
+
VoiceSessionHelpers,
|
|
49
52
|
SuggestionAdapter,
|
|
50
53
|
// Other
|
|
51
54
|
Unsubscribe,
|
|
@@ -57,6 +60,7 @@ export type {
|
|
|
57
60
|
RemoteThreadListOptions,
|
|
58
61
|
} from "@assistant-ui/core";
|
|
59
62
|
export { InMemoryThreadListAdapter } from "@assistant-ui/core";
|
|
63
|
+
export { createVoiceSession } from "@assistant-ui/core";
|
|
60
64
|
|
|
61
65
|
// Attachment adapter implementations
|
|
62
66
|
export {
|
|
@@ -143,18 +147,19 @@ export {
|
|
|
143
147
|
useAssistantDataUI,
|
|
144
148
|
type AssistantDataUIProps,
|
|
145
149
|
useAssistantInstructions,
|
|
150
|
+
useAssistantContext,
|
|
151
|
+
type AssistantContextConfig,
|
|
146
152
|
useInlineRender,
|
|
147
153
|
type Toolkit,
|
|
148
154
|
type ToolDefinition,
|
|
149
155
|
Tools,
|
|
150
156
|
DataRenderers,
|
|
151
157
|
Interactables,
|
|
152
|
-
|
|
153
|
-
type
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
type
|
|
157
|
-
type AssistantInteractable,
|
|
158
|
+
useAssistantInteractable,
|
|
159
|
+
type AssistantInteractableProps,
|
|
160
|
+
useInteractableState,
|
|
161
|
+
useToolArgsStatus,
|
|
162
|
+
type ToolArgsStatus,
|
|
158
163
|
} from "@assistant-ui/core/react";
|
|
159
164
|
export type {
|
|
160
165
|
ModelContext,
|
|
@@ -200,3 +205,9 @@ export type {
|
|
|
200
205
|
ToolCallMessagePartComponent,
|
|
201
206
|
ToolCallMessagePartProps,
|
|
202
207
|
} from "@assistant-ui/core/react";
|
|
208
|
+
|
|
209
|
+
export {
|
|
210
|
+
useVoiceState,
|
|
211
|
+
useVoiceVolume,
|
|
212
|
+
useVoiceControls,
|
|
213
|
+
} from "@assistant-ui/core/react";
|