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.
- package/kernel/agent_instructions.js +0 -1
- package/kernel/api/index.js +76 -12
- package/kernel/environment.js +1 -1
- package/kernel/index.js +15 -2
- package/kernel/plugin_sources.js +1 -1
- package/kernel/prototype.js +1 -1
- package/kernel/request_file.js +5 -14
- package/kernel/shell.js +12 -0
- package/kernel/shells.js +13 -1
- package/package.json +1 -1
- package/server/index.js +10 -5
- package/server/lib/agent_jobs.js +198 -0
- package/server/lib/agent_sessions.js +131 -0
- package/server/lib/brain.js +161 -91
- package/server/lib/content_validation.js +1 -1
- package/server/public/agent-bar-app.js +28 -6
- package/server/public/agent-bar-compose.css +675 -0
- package/server/public/agent-bar-compose.js +618 -0
- package/server/public/agent-bar-panel.css +2 -0
- package/server/public/agent-bar-panel.js +22 -7
- package/server/public/agent-bar-shell.css +38 -0
- package/server/public/agent-bar-shell.js +128 -34
- package/server/public/agent-bar.css +7 -1
- package/server/public/agent-bar.js +8 -1
- package/server/public/terminal_input_utils.js +4 -0
- package/server/views/app.ejs +5 -1
- package/server/views/partials/main_sidebar.ejs +2 -0
- package/system/plugin/antigravity-cli-auto/pinokio.js +44 -6
- package/system/plugin/claude/pinokio.js +43 -1
- package/system/plugin/claude-auto/pinokio.js +43 -1
- package/system/plugin/codex/pinokio.js +42 -1
- package/system/plugin/codex-auto/pinokio.js +42 -1
- package/system/plugin/grok/pinokio.js +1 -1
- package/system/plugin/grok-auto/pinokio.js +37 -10
- package/system/plugin/opencode/pinokio.js +24 -0
- package/system/plugin/opencode-auto/pinokio.js +82 -10
- package/test/agent-bar-compose.test.js +487 -0
- package/test/agent-bar-shell.test.js +149 -0
- package/test/agent-instructions.test.js +0 -2
- package/test/agent-jobs.test.js +534 -0
- package/test/agent-sessions.test.js +130 -0
- package/test/antigravity-cli-plugin.test.js +63 -18
- package/test/anywhere-api.test.js +1 -1
- package/test/anywhere-onboarding.test.js +1 -2
- package/test/brain.test.js +116 -69
- package/test/grok-plugin.test.js +2 -1
- package/test/opencode-plugin.test.js +7 -4
- package/test/plugin-action-functions.test.js +423 -0
- package/test/request-file.test.js +1 -12
- package/test/shell-log-path.test.js +64 -0
- package/test/shell-stop-while-starting.test.js +70 -0
- package/test/shells-live-error.test.js +66 -2
- 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()
|