agentix-cli 0.99.0 → 0.100.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/apps/mac-helper/build.sh +10 -2
- package/apps/mac-voice/build.sh +14 -4
- package/dist/{board-dashboard-F7ZNW6YA.js → board-dashboard-R6ZTCTSI.js} +467 -321
- package/dist/board-dashboard-R6ZTCTSI.js.map +1 -0
- package/dist/{chunk-WEYMSJGZ.js → chunk-6BZMRVKJ.js} +2 -2
- package/dist/{chunk-WEYMSJGZ.js.map → chunk-6BZMRVKJ.js.map} +1 -1
- package/dist/{chunk-QUU5RJ7D.js → chunk-VBFXUZTY.js} +15 -15
- package/dist/{chunk-QUU5RJ7D.js.map → chunk-VBFXUZTY.js.map} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-3FNVZD26.js → program-CH5QSA7K.js} +4 -4
- package/package.json +1 -1
- package/dist/board-dashboard-F7ZNW6YA.js.map +0 -1
- /package/dist/{program-3FNVZD26.js.map → program-CH5QSA7K.js.map} +0 -0
package/apps/mac-helper/build.sh
CHANGED
|
@@ -55,8 +55,16 @@ cat > "$APP/Contents/Info.plist" <<'PLIST'
|
|
|
55
55
|
PLIST
|
|
56
56
|
echo "</plist>" >> "$APP/Contents/Info.plist"
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
# Ad hoc by default, which holds a grant for this one build only; see
|
|
59
|
+
# AGENTX_SIGN_IDENTITY in apps/mac-voice/build.sh.
|
|
60
|
+
IDENTITY="${AGENTX_SIGN_IDENTITY:--}"
|
|
61
|
+
if [ "$IDENTITY" = "-" ]; then
|
|
62
|
+
codesign --force --sign - --identifier tn.acme.agentx.helper "$APP" 2>/dev/null \
|
|
63
|
+
|| echo "warning: codesign failed; Accessibility grants will not stick across rebuilds"
|
|
64
|
+
echo "note: ad-hoc signature; macOS asks again for Accessibility and Screen Recording after this install (set AGENTX_SIGN_IDENTITY to keep them)"
|
|
65
|
+
else
|
|
66
|
+
codesign --force --sign "$IDENTITY" --identifier tn.acme.agentx.helper "$APP"
|
|
67
|
+
fi
|
|
60
68
|
|
|
61
69
|
echo "built: $APP"
|
|
62
70
|
echo "binary: $BIN/agentx-mac-helper"
|
package/apps/mac-voice/build.sh
CHANGED
|
@@ -32,10 +32,20 @@ swiftc -O \
|
|
|
32
32
|
|
|
33
33
|
cp Resources/Info.plist "$APP/Contents/Info.plist"
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
# Signing. Unsigned bundles get a fresh TCC identity on every launch. An
|
|
36
|
+
# ad-hoc signature (the default) holds only for this one build: macOS keys
|
|
37
|
+
# a permission to the build's hash, so every new build is asked again for
|
|
38
|
+
# the microphone and Screen Recording. AGENTX_SIGN_IDENTITY names a
|
|
39
|
+
# code-signing certificate in the keychain (a self-signed one is enough)
|
|
40
|
+
# whose permissions carry over to the next build.
|
|
41
|
+
IDENTITY="${AGENTX_SIGN_IDENTITY:--}"
|
|
42
|
+
if [ "$IDENTITY" = "-" ]; then
|
|
43
|
+
codesign --force --sign - --identifier tn.acme.agentx.voice "$APP" 2>/dev/null \
|
|
44
|
+
|| echo "warning: codesign failed; expect repeated microphone prompts"
|
|
45
|
+
echo "note: ad-hoc signature; macOS asks again for the microphone and Screen Recording after this install (set AGENTX_SIGN_IDENTITY to keep them)"
|
|
46
|
+
else
|
|
47
|
+
codesign --force --sign "$IDENTITY" --identifier tn.acme.agentx.voice "$APP"
|
|
48
|
+
fi
|
|
39
49
|
|
|
40
50
|
echo "built: $APP"
|
|
41
51
|
echo "run: open \"$APP\" (or ./build/AgentX\\ Voice.app/Contents/MacOS/AgentXVoice for logs)"
|