Kit fails to start after upgrading MacOS to Sequoia

After upgrading MacOS to Sequoia, Kit fails to start with the following error:
[0917/222845.976752:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5)
Failed to initialize sandbox.[1]    7019 segmentation fault  ./Kit
The computer is a MacBook Pro M3. Kit was working before upgrade.
I'm happy to provide more information or try to debug this. Let me know how I could help.
❯ ./ Updated to sequoia an hour back and came across this while digging into github issues.

@kyen99 @burhanrashid52 Thanks for reporting. I have a newer build working on Sequoia, just ironing out some smaller bugs. Hope to get it out by the end of the month

https://github.com/script-kit/app/releases/tag/v3.1.1
@kyen99 @burhanrashid52 That link will take you to the v3 beta releases.  Please let me know if you encounter any issues on your setups though! 🙏

https://github.com/script-kit/app/releases/tag/v3.1.1
@kyen99 @burhanrashid52 That link will take you to the v3 beta releases.  Please let me know if you encounter any issues on your setups though! 🙏

Thanks @johnlindquist. This works, however it failed to update the existing app. I had to reinstall and also needed to force repair the SDK.

@burhanrashid52 is there any chance you can look through the ~/Library/Logs/Kit/main.log for the error of when it failed to update? Try and search for "error" around the timestamp when you attempted to update.  Available: [
  'dragMouse',        'updateScreenMetrics',
  'moveMouse',        'moveMouseSmooth',
  'getMousePos',      'mouseClick',
  'mouseToggle',      'scrollMouse',
  'setMouseDelay',    'keyTap',
  'keyToggle',        'unicodeTap',
  'typeString',       'typeStringDelayed',
  'setKeyboardDelay', 'getPixelColor',
  'getScreenSize',    'captureScreen',
  'getColor',         'getXDisplayName',
  'setXDisplayName',  'screen'
]
[2024-09-27 12:25:15.210] [info]  Loading: uiohook-napi
[2024-09-27 12:25:15.347] [info]  Loaded: uiohook-napi. Available: [
  'EventType',
  'UiohookKey',
  'WheelDirection',
  '__esModule',
  'default',
  'uIOhook'
]
[2024-09-27 12:25:15.348] [info]  Loading: node-mac-permissions
[2024-09-27 12:25:15.654] [info]  Loaded: node-mac-permissions. Available: [
  'askForAccessibilityAccess',
  'askForCalendarAccess',
  'askForCameraAccess',
  'askForContactsAccess',
  'askForFoldersAccess',
  'askForFullDiskAccess',
  'askForInputMonitoringAccess',
  'askForRemindersAccess',
  'askForMicrophoneAccess',
  'askForMusicLibraryAccess',
  'askForPhotosAccess',
  'askForSpeechRecognitionAccess',
  'askForScreenCaptureAccess',
  'getAuthStatus'
]
[2024-09-27 12:25:15.655] [info]  Loading: @johnlindquist/node-window-manager
[2024-09-27 12:25:16.001] [info]  Loaded: @johnlindquist/node-window-manager. Available: [ 'Window', 'addon', 'windowManager' ]
[2024-09-27 12:25:16.002] [info]  Loading: @johnlindquist/mac-clipboard-listener
[2024-09-27 12:25:16.317] [info]  Loaded: @johnlindquist/mac-clipboard-listener. Available: [ 'onClipboardImageChange', 'onClipboardTextChange', 'start', 'stop' ]
[2024-09-27 12:25:16.318] [info]  Loading: @johnlindquist/mac-frontmost
[2024-09-27 12:25:16.635] [info]  Loaded: @johnlindquist/mac-frontmost. Available: [ 'getFrontmostApp' ]
[2024-09-27 12:25:16.636] [info]  Loading: @johnlindquist/mac-panel-window
[2024-09-27 12:25:16.936] [info]  Loaded: @johnlindquist/mac-panel-window.  Semver match? false
[2024-09-27 12:25:20.457] [info]  install.ts: 🤔 Stored version: 2.3.0 -> Current version: 3.1.1. Semver match? false
[2024-09-27 12:25:20.457] [info]  index.ts: Requires install: true
[2024-09-27 12:25:20.458] [info]  install.ts: 🌊 body: /Users/juyushi/.kit
[2024-09-27 12:25:20.458] [info]  install.ts: /Users/juyushi/.kit
[2024-09-27 12:25:20.458] [info]  install.ts: 🌊 body: kit found at /Users/juyushi/.kit
[2024-09-27 12:25:20.458] [info]  install.ts: kit found at /Users/juyushi/.kit
[2024-09-27 12:25:20.458] [info]  Didn't find /Users/juyushi/.kit/.kitignore
[2024-09-27 12:25:20.458] [info]  install.ts: 🌊 body: /Users/juyushi/.kit
[2024-09-27 12:25:20.458] [info]  install.ts: /Users/juyushi/.kit
[2024-09-27 12:25:20.458] [info]  install.ts: 🌊 body: kit found at /Users/juyushi/.kit
[2024-09-27 12:25:20.459] [info]  install.ts: kit found at /Users/juyushi/.kit
[2024-09-27 12:25:20.459] [info]  install.ts: 🌊 body: Cleaning previous .kit
[2024-09-27 12:25:20.459] [info]  install.ts: Cleaning previous .kit
[2024-09-27 12:25:20.459] [info]  install.ts: 🧹 Cleaning /Users/juyushi/.kit
[2024-09-27 12:25:20.459] [info]  install.ts: Cleaning Kit SDK at /Users/juyushi/.kit
[2024-09-27 12:25:21.813] [info]  install.ts: Successfully cleaned Kit SDK at /Users/juyushi/.kit
[2024-09-27 12:25:21.813] [info]  index.ts: 🧹 Cleaned previous .kit in 1354.2399160000004ms
[2024-09-27 12:25:21.823] [info]  assets.ts: Asset: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-09-27 12:25:21.823] [info]  index.ts: kitTar: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-09-27 12:25:21.823] [info]  assets.ts: Asset: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets
[2024-09-27 12:25:21.824] [info]  index.ts: fileAssets: IconTemplate.png,IconTemplate@2x-update.png,IconTemplate@2x.png,base,dev-app-update.yml,editor,entitlements.mac.plist,icon.icns,icon.png,icons,icons8-file-48.png,icons8-file-50.png,icons8-gif-48.png,icons8-image-file-24.png,kit_url_darwin_arm64.txt,language,loader.js,menu,node.txt,package.json,petite-vue.es.js,release_channel.txt,sdk-version.txt,svg,tray,version.txt,vs
[2024-09-27 12:25:21.824] [info]  assets.ts: Asset: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-09-27 12:25:21.824] [info]  index.ts: 📦 Kit file doesn't exist at /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-09-27 12:25:21.824] [info]  assets.ts: Asset: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/sdk-version.txt
[2024-09-27 12:25:21.824] [info]  install.ts: 🌊 body: Downloading Kit SDK from https://github.com/script-kit/app/releases/download/v3.1.1/Kit-SDK-macOS-3.1.1-arm64.tar.gz
[2024-09-27 12:25:21.824] [info]  install.ts: Attempting to download SDK from NPM<EMAIL_ADDRESS>[2024-09-27 12:25:21.825] [info]  Downloading<EMAIL_ADDRESS>[2024-09-27 12:25:22.137] [info]  index.ts: 🪟 did-resign-active
[2024-09-27 12:25:22.218] [verbose] 🎨 Starting menu...
[2024-09-27 12:25:22.219] [info]  assets.ts: Asset: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/menu/busy-Template.png
[2024-09-27 12:25:22.219] [info]  state.ts: 👀 Status: {"status":"busy","message":"Applying Update to SDK. Please Wait..."}
[2024-09-27 12:25:22.219] [info]  🎨 Tray status: busy
[2024-09-27 12:25:22.219] [info]  🎨 Tray icon: busy
[2024-09-27 12:25:22.219] [info]  assets.ts: Asset: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/tray/busy-Template.png
[2024-09-27 12:25:23.655] [info]  Downloaded<EMAIL_ADDRESS>[2024-09-27 12:25:23.658] [info]  install.ts: Downloaded Kit in 1833.1168340000004ms
[2024-09-27 12:25:23.658] [info]  install.ts: 🌊 body: Writing Kit SDK to /Users/juyushi/Library/Application Support/Kit/Kit-SDK-macOS-3.1.1-arm64.tar.gz
[2024-09-27 12:25:23.666] [info]  install.ts: 🌊 body: Ensuring /Users/juyushi/.kit exists
[2024-09-27 12:25:23.667] [info]  install.ts: 🌊 body: Removing /Users/juyushi/Library/Application Support/Kit/Kit-SDK-macOS-3.1.1-arm64.tar.gz
[2024-09-27 12:25:23.668] [info]  install.ts: 🌊 body: Extracting Kit SDK from /Users/juyushi/Library/Application Support/Kit/Kit-SDK-macOS-3.1.1-arm64.tar.gz to /Users/juyushi/.kit...
[2024-09-27 12:25:23.753] [info]  install.ts: 🌊 body: Installing pnpm...
[2024-09-27 12:25:23.753] [info]  install.ts: Installing pnpm...
[2024-09-27 12:25:23.768] [info]  Result of invoke: pnpm not found
[2024-09-27 12:25:23.768] [info]  Checking default pnpm paths
[2024-09-27 12:25:23.768] [info]  pnpm not found in default path
[2024-09-27 12:25:23.768] [info]  Checking PNPM_HOME environment variable
[2024-09-27 12:25:23.769] [info]  PNPM_HOME environment variable is not set
[2024-09-27 12:25:23.769] [info]  Checking common alternative locations
[2024-09-27 12:25:23.769] [info]  pnpm not found in common locations
[2024-09-27 12:25:23.769] [info]  Attempting to find pnpm in PATH
[2024-09-27 12:25:23.771] [warn]  Error while searching for pnpm in PATH: Error: Command failed: which pnpm

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:519:28)
    at Pipe.<anonymous> (node:net:339:12)
[2024-09-27 12:25:23.771] [info]  Checking for pnpm installed via npm
[2024-09-27 12:25:23.772] [warn]  Error getting npm global prefix: Error: spawn npm ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[2024-09-27 12:25:23.772] [info]  pnpm not found in npm global installation
[2024-09-27 12:25:23.772] [warn]
pnpm binary not found after exhaustive search

- Please open ~/.kenv/.env
- Add KIT_PNPM=/path/to/pnpm
- Restart Kit

[2024-09-27 12:25:23.772] [warn]  index.ts: Error: pnpm binary not found
    at findPnpmBin (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13620:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async getPnpmPath (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13627:15)
    at async initPnpm (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:30987:16)
    at async checkKit (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:31190:5)
[2024-09-27 12:25:23.773] [info]  install.ts: Starting pnpm installation...
[2024-09-27 12:25:23.773] [info]  install.ts: Installing pnpm on POSIX system...
[2024-09-27 12:25:23.773] [info]  install.ts: Running command: sh -c
      curl -fsSL https://get.pnpm.io/install.sh | sh -

[2024-09-27 12:25:23.773] [info]  install.ts: Running required setup script: sh -c
      curl -fsSL https://get.pnpm.io/install.sh | sh -

[2024-09-27 12:25:27.229] [info]  install.ts: ==> Downloading pnpm binaries 9.11.0

[2024-09-27 12:25:27.229] [info]  install.ts: 🌊 body: ==> Downloading pnpm binaries 9.11.0
[2024-09-27 12:25:48.779] [info]  install.ts: ⚠ Setup script timed out: -c
      curl -fsSL https://get.pnpm.io/install.sh | sh -

[2024-09-27 12:25:48.780] [info]  install.ts: pnpm installation completed.
[2024-09-27 12:25:48.782] [info]  install.ts: ⚠ Setup script exited with code null: -c
      curl -fsSL https://get.pnpm.io/install.sh | sh -

[2024-09-27 12:25:48.795] [info]  Result of invoke: pnpm not found
[2024-09-27 12:25:48.795] [info]  Checking default pnpm paths
[2024-09-27 12:25:48.795] [info]  pnpm not found in default path
[2024-09-27 12:25:48.795] [info]  Checking PNPM_HOME environment variable
[2024-09-27 12:25:48.795] [info]  PNPM_HOME environment variable is not set
[2024-09-27 12:25:48.795] [info]  Checking common alternative locations
[2024-09-27 12:25:48.795] [info]  pnpm not found in common locations
[2024-09-27 12:25:48.795] [info]  Attempting to find pnpm in PATH
[2024-09-27 12:25:48.797] [warn]  Error while searching for pnpm in PATH: Error: Command failed: which pnpm

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:519:28)
    at Pipe.<anonymous> (node:net:339:12)
[2024-09-27 12:25:48.797] [info]  Checking for pnpm installed via npm
[2024-09-27 12:25:48.798] [warn]  Error getting npm global prefix: Error: spawn npm ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[2024-09-27 12:25:48.798] [info]  pnpm not found in npm global installation
[2024-09-27 12:25:48.798] [warn]
pnpm binary not found after exhaustive search

- Please open ~/.kenv/.env
- Add KIT_PNPM=/path/to/pnpm
- Restart Kit

