pinokiod 8.3.13 → 8.3.14

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 (53) hide show
  1. package/kernel/agent_instructions.js +0 -1
  2. package/kernel/api/index.js +76 -12
  3. package/kernel/environment.js +1 -1
  4. package/kernel/index.js +15 -2
  5. package/kernel/plugin_sources.js +1 -1
  6. package/kernel/prototype.js +1 -1
  7. package/kernel/request_file.js +5 -14
  8. package/kernel/shell.js +12 -0
  9. package/kernel/shells.js +13 -1
  10. package/package.json +1 -1
  11. package/server/index.js +10 -5
  12. package/server/lib/agent_jobs.js +198 -0
  13. package/server/lib/agent_sessions.js +131 -0
  14. package/server/lib/brain.js +161 -91
  15. package/server/lib/content_validation.js +1 -1
  16. package/server/public/agent-bar-app.js +28 -6
  17. package/server/public/agent-bar-compose.css +675 -0
  18. package/server/public/agent-bar-compose.js +618 -0
  19. package/server/public/agent-bar-panel.css +2 -0
  20. package/server/public/agent-bar-panel.js +22 -7
  21. package/server/public/agent-bar-shell.css +38 -0
  22. package/server/public/agent-bar-shell.js +128 -34
  23. package/server/public/agent-bar.css +7 -1
  24. package/server/public/agent-bar.js +8 -1
  25. package/server/public/terminal_input_utils.js +4 -0
  26. package/server/views/app.ejs +5 -1
  27. package/server/views/partials/main_sidebar.ejs +2 -0
  28. package/system/plugin/antigravity-cli-auto/pinokio.js +44 -6
  29. package/system/plugin/claude/pinokio.js +43 -1
  30. package/system/plugin/claude-auto/pinokio.js +43 -1
  31. package/system/plugin/codex/pinokio.js +42 -1
  32. package/system/plugin/codex-auto/pinokio.js +42 -1
  33. package/system/plugin/grok/pinokio.js +1 -1
  34. package/system/plugin/grok-auto/pinokio.js +37 -10
  35. package/system/plugin/opencode/pinokio.js +24 -0
  36. package/system/plugin/opencode-auto/pinokio.js +82 -10
  37. package/test/agent-bar-compose.test.js +487 -0
  38. package/test/agent-bar-shell.test.js +149 -0
  39. package/test/agent-instructions.test.js +0 -2
  40. package/test/agent-jobs.test.js +534 -0
  41. package/test/agent-sessions.test.js +130 -0
  42. package/test/antigravity-cli-plugin.test.js +63 -18
  43. package/test/anywhere-api.test.js +1 -1
  44. package/test/anywhere-onboarding.test.js +1 -2
  45. package/test/brain.test.js +116 -69
  46. package/test/grok-plugin.test.js +2 -1
  47. package/test/opencode-plugin.test.js +7 -4
  48. package/test/plugin-action-functions.test.js +423 -0
  49. package/test/request-file.test.js +1 -12
  50. package/test/shell-log-path.test.js +64 -0
  51. package/test/shell-stop-while-starting.test.js +70 -0
  52. package/test/shells-live-error.test.js +66 -2
  53. package/test/terminal-mouse-input.test.js +12 -0
@@ -187,6 +187,18 @@ test('scrolling before a paste keeps mouse reports and arrow keys out of the tab
187
187
  assert.deepEqual(previews, ['echo [A'])
188
188
  })
189
189
 
190
+ test('bracketed paste markers stay out of the pasted and following tab previews', () => {
191
+ const { processTerminalInputData } = require('../server/public/terminal_input_utils')
192
+ const { TerminalInputTracker } = require('../server/public/terminal_input_tracker')
193
+ const tracker = new TerminalInputTracker()
194
+ const previews = []
195
+ tracker.submit = (line) => previews.push(line)
196
+ const handlers = { capture: (text) => tracker.capture(text) }
197
+ processTerminalInputData('\x1b[200~echo hello\r\x1b[201~', handlers)
198
+ processTerminalInputData('next\r', handlers)
199
+ assert.deepEqual(previews, ['echo hello', 'next'])
200
+ })
201
+
190
202
  test('at a shell prompt a finger drag is left to the terminal and sends nothing', (t) => {
191
203
  const { wheel, touch, attach, screenSize } = page(t)
192
204
  attach()