orquesta-agent 0.2.133 → 0.2.134

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.
@@ -231,7 +231,10 @@ function renderAgents() {
231
231
  </div>
232
232
  <div class="config-row">
233
233
  <label>Sandbox</label>
234
- <span class="config-value">${a.sandbox ? 'Isolated' : 'Off'}</span>
234
+ <select id="cfg-sandbox-${a.id}" onchange="updateAgentConfig('${a.id}')">
235
+ <option value="off" ${!a.sandbox ? 'selected' : ''}>Off</option>
236
+ <option value="on" ${a.sandbox ? 'selected' : ''}>Isolated (project folder only)</option>
237
+ </select>
235
238
  </div>
236
239
  ${!isDiscovered ? `
237
240
  <div class="config-actions">
@@ -342,6 +345,8 @@ function switchAgentPanel(agentId, panel, btn) {
342
345
  async function updateAgentConfig(id) {
343
346
  const cli = document.getElementById(`cfg-cli-${id}`)?.value
344
347
  const perm = document.getElementById(`cfg-perm-${id}`)?.value
348
+ const sandboxVal = document.getElementById(`cfg-sandbox-${id}`)?.value
349
+ const sandbox = sandboxVal === 'on'
345
350
 
346
351
  if (!id.startsWith('discovered-')) {
347
352
  // Saved agent — update via API
@@ -349,7 +354,7 @@ async function updateAgentConfig(id) {
349
354
  await fetch(`${API}/agents/${id}`, {
350
355
  method: 'PUT',
351
356
  headers: { 'Content-Type': 'application/json' },
352
- body: JSON.stringify({ cliPreference: cli, permissionMode: perm })
357
+ body: JSON.stringify({ cliPreference: cli, permissionMode: perm, sandbox })
353
358
  })
354
359
  } catch {}
355
360
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orquesta-agent",
3
- "version": "0.2.133",
3
+ "version": "0.2.134",
4
4
  "description": "Local agent for Orquesta - connects your VM to the Orquesta dashboard",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",