@gajae-code/natives 0.9.0 → 0.9.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.
package/native/index.d.ts CHANGED
@@ -298,7 +298,7 @@ export declare class Shell {
298
298
  * `packages/natives/native/index.js` (which derives the name from
299
299
  * `package.json#version`).
300
300
  */
301
- export declare function __piNativesV0_9_0(): void
301
+ export declare function __piNativesV0_9_2(): void
302
302
 
303
303
  /**
304
304
  * Apply conservative pre-execution rewrites to a bash command.
@@ -985,11 +985,11 @@ export interface HtmlToMarkdownOptions {
985
985
  }
986
986
 
987
987
  /**
988
- * An inbound message forwarded to the TypeScript host: a free-text injection
989
- * (`user_message`) or an in-thread config command (`config_command`).
988
+ * An inbound message forwarded to the TypeScript host: a free-text injection,
989
+ * in-thread config command, or deterministic control command.
990
990
  */
991
991
  export interface InboundEvent {
992
- /** Either `"user_message"` or `"config_command"`. */
992
+ /** Inbound kind (`user_message`, `config_command`, or `control_command`). */
993
993
  kind: string
994
994
  /** The session this inbound belongs to. */
995
995
  sessionId: string
@@ -1003,6 +1003,10 @@ export interface InboundEvent {
1003
1003
  verbosity?: string
1004
1004
  /** Requested redaction state (`config_command` only). */
1005
1005
  redact?: boolean
1006
+ /** Client-generated request id (`control_command` only). */
1007
+ requestId?: string
1008
+ /** JSON-encoded command payload (`control_command` only). */
1009
+ commandJson?: string
1006
1010
  /**
1007
1011
  * Inline image attachments forwarded with the message (`user_message`
1008
1012
  * only).
package/native/index.js CHANGED
@@ -27,7 +27,7 @@ export const PtySession = nativeBindings.PtySession;
27
27
  export const Shell = nativeBindings.Shell;
28
28
 
29
29
  // functions
30
- export const __piNativesV0_9_0 = nativeBindings.__piNativesV0_9_0;
30
+ export const __piNativesV0_9_2 = nativeBindings.__piNativesV0_9_2;
31
31
  export const applyBashFixups = nativeBindings.applyBashFixups;
32
32
  export const astEdit = nativeBindings.astEdit;
33
33
  export const astGrep = nativeBindings.astGrep;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gajae-code/natives",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "Native Rust bindings for grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
5
5
  "type": "module",
6
6
  "homepage": "https://gajae-code.com",
@@ -61,11 +61,11 @@
61
61
  "README.md"
62
62
  ],
63
63
  "optionalDependencies": {
64
- "@gajae-code/natives-darwin-arm64": "0.9.0",
65
- "@gajae-code/natives-darwin-x64": "0.9.0",
66
- "@gajae-code/natives-linux-arm64": "0.9.0",
67
- "@gajae-code/natives-linux-x64": "0.9.0",
68
- "@gajae-code/natives-win32-x64": "0.9.0"
64
+ "@gajae-code/natives-darwin-arm64": "0.9.2",
65
+ "@gajae-code/natives-darwin-x64": "0.9.2",
66
+ "@gajae-code/natives-linux-arm64": "0.9.2",
67
+ "@gajae-code/natives-linux-x64": "0.9.2",
68
+ "@gajae-code/natives-win32-x64": "0.9.2"
69
69
  },
70
70
  "exports": {
71
71
  ".": {