@galda/cli 0.10.85 → 0.10.86

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.
Files changed (2) hide show
  1. package/app/index.html +4 -7
  2. package/package.json +1 -1
package/app/index.html CHANGED
@@ -10860,16 +10860,13 @@ async function setProjectFolder(dir){
10860
10860
  render();
10861
10861
  } catch { say('Could not reach the engine.', true); }
10862
10862
  }
10863
- // "Open folder…" the Claude-Code way. On a LOCAL session the engine opens the
10864
- // operator's OWN native OS folder chooser (POST /api/choose-folder engine PR)
10865
- // and we point this project at the picked path. A remote/relay session can't
10866
- // (the dialog would open on the server, not the person's screen), so it falls
10867
- // back to the detected repos + typed path already in this menu.
10868
- function isLocalSession(){ return ['localhost', '127.0.0.1'].includes(location.hostname); }
10863
+ // "Open folder…" opens the native picker in the engine process and points this
10864
+ // project at the chosen path. This is also correct through the authenticated
10865
+ // relay: it forwards the request to the account owner's loopback engine, so the
10866
+ // picker opens on that owner's Mac rather than on the hosted relay.
10869
10867
  async function openFolderNative(){
10870
10868
  const msg = $('ctxdirmsg');
10871
10869
  const say = (t, bad) => { if (msg) { msg.textContent = t; msg.classList.toggle('bad', Boolean(bad)); } };
10872
- if (!isLocalSession()) { say('Open Manager locally to choose a folder on this computer.', true); return; }
10873
10870
  say('Opening the folder chooser…');
10874
10871
  try {
10875
10872
  const r = await fetch(withKey('/api/choose-folder'), { method: 'POST' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galda/cli",
3
- "version": "0.10.85",
3
+ "version": "0.10.86",
4
4
  "type": "module",
5
5
  "description": "Galda - hand off work to Claude Code or Codex, get proof back. Runs on your existing subscription, no extra API cost.",
6
6
  "scripts": {