[2024-09-27 12:25:48.799] [error] index.ts: Error in app.whenReady Error: pnpm binary not found
    at findPnpmBin (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13620:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installPnpm (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:20208:21)
    at async initPnpm (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:30992:5)
    at async checkKit (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:31190:5)
[2024-09-27 12:25:48.800] [warn]  install.ts: pnpm binary not found
[2024-09-27 12:25:48.800] [warn]  install.ts: Error: pnpm binary not found
    at findPnpmBin (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13620:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installPnpm (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:20208:21)
    at async initPnpm (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:30992:5)
    at async checkKit (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:31190:5)
[2024-09-27 12:25:48.804] [info]  assets.ts: Asset: /Applications/Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-09-27 12:25:48.827] [warn]  index.ts: Error: Invalid URL
    at ohNo (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19827:11)
[2024-09-27 12:25:48.866] [info]  install.ts:  WARN  using --force I sure hope you know what you are doing

[2024-09-27 12:25:48.867] [info]  install.ts: Copying pnpm CLI from /private/var/folders/cg/0s9qv59n2wx_ywjfhz2ldyc00000gn/T/tmp.phnJVZeaYT/pnpm to /Users/juyushi/Library/pnpm/pnpm

[2024-09-27 12:25:48.867] [info]  install.ts: 🌊 body: Copying pnpm CLI from /private/var/folders/cg/0s9qv59n2wx_ywjfhz2ldyc00000gn/T/tmp.phnJVZeaYT/pnpm to /Users/juyushi/Library/pnpm/pnpm
[2024-09-27 12:25:48.914] [info]  install.ts: Appended new lines to /Users/juyushi/.zshrc

Next configuration changes were made:
export PNPM_HOME="/Users/juyushi/Library/pnpm"
case ":$PATH:" in
  *":$PNPM_HOME:"*) ;;
  *) export PATH="$PNPM_HOME:$PATH" ;;
esac

To start using pnpm, run:
source /Users/juyushi/.zshrc

[2024-09-27 12:25:48.914] [info]  install.ts: 🌊 body: Appended new lines to /Users/juyushi/.zshrc

Next configuration changes were made:
export PNPM_HOME="/Users/juyushi/Library/pnpm"
case ":$PATH:" in
  *":$PNPM_HOME:"*) ;;
  *) export PATH="$PNPM_HOME:
[2024-09-27 12:25:48.920] [info]  install.ts: ⚠ Setup script closed with code null: -c
      curl -fsSL https://get.pnpm.io/install.sh | sh -

[2024-09-27 12:25:49.336] [error] Error: Invalid URL
    at ohNo (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19827:11)
[2024-09-27 12:25:49.339] [warn]  kit.ts: Kit not ready. Ignoring prompt process: {
  scriptPath: '/Users/juyushi/.kit/cli/info.js',
  args: [
    'Error has occurred...',
    'Caught Error',
    '# Invalid URL 😅\n' +
      'Please report to our [GitHub Discussions](https://github.com/johnlindquist/kit/discussions/categories/errors)\n' +
      '\n' +
      '## Kit 3.1.1Electron 33.0.0-beta.3darwin 24.0.0Locale: en-GB\n' +
      '\n' +
      '~~~\n' +
      'Error: Invalid URL\n' +
      '    at ohNo (file:///Applications/Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19827:11)\n' +
      '~~~\n'
  ],
  options: { force: true, trigger: 'info' }
}
[2024-09-27 12:25:49.340] [info]  kit.ts: Opening main log: /Users/juyushi/Library/Logs/Kit/main.log

https://github.com/script-kit/app/releases/tag/v3.1.1
@kyen99 @burhanrashid52 That link will take you to the v3 beta releases.  Please let me know if you encounter any issues on your setups though! 🙏

@johnlindquist I installed using the macos-arm64 dmg and it worked without a hitch.

I'm still getting an error in the latest pre release version seemingly because it can't find pnpm. I'm using asdf which is probably the root of the problem, but I'm wondering if you have any ideas on what might be happening here?
I'm using this release: https://github.com/script-kit/app/releases/tag/v3.1.12
Here's my error log output:
[2024-10-03 14:13:12.826] [info]  state.ts: 📀 Stored KENV: /Users/bmarden/.kenv
[2024-10-03 14:13:12.827] [info]  state.ts: Path to kitStore: /Users/bmarden/Library/Application Support/ScriptKit/config.json
[2024-10-03 14:13:12.828] [info]

���🟢 🟢  !!!SCRIPT KIT TIME!!! 🟢 🟢 🟢
[2024-10-03 14:13:12.828] [info]  Skipping Setup? {}
[2024-10-03 14:13:12.828] [info]  update log path: /Users/bmarden/Library/Logs/ScriptKit/update.log
[2024-10-03 14:13:12.829] [info]  main log path: /Users/bmarden/Library/Logs/ScriptKit/main.log
[2024-10-03 14:13:12.829] [info]  scripts log path: /Users/bmarden/Library/Logs/ScriptKit/scripts.log
[2024-10-03 14:13:12.829] [info]  window log path: /Users/bmarden/Library/Logs/ScriptKit/window.log
[2024-10-03 14:13:12.829] [info]  kit log path: /Users/bmarden/Library/Logs/ScriptKit/kit.log
[2024-10-03 14:13:12.829] [info]  debug log path: /Users/bmarden/Library/Logs/ScriptKit/debug.log
[2024-10-03 14:13:12.829] [info]  console log path: /Users/bmarden/Library/Logs/ScriptKit/console.log
[2024-10-03 14:13:12.829] [info]  worker log path: /Users/bmarden/Library/Logs/ScriptKit/worker.log
[2024-10-03 14:13:12.829] [info]  keymap log path: /Users/bmarden/Library/Logs/ScriptKit/keymap.log
[2024-10-03 14:13:12.829] [info]  shortcuts log path: /Users/bmarden/Library/Logs/ScriptKit/shortcuts.log
[2024-10-03 14:13:12.829] [info]  watcher log path: /Users/bmarden/Library/Logs/ScriptKit/watcher.log
[2024-10-03 14:13:12.830] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-10-03 14:13:12.830] [info]  Starting search for pnpm binary
[2024-10-03 14:13:12.833] [info]  Using SHELL: /bin/zsh
[2024-10-03 14:13:12.834] [info]  index.ts: Setting up process.env
[2024-10-03 14:13:12.834] [info]  index.ts: Deleting process.env.KIT because it points to app.asar or node_modules
[2024-10-03 14:13:12.848] [info]  index.ts:
Crash reports are saved in: /Users/bmarden/Library/Application Support/ScriptKit/Crashpad

[2024-10-03 14:13:12.849] [info]  index.ts: Appending switch: ignore-certificate-errors
[2024-10-03 14:13:12.851] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-10-03 14:13:12.880] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/release_channel.txt
[2024-10-03 14:13:12.880] [info]  index.ts:
Release channel: dev
Arch: arm64
Platform: darwin
Node version: v20.17.0
Electron version: 33.0.0-beta.5
Electron Node version: 20.17.0
Electron Chromium version: 130.0.6723.19
Electron execPath: /Applications/Script Kit.app/Contents/MacOS/Script Kit
process.env.KIT: undefined
process.env.KENV: /Users/bmarden/.kenv
Kit path: /Users/bmarden/.kit
Kenv path: /Users/bmarden/.kenv

[2024-10-03 14:13:12.880] [info]  index.ts: 😎 KIT_APP_VERSION 3.1.12
[2024-10-03 14:13:13.114] [info]  ----------------------------------------
[2024-10-03 14:13:13.114] [info]  PATH BEFORE loading shellEnv: /usr/bin:/bin:/usr/sbin:/sbin
[2024-10-03 14:13:13.114] [info]  newEnv.PATH: /Users/bmarden/.local/share/asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Users/bmarden/bin:/Users/bmarden/.local/bin:/Users/bmarden/.local/share/npm/bin:/Users/bmarden/Library/Android/sdk/emulator:/Users/bmarden/Library/Android/sdk/tools:/Users/bmarden/Library/Android/sdk/tools/bin:/Users/bmarden/Library/Android/sdk/platform-tools:/Users/bmarden/Library/Android/sdk/cmdline-tools/latest/bin:/Applications/Android Studio.app/Contents/jre/Contents/Home/bin:/Users/bmarden/Library/Application Support/JetBrains/Toolbox/scripts:/Users/bmarden/.local/share/pnpm:/Users/bmarden/.bun/bin:/Users/bmarden/.dotnet/tools:/Users/bmarden/Library/pnpm:/opt/homebrew/opt/fzf/bin
[2024-10-03 14:13:13.114] [info]  Appended new path: /Users/bmarden/.local/share/asdf/shims
[2024-10-03 14:13:13.114] [info]  Appended new path: /opt/homebrew/opt/asdf/libexec/bin
[2024-10-03 14:13:13.114] [info]  Appended new path: /opt/homebrew/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /opt/homebrew/sbin
[2024-10-03 14:13:13.115] [info]  Appended new path: /usr/local/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /System/Cryptexes/App/usr/bin
[2024-10-03 14:13:13.115] [info]  Path already exists, skipping: /usr/bin
[2024-10-03 14:13:13.115] [info]  Path already exists, skipping: /bin
[2024-10-03 14:13:13.115] [info]  Path already exists, skipping: /usr/sbin
[2024-10-03 14:13:13.115] [info]  Path already exists, skipping: /sbin
[2024-10-03 14:13:13.115] [info]  Appended new path: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /Library/Apple/usr/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /usr/local/share/dotnet
[2024-10-03 14:13:13.115] [info]  Appended new path: /~/.dotnet/tools
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/.local/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/.local/share/npm/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/emulator
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/tools
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/tools/bin
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/platform-tools
[2024-10-03 14:13:13.115] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/cmdline-tools/latest/bin
[2024-10-03 14:13:13.116] [info]  Appended new path: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin
[2024-10-03 14:13:13.116] [info]  Appended new path: /Users/bmarden/Library/Application Support/JetBrains/Toolbox/scripts
[2024-10-03 14:13:13.116] [info]  Appended new path: /Users/bmarden/.local/share/pnpm
[2024-10-03 14:13:13.116] [info]  Appended new path: /Users/bmarden/.bun/bin
[2024-10-03 14:13:13.116] [info]  Appended new path: /Users/bmarden/.dotnet/tools
[2024-10-03 14:13:13.116] [info]  Appended new path: /Users/bmarden/Library/pnpm
[2024-10-03 14:13:13.116] [info]  Appended new path: /opt/homebrew/opt/fzf/bin
[2024-10-03 14:13:13.116] [info]  PATH AFTER loading shellEnv: /usr/bin:/bin:/usr/sbin:/sbin:/Users/bmarden/.local/share/asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:/~/.dotnet/tools:/Users/bmarden/bin:/Users/bmarden/.local/bin:/Users/bmarden/.local/share/npm/bin:/Users/bmarden/Library/Android/sdk/emulator:/Users/bmarden/Library/Android/sdk/tools:/Users/bmarden/Library/Android/sdk/tools/bin:/Users/bmarden/Library/Android/sdk/platform-tools:/Users/bmarden/Library/Android/sdk/cmdline-tools/latest/bin:/Applications/Android Studio.app/Contents/jre/Contents/Home/bin:/Users/bmarden/Library/Application Support/JetBrains/Toolbox/scripts:/Users/bmarden/.local/share/pnpm:/Users/bmarden/.bun/bin:/Users/bmarden/.dotnet/tools:/Users/bmarden/Library/pnpm:/opt/homebrew/opt/fzf/bin
[2024-10-03 14:13:13.116] [info]  ----------------------------------------
[2024-10-03 14:13:13.116] [info]

>>>>>>>>>> LOADING OPTIONAL LIBRARIES

