@opencode/core 0.0.0-dev-21354 → 0.0.0-dev-21362
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-y4pqvk03.js → tool-01rpkdw6.js} +2 -2
- package/dist/chunks/{model-resolver-2tj97pmg.js → tool-0413hwj4.js} +37 -37
- package/dist/chunks/{model-resolver-xjy4dz85.js → tool-073332rd.js} +20 -20
- package/dist/chunks/{model-resolver-b6rs5hhk.js → tool-08vgyj7k.js} +18 -18
- package/dist/chunks/{model-resolver-84ha93mn.js → tool-0976wqw8.js} +27 -27
- package/dist/chunks/{model-resolver-nvq1gv7c.js → tool-0j3c2sb1.js} +11 -11
- package/dist/chunks/{model-resolver-3nx0ym5x.js → tool-0mcdt3xm.js} +22 -22
- package/dist/chunks/{model-resolver-rscvxc63.js → tool-0nyyp0wg.js} +15 -15
- package/dist/chunks/{model-resolver-47jkzegy.js → tool-0r3c1bmw.js} +5 -5
- package/dist/chunks/{model-resolver-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-m0k3p8s9.js → tool-0zprb6es.js} +25 -25
- package/dist/chunks/{model-resolver-g90hexag.js → tool-1fqwyhye.js} +58 -58
- package/dist/chunks/{model-resolver-9gzkep83.js → tool-1pwk8kcs.js} +14 -14
- package/dist/chunks/{model-resolver-g5fw83fw.js → tool-1rgsmk43.js} +10 -10
- package/dist/chunks/{model-resolver-967benbv.js → tool-2ae0q92z.js} +11 -11
- package/dist/chunks/{model-resolver-v9t9bmqx.js → tool-2d2h4qhb.js} +34 -34
- package/dist/chunks/{model-resolver-xcypc51k.js → tool-2fpns0sv.js} +40 -40
- package/dist/chunks/{model-resolver-qe9z13v3.js → tool-2kjm689e.js} +22 -22
- package/dist/chunks/{model-resolver-4vdcag56.js → tool-2nhcazd0.js} +16 -16
- package/dist/chunks/{model-resolver-qt2d63t9.js → tool-2s6t35ks.js} +4 -4
- package/dist/chunks/{model-resolver-7j2zvw39.js → tool-2t1tfy87.js} +16 -16
- package/dist/chunks/{model-resolver-g2qxcqrf.js → tool-2tny0edy.js} +186 -186
- package/dist/chunks/{model-resolver-rba33dr3.js → tool-3493q4kq.js} +17 -17
- package/dist/chunks/{model-resolver-46p5gayd.js → tool-37nhdnh0.js} +4 -4
- package/dist/chunks/{model-resolver-bp6qvqjj.js → tool-3eneve4b.js} +46 -46
- package/dist/chunks/{model-resolver-3yqxwn64.js → tool-3f43s8b4.js} +51 -51
- package/dist/chunks/{model-resolver-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → tool-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-vhbqgehn.js → tool-3jt1eddq.js} +63 -63
- package/dist/chunks/{model-resolver-c1f0ef0e.js → tool-3nmfsz90.js} +8 -8
- package/dist/chunks/{model-resolver-n62bhn6h.js → tool-3p3jney2.js} +15 -15
- package/dist/chunks/{model-resolver-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-gv2b8e0t.js → tool-455yydvh.js} +28 -28
- package/dist/chunks/{model-resolver-sk5hrgtc.js → tool-4e8vs6eh.js} +8 -8
- package/dist/chunks/{model-resolver-0y23mm2p.js → tool-4k7jacjp.js} +11 -11
- package/dist/chunks/{model-resolver-svmspn7k.js → tool-4kjbsxnw.js} +4 -4
- package/dist/chunks/tool-4vgve9x2.js +26 -0
- package/dist/chunks/{model-resolver-e0vbf2p2.js → tool-4xcz4xpr.js} +17 -17
- package/dist/chunks/{model-resolver-2a6rn6yr.js → tool-52hb404k.js} +6 -6
- package/dist/chunks/{model-resolver-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-9s481m48.js → tool-58vmr7wj.js} +16 -16
- package/dist/chunks/{model-resolver-z2rrnsn5.js → tool-5bnha4a9.js} +2 -2
- package/dist/chunks/{model-resolver-ttrv0ee4.js → tool-5ee0ck5t.js} +21 -21
- package/dist/chunks/{model-resolver-6zyxy6vr.js → tool-5ehgcgpr.js} +43 -43
- package/dist/chunks/{model-resolver-e7gxy7fd.js → tool-5g57z1ma.js} +4 -4
- package/dist/chunks/{model-resolver-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-e3qxr5gk.js → tool-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-mq8c8wma.js → tool-61b1kan1.js} +23 -23
- package/dist/chunks/{model-resolver-6827pfxn.js → tool-6827pfxn.js} +1 -1
- package/dist/chunks/{model-resolver-3c9v7fz9.js → tool-6efjf592.js} +17 -17
- package/dist/chunks/{model-resolver-gc8nt84s.js → tool-6kfemk62.js} +52 -52
- package/dist/chunks/{model-resolver-evrqa78t.js → tool-6mbm070j.js} +29 -29
- package/dist/chunks/{model-resolver-7fkffz83.js → tool-6pc27hjz.js} +8 -8
- package/dist/chunks/{model-resolver-yentwms3.js → tool-6tz1jnny.js} +5 -5
- package/dist/chunks/{model-resolver-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-pty45f7z.js → tool-6ysb8vkt.js} +17 -17
- package/dist/chunks/{model-resolver-2sz974pf.js → tool-6zt8z75t.js} +26 -26
- package/dist/chunks/tool-713g62m8.js +517 -0
- package/dist/chunks/{model-resolver-1g0trf6w.js → tool-76ejvhhr.js} +18 -18
- package/dist/chunks/{model-resolver-775gj3j1.js → tool-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-zenctmbx.js → tool-793g28qj.js} +36 -36
- package/dist/chunks/{model-resolver-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-jqyzchqw.js → tool-7cnnqjpd.js} +6 -6
- package/dist/chunks/{model-resolver-bdehnvdw.js → tool-7def0ggy.js} +44 -44
- package/dist/chunks/{model-resolver-qgn6gcr1.js → tool-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-6dt87k62.js → tool-7hrceg3g.js} +37 -37
- package/dist/chunks/{model-resolver-xztctcj7.js → tool-7k4nsz29.js} +11 -11
- package/dist/chunks/{model-resolver-cqq90766.js → tool-7kkywtdn.js} +14 -14
- package/dist/chunks/{model-resolver-2kgvm4ga.js → tool-7shzd1td.js} +26 -26
- package/dist/chunks/{model-resolver-prcvzp3b.js → tool-7t04q73r.js} +27 -27
- package/dist/chunks/{model-resolver-mmsbh3wq.js → tool-7vjhz70e.js} +5 -5
- package/dist/chunks/{model-resolver-kqv3x6rj.js → tool-81f7vt2z.js} +9 -9
- package/dist/chunks/{model-resolver-d3v28z1t.js → tool-82ep1r6s.js} +3 -3
- package/dist/chunks/{model-resolver-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-y5cvjd5e.js → tool-86kfezyq.js} +7 -7
- package/dist/chunks/{model-resolver-m3bqnvcv.js → tool-88jzmhd2.js} +8 -8
- package/dist/chunks/{model-resolver-j75xb4yb.js → tool-8d5fwhns.js} +1 -1
- package/dist/chunks/{model-resolver-8m6m0r52.js → tool-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-s30r45k4.js → tool-8mv6xfqh.js} +5 -5
- package/dist/chunks/{model-resolver-8mywswrd.js → tool-8mywswrd.js} +1 -1
- package/dist/chunks/{model-resolver-5v9zgnrp.js → tool-8x9ys1f9.js} +34 -34
- package/dist/chunks/{model-resolver-8m8th7g9.js → tool-8yapk0fv.js} +23 -23
- package/dist/chunks/{model-resolver-h5kde8xe.js → tool-9ay43wn2.js} +17 -17
- package/dist/chunks/{model-resolver-6hen7d63.js → tool-9eyh9j7p.js} +20 -20
- package/dist/chunks/{model-resolver-zqbntp8m.js → tool-9jtmtwne.js} +13 -13
- package/dist/chunks/{model-resolver-d9wzmzc3.js → tool-9w4ppqge.js} +5 -5
- package/dist/chunks/{model-resolver-8mqj9xbr.js → tool-9wjqfw83.js} +4 -4
- package/dist/chunks/{model-resolver-7v6vae4w.js → tool-a20pjse5.js} +3 -3
- package/dist/chunks/{model-resolver-73wr0wn5.js → tool-a5rre0n2.js} +11 -11
- package/dist/chunks/{model-resolver-0d74j82x.js → tool-aawdsyze.js} +4 -4
- package/dist/chunks/{model-resolver-3y377wv9.js → tool-addxnjmp.js} +4 -4
- package/dist/chunks/{model-resolver-8n9x2wf6.js → tool-arz7hw7x.js} +2 -2
- package/dist/chunks/{model-resolver-af3s9495.js → tool-asd51m7s.js} +90 -90
- package/dist/chunks/{model-resolver-nhpkjp8j.js → tool-atsf9aqe.js} +11 -11
- package/dist/chunks/{model-resolver-88fjbbyn.js → tool-b14jzmzs.js} +29 -29
- package/dist/chunks/{model-resolver-76rvckpe.js → tool-b4nzaj04.js} +5 -5
- package/dist/chunks/{model-resolver-377tx7tw.js → tool-b762m4xg.js} +25 -25
- package/dist/chunks/{model-resolver-bacj9t34.js → tool-bacj9t34.js} +2 -2
- package/dist/chunks/{model-resolver-syv183bv.js → tool-bdx6mn17.js} +9 -9
- package/dist/chunks/{model-resolver-q63t359z.js → tool-bec822vs.js} +4 -4
- package/dist/chunks/{model-resolver-bjx1sjef.js → tool-bjx1sjef.js} +2 -2
- package/dist/chunks/{model-resolver-6b89zbgc.js → tool-byq8e8jd.js} +11 -11
- package/dist/chunks/{model-resolver-7jav1qs0.js → tool-bz29cs86.js} +24 -24
- package/dist/chunks/{model-resolver-bzeyqsqd.js → tool-bzeyqsqd.js} +1 -1
- package/dist/chunks/{model-resolver-6gejepc3.js → tool-c3j8ne37.js} +22 -22
- package/dist/chunks/{model-resolver-rj3eygr5.js → tool-c41wscbt.js} +2 -2
- package/dist/chunks/{model-resolver-hktqavzm.js → tool-c7hvxrkm.js} +25 -25
- package/dist/chunks/{model-resolver-sa8ekw3f.js → tool-c8ax2afj.js} +2 -2
- package/dist/chunks/{model-resolver-gyk6nsb6.js → tool-cg54xxwj.js} +12 -12
- package/dist/chunks/{model-resolver-aq38rpj0.js → tool-cg9p582w.js} +9 -9
- package/dist/chunks/{model-resolver-km4rycv7.js → tool-ck0e8gek.js} +25 -25
- package/dist/chunks/{model-resolver-ya7hh75j.js → tool-ckjpj2pw.js} +3 -3
- package/dist/chunks/{model-resolver-awpkagge.js → tool-cmcz3sb1.js} +10 -10
- package/dist/chunks/{model-resolver-5yzzbxa7.js → tool-cmwkp3r5.js} +8 -8
- package/dist/chunks/{model-resolver-kmq3cj41.js → tool-cn8yddnn.js} +25 -25
- package/dist/chunks/{model-resolver-h6ag9tfj.js → tool-ctd2f7xq.js} +31 -31
- package/dist/chunks/{model-resolver-py4ye5jk.js → tool-cthpwpgv.js} +50 -50
- package/dist/chunks/{model-resolver-16t55p56.js → tool-cw1n2y8y.js} +19 -19
- package/dist/chunks/{model-resolver-jvfpmyx9.js → tool-d2ms787s.js} +12 -12
- package/dist/chunks/{model-resolver-gps0vx81.js → tool-djw0pnbs.js} +94 -94
- package/dist/chunks/{model-resolver-bw7h8fsx.js → tool-dnc7w57r.js} +14 -14
- package/dist/chunks/{model-resolver-mnvhm04t.js → tool-dnt051dx.js} +21 -21
- package/dist/chunks/{model-resolver-y71avatq.js → tool-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-qqeeq2t9.js → tool-drwq78ky.js} +7 -7
- package/dist/chunks/{model-resolver-gcvbawqp.js → tool-dt8v8cc6.js} +16 -16
- package/dist/chunks/{model-resolver-t5j7jw81.js → tool-dv6fhex8.js} +1 -1
- package/dist/chunks/tool-dxj72tfx.js +18 -0
- package/dist/chunks/{model-resolver-zvt5dnpc.js → tool-e2hjzebn.js} +4 -4
- package/dist/chunks/{model-resolver-nma959mg.js → tool-e80seqcp.js} +3 -3
- package/dist/chunks/{model-resolver-eej6y6fw.js → tool-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-nme8cjen.js → tool-ehkcedfy.js} +8 -8
- package/dist/chunks/{model-resolver-c1fqxshp.js → tool-es1vcfrp.js} +3 -3
- package/dist/chunks/{model-resolver-t5205bkj.js → tool-esfwjqg1.js} +13 -13
- package/dist/chunks/{model-resolver-16qtt0td.js → tool-f5ct3k6s.js} +19 -19
- package/dist/chunks/{model-resolver-sr8at2s6.js → tool-f872t808.js} +23 -23
- package/dist/chunks/{model-resolver-03f7gaj9.js → tool-f8fhdr9r.js} +26 -26
- package/dist/chunks/{model-resolver-fcy631f0.js → tool-fcy631f0.js} +1 -1
- package/dist/chunks/{model-resolver-ft3hqk2c.js → tool-ft3hqk2c.js} +2 -2
- package/dist/chunks/{model-resolver-ny8edt06.js → tool-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-resolver-bt2m3cq7.js → tool-fxs30z0y.js} +35 -35
- package/dist/chunks/{model-resolver-pqrhrnaw.js → tool-fxyrfkeq.js} +11 -11
- package/dist/chunks/{model-resolver-8h28ekbz.js → tool-g44aby64.js} +15 -15
- package/dist/chunks/{model-resolver-kntzm8s7.js → tool-g50kefr8.js} +11 -11
- package/dist/chunks/{model-resolver-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-5ycagacq.js → tool-gftpqfcq.js} +4 -4
- package/dist/chunks/{model-resolver-hr20tfp9.js → tool-gybdh0a0.js} +27 -27
- package/dist/chunks/{model-resolver-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-953qjn97.js → tool-hb7c6vf9.js} +13 -13
- package/dist/chunks/{model-resolver-tt8gc4fv.js → tool-hbb7npd7.js} +6 -6
- package/dist/chunks/{model-resolver-tt71e4t5.js → tool-hbq1mjfv.js} +23 -23
- package/dist/chunks/{model-resolver-r799sh1q.js → tool-he8dq86x.js} +23 -23
- package/dist/chunks/{model-resolver-hgz4x7wa.js → tool-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-crfkxg47.js → tool-hjhxarjg.js} +2 -2
- package/dist/chunks/{model-resolver-m9gxmxmt.js → tool-hqd7seh4.js} +14 -14
- package/dist/chunks/{model-resolver-eq20ba7x.js → tool-hxtet8kv.js} +8 -8
- package/dist/chunks/{model-resolver-w232x9j5.js → tool-ja6ama36.js} +15 -15
- package/dist/chunks/{model-resolver-kcq0jhd1.js → tool-jr4tj8tx.js} +25 -25
- package/dist/chunks/{model-resolver-65zyc1z3.js → tool-jv204pn8.js} +6 -6
- package/dist/chunks/{model-resolver-m2b6v9cc.js → tool-kq8anxe4.js} +11 -11
- package/dist/chunks/{model-resolver-g56rc5zd.js → tool-krhn2nch.js} +12 -12
- package/dist/chunks/{model-resolver-kwb1v3vj.js → tool-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-resolver-0z62s2d8.js → tool-m5wnc3h6.js} +17 -17
- package/dist/chunks/{model-resolver-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → tool-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-13n3hwre.js → tool-mchgfn78.js} +9 -9
- package/dist/chunks/{model-resolver-xq54jxm8.js → tool-mhbktqx9.js} +9 -9
- package/dist/chunks/{model-resolver-rsa08myv.js → tool-mhe84b87.js} +42 -42
- package/dist/chunks/{model-resolver-hkz952tc.js → tool-mhrn1b6p.js} +50 -50
- package/dist/chunks/{model-resolver-91dnb5t9.js → tool-mmwmp5se.js} +11 -11
- package/dist/chunks/{model-resolver-7dtw93gw.js → tool-mn1waazh.js} +34 -34
- package/dist/chunks/{model-resolver-wmbhbf7k.js → tool-myq527w7.js} +25 -25
- package/dist/chunks/{model-resolver-25er9rbr.js → tool-mzrjd0cd.js} +9 -9
- package/dist/chunks/{model-resolver-0jq9fyba.js → tool-n37c4crj.js} +9 -9
- package/dist/chunks/{model-resolver-xkgtb7n5.js → tool-n4rwe75z.js} +24 -24
- package/dist/chunks/{model-resolver-q4w1a1ev.js → tool-nd7csjtk.js} +13 -13
- package/dist/chunks/{model-resolver-qm7j4bgw.js → tool-nj4kxd9v.js} +34 -34
- package/dist/chunks/{model-resolver-nz56sr1f.js → tool-nz56sr1f.js} +2 -2
- package/dist/chunks/{model-resolver-d6acxb5p.js → tool-p19xwqz2.js} +9 -9
- package/dist/chunks/{model-resolver-d2c2r0dp.js → tool-p1ayhfez.js} +15 -15
- package/dist/chunks/{model-resolver-he2rnee2.js → tool-p56jdh79.js} +1 -1
- package/dist/chunks/{model-resolver-3h19w961.js → tool-p9e5fkyj.js} +18 -18
- package/dist/chunks/{model-resolver-g1xbyxhn.js → tool-pc58ekcv.js} +11 -11
- package/dist/chunks/{model-resolver-wpn34573.js → tool-pd6tx8e2.js} +21 -21
- package/dist/chunks/{model-resolver-2k71kv7p.js → tool-ph842b28.js} +4 -4
- package/dist/chunks/{model-resolver-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-zpz5hs3v.js → tool-pz07xgh4.js} +11 -11
- package/dist/chunks/{model-resolver-mcv1jzh9.js → tool-q2dz4afa.js} +32 -32
- package/dist/chunks/{model-resolver-nvqyc4x4.js → tool-q846csbm.js} +21 -21
- package/dist/chunks/{model-resolver-wmsgs64j.js → tool-q8nrjm55.js} +10 -10
- package/dist/chunks/{model-resolver-b27vhd2z.js → tool-qa3qhgw8.js} +4 -4
- package/dist/chunks/{model-resolver-2jhpg0z0.js → tool-qdqb97nm.js} +13 -13
- package/dist/chunks/{model-resolver-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-sctb5je3.js → tool-qnw1j25x.js} +22 -22
- package/dist/chunks/{model-resolver-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-e6jb2a33.js → tool-r1rfp8t8.js} +8 -8
- package/dist/chunks/{model-resolver-q0nrsbdj.js → tool-r7epa8w9.js} +10 -10
- package/dist/chunks/{model-resolver-mcexwfpj.js → tool-rdsy7yvm.js} +12 -12
- package/dist/chunks/{model-resolver-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-hzw94499.js → tool-rf0v5n98.js} +32 -32
- package/dist/chunks/{model-resolver-t550f9t1.js → tool-rhjbct0v.js} +4 -4
- package/dist/chunks/{model-resolver-pbptwtxn.js → tool-rk2kcxcc.js} +18 -18
- package/dist/chunks/{model-resolver-1psxftkd.js → tool-rmc73zzm.js} +24 -24
- package/dist/chunks/{model-resolver-3kpnj44v.js → tool-rns4py0f.js} +77 -77
- package/dist/chunks/{model-resolver-smak4gza.js → tool-rpvr12zk.js} +11 -11
- package/dist/chunks/{model-resolver-z1cx7jj0.js → tool-rwasyrp5.js} +50 -50
- package/dist/chunks/{model-resolver-k7myrtme.js → tool-ry6831an.js} +9 -9
- package/dist/chunks/{model-resolver-q4x9wazd.js → tool-s1d318ea.js} +3 -3
- package/dist/chunks/{model-resolver-e930j4e4.js → tool-s23kegdt.js} +9 -9
- package/dist/chunks/{model-resolver-cefkz2r6.js → tool-s8n8peb1.js} +4 -4
- package/dist/chunks/{model-resolver-htk2qbym.js → tool-stcs9p48.js} +6 -6
- package/dist/chunks/{model-resolver-x24jdsad.js → tool-stf95kdk.js} +6 -6
- package/dist/chunks/{model-resolver-syv4x271.js → tool-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-2r67f062.js → tool-t5pnv4sj.js} +34 -34
- package/dist/chunks/{model-resolver-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-71jhssm2.js → tool-tehwna3t.js} +7 -7
- package/dist/chunks/{model-resolver-rert0e01.js → tool-tkb22qbm.js} +2 -2
- package/dist/chunks/{model-resolver-tm0kqsz3.js → tool-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-ajasdxgg.js → tool-trj535fm.js} +3 -3
- package/dist/chunks/{model-resolver-wgwbykmc.js → tool-twben05b.js} +13 -13
- package/dist/chunks/{model-resolver-tjkhcpzj.js → tool-txssyqt7.js} +6 -6
- package/dist/chunks/{model-resolver-tyytaxap.js → tool-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-e2yycdng.js → tool-tzs5ptya.js} +9 -9
- package/dist/chunks/{model-resolver-tx0gtb9m.js → tool-v210v162.js} +9 -9
- package/dist/chunks/{model-resolver-5a4rr9ep.js → tool-v56xwjn6.js} +30 -30
- package/dist/chunks/{model-resolver-zyhj209a.js → tool-v5e4b0wx.js} +15 -15
- package/dist/chunks/{model-resolver-v7p4zvkq.js → tool-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-4v7ngy20.js → tool-v7z2bvyd.js} +4 -4
- package/dist/chunks/{model-resolver-vbrars45.js → tool-vbrars45.js} +2 -2
- package/dist/chunks/{model-resolver-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-1tknn31b.js → tool-vmdagwb0.js} +17 -17
- package/dist/chunks/{model-resolver-984c2jwc.js → tool-vnn07649.js} +6 -6
- package/dist/chunks/{model-resolver-kpcbcdy7.js → tool-vvzbhhck.js} +4 -4
- package/dist/chunks/{model-resolver-q4v9s1ey.js → tool-vw63prre.js} +10 -10
- package/dist/chunks/{model-resolver-hffg64zm.js → tool-vx00tebk.js} +2 -2
- package/dist/chunks/{model-resolver-hz2tqvgg.js → tool-vymc59vb.js} +32 -32
- package/dist/chunks/{model-resolver-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-kw1e5yb6.js → tool-w4sgd07z.js} +27 -27
- package/dist/chunks/{model-resolver-94wae3rr.js → tool-w73xcbgf.js} +10 -10
- package/dist/chunks/{model-resolver-q11cbr1m.js → tool-w9sgbs7k.js} +24 -24
- package/dist/chunks/{model-resolver-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-kjdm35cs.js → tool-wh6zw745.js} +5 -5
- package/dist/chunks/{model-resolver-qrv63xef.js → tool-wjapg7ww.js} +5 -5
- package/dist/chunks/{model-resolver-g1thfskw.js → tool-wpafx981.js} +32 -32
- package/dist/chunks/{model-resolver-wv50gdba.js → tool-wpj6vp23.js} +30 -30
- package/dist/chunks/{model-resolver-q6jqqp9b.js → tool-wss5z80w.js} +5 -5
- package/dist/chunks/{model-resolver-f1b05866.js → tool-wy45m17f.js} +2 -2
- package/dist/chunks/{model-resolver-w55jn1kt.js → tool-x3jgdmpg.js} +8 -8
- package/dist/chunks/{model-resolver-t1ns4htq.js → tool-x4c1mtyt.js} +15 -15
- package/dist/chunks/{model-resolver-qprs721h.js → tool-xag3qx04.js} +17 -17
- package/dist/chunks/{model-resolver-mbq1c8qd.js → tool-xr8wmf3z.js} +19 -19
- package/dist/chunks/tool-xrbvcvxz.js +257 -0
- package/dist/chunks/{model-resolver-8y8pe54n.js → tool-xsft43nm.js} +54 -54
- package/dist/chunks/{model-resolver-cck04ss7.js → tool-xypd4wdp.js} +9 -9
- package/dist/chunks/{model-resolver-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-7x4gmhf6.js → tool-yb5r4v0q.js} +12 -12
- package/dist/chunks/{model-resolver-e0fw30bj.js → tool-yh238p43.js} +18 -18
- package/dist/chunks/{model-resolver-nzr8rkf6.js → tool-ypcn87gg.js} +13 -13
- package/dist/chunks/{model-resolver-z733aene.js → tool-yvvvp4gn.js} +8 -8
- package/dist/chunks/{model-resolver-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z18fegx4.js → tool-z18fegx4.js} +1 -1
- package/dist/chunks/{model-resolver-fczeefh4.js → tool-z629hdve.js} +5 -5
- package/dist/chunks/{model-resolver-t67qckpp.js → tool-z9hatdac.js} +17 -17
- package/dist/chunks/{model-resolver-h3g77kky.js → tool-zc68hza3.js} +23 -23
- package/dist/chunks/{model-resolver-k9kzfgz6.js → tool-zgha0hsw.js} +21 -21
- package/dist/chunks/{model-resolver-rf6pxv7z.js → tool-zkaac646.js} +11 -11
- package/dist/chunks/{model-resolver-bnzbpt6f.js → tool-zkkgz3mx.js} +15 -15
- package/dist/chunks/{model-resolver-8asjp7hq.js → tool-zpfaeg84.js} +32 -32
- package/dist/chunks/{model-resolver-gzdnfxqj.js → tool-zr0b5yc7.js} +32 -32
- package/dist/chunks/{model-resolver-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-4134zm2w.js → tool-ztyv0636.js} +29 -29
- package/dist/chunks/{model-resolver-qswqrcwe.js → tool-zwevc33g.js} +11 -11
- package/dist/chunks/{model-resolver-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-h9ta6350.js → tool-zyx4ag0r.js} +31 -31
- package/dist/chunks/{model-resolver-6fabj146.js → tool-zz29nx1c.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +114 -114
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +91 -91
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +209 -209
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1ajxh176.js +0 -26
- package/dist/chunks/model-resolver-43a422m2.js +0 -257
- package/dist/chunks/model-resolver-6tdfsx48.js +0 -517
- package/dist/chunks/model-resolver-pf31ssb9.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → tool-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → tool-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → tool-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Info19,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-arz7hw7x.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service84,
|
|
11
|
+
node88
|
|
12
|
+
} from "./tool-zwevc33g.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./tool-2nhcazd0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service82,
|
|
20
|
+
node86
|
|
21
|
+
} from "./tool-6kfemk62.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service58,
|
|
24
|
+
node62
|
|
25
|
+
} from "./tool-52hb404k.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-es1vcfrp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
33
|
+
NotFoundError9,
|
|
34
34
|
InvalidListCursorError2,
|
|
35
35
|
MessageNotFoundError2,
|
|
36
36
|
ForkEmptyError2,
|
|
@@ -42,78 +42,78 @@ import {
|
|
|
42
42
|
BusyError2,
|
|
43
43
|
InboxConflictError2,
|
|
44
44
|
SkillNotFoundError2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./tool-txssyqt7.js";
|
|
46
46
|
import {
|
|
47
47
|
current2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./tool-s8n8peb1.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node61
|
|
51
|
+
} from "./tool-ctd2f7xq.js";
|
|
52
52
|
import {
|
|
53
53
|
snapshot2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./tool-p9e5fkyj.js";
|
|
55
55
|
import {
|
|
56
56
|
Slug2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./tool-gebd4c9n.js";
|
|
58
58
|
import {
|
|
59
59
|
SessionAlreadyProjected2,
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
60
|
+
node30
|
|
61
|
+
} from "./tool-hbq1mjfv.js";
|
|
62
62
|
import {
|
|
63
63
|
Metadata2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node48
|
|
65
|
+
} from "./tool-kq8anxe4.js";
|
|
66
66
|
import {
|
|
67
67
|
ListInput4,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service69,
|
|
69
|
+
node73
|
|
70
|
+
} from "./tool-6efjf592.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service60,
|
|
73
|
+
node64
|
|
74
|
+
} from "./tool-2t1tfy87.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service55,
|
|
77
|
+
node60
|
|
78
|
+
} from "./tool-mhe84b87.js";
|
|
79
79
|
import {
|
|
80
80
|
llmClient2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./tool-775gj3j1.js";
|
|
82
82
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
83
|
+
Service34,
|
|
84
|
+
node37
|
|
85
|
+
} from "./tool-atsf9aqe.js";
|
|
86
86
|
import {
|
|
87
87
|
generate2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./tool-hqd7seh4.js";
|
|
89
89
|
import {
|
|
90
90
|
execute2
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./tool-88jzmhd2.js";
|
|
92
92
|
import {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
93
|
+
Service76,
|
|
94
|
+
node80
|
|
95
|
+
} from "./tool-zkaac646.js";
|
|
96
96
|
import {
|
|
97
97
|
DestinationNotFoundError2,
|
|
98
98
|
DestinationNotDirectoryError2,
|
|
99
99
|
DestinationUnavailableError2,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service26,
|
|
101
|
+
node29
|
|
102
|
+
} from "./tool-3jt1eddq.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service43,
|
|
105
|
+
node46
|
|
106
|
+
} from "./tool-yvvvp4gn.js";
|
|
107
107
|
import {
|
|
108
108
|
make12
|
|
109
|
-
} from "./
|
|
109
|
+
} from "./tool-mn1waazh.js";
|
|
110
110
|
import {
|
|
111
111
|
TurnRangeError2,
|
|
112
112
|
turn2
|
|
113
|
-
} from "./
|
|
113
|
+
} from "./tool-pz07xgh4.js";
|
|
114
114
|
import {
|
|
115
115
|
__export
|
|
116
|
-
} from "./
|
|
116
|
+
} from "./tool-9rqn6x4v.js";
|
|
117
117
|
|
|
118
118
|
// src/session.ts
|
|
119
119
|
var exports_session = {};
|
|
@@ -124,24 +124,24 @@ __export(exports_session, {
|
|
|
124
124
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
125
125
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
126
126
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
127
|
-
ID: () =>
|
|
127
|
+
ID: () => ID11,
|
|
128
128
|
InboxConflictError: () => InboxConflictError2,
|
|
129
129
|
Info: () => Info19,
|
|
130
130
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
131
131
|
ListAnchor: () => ListAnchor2,
|
|
132
132
|
ListCursor: () => ListCursor2,
|
|
133
|
-
ListInput: () =>
|
|
133
|
+
ListInput: () => ListInput3,
|
|
134
134
|
MessageDecodeError: () => MessageDecodeError2,
|
|
135
135
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
136
|
-
NotFoundError: () =>
|
|
136
|
+
NotFoundError: () => NotFoundError9,
|
|
137
137
|
PromptConflictError: () => PromptConflictError2,
|
|
138
|
-
Service: () =>
|
|
138
|
+
Service: () => Service25,
|
|
139
139
|
Session: () => exports_session,
|
|
140
140
|
SessionSchema: () => SessionSchema2,
|
|
141
141
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
142
142
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
143
143
|
TurnRangeError: () => TurnRangeError2,
|
|
144
|
-
node: () =>
|
|
144
|
+
node: () => node28
|
|
145
145
|
});
|
|
146
146
|
import { DateTime, Effect, Layer, Schema, Context, Stream } from "effect";
|
|
147
147
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -151,28 +151,28 @@ import { Model } from "@opencode/schema/model";
|
|
|
151
151
|
import path from "path";
|
|
152
152
|
import { Node } from "@opencode/util/effect/app-node";
|
|
153
153
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
154
|
-
var
|
|
154
|
+
var ListInput3 = ListInput4;
|
|
155
155
|
var DefaultListLimit = 50;
|
|
156
|
-
class
|
|
156
|
+
class Service25 extends Context.Service()("@opencode/Session") {
|
|
157
157
|
}
|
|
158
|
-
var layer = Layer.effect(
|
|
158
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
|
-
const database = yield*
|
|
160
|
+
const database = yield* Service84;
|
|
161
161
|
const db = database.db;
|
|
162
|
-
const bus = yield*
|
|
163
|
-
const projects = yield*
|
|
164
|
-
const execution = yield*
|
|
162
|
+
const bus = yield* Service83;
|
|
163
|
+
const projects = yield* Service82;
|
|
164
|
+
const execution = yield* Service55;
|
|
165
165
|
const llm = yield* LLMClient.Service;
|
|
166
|
-
const transport = yield*
|
|
167
|
-
const store = yield*
|
|
168
|
-
const instances = yield*
|
|
169
|
-
const moves = yield*
|
|
170
|
-
const jobs = yield*
|
|
171
|
-
const environments = yield*
|
|
172
|
-
const locations = yield*
|
|
166
|
+
const transport = yield* Service34;
|
|
167
|
+
const store = yield* Service69;
|
|
168
|
+
const instances = yield* Service58;
|
|
169
|
+
const moves = yield* Service26;
|
|
170
|
+
const jobs = yield* Service60;
|
|
171
|
+
const environments = yield* Service43;
|
|
172
|
+
const locations = yield* Service76;
|
|
173
173
|
const sessions = yield* make12();
|
|
174
174
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
175
|
-
const result =
|
|
175
|
+
const result = Service25.of({
|
|
176
176
|
create: Effect.fn("Session.create")(function* (input) {
|
|
177
177
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
178
178
|
const recorded = yield* store.get(sessionID);
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
180
180
|
return recorded;
|
|
181
181
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
182
182
|
if (input.parentID && parent === undefined)
|
|
183
|
-
return yield* new
|
|
183
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
184
184
|
const location = parent?.location ?? input.location;
|
|
185
185
|
if (location === undefined)
|
|
186
186
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -301,11 +301,11 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
301
301
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
302
302
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
303
303
|
const session = yield* result.get(input.sessionID);
|
|
304
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
304
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service58, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
305
305
|
}),
|
|
306
306
|
command: Effect.fn("Session.command")(function* (input) {
|
|
307
307
|
const session = yield* result.get(input.sessionID);
|
|
308
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
308
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service58, instances));
|
|
309
309
|
}),
|
|
310
310
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
311
311
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -349,27 +349,27 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
349
349
|
});
|
|
350
350
|
return result;
|
|
351
351
|
}));
|
|
352
|
-
var
|
|
353
|
-
service:
|
|
352
|
+
var node28 = Node.makeGlobalNode({
|
|
353
|
+
service: Service25,
|
|
354
354
|
layer,
|
|
355
355
|
deps: [
|
|
356
|
-
|
|
357
|
-
node67,
|
|
358
|
-
node90,
|
|
359
|
-
node89,
|
|
360
|
-
node83,
|
|
356
|
+
node64,
|
|
361
357
|
node46,
|
|
362
|
-
|
|
363
|
-
|
|
358
|
+
node88,
|
|
359
|
+
node87,
|
|
360
|
+
node86,
|
|
364
361
|
node60,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
362
|
+
node37,
|
|
363
|
+
llmClient2,
|
|
364
|
+
node73,
|
|
365
|
+
node62,
|
|
366
|
+
node61,
|
|
367
|
+
node29,
|
|
368
|
+
node30,
|
|
369
|
+
node80,
|
|
370
370
|
FSUtil.node,
|
|
371
|
-
|
|
371
|
+
node48
|
|
372
372
|
]
|
|
373
373
|
});
|
|
374
374
|
|
|
375
|
-
export { ListAnchor2, ListCursor2,
|
|
375
|
+
export { ListAnchor2, ListCursor2, ListInput3, Service25, node28, exports_session };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-9eyh9j7p.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-f8fhdr9r.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service61
|
|
11
|
+
} from "./tool-rwasyrp5.js";
|
|
12
12
|
import {
|
|
13
13
|
supports2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
resolve2
|
|
15
|
+
} from "./tool-jv204pn8.js";
|
|
16
16
|
import {
|
|
17
17
|
observe2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-qsdy395h.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/config/plugin/provider.ts
|
|
24
24
|
var exports_provider = {};
|
|
25
25
|
__export(exports_provider, {
|
|
26
26
|
ConfigProviderPlugin: () => exports_provider,
|
|
27
|
-
Plugin: () =>
|
|
27
|
+
Plugin: () => Plugin32
|
|
28
28
|
});
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Money } from "@opencode/schema/money";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin32 = define({
|
|
33
33
|
id: "opencode.config.provider",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service61;
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
37
37
|
yield* ctx.integration.transform((integrations) => {
|
|
38
38
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -160,7 +160,7 @@ var Plugin26 = define({
|
|
|
160
160
|
models.update(providerID, id, (model) => {
|
|
161
161
|
if (config.capabilities?.reasoning !== undefined)
|
|
162
162
|
model.variants = [
|
|
163
|
-
...
|
|
163
|
+
...resolve2({ ...model, package: model.package ?? models.provider.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
164
164
|
];
|
|
165
165
|
if (config.variants !== undefined) {
|
|
166
166
|
model.variants ??= [];
|
|
@@ -196,7 +196,7 @@ var Plugin26 = define({
|
|
|
196
196
|
if (config.variants === undefined && config.capabilities?.reasoning === undefined && (!source?.base || repackaged))
|
|
197
197
|
models.update(providerID, id, (model) => {
|
|
198
198
|
model.variants = [
|
|
199
|
-
...
|
|
199
|
+
...resolve2({
|
|
200
200
|
...model,
|
|
201
201
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
202
202
|
})
|
|
@@ -211,4 +211,4 @@ function configuredProviders(entries) {
|
|
|
211
211
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Plugin32, exports_provider };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./tool-2nhcazd0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./tool-2d2h4qhb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-zyx4ag0r.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service77
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-9eyh9j7p.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID8
|
|
23
|
+
} from "./tool-f8fhdr9r.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-tzs5ptya.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-kq8anxe4.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID12
|
|
33
|
+
} from "./tool-gybdh0a0.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./tool-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID14.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
166
|
const providers = yield* Service77;
|
|
167
|
-
const bus = yield*
|
|
167
|
+
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -230,14 +230,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(ID13.githubCopilot,
|
|
234
|
-
models.update(ID13.githubCopilot,
|
|
233
|
+
if (models.get(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID13.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
243
|
if (evt.model.providerID !== ID13.githubCopilot)
|
|
@@ -265,7 +265,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID12.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./tool-ry6831an.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./tool-52hb404k.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-dxj72tfx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service73
|
|
15
|
+
} from "./tool-4e8vs6eh.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-txssyqt7.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service39
|
|
23
|
+
} from "./tool-455yydvh.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service58;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service73;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service39;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service85;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service56,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service56 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service56, exports_runner };
|