Commit ab85c1a
feat(copilot): implement copilot (#850)
* Fix autolayout v1
* Nuke tool call history
* Modal v1
* Preview v2
* more updates
* Checkpoint
* Checkpoint
* Better preview
* Big stuff
* Chat ui
* Ui
* Update
* Changes
* Increase token limit for copilot
* Preview layout fixes
* Checkpoint
* sse checkpoint
* Checkpoint
* Continuation logic
* Checkpoint
* Updates
* UPdates
* Updateds
* Cleanup
* Update
* Diff checker
* test
* Checkpoint
* Checkpoint
* Checkpoint again
* checkpoint again
* Chat box output format
* Auto open diff canvas
* Checkpoint
* Checkpoit
* Cleaning?
* Diff checkpoint
* Checkpoint
* Persist changes
* Autolayout fixces
* Color diff fixes
* Opusss
* Works??
* getting there
* Fixes?
* Fixes?
* Chat fixes
* Autolayout fixes
* Subblock update diffs
* Handle delete diffs
* Edge diffs v1
* Deletion edge diff
* It works, kinda
* Fixes
* Update
* Docs changes
* Prompt fixes and new tool
* Persist color changes
* Add serper to copilot tools
* Get env vars copilot tool
* Set env vars copilot tool
* Copilot console tool
* Promtps
* Targeted v1
* Targeted v2
* Targeted updates better
* Target fixes
* diff works??
* Diff goes away when switching workflows
* Fixes
* Edge fixes
* Remove brief error
* Lint
* Minor fix
* Add abort controller
* Prompting
* Lint
* Fix test
* Fix lint
* Update csp
* Add route to send info to sim agent
* Consolidated copilot
* First refactor complete
* Get user workflow now returns yaml
* Checkpoint
* Checkpoitn
* Works
* It works
* Hi
* Cumulative target edit
* Checkpont
* Checkpoint
* Store updates
* Checkpoitn
* Smart title generation
* Handle copilot aborts
* Clean up old copilot code
* Refactor tool names
* Checkpoint
* Remove old route
* Fix chat loading
* Scope copilot chat to workflow id
* New chat fixes
* Fix chat loading
* Update get all blocks and tools
* Make metadata better
* Update docs
* Conditional update
* Yaml refactor
* Set up yaml service client
* Yaml service migration
* Migrate diff engine to sim agent
* Refactor diff engine
* Fix autolayout problems and clean up code some more
* improvement: copilot panel ui/ux
* Lint
* Cleaning
* Fix autolayout
* Fix chat output selector
* Updated copilot
* Small update
* Checkpoint system v1
* Checkpoint ui
* Copilot ui
* Copilot ui
* Checkpoint
* Accept/reject state
* Proper tool call display name updates
* Fix tool call display updates
* Streaming quality updates?
* Abort on refresh/chat switch/workflow switch
* Abort v2g
* Perf updates
* Ui updates
* Smoother streaming
* Handle edge diffs from sim agent properly
* Enable text box while streaming, but keep send disabled
* Fix set env var route
* Add interrupt param
* Add interrupt handler
* Interrupt v1
* Interrupt ui update
* Update icons
* Ui fixes?
* Simplify get user workflow tool
* Run workflow v1
* Fix edit workflow
* Run workflow e2e v1
* Run workflow v2
* Run workflow v3
* v1 of v3, bad code, needs refactro
* Lint
* Cleaning v1?
* Checkpoitn
* Fix backend processing of status
* State updates
* Closer
* Icon update
* More updates
* Checkpoitn
* Updates
* Chat stays when tabbign
* Fix get console logss
* Markdown copilot
* Fix tool naming for build workflow
* Streaming improvements
* Use logs for copilot run workflow
* Progress
* it works?
* Fix chat loading
* Getting there
* Autoscroll to bottom of chat
* Fix icons
* Lint
* Confirm route polling
* Cleaning
* Lint
* Remove migrations
* Remove journal entry 64
* Resolve merge conflicts
* Db migration
* Fix test and lint
* Fix tsvector lint error
* Fixes
---------
Co-authored-by: Emir Karabeg <[email protected]>1 parent 9c3bcba commit ab85c1a
File tree
151 files changed
+24041
-10097
lines changed- apps
- docs/content/docs/yaml/blocks
- sim
- app
- api
- copilot
- chat
- update-messages
- checkpoints
- [id]/revert
- revert
- confirm
- methods
- tools
- blocks
- docs
- other
- user
- workflow
- docs/search
- environment/variables
- tools
- edit-workflow
- get-all-blocks
- get-blocks-metadata
- get-user-workflow
- get-yaml-structure
- workflows
- [id]
- autolayout
- state
- yaml
- yaml/convert
- yaml
- autolayout
- diff
- create
- merge
- generate
- health
- parse
- to-workflow
- chat/[subdomain]/components/message
- workspace/[workspaceId]/w
- [workflowId]
- components
- control-bar
- components/deploy-modal/components/chat-deploy
- loop-node
- panel
- components
- chat
- components
- chat-modal
- output-select
- copilot
- components
- copilot-modal
- professional-input
- professional-message
- lib/tools
- client-tools
- server-tools
- parallel-node
- workflow-block
- components/sub-block
- components
- hooks
- workflow-edge
- workflow-text-editor
- hooks
- lib
- utils
- components/ui
- db
- migrations
- meta
- executor/handlers
- condition
- evaluator
- hooks
- lib
- auth
- autolayout
- algorithms
- copilot
- environment
- sim-agent
- workflows
- diff
- providers
- anthropic
- stores
- copilot
- panel/console
- workflow-diff
- workflows
- workflow
- yaml
- tools
- blocks
- docs
- workflow
- types
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
151 files changed
+24041
-10097
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
48 | 60 | | |
49 | 61 | | |
50 | | - | |
| 62 | + | |
51 | 63 | | |
52 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
53 | 68 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 69 | + | |
58 | 70 | | |
59 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
60 | 84 | | |
61 | 85 | | |
62 | 86 | | |
| |||
99 | 123 | | |
100 | 124 | | |
101 | 125 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
106 | 134 | | |
107 | 135 | | |
108 | 136 | | |
109 | 137 | | |
110 | 138 | | |
| 139 | + | |
| 140 | + | |
111 | 141 | | |
112 | 142 | | |
113 | 143 | | |
| |||
118 | 148 | | |
119 | 149 | | |
120 | 150 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
125 | 159 | | |
126 | 160 | | |
127 | 161 | | |
| |||
142 | 176 | | |
143 | 177 | | |
144 | 178 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
152 | 192 | | |
153 | | - | |
154 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
155 | 197 | | |
156 | 198 | | |
157 | 199 | | |
158 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
159 | 229 | | |
160 | 230 | | |
161 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
162 | 292 | | |
163 | 293 | | |
164 | | - | |
165 | | - | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
166 | 297 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
171 | 422 | | |
172 | 423 | | |
173 | 424 | | |
| |||
176 | 427 | | |
177 | 428 | | |
178 | 429 | | |
179 | | - | |
| 430 | + | |
| 431 | + | |
0 commit comments