mac: bundle web chat assets
This commit is contained in:
29
apps/macos/Sources/Clawdis/Resources/WebChat/ChatPanel.d.ts
vendored
Normal file
29
apps/macos/Sources/Clawdis/Resources/WebChat/ChatPanel.d.ts
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { LitElement } from "lit";
|
||||
import type { Agent } from "./agent/agent.js";
|
||||
import "./components/AgentInterface.js";
|
||||
import type { AgentTool } from "@mariozechner/pi-ai";
|
||||
import type { AgentInterface } from "./components/AgentInterface.js";
|
||||
import type { SandboxRuntimeProvider } from "./components/sandbox/SandboxRuntimeProvider.js";
|
||||
import { ArtifactsPanel } from "./tools/artifacts/index.js";
|
||||
export declare class ChatPanel extends LitElement {
|
||||
agent?: Agent;
|
||||
agentInterface?: AgentInterface;
|
||||
artifactsPanel?: ArtifactsPanel;
|
||||
private hasArtifacts;
|
||||
private artifactCount;
|
||||
private showArtifactsPanel;
|
||||
private windowWidth;
|
||||
private resizeHandler;
|
||||
createRenderRoot(): this;
|
||||
connectedCallback(): void;
|
||||
disconnectedCallback(): void;
|
||||
setAgent(agent: Agent, config?: {
|
||||
onApiKeyRequired?: (provider: string) => Promise<boolean>;
|
||||
onBeforeSend?: () => void | Promise<void>;
|
||||
onCostClick?: () => void;
|
||||
sandboxUrlProvider?: () => string;
|
||||
toolsFactory?: (agent: Agent, agentInterface: AgentInterface, artifactsPanel: ArtifactsPanel, runtimeProvidersFactory: () => SandboxRuntimeProvider[]) => AgentTool<any>[];
|
||||
}): Promise<void>;
|
||||
render(): import("lit-html").TemplateResult<1>;
|
||||
}
|
||||
//# sourceMappingURL=ChatPanel.d.ts.map
|
||||
Reference in New Issue
Block a user