Skip to content

refactor: drive tool prompt shaping through TOOL_INSTRUCTIONS_BROWSER… - #6

Open
SimolSem wants to merge 7 commits into
DmitrL-dev:mainfrom
SimolSem:tool-rework
Open

SimolSem wants to merge 7 commits into
DmitrL-dev:mainfrom
SimolSem:tool-rework

Conversation

@SimolSem

Copy link
Copy Markdown

Привесал исползование TOOL_INSTRUCTIONS_..... после всех последних правок, а то разъехалось.
Обновление важно, советую прменить..
Без него medium, light, none работает почти как full

SimolSem and others added 6 commits October 28, 2026 21:16
… modes

Drop the parallel tool_results_compact flag: cache tool-result tails pass
none, catalog upgrades pass full, and everything else follows the provider
mode. Unify Tool result rendering (id only when names collide), gate the
wire-contract block and auto tool-choice text by mode, and omit the
Assistant: cue on tool-result continuations.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ce clock

Sync setTimeout plus a non-mock now() starved the event loop until Python's 10s kill; yield on the host timer queue and bound the wait instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wait for a busy editor to become writable, and allow sites to opt into looser aria-hidden / disabled-class send rules without changing default provider behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rewrite the extracted stall slice onto private fixture clocks so CI Node builds with sticky performance/setTimeout cannot busy-spin until Python's timeout.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Tabs may attach counts-only settle metadata (late rewrite, DOM check of the previous answer) to a result. The server whitelists it per provider, writes a 'bridge settle' section to TOOLCALL_LOG and trace_report summarizes it per provider. The userscripts carry it: the observer's emitBody passes settle and a page-local answer_text, and the controller forwards settle, queues late_rewrite events and, for sites that define answerSnapshot, compares the emitted text with the rendered bubble (domCheck) and attaches dom_check to the next result. No site enables it yet. docs/BRIDGE_TRACE_STATS.ru.md explains the fields, problem criteria and how to hook a provider in.

Co-authored-by: Cursor <cursoragent@cursor.com>
@SimolSem

SimolSem commented Nov 1, 2026 •

Copy link
Copy Markdown
Author

3.9 уже недостуно, надо 3.10 минимально на ubuntu-latest

ubuntu-latest now resolves to Ubuntu 26.04, where actions/setup-python has no 3.9 build.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant