@hasna/recordings 0.2.13 → 0.2.14
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/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/storage.js +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/scripts/build_native_fs_guard.sh +15 -2
- package/src/native/Recordings/RecordingsLib/Info.plist +2 -2
- package/src/native/Recordings/build.sh +1 -1
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/dist/mcp/index.js
CHANGED
package/dist/server/index.js
CHANGED
package/dist/storage.js
CHANGED
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.
|
|
1
|
+
export declare const VERSION = "0.2.14";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -14,8 +14,20 @@ PACKAGE_ROOT="$(cd "$(/usr/bin/dirname "$0")/.." && /bin/pwd -P)"
|
|
|
14
14
|
SOURCE="$PACKAGE_ROOT/scripts/native/recordings_fs_guard.c"
|
|
15
15
|
OUTPUT="${1:-$PACKAGE_ROOT/scripts/native/prebuilds/darwin-universal/recordings_fs_guard.node}"
|
|
16
16
|
HEADERS="${2:-$PACKAGE_ROOT/node_modules/node-api-headers/include}"
|
|
17
|
-
CLANG="$(/usr/bin/xcrun --find clang)"
|
|
17
|
+
CLANG="$(/usr/bin/xcrun --sdk macosx --find clang)"
|
|
18
|
+
SDK_PATH="$(/usr/bin/xcrun --sdk macosx --show-sdk-path)"
|
|
18
19
|
|
|
20
|
+
[ -n "$SDK_PATH" ] && [ -d "$SDK_PATH" ] || {
|
|
21
|
+
echo "Could not resolve a usable macOS SDK with pinned /usr/bin/xcrun." >&2
|
|
22
|
+
exit 1
|
|
23
|
+
}
|
|
24
|
+
# The published SDK path is a symlink (MacOSX.sdk -> MacOSX<version>.sdk), so
|
|
25
|
+
# canonicalize it and require the resolved sysroot to expose libc headers.
|
|
26
|
+
SDK_PATH="$(cd "$SDK_PATH" && /bin/pwd -P)"
|
|
27
|
+
[ -f "$SDK_PATH/usr/include/dirent.h" ] || {
|
|
28
|
+
echo "Resolved macOS SDK at ${SDK_PATH} does not provide system headers." >&2
|
|
29
|
+
exit 1
|
|
30
|
+
}
|
|
19
31
|
[ -f "$SOURCE" ] && [ ! -L "$SOURCE" ] || {
|
|
20
32
|
echo "Native filesystem guard source is missing or unsafe." >&2
|
|
21
33
|
exit 1
|
|
@@ -41,6 +53,7 @@ COMMON=(
|
|
|
41
53
|
-DNAPI_VERSION=9
|
|
42
54
|
-DNODE_GYP_MODULE_NAME=recordings_fs_guard
|
|
43
55
|
-I "$HEADERS"
|
|
56
|
+
-isysroot "$SDK_PATH"
|
|
44
57
|
-mmacosx-version-min=13.0
|
|
45
58
|
)
|
|
46
59
|
|
|
@@ -50,7 +63,7 @@ COMMON=(
|
|
|
50
63
|
-output "$WORK_DIR/recordings_fs_guard.node"
|
|
51
64
|
/bin/chmod 0644 "$WORK_DIR/recordings_fs_guard.node"
|
|
52
65
|
/bin/mv "$WORK_DIR/recordings_fs_guard.node" "$OUTPUT"
|
|
53
|
-
/usr/bin/lipo -verify_arch arm64 x86_64
|
|
66
|
+
/usr/bin/lipo "$OUTPUT" -verify_arch arm64 x86_64
|
|
54
67
|
[ ! -e "$OUTPUT_PARENT/.recordings-fs-guard-build" ] || {
|
|
55
68
|
echo "Native filesystem guard build intermediates escaped the private build directory." >&2
|
|
56
69
|
exit 1
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
<key>CFBundleIdentifier</key>
|
|
18
18
|
<string>com.hasna.recordings</string>
|
|
19
19
|
<key>CFBundleVersion</key>
|
|
20
|
-
<string>0.2.
|
|
20
|
+
<string>0.2.14</string>
|
|
21
21
|
<key>CFBundlePackageType</key>
|
|
22
22
|
<string>APPL</string>
|
|
23
23
|
<key>CFBundleShortVersionString</key>
|
|
24
|
-
<string>0.2.
|
|
24
|
+
<string>0.2.14</string>
|
|
25
25
|
<key>LSMinimumSystemVersion</key>
|
|
26
26
|
<string>26.0</string>
|
|
27
27
|
<key>NSMicrophoneUsageDescription</key>
|
|
@@ -418,7 +418,7 @@ generate_and_verify_native_fs_guard() {
|
|
|
418
418
|
TMPDIR="$BUILD_WORK_DIR" \
|
|
419
419
|
"$BASH_EXECUTABLE" "$SOURCE_PACKAGE_ROOT/scripts/build_native_fs_guard.sh" \
|
|
420
420
|
"$addon" "$dependency_root/node_modules/node-api-headers/include"
|
|
421
|
-
/usr/bin/lipo -verify_arch arm64 x86_64
|
|
421
|
+
/usr/bin/lipo "$addon" -verify_arch arm64 x86_64
|
|
422
422
|
if [ "$MODE" = "release" ]; then
|
|
423
423
|
run_codesign --force --sign "$CODESIGN_IDENTITY" --options runtime --timestamp "$addon"
|
|
424
424
|
else
|