@opencode/core 0.0.0-dev-19508 → 0.0.0-dev-19509
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{persistent-pty-yk9d6695.js → worktree-0940wtvk.js} +51 -51
- package/dist/chunks/{persistent-pty-tp675h11.js → worktree-0ctm8j7h.js} +55 -55
- package/dist/chunks/{persistent-pty-x2xt5fty.js → worktree-0npjq9jf.js} +2 -2
- package/dist/chunks/{persistent-pty-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-8f39y4xw.js → worktree-0tzb1dzm.js} +28 -28
- package/dist/chunks/{persistent-pty-rhraev7y.js → worktree-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-7sf6wms8.js → worktree-1dpnrefp.js} +26 -26
- package/dist/chunks/{persistent-pty-7kk61tk1.js → worktree-1fzw0h16.js} +18 -18
- package/dist/chunks/{persistent-pty-vg8k19ea.js → worktree-1smds1mj.js} +11 -11
- package/dist/chunks/{persistent-pty-b8b3f19r.js → worktree-1tjg7tvh.js} +9 -9
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → worktree-1ygqh575.js} +6 -6
- package/dist/chunks/{persistent-pty-8hxnf17y.js → worktree-215v1k75.js} +22 -22
- package/dist/chunks/{persistent-pty-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-f5qkqfms.js → worktree-2c9cavng.js} +46 -46
- package/dist/chunks/{persistent-pty-0dpda0nx.js → worktree-2dtw8x15.js} +3 -3
- package/dist/chunks/{persistent-pty-2efc4pfm.js → worktree-2j5ah8jf.js} +15 -15
- package/dist/chunks/{persistent-pty-cw8m5w0x.js → worktree-2t72zxyz.js} +3 -3
- package/dist/chunks/{persistent-pty-tn773g8e.js → worktree-339ss3x3.js} +11 -11
- package/dist/chunks/{persistent-pty-6det3y0x.js → worktree-39pb4tj2.js} +29 -29
- package/dist/chunks/{persistent-pty-h6w5vgvg.js → worktree-39z097b6.js} +39 -39
- package/dist/chunks/{persistent-pty-x9s9yqdy.js → worktree-3cdjp2z1.js} +6 -6
- package/dist/chunks/{persistent-pty-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-tw6cn0kx.js → worktree-3sdww6fp.js} +32 -32
- package/dist/chunks/{persistent-pty-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-g8n1wjt8.js → worktree-3sz5ktbs.js} +25 -25
- package/dist/chunks/{persistent-pty-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-4kgv92xd.js → worktree-40be3fby.js} +18 -18
- package/dist/chunks/{persistent-pty-06tybfx6.js → worktree-42424m2k.js} +5 -5
- package/dist/chunks/{persistent-pty-vy25vtdv.js → worktree-46947paf.js} +23 -23
- package/dist/chunks/{persistent-pty-m82b0fgf.js → worktree-4x24p3x4.js} +5 -5
- package/dist/chunks/{persistent-pty-4y66k410.js → worktree-4y66k410.js} +2 -2
- package/dist/chunks/{persistent-pty-3den1rf5.js → worktree-4zktfs0e.js} +21 -21
- package/dist/chunks/{persistent-pty-qgt0wznr.js → worktree-59h2sd9w.js} +13 -13
- package/dist/chunks/{persistent-pty-zb4p73ts.js → worktree-5cvc0nrh.js} +4 -4
- package/dist/chunks/{persistent-pty-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-ve4pfa0n.js → worktree-5q02cxx3.js} +4 -4
- package/dist/chunks/{persistent-pty-cfm9g534.js → worktree-5sdemcz3.js} +8 -8
- package/dist/chunks/{persistent-pty-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-q8vwd3nd.js → worktree-5y5thrnn.js} +20 -20
- package/dist/chunks/{persistent-pty-s4bk4abw.js → worktree-61rrve2h.js} +23 -23
- package/dist/chunks/{persistent-pty-3f2bzmyt.js → worktree-61sb7bcr.js} +9 -9
- package/dist/chunks/{persistent-pty-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-9k50aszd.js → worktree-69t96w4v.js} +29 -29
- package/dist/chunks/{persistent-pty-6xygz2r8.js → worktree-6g16d2bh.js} +5 -5
- package/dist/chunks/{persistent-pty-gsx0ryk4.js → worktree-6jnybvqn.js} +9 -9
- package/dist/chunks/{persistent-pty-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-zx5ykxc9.js → worktree-6npnztgt.js} +4 -4
- package/dist/chunks/{persistent-pty-3v8nnc6y.js → worktree-6sfzc8j3.js} +10 -10
- package/dist/chunks/{persistent-pty-8baymvr8.js → worktree-6shvhte3.js} +1 -1
- package/dist/chunks/{persistent-pty-zjs43p7d.js → worktree-6tpyx64t.js} +42 -42
- package/dist/chunks/{persistent-pty-anhnjpzq.js → worktree-6xv9zrws.js} +47 -47
- package/dist/chunks/{persistent-pty-enks4xxx.js → worktree-6ygcjmn6.js} +5 -5
- package/dist/chunks/{persistent-pty-154046h8.js → worktree-6zfbav3y.js} +14 -14
- package/dist/chunks/{persistent-pty-apvn9gva.js → worktree-6zzmvhm0.js} +24 -24
- package/dist/chunks/{persistent-pty-71q4at8m.js → worktree-71q4at8m.js} +1 -1
- package/dist/chunks/{persistent-pty-nj6dzt4x.js → worktree-721cw5cc.js} +4 -4
- package/dist/chunks/{persistent-pty-3pa9w4e5.js → worktree-73483k7j.js} +13 -13
- package/dist/chunks/{persistent-pty-73tb2d7t.js → worktree-73tb2d7t.js} +1 -1
- package/dist/chunks/{persistent-pty-k8g08nhg.js → worktree-73xy8fsw.js} +5 -5
- package/dist/chunks/{persistent-pty-2qqt1nsd.js → worktree-77nksagb.js} +16 -16
- package/dist/chunks/{persistent-pty-40ykk5rq.js → worktree-78n98qb4.js} +12 -12
- package/dist/chunks/{persistent-pty-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-sfk8hzz5.js → worktree-7gf7znvm.js} +16 -16
- package/dist/chunks/{persistent-pty-xdw78xdg.js → worktree-7m5f9412.js} +8 -8
- package/dist/chunks/{persistent-pty-ttxd2ccf.js → worktree-7x1jk2s0.js} +43 -43
- package/dist/chunks/{persistent-pty-7qfh1exc.js → worktree-7xv0edjs.js} +5 -5
- package/dist/chunks/{persistent-pty-81swgkk7.js → worktree-81swgkk7.js} +2 -2
- package/dist/chunks/{persistent-pty-915t83ht.js → worktree-84esvpjp.js} +11 -11
- package/dist/chunks/{persistent-pty-3fsh0gaz.js → worktree-86m78waa.js} +7 -7
- package/dist/chunks/{persistent-pty-t0tyq52b.js → worktree-8a649t19.js} +6 -6
- package/dist/chunks/{persistent-pty-f7w4q6me.js → worktree-8c13b1f6.js} +18 -18
- package/dist/chunks/{persistent-pty-vpbkq0tp.js → worktree-8c3x6q07.js} +9 -9
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-cabas1zx.js → worktree-8grtj0b5.js} +8 -8
- package/dist/chunks/{persistent-pty-dj2t23y0.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-56gd9531.js → worktree-8x177ym8.js} +15 -15
- package/dist/chunks/{persistent-pty-s3ycmy3r.js → worktree-97n9g1za.js} +35 -35
- package/dist/chunks/{persistent-pty-q5rhn9x0.js → worktree-9abatgz1.js} +13 -13
- package/dist/chunks/{persistent-pty-tdpndm1c.js → worktree-9w4ppqge.js} +5 -5
- package/dist/chunks/{persistent-pty-5c4hm403.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-3gqv5pt4.js → worktree-aa3dep6r.js} +15 -15
- package/dist/chunks/{persistent-pty-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-2504gt3d.js → worktree-adm5ft2x.js} +18 -18
- package/dist/chunks/{persistent-pty-n4zaccwn.js → worktree-apxk5rve.js} +29 -29
- package/dist/chunks/{persistent-pty-6e3433qf.js → worktree-aq5rptpm.js} +19 -19
- package/dist/chunks/{persistent-pty-1gz3swn9.js → worktree-asz5pcm8.js} +18 -18
- package/dist/chunks/{persistent-pty-6758qdb8.js → worktree-awhv1hxp.js} +22 -22
- package/dist/chunks/{persistent-pty-9pydy7p8.js → worktree-b0pfq9rw.js} +17 -17
- package/dist/chunks/{persistent-pty-1zcyjaqm.js → worktree-b3psc49m.js} +6 -6
- package/dist/chunks/{persistent-pty-hznavjj0.js → worktree-b46p56xf.js} +7 -7
- package/dist/chunks/{persistent-pty-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-7yfdgj8f.js → worktree-ba58znz1.js} +21 -21
- package/dist/chunks/{persistent-pty-n4r3xatb.js → worktree-baaqp4zd.js} +4 -4
- package/dist/chunks/{persistent-pty-tdtzb82r.js → worktree-bc078hx2.js} +20 -20
- package/dist/chunks/{persistent-pty-7ac170kv.js → worktree-bha4atvq.js} +4 -4
- package/dist/chunks/{persistent-pty-7q4njgnv.js → worktree-bjhqm2jc.js} +28 -28
- package/dist/chunks/{persistent-pty-3snfyfpy.js → worktree-bxss1q04.js} +33 -33
- package/dist/chunks/{persistent-pty-mhnt32v1.js → worktree-cafdv0ym.js} +9 -9
- package/dist/chunks/{persistent-pty-magykp64.js → worktree-cavr175a.js} +4 -4
- package/dist/chunks/{persistent-pty-h9nwmjzt.js → worktree-cbbnw05y.js} +17 -17
- package/dist/chunks/{persistent-pty-07zwjyy6.js → worktree-cfk5fh02.js} +13 -13
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-fhnehbw5.js → worktree-csayd5d3.js} +1 -1
- package/dist/chunks/{persistent-pty-c81ww30d.js → worktree-csebhh29.js} +9 -9
- package/dist/chunks/{persistent-pty-zesek9va.js → worktree-cx7w19tq.js} +10 -10
- package/dist/chunks/{persistent-pty-qwktr7mg.js → worktree-d807hzdp.js} +32 -32
- package/dist/chunks/{persistent-pty-kava7r05.js → worktree-dbyd747x.js} +6 -6
- package/dist/chunks/{persistent-pty-bck43prn.js → worktree-ddyp6dwd.js} +23 -23
- package/dist/chunks/{persistent-pty-2y518tma.js → worktree-dvgdgw3v.js} +11 -11
- package/dist/chunks/worktree-dxj72tfx.js +18 -0
- package/dist/chunks/{persistent-pty-hjt4xg1x.js → worktree-e82z9tr0.js} +7 -7
- package/dist/chunks/{persistent-pty-s8d7rejh.js → worktree-eaj1djv9.js} +6 -6
- package/dist/chunks/{persistent-pty-thbdkye2.js → worktree-eb2th8mh.js} +27 -27
- package/dist/chunks/{persistent-pty-e9cy62py.js → worktree-ebc7h8jh.js} +4 -4
- package/dist/chunks/{persistent-pty-jfqtm2ew.js → worktree-edrmdtr5.js} +7 -7
- package/dist/chunks/{persistent-pty-mp733p07.js → worktree-ej5ddtfv.js} +5 -5
- package/dist/chunks/{persistent-pty-e6h7j64h.js → worktree-ejdkdwzs.js} +4 -4
- package/dist/chunks/{persistent-pty-y81yzj42.js → worktree-ert0es5w.js} +46 -46
- package/dist/chunks/{persistent-pty-pahz8e0w.js → worktree-et0ngb76.js} +8 -8
- package/dist/chunks/{persistent-pty-65wkgmh5.js → worktree-etbytr9f.js} +22 -22
- package/dist/chunks/{persistent-pty-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-s2zxn96c.js → worktree-ewt4vtrb.js} +31 -31
- package/dist/chunks/{persistent-pty-1nfpt5r1.js → worktree-f1mdy5hp.js} +1 -1
- package/dist/chunks/{persistent-pty-b7bw3hr1.js → worktree-f3m2n1aw.js} +17 -17
- package/dist/chunks/{persistent-pty-wsmhkxds.js → worktree-f59qb7z8.js} +11 -11
- package/dist/chunks/{persistent-pty-hdnk95c8.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-adbnwx63.js → worktree-fmskcfx8.js} +15 -15
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-p1afpxvg.js → worktree-g0rx3fxn.js} +93 -93
- package/dist/chunks/{persistent-pty-1sa0r58s.js → worktree-g2ww2bbh.js} +16 -16
- package/dist/chunks/{persistent-pty-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-hnc9qj7b.js → worktree-gda53zk6.js} +12 -12
- package/dist/chunks/{persistent-pty-3fc6dm20.js → worktree-gdvy8fx6.js} +4 -4
- package/dist/chunks/{persistent-pty-510m7gjw.js → worktree-gg7pg1rj.js} +5 -5
- package/dist/chunks/{persistent-pty-c8a77b8b.js → worktree-gm9ea5b0.js} +20 -20
- package/dist/chunks/{persistent-pty-tdpb0dc4.js → worktree-gsa99s6r.js} +11 -11
- package/dist/chunks/{persistent-pty-wsphynk5.js → worktree-gzswxrvt.js} +43 -43
- package/dist/chunks/{persistent-pty-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
- package/dist/chunks/{persistent-pty-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-rbvfjwrk.js → worktree-h7n6nt9k.js} +8 -8
- package/dist/chunks/{persistent-pty-bqtkya02.js → worktree-ha84e8c9.js} +24 -24
- package/dist/chunks/{persistent-pty-s363er1w.js → worktree-hbe7nj0x.js} +37 -37
- package/dist/chunks/{persistent-pty-hhyycrpc.js → worktree-hbymah4p.js} +35 -35
- package/dist/chunks/{persistent-pty-4tj561sw.js → worktree-j47svp76.js} +11 -11
- package/dist/chunks/{persistent-pty-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-7w99qc9d.js → worktree-j7wq2tw5.js} +3 -3
- package/dist/chunks/{persistent-pty-9pm6y0s1.js → worktree-jdh6s7jq.js} +8 -8
- package/dist/chunks/{persistent-pty-nfx2f6hr.js → worktree-jn9etapn.js} +20 -20
- package/dist/chunks/{persistent-pty-3jm4qh1z.js → worktree-jnkjkfmr.js} +35 -35
- package/dist/chunks/{persistent-pty-r1spfp0h.js → worktree-jv2bdre8.js} +4 -4
- package/dist/chunks/{persistent-pty-d99y5ch1.js → worktree-ka3v088s.js} +9 -9
- package/dist/chunks/{persistent-pty-kg06axw8.js → worktree-kg06axw8.js} +1 -1
- package/dist/chunks/{persistent-pty-ebah8r6x.js → worktree-m2manvsf.js} +6 -6
- package/dist/chunks/{persistent-pty-dpwk168w.js → worktree-m33rf8wm.js} +23 -23
- package/dist/chunks/{persistent-pty-n3azen0z.js → worktree-m3x11w40.js} +11 -11
- package/dist/chunks/{persistent-pty-agsex9am.js → worktree-m3zza4qd.js} +8 -8
- package/dist/chunks/{persistent-pty-5ehz2tea.js → worktree-m8avnk43.js} +16 -16
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-btewt4k5.js → worktree-mdbdsawz.js} +9 -9
- package/dist/chunks/{persistent-pty-peekjthh.js → worktree-mja71egn.js} +18 -18
- package/dist/chunks/{persistent-pty-0axr4kr0.js → worktree-mm6ytk77.js} +8 -8
- package/dist/chunks/{persistent-pty-vjgbmtbs.js → worktree-myactzt4.js} +37 -37
- package/dist/chunks/{persistent-pty-kkzzhrpn.js → worktree-n0efajb2.js} +17 -17
- package/dist/chunks/{persistent-pty-2k14bdsh.js → worktree-n4xj6hjn.js} +13 -13
- package/dist/chunks/{persistent-pty-6d5601zx.js → worktree-n5y107kn.js} +14 -14
- package/dist/chunks/{persistent-pty-kt5w8vxh.js → worktree-nbddwgy7.js} +10 -10
- package/dist/chunks/{persistent-pty-jkdkem4h.js → worktree-nj09xgek.js} +12 -12
- package/dist/chunks/{persistent-pty-n50hv1t5.js → worktree-nx9eezaw.js} +6 -6
- package/dist/chunks/{persistent-pty-rrhm3cf6.js → worktree-p2aekm07.js} +91 -91
- package/dist/chunks/{persistent-pty-af04s6ss.js → worktree-p44d8wdy.js} +5 -5
- package/dist/chunks/{persistent-pty-4m8ycsnb.js → worktree-p7d99px1.js} +8 -8
- package/dist/chunks/{persistent-pty-5mz96dqx.js → worktree-pemhtd8f.js} +8 -8
- package/dist/chunks/{persistent-pty-brjc8r87.js → worktree-pjjrh1z1.js} +30 -30
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-3ykzfd22.js → worktree-pt3jfr41.js} +9 -9
- package/dist/chunks/{persistent-pty-0p5r239s.js → worktree-pvbb37c4.js} +10 -10
- package/dist/chunks/{persistent-pty-rb6q9cnt.js → worktree-pyw57n7w.js} +28 -28
- package/dist/chunks/{persistent-pty-v3mzz81c.js → worktree-pz1grgc9.js} +13 -13
- package/dist/chunks/{persistent-pty-4etgcfvy.js → worktree-q2t36530.js} +9 -9
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{persistent-pty-evyr1yy2.js → worktree-qhrw8p3b.js} +8 -8
- package/dist/chunks/{persistent-pty-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-2e96adxv.js → worktree-qwkytnft.js} +6 -6
- package/dist/chunks/{persistent-pty-bvk12tx6.js → worktree-qyth7dhn.js} +24 -24
- package/dist/chunks/{persistent-pty-h8ymazte.js → worktree-r1gh3j25.js} +10 -10
- package/dist/chunks/{persistent-pty-bzayxzm2.js → worktree-r4emgha1.js} +21 -21
- package/dist/chunks/{persistent-pty-r9mregkx.js → worktree-r9mregkx.js} +2 -2
- package/dist/chunks/worktree-rcjnff0b.js +462 -0
- package/dist/chunks/{persistent-pty-d50f2zf5.js → worktree-rfnzy394.js} +1 -1
- package/dist/chunks/{persistent-pty-4290jz7g.js → worktree-ryha7zpe.js} +18 -18
- package/dist/chunks/{persistent-pty-1rwk5gxb.js → worktree-s4q1c2dk.js} +63 -63
- package/dist/chunks/{persistent-pty-zj09a0ew.js → worktree-shh6fz4q.js} +4 -4
- package/dist/chunks/{persistent-pty-2fs7h1wz.js → worktree-sj94bf0y.js} +32 -32
- package/dist/chunks/{persistent-pty-d8qdyyaw.js → worktree-sqwpcrch.js} +164 -164
- package/dist/chunks/{persistent-pty-c78bbtc9.js → worktree-t0fxg8b9.js} +5 -5
- package/dist/chunks/{persistent-pty-t0x5rdq8.js → worktree-t0x5rdq8.js} +2 -2
- package/dist/chunks/{persistent-pty-13ne6j1k.js → worktree-t1ej9bcf.js} +16 -16
- package/dist/chunks/{persistent-pty-hn3jadw3.js → worktree-t56rw2gy.js} +27 -27
- package/dist/chunks/{persistent-pty-e9c8eq96.js → worktree-t6bwgaqm.js} +32 -32
- package/dist/chunks/{persistent-pty-4775as7b.js → worktree-t7bs0stv.js} +15 -15
- package/dist/chunks/{persistent-pty-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → worktree-th5km1p3.js} +5 -5
- package/dist/chunks/{persistent-pty-487k7jth.js → worktree-th62sywm.js} +27 -27
- package/dist/chunks/{persistent-pty-8x5pm5x7.js → worktree-thp4thqf.js} +19 -19
- package/dist/chunks/{persistent-pty-vg7npqae.js → worktree-tjqe909z.js} +1 -1
- package/dist/chunks/{persistent-pty-kxme779d.js → worktree-trkat1qx.js} +45 -45
- package/dist/chunks/{persistent-pty-30fz79vd.js → worktree-tta2m7dp.js} +14 -14
- package/dist/chunks/{persistent-pty-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-zdae6k0q.js → worktree-v30hr118.js} +9 -9
- package/dist/chunks/{persistent-pty-35rehqpd.js → worktree-v51fjskz.js} +16 -16
- package/dist/chunks/{persistent-pty-9kfc4wnk.js → worktree-v600ka5t.js} +22 -22
- package/dist/chunks/{persistent-pty-pvk75rey.js → worktree-v7t3chrs.js} +36 -36
- package/dist/chunks/{persistent-pty-35k205kv.js → worktree-v912edbj.js} +18 -18
- package/dist/chunks/{persistent-pty-cykwnt9q.js → worktree-v9ht5xd0.js} +11 -11
- package/dist/chunks/{persistent-pty-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-wvwzws3d.js → worktree-vjy2y45p.js} +11 -11
- package/dist/chunks/{persistent-pty-at12fstx.js → worktree-vkz51m42.js} +30 -30
- package/dist/chunks/{persistent-pty-etcxw786.js → worktree-vvgctfdq.js} +12 -12
- package/dist/chunks/{persistent-pty-hvw084np.js → worktree-vvsqdwqz.js} +32 -32
- package/dist/chunks/{persistent-pty-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-06dxphr1.js → worktree-w1k39n5e.js} +4 -4
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-93zryg1y.js → worktree-w428zktn.js} +20 -20
- package/dist/chunks/{persistent-pty-yg2p59vp.js → worktree-w76gpamr.js} +16 -16
- package/dist/chunks/{persistent-pty-cztn7rx7.js → worktree-w90x3s5c.js} +11 -11
- package/dist/chunks/{persistent-pty-q95aeeb4.js → worktree-w9najb13.js} +11 -11
- package/dist/chunks/{persistent-pty-e20g3j14.js → worktree-wbf78t6w.js} +29 -29
- package/dist/chunks/{persistent-pty-q03s0nwp.js → worktree-wc3yqjej.js} +15 -15
- package/dist/chunks/{persistent-pty-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-ayn42wpr.js → worktree-wkgmxye7.js} +4 -4
- package/dist/chunks/{persistent-pty-14bvgx98.js → worktree-wrjmdcd7.js} +14 -14
- package/dist/chunks/{persistent-pty-tx9qvpbt.js → worktree-wvmhx4nb.js} +4 -4
- package/dist/chunks/{persistent-pty-4q1gpajt.js → worktree-wyy37vyq.js} +60 -60
- package/dist/chunks/{persistent-pty-exsbjhm2.js → worktree-wz5zt972.js} +22 -22
- package/dist/chunks/{persistent-pty-rbj3wcwb.js → worktree-x0041dth.js} +30 -30
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-kz70mmnm.js → worktree-x1w6f45z.js} +1 -1
- package/dist/chunks/{persistent-pty-pbd9gpar.js → worktree-x3af3qht.js} +9 -9
- package/dist/chunks/{persistent-pty-844ef7ks.js → worktree-x3et2xth.js} +8 -8
- package/dist/chunks/{persistent-pty-w8a3k0bq.js → worktree-xab957cg.js} +20 -20
- package/dist/chunks/{persistent-pty-6w1zg1g2.js → worktree-xbrnhvx4.js} +23 -23
- package/dist/chunks/{persistent-pty-nng2ktcm.js → worktree-xg9t41r3.js} +2 -2
- package/dist/chunks/{persistent-pty-a7wgtnts.js → worktree-xn8fxkx5.js} +6 -6
- package/dist/chunks/worktree-xptez47m.js +247 -0
- package/dist/chunks/{persistent-pty-xgkhd5qd.js → worktree-xwd0g7hm.js} +7 -7
- package/dist/chunks/{persistent-pty-71x7hxqe.js → worktree-xwjytmam.js} +35 -35
- package/dist/chunks/{persistent-pty-ab6mj8jw.js → worktree-xx24n8bp.js} +28 -28
- package/dist/chunks/{persistent-pty-xbh0n0bt.js → worktree-xx6cn220.js} +1 -1
- package/dist/chunks/{persistent-pty-ewkyeawc.js → worktree-xx704vmn.js} +22 -22
- package/dist/chunks/{persistent-pty-25hvwd8a.js → worktree-xxmv8eye.js} +9 -9
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-0a6bkr20.js → worktree-y45pkspw.js} +13 -13
- package/dist/chunks/{persistent-pty-dpkg50ah.js → worktree-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-thc7yeg9.js → worktree-yefxppqx.js} +21 -21
- package/dist/chunks/{persistent-pty-kxpygcw9.js → worktree-yr02nea7.js} +6 -6
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-6spvy77a.js → worktree-z77pcmag.js} +24 -24
- package/dist/chunks/worktree-z926abd4.js +4 -0
- package/dist/chunks/{persistent-pty-ep6z9mt6.js → worktree-za9cx4qh.js} +8 -8
- package/dist/chunks/{persistent-pty-737r9kjt.js → worktree-zbjae951.js} +27 -27
- package/dist/chunks/{persistent-pty-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-qzkh27e2.js → worktree-zhvsjxqr.js} +4 -4
- package/dist/chunks/{persistent-pty-01375378.js → worktree-zjf5xpx9.js} +2 -2
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-j6qna7nq.js → worktree-zsn9806r.js} +4 -4
- package/dist/chunks/{persistent-pty-4tb880m7.js → worktree-zvnk3gn3.js} +23 -23
- package/dist/chunks/{persistent-pty-xaa2j8d2.js → worktree-zw0bbc6p.js} +57 -57
- package/dist/chunks/worktree-zw6vqswj.js +22 -0
- package/dist/chunks/{persistent-pty-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +81 -81
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +85 -85
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +122 -122
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-1tm0r3ht.js +0 -4
- package/dist/chunks/persistent-pty-9rr9jrmq.js +0 -247
- package/dist/chunks/persistent-pty-d5k9fk4j.js +0 -462
- package/dist/chunks/persistent-pty-phz3h32g.js +0 -18
- package/dist/chunks/persistent-pty-s6r9b74v.js +0 -22
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-hrnqkpcd.js → worktree-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-paphc93g.js → worktree-paphc93g.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service40
|
|
4
|
+
} from "./worktree-ert0es5w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./worktree-vvgctfdq.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin34 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service40;
|
|
27
|
+
const output = yield* Service39;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin6 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin34, exports_tool_output };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node82
|
|
7
|
+
} from "./worktree-nbddwgy7.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service80,
|
|
16
|
-
node85
|
|
17
|
-
} from "./persistent-pty-2y518tma.js";
|
|
13
|
+
} from "./worktree-gebd4c9n.js";
|
|
18
14
|
import {
|
|
19
15
|
Service79,
|
|
20
16
|
node84
|
|
21
|
-
} from "./
|
|
17
|
+
} from "./worktree-dvgdgw3v.js";
|
|
18
|
+
import {
|
|
19
|
+
Service78,
|
|
20
|
+
node83
|
|
21
|
+
} from "./worktree-7gf7znvm.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node80
|
|
31
|
+
} from "./worktree-6zfbav3y.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./worktree-th5km1p3.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make20
|
|
38
|
+
} from "./worktree-84esvpjp.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./worktree-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./worktree-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event14,
|
|
53
|
+
Info: () => Info24,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service62,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node67
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info24 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event14 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service62 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service79;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service78;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service75;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make20;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event14.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical3(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service62.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node67 = makeLocationNode({
|
|
273
|
+
service: Service62,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node, node83, node84,
|
|
275
|
+
deps: [FSUtil.node, node82, node83, node84, AppProcess.node, node80, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info24, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event14, Service62, node67, exports_worktree2, OperationError2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./worktree-7gf7znvm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service16,
|
|
6
|
+
Event3
|
|
7
|
+
} from "./worktree-3sdww6fp.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service16;
|
|
33
|
+
const bus = yield* Service78;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
})
|
|
71
71
|
});
|
|
72
72
|
function environmentNames(provider) {
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./worktree-7gf7znvm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node79
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID16 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID16.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const bus = yield*
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
|
+
const bus = yield* Service78;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
45
45
|
{ action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID16.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service74.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID16.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID16.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node79 = makeLocationNode({ service: Service74, layer, deps: [node83, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID16, Name3, defaultID2, Color2, Info30, Service74, node79, exports_agent4, Event19 };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80
|
|
3
|
-
} from "./persistent-pty-2y518tma.js";
|
|
4
1
|
import {
|
|
5
2
|
Service79
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./worktree-dvgdgw3v.js";
|
|
4
|
+
import {
|
|
5
|
+
Service78
|
|
6
|
+
} from "./worktree-7gf7znvm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./worktree-m2manvsf.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-qwkytnft.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./worktree-n0efajb2.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service51
|
|
34
|
+
} from "./worktree-0tzb1dzm.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service49
|
|
37
|
+
} from "./worktree-6tpyx64t.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./worktree-g2ww2bbh.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./worktree-ba58znz1.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./worktree-8c3x6q07.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./worktree-mdbdsawz.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./worktree-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service78;
|
|
67
|
+
const database = yield* Service79;
|
|
68
|
+
const store = yield* Service73;
|
|
69
|
+
const instances = yield* Service53;
|
|
70
|
+
const execution = yield* Service49;
|
|
71
|
+
const admission = yield* Service51;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -131,7 +131,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
if (existing)
|
|
133
133
|
return existing;
|
|
134
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
134
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service53, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
135
135
|
if (session.revert)
|
|
136
136
|
yield* commit2(bus, session);
|
|
137
137
|
return yield* admission.admit({
|
|
@@ -147,7 +147,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
147
147
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
148
148
|
const session = yield* get(sessionID);
|
|
149
149
|
const running = yield* Effect.gen(function* () {
|
|
150
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
150
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service53, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
151
151
|
text: `User shell command failed to start:
|
|
152
152
|
${input.command}
|
|
153
153
|
|
|
@@ -176,7 +176,7 @@ ${error.message}`,
|
|
|
176
176
|
});
|
|
177
177
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
178
178
|
const session = yield* get(sessionID);
|
|
179
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
179
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service53, instances));
|
|
180
180
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
181
181
|
sessionID,
|
|
182
182
|
id: skill.id,
|
|
@@ -233,13 +233,13 @@ ${error.message}`,
|
|
|
233
233
|
const session = yield* get(sessionID);
|
|
234
234
|
if (yield* execution.isActive(sessionID))
|
|
235
235
|
return yield* new BusyError2({ sessionID });
|
|
236
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
236
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
|
|
237
237
|
});
|
|
238
238
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
239
239
|
const session = yield* get(sessionID);
|
|
240
240
|
if (yield* execution.isActive(sessionID))
|
|
241
241
|
return yield* new BusyError2({ sessionID });
|
|
242
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
242
|
+
yield* clear2(session).pipe(Effect.provideService(Service53, instances), Effect.provideService(Service78, bus));
|
|
243
243
|
return yield* execution.wake(sessionID);
|
|
244
244
|
});
|
|
245
245
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -322,4 +322,4 @@ ${error.message}`,
|
|
|
322
322
|
return { forSession };
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export {
|
|
325
|
+
export { make12, exports_session2 };
|