diff options
| author | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-13 01:29:51 -0400 |
|---|---|---|
| committer | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-13 01:29:51 -0400 |
| commit | 6ddb6007df14a865d4226d7ee16e08ff4d3c36ca (patch) | |
| tree | f9cb55e32c3991171b2f8a449de781eb30d04458 /extensions/chrome-profile-bridge/index.ts | |
| parent | 6dd4b2b0abe30ed11b0969fe838fa24f67b7d6d1 (diff) | |
pi-chrome 0.10.1: chrome_key modifiers param for trusted chords (Cmd+V etc)
Diffstat (limited to 'extensions/chrome-profile-bridge/index.ts')
| -rw-r--r-- | extensions/chrome-profile-bridge/index.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/chrome-profile-bridge/index.ts b/extensions/chrome-profile-bridge/index.ts index 11e1a40..56bf224 100644 --- a/extensions/chrome-profile-bridge/index.ts +++ b/extensions/chrome-profile-bridge/index.ts @@ -882,6 +882,12 @@ Usage rules: promptSnippet: "Press keys in Chrome through the companion extension.", parameters: Type.Object({ key: Type.String(), + modifiers: Type.Optional(Type.Object({ + shiftKey: Type.Optional(Type.Boolean()), + ctrlKey: Type.Optional(Type.Boolean()), + altKey: Type.Optional(Type.Boolean()), + metaKey: Type.Optional(Type.Boolean()), + }, { description: "Modifier keys to hold while pressing the key (chord). Only honoured for trusted-mode presses; synthetic path ignores." })), includeSnapshot: Type.Optional(Type.Boolean({ description: "If true, include a fresh chrome_snapshot result after the keypress." })), maxElements: Type.Optional(Type.Number({ default: MAX_ELEMENTS, description: "Max elements in the included snapshot." })), targetId: Type.Optional(Type.String()), |
