@silo-code/sdk 0.40.1 → 0.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,5 +30,11 @@ export interface ContextKeys {
30
30
  * to receive the correct value at runtime without a silent break.
31
31
  */
32
32
  activeViewerId: string | null;
33
+ /**
34
+ * True when an xterm textarea in a terminal panel owns DOM focus — the user
35
+ * is typing into (or has just typed into) a terminal. Used to scope terminal-
36
+ * local keybindings such as Clear (`cmd+k`).
37
+ */
38
+ terminalFocused: boolean;
33
39
  }
34
40
  //# sourceMappingURL=context-keys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-keys.d.ts","sourceRoot":"","sources":["../src/context-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
1
+ {"version":3,"file":"context-keys.d.ts","sourceRoot":"","sources":["../src/context-keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;;OAKG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silo-code/sdk",
3
- "version": "0.40.1",
3
+ "version": "0.40.2",
4
4
  "description": "The public, types-first SDK for building Silo extensions — the only surface third-party extensions import.",
5
5
  "license": "MIT",
6
6
  "author": "Dave Weaver",
@@ -30,4 +30,10 @@ export interface ContextKeys {
30
30
  * to receive the correct value at runtime without a silent break.
31
31
  */
32
32
  activeViewerId: string | null;
33
+ /**
34
+ * True when an xterm textarea in a terminal panel owns DOM focus — the user
35
+ * is typing into (or has just typed into) a terminal. Used to scope terminal-
36
+ * local keybindings such as Clear (`cmd+k`).
37
+ */
38
+ terminalFocused: boolean;
33
39
  }