@getrift/rift 0.1.0-beta.23 → 0.1.0-beta.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -226,11 +226,20 @@ def sb_param(value):
226
226
  def rift_runnable():
227
227
  node = env("RIFT_NODE_BIN")
228
228
  js = env("RIFT_JS")
229
- if node and js:
230
- return [node, js]
231
229
  rift = env("RIFT_BIN")
230
+ # SwiftBar's terminal-mode command builder quotes only the shell binary
231
+ # (argv0) and joins paramN raw, so a space anywhere past argv0 fractures
232
+ # the action — and packaged installs live under "Application Support".
233
+ # Prefer the space-free shim (a self-contained launcher: it execs an
234
+ # absolute node + JS) whenever the node/JS paths carry a space; fall back
235
+ # to node+js only when they're space-free or no shim resolved.
236
+ spaced = bool(node and js) and (" " in node or " " in js)
237
+ if node and js and not spaced:
238
+ return [node, js]
232
239
  if rift:
233
240
  return [rift]
241
+ if node and js:
242
+ return [node, js]
234
243
  return None
235
244
 
236
245
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getrift/rift",
3
- "version": "0.1.0-beta.23",
3
+ "version": "0.1.0-beta.24",
4
4
  "description": "Local-first personal memory + reasoning infrastructure with an MCP interface.",
5
5
  "homepage": "https://getrift.dev",
6
6
  "license": "UNLICENSED",