[2024-10-03 14:13:13.116] [info]  Loading: @jitsi/robotjs
[2024-10-03 14:13:13.253] [info]  Loaded: @jitsi/robotjs. Available: [
  'dragMouse',        'updateScreenMetrics',
  'moveMouse',        'moveMouseSmooth',
  'getMousePos',      'mouseClick',
  'mouseToggle',      'scrollMouse',
  'setMouseDelay',    'keyTap',
  'keyToggle',        'unicodeTap',
  'typeString',       'typeStringDelayed',
  'setKeyboardDelay', 'getPixelColor',
  'getScreenSize',    'captureScreen',
  'getColor',         'getXDisplayName',
  'setXDisplayName',  'screen'
]
[2024-10-03 14:13:13.253] [info]  Loading: uiohook-napi
[2024-10-03 14:13:13.375] [info]  Loaded: uiohook-napi. Available: [
  'EventType',
  'UiohookKey',
  'WheelDirection',
  '__esModule',
  'default',
  'uIOhook'
]
[2024-10-03 14:13:13.376] [info]  Loading: node-mac-permissions
[2024-10-03 14:13:13.736] [info]  Loaded: node-mac-permissions. Available: [
  'askForAccessibilityAccess',
  'askForCalendarAccess',
  'askForCameraAccess',
  'askForContactsAccess',
  'askForFoldersAccess',
  'askForFullDiskAccess',
  'askForInputMonitoringAccess',
  'askForRemindersAccess',
  'askForMicrophoneAccess',
  'askForMusicLibraryAccess',
  'askForPhotosAccess',
  'askForSpeechRecognitionAccess',
  'askForScreenCaptureAccess',
  'getAuthStatus'
]
[2024-10-03 14:13:13.736] [info]  Loading: @johnlindquist/node-window-manager
[2024-10-03 14:13:13.854] [info]  Loaded: @johnlindquist/node-window-manager. Available: [ 'Window', 'addon', 'windowManager' ]
[2024-10-03 14:13:13.855] [info]  Loading: @johnlindquist/mac-clipboard-listener
[2024-10-03 14:13:13.977] [info]  Loaded: @johnlindquist/mac-clipboard-listener. Available: [ 'onClipboardImageChange', 'onClipboardTextChange', 'start', 'stop' ]
[2024-10-03 14:13:13.978] [info]  Loading: @johnlindquist/mac-frontmost
[2024-10-03 14:13:14.097] [info]  Loaded: @johnlindquist/mac-frontmost. Available: [ 'getFrontmostApp' ]
[2024-10-03 14:13:14.098] [info]  Loading: @johnlindquist/mac-panel-window
[2024-10-03 14:13:14.220] [info]  Loaded: @johnlindquist/mac-panel-window.  Semver match? false
[2024-10-03 14:13:16.070] [info]  install.ts: 🤔 Stored version: 0.0.0 -> Current version: 3.1.12. Semver match? false
[2024-10-03 14:13:16.071] [info]  index.ts: Requires install: true
[2024-10-03 14:13:16.071] [info]  install.ts: 🌊 body: /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: 🌊 body: kit found at /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: kit found at /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  Didn't find /Users/bmarden/.kit/.kitignore
[2024-10-03 14:13:16.071] [info]  install.ts: 🌊 body: /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: 🌊 body: kit found at /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: kit found at /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: 🌊 body: Cleaning previous .kit
[2024-10-03 14:13:16.071] [info]  install.ts: Cleaning previous .kit
[2024-10-03 14:13:16.071] [info]  install.ts: 🧹 Cleaning /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: Cleaning Kit SDK at /Users/bmarden/.kit
[2024-10-03 14:13:16.071] [info]  install.ts: 🚛 Moving old /Users/bmarden/.kit to /Users/bmarden/.kit-old-1727989996071
[2024-10-03 14:13:16.077] [info]  install.ts: Cleaning up old Kit SDK at /Users/bmarden/.kit-old-1727989996071 in the background...
[2024-10-03 14:13:16.077] [info]  install.ts: Continuing with new Kit SDK at /Users/bmarden/.kit
[2024-10-03 14:13:16.077] [info]  index.ts: 🧹 Cleaned previous .kit in 5.87433400000009ms
[2024-10-03 14:13:16.087] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-03 14:13:16.088] [info]  index.ts: kitTar: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-03 14:13:16.088] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets
[2024-10-03 14:13:16.090] [info]  index.ts: fileAssets: IconTemplate.png,IconTemplate@2x-update.png,IconTemplate@2x.png,base,dev-app-update.yml,editor,entitlements.mac.plist,icon.icns,icon.png,icons,icons8-file-48.png,icons8-file-50.png,icons8-gif-48.png,icons8-image-file-24.png,kit_url_darwin_arm64.txt,language,loader.js,menu,node.txt,package.json,petite-vue.es.js,release_channel.txt,sdk-version.txt,svg,tray,version.txt,vs
[2024-10-03 14:13:16.091] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-03 14:13:16.091] [info]  index.ts: 📦 Kit file doesn't exist at /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-03 14:13:16.091] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/sdk-version.txt
[2024-10-03 14:13:16.093] [info]  install.ts: 🌊 body: Downloading Kit SDK from https://github.com/script-kit/app/releases/download/v3.1.12/Kit-SDK-macOS-3.1.12-arm64.tar.gz
[2024-10-03 14:13:16.093] [info]  install.ts: Attempting to download SDK from NPM<EMAIL_ADDRESS>[2024-10-03 14:13:16.094] [info]  Downloading<EMAIL_ADDRESS>[2024-10-03 14:13:16.328] [info]  Downloaded<EMAIL_ADDRESS>[2024-10-03 14:13:16.328] [info]  install.ts: Downloaded Kit in<PHONE_NUMBER>0000028ms
[2024-10-03 14:13:16.329] [info]  install.ts: 🌊 body: Writing Kit SDK to /Users/bmarden/Library/Application Support/ScriptKit/Kit-SDK-macOS-3.1.12-arm64.tar.gz
[2024-10-03 14:13:16.329] [info]  install.ts: 🌊 body: Ensuring /Users/bmarden/.kit exists
[2024-10-03 14:13:16.330] [info]  install.ts: 🌊 body: Removing /Users/bmarden/Library/Application Support/ScriptKit/Kit-SDK-macOS-3.1.12-arm64.tar.gz
[2024-10-03 14:13:16.330] [info]  install.ts: 🌊 body: Extracting Kit SDK from /Users/bmarden/Library/Application Support/ScriptKit/Kit-SDK-macOS-3.1.12-arm64.tar.gz to /Users/bmarden/.kit...
[2024-10-03 14:13:16.397] [info]  prompt.ts: 99999: 📦 dom-ready
[2024-10-03 14:13:16.397] [info]  prompt.ts: 99999:1 🍀 dom-ready on __app__/splash-screen
[2024-10-03 14:13:16.397] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets
[2024-10-03 14:13:16.397] [info]  prompt.ts: 99999: did-finish-load, setting prompt user to: undefined
[2024-10-03 14:13:16.415] [info]  process.ts: 👀 No themes configured in .env. Using defaults
[2024-10-03 14:13:16.416] [info]  process.ts: 🎨 Setting theme because updateTheme() with no themePath
:root {
    --name: "Script Kit Dark";
    --appearance: dark;
    --opacity: 0.5;
    --color-text: #ffffffee;
    --color-primary: #fbbf24ee;
    --color-secondary: #ffffff;
    --color-background: #0f0f0f;
    --ui-bg-opacity: 0.08;
    --ui-border-opacity: 0.1;
    --mono-font: JetBrains Mono;
    --sans-font: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --serif-font: 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif';
}

[2024-10-03 14:13:16.416] [info]  process.ts: 🎨 Parsed theme:  {
  name: '"Script Kit Dark"',
  appearance: 'dark',
  opacity: '0.5',
  'color-text': '#ffffffee',
  'color-primary': '#fbbf24ee',
  'color-secondary': '#ffffff',
  'color-background': '#0f0f0f',
  'ui-bg-opacity': '0.08',
  'ui-border-opacity': '0.1',
  'mono-font': 'JetBrains Mono',
  'sans-font': "ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
  'serif-font': `'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'`
}
[2024-10-03 14:13:16.416] [info]  prompt.ts: 99999:1: splash-screen: did-stop-loading
[2024-10-03 14:13:16.416] [info]  prompt.ts: 99999: 👍 Ready to show
[2024-10-03 14:13:16.416] [info]  process.ts: 👀 No themes configured in .env. Using defaults
[2024-10-03 14:13:16.416] [info]  process.ts: 🎨 Setting theme because updateTheme() with no themePath
:root {
    --name: "Script Kit Dark";
    --appearance: dark;
    --opacity: 0.5;
    --color-text: #ffffffee;
    --color-primary: #fbbf24ee;
    --color-secondary: #ffffff;
    --color-background: #0f0f0f;
    --ui-bg-opacity: 0.08;
    --ui-border-opacity: 0.1;
    --mono-font: JetBrains Mono;
    --sans-font: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --serif-font: 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif';
}

[2024-10-03 14:13:16.416] [info]  process.ts: 🎨 Parsed theme:  {
  name: '"Script Kit Dark"',
  appearance: 'dark',
  opacity: '0.5',
  'color-text': '#ffffffee',
  'color-primary': '#fbbf24ee',
  'color-secondary': '#ffffff',
  'color-background': '#0f0f0f',
  'ui-bg-opacity': '0.08',
  'ui-border-opacity': '0.1',
  'mono-font': 'JetBrains Mono',
  'sans-font': "ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
  'serif-font': `'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'`
}
[2024-10-03 14:13:16.417] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/svg/logo.svg
[2024-10-03 14:13:16.417] [info]  ipc.ts: 📁 Asset path: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/svg/logo.svg
[2024-10-03 14:13:16.430] [info]  useFocus: 🏆 Focusing INPUT
[2024-10-03 14:13:16.432] [info]  useMessages.ts: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 🔑 Setting up message listeners for 0
[2024-10-03 14:13:16.432] [info]  useMessages.ts: Sending messages ready for 0 with 99999
[2024-10-03 14:13:16.433] [info]  prompt.ts: 99999: 📬 Messages ready.
[2024-10-03 14:13:16.433] [info]  install.ts: Splash screen ready
[2024-10-03 14:13:16.433] [info]  prompt.ts: 🔥 Setting prompt data: __app__/splash-screen
[2024-10-03 14:13:16.433] [info]  prompt.ts: 99999: Shortcodes:
[2024-10-03 14:13:16.433] [verbose] prompt.ts: setPromptData __app__/splash-screen
[2024-10-03 14:13:16.433] [info]  prompt.ts: 99999 Before initBounds
[2024-10-03 14:13:16.433] [info]  prompt.ts: Screen bounds: { topLeft: { x: 0, y: 38 }, bottomRight: { x: 1728, y: 1117 } }
[2024-10-03 14:13:16.433] [info]  prompt.ts: Center screen { x: 864, y: 539.5 }
[2024-10-03 14:13:16.434] [info]  prompt.ts: Window bounds: { topLeft: { x: 480, y: 173 }, bottomRight: { x: 1248, y: 653 } }
[2024-10-03 14:13:16.434] [info]  prompt.ts: Bounds: No saved bounds for __app__/splash-screen, returning default bounds { x: 480, y: 173, width: 768, height: 480, screenId: '1' }
[2024-10-03 14:13:16.434] [info]  prompt.ts: 99999:splash-screen: ↖ Init bounds: splash ui {
  currentBounds: { x: 480, y: 173, width: 768, height: 480 },
  cachedBounds: { x: 480, y: 173, width: 768, height: 480, screenId: '1' }
}
[2024-10-03 14:13:16.434] [info]  prompt.ts: 99999: 🆒 Attempt splash-screen: setBounds reason: initBounds { x: 480, y: 173, width: 768, height: 480, screenId: '1' }
[2024-10-03 14:13:16.434] [info]  prompt.ts: 99999 After initBounds
[2024-10-03 14:13:16.434] [info]  prompt.ts: undefined: visible false 👀
[2024-10-03 14:13:16.435] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets
[2024-10-03 14:13:16.435] [info]  install.ts: Sending app config to splash screen {
  delimiter: ':',
  sep: '/',
  os: 'darwin',
  isMac: true,
  isLinux: false,
  isWin: false,
  assetPath: '/Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets',
  version: '3.1.12',
  isDark: true,
  searchDebounce: false,
  termFont: 'monospace',
  url: 'https://scriptkit.com'
}
[2024-10-03 14:13:16.435] [info]  prompt.ts: 99999:1: 🚀 Prompt ready. Forcing render. hidden
[2024-10-03 14:13:16.432] [info]  App.tsx: 0: 👩💻 UI changed to: arg
[2024-10-03 14:13:16.438] [info]  useFocus: 🏆 Focusing INPUT
[2024-10-03 14:13:16.439] [info]  jotai.ts: 0: 👀 Preloaded: __app__/splash-screen false and keyword: undefined
      prevPromptData: nope
      currentPromptData: nope

