mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-11-28 05:00:26 +08:00
Massive PR, over 13k LOC updated, 128 commits to implement the first pass at the new Wave AI panel. Two backend adapters (OpenAI and Anthropic), layout changes to support the panel, keyboard shortcuts, and a huge focus/layout change to integrate the panel seamlessly into the UI. Also fixes some small issues found during the Wave AI journey (zoom fixes, documentation, more scss removal, circular dependency issues, settings, etc)
60 lines
1.7 KiB
TypeScript
60 lines
1.7 KiB
TypeScript
// Copyright 2025, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { TileLayout } from "./lib/TileLayout";
|
|
import { LayoutModel } from "./lib/layoutModel";
|
|
import { deleteLayoutModelForTab, getLayoutModelForStaticTab, useDebouncedNodeInnerRect } from "./lib/layoutModelHooks";
|
|
import { newLayoutNode } from "./lib/layoutNode";
|
|
import type {
|
|
ContentRenderer,
|
|
LayoutNode,
|
|
LayoutTreeAction,
|
|
LayoutTreeClearPendingAction,
|
|
LayoutTreeCommitPendingAction,
|
|
LayoutTreeComputeMoveNodeAction,
|
|
LayoutTreeDeleteNodeAction,
|
|
LayoutTreeFocusNodeAction,
|
|
LayoutTreeInsertNodeAction,
|
|
LayoutTreeInsertNodeAtIndexAction,
|
|
LayoutTreeMagnifyNodeToggleAction,
|
|
LayoutTreeMoveNodeAction,
|
|
LayoutTreeResizeNodeAction,
|
|
LayoutTreeSetPendingAction,
|
|
LayoutTreeStateSetter,
|
|
LayoutTreeSwapNodeAction,
|
|
NodeModel,
|
|
PreviewRenderer,
|
|
} from "./lib/types";
|
|
import { DropDirection, LayoutTreeActionType, NavigateDirection } from "./lib/types";
|
|
|
|
export {
|
|
deleteLayoutModelForTab,
|
|
DropDirection,
|
|
getLayoutModelForStaticTab,
|
|
LayoutModel,
|
|
LayoutTreeActionType,
|
|
NavigateDirection,
|
|
newLayoutNode,
|
|
TileLayout,
|
|
useDebouncedNodeInnerRect,
|
|
};
|
|
export type {
|
|
ContentRenderer,
|
|
LayoutNode,
|
|
LayoutTreeAction,
|
|
LayoutTreeClearPendingAction,
|
|
LayoutTreeCommitPendingAction,
|
|
LayoutTreeComputeMoveNodeAction,
|
|
LayoutTreeDeleteNodeAction,
|
|
LayoutTreeFocusNodeAction,
|
|
LayoutTreeInsertNodeAction,
|
|
LayoutTreeInsertNodeAtIndexAction,
|
|
LayoutTreeMagnifyNodeToggleAction,
|
|
LayoutTreeMoveNodeAction,
|
|
LayoutTreeResizeNodeAction,
|
|
LayoutTreeSetPendingAction,
|
|
LayoutTreeStateSetter,
|
|
LayoutTreeSwapNodeAction,
|
|
NodeModel,
|
|
PreviewRenderer,
|
|
};
|