Commit 2bf89a3
feat: RAW_OUTPUT passthrough for DSL output() through workflow chain
When execute_plan uses output(), the data must reach the end user
without any intermediate LLM rewriting it. This commit implements
the full passthrough chain:
- parseAIResponse: extract <<<RAW_OUTPUT>>> blocks before JSON parsing,
attach as _rawOutput on the parsed output object
- workflow-check-provider: propagate _rawOutput from step outputs to
workflow-level output
- workflow-tool-executor: wrap _rawOutput in <<<RAW_OUTPUT>>> delimiters
when returning tool result, so the calling ProbeAgent extracts it
via extractRawOutputBlocks (bypassing the LLM)
- slack-frontend: append _rawOutput to rendered text so file sections
(--- filename.ext ---) get extracted and uploaded
Also updates @probelabs/probe to 0.6.0-rc245 which includes the
ProbeAgent-side change (appending output buffer with RAW_OUTPUT
delimiters for schema responses).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9d8f5f7 commit 2bf89a3
File tree
8 files changed
+565
-10
lines changed- src
- frontends
- providers
- tests/unit
8 files changed
+565
-10
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2438 | 2438 | | |
2439 | 2439 | | |
2440 | 2440 | | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
2441 | 2461 | | |
2442 | 2462 | | |
2443 | 2463 | | |
| |||
2465 | 2485 | | |
2466 | 2486 | | |
2467 | 2487 | | |
2468 | | - | |
| 2488 | + | |
2469 | 2489 | | |
2470 | 2490 | | |
2471 | 2491 | | |
| |||
2522 | 2542 | | |
2523 | 2543 | | |
2524 | 2544 | | |
2525 | | - | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
2526 | 2548 | | |
2527 | 2549 | | |
2528 | | - | |
| 2550 | + | |
2529 | 2551 | | |
2530 | 2552 | | |
2531 | 2553 | | |
| |||
2534 | 2556 | | |
2535 | 2557 | | |
2536 | 2558 | | |
2537 | | - | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
2538 | 2562 | | |
2539 | 2563 | | |
2540 | | - | |
| 2564 | + | |
2541 | 2565 | | |
2542 | 2566 | | |
2543 | 2567 | | |
| |||
2627 | 2651 | | |
2628 | 2652 | | |
2629 | 2653 | | |
| 2654 | + | |
| 2655 | + | |
| 2656 | + | |
| 2657 | + | |
| 2658 | + | |
2630 | 2659 | | |
2631 | 2660 | | |
2632 | 2661 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
532 | 537 | | |
533 | 538 | | |
534 | 539 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
869 | 890 | | |
870 | 891 | | |
871 | 892 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
246 | 260 | | |
247 | 261 | | |
248 | 262 | | |
| |||
0 commit comments