mirror of
https://github.com/trycua/computer.git
synced 2026-01-07 05:50:13 -06:00
Fix type bugs, remove extensions, update tsdown config with comment
This commit is contained in:
@@ -4,7 +4,7 @@ import type {
|
||||
AgentResponse,
|
||||
ConnectionType,
|
||||
AgentClientOptions,
|
||||
} from "./types.js";
|
||||
} from "./types";
|
||||
|
||||
export class AgentClient {
|
||||
private url: string;
|
||||
|
||||
@@ -20,10 +20,10 @@ export type {
|
||||
ComputerAction,
|
||||
ClickAction,
|
||||
TypeAction,
|
||||
KeyAction,
|
||||
KeyPressAction,
|
||||
ScrollAction,
|
||||
WaitAction,
|
||||
Usage,
|
||||
ConnectionType,
|
||||
AgentClientOptions,
|
||||
} from './types.js';
|
||||
} from './types';
|
||||
|
||||
@@ -48,7 +48,7 @@ export type AgentMessage =
|
||||
| ReasoningMessage
|
||||
| ComputerCallMessage
|
||||
| ComputerCallOutputMessage
|
||||
| FunctionCallMesssage
|
||||
| FunctionCallMessage
|
||||
| FunctionCallOutputMessage;
|
||||
// Input message
|
||||
export interface UserMessage {
|
||||
|
||||
@@ -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']
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user