Skip to content

Commit

Permalink
V9.5.0 Computer-Use (CUA) Chat in Side Panel
Browse files Browse the repository at this point in the history
  • Loading branch information
A9T9 committed Jan 24, 2025
1 parent 5557d7b commit 313952c
Show file tree
Hide file tree
Showing 35 changed files with 8,259 additions and 385 deletions.
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "__MSG_description__",
"short_name": "__MSG_short_name__",
"default_locale": "en",
"version": "9.3.8",
"version": "9.5.1",

"icons": {
"128": "logo128.png"
Expand Down
9 changes: 9 additions & 0 deletions src/common/encrypt.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export declare const aesEncrypt: (text: string, password: string) => string
export declare const aesDecrypt: (text: string, password: string) => string

export declare const encrypt: (text: string) => Promise<string>
export declare const decrypt: (text: string) => Promise<string>


export declare const encryptIfNeeded: (text: string, dom: any) => Promise<string>
export declare const decryptIfNeeded: (text: string, dom: any) => Promise<string>
1 change: 1 addition & 0 deletions src/common/eval.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const evaluateScript: (code: string) => Promise<any>
36 changes: 36 additions & 0 deletions src/common/player.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
declare enum MODE {
STRAIGHT = 'STRAIGHT',
SINGLE = 'SINGLE',
LOOP = 'LOOP'
}

declare enum STATUS {
PLAYING = 'PLAYING',
PAUSED = 'PAUSED',
STOPPED = 'STOPPED',
ERROR = 'ERROR'
}

declare enum END_REASON {
COMPLETE = 'COMPLETE',
ERROR = 'ERROR',
MANUAL = 'MANUAL'
}

declare enum NEXT_INDEX_INITIATOR {
INIT = 'INIT',
NORMAL = 'NORMAL',
LOOP = 'LOOP'
}

export declare class Player {
constructor()

static C: {
MODE: typeof MODE
STATUS: typeof STATUS
END_REASON: typeof END_REASON
}
}

export declare const getPlayer: (opts?: any, state?: any) => Player
Loading

0 comments on commit 313952c

Please sign in to comment.