teknium1
34ba61bf67
fix(agent): paste title hint reaches the instant title and the prompt.submit contract
...
Build on #114129 (@KoNit-K), which carries a Desktop-generated large-paste
preview from the composer through `prompt.submit` -> `display_metadata` ->
turn context -> the shared title input. Two gaps closed:
- `apply_instant_title` never received the preview, so the instant title of a
paste-only opener was the generated `@file:` path — and stayed that way,
because the upgrade thread's `derive_title` fallback writes `derived`
provenance, which never replaces the `derived` title already stored.
Thread the hint into the instant stage too.
- `build_title_input` let the `@file:` ref lead when the opener was nothing
but the generated attachment ref; the preview now leads for a ref-only
opener (an instruction still leads when the user typed one).
- `prompt.submit` gains `title_preview` in the contract (regenerated shared
TS/OpenRPC); documented as title-only input in the configuration guide.
- Tests trimmed to two invariants (shared input reaches both stages; budget +
manual attachments stay unread).
2026-09-18 10:56:00 -07:00
..
2026-09-16 16:50:07 -07:00
2026-09-18 09:54:13 -07:00
2026-09-17 09:11:38 -07:00
2026-09-17 08:46:05 -07:00
2026-09-17 09:02:26 -07:00
2026-09-16 17:16:06 -07:00
2026-09-16 14:34:59 -07:00
2026-09-17 08:51:58 -07:00
2026-09-18 10:13:32 -07:00
2026-09-17 08:50:52 -07:00
2026-09-17 08:50:15 -07:00
2026-09-16 16:51:06 -07:00
2026-09-18 09:46:03 -07:00
2026-09-18 10:14:06 -07:00
2026-09-17 08:53:54 -07:00
2026-09-17 09:07:51 -07:00
2026-09-17 08:53:15 -07:00
2026-09-17 08:56:27 -07:00
2026-09-18 10:21:05 -07:00
2026-09-16 11:57:56 +05:30
2026-09-16 17:01:52 -07:00
2026-09-17 09:11:38 -07:00
2026-09-17 08:50:52 -07:00
2026-09-17 08:49:38 -07:00
2026-09-17 18:36:10 -07:00
2026-09-15 19:23:53 -07:00
2026-09-15 22:30:11 -07:00
2026-09-15 18:48:35 -07:00
2026-09-18 09:56:28 -07:00
2026-09-16 14:23:55 -07:00
2026-09-15 19:23:53 -07:00
2026-09-16 17:45:01 -07:00
2026-09-16 17:16:06 -07:00
2026-09-17 23:59:41 +05:30
2026-09-18 10:36:11 -07:00
2026-09-16 17:12:33 -07:00
2026-09-17 09:06:59 -07:00
2026-09-18 09:49:14 -07:00
2026-09-18 10:36:11 -07:00
2026-09-16 17:12:33 -07:00
2026-09-16 16:54:37 -07:00
2026-09-18 10:36:11 -07:00
2026-09-15 18:40:03 -07:00
2026-09-18 09:52:36 -07:00
2026-09-16 16:59:43 -07:00
2026-09-16 17:17:47 -07:00
2026-09-16 16:59:03 -07:00
2026-09-18 09:33:38 -07:00
2026-09-16 14:34:59 -07:00
2026-09-16 14:34:59 -07:00
2026-09-16 17:16:06 -07:00
2026-09-15 18:39:31 -07:00
2026-09-18 10:17:59 -07:00
2026-09-16 17:48:17 -07:00
2026-09-17 08:47:01 -07:00
2026-09-16 17:08:02 -07:00
2026-09-15 18:42:10 -07:00
2026-09-16 17:21:57 -07:00
2026-09-18 10:21:05 -07:00
2026-09-15 20:44:42 +05:30
2026-09-18 10:00:29 -07:00
2026-09-16 17:18:10 -07:00
2026-09-18 15:40:37 +05:30
2026-09-15 18:22:12 -07:00
2026-09-18 10:08:58 -07:00
2026-09-18 09:28:39 -07:00
2026-09-17 23:35:16 +05:30
2026-09-18 01:43:35 +05:30
2026-09-17 13:52:36 +05:30
2026-09-16 17:09:50 -07:00
2026-09-16 17:09:30 -07:00
2026-09-16 17:48:17 -07:00
2026-09-18 09:21:42 -07:00
2026-09-15 22:30:11 -07:00
2026-09-17 08:46:05 -07:00
2026-09-18 15:40:37 +05:30
2026-09-18 15:40:37 +05:30
2026-09-17 08:53:48 -07:00
2026-09-15 06:18:31 -07:00
2026-09-18 01:43:35 +05:30
2026-09-16 17:16:06 -07:00
2026-09-18 01:43:35 +05:30
2026-09-16 11:06:06 -07:00
2026-09-15 20:44:42 +05:30
2026-09-15 19:10:00 -07:00
2026-09-18 15:40:37 +05:30
2026-09-17 13:52:36 +05:30
2026-09-18 01:43:35 +05:30
2026-09-16 11:06:06 -07:00
2026-09-18 10:22:14 -07:00
2026-09-16 21:39:13 -07:00
2026-09-18 10:35:37 -07:00
2026-09-18 10:36:11 -07:00
2026-09-18 10:36:11 -07:00
2026-09-18 09:49:14 -07:00
2026-09-16 17:23:44 -07:00
2026-09-18 10:22:47 -07:00
2026-09-16 17:17:47 -07:00
2026-09-16 17:07:21 -07:00
2026-09-18 10:22:14 -07:00
2026-09-15 05:42:35 -07:00
2026-09-18 10:21:05 -07:00
2026-09-17 08:53:20 -07:00
2026-09-18 01:43:35 +05:30
2026-09-18 09:58:12 -07:00
2026-09-18 10:22:14 -07:00
2026-09-16 17:08:02 -07:00
2026-09-16 17:16:06 -07:00
2026-09-16 14:23:20 -07:00
2026-09-15 18:18:08 -07:00
2026-09-18 10:22:14 -07:00
2026-09-17 20:56:27 +05:30
2026-09-17 09:06:59 -07:00
2026-09-16 21:15:30 +05:30
2026-09-17 08:53:20 -07:00
2026-09-15 18:42:10 -07:00
2026-09-18 13:01:12 -04:00
2026-09-15 18:21:17 -07:00
2026-09-16 17:08:02 -07:00
2026-09-15 18:19:26 -07:00
2026-09-18 09:49:14 -07:00
2026-09-16 17:48:48 -07:00
2026-09-16 06:27:23 -05:00
2026-09-17 08:53:20 -07:00
2026-09-18 10:56:00 -07:00
2026-09-15 18:23:07 -07:00
2026-09-16 17:08:25 -07:00
2026-09-18 10:38:08 -07:00
2026-09-18 10:03:04 -07:00
2026-09-16 17:10:13 -07:00
2026-09-16 21:15:30 +05:30
2026-09-18 10:36:11 -07:00
2026-09-18 01:43:35 +05:30
2026-09-15 18:21:44 -07:00
2026-09-16 10:43:48 -07:00
2026-09-16 17:48:17 -07:00
2026-09-18 01:43:35 +05:30
2026-09-15 20:44:42 +05:30
2026-09-15 19:10:00 -07:00
2026-09-18 01:43:35 +05:30
2026-09-18 01:43:35 +05:30
2026-09-18 01:43:35 +05:30