Commit a53f89b
committed
refactor: remove broken ask tool in favor of askquestion
The ask tool used Bus events that never reached the tool's subscription
due to Instance.state scoping issues. The askquestion tool (upstream PR
anomalyco#5958) uses HTTP endpoints and works correctly.
Removed:
- ask tool registration and implementation
- Question namespace schemas
- DialogQuestion UI components
- TuiEvent.QuestionRequest/Response event types
- ask.test.ts tests
Updated plan.txt to reference askquestion instead of ask.1 parent db7997b commit a53f89b
14 files changed
Lines changed: 1 addition & 1717 deletions
File tree
- packages/opencode
- src
- cli/cmd/tui
- component/dialog-question
- question
- session/prompt
- tool
- test/tool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
547 | 545 | | |
548 | 546 | | |
549 | 547 | | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | 548 | | |
600 | 549 | | |
601 | 550 | | |
| |||
Lines changed: 0 additions & 61 deletions
This file was deleted.
Lines changed: 0 additions & 203 deletions
This file was deleted.
0 commit comments