[2024-10-03 14:13:16.439] [info]  jotai.ts: 0: 👂 Force input due to keyword or mainScript
[2024-10-03 14:13:16.439] [info]  jotai.ts: 👀 flagsAtom:
[2024-10-03 14:13:16.440] [info]  install.ts: Showing splash screen
[2024-10-03 14:13:16.441] [info]  prompt.ts: 99999: Received SET_PROMPT_DATA from renderer. splash Ready!
[2024-10-03 14:13:16.441] [info]  prompt.ts: 👀 Attempting to refocus prompt {
  hasBeenHidden: false,
  isVisible: true,
  isFocused: false,
  count: 0,
  ui: 'splash'
}
[2024-10-03 14:13:16.442] [info]  prompt.ts: 👍 99999: splash ready. Focusing prompt.
[2024-10-03 14:13:16.442] [info]  prompt.ts: 99999: Setting focusable to true
[2024-10-03 14:13:16.442] [info]  prompt.ts: 99999: focusPrompt
[2024-10-03 14:13:16.442] [info]  utils.ts: 1: 📌 Making panel
[2024-10-03 14:13:16.442] [info]  utils.ts: 1: 📌 Making key window
[2024-10-03 14:13:16.445] [info]  prompt.ts: 99999:splash-screen: 👓 WebContents Focus
[2024-10-03 14:13:16.440] [info]  App.tsx: Detected keyboard layout: QWERTY
[2024-10-03 14:13:16.452] [info]  ipc.ts: 🌐 Keyboard layout: {}
[2024-10-03 14:13:16.443] [info]  App.tsx: 0: 👩💻 UI changed to: splash
[2024-10-03 14:13:16.452] [info]  prompt.ts: 99999:splash-screen: 👓 Focus bounds: { x: 480, y: 173, width: 768, height: 480 }
[2024-10-03 14:13:16.452] [verbose] prompt.ts: 99999:splash-screen: 👓 Registering emoji shortcut
[2024-10-03 14:13:16.453] [info]  prompt.ts: 👆 Emoji changed: on
[2024-10-03 14:13:16.452] [info]  useMessages.ts: Received make window message
[2024-10-03 14:13:16.454] [info]  App.tsx: Detected keyboard layout: QWERTY
[2024-10-03 14:13:16.466] [info]  prompt.ts: 99999:splash-screen: 😳 Prompt window shown
[2024-10-03 14:13:16.476] [info]  install.ts: 🌊 body: Installing pnpm...
[2024-10-03 14:13:16.476] [info]  install.ts: Installing pnpm...
[2024-10-03 14:13:16.491] [verbose] useMessages.ts: 99999: 🐠 Channel.SET_THEME
:root {
    --name: "Script Kit Dark";
    --appearance: dark;
    --opacity: 0.5;
    --color-text: #ffffffee;
    --color-primary: #fbbf24ee;
    --color-secondary: #ffffff;
    --color-background: #0f0f0f;
    --ui-bg-opacity: 0.08;
    --ui-border-opacity: 0.1;
    --mono-font: JetBrains Mono;
    --sans-font: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    --serif-font: 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif';
}

[2024-10-03 14:13:16.491] [info]  jotai.ts: 🎨 Parsed theme:  dark
[2024-10-03 14:13:16.491] [info]  jotai.ts: Appearance set to: dark
[2024-10-03 14:13:16.514] [info]  Result of invoke: /Users/bmarden/.local/share/asdf/shims/pnpm
[2024-10-03 14:13:16.514] [info]  Found executable pnpm: /Users/bmarden/.local/share/asdf/shims/pnpm
[2024-10-03 14:13:16.514] [info]  Found executable pnpm with node-pty: /Users/bmarden/.local/share/asdf/shims/pnpm
[2024-10-03 14:13:16.514] [info]  Found pnpm at: /Users/bmarden/.local/share/asdf/shims/pnpm
[2024-10-03 14:13:16.514] [info]  pnpm path after removing quotes: /Users/bmarden/.local/share/asdf/shims/pnpm
[2024-10-03 14:13:16.514] [info]  pnpm path after wrapping in quotes: /Users/bmarden/.local/share/asdf/shims/pnpm
[2024-10-03 14:13:16.514] [info]  pnpm bin path: /Users/bmarden/.local/share/asdf/shims/nodejs/20.17.0/bin
[2024-10-03 14:13:16.514] [info]  pnpm bin path added to PATH: /Users/bmarden/.local/share/asdf/shims/nodejs/20.17.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/bmarden/.local/share/asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:/~/.dotnet/tools:/Users/bmarden/bin:/Users/bmarden/.local/bin:/Users/bmarden/.local/share/npm/bin:/Users/bmarden/Library/Android/sdk/emulator:/Users/bmarden/Library/Android/sdk/tools:/Users/bmarden/Library/Android/sdk/tools/bin:/Users/bmarden/Library/Android/sdk/platform-tools:/Users/bmarden/Library/Android/sdk/cmdline-tools/latest/bin:/Applications/Android Studio.app/Contents/jre/Contents/Home/bin:/Users/bmarden/Library/Application Support/JetBrains/Toolbox/scripts:/Users/bmarden/.local/share/pnpm:/Users/bmarden/.bun/bin:/Users/bmarden/.dotnet/tools:/Users/bmarden/Library/pnpm:/opt/homebrew/opt/fzf/bin
[2024-10-03 14:13:16.514] [info]  install.ts: 🌊 body: Setting node version in .npmrc...
[2024-10-03 14:13:16.514] [info]  install.ts: Setting node version in .npmrc...
[2024-10-03 14:13:16.514] [info]  index.ts: 🚶 Setting pnpm node version to 20.17.0 with /Users/bmarden/.local/share/asdf/shims/pnpm
[2024-10-03 14:13:16.515] [info]  install.ts: stdout exists
[2024-10-03 14:13:16.516] [info]  install.ts: stderr exists
[2024-10-03 14:13:16.544] [error] install.ts: stderr: unknown command: pnpm. Perhaps you have to reshim?

[2024-10-03 14:13:16.545] [error] index.ts: Error: stderr: unknown command: pnpm. Perhaps you have to reshim?

    at Socket.<anonymous> (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:20788:16)
    at Socket.emit (node:events:519:28)
    at addChunk (node:internal/streams/readable:559:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
    at Readable.push (node:internal/streams/readable:390:5)
    at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
[2024-10-03 14:13:16.546] [info]  index.ts: 🍂 Falling back to internal terminal...
[2024-10-03 14:13:16.657] [info]  io.ts: UiohookToName {
  '1': 'Escape',
  '2': '1',
  '3': '2',
  '4': '3',
  '5': '4',
  '6': '5',
  '7': '6',
  '8': '7',
  '9': '8',
  '10': '9',
  '11': '0',
  '12': '-',
  '13': '=',
  '14': 'Backspace',
  '15': 'Tab',
  '16': 'Q',
  '17': 'W',
  '18': 'E',
  '19': 'R',
  '20': 'T',
  '21': 'Y',
  '22': 'U',
  '23': 'I',
  '24': 'O',
  '25': 'P',
  '26': 'BracketLeft',
  '27': 'BracketRight',
  '28': 'Enter',
  '29': 'Ctrl',
  '30': 'A',
  '31': 'S',
  '32': 'D',
  '33': 'F',
  '34': 'G',
  '35': 'H',
  '36': 'J',
  '37': 'K',
  '38': 'L',
  '39': ';',
  '40': "'",
  '41': 'Backquote',
  '42': 'Shift',
  '43': '\\',
  '44': 'Z',
  '45': 'X',
  '46': 'C',
  '47': 'V',
  '48': 'B',
  '49': 'N',
  '50': 'M',
  '51': ',',
  '52': '.',
  '53': '/',
  '54': 'ShiftRight',
  '55': 'NumpadMultiply',
  '56': 'Alt',
  '57': 'Space',
  '58': 'CapsLock',
  '59': 'F1',
  '60': 'F2',
  '61': 'F3',
  '62': 'F4',
  '63': 'F5',
  '64': 'F6',
  '65': 'F7',
  '66': 'F8',
  '67': 'F9',
  '68': 'F10',
  '69': 'NumLock',
  '70': 'ScrollLock',
  '71': 'Numpad7',
  '72': 'Numpad8',
  '73': 'Numpad9',
  '74': 'NumpadSubtract',
  '75': 'Numpad4',
  '76': 'Numpad5',
  '77': 'Numpad6',
  '78': 'NumpadAdd',
  '79': 'Numpad1',
  '80': 'Numpad2',
  '81': 'Numpad3',
  '82': 'Numpad0',
  '83': 'NumpadDecimal',
  '87': 'F11',
  '88': 'F12',
  '91': 'F13',
  '92': 'F14',
  '93': 'F15',
  '99': 'F16',
  '100': 'F17',
  '101': 'F18',
  '102': 'F19',
  '103': 'F20',
  '104': 'F21',
  '105': 'F22',
  '106': 'F23',
  '107': 'F24',
  '3612': 'NumpadEnter',
  '3613': 'CtrlRight',
  '3637': 'NumpadDivide',
  '3639': 'PrintScreen',
  '3640': 'AltRight',
  '3655': 'Home',
  '3657': 'PageUp',
  '3663': 'End',
  '3665': 'PageDown',
  '3666': 'Insert',
  '3667': 'Delete',
  '3675': 'Meta',
  '3676': 'MetaRight',
  '57416': 'ArrowUp',
  '57419': 'ArrowLeft',
  '57421': 'ArrowRight',
  '57424': 'ArrowDown',
  '60999': 'NumpadHome',
  '61000': 'NumpadArrowUp',
  '61001': 'NumpadPageUp',
  '61003': 'NumpadArrowLeft',
  '61005': 'NumpadArrowRight',
  '61007': 'NumpadEnd',
  '61008': 'NumpadArrowDown',
  '61009': 'NumpadPageDown',
  '61010': 'NumpadInsert',
  '61011': 'NumpadDelete'
}
[2024-10-03 14:13:16.695] [info]  App.tsx: 🔍 Focused element: answer
[2024-10-03 14:13:17.439] [info]  prompt.ts: Prompt window in bounds.
[2024-10-03 14:13:18.553] [error] index.ts: Error in app.whenReady Error: Command timed out
    at Timeout._onTimeout (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13490:14)
    at listOnTimeout (node:internal/timers:581:17)
    at process.processTimers (node:internal/timers:519:7)
[2024-10-03 14:13:18.554] [warn]  install.ts: Command timed out
[2024-10-03 14:13:18.554] [warn]  install.ts: Error: Command timed out
    at Timeout._onTimeout (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13490:14)
    at listOnTimeout (node:internal/timers:581:17)
    at process.processTimers (node:internal/timers:519:7)
[2024-10-03 14:13:18.557] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-10-03 14:13:18.569] [warn]  index.ts: Error: Invalid URL
    at ohNo (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19834:11)
[2024-10-03 14:13:19.075] [error] Error: Invalid URL
    at ohNo (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19834:11)
[2024-10-03 14:13:19.076] [warn]  kit.ts: Kit not ready. Ignoring prompt process: {
  scriptPath: '/Users/bmarden/.kit/cli/info.js',
  args: [
    'Error has occurred...',
    'Caught Error',
    '# Invalid URL 😅\n' +
      'Please report to our [GitHub Discussions](https://github.com/johnlindquist/kit/discussions/categories/errors)\n' +
      '\n' +
      '## Kit 3.1.12Electron 33.0.0-beta.5darwin 24.0.0Locale: en-US\n' +
      '\n' +
      '~~~\n' +
      'Error: Invalid URL\n' +
      '    at ohNo (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19834:11)\n' +
      '~~~\n'
  ],
  options: { force: true, trigger: 'info' }
}
[2024-10-03 14:13:19.077] [info]  kit.ts: Opening main log: /Users/bmarden/Library/Logs/ScriptKit/main.log
[2024-10-03 14:13:19.098] [info]  prompt.ts: 📌 closed

Let me know if you need anything else. Thanks!

@bmarden oh, interesting.
Try this:
cd ~/.kit
pnpm i --prod
Then open Kit again. I'll look into what could be causing the asdf shim issue

Hmm, unfortunately I still get an error. Looks like it still can't find pnpm. When I run pnpm i --prod in ~/.kit it installs successfully. I used corepack to install pnpm through an asdf installed version of node so I'm wondering if it's related to that. I'm not too familiar with how corepack works with asdf so I'll look into that. Thanks for the help though!

