@opencode/core 0.0.0-dev-21811 → 0.0.0-dev-21812
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 +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{model-retry-8bc2ahr8.js → integration-033a0jkt.js} +3 -3
- package/dist/chunks/{model-retry-034tev2y.js → integration-034tev2y.js} +2 -2
- package/dist/chunks/{model-retry-avfqqwb2.js → integration-099h1hwj.js} +6 -6
- package/dist/chunks/{model-retry-wr3re1en.js → integration-0h8y3ex8.js} +4 -4
- package/dist/chunks/{model-retry-0p88zpcm.js → integration-0p88zpcm.js} +4 -4
- package/dist/chunks/{model-retry-b3mc3p58.js → integration-0v8grjzs.js} +11 -11
- package/dist/chunks/{model-retry-ny7d5fer.js → integration-1bs2cpw9.js} +24 -24
- package/dist/chunks/{model-retry-y4f1fvfh.js → integration-1cymfj1p.js} +15 -15
- package/dist/chunks/{model-retry-1ep2p91f.js → integration-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-retry-nf83kzdy.js → integration-1ghdp8kk.js} +28 -28
- package/dist/chunks/{model-retry-wwf1bymv.js → integration-1nys593y.js} +14 -14
- package/dist/chunks/{model-retry-gp4q8kgc.js → integration-1qx3pmcb.js} +6 -6
- package/dist/chunks/{model-retry-b5rpcebs.js → integration-1smgd7ca.js} +9 -9
- package/dist/chunks/{model-retry-npaxjfat.js → integration-1txcpx25.js} +33 -33
- package/dist/chunks/{model-retry-1x2knyw4.js → integration-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-h9wrc0vd.js → integration-1xcgmt4f.js} +23 -23
- package/dist/chunks/{model-retry-q5jvcvf9.js → integration-21wsmemr.js} +13 -13
- package/dist/chunks/{model-retry-w4qj5bhy.js → integration-22vn2tfc.js} +46 -46
- package/dist/chunks/{model-retry-2ns8tfyg.js → integration-24dnymca.js} +9 -9
- package/dist/chunks/{model-retry-4z907t0k.js → integration-27z7tz04.js} +17 -17
- package/dist/chunks/{model-retry-d8g76yr4.js → integration-2a7m102q.js} +18 -18
- package/dist/chunks/{model-retry-a5kv7pbm.js → integration-2jzy5gvp.js} +17 -17
- package/dist/chunks/{model-retry-4g74bq5f.js → integration-2k41ftbf.js} +9 -9
- package/dist/chunks/{model-retry-g0ew906k.js → integration-2m9ncb4x.js} +2 -2
- package/dist/chunks/{model-retry-mxjqcj4f.js → integration-2qzjejty.js} +17 -17
- package/dist/chunks/{model-retry-722sdb3d.js → integration-2wvpxzhr.js} +7 -7
- package/dist/chunks/{model-retry-2z1j29yd.js → integration-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-6c5cd6ez.js → integration-32s59e8p.js} +9 -9
- package/dist/chunks/{model-retry-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-9bs81pt6.js → integration-3k0zbkzd.js} +20 -20
- package/dist/chunks/{model-retry-cpmqfxcq.js → integration-3myyj9jx.js} +25 -25
- package/dist/chunks/{model-retry-3nnrz6f6.js → integration-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-4gytfbka.js → integration-3qncy4kt.js} +3 -3
- package/dist/chunks/{model-retry-17xhxfsn.js → integration-3vj2p3vv.js} +11 -11
- package/dist/chunks/{model-retry-aday876c.js → integration-3zmhjc9p.js} +23 -23
- package/dist/chunks/{model-retry-yqqqeckg.js → integration-414jxfdf.js} +19 -19
- package/dist/chunks/{model-retry-d1aynxky.js → integration-43sfaggh.js} +54 -54
- package/dist/chunks/{model-retry-pk8bqs0r.js → integration-4739vc91.js} +11 -11
- package/dist/chunks/{model-retry-5w1mdqt7.js → integration-4pw98qd4.js} +4 -4
- package/dist/chunks/{model-retry-4v008n1t.js → integration-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-n9nqya42.js → integration-4vgk4w6a.js} +21 -21
- package/dist/chunks/{model-retry-nxg0a76y.js → integration-4wvhc9k4.js} +19 -19
- package/dist/chunks/{model-retry-4xvmh7wp.js → integration-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-retry-z3ae4np4.js → integration-54emna5z.js} +13 -13
- package/dist/chunks/{model-retry-g91txfza.js → integration-582km8zz.js} +4 -4
- package/dist/chunks/{model-retry-jmekkt3w.js → integration-5bffra33.js} +3 -3
- package/dist/chunks/{model-retry-5m9w47nd.js → integration-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-f6n6tb5m.js → integration-5qee7q8k.js} +15 -15
- package/dist/chunks/{model-retry-v2ydvkbp.js → integration-5v3c0w31.js} +35 -35
- package/dist/chunks/{model-retry-acdmrrd1.js → integration-6285fq4d.js} +5 -5
- package/dist/chunks/{model-retry-kbx45pjb.js → integration-62ecjyyq.js} +26 -26
- package/dist/chunks/{model-retry-vxp3z339.js → integration-6a013r1n.js} +17 -17
- package/dist/chunks/{model-retry-e1g8hcy1.js → integration-6a7ezx2c.js} +13 -13
- package/dist/chunks/{model-retry-kxvkas7c.js → integration-6d6xnsqa.js} +5 -5
- package/dist/chunks/{model-retry-t0vy2dfp.js → integration-6es4hneh.js} +10 -10
- package/dist/chunks/{model-retry-6esdw8yj.js → integration-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-gchz44rz.js → integration-6gyjkw7v.js} +16 -16
- package/dist/chunks/{model-retry-6pjqjmy2.js → integration-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-1hm6kjpw.js → integration-6yretb28.js} +11 -11
- package/dist/chunks/{model-retry-qq9g4at8.js → integration-74yt0vzq.js} +46 -46
- package/dist/chunks/{model-retry-76cb1hcw.js → integration-76cb1hcw.js} +1 -1
- package/dist/chunks/{model-retry-kwp52g30.js → integration-77zdhryd.js} +10 -10
- package/dist/chunks/{model-retry-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-zx5t73xg.js → integration-7d9wahhq.js} +23 -23
- package/dist/chunks/{model-retry-hmg9k6g3.js → integration-7jv8arzj.js} +28 -28
- package/dist/chunks/{model-retry-vcngc2jq.js → integration-7msw3csv.js} +20 -20
- package/dist/chunks/{model-retry-7w2ypzdf.js → integration-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-y2nf64jh.js → integration-7xwzfpqh.js} +15 -15
- package/dist/chunks/{model-retry-v6h5bgwd.js → integration-7ye4ae45.js} +8 -8
- package/dist/chunks/{model-retry-eg9pnzky.js → integration-8aqd9tw0.js} +29 -29
- package/dist/chunks/{model-retry-t42gxy5r.js → integration-8b714bza.js} +8 -8
- package/dist/chunks/{model-retry-9ye8ngw9.js → integration-8vg666x5.js} +2 -2
- package/dist/chunks/{model-retry-dbmp929s.js → integration-8wc2fpae.js} +5 -5
- package/dist/chunks/{model-retry-kspt1gd4.js → integration-8wht8kc5.js} +8 -8
- package/dist/chunks/{model-retry-8wtp7s3z.js → integration-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-hhtmqaqt.js → integration-8x2emzdm.js} +15 -15
- package/dist/chunks/{model-retry-s4br5rnc.js → integration-8zgwz0zm.js} +11 -11
- package/dist/chunks/{model-retry-91rj84md.js → integration-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-998yhzzq.js → integration-998yhzzq.js} +3 -3
- package/dist/chunks/{model-retry-7s2q8wx1.js → integration-9cdp65mn.js} +14 -14
- package/dist/chunks/{model-retry-9cx9sm2q.js → integration-9cx9sm2q.js} +1 -1
- package/dist/chunks/{model-retry-btcc31mt.js → integration-9e9qdt9b.js} +10 -10
- package/dist/chunks/{model-retry-enkpkfwx.js → integration-9kg5w032.js} +8 -8
- package/dist/chunks/{model-retry-fx6779qx.js → integration-9r1sq0hf.js} +45 -45
- package/dist/chunks/integration-a4baghsc.js +26 -0
- package/dist/chunks/{model-retry-p81fp5vk.js → integration-a5hswdc1.js} +18 -18
- package/dist/chunks/integration-a610t88q.js +18 -0
- package/dist/chunks/{model-retry-j910h5aj.js → integration-a9jemgtr.js} +3 -3
- package/dist/chunks/{model-retry-aqw6e5th.js → integration-aevv1b27.js} +20 -20
- package/dist/chunks/{model-retry-jq88ke7r.js → integration-af0k6e03.js} +7 -7
- package/dist/chunks/{model-retry-ayjs7tqn.js → integration-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-retry-q35f0zmw.js → integration-azcb3gk3.js} +16 -16
- package/dist/chunks/{model-retry-b0mv4wxm.js → integration-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-cg67sgqr.js → integration-b68fg4f6.js} +29 -29
- package/dist/chunks/{model-retry-b6vsg801.js → integration-b6vsg801.js} +2 -2
- package/dist/chunks/{model-retry-hkby4gmz.js → integration-bdx4kxdv.js} +21 -21
- package/dist/chunks/{model-retry-kkew1p9e.js → integration-bh1et42v.js} +6 -6
- package/dist/chunks/{model-retry-km7czr20.js → integration-bmavx65t.js} +21 -21
- package/dist/chunks/{model-retry-mg4jj3cq.js → integration-btjvwe70.js} +11 -11
- package/dist/chunks/{model-retry-1dswpn68.js → integration-bvafcta0.js} +4 -4
- package/dist/chunks/{model-retry-7kjvv3j6.js → integration-c3nr5wcj.js} +11 -11
- package/dist/chunks/{model-retry-6kqns4w6.js → integration-c445b2ma.js} +21 -21
- package/dist/chunks/{model-retry-7rt6wz40.js → integration-c5vw9ajk.js} +32 -32
- package/dist/chunks/{model-retry-wa0020sp.js → integration-cdpx3xqr.js} +35 -35
- package/dist/chunks/{model-retry-qqg9c0kv.js → integration-cpvd08na.js} +4 -4
- package/dist/chunks/{model-retry-qk2x4zmh.js → integration-cqjv9nck.js} +22 -22
- package/dist/chunks/{model-retry-wx4hn9c6.js → integration-cvx8nhbw.js} +16 -16
- package/dist/chunks/{model-retry-d4v9tmah.js → integration-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-retry-aqd38yqk.js → integration-d9f8cqns.js} +16 -16
- package/dist/chunks/{model-retry-6hwc1pvx.js → integration-dd3y08z3.js} +18 -18
- package/dist/chunks/{model-retry-n91mh7q3.js → integration-dggevncg.js} +37 -37
- package/dist/chunks/{model-retry-v6bhxz94.js → integration-dr0fct71.js} +22 -22
- package/dist/chunks/{model-retry-32rqdfc7.js → integration-dwwyec8z.js} +6 -6
- package/dist/chunks/{model-retry-4hbn04c3.js → integration-e2p6x81g.js} +21 -21
- package/dist/chunks/{model-retry-e5dqjz6v.js → integration-e5dqjz6v.js} +1 -1
- package/dist/chunks/{model-retry-vm0wcjea.js → integration-e5gw6wwr.js} +10 -10
- package/dist/chunks/{model-retry-e834z07m.js → integration-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-335tf8xn.js → integration-eegzrrtz.js} +13 -13
- package/dist/chunks/{model-retry-mdmq4ayq.js → integration-ehfeyf7e.js} +3 -3
- package/dist/chunks/{model-retry-c7w6gk0d.js → integration-ej3th1h3.js} +3 -3
- package/dist/chunks/{model-retry-b58bxs6a.js → integration-ek9rkj5r.js} +141 -141
- package/dist/chunks/{model-retry-4jred12r.js → integration-enar5c8c.js} +24 -24
- package/dist/chunks/{model-retry-678hegmz.js → integration-ewf8e1z3.js} +9 -9
- package/dist/chunks/{model-retry-jj52rngq.js → integration-ez61m5xe.js} +3 -3
- package/dist/chunks/{model-retry-wdzvz19b.js → integration-f9bma1qn.js} +16 -16
- package/dist/chunks/{model-retry-d9qwxpwd.js → integration-fcvr1d3d.js} +24 -24
- package/dist/chunks/{model-retry-fffv3p7h.js → integration-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-a0y3te94.js → integration-fkgr69m7.js} +13 -13
- package/dist/chunks/{model-retry-p8s7ax7s.js → integration-fzjtn9cy.js} +4 -4
- package/dist/chunks/{model-retry-f4fcece7.js → integration-g4netsws.js} +13 -13
- package/dist/chunks/{model-retry-g5h9c0rr.js → integration-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-j17f5p09.js → integration-g8dxatgd.js} +12 -12
- package/dist/chunks/{model-retry-1m6xs2a7.js → integration-gjatpjy7.js} +24 -24
- package/dist/chunks/{model-retry-wc86xy3n.js → integration-gjw4pr93.js} +14 -14
- package/dist/chunks/{model-retry-753xhzz2.js → integration-gs020t2a.js} +3 -3
- package/dist/chunks/{model-retry-jy2ar7az.js → integration-gt45kfe9.js} +11 -11
- package/dist/chunks/{model-retry-ek5jse1b.js → integration-h27fzsgv.js} +25 -25
- package/dist/chunks/{model-retry-eqhrgn58.js → integration-h4k78rza.js} +46 -46
- package/dist/chunks/{model-retry-brkew3yp.js → integration-hd1zzqtm.js} +10 -10
- package/dist/chunks/{model-retry-3gv0spa2.js → integration-hd3k4wz8.js} +4 -4
- package/dist/chunks/{model-retry-gj1k22fm.js → integration-hhn1e55x.js} +8 -8
- package/dist/chunks/{model-retry-0rax2qmn.js → integration-hwx3r6b1.js} +11 -11
- package/dist/chunks/{model-retry-j113cymg.js → integration-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-d4tjs1yx.js → integration-j4a3jt28.js} +17 -17
- package/dist/chunks/{model-retry-592w8t9y.js → integration-jdfk1cmv.js} +26 -26
- package/dist/chunks/{model-retry-mvf5yed7.js → integration-jh0qv5w1.js} +9 -9
- package/dist/chunks/{model-retry-mq1hjbvv.js → integration-jjpbn9y3.js} +12 -12
- package/dist/chunks/{model-retry-dn3a5ca8.js → integration-jr035f3y.js} +14 -14
- package/dist/chunks/{model-retry-pcx7njc6.js → integration-jry8eft3.js} +28 -28
- package/dist/chunks/{model-retry-7n7qp0dz.js → integration-jtp9n393.js} +28 -28
- package/dist/chunks/{model-retry-503rn88z.js → integration-k02enjmv.js} +3 -3
- package/dist/chunks/{model-retry-y6413w8f.js → integration-k3knae48.js} +11 -11
- package/dist/chunks/{model-retry-zewy1hcb.js → integration-k4z47hf4.js} +9 -9
- package/dist/chunks/{model-retry-k814nvkf.js → integration-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-f34n98jw.js → integration-kj42jrrq.js} +25 -25
- package/dist/chunks/{model-retry-paae1hvb.js → integration-kjg0r6wn.js} +7 -7
- package/dist/chunks/{model-retry-xcbrzhrb.js → integration-kpsjcb79.js} +329 -329
- package/dist/chunks/{model-retry-qv0xhenj.js → integration-kqy4hbwk.js} +87 -87
- package/dist/chunks/{model-retry-kt3bjfbg.js → integration-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-retry-cjn2m544.js → integration-kv3ttt63.js} +46 -32
- package/dist/chunks/{model-retry-hbjmb8md.js → integration-kxgkgtx4.js} +6 -6
- package/dist/chunks/{model-retry-5xypjhga.js → integration-kyjtz1sy.js} +1 -1
- package/dist/chunks/{model-retry-m1714858.js → integration-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-k46s5hha.js → integration-m2xmg036.js} +21 -21
- package/dist/chunks/{model-retry-mnb0kth4.js → integration-m5e9s2n3.js} +12 -12
- package/dist/chunks/{model-retry-t9jfkh4s.js → integration-m676x6pr.js} +13 -13
- package/dist/chunks/{model-retry-e5nt5pcv.js → integration-m7g89f9n.js} +4 -4
- package/dist/chunks/{model-retry-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → integration-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-rnf8ygje.js → integration-mdp36yda.js} +1 -1
- package/dist/chunks/{model-retry-138ss78d.js → integration-mh81y02m.js} +6 -6
- package/dist/chunks/{model-retry-hp8gawhw.js → integration-mmhxtjpe.js} +16 -16
- package/dist/chunks/{model-retry-9q8g9sv8.js → integration-mmx1mfjr.js} +4 -4
- package/dist/chunks/{model-retry-rf0yhvg8.js → integration-mn0kbaek.js} +19 -19
- package/dist/chunks/{model-retry-egv1p4fb.js → integration-mnx664ps.js} +35 -35
- package/dist/chunks/{model-retry-ppheb231.js → integration-mpg7afbk.js} +4 -4
- package/dist/chunks/{model-retry-ssfehs1z.js → integration-mtkfycnh.js} +4 -4
- package/dist/chunks/{model-retry-mt48qw68.js → integration-mvc3vb2a.js} +10 -10
- package/dist/chunks/{model-retry-hbh5g7sq.js → integration-mw8s5zmh.js} +19 -19
- package/dist/chunks/{model-retry-8whp40kv.js → integration-my4zabxr.js} +3 -3
- package/dist/chunks/{model-retry-s44wx98y.js → integration-mzzay4f0.js} +12 -12
- package/dist/chunks/{model-retry-7816y9pf.js → integration-n0p57zwx.js} +15 -15
- package/dist/chunks/{model-retry-skd7ds45.js → integration-n6y7mxjs.js} +12 -12
- package/dist/chunks/{model-retry-nah043kf.js → integration-nah043kf.js} +1 -1
- package/dist/chunks/{model-retry-e1zjyyvc.js → integration-ncys0ejx.js} +42 -42
- package/dist/chunks/{model-retry-gxvxk964.js → integration-ndw46kc6.js} +13 -13
- package/dist/chunks/{model-retry-ca1hzz0z.js → integration-nhfzsa1p.js} +7 -7
- package/dist/chunks/{model-retry-9nt4jrra.js → integration-ns1gkfmt.js} +11 -11
- package/dist/chunks/{model-retry-bzve7h1n.js → integration-ns4tg1vk.js} +30 -30
- package/dist/chunks/{model-retry-t3qvsv4x.js → integration-nsew6na4.js} +4 -4
- package/dist/chunks/{model-retry-1a7q9jj4.js → integration-nt2e7ypv.js} +14 -14
- package/dist/chunks/{model-retry-bfrx3eet.js → integration-nw3gns4q.js} +83 -83
- package/dist/chunks/{model-retry-p015t6z3.js → integration-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-kw23vkf0.js → integration-pa7nwqm2.js} +1 -1
- package/dist/chunks/{model-retry-faewc6h3.js → integration-pacbbjc0.js} +5 -5
- package/dist/chunks/{model-retry-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-6zcc165v.js → integration-pmz7p4sy.js} +6 -6
- package/dist/chunks/{model-retry-ae89zrxe.js → integration-pp110xbz.js} +11 -11
- package/dist/chunks/{model-retry-mv9cyhb6.js → integration-pq8a5ftn.js} +32 -32
- package/dist/chunks/{model-retry-vp3hqrv6.js → integration-pvhdzchd.js} +26 -26
- package/dist/chunks/{model-retry-5ymyvjqm.js → integration-pzh119na.js} +12 -12
- package/dist/chunks/{model-retry-m8kw722f.js → integration-q0sfsmmy.js} +52 -52
- package/dist/chunks/{model-retry-z3wn5wtx.js → integration-q0x40dkk.js} +9 -9
- package/dist/chunks/{model-retry-hhtnk8qy.js → integration-q820hr6k.js} +10 -10
- package/dist/chunks/{model-retry-qjgzc4b4.js → integration-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-retry-hjvwy4ms.js → integration-qjj39fzk.js} +35 -35
- package/dist/chunks/{model-retry-pzbahg37.js → integration-qmxyfk6f.js} +9 -9
- package/dist/chunks/{model-retry-3109wbwk.js → integration-qqfn68em.js} +17 -17
- package/dist/chunks/{model-retry-hawc6q6s.js → integration-qr09n5wa.js} +4 -4
- package/dist/chunks/{model-retry-r0yr0wbs.js → integration-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-r542h3bh.js → integration-r542h3bh.js} +1 -1
- package/dist/chunks/{model-retry-m81bzjfe.js → integration-r7xar5ns.js} +8 -8
- package/dist/chunks/{model-retry-7pp4cpj7.js → integration-r9478m04.js} +2 -2
- package/dist/chunks/{model-retry-rb9dy4dg.js → integration-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-6twykydk.js → integration-rjnacbrz.js} +9 -9
- package/dist/chunks/{model-retry-0zn5bfke.js → integration-rkpdfm1f.js} +27 -27
- package/dist/chunks/{model-retry-4q0yhm9h.js → integration-rrewaqtd.js} +4 -4
- package/dist/chunks/{model-retry-rt5dr6hb.js → integration-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-db7k79f7.js → integration-s4vbq7v2.js} +20 -20
- package/dist/chunks/{model-retry-17cjzed1.js → integration-s7xmnr8t.js} +8 -8
- package/dist/chunks/{model-retry-h58n2v2h.js → integration-s8hzhf5a.js} +5 -5
- package/dist/chunks/{model-retry-9dx6tkdq.js → integration-s8p4z092.js} +14 -14
- package/dist/chunks/{model-retry-sa3fpqfw.js → integration-sa3fpqfw.js} +2 -2
- package/dist/chunks/{model-retry-bdw1mhts.js → integration-sjc0rtcr.js} +32 -32
- package/dist/chunks/{model-retry-t6j5m88d.js → integration-sp4szsb6.js} +11 -11
- package/dist/chunks/{model-retry-sqjzf8x2.js → integration-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-425q9h2g.js → integration-sztnemvs.js} +19 -19
- package/dist/chunks/{model-retry-8322nd6s.js → integration-t63ar4cc.js} +36 -36
- package/dist/chunks/{model-retry-dher8hzb.js → integration-ta7szm67.js} +11 -11
- package/dist/chunks/{model-retry-tczq8hjw.js → integration-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-hx4n917h.js → integration-tep6g6t6.js} +2 -2
- package/dist/chunks/{model-retry-tmgcn98f.js → integration-tq47yr9q.js} +9 -9
- package/dist/chunks/integration-twhys2c4.js +261 -0
- package/dist/chunks/{model-retry-twv2r8f4.js → integration-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-qnz3a88e.js → integration-txmkmbh1.js} +11 -11
- package/dist/chunks/{model-retry-v2r1d0zg.js → integration-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-retry-bb0y23dv.js → integration-v3v80szh.js} +6 -6
- package/dist/chunks/{model-retry-1yq9hg58.js → integration-v9ez2kgh.js} +5 -5
- package/dist/chunks/{model-retry-hhqqebc6.js → integration-vcz53cnc.js} +15 -15
- package/dist/chunks/{model-retry-vd3b3yk9.js → integration-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-eqmd2tfz.js → integration-vmfhgzt5.js} +7 -7
- package/dist/chunks/{model-retry-82vzzvc0.js → integration-vs2m3t8d.js} +15 -15
- package/dist/chunks/{model-retry-pzm5e1e5.js → integration-w1qfq64t.js} +1 -1
- package/dist/chunks/{model-retry-2we1d0jv.js → integration-w22292kr.js} +37 -37
- package/dist/chunks/{model-retry-1602d4m9.js → integration-w22yp63b.js} +9 -9
- package/dist/chunks/{model-retry-5enarcya.js → integration-w2eysc6j.js} +6 -6
- package/dist/chunks/{model-retry-jvasdgem.js → integration-w3ewejsb.js} +16 -16
- package/dist/chunks/{model-retry-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-wakvkjy4.js → integration-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-vphhrdzm.js → integration-wb5aj4gb.js} +30 -30
- package/dist/chunks/{model-retry-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-y1rtgf89.js → integration-weewmp9q.js} +24 -24
- package/dist/chunks/{model-retry-745re5am.js → integration-wf2cyww0.js} +5 -5
- package/dist/chunks/{model-retry-27994c7b.js → integration-wr8dn7z1.js} +5 -5
- package/dist/chunks/{model-retry-46h6vvs4.js → integration-x38zy5q9.js} +5 -5
- package/dist/chunks/{model-retry-58sptegr.js → integration-x5jmwpjz.js} +43 -43
- package/dist/chunks/{model-retry-n4g6yntc.js → integration-xap91x1p.js} +10 -10
- package/dist/chunks/{model-retry-bstexjd6.js → integration-xd9cc171.js} +5 -5
- package/dist/chunks/{model-retry-bje4knzw.js → integration-xgb9jx38.js} +6 -6
- package/dist/chunks/{model-retry-rrq81g5f.js → integration-xjdsgsgc.js} +15 -15
- package/dist/chunks/{model-retry-cbyrzr95.js → integration-xkpbrv2c.js} +30 -30
- package/dist/chunks/{model-retry-t9hc3t3t.js → integration-xm8dep68.js} +18 -18
- package/dist/chunks/{model-retry-sdxwz4vj.js → integration-xs0pgsh6.js} +3 -3
- package/dist/chunks/{model-retry-zzsxzmp1.js → integration-y8bhjcew.js} +21 -21
- package/dist/chunks/{model-retry-yb20nhc3.js → integration-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-5shay012.js → integration-yc8z54tz.js} +22 -22
- package/dist/chunks/{model-retry-b0qepsp5.js → integration-yh280zkr.js} +20 -20
- package/dist/chunks/{model-retry-0j1r4c82.js → integration-yyqzfxc7.js} +2 -2
- package/dist/chunks/{model-retry-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-4drgpw32.js → integration-z2qbjhyn.js} +5 -5
- package/dist/chunks/{model-retry-z38nccrw.js → integration-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-axqdy1rc.js → integration-z7qgckdk.js} +41 -41
- package/dist/chunks/{model-retry-p5t4xveb.js → integration-z7wnyb4t.js} +5 -5
- package/dist/chunks/{model-retry-5dewdarb.js → integration-z8ym8esj.js} +13 -13
- package/dist/chunks/{model-retry-xfv5zx0r.js → integration-z9kr5gn7.js} +11 -11
- package/dist/chunks/{model-retry-zkg84ctx.js → integration-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-retry-0nd9gsrv.js → integration-zmwx25fz.js} +2 -2
- package/dist/chunks/{model-retry-qwc3x251.js → integration-zrdtx4x3.js} +12 -12
- package/dist/chunks/{model-retry-debkngxd.js → integration-zwmk0vgz.js} +8 -8
- package/dist/chunks/{model-retry-p3ns8jke.js → integration-zx7azpzt.js} +22 -22
- package/dist/chunks/{model-retry-zzdv5d93.js → integration-zzdv5d93.js} +1 -1
- package/dist/chunks/{model-retry-hjg4cfjr.js → integration-zzpc27z9.js} +61 -61
- 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 +87 -87
- package/dist/config/discovery.js +87 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +374 -374
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- 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 +74 -74
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- package/dist/git.js +11 -11
- 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 +104 -104
- 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 +365 -365
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +362 -362
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +101 -101
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +220 -220
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +104 -104
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +92 -92
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +223 -223
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +99 -99
- 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 +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +129 -129
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +165 -165
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +110 -110
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +96 -96
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +127 -127
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +127 -127
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +128 -128
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +117 -117
- package/dist/tool/plugin/write.js +125 -125
- package/dist/tool/read-filesystem.js +105 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- 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/variant.js +96 -96
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +92 -92
- package/dist/worktree.js +99 -99
- package/package.json +8 -8
- package/dist/chunks/model-retry-2dkjcnxp.js +0 -18
- package/dist/chunks/model-retry-ckzsjma5.js +0 -26
- package/dist/chunks/model-retry-gfm4ps3x.js +0 -261
- /package/dist/chunks/{model-retry-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → integration-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5fjb7ams.js → integration-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → integration-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → integration-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → integration-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → integration-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cqv5kn06.js → integration-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e3qxr5gk.js → integration-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → integration-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jwr30sdr.js → integration-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → integration-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → integration-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → integration-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → integration-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → integration-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → integration-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./integration-k02enjmv.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info12,
|
|
18
|
+
NotFoundError: () => NotFoundError7,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service53,
|
|
21
|
+
node: () => node55
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info12 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError7 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID8
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID8,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service53 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service87).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID8.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError7({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError7({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service53.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node55 = makeGlobalNode({ service: Service53, layer, deps: [node91] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID8, Info12, NotFoundError7, ConflictError2, Service53, node55, exports_saved };
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-4xvmh7wp.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-vd3b3yk9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service57,
|
|
17
|
+
node59
|
|
18
|
+
} from "./integration-tq47yr9q.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service60,
|
|
21
|
+
node62
|
|
22
|
+
} from "./integration-7ye4ae45.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./integration-z38nccrw.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./integration-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service56,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node58
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai/effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service56 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service60;
|
|
58
|
+
const image = yield* Service57;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
198
198
|
}), { discard: true });
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
|
-
return
|
|
201
|
+
return Service56.of({
|
|
202
202
|
transform: state.transform,
|
|
203
203
|
reload: state.reload,
|
|
204
204
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -293,10 +293,10 @@ function namespaceError(name) {
|
|
|
293
293
|
return;
|
|
294
294
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
295
295
|
}
|
|
296
|
-
var
|
|
297
|
-
service:
|
|
296
|
+
var node58 = makeLocationNode({
|
|
297
|
+
service: Service56,
|
|
298
298
|
layer,
|
|
299
|
-
deps: [
|
|
299
|
+
deps: [node62, node59]
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
export { RegistrationError2,
|
|
302
|
+
export { RegistrationError2, Service56, node58, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-zzdv5d93.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-582km8zz.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./integration-jtp9n393.js";
|
|
11
11
|
import {
|
|
12
12
|
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./integration-a5hswdc1.js";
|
|
15
15
|
import {
|
|
16
16
|
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service72
|
|
20
|
+
} from "./integration-414jxfdf.js";
|
|
21
21
|
import {
|
|
22
22
|
ID11
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-7msw3csv.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./integration-nt2e7ypv.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-txmkmbh1.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./integration-4wvhc9k4.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service72;
|
|
168
168
|
const bus = yield* Service86;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -183,7 +183,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
184
|
const provider = yield* providers.get(ID12.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load2(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -209,7 +209,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
244
|
if (evt.model.providerID !== ID12.githubCopilot)
|
|
@@ -266,7 +266,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-414jxfdf.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-pmz7p4sy.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service87,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-k02enjmv.js";
|
|
8
8
|
import {
|
|
9
9
|
Service86,
|
|
10
10
|
node90
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./integration-582km8zz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node82
|
|
15
|
+
} from "./integration-mzzay4f0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info26,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./integration-af0k6e03.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./integration-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-ayjs7tqn.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info25,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID14 = ID15;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info25 = Info26;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID14
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service78;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service86;
|
|
106
106
|
const db = (yield* Service87).db;
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID14.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,7 +171,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
176
|
yield* bus.publish(Event17.Updated, project);
|
|
177
177
|
return project;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
187
187
|
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID14.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
229
229
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
239
239
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
240
240
|
const resolved = {
|
|
241
241
|
previous,
|
|
242
|
-
id: id ??
|
|
242
|
+
id: id ?? ID14.global,
|
|
243
243
|
directory: repo.worktree,
|
|
244
244
|
canonical,
|
|
245
245
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,7 +264,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
264
264
|
return;
|
|
265
265
|
const node = result.stdout.toString("utf8").split(`
|
|
266
266
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
267
|
-
return node ?
|
|
267
|
+
return node ? ID14.make(node) : undefined;
|
|
268
268
|
});
|
|
269
269
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
270
270
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -272,7 +272,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
272
272
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
273
273
|
return {
|
|
274
274
|
previous,
|
|
275
|
-
id: id ??
|
|
275
|
+
id: id ?? ID14.global,
|
|
276
276
|
directory: worktree,
|
|
277
277
|
vcs: { type: "hg", store: dotHg }
|
|
278
278
|
};
|
|
@@ -299,7 +299,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
301
|
return yield* save({
|
|
302
|
-
id:
|
|
302
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
303
303
|
directory,
|
|
304
304
|
canonical: directory,
|
|
305
305
|
vcs: undefined
|
|
@@ -308,7 +308,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
308
308
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
309
309
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
310
310
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
311
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
311
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID14.global))).all().pipe(Effect.orDie);
|
|
312
312
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
313
313
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
314
314
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -324,20 +324,20 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
324
324
|
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
325
325
|
}), { concurrency: 8, discard: true });
|
|
326
326
|
});
|
|
327
|
-
return
|
|
327
|
+
return Service77.of({ list, update, activate, resolve, sweep });
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node81 = makeGlobalNode({
|
|
330
|
+
service: Service77,
|
|
331
331
|
layer,
|
|
332
|
-
deps: [node90, node91, FSUtil.node,
|
|
332
|
+
deps: [node90, node91, FSUtil.node, node82, AppProcess.node]
|
|
333
333
|
});
|
|
334
334
|
var sweepNode2 = makeGlobalNode({
|
|
335
335
|
name: "project-archive-sweep",
|
|
336
336
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
337
|
-
const project = yield*
|
|
337
|
+
const project = yield* Service77;
|
|
338
338
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
339
339
|
})),
|
|
340
|
-
deps: [
|
|
340
|
+
deps: [node81]
|
|
341
341
|
});
|
|
342
342
|
|
|
343
|
-
export {
|
|
343
|
+
export { ID14, Vcs2, Current2, Info25, UpdateInput3, NotFoundError10, root2, Service77, node81, sweepNode2, exports_project };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9r1sq0hf.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin44
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin44 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin44, exports_plan };
|