Fix type bugs, remove extensions, update tsdown config with comment

This commit is contained in:
Morgan Dean
2025-08-21 15:01:48 +01:00
parent dcb584fbb8
commit 6539baf0c5
4 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import type {
AgentResponse,
ConnectionType,
AgentClientOptions,
} from "./types.js";
} from "./types";
export class AgentClient {
private url: string;

View File

@@ -20,10 +20,10 @@ export type {
ComputerAction,
ClickAction,
TypeAction,
KeyAction,
KeyPressAction,
ScrollAction,
WaitAction,
Usage,
ConnectionType,
AgentClientOptions,
} from './types.js';
} from './types';

View File

@@ -48,7 +48,7 @@ export type AgentMessage =
| ReasoningMessage
| ComputerCallMessage
| ComputerCallOutputMessage
| FunctionCallMesssage
| FunctionCallMessage
| FunctionCallOutputMessage;
// Input message
export interface UserMessage {

View File

@@ -6,5 +6,7 @@ export default defineConfig({
platform: "browser",
dts: true,
clean: true,
// Remove if we don't need to support including the library via '<script/>' tags.
// noExternal bundles this list of libraries within the final 'dist'
noExternal: ['peerjs']
});