Error log
[2024-10-04 15:30:34.182] [info]  state.ts: 📀 Stored KENV: /Users/bmarden/.kenv
[2024-10-04 15:30:34.183] [info]  state.ts: Path to kitStore: /Users/bmarden/Library/Application Support/ScriptKit/config.json
[2024-10-04 15:30:34.184] [info]
���🟢 🟢  !!!SCRIPT KIT TIME!!! 🟢 🟢 🟢
[2024-10-04 15:30:34.184] [info]  Skipping Setup? {}
[2024-10-04 15:30:34.185] [info]  update log path: /Users/bmarden/Library/Logs/ScriptKit/update.log
[2024-10-04 15:30:34.185] [info]  main log path: /Users/bmarden/Library/Logs/ScriptKit/main.log
[2024-10-04 15:30:34.185] [info]  scripts log path: /Users/bmarden/Library/Logs/ScriptKit/scripts.log
[2024-10-04 15:30:34.185] [info]  window log path: /Users/bmarden/Library/Logs/ScriptKit/window.log
[2024-10-04 15:30:34.185] [info]  kit log path: /Users/bmarden/Library/Logs/ScriptKit/kit.log
[2024-10-04 15:30:34.185] [info]  debug log path: /Users/bmarden/Library/Logs/ScriptKit/debug.log
[2024-10-04 15:30:34.185] [info]  console log path: /Users/bmarden/Library/Logs/ScriptKit/console.log
[2024-10-04 15:30:34.185] [info]  worker log path: /Users/bmarden/Library/Logs/ScriptKit/worker.log
[2024-10-04 15:30:34.185] [info]  keymap log path: /Users/bmarden/Library/Logs/ScriptKit/keymap.log
[2024-10-04 15:30:34.185] [info]  shortcuts log path: /Users/bmarden/Library/Logs/ScriptKit/shortcuts.log
[2024-10-04 15:30:34.185] [info]  watcher log path: /Users/bmarden/Library/Logs/ScriptKit/watcher.log
[2024-10-04 15:30:34.186] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-10-04 15:30:34.186] [info]  Starting search for pnpm binary
[2024-10-04 15:30:34.189] [info]  Using SHELL: /bin/zsh
[2024-10-04 15:30:34.190] [info]  index.ts: Setting up process.env
[2024-10-04 15:30:34.190] [info]  index.ts: Deleting process.env.KIT because it points to app.asar or node_modules
[2024-10-04 15:30:34.204] [info]  index.ts:
Crash reports are saved in: /Users/bmarden/Library/Application Support/ScriptKit/Crashpad
[2024-10-04 15:30:34.205] [info]  index.ts: Appending switch: ignore-certificate-errors
[2024-10-04 15:30:34.206] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-10-04 15:30:34.237] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/release_channel.txt
[2024-10-04 15:30:34.238] [info]  index.ts:
Release channel: dev
Arch: arm64
Platform: darwin
Node version: v20.17.0
Electron version: 33.0.0-beta.5
Electron Node version: 20.17.0
Electron Chromium version: 130.0.6723.19
Electron execPath: /Applications/Script Kit.app/Contents/MacOS/Script Kit
process.env.KIT: undefined
process.env.KENV: /Users/bmarden/.kenv
Kit path: /Users/bmarden/.kit
Kenv path: /Users/bmarden/.kenv
[2024-10-04 15:30:34.238] [info]  index.ts: 😎 KIT_APP_VERSION 3.1.12
[2024-10-04 15:30:34.506] [info]  ----------------------------------------
[2024-10-04 15:30:34.506] [info]  PATH BEFORE loading shellEnv: /usr/bin:/bin:/usr/sbin:/sbin
[2024-10-04 15:30:34.506] [info]  newEnv.PATH: /Users/bmarden/.local/share/asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Users/bmarden/bin:/Users/bmarden/.local/bin:/Users/bmarden/.local/share/npm/bin:/Users/bmarden/Library/Android/sdk/emulator:/Users/bmarden/Library/Android/sdk/tools:/Users/bmarden/Library/Android/sdk/tools/bin:/Users/bmarden/Library/Android/sdk/platform-tools:/Users/bmarden/Library/Android/sdk/cmdline-tools/latest/bin:/Applications/Android Studio.app/Contents/jre/Contents/Home/bin:/Users/bmarden/Library/Application Support/JetBrains/Toolbox/scripts:/Users/bmarden/.local/share/pnpm:/Users/bmarden/.bun/bin:/Users/bmarden/.dotnet/tools:/Users/bmarden/Library/pnpm:/opt/homebrew/opt/fzf/bin
[2024-10-04 15:30:34.506] [info]  Appended new path: /Users/bmarden/.local/share/asdf/shims
[2024-10-04 15:30:34.506] [info]  Appended new path: /opt/homebrew/opt/asdf/libexec/bin
[2024-10-04 15:30:34.506] [info]  Appended new path: /opt/homebrew/bin
[2024-10-04 15:30:34.506] [info]  Appended new path: /opt/homebrew/sbin
[2024-10-04 15:30:34.506] [info]  Appended new path: /usr/local/bin
[2024-10-04 15:30:34.506] [info]  Appended new path: /System/Cryptexes/App/usr/bin
[2024-10-04 15:30:34.506] [info]  Path already exists, skipping: /usr/bin
[2024-10-04 15:30:34.507] [info]  Path already exists, skipping: /bin
[2024-10-04 15:30:34.507] [info]  Path already exists, skipping: /usr/sbin
[2024-10-04 15:30:34.507] [info]  Path already exists, skipping: /sbin
[2024-10-04 15:30:34.507] [info]  Appended new path: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Library/Apple/usr/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /usr/local/share/dotnet
[2024-10-04 15:30:34.507] [info]  Appended new path: /~/.dotnet/tools
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/.local/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/.local/share/npm/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/emulator
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/tools
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/tools/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/platform-tools
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/Library/Android/sdk/cmdline-tools/latest/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/Library/Application Support/JetBrains/Toolbox/scripts
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/.local/share/pnpm
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/.bun/bin
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/.dotnet/tools
[2024-10-04 15:30:34.507] [info]  Appended new path: /Users/bmarden/Library/pnpm
[2024-10-04 15:30:34.507] [info]  Appended new path: /opt/homebrew/opt/fzf/bin
[2024-10-04 15:30:34.508] [info]  PATH AFTER loading shellEnv: /usr/bin:/bin:/usr/sbin:/sbin:/Users/bmarden/.local/share/asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/share/dotnet:/~/.dotnet/tools:/Users/bmarden/bin:/Users/bmarden/.local/bin:/Users/bmarden/.local/share/npm/bin:/Users/bmarden/Library/Android/sdk/emulator:/Users/bmarden/Library/Android/sdk/tools:/Users/bmarden/Library/Android/sdk/tools/bin:/Users/bmarden/Library/Android/sdk/platform-tools:/Users/bmarden/Library/Android/sdk/cmdline-tools/latest/bin:/Applications/Android Studio.app/Contents/jre/Contents/Home/bin:/Users/bmarden/Library/Application Support/JetBrains/Toolbox/scripts:/Users/bmarden/.local/share/pnpm:/Users/bmarden/.bun/bin:/Users/bmarden/.dotnet/tools:/Users/bmarden/Library/pnpm:/opt/homebrew/opt/fzf/bin
[2024-10-04 15:30:34.508] [info]  ----------------------------------------
[2024-10-04 15:30:34.508] [info]

LOADING OPTIONAL LIBRARIES

[2024-10-04 15:30:34.508] [info]  Loading: @jitsi/robotjs
[2024-10-04 15:30:34.646] [info]  Loaded: @jitsi/robotjs. Available: [
'dragMouse',        'updateScreenMetrics',
'moveMouse',        'moveMouseSmooth',
'getMousePos',      'mouseClick',
'mouseToggle',      'scrollMouse',
'setMouseDelay',    'keyTap',
'keyToggle',        'unicodeTap',
'typeString',       'typeStringDelayed',
'setKeyboardDelay', 'getPixelColor',
'getScreenSize',    'captureScreen',
'getColor',         'getXDisplayName',
'setXDisplayName',  'screen'
]
[2024-10-04 15:30:34.646] [info]  Loading: uiohook-napi
[2024-10-04 15:30:34.767] [info]  Loaded: uiohook-napi. Available: [
'EventType',
'UiohookKey',
'WheelDirection',
'__esModule',
'default',
'uIOhook'
]
[2024-10-04 15:30:34.768] [info]  Loading: node-mac-permissions
[2024-10-04 15:30:35.119] [info]  Loaded: node-mac-permissions. Available: [
'askForAccessibilityAccess',
'askForCalendarAccess',
'askForCameraAccess',
'askForContactsAccess',
'askForFoldersAccess',
'askForFullDiskAccess',
'askForInputMonitoringAccess',
'askForRemindersAccess',
'askForMicrophoneAccess',
'askForMusicLibraryAccess',
'askForPhotosAccess',
'askForSpeechRecognitionAccess',
'askForScreenCaptureAccess',
'getAuthStatus'
]
[2024-10-04 15:30:35.120] [info]  Loading: @johnlindquist/node-window-manager
[2024-10-04 15:30:35.242] [info]  Loaded: @johnlindquist/node-window-manager. Available: [ 'Window', 'addon', 'windowManager' ]
[2024-10-04 15:30:35.243] [info]  Loading: @johnlindquist/mac-clipboard-listener
[2024-10-04 15:30:35.365] [info]  Loaded: @johnlindquist/mac-clipboard-listener. Available: [ 'onClipboardImageChange', 'onClipboardTextChange', 'start', 'stop' ]
[2024-10-04 15:30:35.365] [info]  Loading: @johnlindquist/mac-frontmost
[2024-10-04 15:30:35.490] [info]  Loaded: @johnlindquist/mac-frontmost. Available: [ 'getFrontmostApp' ]
[2024-10-04 15:30:35.491] [info]  Loading: @johnlindquist/mac-panel-window
[2024-10-04 15:30:35.616] [info]  Loaded: @johnlindquist/mac-panel-window.  Semver match? false
[2024-10-04 15:30:37.514] [info]  install.ts: 🤔 Stored version: 0.0.0 -> Current version: 3.1.12. Semver match? false
[2024-10-04 15:30:37.515] [info]  index.ts: Requires install: true
[2024-10-04 15:30:37.515] [info]  install.ts: 🌊 body: /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: 🌊 body: kit found at /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: kit found at /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  Didn't find /Users/bmarden/.kit/.kitignore
[2024-10-04 15:30:37.515] [info]  install.ts: 🌊 body: /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: 🌊 body: kit found at /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: kit found at /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: 🌊 body: Cleaning previous .kit
[2024-10-04 15:30:37.515] [info]  install.ts: Cleaning previous .kit
[2024-10-04 15:30:37.515] [info]  install.ts: 🧹 Cleaning /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: Cleaning Kit SDK at /Users/bmarden/.kit
[2024-10-04 15:30:37.515] [info]  install.ts: 🚛 Moving old /Users/bmarden/.kit to /Users/bmarden/.kit-old-1728081037515
[2024-10-04 15:30:37.521] [info]  install.ts: Cleaning up old Kit SDK at /Users/bmarden/.kit-old-1728081037515 in the background...
[2024-10-04 15:30:37.521] [info]  install.ts: Continuing with new Kit SDK at /Users/bmarden/.kit
[2024-10-04 15:30:37.521] [info]  index.ts: 🧹 Cleaned previous .kit in 6.13550000000032ms
[2024-10-04 15:30:37.531] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-04 15:30:37.532] [info]  index.ts: kitTar: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-04 15:30:37.532] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets
[2024-10-04 15:30:37.534] [info]  index.ts: fileAssets: IconTemplate.png,IconTemplate@2x-update.png,IconTemplate@2x.png,base,dev-app-update.yml,editor,entitlements.mac.plist,icon.icns,icon.png,icons,icons8-file-48.png,icons8-file-50.png,icons8-gif-48.png,icons8-image-file-24.png,kit_url_darwin_arm64.txt,language,loader.js,menu,node.txt,package.json,petite-vue.es.js,release_channel.txt,sdk-version.txt,svg,tray,version.txt,vs
[2024-10-04 15:30:37.534] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-04 15:30:37.534] [info]  index.ts: 📦 Kit file doesn't exist at /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/kit.tar.gz
[2024-10-04 15:30:37.534] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/sdk-version.txt
[2024-10-04 15:30:37.537] [info]  install.ts: 🌊 body: Downloading Kit SDK from https://github.com/script-kit/app/releases/download/v3.1.12/Kit-SDK-macOS-3.1.12-arm64.tar.gz
[2024-10-04 15:30:37.537] [info]  install.ts: Attempting to download SDK from NPM<EMAIL_ADDRESS>[2024-10-04 15:30:37.537] [info]  Downloading<EMAIL_ADDRESS>[2024-10-04 15:30:37.837] [info]  prompt.ts: 99999: 📦 dom-ready
[2024-10-04 15:30:37.839] [info]  prompt.ts: 99999:1 🍀 dom-ready on app/splash-screen
[2024-10-04 15:30:37.840] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets
[2024-10-04 15:30:37.840] [info]  prompt.ts: 99999: did-finish-load, setting prompt user to: undefined
[2024-10-04 15:30:37.870] [info]  process.ts: 👀 No themes configured in .env. Using defaults
[2024-10-04 15:30:37.872] [info]  process.ts: 🎨 Setting theme because updateTheme() with no themePath
:root {
--name: "Script Kit Dark";
--appearance: dark;
--opacity: 0.5;
--color-text: #ffffffee;
--color-primary: #fbbf24ee;
--color-secondary: #ffffff;
--color-background: #0f0f0f;
--ui-bg-opacity: 0.08;
--ui-border-opacity: 0.1;
--mono-font: JetBrains Mono;
--sans-font: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
--serif-font: 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif';
}
[2024-10-04 15:30:37.872] [info]  process.ts: 🎨 Parsed theme:  {
name: '"Script Kit Dark"',
appearance: 'dark',
opacity: '0.5',
'color-text': '#ffffffee',
'color-primary': '#fbbf24ee',
'color-secondary': '#ffffff',
'color-background': '#0f0f0f',
'ui-bg-opacity': '0.08',
'ui-border-opacity': '0.1',
'mono-font': 'JetBrains Mono',
'sans-font': "ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
'serif-font': 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'
}
[2024-10-04 15:30:37.873] [info]  prompt.ts: 99999:1: splash-screen: did-stop-loading
[2024-10-04 15:30:37.873] [info]  prompt.ts: 99999: 👍 Ready to show
[2024-10-04 15:30:37.873] [info]  process.ts: 👀 No themes configured in .env. Using defaults
[2024-10-04 15:30:37.873] [info]  process.ts: 🎨 Setting theme because updateTheme() with no themePath
:root {
--name: "Script Kit Dark";
--appearance: dark;
--opacity: 0.5;
--color-text: #ffffffee;
--color-primary: #fbbf24ee;
--color-secondary: #ffffff;
--color-background: #0f0f0f;
--ui-bg-opacity: 0.08;
--ui-border-opacity: 0.1;
--mono-font: JetBrains Mono;
--sans-font: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
--serif-font: 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif';
}
[2024-10-04 15:30:37.873] [info]  process.ts: 🎨 Parsed theme:  {
name: '"Script Kit Dark"',
appearance: 'dark',
opacity: '0.5',
'color-text': '#ffffffee',
'color-primary': '#fbbf24ee',
'color-secondary': '#ffffff',
'color-background': '#0f0f0f',
'ui-bg-opacity': '0.08',
'ui-border-opacity': '0.1',
'mono-font': 'JetBrains Mono',
'sans-font': "ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
'serif-font': 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'
}
[2024-10-04 15:30:37.874] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/svg/logo.svg
[2024-10-04 15:30:37.874] [info]  ipc.ts: 📁 Asset path: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/svg/logo.svg
[2024-10-04 15:30:37.875] [info]  useFocus: 🏆 Focusing INPUT
[2024-10-04 15:30:37.876] [info]  useMessages.ts: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 🔑 Setting up message listeners for 0
[2024-10-04 15:30:37.877] [info]  useMessages.ts: Sending messages ready for 0 with 99999
[2024-10-04 15:30:37.877] [info]  prompt.ts: 99999: 📬 Messages ready.
[2024-10-04 15:30:37.877] [info]  install.ts: Splash screen ready
[2024-10-04 15:30:37.877] [info]  prompt.ts: 🔥 Setting prompt data: app/splash-screen
[2024-10-04 15:30:37.878] [info]  prompt.ts: 99999: Shortcodes:
[2024-10-04 15:30:37.878] [verbose] prompt.ts: setPromptData app/splash-screen
[2024-10-04 15:30:37.878] [info]  prompt.ts: 99999 Before initBounds
[2024-10-04 15:30:37.878] [info]  prompt.ts: Screen bounds: { topLeft: { x: 1728, y: 25 }, bottomRight: { x: 3648, y: 1080 } }
[2024-10-04 15:30:37.878] [info]  prompt.ts: Center screen { x: 960, y: 527.5 }
[2024-10-04 15:30:37.878] [info]  prompt.ts: Window bounds: { topLeft: { x: 2304, y: 157 }, bottomRight: { x: 3072, y: 637 } }
[2024-10-04 15:30:37.878] [info]  prompt.ts: Bounds: No saved bounds for app/splash-screen, returning default bounds { x: 2304, y: 157, width: 768, height: 480, screenId: '3' }
[2024-10-04 15:30:37.878] [info]  prompt.ts: 99999:splash-screen: ↖ Init bounds: splash ui {
currentBounds: { x: 2304, y: 157, width: 768, height: 480 },
cachedBounds: { x: 2304, y: 157, width: 768, height: 480, screenId: '3' }
}
[2024-10-04 15:30:37.879] [info]  prompt.ts: 99999: 🆒 Attempt splash-screen: setBounds reason: initBounds { x: 2304, y: 157, width: 768, height: 480, screenId: '3' }
[2024-10-04 15:30:37.879] [info]  prompt.ts: 99999 After initBounds
[2024-10-04 15:30:37.879] [info]  prompt.ts: undefined: visible false 👀
[2024-10-04 15:30:37.880] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets
[2024-10-04 15:30:37.880] [info]  install.ts: Sending app config to splash screen {
delimiter: ':',
sep: '/',
os: 'darwin',
isMac: true,
isLinux: false,
isWin: false,
assetPath: '/Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets',
version: '3.1.12',
isDark: true,
searchDebounce: false,
termFont: 'monospace',
url: 'https://scriptkit.com'
}
[2024-10-04 15:30:37.880] [info]  prompt.ts: 99999:1: 🚀 Prompt ready. Forcing render. hidden
[2024-10-04 15:30:37.877] [info]  App.tsx: 0: 👩💻 UI changed to: arg
[2024-10-04 15:30:37.882] [info]  useFocus: 🏆 Focusing INPUT
[2024-10-04 15:30:37.883] [info]  jotai.ts: 0: 👀 Preloaded: app/splash-screen false and keyword: undefined
prevPromptData: nope
currentPromptData: nope
[2024-10-04 15:30:37.883] [info]  jotai.ts: 0: 👂 Force input due to keyword or mainScript
[2024-10-04 15:30:37.883] [info]  jotai.ts: 👀 flagsAtom:
[2024-10-04 15:30:37.884] [info]  install.ts: Showing splash screen
[2024-10-04 15:30:37.886] [info]  prompt.ts: 99999: Received SET_PROMPT_DATA from renderer. splash Ready!
[2024-10-04 15:30:37.887] [info]  prompt.ts: 👀 Attempting to refocus prompt {
hasBeenHidden: false,
isVisible: true,
isFocused: false,
count: 0,
ui: 'splash'
}
[2024-10-04 15:30:37.887] [info]  prompt.ts: 👍 99999: splash ready.  Perhaps you have to reshim?
[2024-10-04 15:30:38.530] [error] index.ts: Error: stderr: unknown command: pnpm. Perhaps you have to reshim?
at Socket.<anonymous> (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:20788:16)
at Socket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)

