@kenkaiiii/ggcoder 4.14.0 → 4.14.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/app-sidecar.js +63 -7
- package/dist/app-sidecar.js.map +1 -1
- package/dist/core/agent-session.d.ts +9 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +33 -0
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/cache-warm-benchmark.d.ts +22 -0
- package/dist/core/cache-warm-benchmark.d.ts.map +1 -0
- package/dist/core/cache-warm-benchmark.js +170 -0
- package/dist/core/cache-warm-benchmark.js.map +1 -0
- package/dist/core/fast-apply-benchmark.d.ts +26 -0
- package/dist/core/fast-apply-benchmark.d.ts.map +1 -0
- package/dist/core/fast-apply-benchmark.js +284 -0
- package/dist/core/fast-apply-benchmark.js.map +1 -0
- package/dist/core/language-detector.d.ts +11 -0
- package/dist/core/language-detector.d.ts.map +1 -1
- package/dist/core/language-detector.js +102 -0
- package/dist/core/language-detector.js.map +1 -1
- package/dist/system-prompt.d.ts.map +1 -1
- package/dist/system-prompt.js +2 -1
- package/dist/system-prompt.js.map +1 -1
- package/dist/system-prompt.test.js +6 -4
- package/dist/system-prompt.test.js.map +1 -1
- package/dist/ui/App.d.ts +1 -2
- package/dist/ui/App.d.ts.map +1 -1
- package/dist/ui/components/ActivityIndicator.d.ts +1 -1
- package/dist/ui/components/ActivityIndicator.d.ts.map +1 -1
- package/dist/ui/components/AnimationContext.d.ts +1 -1
- package/dist/ui/components/AnimationContext.d.ts.map +1 -1
- package/dist/ui/components/AssistantMessage.d.ts +1 -1
- package/dist/ui/components/AssistantMessage.d.ts.map +1 -1
- package/dist/ui/components/BackgroundTasksBar.d.ts +1 -2
- package/dist/ui/components/BackgroundTasksBar.d.ts.map +1 -1
- package/dist/ui/components/Banner.d.ts +1 -2
- package/dist/ui/components/Banner.d.ts.map +1 -1
- package/dist/ui/components/ChatFooterPane.d.ts +1 -2
- package/dist/ui/components/ChatFooterPane.d.ts.map +1 -1
- package/dist/ui/components/ChatInputStack.d.ts +1 -1
- package/dist/ui/components/ChatInputStack.d.ts.map +1 -1
- package/dist/ui/components/ChatLayout.d.ts +4 -4
- package/dist/ui/components/ChatLayout.d.ts.map +1 -1
- package/dist/ui/components/ChatLivePane.d.ts +1 -1
- package/dist/ui/components/ChatLivePane.d.ts.map +1 -1
- package/dist/ui/components/ChatScreen.d.ts +1 -1
- package/dist/ui/components/ChatScreen.d.ts.map +1 -1
- package/dist/ui/components/ChatStatusRow.d.ts +1 -1
- package/dist/ui/components/ChatStatusRow.d.ts.map +1 -1
- package/dist/ui/components/CompactionNotice.d.ts +2 -3
- package/dist/ui/components/CompactionNotice.d.ts.map +1 -1
- package/dist/ui/components/DiffFrame.d.ts +1 -1
- package/dist/ui/components/DiffFrame.d.ts.map +1 -1
- package/dist/ui/components/DiffView.d.ts +1 -2
- package/dist/ui/components/DiffView.d.ts.map +1 -1
- package/dist/ui/components/Footer.d.ts +1 -2
- package/dist/ui/components/Footer.d.ts.map +1 -1
- package/dist/ui/components/FooterStatusRow.d.ts +1 -2
- package/dist/ui/components/FooterStatusRow.d.ts.map +1 -1
- package/dist/ui/components/FullScreenOverlayRouter.d.ts +1 -2
- package/dist/ui/components/FullScreenOverlayRouter.d.ts.map +1 -1
- package/dist/ui/components/IdealHookMessage.d.ts +1 -1
- package/dist/ui/components/IdealHookMessage.d.ts.map +1 -1
- package/dist/ui/components/InputArea.d.ts +1 -1
- package/dist/ui/components/InputArea.d.ts.map +1 -1
- package/dist/ui/components/LiveToolPanel.d.ts +1 -2
- package/dist/ui/components/LiveToolPanel.d.ts.map +1 -1
- package/dist/ui/components/Markdown.d.ts +2 -2
- package/dist/ui/components/Markdown.d.ts.map +1 -1
- package/dist/ui/components/ModelSelector.d.ts +1 -2
- package/dist/ui/components/ModelSelector.d.ts.map +1 -1
- package/dist/ui/components/Overlay.d.ts +1 -1
- package/dist/ui/components/Overlay.d.ts.map +1 -1
- package/dist/ui/components/PixelOverlay.d.ts +1 -2
- package/dist/ui/components/PixelOverlay.d.ts.map +1 -1
- package/dist/ui/components/PlanApproval.d.ts +1 -2
- package/dist/ui/components/PlanApproval.d.ts.map +1 -1
- package/dist/ui/components/PlanBanner.d.ts +1 -2
- package/dist/ui/components/PlanBanner.d.ts.map +1 -1
- package/dist/ui/components/PlanModeLogo.d.ts +1 -2
- package/dist/ui/components/PlanModeLogo.d.ts.map +1 -1
- package/dist/ui/components/PlanOverlay.d.ts +2 -3
- package/dist/ui/components/PlanOverlay.d.ts.map +1 -1
- package/dist/ui/components/PlanProgress.d.ts +1 -2
- package/dist/ui/components/PlanProgress.d.ts.map +1 -1
- package/dist/ui/components/QueueIndicator.d.ts +1 -2
- package/dist/ui/components/QueueIndicator.d.ts.map +1 -1
- package/dist/ui/components/RewindOverlay.d.ts +1 -2
- package/dist/ui/components/RewindOverlay.d.ts.map +1 -1
- package/dist/ui/components/SelectList.d.ts +1 -2
- package/dist/ui/components/SelectList.d.ts.map +1 -1
- package/dist/ui/components/ServerToolExecution.d.ts +1 -2
- package/dist/ui/components/ServerToolExecution.d.ts.map +1 -1
- package/dist/ui/components/SessionSelector.d.ts +1 -2
- package/dist/ui/components/SessionSelector.d.ts.map +1 -1
- package/dist/ui/components/SessionSummary.d.ts +1 -2
- package/dist/ui/components/SessionSummary.d.ts.map +1 -1
- package/dist/ui/components/SettingsSelector.d.ts +1 -2
- package/dist/ui/components/SettingsSelector.d.ts.map +1 -1
- package/dist/ui/components/SkillsOverlay.d.ts +1 -2
- package/dist/ui/components/SkillsOverlay.d.ts.map +1 -1
- package/dist/ui/components/SlashCommandMenu.d.ts +1 -2
- package/dist/ui/components/SlashCommandMenu.d.ts.map +1 -1
- package/dist/ui/components/SlashStyledSelectList.d.ts +1 -2
- package/dist/ui/components/SlashStyledSelectList.d.ts.map +1 -1
- package/dist/ui/components/Spinner.d.ts +1 -2
- package/dist/ui/components/Spinner.d.ts.map +1 -1
- package/dist/ui/components/StreamingArea.d.ts +1 -1
- package/dist/ui/components/StreamingArea.d.ts.map +1 -1
- package/dist/ui/components/SubAgentPanel.d.ts +1 -2
- package/dist/ui/components/SubAgentPanel.d.ts.map +1 -1
- package/dist/ui/components/TaskPickerMenu.d.ts +1 -2
- package/dist/ui/components/TaskPickerMenu.d.ts.map +1 -1
- package/dist/ui/components/ThemeSelector.d.ts +1 -2
- package/dist/ui/components/ThemeSelector.d.ts.map +1 -1
- package/dist/ui/components/ThinkingBlock.d.ts +1 -1
- package/dist/ui/components/ThinkingBlock.d.ts.map +1 -1
- package/dist/ui/components/ToolExecution.d.ts +1 -2
- package/dist/ui/components/ToolExecution.d.ts.map +1 -1
- package/dist/ui/components/ToolGroupExecution.d.ts +1 -2
- package/dist/ui/components/ToolGroupExecution.d.ts.map +1 -1
- package/dist/ui/components/TranscriptViewport.d.ts +1 -1
- package/dist/ui/components/TranscriptViewport.d.ts.map +1 -1
- package/dist/ui/components/UserMessage.d.ts +1 -2
- package/dist/ui/components/UserMessage.d.ts.map +1 -1
- package/dist/ui/transcript/MiscRows.d.ts +7 -8
- package/dist/ui/transcript/MiscRows.d.ts.map +1 -1
- package/dist/ui/transcript/StatusRow.d.ts +1 -1
- package/dist/ui/transcript/StatusRow.d.ts.map +1 -1
- package/dist/ui/transcript/ToolRows.d.ts +6 -7
- package/dist/ui/transcript/ToolRows.d.ts.map +1 -1
- package/dist/ui/transcript/TranscriptItemFrame.d.ts +1 -1
- package/dist/ui/transcript/TranscriptItemFrame.d.ts.map +1 -1
- package/dist/utils/image.d.ts +17 -0
- package/dist/utils/image.d.ts.map +1 -1
- package/dist/utils/image.js +57 -2
- package/dist/utils/image.js.map +1 -1
- package/dist/utils/prompt-enhancer.d.ts +50 -0
- package/dist/utils/prompt-enhancer.d.ts.map +1 -0
- package/dist/utils/prompt-enhancer.js +127 -0
- package/dist/utils/prompt-enhancer.js.map +1 -0
- package/package.json +4 -4
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
interface PlanActionBarProps {
|
|
3
2
|
planName?: string;
|
|
4
3
|
confirmDelete: boolean;
|
|
5
4
|
rejectMode: boolean;
|
|
6
5
|
rejectFeedback: string;
|
|
7
6
|
}
|
|
8
|
-
export declare function PlanActionBar({ planName, confirmDelete, rejectMode, rejectFeedback, }: PlanActionBarProps):
|
|
7
|
+
export declare function PlanActionBar({ planName, confirmDelete, rejectMode, rejectFeedback, }: PlanActionBarProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
interface PlanOverlayProps {
|
|
10
9
|
cwd: string;
|
|
11
10
|
onClose: () => void;
|
|
@@ -14,6 +13,6 @@ interface PlanOverlayProps {
|
|
|
14
13
|
onReject?: (planPath: string, feedback: string) => void;
|
|
15
14
|
onDeletePlan?: (planPath: string) => void;
|
|
16
15
|
}
|
|
17
|
-
export declare function PlanOverlay({ cwd, onClose, autoExpandNewest, onApprove, onReject, onDeletePlan, }: PlanOverlayProps):
|
|
16
|
+
export declare function PlanOverlay({ cwd, onClose, autoExpandNewest, onApprove, onReject, onDeletePlan, }: PlanOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export {};
|
|
19
18
|
//# sourceMappingURL=PlanOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/PlanOverlay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlanOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/PlanOverlay.tsx"],"names":[],"mappings":"AAgJA,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,aAAa,EACb,UAAU,EACV,cAAc,GACf,EAAE,kBAAkB,2CA+CpB;AAID,UAAU,gBAAgB;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,OAAO,EACP,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,YAAY,GACb,EAAE,gBAAgB,2CAiWlB"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { PlanStep } from "../../utils/plan-steps.js";
|
|
3
2
|
interface PlanProgressProps {
|
|
4
3
|
steps: PlanStep[];
|
|
5
4
|
}
|
|
6
|
-
export declare function PlanProgress({ steps }: PlanProgressProps):
|
|
5
|
+
export declare function PlanProgress({ steps }: PlanProgressProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
6
|
export {};
|
|
8
7
|
//# sourceMappingURL=PlanProgress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanProgress.d.ts","sourceRoot":"","sources":["../../../src/ui/components/PlanProgress.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlanProgress.d.ts","sourceRoot":"","sources":["../../../src/ui/components/PlanProgress.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAE1D,UAAU,iBAAiB;IACzB,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB;AAED,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,kDAiDxD"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { useTheme } from "../theme/theme.js";
|
|
3
2
|
interface QueueIndicatorProps {
|
|
4
3
|
hiddenQueuedCount: number;
|
|
5
4
|
marginTop: number;
|
|
6
5
|
theme: ReturnType<typeof useTheme>;
|
|
7
6
|
}
|
|
8
|
-
export declare function QueueIndicator({ hiddenQueuedCount, marginTop, theme }: QueueIndicatorProps):
|
|
7
|
+
export declare function QueueIndicator({ hiddenQueuedCount, marginTop, theme }: QueueIndicatorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=QueueIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueueIndicator.d.ts","sourceRoot":"","sources":["../../../src/ui/components/QueueIndicator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QueueIndicator.d.ts","sourceRoot":"","sources":["../../../src/ui/components/QueueIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,UAAU,mBAAmB;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;CACpC;AAED,wBAAgB,cAAc,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,mBAAmB,kDAe1F"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { CheckpointInfo, RestoreMode } from "../../core/checkpoint-store.js";
|
|
3
2
|
interface RewindOverlayProps {
|
|
4
3
|
checkpoints: readonly CheckpointInfo[];
|
|
@@ -14,6 +13,6 @@ interface RewindOverlayProps {
|
|
|
14
13
|
* Caveat shown in the copy: only edits made through ggcoder's write/edit tools
|
|
15
14
|
* are tracked — changes made by bash (sed, rm, codegen) are not captured.
|
|
16
15
|
*/
|
|
17
|
-
export declare function RewindOverlay({ checkpoints, onRestore, onCancel }: RewindOverlayProps):
|
|
16
|
+
export declare function RewindOverlay({ checkpoints, onRestore, onCancel }: RewindOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export {};
|
|
19
18
|
//# sourceMappingURL=RewindOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RewindOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/RewindOverlay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RewindOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/RewindOverlay.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAOlF,UAAU,kBAAkB;IAC1B,WAAW,EAAE,SAAS,cAAc,EAAE,CAAC;IACvC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACnD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAWD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA6CrF"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
interface SelectListItem {
|
|
3
2
|
label: string;
|
|
4
3
|
value: string;
|
|
@@ -12,6 +11,6 @@ interface SelectListProps {
|
|
|
12
11
|
/** If set, render at most this many items at once and scroll the window as the selection moves. */
|
|
13
12
|
windowSize?: number;
|
|
14
13
|
}
|
|
15
|
-
export declare function SelectList({ items, onSelect, onCancel, initialIndex, windowSize, }: SelectListProps):
|
|
14
|
+
export declare function SelectList({ items, onSelect, onCancel, initialIndex, windowSize, }: SelectListProps): import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
export {};
|
|
17
16
|
//# sourceMappingURL=SelectList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectList.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SelectList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SelectList.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SelectList.tsx"],"names":[],"mappings":"AAKA,UAAU,cAAc;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,eAAe;IACvB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mGAAmG;IACnG,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,YAAgB,EAChB,UAAU,GACX,EAAE,eAAe,2CA2FjB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
interface ServerToolRunningProps {
|
|
3
2
|
status: "running";
|
|
4
3
|
name: string;
|
|
@@ -16,6 +15,6 @@ interface ServerToolDoneProps {
|
|
|
16
15
|
marginTop?: number;
|
|
17
16
|
}
|
|
18
17
|
type ServerToolExecutionProps = ServerToolRunningProps | ServerToolDoneProps;
|
|
19
|
-
export declare function ServerToolExecution(props: ServerToolExecutionProps):
|
|
18
|
+
export declare function ServerToolExecution(props: ServerToolExecutionProps): import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
export {};
|
|
21
20
|
//# sourceMappingURL=ServerToolExecution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerToolExecution.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ServerToolExecution.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServerToolExecution.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ServerToolExecution.tsx"],"names":[],"mappings":"AASA,UAAU,sBAAsB;IAC9B,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,mBAAmB;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,wBAAwB,GAAG,sBAAsB,GAAG,mBAAmB,CAAC;AAO7E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,2CAuElE"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { SessionInfo } from "../../core/session-manager.js";
|
|
3
2
|
interface SessionSelectorProps {
|
|
4
3
|
sessions: SessionInfo[];
|
|
5
4
|
onSelect: (sessionPath: string) => void;
|
|
6
5
|
onCancel: () => void;
|
|
7
6
|
}
|
|
8
|
-
export declare function SessionSelector({ sessions, onSelect, onCancel }: SessionSelectorProps):
|
|
7
|
+
export declare function SessionSelector({ sessions, onSelect, onCancel }: SessionSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=SessionSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SessionSelector.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SessionSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SessionSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAIjE,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CAYrF"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { SessionSummary } from "../session-summary.js";
|
|
3
2
|
export declare function SessionSummaryDisplay({ summary }: {
|
|
4
3
|
summary: SessionSummary;
|
|
5
|
-
}):
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
//# sourceMappingURL=SessionSummary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionSummary.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SessionSummary.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SessionSummary.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SessionSummary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAyC5D,wBAAgB,qBAAqB,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,EAAE,cAAc,CAAA;CAAE,2CAsG7E"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { Settings } from "../../core/settings-manager.js";
|
|
3
2
|
interface SettingsSelectorProps {
|
|
4
3
|
settings: Settings;
|
|
5
4
|
onSelect: (key: string) => void;
|
|
6
5
|
onCancel: () => void;
|
|
7
6
|
}
|
|
8
|
-
export declare function SettingsSelector({ settings, onSelect, onCancel }: SettingsSelectorProps):
|
|
7
|
+
export declare function SettingsSelector({ settings, onSelect, onCancel }: SettingsSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=SettingsSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SettingsSelector.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SettingsSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SettingsSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAI/D,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,qBAAqB,2CAYvF"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
interface SkillsOverlayProps {
|
|
3
2
|
cwd: string;
|
|
4
3
|
onClose: () => void;
|
|
5
4
|
}
|
|
6
|
-
export declare function SkillsOverlay({ cwd, onClose }: SkillsOverlayProps):
|
|
5
|
+
export declare function SkillsOverlay({ cwd, onClose }: SkillsOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
8
7
|
//# sourceMappingURL=SkillsOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SkillsOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SkillsOverlay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SkillsOverlay.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SkillsOverlay.tsx"],"names":[],"mappings":"AAoDA,UAAU,kBAAkB;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,kBAAkB,2CA4KjE"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
export interface SlashCommandInfo {
|
|
3
2
|
name: string;
|
|
4
3
|
aliases: string[];
|
|
@@ -10,7 +9,7 @@ interface SlashCommandMenuProps {
|
|
|
10
9
|
selectedIndex: number;
|
|
11
10
|
width: number;
|
|
12
11
|
}
|
|
13
|
-
export declare function SlashCommandMenu({ commands, selectedIndex, width }: SlashCommandMenuProps):
|
|
12
|
+
export declare function SlashCommandMenu({ commands, selectedIndex, width }: SlashCommandMenuProps): import("react/jsx-runtime").JSX.Element | null;
|
|
14
13
|
/** Filter commands by partial name/alias fuzzy-ish prefix priority. */
|
|
15
14
|
export declare function filterCommands(commands: SlashCommandInfo[], filter: string): SlashCommandInfo[];
|
|
16
15
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlashCommandMenu.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SlashCommandMenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlashCommandMenu.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SlashCommandMenu.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAID,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,EAAE,qBAAqB,kDAwDzF;AAED,uEAAuE;AACvE,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAsB/F"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
export interface SlashStyledSelectListItem {
|
|
3
2
|
label: string;
|
|
4
3
|
value: string;
|
|
@@ -17,6 +16,6 @@ interface SlashStyledSelectListProps {
|
|
|
17
16
|
*/
|
|
18
17
|
width?: number;
|
|
19
18
|
}
|
|
20
|
-
export declare function SlashStyledSelectList({ items, onSelect, onCancel, initialIndex, maxItemsToShow, width: widthOverride, }: SlashStyledSelectListProps):
|
|
19
|
+
export declare function SlashStyledSelectList({ items, onSelect, onCancel, initialIndex, maxItemsToShow, width: widthOverride, }: SlashStyledSelectListProps): import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export {};
|
|
22
21
|
//# sourceMappingURL=SlashStyledSelectList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlashStyledSelectList.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SlashStyledSelectList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SlashStyledSelectList.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SlashStyledSelectList.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,0BAA0B;IAClC,KAAK,EAAE,yBAAyB,EAAE,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAID,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,YAAgB,EAChB,cAA0C,EAC1C,KAAK,EAAE,aAAa,GACrB,EAAE,0BAA0B,2CAsG5B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
interface SpinnerProps {
|
|
3
2
|
label?: string;
|
|
4
3
|
/** When true, the spinner transitions to the error/red color. */
|
|
@@ -8,6 +7,6 @@ interface SpinnerProps {
|
|
|
8
7
|
/** Disable decorative frame ticks so terminal scrollback remains usable. */
|
|
9
8
|
staticDisplay?: boolean;
|
|
10
9
|
}
|
|
11
|
-
export declare function Spinner({ label, isStalled, stallDurationMs, staticDisplay }: SpinnerProps):
|
|
10
|
+
export declare function Spinner({ label, isStalled, stallDurationMs, staticDisplay }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export {};
|
|
13
12
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/ui/components/Spinner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/ui/components/Spinner.tsx"],"names":[],"mappings":"AAwCA,UAAU,YAAY;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,eAAmB,EAAE,aAAa,EAAE,EAAE,YAAY,2CA0D7F"}
|
|
@@ -16,6 +16,6 @@ interface StreamingAreaProps {
|
|
|
16
16
|
assistantMarginTop?: number;
|
|
17
17
|
continuation?: boolean;
|
|
18
18
|
}
|
|
19
|
-
export declare const StreamingArea: React.MemoExoticComponent<({ isRunning, streamingText, streamingThinking, showThinking, thinkingMs, reserveSpacing, renderMarkdown, availableTerminalHeight, assistantMarginTop, continuation, }: StreamingAreaProps) =>
|
|
19
|
+
export declare const StreamingArea: React.MemoExoticComponent<({ isRunning, streamingText, streamingThinking, showThinking, thinkingMs, reserveSpacing, renderMarkdown, availableTerminalHeight, assistantMarginTop, continuation, }: StreamingAreaProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=StreamingArea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamingArea.d.ts","sourceRoot":"","sources":["../../../src/ui/components/StreamingArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAK7C,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,OAAO,CAAC;CACtB;AAQD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,oBAAoB,CAOzF;AAED,UAAU,kBAAkB;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,oMAWvB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"StreamingArea.d.ts","sourceRoot":"","sources":["../../../src/ui/components/StreamingArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAK7C,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,OAAO,CAAC;CACtB;AAQD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,oBAAoB,CAOzF;AAED,UAAU,kBAAkB;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,aAAa,oMAWvB,kBAAkB,oDA0BnB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
export interface SubAgentInfo {
|
|
3
2
|
toolCallId: string;
|
|
4
3
|
task: string;
|
|
@@ -18,6 +17,6 @@ interface SubAgentPanelProps {
|
|
|
18
17
|
aborted?: boolean;
|
|
19
18
|
marginTop?: number;
|
|
20
19
|
}
|
|
21
|
-
export declare function SubAgentPanel({ agents, aborted, marginTop }: SubAgentPanelProps):
|
|
20
|
+
export declare function SubAgentPanel({ agents, aborted, marginTop }: SubAgentPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
22
21
|
export {};
|
|
23
22
|
//# sourceMappingURL=SubAgentPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubAgentPanel.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SubAgentPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SubAgentPanel.d.ts","sourceRoot":"","sources":["../../../src/ui/components/SubAgentPanel.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,kBAAkB;IAC1B,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiID,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,OAAe,EAAE,SAAa,EAAE,EAAE,kBAAkB,kDAuC3F"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { TaskRecord } from "../../core/tasks-store.js";
|
|
3
2
|
interface TaskPickerMenuProps {
|
|
4
3
|
tasks: readonly TaskRecord[];
|
|
5
4
|
selectedIndex: number;
|
|
6
5
|
width: number;
|
|
7
6
|
}
|
|
8
|
-
export declare function TaskPickerMenu({ tasks, selectedIndex, width }: TaskPickerMenuProps):
|
|
7
|
+
export declare function TaskPickerMenu({ tasks, selectedIndex, width }: TaskPickerMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=TaskPickerMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TaskPickerMenu.d.ts","sourceRoot":"","sources":["../../../src/ui/components/TaskPickerMenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TaskPickerMenu.d.ts","sourceRoot":"","sources":["../../../src/ui/components/TaskPickerMenu.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE5D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,SAAS,UAAU,EAAE,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACf;AAUD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CA8DlF"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { ThemeName } from "../theme/theme.js";
|
|
3
2
|
interface ThemeSelectorProps {
|
|
4
3
|
onSelect: (themeName: ThemeName) => void;
|
|
5
4
|
onCancel: () => void;
|
|
6
5
|
currentTheme: string;
|
|
7
6
|
}
|
|
8
|
-
export declare function ThemeSelector({ onSelect, onCancel, currentTheme }: ThemeSelectorProps):
|
|
7
|
+
export declare function ThemeSelector({ onSelect, onCancel, currentTheme }: ThemeSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=ThemeSelector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ThemeSelector.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemeSelector.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ThemeSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGnD,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IACzC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB;AAeD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,kBAAkB,2CAoBrF"}
|
|
@@ -7,6 +7,6 @@ interface ThinkingBlockProps {
|
|
|
7
7
|
/** Start collapsed (default true for completed, ignored when streaming) */
|
|
8
8
|
defaultCollapsed?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const ThinkingBlock: React.MemoExoticComponent<({ text, durationMs, streaming, defaultCollapsed, }: ThinkingBlockProps) =>
|
|
10
|
+
export declare const ThinkingBlock: React.MemoExoticComponent<({ text, durationMs, streaming, defaultCollapsed, }: ThinkingBlockProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=ThinkingBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThinkingBlock.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ThinkingBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAaD,eAAO,MAAM,aAAa,iFAKvB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ThinkingBlock.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ThinkingBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAaD,eAAO,MAAM,aAAa,iFAKvB,kBAAkB,oDA6DnB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
/**
|
|
3
2
|
* Optional formatter that downstream consumers (e.g. gg-editor) can pass to
|
|
4
3
|
* customise the per-tool header and inline summary without forking this
|
|
@@ -44,6 +43,6 @@ interface ToolDoneProps {
|
|
|
44
43
|
marginTop?: number;
|
|
45
44
|
}
|
|
46
45
|
type ToolExecutionProps = ToolRunningProps | ToolDoneProps;
|
|
47
|
-
export declare function ToolExecution(props: ToolExecutionProps):
|
|
46
|
+
export declare function ToolExecution(props: ToolExecutionProps): import("react/jsx-runtime").JSX.Element;
|
|
48
47
|
export {};
|
|
49
48
|
//# sourceMappingURL=ToolExecution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolExecution.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ToolExecution.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolExecution.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ToolExecution.tsx"],"names":[],"mappings":"AA+CA;;;;;GAKG;AACH,qFAAqF;AACrF,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAErE,MAAM,WAAW,uBAAuB;IACtC,6DAA6D;IAC7D,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IAClF,yGAAyG;IACzG,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;IACnF;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,aAAa,GAAG,SAAS,CAAC;CAC9F;AAED,UAAU,gBAAgB;IACxB,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,0DAA0D;IAC1D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,kBAAkB,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAS3D,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAqTtD"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { ToolGroupItem } from "../app-items.js";
|
|
3
2
|
import { type GroupRenderer } from "../tool-group-summary.js";
|
|
4
3
|
type ToolGroupTool = ToolGroupItem["tools"][number];
|
|
@@ -8,6 +7,6 @@ interface ToolGroupExecutionProps {
|
|
|
8
7
|
/** Domain-specific group summary renderers, merged over the built-ins. */
|
|
9
8
|
summaryRenderers?: Record<string, GroupRenderer>;
|
|
10
9
|
}
|
|
11
|
-
export declare function ToolGroupExecution({ tools, marginTop, summaryRenderers, }: ToolGroupExecutionProps):
|
|
10
|
+
export declare function ToolGroupExecution({ tools, marginTop, summaryRenderers, }: ToolGroupExecutionProps): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export {};
|
|
13
12
|
//# sourceMappingURL=ToolGroupExecution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolGroupExecution.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ToolGroupExecution.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolGroupExecution.d.ts","sourceRoot":"","sources":["../../../src/ui/components/ToolGroupExecution.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,0BAA0B,CAAC;AAGlC,KAAK,aAAa,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAsBpD,UAAU,uBAAuB;IAC/B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;CAClD;AAED,wBAAgB,kBAAkB,CAAC,EACjC,KAAK,EACL,SAAa,EACb,gBAAgB,GACjB,EAAE,uBAAuB,2CA8BzB"}
|
|
@@ -23,7 +23,7 @@ interface TranscriptViewportProps {
|
|
|
23
23
|
* shrink clips the OLDEST rows at the top, keeping the newest output and the
|
|
24
24
|
* controls visible.
|
|
25
25
|
*/
|
|
26
|
-
declare function TranscriptViewportImpl({ lines, columns, viewportRows }: TranscriptViewportProps):
|
|
26
|
+
declare function TranscriptViewportImpl({ lines, columns, viewportRows }: TranscriptViewportProps): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
/**
|
|
28
28
|
* Memoized so unrelated App re-renders (streaming ticks, footer timers, status
|
|
29
29
|
* shimmer) don't force the transcript subtree to reconcile. It only re-renders
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranscriptViewport.d.ts","sourceRoot":"","sources":["../../../src/ui/components/TranscriptViewport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,uBAAuB;IAC/B,gFAAgF;IAChF,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,iDAAiD;IACjD,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,sBAAsB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"TranscriptViewport.d.ts","sourceRoot":"","sources":["../../../src/ui/components/TranscriptViewport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,uBAAuB;IAC/B,gFAAgF;IAChF,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IACzB,iDAAiD;IACjD,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,iBAAS,sBAAsB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,uBAAuB,2CAkCxF;AAED;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,0DAAqC,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { PasteInfo } from "./InputArea.js";
|
|
3
2
|
export declare function UserMessage({ text, imageCount, videoCount, pasteInfo, }: {
|
|
4
3
|
text: string;
|
|
5
4
|
imageCount?: number;
|
|
6
5
|
videoCount?: number;
|
|
7
6
|
pasteInfo?: PasteInfo;
|
|
8
|
-
}):
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
//# sourceMappingURL=UserMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMessage.d.ts","sourceRoot":"","sources":["../../../src/ui/components/UserMessage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserMessage.d.ts","sourceRoot":"","sources":["../../../src/ui/components/UserMessage.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,GACV,EAAE;IACD,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,2CAoEA"}
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { DurationItem, ErrorItem, QueuedItem, SetupHintItem, StepDoneItem, StylePackItem, UpdateNoticeItem } from "../app-items.js";
|
|
3
2
|
export declare function StylePackRow({ item }: {
|
|
4
3
|
item: StylePackItem;
|
|
5
|
-
}):
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export declare function SetupHintRow({ item }: {
|
|
7
6
|
item: SetupHintItem;
|
|
8
|
-
}):
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export declare function ErrorRow({ item }: {
|
|
10
9
|
item: ErrorItem;
|
|
11
|
-
}):
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export declare function UpdateNoticeRow({ item }: {
|
|
13
12
|
item: UpdateNoticeItem;
|
|
14
|
-
}):
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export declare function StepDoneRow({ item }: {
|
|
16
15
|
item: StepDoneItem;
|
|
17
|
-
}):
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export declare function QueuedRow({ item }: {
|
|
19
18
|
item: QueuedItem;
|
|
20
|
-
}):
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export declare function DurationRow({ item }: {
|
|
22
21
|
item: DurationItem;
|
|
23
|
-
}):
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
//# sourceMappingURL=MiscRows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MiscRows.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/MiscRows.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MiscRows.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/MiscRows.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,UAAU,EACV,aAAa,EACb,YAAY,EACZ,aAAa,EACb,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AAWzB,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,2CAsC7D;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,2CAoC7D;AAED,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,2CA0BrD;AAED,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,2CAanE;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,2CAmB3D;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,2CAoBvD;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,2CAY3D"}
|
|
@@ -9,6 +9,6 @@ interface StatusRowProps {
|
|
|
9
9
|
muted?: boolean;
|
|
10
10
|
presentation?: StatusPresentation;
|
|
11
11
|
}
|
|
12
|
-
export declare function StatusRow({ id, glyph, children, glyphColor, bold, muted, presentation, }: StatusRowProps):
|
|
12
|
+
export declare function StatusRow({ id, glyph, children, glyphColor, bold, muted, presentation, }: StatusRowProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
export {};
|
|
14
14
|
//# sourceMappingURL=StatusRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusRow.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/StatusRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC;AAED,wBAAgB,SAAS,CAAC,EACxB,EAAE,EACF,KAAK,EACL,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,KAAK,EACL,YAAY,GACb,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"StatusRow.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/StatusRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC;AAED,wBAAgB,SAAS,CAAC,EACxB,EAAE,EACF,KAAK,EACL,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,KAAK,EACL,YAAY,GACb,EAAE,cAAc,2CA4BhB"}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { ServerToolDoneItem, ServerToolStartItem, SubAgentGroupItem, ToolDoneItem, ToolGroupItem, ToolStartItem } from "../app-items.js";
|
|
3
2
|
export declare function ToolStartRow({ item }: {
|
|
4
3
|
item: ToolStartItem;
|
|
5
|
-
}):
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export declare function ToolDoneRow({ item }: {
|
|
7
6
|
item: ToolDoneItem;
|
|
8
|
-
}):
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export declare function ToolGroupRow({ item }: {
|
|
10
9
|
item: ToolGroupItem;
|
|
11
|
-
}):
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export declare function ServerToolStartRow({ item }: {
|
|
13
12
|
item: ServerToolStartItem;
|
|
14
|
-
}):
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export declare function ServerToolDoneRow({ item }: {
|
|
16
15
|
item: ServerToolDoneItem;
|
|
17
|
-
}):
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export declare function SubAgentGroupRow({ item }: {
|
|
19
18
|
item: SubAgentGroupItem;
|
|
20
|
-
}):
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
//# sourceMappingURL=ToolRows.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolRows.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/ToolRows.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolRows.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/ToolRows.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,aAAa,EACd,MAAM,iBAAiB,CAAC;AAEzB,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,2CAW7D;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,2CAY3D;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,2CAE7D;AAED,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,2CAWzE;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,2CAWvE;AAED,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,iBAAiB,CAAA;CAAE,2CAErE"}
|
|
@@ -3,6 +3,6 @@ interface TranscriptItemFrameProps {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
marginTop: number;
|
|
5
5
|
}
|
|
6
|
-
export declare function TranscriptItemFrame({ children, marginTop }: TranscriptItemFrameProps):
|
|
6
|
+
export declare function TranscriptItemFrame({ children, marginTop }: TranscriptItemFrameProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=TranscriptItemFrame.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TranscriptItemFrame.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/TranscriptItemFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,wBAAwB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"TranscriptItemFrame.d.ts","sourceRoot":"","sources":["../../../src/ui/transcript/TranscriptItemFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,wBAAwB;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,wBAAwB,2CAOpF"}
|
package/dist/utils/image.d.ts
CHANGED
|
@@ -55,6 +55,23 @@ export declare function extractImagePaths(text: string, cwd: string): Promise<{
|
|
|
55
55
|
/** Alias of {@link extractImagePaths} that also picks up video paths (video
|
|
56
56
|
* extensions are part of ATTACHABLE_EXTENSIONS). Name reflects the widened scope. */
|
|
57
57
|
export declare const extractMediaPaths: typeof extractImagePaths;
|
|
58
|
+
/**
|
|
59
|
+
* Validate that a base64-decoded buffer is a REAL, fully-decodable image in a
|
|
60
|
+
* format the vision APIs accept. Returns the corrected media type on success,
|
|
61
|
+
* or `null` when the data is corrupt or an unsupported format.
|
|
62
|
+
*
|
|
63
|
+
* Why this exists: an image content block with corrupt or unsupported bytes
|
|
64
|
+
* (e.g. a malformed `.ico`, or a `.png` with a bad IDAT/CRC) makes the provider
|
|
65
|
+
* reject the ENTIRE turn with "The image data you provided does not represent a
|
|
66
|
+
* valid image" — the agent never gets to respond. Callers use the `null` return
|
|
67
|
+
* to downgrade such an attachment to a plain file note (saved to disk, inspected
|
|
68
|
+
* with tools) so the request still succeeds and the model can diagnose the file.
|
|
69
|
+
*
|
|
70
|
+
* The header sniff alone is insufficient (a corrupt PNG still has PNG magic), so
|
|
71
|
+
* this forces a full pixel decode — resized small to bound memory — which makes
|
|
72
|
+
* libvips surface mid-stream corruption here instead of at the provider.
|
|
73
|
+
*/
|
|
74
|
+
export declare function validateVisionImage(buffer: Buffer): Promise<string | null>;
|
|
58
75
|
/**
|
|
59
76
|
* Downscale an image buffer so it fits within both MAX_IMAGE_DIMENSION per side
|
|
60
77
|
* (Anthropic's hard pixel cap for many-image requests) and MAX_IMAGE_BYTES.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/utils/image.ts"],"names":[],"mappings":"AA0CA,eAAO,MAAM,gBAAgB,aAA8D,CAAC;AAC5F,eAAO,MAAM,gBAAgB,aAAqD,CAAC;AAQnF;;;+EAG+E;AAC/E,eAAO,MAAM,eAAe,QAAmB,CAAC;AAYhD,MAAM,MAAM,sBAAsB,GAC9B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,GAC1E;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAMlC;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,MAAM,EACjB,WAAW,GAAE,MAA8B,EAC3C,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,sBAAsB,CAAC,CAqFjC;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAMpD,CAAC;AAKF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,kEAAkE;AAClE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGrD;AAED,iEAAiE;AACjE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGrD;AAED,yEAAyE;AACzE,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAG1D;AAyCD;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV,OAAO,CAAC;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CA2BtD;AAED;sFACsF;AACtF,eAAO,MAAM,iBAAiB,0BAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../src/utils/image.ts"],"names":[],"mappings":"AA0CA,eAAO,MAAM,gBAAgB,aAA8D,CAAC;AAC5F,eAAO,MAAM,gBAAgB,aAAqD,CAAC;AAQnF;;;+EAG+E;AAC/E,eAAO,MAAM,eAAe,QAAmB,CAAC;AAYhD,MAAM,MAAM,sBAAsB,GAC9B;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,GAC1E;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAMlC;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,MAAM,EACjB,WAAW,GAAE,MAA8B,EAC3C,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,sBAAsB,CAAC,CAqFjC;AAED,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAMpD,CAAC;AAKF,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,kEAAkE;AAClE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGrD;AAED,iEAAiE;AACjE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAGrD;AAED,yEAAyE;AACzE,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAG1D;AAyCD;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GACV,OAAO,CAAC;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CA2BtD;AAED;sFACsF;AACtF,eAAO,MAAM,iBAAiB,0BAAoB,CAAC;AAyBnD;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAgBhF;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAiFhD;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAYzE;AAED;;;;;;GAMG;AACH,wBAAsB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAkF9E;AAED;yBACyB;AACzB,eAAO,MAAM,aAAa,sBAAgB,CAAC;AAE3C;;;GAGG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,CAoDnE"}
|