@blade-hq/agent-kit 0.5.32 → 0.5.34
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/{SkillStatusBar-CvgcEiSi.d.ts → SkillStatusBar-Dp93pqlP.d.ts} +14 -3
- package/dist/{blade-client-DoodJJDz.d.ts → blade-client-DS7lV19a.d.ts} +4 -1
- package/dist/{chunk-FXEELOLI.js → chunk-7TS36PDU.js} +132 -73
- package/dist/chunk-7TS36PDU.js.map +1 -0
- package/dist/{chunk-ZWO6YBLA.js → chunk-DQXXSHCR.js} +5 -3
- package/dist/chunk-DQXXSHCR.js.map +1 -0
- package/dist/{chunk-QMOW3TDA.js → chunk-II2PTBJI.js} +14 -4
- package/dist/chunk-II2PTBJI.js.map +1 -0
- package/dist/{chunk-CFW62YND.js → chunk-IRHXGYY3.js} +3 -3
- package/dist/{chunk-YPFIWC45.js → chunk-KSYNFNF4.js} +2 -2
- package/dist/{chunk-EAZ7AGFY.js → chunk-LVWRKH45.js} +2 -2
- package/dist/client/index.d.ts +28 -1
- package/dist/client/index.js +1 -1
- package/dist/react/api/vibe-coding.d.ts +2 -2
- package/dist/react/api/vibe-coding.js +2 -2
- package/dist/react/components/chat/index.d.ts +3 -3
- package/dist/react/components/chat/index.js +5 -5
- package/dist/react/components/plan/index.js +4 -4
- package/dist/react/components/session/index.js +3 -3
- package/dist/react/components/workspace/index.d.ts +2 -2
- package/dist/react/components/workspace/index.js +3 -3
- package/dist/react/index.d.ts +9 -5
- package/dist/react/index.js +6 -6
- package/dist/{sessions-DFGsAOPa.d.ts → sessions-DaddUdO6.d.ts} +4 -1
- package/package.json +1 -1
- package/dist/chunk-FXEELOLI.js.map +0 -1
- package/dist/chunk-QMOW3TDA.js.map +0 -1
- package/dist/chunk-ZWO6YBLA.js.map +0 -1
- /package/dist/{chunk-CFW62YND.js.map → chunk-IRHXGYY3.js.map} +0 -0
- /package/dist/{chunk-YPFIWC45.js.map → chunk-KSYNFNF4.js.map} +0 -0
- /package/dist/{chunk-EAZ7AGFY.js.map → chunk-LVWRKH45.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import { ComponentType, ReactNode } from 'react';
|
|
|
4
4
|
import { C as ChatMessage, A as AskUserAnswerData, T as ToolCallInfo, M as MessageContent } from './AskUserQuestionBlock---kOTouk.js';
|
|
5
5
|
import * as zustand from 'zustand';
|
|
6
6
|
import { M as ModeId, a as SessionInfo, b as SessionStatus } from './session-B5v5KkVd.js';
|
|
7
|
-
import { v as BladeClient } from './blade-client-
|
|
7
|
+
import { v as BladeClient } from './blade-client-DS7lV19a.js';
|
|
8
8
|
import { C as ContentBlock } from './projection-BWYEFYNn.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -173,8 +173,10 @@ interface ChatViewProps extends ChatViewCustomization {
|
|
|
173
173
|
onResyncSkills?: () => void;
|
|
174
174
|
isResyncingSkills?: boolean;
|
|
175
175
|
inputLabel?: string;
|
|
176
|
+
onDoubleEscape?: (anchorRect: DOMRect | null) => void;
|
|
177
|
+
composerHint?: ReactNode;
|
|
176
178
|
}
|
|
177
|
-
declare function ChatView({ sessionId, renderAttachments, onBeforeSend, onCommand, canShareSession, onResyncSkills, isResyncingSkills, inputLabel, classNames, components, renderers, }: ChatViewProps): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function ChatView({ sessionId, renderAttachments, onBeforeSend, onCommand, canShareSession, onResyncSkills, isResyncingSkills, inputLabel, onDoubleEscape, composerHint, classNames, components, renderers, }: ChatViewProps): react_jsx_runtime.JSX.Element;
|
|
178
180
|
|
|
179
181
|
type SessionMode = ModeId;
|
|
180
182
|
interface SessionState extends ClientAwareState {
|
|
@@ -272,6 +274,15 @@ interface Props$2 {
|
|
|
272
274
|
onResyncSkills?: () => void;
|
|
273
275
|
isResyncingSkills?: boolean;
|
|
274
276
|
inputLabel?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Opt-in: invoked when the user presses Escape twice quickly on the composer.
|
|
279
|
+
* Undefined for all consumers except the skill editor's rewind gesture, so
|
|
280
|
+
* the shared composer behaves identically to today when not provided. The
|
|
281
|
+
* composer's bounding rect is passed so the caller can anchor a popover.
|
|
282
|
+
*/
|
|
283
|
+
onDoubleEscape?: (anchorRect: DOMRect | null) => void;
|
|
284
|
+
/** Opt-in faint hint shown over the empty composer (e.g. the Esc-Esc tip). */
|
|
285
|
+
composerHint?: ReactNode;
|
|
275
286
|
}
|
|
276
287
|
type FileComposerAttachment = {
|
|
277
288
|
id: string;
|
|
@@ -285,7 +296,7 @@ type FileComposerAttachment = {
|
|
|
285
296
|
textContent?: string | null;
|
|
286
297
|
uploadProgress?: number | null;
|
|
287
298
|
};
|
|
288
|
-
declare function ChatInput({ onSend, onAppend, onStop, isStreaming, isStopping, mode, onToggleMode, renderAttachments, onBeforeSend, ensureSession, onCommand, canShareSession, slotAboveTextarea, externalDraft, externalAttachments, maxWidthClassName, className, innerClassName, SkillStatusBarComponent, skillStatusBarClassName, skillStatusBarInnerClassName, onResyncSkills, isResyncingSkills, inputLabel, }: Props$2): react_jsx_runtime.JSX.Element;
|
|
299
|
+
declare function ChatInput({ onSend, onAppend, onStop, isStreaming, isStopping, mode, onToggleMode, renderAttachments, onBeforeSend, ensureSession, onCommand, canShareSession, slotAboveTextarea, externalDraft, externalAttachments, maxWidthClassName, className, innerClassName, SkillStatusBarComponent, skillStatusBarClassName, skillStatusBarInnerClassName, onResyncSkills, isResyncingSkills, inputLabel, onDoubleEscape, composerHint, }: Props$2): react_jsx_runtime.JSX.Element;
|
|
289
300
|
|
|
290
301
|
interface Props$1 {
|
|
291
302
|
open: boolean;
|
|
@@ -733,10 +733,13 @@ declare class SessionsResource {
|
|
|
733
733
|
nodes: CheckpointNode[];
|
|
734
734
|
leaf_id: string | null;
|
|
735
735
|
}>;
|
|
736
|
-
checkoutSession(sessionId: string, checkpointId: string, position: "before" | "turn_end"): Promise<{
|
|
736
|
+
checkoutSession(sessionId: string, checkpointId: string, position: "before" | "turn_end", mode?: "both" | "conversation" | "code", linear?: boolean): Promise<{
|
|
737
737
|
id: string;
|
|
738
738
|
content: string;
|
|
739
739
|
position: string;
|
|
740
|
+
mode?: string;
|
|
741
|
+
files_restored?: boolean;
|
|
742
|
+
linear?: boolean;
|
|
740
743
|
}>;
|
|
741
744
|
rewindSession(sessionId: string, checkpointId: string): Promise<{
|
|
742
745
|
id: string;
|