[2024-10-04 15:30:38.531] [info]  index.ts: 🍂 Falling back to internal terminal...
[2024-10-04 15:30:38.882] [info]  prompt.ts: Prompt window in bounds.
[2024-10-04 15:30:40.539] [error] index.ts: Error in app.whenReady Error: Command timed out
at Timeout._onTimeout (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13490:14)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[2024-10-04 15:30:40.539] [warn]  install.ts: Command timed out
[2024-10-04 15:30:40.539] [warn]  install.ts: Error: Command timed out
at Timeout._onTimeout (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:13490:14)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)
[2024-10-04 15:30:40.542] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-10-04 15:30:40.553] [warn]  index.ts: Error: Invalid URL
at ohNo (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19834:11)
[2024-10-04 15:30:41.060] [error] Error: Invalid URL
at ohNo (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19834:11)
[2024-10-04 15:30:41.062] [warn]  kit.ts: Kit not ready. Ignoring prompt process: {
scriptPath: '/Users/bmarden/.kit/cli/info.js',
args: [
'Error has occurred...',
'Caught Error',
'# Invalid URL 😅\n' +
'Please report to our GitHub Discussions\n' +
'\n' +
'## Kit 3.1.12Electron 33.0.0-beta.5darwin 24.0.0Locale: en-US\n' +
'\n' +
'~\n' +
'Error: Invalid URL\n' +
'    at ohNo (file:///Applications/Script%20Kit.app/Contents/Resources/app.asar/out/main/index.mjs:19834:11)\n' +
'~\n'
],
options: { force: true, trigger: 'info' }
}
[2024-10-04 15:30:41.063] [info]  kit.ts: Opening main log: /Users/bmarden/Library/Logs/ScriptKit/main.log
[2024-10-04 15:30:41.164] [info]  prompt.ts: 📌 closed

Hi, I'm having some issues as well with v3 of ScriptKit. In my case it's the by ScriptKit globally installed pnpm, which confuses esbuild. This breaks commands related to the AWS CDK cli in my case. I didn't have this issue with v2 of ScriptKit.
Is there any way ScriptKit can install and use a local version of its dependencies, like pnpm?
This is the error output by esbuild after pnpm is installed. And it goes away as soon as I rm -rf $PNPM_HOME.
✘ [ERROR] Cannot read directory "../../../../Library/pnpm/nodejs/20.17.0/bin/node": not a directory

Thank you for an amazing utility!

@bmarden @hansgen I'll have some time to work on this tonight.
It is attempting to find/use the globally installed pnpm. @hansgen Where is your pnpm installed? which pnpm

❯ which pnpm
/Users/hansgen/Library/pnpm/pnpm

Just in case that might influence things, I'm using

zsh, oh-my-zsh and p10k
nvm
did not have pnpm installed anywhere else on the system since before

Cheers!

@hansgen Oh, so:

Script Kit works for you?
This error: ✘ [ERROR] Cannot read directory "../../../../Library/pnpm/nodejs/20.17.0/bin/node": not a directory is coming from the aws cdk cli?

Yes, Script Kit works for me. Sorry I didn't make that clear.

Yes
Because pnpm being installed (and/or it being added to PATH), other things on my system seem to break. "Other things" in this context being AWS CDK which internally uses esbuild for deploying to AWS. Specifically, the error message is from doing cdk synth or cdk deploy.

@hansgen hmm, trying to think how to handle this scenario. It uses the default pnpm install script:
https://github.com/script-kit/app/blob/main/src/main/install.ts#L588
(which is the same as https://pnpm.io/installation#on-posix-systems )
Can you remove pnpm from your ~/.zshrc or ~/.bashrc instead? Script Kit should be able to access it even if it's not loaded into the PATH

I've been doing some more investigation, and there seem to be some oddities in combination going on. The issue doesn't seem to be pnpm per se. It's Node (installed by ScriptKit) which ends up at the /pnpm/nodejs/. This Node installation is picked up by VS Code, via NODE_PATH. I worked around it with a VS Code configuration setting.
Timeline:
Before I did anything, I pulled the source code for esbuild and aws-cdk , and couldn't find anything that indicates it would behave differently just from pnpm being installed on the system or being on the PATH.
Restarting with a "clean" system, i.e. removing ~/.kenv, ~/.kit, ~/Library/pnpm/ and PNPM paths in ~/.zshrc, I start Script Kit (3.1.12) anew. Script Kit does its setup (installing pnpm, node etc)
I open a new terminal (formatted for clarity):
❯ printenv | grep node
PATH=/Users/hans/Library/pnpm:/Users/hans/.nvm/versions/node/v18.19.1/bin:/opt/homebrew/bin:/opt/homebrew/sbin: .....
NVM_BIN=/Users/hans/.nvm/versions/node/v18.19.1/bin
NVM_INC=/Users/hans/.nvm/versions/node/v18.19.1/include/node

❯ which node
/Users/hans/.nvm/versions/node/v18.19.1/bin/node

I cd to my project folder, run the cdk synth command, and it succeeds at this point.
I do code . and in its terminal I run printenv | grep node (formatted for clarity)
❯ printenv | grep node
NODE_PATH=/Users/hans/Library/pnpm/nodejs/20.17.0/bin/node

PATH=/Users/hans/.nvm/versions/node/v18.19.1/bin:/opt/homebrew/bin:/usr/local/bin:/Users/hans/Library/pnpm:/Users/hans/.nvm/versions/node/v18.19.1/bin

PATH_FROM_DOTENV=/Users/hans/.kit/bin:/Users/hans/.kit/override/code:/Users/hans/.kenv/bin:/Users/hans/Library/pnpm/nodejs/20.17.0/bin:/Users/hans/Library/pnpm:/Users/hans/.nvm/versions/node/v18.19.1/bin:/opt/homebrew/bin

KNODE=/Users/hans/.knode
NVM_BIN=/Users/hans/.nvm/versions/node/v18.19.1/bin
NVM_INC=/Users/hans/.nvm/versions/node/v18.19.1/include/node
VSCODE_INSPECTOR_OPTIONS=....

❯ which node
/Users/hans/.nvm/versions/node/v18.19.1/bin/node

cdk synth now fails
I run unset NODE_PATH
cdk synth succeeds
So, NODE_PATH being set to a different node seems to be the trigger for aws-cdk/ esbuild to fall over.
I again look at the  source code for esbuild , and it does have handling for the NODE_PATH variable.
At this point, I started troubleshooting and testing different things trying to figure out how/why/when VS Code "sets" NODE_PATH, without finding much of an answer.
Now, I start VS Code via a Script Kit script. I have a custom script that list a set of project folders, and open the selection in VS Code (love this feature). E.g.
edit('~/path/to/a/node-aws-cdk-project');

And, NODE_ENV is back. Output from the VS Code terminal.
❯ printenv | grep node
NODE_PATH=/Users/hans/Library/pnpm/nodejs/20.17.0/bin/node
...

From this point onward, NODE_PATH is defined in VS Code, regardless if I open it via Script Kit or not.
The workaround I landed on was a VS Code setting
"terminal.integrated.env.osx": {
    "NODE_PATH": null
}

Thanks for reading this far :)

@hansgen wow, amazing investigation, thank you!!! 💛💛💛
I'll investigate if the pnpm install script will allow me to target a specific dir to keep it coupled with Script Kit.
Q: When you say "Open vs code with Script Kit", are you using the "edit()" function and passing in a path to a project?
I think I can clear the env vars... but I may need to track which env vars are set by Script Kit so I don't clear all env vars. 🤔

Q: When you say "Open vs code with Script Kit", are you using the "edit()" function and passing in a path to a project?

Yep, that's right, this is a simplified script
// aws.ts
const dirs = await getDirs(['some', 'root', 'paths']);

let flags = {
	code: {
		name: 'Code',
		shortcut: 'cmd+c',
	},
	finder: {
		name: 'Finder',
		shortcut: 'cmd+n',
	},
};

const selected = await arg({
	placeholder: 'Open Project:',
	choices: dirs.map((dir) => ({
		name: dir.name,
		description: dir.path,
		value: path.join(dir.path, dir.name),
	})),
	flags,
});

} if (flag?.finder) {
	open(selected);
} else if (flag?.code) {
	openCode(selected);
} else if (other conditions) {
...
} else {
	openCode(selected);
}

