@gajae-code/natives 0.12.21 → 0.13.0

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
@@ -51,7 +51,6 @@ export declare class ComputerController {
51
51
  keypress(expectedEpoch: number | undefined | null, keys: Array<string>): void
52
52
  wait(expectedEpoch: number | undefined | null, ms: number): void
53
53
  }
54
-
55
54
  /**
56
55
  * Long-lived macOS appearance observer.
57
56
  *
@@ -523,7 +522,7 @@ export declare function __piNativesPublishOutcomeV1(): void
523
522
  * `packages/natives/native/index.js` (which derives the name from
524
523
  * `package.json#version`).
525
524
  */
526
- export declare function __piNativesV0_12_21(): void
525
+ export declare function __piNativesV0_13_0(): void
527
526
 
528
527
  /**
529
528
  * Apply conservative pre-execution rewrites to a bash command.
@@ -1786,6 +1785,11 @@ export interface NativeExactFileIdentity {
1786
1785
  * verified from the detached object before unlinking it.
1787
1786
  */
1788
1787
  sha256?: string
1788
+ /**
1789
+ * Permit removing exactly this authorized pathname when the inode has other
1790
+ * hard links. Remaining links are retained after exact quarantine cleanup.
1791
+ */
1792
+ allowHardLink?: boolean
1789
1793
  }
1790
1794
 
1791
1795
  /** Typed result of an identity-bound regular-file deletion or directory detach. */
@@ -2291,7 +2295,7 @@ export declare function sliceWithWidth(line: string, startCol: number, length: n
2291
2295
  */
2292
2296
  export declare function snapshotDirectoryTree(path: string): NativeDirectoryTreeResult
2293
2297
 
2294
- export declare function summarizeCode(options: SummaryOptions): SummaryResult
2298
+ export declare function summarizeCode(options: SummaryOptions): Promise<SummaryResult>
2295
2299
 
2296
2300
  export interface SummaryOptions {
2297
2301
  /** Source code to summarize. */
package/native/index.js CHANGED
@@ -30,7 +30,7 @@ export const Shell = nativeBindings.Shell;
30
30
 
31
31
  // functions
32
32
  export const __piNativesPublishOutcomeV1 = nativeBindings.__piNativesPublishOutcomeV1;
33
- export const __piNativesV0_12_21 = nativeBindings.__piNativesV0_12_21;
33
+ export const __piNativesV0_13_0 = nativeBindings.__piNativesV0_13_0;
34
34
  export const applyBashFixups = nativeBindings.applyBashFixups;
35
35
  export const applyOwnerOnlyFdSecurity = nativeBindings.applyOwnerOnlyFdSecurity;
36
36
  export const applyOwnerOnlyPathSecurity = nativeBindings.applyOwnerOnlyPathSecurity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gajae-code/natives",
3
- "version": "0.12.21",
3
+ "version": "0.13.0",
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.12.21",
65
- "@gajae-code/natives-darwin-x64": "0.12.21",
66
- "@gajae-code/natives-linux-arm64": "0.12.21",
67
- "@gajae-code/natives-linux-x64": "0.12.21",
68
- "@gajae-code/natives-win32-x64": "0.12.21"
64
+ "@gajae-code/natives-darwin-arm64": "0.13.0",
65
+ "@gajae-code/natives-darwin-x64": "0.13.0",
66
+ "@gajae-code/natives-linux-arm64": "0.13.0",
67
+ "@gajae-code/natives-linux-x64": "0.13.0",
68
+ "@gajae-code/natives-win32-x64": "0.13.0"
69
69
  },
70
70
  "exports": {
71
71
  ".": {