Commit f84ffc4
feat(pai): Add --wrapper mode for VSCode extension integration
Adds a new --wrapper flag to pai.ts that enables VSCode Claude Code
extension integration by:
- Staying in current working directory (respects VSCode workspace)
- Skipping banner display (cleaner VSCode terminal)
- Skipping voice notification (inappropriate for IDE context)
- Maintaining MCP configuration support
Also adds bin/pai-wrapper executable script that can be set as the
"Claude Process Wrapper" in VSCode settings.
Usage:
VSCode Settings > Claude Code: Claude Process Wrapper
Set to: ~/.claude/bin/pai-wrapper
Co-Authored-By: Claude <noreply@anthropic.com>1 parent aca21b4 commit f84ffc4
File tree
2 files changed
+22
-7
lines changed- Releases/v2.4/.claude
- bin
- skills/CORE/Tools
2 files changed
+22
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
363 | 364 | | |
364 | 365 | | |
365 | 366 | | |
366 | | - | |
367 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
368 | 372 | | |
369 | 373 | | |
370 | 374 | | |
| |||
381 | 385 | | |
382 | 386 | | |
383 | 387 | | |
384 | | - | |
385 | | - | |
| 388 | + | |
| 389 | + | |
386 | 390 | | |
387 | 391 | | |
388 | 392 | | |
389 | | - | |
390 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
391 | 397 | | |
392 | 398 | | |
393 | 399 | | |
| |||
546 | 552 | | |
547 | 553 | | |
548 | 554 | | |
| 555 | + | |
549 | 556 | | |
550 | 557 | | |
551 | 558 | | |
| |||
600 | 607 | | |
601 | 608 | | |
602 | 609 | | |
| 610 | + | |
603 | 611 | | |
604 | 612 | | |
605 | 613 | | |
| |||
632 | 640 | | |
633 | 641 | | |
634 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
635 | 646 | | |
636 | 647 | | |
637 | 648 | | |
| |||
707 | 718 | | |
708 | 719 | | |
709 | 720 | | |
710 | | - | |
| 721 | + | |
711 | 722 | | |
712 | 723 | | |
713 | 724 | | |
| |||
0 commit comments