Repository navigation
Commit 0a7de0b
committed
feat: update to photon-core 1.2.0 with ask/emit pattern
- Use AskYield and EmitYield types from photon-core
- Implement switch-based handlers for all ask types
- Add createOutputHandler for emit yields
- Support text, password, confirm, select, number, date, file asks
- Handle progress, status, log, toast, thinking, stream, artifact emits1 parent 182db9c commit 0a7de0b
3 files changed
Lines changed: 223 additions & 88 deletions
Some 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 | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
0 commit comments