@dxos/plugin-assistant 0.8.4-main.937b3ca → 0.8.4-main.9735255
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/lib/browser/{ChatCompanion-GFSJZTOT.mjs → ChatCompanion-ECQYUQ2B.mjs} +2 -2
- package/dist/lib/browser/{ChatContainer-IHAPBIZE.mjs → ChatContainer-QCCOFBUX.mjs} +3 -2
- package/dist/lib/browser/{ChatContainer-IHAPBIZE.mjs.map → ChatContainer-QCCOFBUX.mjs.map} +3 -3
- package/dist/lib/browser/{ChatDialog-EGRMPCTL.mjs → ChatDialog-SMK4RSZU.mjs} +2 -2
- package/dist/lib/browser/{chunk-A75V4MOQ.mjs → chunk-3JYPE2MM.mjs} +4 -4
- package/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-S7SBFOSW.mjs → react-surface-NCITRSJJ.mjs} +2 -2
- package/dist/lib/node-esm/{ChatCompanion-UR7DXZ54.mjs → ChatCompanion-Q4FUZ2MW.mjs} +2 -2
- package/dist/lib/node-esm/{ChatContainer-YMLLGOZK.mjs → ChatContainer-AKI33HIB.mjs} +3 -2
- package/dist/lib/node-esm/{ChatContainer-YMLLGOZK.mjs.map → ChatContainer-AKI33HIB.mjs.map} +3 -3
- package/dist/lib/node-esm/{ChatDialog-D24WJPK4.mjs → ChatDialog-AP45PVZR.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-4BERCIES.mjs → chunk-XI5T3MJC.mjs} +4 -4
- package/dist/lib/node-esm/index.mjs +2 -2
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-ZR6FXGLF.mjs → react-surface-ST6V7LPE.mjs} +2 -2
- package/dist/types/src/blueprints/assistant-blueprint.d.ts +89 -89
- package/dist/types/src/blueprints/assistant-blueprint.d.ts.map +1 -1
- package/dist/types/src/types/AssistantAction.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +78 -78
- package/src/components/ChatContainer.tsx +1 -1
- package/src/components/ChatThread/sync.test.ts +2 -1
- package/dist/types/src/components/ChatThread/reducers.d.ts +0 -40
- package/dist/types/src/components/ChatThread/reducers.d.ts.map +0 -1
- package/src/components/ChatThread/reducers.ts +0 -151
- /package/dist/lib/browser/{ChatCompanion-GFSJZTOT.mjs.map → ChatCompanion-ECQYUQ2B.mjs.map} +0 -0
- /package/dist/lib/browser/{ChatDialog-EGRMPCTL.mjs.map → ChatDialog-SMK4RSZU.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-A75V4MOQ.mjs.map → chunk-3JYPE2MM.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-S7SBFOSW.mjs.map → react-surface-NCITRSJJ.mjs.map} +0 -0
- /package/dist/lib/node-esm/{ChatCompanion-UR7DXZ54.mjs.map → ChatCompanion-Q4FUZ2MW.mjs.map} +0 -0
- /package/dist/lib/node-esm/{ChatDialog-D24WJPK4.mjs.map → ChatDialog-AP45PVZR.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-4BERCIES.mjs.map → chunk-XI5T3MJC.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-ZR6FXGLF.mjs.map → react-surface-ST6V7LPE.mjs.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ChatContainer,
|
|
7
7
|
ChatDialog,
|
|
8
8
|
PromptArticle
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XI5T3MJC.mjs";
|
|
10
10
|
import "./chunk-ZRIPP7YF.mjs";
|
|
11
11
|
import "./chunk-75PHXBN3.mjs";
|
|
12
12
|
import {
|
|
@@ -107,4 +107,4 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
|
|
|
107
107
|
export {
|
|
108
108
|
react_surface_default as default
|
|
109
109
|
};
|
|
110
|
-
//# sourceMappingURL=react-surface-
|
|
110
|
+
//# sourceMappingURL=react-surface-ST6V7LPE.mjs.map
|
|
@@ -23,9 +23,9 @@ export declare const functions: (FunctionDefinition<{
|
|
|
23
23
|
readonly parentMessage?: string | undefined;
|
|
24
24
|
readonly created: string;
|
|
25
25
|
readonly sender: {
|
|
26
|
-
name?: string | undefined;
|
|
27
|
-
role?: "user" | "assistant" | "tool" | undefined;
|
|
28
|
-
contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
28
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
29
29
|
readonly image?: string | undefined;
|
|
30
30
|
readonly fullName?: string | undefined;
|
|
31
31
|
readonly preferredName?: string | undefined;
|
|
@@ -42,24 +42,24 @@ export declare const functions: (FunctionDefinition<{
|
|
|
42
42
|
readonly jobTitle?: string | undefined;
|
|
43
43
|
readonly department?: string | undefined;
|
|
44
44
|
readonly notes?: string | undefined;
|
|
45
|
-
readonly emails?: {
|
|
45
|
+
readonly emails?: readonly {
|
|
46
46
|
readonly value: string;
|
|
47
47
|
readonly label?: string | undefined;
|
|
48
48
|
}[] | undefined;
|
|
49
|
-
readonly identities?: {
|
|
49
|
+
readonly identities?: readonly {
|
|
50
50
|
readonly value: string;
|
|
51
51
|
readonly label?: string | undefined;
|
|
52
52
|
}[] | undefined;
|
|
53
|
-
readonly phoneNumbers?: {
|
|
53
|
+
readonly phoneNumbers?: readonly {
|
|
54
54
|
readonly value: string;
|
|
55
55
|
readonly label?: string | undefined;
|
|
56
56
|
}[] | undefined;
|
|
57
|
-
readonly fields?: {
|
|
57
|
+
readonly fields?: readonly {
|
|
58
58
|
readonly value: string;
|
|
59
59
|
readonly label: string;
|
|
60
60
|
readonly category?: string | undefined;
|
|
61
61
|
}[] | undefined;
|
|
62
|
-
readonly addresses?: {
|
|
62
|
+
readonly addresses?: readonly {
|
|
63
63
|
readonly value: {
|
|
64
64
|
readonly street?: string | undefined;
|
|
65
65
|
readonly extended?: string | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const functions: (FunctionDefinition<{
|
|
|
71
71
|
};
|
|
72
72
|
readonly label?: string | undefined;
|
|
73
73
|
}[] | undefined;
|
|
74
|
-
readonly urls?: {
|
|
74
|
+
readonly urls?: readonly {
|
|
75
75
|
readonly value: string;
|
|
76
76
|
readonly label?: string | undefined;
|
|
77
77
|
}[] | undefined;
|
|
@@ -79,110 +79,110 @@ export declare const functions: (FunctionDefinition<{
|
|
|
79
79
|
} & {
|
|
80
80
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
81
81
|
}> | undefined;
|
|
82
|
-
identityDid?: string | undefined;
|
|
83
|
-
identityKey?: string | undefined;
|
|
84
|
-
email?: string | undefined;
|
|
82
|
+
readonly identityDid?: string | undefined;
|
|
83
|
+
readonly identityKey?: string | undefined;
|
|
84
|
+
readonly email?: string | undefined;
|
|
85
85
|
};
|
|
86
|
-
readonly blocks: ({
|
|
87
|
-
pending?: boolean | undefined;
|
|
88
|
-
text: string;
|
|
89
|
-
mimeType?: string | undefined;
|
|
90
|
-
disposition?: string | undefined;
|
|
91
|
-
_tag: "text";
|
|
86
|
+
readonly blocks: readonly ({
|
|
87
|
+
readonly pending?: boolean | undefined;
|
|
88
|
+
readonly text: string;
|
|
89
|
+
readonly mimeType?: string | undefined;
|
|
90
|
+
readonly disposition?: string | undefined;
|
|
91
|
+
readonly _tag: "text";
|
|
92
92
|
} | {
|
|
93
|
-
pending?: boolean | undefined;
|
|
94
|
-
_tag: "reasoning";
|
|
95
|
-
reasoningText?: string | undefined;
|
|
96
|
-
redactedText?: string | undefined;
|
|
97
|
-
signature?: string | undefined;
|
|
93
|
+
readonly pending?: boolean | undefined;
|
|
94
|
+
readonly _tag: "reasoning";
|
|
95
|
+
readonly reasoningText?: string | undefined;
|
|
96
|
+
readonly redactedText?: string | undefined;
|
|
97
|
+
readonly signature?: string | undefined;
|
|
98
98
|
} | {
|
|
99
|
-
name: string;
|
|
100
|
-
pending?: boolean | undefined;
|
|
101
|
-
_tag: "toolCall";
|
|
102
|
-
toolCallId: string;
|
|
103
|
-
input: string;
|
|
104
|
-
providerExecuted: boolean;
|
|
99
|
+
readonly name: string;
|
|
100
|
+
readonly pending?: boolean | undefined;
|
|
101
|
+
readonly _tag: "toolCall";
|
|
102
|
+
readonly toolCallId: string;
|
|
103
|
+
readonly input: string;
|
|
104
|
+
readonly providerExecuted: boolean;
|
|
105
105
|
} | {
|
|
106
|
-
name: string;
|
|
107
|
-
pending?: boolean | undefined;
|
|
108
|
-
_tag: "toolResult";
|
|
109
|
-
toolCallId: string;
|
|
110
|
-
providerExecuted: boolean;
|
|
111
|
-
result?: string | undefined;
|
|
112
|
-
error?: string | undefined;
|
|
106
|
+
readonly name: string;
|
|
107
|
+
readonly pending?: boolean | undefined;
|
|
108
|
+
readonly _tag: "toolResult";
|
|
109
|
+
readonly toolCallId: string;
|
|
110
|
+
readonly providerExecuted: boolean;
|
|
111
|
+
readonly result?: string | undefined;
|
|
112
|
+
readonly error?: string | undefined;
|
|
113
113
|
} | {
|
|
114
|
-
pending?: boolean | undefined;
|
|
115
|
-
mimeType?: string | undefined;
|
|
116
|
-
_tag: "summary";
|
|
117
|
-
message?: string | undefined;
|
|
118
|
-
model?: string | undefined;
|
|
119
|
-
usage?: {
|
|
114
|
+
readonly pending?: boolean | undefined;
|
|
115
|
+
readonly mimeType?: string | undefined;
|
|
116
|
+
readonly _tag: "summary";
|
|
117
|
+
readonly message?: string | undefined;
|
|
118
|
+
readonly model?: string | undefined;
|
|
119
|
+
readonly usage?: {
|
|
120
120
|
readonly inputTokens?: number | undefined;
|
|
121
121
|
readonly outputTokens?: number | undefined;
|
|
122
122
|
readonly totalTokens?: number | undefined;
|
|
123
123
|
} | undefined;
|
|
124
|
-
toolCalls?: number | undefined;
|
|
125
|
-
errors?: number | undefined;
|
|
126
|
-
duration?: number | undefined;
|
|
124
|
+
readonly toolCalls?: number | undefined;
|
|
125
|
+
readonly errors?: number | undefined;
|
|
126
|
+
readonly duration?: number | undefined;
|
|
127
127
|
} | {
|
|
128
|
-
source?: {
|
|
129
|
-
type: "base64";
|
|
130
|
-
mediaType: string;
|
|
131
|
-
data: string;
|
|
128
|
+
readonly source?: {
|
|
129
|
+
readonly type: "base64";
|
|
130
|
+
readonly mediaType: string;
|
|
131
|
+
readonly data: string;
|
|
132
132
|
} | {
|
|
133
|
-
type: "http";
|
|
134
|
-
url: string;
|
|
133
|
+
readonly type: "http";
|
|
134
|
+
readonly url: string;
|
|
135
135
|
} | undefined;
|
|
136
|
-
id?: string | undefined;
|
|
137
|
-
pending?: boolean | undefined;
|
|
138
|
-
_tag: "image";
|
|
136
|
+
readonly id?: string | undefined;
|
|
137
|
+
readonly pending?: boolean | undefined;
|
|
138
|
+
readonly _tag: "image";
|
|
139
139
|
} | {
|
|
140
|
-
name?: string | undefined;
|
|
141
|
-
pending?: boolean | undefined;
|
|
142
|
-
_tag: "file";
|
|
143
|
-
mediaType?: string | undefined;
|
|
144
|
-
url: string;
|
|
140
|
+
readonly name?: string | undefined;
|
|
141
|
+
readonly pending?: boolean | undefined;
|
|
142
|
+
readonly _tag: "file";
|
|
143
|
+
readonly mediaType?: string | undefined;
|
|
144
|
+
readonly url: string;
|
|
145
145
|
} | {
|
|
146
|
-
pending?: boolean | undefined;
|
|
147
|
-
_tag: "reference";
|
|
148
|
-
reference: import("@dxos/echo/internal").Ref<any>;
|
|
146
|
+
readonly pending?: boolean | undefined;
|
|
147
|
+
readonly _tag: "reference";
|
|
148
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
149
149
|
} | {
|
|
150
|
-
pending?: boolean | undefined;
|
|
151
|
-
text: string;
|
|
152
|
-
_tag: "transcript";
|
|
153
|
-
started: string;
|
|
150
|
+
readonly pending?: boolean | undefined;
|
|
151
|
+
readonly text: string;
|
|
152
|
+
readonly _tag: "transcript";
|
|
153
|
+
readonly started: string;
|
|
154
154
|
} | {
|
|
155
|
-
pending?: boolean | undefined;
|
|
156
|
-
_tag: "status";
|
|
157
|
-
statusText: string;
|
|
155
|
+
readonly pending?: boolean | undefined;
|
|
156
|
+
readonly _tag: "status";
|
|
157
|
+
readonly statusText: string;
|
|
158
158
|
} | {
|
|
159
|
-
pending?: boolean | undefined;
|
|
160
|
-
text: string;
|
|
161
|
-
_tag: "suggestion";
|
|
159
|
+
readonly pending?: boolean | undefined;
|
|
160
|
+
readonly text: string;
|
|
161
|
+
readonly _tag: "suggestion";
|
|
162
162
|
} | {
|
|
163
|
-
pending?: boolean | undefined;
|
|
164
|
-
_tag: "select";
|
|
165
|
-
options: string[];
|
|
163
|
+
readonly pending?: boolean | undefined;
|
|
164
|
+
readonly _tag: "select";
|
|
165
|
+
readonly options: string[];
|
|
166
166
|
} | {
|
|
167
|
-
version: unknown;
|
|
168
|
-
pending?: boolean | undefined;
|
|
169
|
-
_tag: "anchor";
|
|
170
|
-
objectId: string;
|
|
167
|
+
readonly version: unknown;
|
|
168
|
+
readonly pending?: boolean | undefined;
|
|
169
|
+
readonly _tag: "anchor";
|
|
170
|
+
readonly objectId: string;
|
|
171
171
|
} | {
|
|
172
|
-
pending?: boolean | undefined;
|
|
173
|
-
text: string;
|
|
174
|
-
_tag: "proposal";
|
|
172
|
+
readonly pending?: boolean | undefined;
|
|
173
|
+
readonly text: string;
|
|
174
|
+
readonly _tag: "proposal";
|
|
175
175
|
} | {
|
|
176
|
-
pending?: boolean | undefined;
|
|
177
|
-
_tag: "toolkit";
|
|
176
|
+
readonly pending?: boolean | undefined;
|
|
177
|
+
readonly _tag: "toolkit";
|
|
178
178
|
} | {
|
|
179
|
-
pending?: boolean | undefined;
|
|
180
|
-
disposition?: string | undefined;
|
|
181
|
-
_tag: "json";
|
|
182
|
-
data: string;
|
|
179
|
+
readonly pending?: boolean | undefined;
|
|
180
|
+
readonly disposition?: string | undefined;
|
|
181
|
+
readonly _tag: "json";
|
|
182
|
+
readonly data: string;
|
|
183
183
|
})[];
|
|
184
184
|
readonly properties?: {
|
|
185
|
-
[x: string]: any;
|
|
185
|
+
readonly [x: string]: any;
|
|
186
186
|
} | undefined;
|
|
187
187
|
};
|
|
188
188
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assistant-blueprint.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/assistant-blueprint.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAQ1D,eAAO,MAAM,SAAS,UAAgB,CAAC;AAEvC,eAAO,MAAM,UAAU,EAAE,kBAAkB,EAAyB,CAAC;AACrE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;8BAZiB,CAAC;;;
|
|
1
|
+
{"version":3,"file":"assistant-blueprint.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/assistant-blueprint.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAQ1D,eAAO,MAAM,SAAS,UAAgB,CAAC;AAEvC,eAAO,MAAM,UAAU,EAAE,kBAAkB,EAAyB,CAAC;AACrE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;8BAZiB,CAAC;;;yBAKrC,CAAA;yBAAoD,CAAA;4BACA,CAAC;8BAK7B,CAAC;iCACX,CAAC;sCAIhB,CAAC;iCAEsB,CAAC;qCAIA,CAAC;wCAKpB,CAAC;iCAGG,CAAC;mCACC,CAAC;kCAOP,CAAC;oCAGE,CAAC;;qCAG+C,CAAC;;iCAAyI,CAAC;mCAA6D,CAAC;8BAAwD,CAAC;+BAAyD,CAAC;;kCAAmG,CAAC;;mCAAkG,CAAC;;kCA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espace AssistantOperation {
|
|
|
13
13
|
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
14
14
|
rootCollection: Type.Obj<{
|
|
15
15
|
readonly name?: string | undefined;
|
|
16
|
-
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
16
|
+
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
17
17
|
}, Schema.Struct.Fields>;
|
|
18
18
|
}>;
|
|
19
19
|
readonly output: typeof Schema.Void;
|