@demicodes/core 0.2.0 → 0.3.0
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.mts +8 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -186,7 +186,13 @@ type Block = {
|
|
|
186
186
|
status: ToolCallStatus;
|
|
187
187
|
streamingOutput: ToolResultContentBlock[];
|
|
188
188
|
output: ToolResultContentBlock[];
|
|
189
|
-
|
|
189
|
+
/**
|
|
190
|
+
* Bounded UI-facing enhancement data, typed by the tool's owning layer.
|
|
191
|
+
* Never replayed to the model. Must not embed unbounded payloads (full
|
|
192
|
+
* command output, file bodies, raw or base64 bytes) — anything unbounded
|
|
193
|
+
* lives in a command artifact or blob and is referenced by id.
|
|
194
|
+
*/
|
|
195
|
+
view: unknown | null;
|
|
190
196
|
} | {
|
|
191
197
|
type: 'response';
|
|
192
198
|
id: string;
|
|
@@ -236,10 +242,5 @@ interface QueuedMessage {
|
|
|
236
242
|
interface Transcript {
|
|
237
243
|
blocks: Block[];
|
|
238
244
|
}
|
|
239
|
-
interface AgentSessionCoreState {
|
|
240
|
-
transcript: Transcript;
|
|
241
|
-
phase: SessionPhase;
|
|
242
|
-
queue: QueuedMessage[];
|
|
243
|
-
}
|
|
244
245
|
//#endregion
|
|
245
|
-
export {
|
|
246
|
+
export { Base64ImageSource, Base64VideoSource, Block, BlockMeta, DocumentSource, FileExtension, ImageFileExtension, ImageSource, Model, ModelMediaKind, ModelMediaType, ModelSelection, QueuedMessage, SessionPhase, ThinkingCapability, ThinkingConfig, ThinkingEffort, ThinkingSummary, TokenUsage, ToolCallStatus, ToolResultContentBlock, Transcript, UserContentBlock, VIDEO_FILE_EXTENSIONS, VideoFileExtension, VideoSource, modelAcceptsMediaType, modelAcceptsVideo, modelMediaTypeFor, sniffModelMediaType, zeroUsage };
|