claude-simple 0.2.7 → 0.2.9

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 (59) hide show
  1. package/README.md +0 -0
  2. package/dist/app.0.2.9.min.js +1080 -0
  3. package/dist/index.html +2 -2
  4. package/dist/{style.0.2.7.min.css → style.0.2.9.min.css} +1 -1
  5. package/gateway.js +0 -0
  6. package/package.json +1 -1
  7. package/public/addon-fit.min.js +0 -0
  8. package/public/agent-panel.js +0 -0
  9. package/public/api.js +2 -0
  10. package/public/app.js +0 -0
  11. package/public/base.css +0 -0
  12. package/public/cache.js +0 -0
  13. package/public/chat.js +42 -8
  14. package/public/files.js +0 -0
  15. package/public/git.js +0 -0
  16. package/public/icons/icon-180.png +0 -0
  17. package/public/icons/icon-192.png +0 -0
  18. package/public/icons/icon-512.png +0 -0
  19. package/public/icons/icon-maskable-512.png +0 -0
  20. package/public/index.html +0 -0
  21. package/public/lib.js +0 -0
  22. package/public/manifest.webmanifest +0 -0
  23. package/public/mobile.js +0 -0
  24. package/public/notifications.js +215 -0
  25. package/public/offline.html +0 -0
  26. package/public/pwa.js +0 -0
  27. package/public/router.js +0 -0
  28. package/public/settings.js +0 -0
  29. package/public/shell/boot.js +0 -0
  30. package/public/shell/dashboard.js +46 -26
  31. package/public/shell/hub.js +0 -0
  32. package/public/shell/layout.js +2 -3
  33. package/public/shell/notes.js +0 -0
  34. package/public/shell/session-context.js +0 -0
  35. package/public/shell/session-list.js +22 -18
  36. package/public/shell/session-nav.js +18 -1
  37. package/public/shell/templates.js +18 -0
  38. package/public/shell/util.js +0 -0
  39. package/public/shell.js +24 -6
  40. package/public/state.js +64 -7
  41. package/public/style.css +0 -0
  42. package/public/sw.js +1 -1
  43. package/public/terminal.js +0 -0
  44. package/public/wake-lock.js +0 -0
  45. package/public/xterm.min.css +0 -0
  46. package/public/xterm.min.js +0 -0
  47. package/src/agents/claude.js +0 -0
  48. package/src/agents/codex.js +0 -0
  49. package/src/agents/grok.js +415 -271
  50. package/src/agents/meta-agent.js +0 -0
  51. package/src/agents/models.js +2 -1
  52. package/src/agents/sessions.js +0 -0
  53. package/src/agents/stream-batch.js +0 -0
  54. package/src/app.js +12 -2
  55. package/src/auto-update.js +0 -0
  56. package/src/runtime/approvals.js +0 -0
  57. package/src/runtime/outbox.js +0 -0
  58. package/src/runtime/protocol.js +0 -0
  59. package/dist/app.0.2.7.min.js +0 -1039
File without changes
@@ -304,7 +304,8 @@ async function discoverGrok(grokHome) {
304
304
 
305
305
  const active = models.find(m => m.value === defaultModel);
306
306
  const efforts = active?.efforts || DEFAULT_EFFORTS;
307
- const effortDefault = active?.defaultEffort || tomlSectionString(cfgText, 'models', 'default_reasoning_effort') || null;
307
+ // This UI defaults Grok reasoning effort to low.
308
+ const effortDefault = 'low';
308
309
 
309
310
  return {
310
311
  model: defaultModel,
File without changes
File without changes
package/src/app.js CHANGED
@@ -1485,8 +1485,18 @@ export function createApp() {
1485
1485
  }
1486
1486
  agentSend(data);
1487
1487
  };
1488
- await dispatchAgent(agent, cmd.command || '', options, runSend);
1489
- runOutbox.flush();
1488
+ try {
1489
+ await dispatchAgent(agent, cmd.command || '', options, runSend);
1490
+ } finally {
1491
+ // `complete` is a UI-facing agent event and is not a reliable
1492
+ // scheduling boundary (an adapter may emit it early or more than
1493
+ // once). The hub advances its Grok FIFO only after dispatchAgent has
1494
+ // actually returned from the ACP request.
1495
+ if (agent === 'grok') {
1496
+ runOutbox.send({ type: 'hub-turn-finished', agent, sessionId: runSessionId });
1497
+ }
1498
+ runOutbox.flush();
1499
+ }
1490
1500
  return;
1491
1501
  }
1492
1502
 
File without changes
File without changes
File without changes
File without changes