function openCode(selected: string) {
	edit(selected);
}

@hansgen Does a simple hack like this fix it?
function openCode(selected: string) {
        delete process.env.NODE_PATH
	edit(selected);
}

Tried. It didn't work unfortunately. NODE_PATH is still defined in VS Code.

@hansgen Can you try this build: https://github.com/script-kit/app/releases/tag/v3.1.18
Also, make sure that NODE_PATH isn't set in your ~/.kenv/.env

Note: this will install pnpm to ~/.kit/pnpm and avoid the modification of the .zshrc that the "normal" pnpm install script does so that pnpm/node should be isolated from other apps

Hi @johnlindquist,
v3.1.18 works great. I removed NODE_PATH from ~/.kenv/.env and removed the pnpm logic in ~/.zshrc that adds it to the PATH.
I also downloaded v3.3.37 and that also works great.
Many thanks for giving this attention! And sorry for the late response.

@hansgen  Glad to hear. Thanks for following up!

@johnlindquist I haven't had any success getting Kit > 2.3.0 (incl. 3.11) running.
One time it opened a crash-report window, but before I could enter anything it crashed again.
I am using volta (https://volta.sh) as tool-manager for node.
The Volta log sais:

Volta v1.1.1

Could not find executable "pnpm"

Use `volta install` to add a package to your toolchain (see `volta help install` for more info).

Error cause: No such file or directory (os error 2)

.kenv/.env is:
KIT=/Users/andy/.kit
KENV=/Users/andy/.kenv
KIT_NODE=
KIT_NPM=
KIT_TEMPLATE=default
KIT_EDITOR=/usr/local/bin/atom

Installing pnpm fixed it at first, but after trying to open Kit again - it immediately crashed (see Kit 2.zip)

It also no longer shows in the menu-bar (is that intended?)
and just one note: CMD+; does not exist on my (german) keyboard (the semicolon there needs SHIFT - resulting in CMD+SHIFT+;)

I attached the logs before and after installing pnpm. Maybe that helps to figure out what's going on.
Kit.zip
Kit 2.zip

@tiptronic please try 3.4.5
https://github.com/script-kit/app/releases/tag/v3.4.5

@johnlindquist sorry to say, but that didn't help much...
The problem seems to be with pnmp not being detected, when installed using volta.
(I quickly checked bash_profile, bashrc and zshrc and the path to volta is properly set)
 ~ npm install -g pnpm
   note: using Volta to install pnpm
success: installed<EMAIL_ADDRESS>with executables: pnpm, pnpx

 ~ which pnpm
/Users/andy/.volta/bin/pnpm

 ~ pnpm --version
9.12.3
➜  ~

PATH for pnpm is nowhere else set
Here's what I tried:
Just running 3.4.5

When ScriptKit starts it shows an empty dialog and then crashes...

Running it again, it shows the form-fields in the dialog, then crashes...

Running it again it sais something like 'Downloading Node 20.18.9' and then it shows a success-message (below) and then it crashes....

then finally, after running it again it shows the ScriptKit-window, but that's it...

I can't click anything (well I can, but after every click ScriptKit crashes) I collected a console.log from right before crashing below

The main.log looks interesting (here's just the last bits of it - it seems it tries to install pnpm from the inside...)
That's it for now - hopefully that helps your figuring out what's going on.
[2024-10-30 16:00:00.059] [info]  assets.ts: Asset: /Applications/Script Kit.app/Contents/Resources/app.asar.unpacked/assets/icon.png
[2024-10-30 16:00:00.097] [info]  prompt.ts: 🎬 Init appearance: dark
[2024-10-30 16:00:00.097] [info]  utils.ts: 2: 📌 Setting appearance to dark
[2024-10-30 16:00:00.108] [info]  prompts.ts: 🌅 Initializing idle prompt with window id:2
[2024-10-30 16:00:00.109] [info]  prompts.ts: 🔗 Attaching idle prompt 2 to process 75791
[2024-10-30 16:00:00.109] [info]  prompt.ts: 75791 -> 2: 🔗 Binding prompt to process
[2024-10-30 16:00:00.109] [info]  process.ts: 75791: 👶 Create child Prompt process: 75791  []
[2024-10-30 16:00:00.110] [info]  process.ts: 75791: 🟢 start idle Prompt
[2024-10-30 16:00:00.113] [info]  process.ts: ✉ kitMessageMap created.
[2024-10-30 16:00:00.113] [info]  kit.ts: >>>

  75791:2: 🧤 Show and focus /Users/andy/.kit/main/index.js

  <<<
[2024-10-30 16:00:00.114] [info]  kit.ts: 75791: 🏠 Main script: /Users/andy/.kit/main/index.js
[2024-10-30 16:00:00.114] [info]  prompt.ts: Screen bounds: { topLeft: { x: 0, y: 0 }, bottomRight: { x: 2560, y: 1440 } }
[2024-10-30 16:00:00.115] [info]  prompt.ts: Center screen { x: 1280, y: 720 }
[2024-10-30 16:00:00.115] [info]  prompt.ts: Window bounds: { topLeft: { x: 896, y: 180 }, bottomRight: { x: 1664, y: 660 } }
[2024-10-30 16:00:00.115] [verbose] prompt.ts: Bounds: No UI { x: 896, y: 180, width: 768, height: 480, screenId: '458637123' }
[2024-10-30 16:00:00.116] [info]  prompt.ts: 75791: 🆒 Attempt : setBounds reason: initMainBounds { x: 896, y: 180, width: 768, height: 480, screenId: '458637123' }
[2024-10-30 16:00:00.116] [info]  prompt.ts: 75791:🎪 initShowPrompt:
[2024-10-30 16:00:00.117] [info]  prompt.ts: alwaysOnTop is disabled on mac
[2024-10-30 16:00:00.117] [info]  prompt.ts: 75791: Setting focusable to true
[2024-10-30 16:00:00.117] [info]  prompt.ts: 75791: focusPrompt
[2024-10-30 16:00:00.118] [info]  utils.ts: 2: 📌 Making panel
[2024-10-30 16:00:00.145] [info]  utils.ts: 2: 📌 Making key window
[2024-10-30 16:00:00.147] [info]  kit.ts: 75791 🐣 Alive for 0.08839312799999971s
[2024-10-30 16:00:00.150] [info]  kit.ts: 🗿 1 idles
[2024-10-30 16:00:00.151] [info]  kit.ts: 🏃♀ Run /Users/andy/.kit/main/index.js
[2024-10-30 16:00:00.183] [info]  kit.ts: findScript found main script
[2024-10-30 16:00:00.185] [info]  process.ts: 75791: SPAWN in<PHONE_NUMBER>9999977ms
[2024-10-30 16:00:00.228] [info]  process.ts: 🏃♂💨 Active process: 75791 - /Users/andy/.kit/main/index.js
[2024-10-30 16:00:00.342] [info]  prompt.ts: 75791:: 👓 WebContents Focus
[2024-10-30 16:00:00.344] [info]  prompt.ts: 75791:: 😳 Prompt window shown
[2024-10-30 16:00:00.370] [info]  prompt.ts: 75791:: 👓 Focus bounds: { x: 896, y: 180, width: 768, height: 480 }
[2024-10-30 16:00:00.370] [verbose] prompt.ts: 75791:: 👓 Registering emoji shortcut
[2024-10-30 16:00:00.371] [info]  prompts.ts: 75791: Focusing on prompt
[2024-10-30 16:00:00.371] [info]  prompt.ts: 👆 Emoji changed: on
[2024-10-30 16:00:00.410] [info]  kit.ts: 75791: 👀 visible before setScript Main
[2024-10-30 16:00:00.410] [info]  prompt.ts: 75791: Shortcodes:
[2024-10-30 16:00:00.411] [info]  search.ts: 75791: Short stats: 🗝 0 keywords, 0 shortcodes, 0 postfixes, 0 triggers
[2024-10-30 16:00:00.411] [info]  prompt.ts: 75791: 75791 setScript {
  name: 'Main',
  description: 'Script Kit',
  placeholder: 'Run script',
  uI: 'arg',
  exclude: true,
  cache: true,
  type: 'Prompt',
  id: '/Users/andy/.kit/main/index.js',
  command: 'index',
  filePath: '/Users/andy/.kit/main/index.js',
  kenv: '.kit',
  icon: '',
  needsDebugger: false
} { preloaded: 'none' }
[2024-10-30 16:00:00.412] [info]  prompt.ts: setScript done
[2024-10-30 16:00:00.412] [info]  kit.ts: 75791: 🚀 Send /Users/andy/.kit/main/index.js with  { argsWithTrigger: [ '--trigger', 'kit', '--force', 'true' ] }
[2024-10-30 16:00:00.637] [info]  install.ts: 🌊 body: Installing pnpm...
[2024-10-30 16:00:00.637] [info]  install.ts: Installing pnpm...
[2024-10-30 16:00:00.637] [info]  install.ts: 🌊

error	16:25:16.348964+0100	tccd	TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement
default	16:25:16.349891+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=4295.4, attribution={accessing={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, },
default	16:25:16.353980+0100	tccd	AUTHREQ_SUBJECT: msgID=4295.4, subject=app.scriptkit,
default	16:25:16.357707+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98d8cb5a0 at /Applications/Script Kit.app
default	16:25:17.115082+0100	runningboardd	'app<application.com.apple.systemevents.1152921500312083216.1152921500312083221(501)>' Constructed job description:
<dictionary: 0x7faff3a56040> { count = 22, transaction: 0, voucher = 0x0, contents =
	"Platform" => <int64: 0xbd30e98b8f36f5eb>: 1
	"ProcessType" => <string: 0x7faff3a21580> { length = 3, contents = "App" }
	"EnableTransactions" => <bool: 0x7ff84a5c7670>: false
	"_ManagedBy" => <string: 0x7faff3a995a0> { length = 22, contents = "com.apple.runningboard" }
	"CFBundleIdentifier" => <string: 0x7faff3a818f0> { length = 22, contents = "com.apple.systemevents" }
	"_ResourceCoalition" => <string: 0x7faff3a74520> { length = 84, contents = "app<application.com.apple.systemevents.1152921500312083216.1152921500312083221(501)>" }
	"ThrottleInterval" => <int64: 0xbd30ee7470c915eb>:<PHONE_NUMBER>
	"MachServices" => <dictionary: 0x7faff3a8c0c0> { count = 0, transaction: 0, voucher = 0x0, contents =
	}
	"EnablePressuredExit" => <bool: 0x7ff84a5c7670>: false
	"LimitLoadToSessionType" => <array: 0x7faff3a49b80> { count = 2, capacity = 8, contents =
		0: <string: 0x7faff3a90af0> { length = 4, contents = "Aqua" }
		1: <string: 0x7faff3a23a30> { length = 11, contents = "LoginWindow" }
	}
	"InitialTaskRole" => <int64: 0xbd30e98b8f36c5eb>: 2
	"EnvironmentVariables" => <dictionary: 0x7faff3a60780> { count = 19, transaction: 0, voucher = 0x0, contents =
		"__CF_USER_TEXT_ENCODING" => <string: 0x7faff3a1a080> { length = 13, contents = "0x1F5:0x0:0x0" }
		"TMPDIR" => <string: 0x7faff3a48d20> { length = 49, contents = "/var/folders/x6/5sn6068s569bdk4qjpdch_kh0000gn/T/" }
		"ORIGINAL_XDG_CURRENT_DESKTOP" => <string: 0x7faff3a11f40> { length = 9, contents = "undefined" }
		"SHELL" => <string: 0x7faff3a657f0> { length = 8, contents = "/bin/zsh" }
		"KENV" => <string: 0x7faff3a517f0> { length = 17, contents = "/Users/andy/.kenv" }
		"HOME" => <string: 0x7faff3a496e0> { length = 11, contents = "/Users/andy" }
		"NODE_VERSION" => <string: 0x7faff3a71fd0> { length = 8, contents = "v20.18.0" }
		"KIT" => <string: 0x7faff3a4b660> { length = 16, contents = "/Users/andy/.kit" }
		"ELECTRON_DISABLE_SECURITY_WARNINGS" => <string: 0x7faff3a8d5b0> { length = 4, contents = "true" }
		"KIT_NODE_PATH" => <string: 0x7faff3a7ed80> { length = 40, contents = "/Users/andy/.kit/nodejs/20.18.0/bin/node" }
		"SSH_AUTH_SOCK" => <string: 0x7faff3a94710> { length = 51, contents = "/private/tmp/com.apple.launchd.urnLU23rqP/Listeners" }
		"LOGNAME" => <string: 0x7faff3a5b610> { length = 4, contents = "andy" }
		"PATH" => <string: 0x7faff3a7dbe0> { length = 881, contents = "/Users/andy/.kit/nodejs/20.18.0/bin:/Users/andy/.kit/nodejs/20.18.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/andy/.bun/bin:/Users/andy/.volta/bin:/usr/local/sbin:/usr/local/opt/libxml2/bin:/Users/andy/dev-git/streamdeck-keycreator/build:/Users/andy/flutter/bin:/Users/andy/.node/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/Applications/Little Snitch.app/Contents/Components:/Applications/VMware Fusion.app/Contents/Public:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/andy/.cargo/bin:/Users/andy/Library/Android/sdk/tools:/Users/andy/Library/Android/sdk/platform-tools" }
		"XPC_SERVICE_NAME" => <string: 0x7faff3a1b220> { length = 45, contents = "application.app.scriptkit.819015036.819015146" }
		"__CFBundleIdentifier" => <string: 0x7faff3a91280> { length = 22, contents = "com.apple.systemevents" }
		"COMMAND_MODE" => <string: 0x7faff3a53e10> { length = 8, contents = "unix2003" }
		"USER" => <string: 0x7faff3a301d0> { length = 4, contents = "andy" }
		"MallocNanoZone" => <string: 0x7faff3a53c00> { length = 1, contents = "0" }
		"XPC_FLAGS" => <string: 0x7faff3a65cb0> { length = 3, contents = "0x0" }
	}
	"_AdditionalProperties" => <dictionary: 0x7faff3a4a360> { count = 1, transaction: 0, voucher = 0x0, contents =
		"RunningBoard" => <dictionary: 0x7faff3a5e6b0> { count = 4, transaction: 0, voucher = 0x0, contents =
			"TMPDIR" => <string: 0x7faff3a9a990> { length = 49, contents = "/var/folders/x6/5sn6068s569bdk4qjpdch_kh0000gn/T/" }
			"HOME" => <string: 0x7faff3a1beb0> { length = 11, contents = "/Users/andy" }
			"RunningBoardLaunchedIdentity" => <dictionary: 0x7faff3aa7280> { count = 5, transaction: 0, voucher = 0x0, contents =
				"AJL" => <string: 0x7faff3a6f310> { length = 74, contents = "application.com.apple.systemevents.1152921500312083216.1152921500312083221" }
				"TYPE" => <int64: 0xbd30e98b8f36f5eb>: 1
				"AUID" => <uint64: 0xbd30e98b8f29b5fb>: 501
				"EAI" => <string: 0x7faff3a60250> { length = 22, contents = "com.apple.systemevents" }
				"PLAT" => <uint64: 0xbd30e98b8f36f5fb>: 1
			}
			"RunningBoardLaunched" => <bool: 0x7ff84a5c7650>: true
		}
	}
	"ExitTimeOut" => <int64: 0xbd30e98b8f36f5eb>: 1
	"Label" => <string: 0x7faff3a552a0> { length = 74, contents = "application.com.apple.systemevents.1152921500312083216.1152921500312083221" }
	"WaitForDebugger" => <bool: 0x7ff84a5c7650>: true
	"MaterializeDatalessFiles" => <bool: 0x7ff84a5c7650>: true
	"WorkingDirectory" => <string: 0x7faff3a4deb0> { length = 1, contents = "/" }
	"_LaunchType" => <int64: 0xbd30e98b8f36d5eb>: 3
	"AbandonProcessGroup" => <bool: 0x7ff84a5c7650>: true
	"ProgramArguments" => <array: 0x7faff3a85c60> { count = 1, capacity = 8, contents =
		0: <string: 0x7faff3a82260> { length = 75, contents = "/System/Library/CoreServices/System Events.app/Contents/MacOS/System Events" }
	}
	"Program" => <string: 0x7faff3a90d50> { length = 75, contents = "/System/Library/CoreServices/System Events.app/Contents/MacOS/System Events" }
}
default	16:25:17.432163+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=182.3346, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=com.apple.osascript, pid=4761, auid=501, euid=501, binary_path=/usr/bin/osascript}, requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	16:25:17.438332+0100	tccd	AUTHREQ_SUBJECT: msgID=182.3346, subject=app.scriptkit,
default	16:25:21.388962+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=4295.5, attribution={requesting={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, },
default	16:25:21.556703+0100	tccd	AUTHREQ_SUBJECT: msgID=182.3348, subject=app.scriptkit,
default	16:25:21.761385+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=182.3349, attribution={accessing={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	16:25:21.761543+0100	tccd	requestor: TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer is checking access for accessor TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit
default	16:25:21.766000+0100	tccd	AUTHREQ_SUBJECT: msgID=182.3349, subject=app.scriptkit,
default	16:25:25.682689+0100	runningboardd	Acquiring assertion targeting [app<application.app.scriptkit.819015036.819015146(501)>:4295] from originator [osservice<com.apple.WindowServer(88)>:182] with description <RBSAssertionDescriptor| "AppDrawing" ID:192-182-194156 target:4295 attributes:[
	<RBSDomainAttribute| domain:"com.apple.appnap" name:"AppDrawing" sourceEnvironment:"(null)">,
	<RBSAcquisitionCompletionAttribute| policy:AfterApplication>
	]>
default	16:25:25.682976+0100	runningboardd	Assertion<PHONE_NUMBER>56 (target:[app<application.app.scriptkit.819015036.819015146(501)>:4295]) will be created as active
default	16:25:25.684084+0100	runningboardd	[app<application.app.scriptkit.819015036.819015146(501)>:4295] Ignoring jetsam update because this process is not memory-managed
default	16:25:25.684348+0100	runningboardd	[app<application.app.scriptkit.819015036.819015146(501)>:4295] Ignoring suspend because this process is not lifecycle managed
default	16:25:25.684581+0100	runningboardd	[app<application.app.scriptkit.819015036.819015146(501)>:4295] Ignoring GPU update because this process is not GPU managed
default	16:25:25.685250+0100	runningboardd	[app<application.app.scriptkit.819015036.819015146(501)>:4295] Ignoring memory limit update because this process is not memory-managed
default	16:25:25.760044+0100	runningboardd	Acquiring assertion targeting [app<application.app.scriptkit.819015036.819015146(501)>:4295] from originator [osservice<com.apple.WindowServer(88)>:182] with description <RBSAssertionDescriptor| "FUSBProcessWindowState: visible" ID:192-182-194159 target:4295 attributes:[
	<RBSDomainAttribute| domain:"com.apple.fuseboard" name:"Visible" sourceEnvironment:"(null)">,
	<RBSAcquisitionCompletionAttribute| policy:AfterApplication>
	]>
default	16:25:25.760416+0100	runningboardd	Assertion<PHONE_NUMBER>59 (target:[app<application.app.scriptkit.819015036.819015146(501)>:4295]) will be created as active
default	16:25:30.576272+0100	tccd	AUTHREQ_SUBJECT: msgID=139.903, subject=app.scriptkit,
default	16:25:30.578969+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fc499d72eb0 at /Applications/Script Kit.app
default	16:25:30.625529+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=139.904, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=com.apple.mdfind, pid=5054, auid=501, euid=501, binary_path=/usr/bin/mdfind}, requesting={TCCDProcess: identifier=com.apple.mds, pid=139, auid=0, euid=0, binary_path=/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds}, },
default	16:25:30.628901+0100	tccd	AUTHREQ_SUBJECT: msgID=139.904, subject=app.scriptkit,
default	16:25:30.630841+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fc499b93bd0 at /Applications/Script Kit.app
default	16:25:31.282404+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=177.1518, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=<ID of InvalidCode>, pid=5063, auid=501, euid=501<EMAIL_ADDRESS>requesting={TCCDProcess: identifier=com.apple.sandboxd, pid=177, auid=0, euid=0, binary_path=/usr/libexec/sandboxd}, },
default	16:25:31.305944+0100	tccd	AUTHREQ_SUBJECT: msgID=177.1518, subject=app.scriptkit,
default	16:25:31.309326+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb99102ae70 at /Applications/Script Kit.app
default	16:25:31.354562+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=177.1519, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=<ID of InvalidCode>, pid=5063, auid=501, euid=501<EMAIL_ADDRESS>requesting={TCCDProcess: identifier=com.apple.sandboxd, pid=177, auid=0, euid=0, binary_path=/usr/libexec/sandboxd}, },
default	16:25:31.375351+0100	tccd	AUTHREQ_SUBJECT: msgID=177.1519, subject=app.scriptkit,
default	16:25:31.378254+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fc49ca35d80 at /Applications/Script Kit.app
default	16:25:31.561489+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=5072.1, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=<ID of InvalidCode>, pid=5072, auid=501, euid=501<EMAIL_ADDRESS>},
default	16:25:31.987328+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=5079.1, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=<ID of InvalidCode>, pid=5079, auid=501, euid=501<EMAIL_ADDRESS>},
default	16:25:31.998637+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98d995330 at /Applications/Script Kit.app
default	16:25:32.055994+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=182.3352, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=<ID of InvalidCode>, pid=5079, auid=501, euid=501<EMAIL_ADDRESS>requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	16:25:32.430830+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=5086.1, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=<ID of InvalidCode>, pid=5086, auid=501, euid=501<EMAIL_ADDRESS>},
default	16:25:32.436480+0100	tccd	AUTHREQ_SUBJECT: msgID=5086.1, subject=app.scriptkit,
default	16:25:32.439865+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98db4fb40 at /Applications/Script Kit.app
default	16:25:32.498229+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=182.3353, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=<ID of InvalidCode>, pid=5086, auid=501, euid=501<EMAIL_ADDRESS>requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	16:25:33.039408+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=5095.1, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=<ID of InvalidCode>, pid=5095, auid=501, euid=501<EMAIL_ADDRESS>},
default	16:25:34.047389+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=182.3356, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=app.scriptkit.helper.Renderer, pid=4831, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/Frameworks/Script Kit Helper (Renderer).app/Contents/MacOS/Script Kit Helper (Renderer)}, requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	16:25:34.047576+0100	tccd	requestor: TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer is checking access for accessor TCCDProcess: identifier=app.scriptkit.helper.Renderer, pid=4831, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/Frameworks/Script Kit Helper (Renderer).app/Contents/MacOS/Script Kit Helper (Renderer)
default	16:25:34.189681+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98ddbcca0 at /Applications/Script Kit.app
default	16:25:34.710632+0100	tccd	AUTHREQ_SUBJECT: msgID=5116.1, subject=app.scriptkit,
default	16:25:34.714112+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98d841280 at /Applications/Script Kit.app
default	16:25:34.767251+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=182.3358, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=<ID of InvalidCode>, pid=5116, auid=501, euid=501<EMAIL_ADDRESS>requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	16:25:35.270723+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=5123.1, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=<ID of InvalidCode>, pid=5123, auid=501, euid=501<EMAIL_ADDRESS>},
default	16:25:35.277422+0100	tccd	AUTHREQ_SUBJECT: msgID=5123.1, subject=app.scriptkit,
default	16:25:35.342602+0100	tccd	AUTHREQ_SUBJECT: msgID=182.3359, subject=app.scriptkit,
default	16:25:35.346220+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98dd8e400 at /Applications/Script Kit.app
default	16:25:35.833224+0100	tccd	AUTHREQ_SUBJECT: msgID=182.3360, subject=app.scriptkit,
default	16:25:36.449601+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=182.3361, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, accessing={TCCDProcess: identifier=<ID of InvalidCode>, pid=5140, auid=501, euid=501<EMAIL_ADDRESS>requesting={TCCDProcess: identifier=com.apple.WindowServer, pid=182, auid=88, euid=88, binary_path=/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/Resources/WindowServer}, },
default	16:25:36.874839+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=5149.1, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=<ID of InvalidCode>, pid=5149, auid=501, euid=501<EMAIL_ADDRESS>},
default	16:25:37.519680+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98d8c1460 at /Applications/Script Kit.app
default	16:25:37.904932+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98de62a80 at /Applications/Script Kit.app
default	16:25:37.956882+0100	tccd	-[TCCDAccessIdentity staticCode]: static code for: identifier app.scriptkit, type: 0: 0x7fb98da1c8d0 at /Applications/Script Kit.app
default	16:25:38.381855+0100	tccd	AUTHREQ_ATTRIBUTION: msgID=5188.1, attribution={responsible={TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, responsible_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit}, requesting={TCCDProcess: identifier=<ID of InvalidCode>, pid=5188, auid=501, euid=501<EMAIL_ADDRESS>},
default	16:25:38.559956+0100	runningboardd	Invalidating assertion<PHONE_NUMBER>74 (target:[app<application.app.scriptkit.819015036.819015146(501)>:4295]) from originator [osservice<com.apple.WindowServer(88)>:182]
default	16:25:38.685590+0100	runningboardd	[app<application.app.scriptkit.819015036.819015146(501)>:4295] termination reported by launchd (2, 4, 4)

@tiptronic This is the first time I've seen the error
error	16:25:16.348964+0100	tccd	TCCDProcess: identifier=app.scriptkit, pid=4295, auid=501, euid=501, binary_path=/Applications/Script Kit.app/Contents/MacOS/Script Kit attempted to call TCCAccessRequest for kTCCServiceAccessibility without the recommended com.apple.private.tcc.manager.check-by-audit-token entitlement

Perplexity said it's an Accessibility/permissions issue when Script Kit is requesting permission:
https://www.perplexity.ai/search/what-is-this-error-JPoEOw27S.O6iD655Umetg#0
Would you be willing to try out that suggested fix?