@opencode/core 0.0.0-dev-192 → 0.0.0-dev-201
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 +90 -90
- package/dist/aisdk-native.js +98 -98
- package/dist/aisdk.js +104 -104
- package/dist/app.js +9 -9
- package/dist/bus.js +80 -80
- package/dist/chunks/location-services-00ve6mdn.js +18 -0
- package/dist/chunks/{command-yjx9frm7.js → location-services-01mh9jkm.js} +5 -5
- package/dist/chunks/{command-33p3rw4f.js → location-services-0g64hxqv.js} +21 -21
- package/dist/chunks/{command-cby6psbp.js → location-services-0w3xgafh.js} +9 -9
- package/dist/chunks/{command-8jztxfpf.js → location-services-11hfp36g.js} +4 -4
- package/dist/chunks/{command-9y6y4p5q.js → location-services-1b1gv51r.js} +95 -95
- package/dist/chunks/{command-p1jpxsyv.js → location-services-1gw76x6h.js} +30 -30
- package/dist/chunks/{command-5dnzaf1y.js → location-services-1h7j31t8.js} +45 -45
- package/dist/chunks/{command-9h1y6hg7.js → location-services-1rken8tp.js} +38 -38
- package/dist/chunks/{command-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-vw06atv7.js → location-services-1xf7nfrf.js} +8 -8
- package/dist/chunks/{command-1yq9hg58.js → location-services-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-r29jt39q.js → location-services-1zp8bfhq.js} +31 -31
- package/dist/chunks/{command-204s3925.js → location-services-204s3925.js} +1 -1
- package/dist/chunks/{command-27w5k9zf.js → location-services-27w5k9zf.js} +2 -2
- package/dist/chunks/{command-2bnkmtyn.js → location-services-2aq8spf6.js} +45 -45
- package/dist/chunks/{command-93ee6ynz.js → location-services-2b5hc06j.js} +24 -24
- package/dist/chunks/{command-xjzmf0f0.js → location-services-2d01vmvx.js} +4 -4
- package/dist/chunks/{command-6bz7qnk4.js → location-services-2f747z2w.js} +25 -25
- package/dist/chunks/{command-kytj30gb.js → location-services-2mc6z38r.js} +11 -11
- package/dist/chunks/{command-gbkvsjtb.js → location-services-2wers40p.js} +38 -38
- package/dist/chunks/{command-hqxkkta1.js → location-services-2zp5a6yg.js} +3 -3
- package/dist/chunks/{command-0xgy9r8e.js → location-services-31avdb49.js} +11 -11
- package/dist/chunks/{command-znhbtrmf.js → location-services-31bqbk2x.js} +15 -15
- package/dist/chunks/{command-h9kvttc7.js → location-services-38shjhjm.js} +1 -1
- package/dist/chunks/{command-vfybh93w.js → location-services-395g2d1p.js} +52 -52
- package/dist/chunks/{command-3cbjf1nt.js → location-services-3cbjf1nt.js} +2 -2
- package/dist/chunks/{command-p7mdng8d.js → location-services-3cyhhena.js} +10 -10
- package/dist/chunks/{command-ayf3m2d5.js → location-services-3gsja8av.js} +14 -14
- package/dist/chunks/{command-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-tmc7xdjs.js → location-services-3nnrz6f6.js} +4 -4
- package/dist/chunks/{command-phtkj9qf.js → location-services-3qe7c5w1.js} +5 -5
- package/dist/chunks/{command-3ryz99p0.js → location-services-3ryz99p0.js} +1 -1
- package/dist/chunks/{command-7hmy122c.js → location-services-3vagpa22.js} +18 -18
- package/dist/chunks/{command-zrjs9xec.js → location-services-42pxhkhe.js} +15 -15
- package/dist/chunks/{command-3mxdezre.js → location-services-43e24x2b.js} +12 -12
- package/dist/chunks/{command-wzxekqyh.js → location-services-46668phf.js} +9 -9
- package/dist/chunks/location-services-4ftzhtn2.js +410 -0
- package/dist/chunks/{command-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-4d51p485.js → location-services-4sx046aw.js} +32 -32
- package/dist/chunks/{command-4v008n1t.js → location-services-4v008n1t.js} +1 -1
- package/dist/chunks/{command-cmx0zgd5.js → location-services-55dcfv8x.js} +33 -33
- package/dist/chunks/{command-e9nx9dch.js → location-services-5by3bz79.js} +109 -78
- package/dist/chunks/{command-ff597jm7.js → location-services-5kfhck2s.js} +24 -24
- package/dist/chunks/{command-bz229hd6.js → location-services-5kkvb5q9.js} +24 -24
- package/dist/chunks/{command-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-w4re67rg.js → location-services-5pjyqbjm.js} +3 -3
- package/dist/chunks/{command-v8d0t8r0.js → location-services-5w0q3qgz.js} +33 -33
- package/dist/chunks/{command-rsjmrn99.js → location-services-63d5p1eg.js} +5 -5
- package/dist/chunks/{command-y57mav2x.js → location-services-64c2pewf.js} +19 -19
- package/dist/chunks/{command-n6vpezgx.js → location-services-69gwve97.js} +21 -21
- package/dist/chunks/{command-hf61y91y.js → location-services-6ccbmx30.js} +14 -14
- package/dist/chunks/{command-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
- package/dist/chunks/{command-w2arfqwz.js → location-services-6pca4248.js} +16 -16
- package/dist/chunks/{command-tyaqfnq9.js → location-services-6r25anyw.js} +18 -18
- package/dist/chunks/{command-dy0rdwyn.js → location-services-6r8m24fe.js} +9 -9
- package/dist/chunks/{command-yafp75j8.js → location-services-6x9271ts.js} +11 -11
- package/dist/chunks/{command-9s06frge.js → location-services-6y263vp8.js} +5 -5
- package/dist/chunks/{command-chx6yw2v.js → location-services-702vahjz.js} +13 -13
- package/dist/chunks/{command-3j1x65zx.js → location-services-73shg0b5.js} +197 -197
- package/dist/chunks/{command-76cb1hcw.js → location-services-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-nah043kf.js → location-services-770pw0s1.js} +4 -4
- package/dist/chunks/{command-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-y6sqc5ks.js → location-services-7ene4gkn.js} +4 -4
- package/dist/chunks/{command-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-qps2khjy.js → location-services-8a0vbgqw.js} +42 -42
- package/dist/chunks/{command-28ac1jrk.js → location-services-8efstdn0.js} +55 -55
- package/dist/chunks/{command-4c6kfn9z.js → location-services-8ehvsr2e.js} +7 -7
- package/dist/chunks/{command-czkk2md7.js → location-services-8m5mq5h7.js} +5 -5
- package/dist/chunks/{command-30bemqd7.js → location-services-8q0vay4d.js} +21 -21
- package/dist/chunks/{command-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-90zstvax.js → location-services-90zstvax.js} +1 -1
- package/dist/chunks/{command-b277gfsp.js → location-services-91kqmn6m.js} +27 -27
- package/dist/chunks/{command-m7h6p2mz.js → location-services-9bjvbnp5.js} +21 -21
- package/dist/chunks/{command-njmdq0v4.js → location-services-9pjkh98s.js} +14 -14
- package/dist/chunks/{command-3qrv10r6.js → location-services-9tbaz46k.js} +9 -9
- package/dist/chunks/{command-tx91wa5k.js → location-services-9tvpxs1q.js} +4 -4
- package/dist/chunks/{command-xkmmweqg.js → location-services-9v27091d.js} +17 -17
- package/dist/chunks/{command-v5brjje0.js → location-services-9zdg1nht.js} +15 -15
- package/dist/chunks/{command-6xr9vfwh.js → location-services-a0mx2tpn.js} +16 -16
- package/dist/chunks/{command-qv2477tn.js → location-services-a544w0n6.js} +17 -17
- package/dist/chunks/{command-jxqj52kg.js → location-services-a6ekb6p5.js} +11 -11
- package/dist/chunks/{command-r6drjba7.js → location-services-a6k9xjxk.js} +29 -29
- package/dist/chunks/{command-4rc4c6p6.js → location-services-abazfvew.js} +35 -35
- package/dist/chunks/{command-p7f9amnf.js → location-services-agqd6nxz.js} +6 -6
- package/dist/chunks/{command-aj7mw0zk.js → location-services-aj7mw0zk.js} +2 -2
- package/dist/chunks/{command-6sffq8p7.js → location-services-ajhs9baq.js} +8 -8
- package/dist/chunks/{command-km31c7kj.js → location-services-ann6jqpt.js} +21 -21
- package/dist/chunks/{command-0rq6zj2e.js → location-services-ap4sczth.js} +39 -39
- package/dist/chunks/{command-jrye536t.js → location-services-aw1nwnam.js} +11 -11
- package/dist/chunks/{command-ssfehs1z.js → location-services-b1pn0vxn.js} +4 -4
- package/dist/chunks/{command-b6vsg801.js → location-services-b6vsg801.js} +2 -2
- package/dist/chunks/{command-pcr7gbpj.js → location-services-b8ymz842.js} +13 -13
- package/dist/chunks/{command-bjhzkqyk.js → location-services-bjhzkqyk.js} +1 -1
- package/dist/chunks/{command-yp1yfw1j.js → location-services-bkjbe0jh.js} +5 -5
- package/dist/chunks/{command-7bd1zx9q.js → location-services-c3q0wwqw.js} +17 -17
- package/dist/chunks/{command-cn1mgj56.js → location-services-cdj17kd2.js} +9 -9
- package/dist/chunks/location-services-csqm35kb.js +515 -0
- package/dist/chunks/{command-fft6kzd2.js → location-services-csz5e332.js} +3 -3
- package/dist/chunks/{command-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-3268pdg4.js → location-services-cwzb6akg.js} +18 -18
- package/dist/chunks/{command-tjre620e.js → location-services-cygdy78r.js} +6 -6
- package/dist/chunks/{command-29t3wztw.js → location-services-d0eapxbw.js} +27 -27
- package/dist/chunks/{command-7yect7x1.js → location-services-d0h96hzn.js} +2 -2
- package/dist/chunks/{command-nfze187e.js → location-services-d3w8c6ae.js} +15 -15
- package/dist/chunks/{command-gn8tkhbf.js → location-services-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-z6445x7a.js → location-services-dadnkh66.js} +12 -12
- package/dist/chunks/{command-7g4ceemv.js → location-services-dbd02vxg.js} +3 -3
- package/dist/chunks/{command-16xbxjgz.js → location-services-dhseayww.js} +19 -19
- package/dist/chunks/{command-5851zxg9.js → location-services-dn59zr14.js} +16 -16
- package/dist/chunks/{command-6xrdpfmf.js → location-services-dp2bc5b9.js} +35 -35
- package/dist/chunks/{command-b4vpdc8n.js → location-services-ds7r37yp.js} +5 -5
- package/dist/chunks/{command-dt77769w.js → location-services-dt77769w.js} +1 -1
- package/dist/chunks/{command-zz7cy004.js → location-services-dtz8ehjs.js} +13 -13
- package/dist/chunks/{command-a7s1nr2m.js → location-services-e2x7gzav.js} +7 -7
- package/dist/chunks/{command-515hc563.js → location-services-e609836v.js} +25 -25
- package/dist/chunks/{command-tzqrh5pq.js → location-services-e7wnnxma.js} +13 -13
- package/dist/chunks/{command-e834z07m.js → location-services-e834z07m.js} +1 -1
- package/dist/chunks/{command-ep59zg61.js → location-services-ep59zg61.js} +3 -3
- package/dist/chunks/{command-n3bkb5q1.js → location-services-ewr5k9wg.js} +8 -8
- package/dist/chunks/{command-gf614vnd.js → location-services-ezpa2rgc.js} +6 -6
- package/dist/chunks/{command-k0z9xgt2.js → location-services-f12bs9yg.js} +11 -11
- package/dist/chunks/{command-zrc3q1m0.js → location-services-f2ykvxgv.js} +11 -11
- package/dist/chunks/{command-atzg8zb1.js → location-services-f6fa8ktk.js} +34 -34
- package/dist/chunks/{command-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-fg9p65nk.js → location-services-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-mz5czfjq.js → location-services-fgxw29yc.js} +22 -22
- package/dist/chunks/{command-jzfm45zn.js → location-services-fswr6j0v.js} +5 -5
- package/dist/chunks/{command-etbjhst2.js → location-services-ftmjfqeg.js} +7 -7
- package/dist/chunks/{command-exfq29n4.js → location-services-g1sszzvh.js} +25 -25
- package/dist/chunks/{command-36y1bd58.js → location-services-g2hh2b2h.js} +12 -12
- package/dist/chunks/{command-ztf6n3de.js → location-services-g42b6ca9.js} +4 -4
- package/dist/chunks/{command-ay2wbdds.js → location-services-g97pjfkw.js} +14 -14
- package/dist/chunks/{command-eexq3avs.js → location-services-gfk8shh2.js} +7 -7
- package/dist/chunks/{command-c3tj1nfn.js → location-services-gkdfcy6p.js} +16 -16
- package/dist/chunks/{command-cdq1pcjt.js → location-services-gm2a68z7.js} +16 -16
- package/dist/chunks/{command-gf3f1z7b.js → location-services-gm8h4frt.js} +9 -9
- package/dist/chunks/{command-tdjjjkq6.js → location-services-gnmrya69.js} +26 -26
- package/dist/chunks/{command-gtn9c16a.js → location-services-gtn9c16a.js} +1 -1
- package/dist/chunks/{command-8at4k5nj.js → location-services-gw2pq1m3.js} +25 -25
- package/dist/chunks/{command-em23s76k.js → location-services-gwjnap29.js} +17 -17
- package/dist/chunks/{command-w1yz8y9w.js → location-services-h9w9z87g.js} +8 -8
- package/dist/chunks/{command-w84a1txn.js → location-services-hc5tnge5.js} +9 -9
- package/dist/chunks/{command-cbkde0jd.js → location-services-he00d8qs.js} +24 -24
- package/dist/chunks/{command-2t58wk4f.js → location-services-hh7psv2k.js} +11 -11
- package/dist/chunks/{command-hpg1pkwy.js → location-services-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-wgjkkrj2.js → location-services-hqcwe82e.js} +27 -27
- package/dist/chunks/{command-v0q3mgw6.js → location-services-hqe124ch.js} +12 -12
- package/dist/chunks/{command-9z9tayqc.js → location-services-hvy79q2t.js} +8 -8
- package/dist/chunks/{command-y7crk8z2.js → location-services-hw5kz99h.js} +13 -13
- package/dist/chunks/{command-mptdz56v.js → location-services-hwn8hb14.js} +33 -33
- package/dist/chunks/{command-yhdj4qa2.js → location-services-hz5mdqd1.js} +14 -14
- package/dist/chunks/{command-eehpsxwd.js → location-services-j2nwqr75.js} +9 -9
- package/dist/chunks/{command-07b35671.js → location-services-j5e69w9m.js} +42 -42
- package/dist/chunks/{command-jfaecv01.js → location-services-jfaecv01.js} +1 -1
- package/dist/chunks/{command-29ph2m0n.js → location-services-jhh81dyr.js} +34 -34
- package/dist/chunks/{command-jtnps1zs.js → location-services-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-9r0x1bva.js → location-services-k03zy2hn.js} +9 -9
- package/dist/chunks/{command-9tvh7z9g.js → location-services-k7023vhv.js} +60 -60
- package/dist/chunks/{command-e71bb87j.js → location-services-k7fcp7vh.js} +8 -8
- package/dist/chunks/{command-k814nvkf.js → location-services-k814nvkf.js} +1 -1
- package/dist/chunks/{command-k9zkdd2y.js → location-services-k9zkdd2y.js} +1 -1
- package/dist/chunks/{command-gdrsszk7.js → location-services-kajq6kw3.js} +14 -14
- package/dist/chunks/{command-s1e3bnys.js → location-services-kep2v7tx.js} +34 -34
- package/dist/chunks/{command-wxy4dqwa.js → location-services-kh99ak1n.js} +8 -8
- package/dist/chunks/{command-frj2twk5.js → location-services-kn8g1zqp.js} +20 -20
- package/dist/chunks/{command-zyy21h18.js → location-services-kpe2ster.js} +23 -23
- package/dist/chunks/{command-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-m1714858.js → location-services-m1714858.js} +1 -1
- package/dist/chunks/{command-hfgk9wzg.js → location-services-m37sd98t.js} +4 -4
- package/dist/chunks/{command-p9ayhvdt.js → location-services-m4376bw8.js} +24 -24
- package/dist/chunks/{command-6n9ky129.js → location-services-m7bmrshs.js} +23 -23
- package/dist/chunks/{command-msj7tqt3.js → location-services-m7ee3x5c.js} +8 -8
- package/dist/chunks/{command-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-vv0zpxc5.js → location-services-ma5c6kmc.js} +10 -10
- package/dist/chunks/{command-j12cv1sc.js → location-services-mafwm63e.js} +28 -28
- package/dist/chunks/{command-shanfhsz.js → location-services-mcsw7q1w.js} +14 -14
- package/dist/chunks/{command-dsbck6v3.js → location-services-me57jfex.js} +11 -11
- package/dist/chunks/{command-4mpvz957.js → location-services-mjyhtj6b.js} +30 -30
- package/dist/chunks/{command-r438avjf.js → location-services-mtx8ysqm.js} +47 -47
- package/dist/chunks/{command-10z2q35a.js → location-services-mwm9x9q2.js} +19 -19
- package/dist/chunks/{command-hvm8hq2z.js → location-services-mwya9ecc.js} +18 -18
- package/dist/chunks/{command-6etkam66.js → location-services-n6wm1y8w.js} +39 -39
- package/dist/chunks/{command-vpm8vpz0.js → location-services-n7d88tpn.js} +2 -2
- package/dist/chunks/location-services-nb8ms8t2.js +257 -0
- package/dist/chunks/{command-h2ry2ahb.js → location-services-ne9mmrs0.js} +9 -9
- package/dist/chunks/{command-ebj3rvtd.js → location-services-nggscxdc.js} +10 -10
- package/dist/chunks/{command-ma407v5y.js → location-services-nrdzy92p.js} +13 -13
- package/dist/chunks/{command-455g72dc.js → location-services-nv66c0g2.js} +14 -14
- package/dist/chunks/{command-p015t6z3.js → location-services-p015t6z3.js} +2 -2
- package/dist/chunks/{command-cpgbtk9c.js → location-services-pkf3y2cc.js} +4 -4
- package/dist/chunks/{command-pknna89w.js → location-services-pknna89w.js} +1 -1
- package/dist/chunks/{command-tjt434kf.js → location-services-pmx7hay9.js} +18 -18
- package/dist/chunks/{command-0821qhef.js → location-services-pqbq7shd.js} +6 -6
- package/dist/chunks/{command-x9szzvh5.js → location-services-pt8q01rp.js} +13 -13
- package/dist/chunks/location-services-pxqj8rbj.js +26 -0
- package/dist/chunks/{command-0md8jbwq.js → location-services-q1h8wfhm.js} +16 -16
- package/dist/chunks/{command-v6pfsmaj.js → location-services-q3ytx1n6.js} +92 -92
- package/dist/chunks/{command-n9e6fwv2.js → location-services-q75hjfnr.js} +4 -4
- package/dist/chunks/{command-5nx4wf47.js → location-services-qggetshm.js} +30 -30
- package/dist/chunks/{command-pxtfkpje.js → location-services-qkw2jr9b.js} +2 -2
- package/dist/chunks/{command-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-q1v2rqx1.js → location-services-qvba1qmh.js} +32 -32
- package/dist/chunks/{command-rtn5n65h.js → location-services-qzy6y7mb.js} +5 -5
- package/dist/chunks/{command-fw1xdg81.js → location-services-r0ft14n5.js} +16 -16
- package/dist/chunks/{command-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
- package/dist/chunks/{command-6jkh4qsb.js → location-services-r1x2w1ym.js} +6 -6
- package/dist/chunks/{command-5043ej2r.js → location-services-r487f7wy.js} +34 -34
- package/dist/chunks/{command-3zj1xpaw.js → location-services-r4fe16v6.js} +30 -30
- package/dist/chunks/{command-r542h3bh.js → location-services-r542h3bh.js} +1 -1
- package/dist/chunks/{command-dq1vsfnp.js → location-services-ra4hznbt.js} +12 -12
- package/dist/chunks/{command-kmzgegqq.js → location-services-ra6js1h8.js} +8 -8
- package/dist/chunks/{command-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-j2d02bpj.js → location-services-rd7zvbs4.js} +16 -16
- package/dist/chunks/{command-p7n3nxvc.js → location-services-rezqpw0g.js} +21 -21
- package/dist/chunks/{command-y0z7xxr2.js → location-services-rqmcybmq.js} +25 -25
- package/dist/chunks/{command-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-tvv0tn9w.js → location-services-rvkbhdv1.js} +6 -6
- package/dist/chunks/{command-ec66vark.js → location-services-rya6xdym.js} +25 -25
- package/dist/chunks/{command-s7gmm2q3.js → location-services-s7gmm2q3.js} +3 -3
- package/dist/chunks/{command-zjfjzrw7.js → location-services-s7p6whyp.js} +4 -4
- package/dist/chunks/{command-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-3nthtgk6.js → location-services-se9a988r.js} +32 -32
- package/dist/chunks/{command-myvbtv3b.js → location-services-sk5ey1ff.js} +4 -4
- package/dist/chunks/{command-9wzjb77v.js → location-services-sngd0g0b.js} +5 -5
- package/dist/chunks/{command-7tgj3thq.js → location-services-sptzjft0.js} +22 -22
- package/dist/chunks/{command-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
- package/dist/chunks/{command-sh3c00mc.js → location-services-sty3kahr.js} +6 -6
- package/dist/chunks/{command-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-s73byfaf.js → location-services-svjraj3c.js} +22 -22
- package/dist/chunks/{command-01b4dp20.js → location-services-szv4nqnj.js} +32 -32
- package/dist/chunks/{command-hnfbx6gz.js → location-services-t24rj6wz.js} +11 -11
- package/dist/chunks/{command-34z95qkg.js → location-services-t5gkqm34.js} +37 -37
- package/dist/chunks/{command-waamrcjf.js → location-services-t60595ww.js} +2 -2
- package/dist/chunks/{command-2v2p2rpz.js → location-services-t784ja64.js} +2 -2
- package/dist/chunks/{command-gtbct7qe.js → location-services-tas7fs57.js} +10 -10
- package/dist/chunks/{command-y0gcdphe.js → location-services-tbbrpwak.js} +44 -44
- package/dist/chunks/{command-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-sq4s6wq1.js → location-services-tn5gxkrv.js} +6 -6
- package/dist/chunks/{command-twssxy5n.js → location-services-twssxy5n.js} +2 -2
- package/dist/chunks/{command-tk7f1t18.js → location-services-v0gec4ky.js} +33 -33
- package/dist/chunks/{command-9q8g9sv8.js → location-services-v0t96s7a.js} +4 -4
- package/dist/chunks/{command-1v0kgbst.js → location-services-v1heev1a.js} +27 -27
- package/dist/chunks/{command-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-wm2sanfk.js → location-services-vetf84hs.js} +4 -4
- package/dist/chunks/{command-70wrqntk.js → location-services-vj7gf67a.js} +6 -6
- package/dist/chunks/{command-h1ytfc0y.js → location-services-vk0mqcpj.js} +11 -11
- package/dist/chunks/{command-ksmsdsrm.js → location-services-vks33rvn.js} +22 -22
- package/dist/chunks/{command-egzpwr9w.js → location-services-vr95fah1.js} +5 -5
- package/dist/chunks/{command-takvccra.js → location-services-vrcsa8qx.js} +9 -9
- package/dist/chunks/{command-438nppkm.js → location-services-vstygr49.js} +36 -36
- package/dist/chunks/{command-26x8chrq.js → location-services-vzppetdn.js} +6 -6
- package/dist/chunks/{command-2n3kxmrb.js → location-services-w0dy55r8.js} +13 -13
- package/dist/chunks/{command-40za9wsf.js → location-services-w2eysc6j.js} +9 -9
- package/dist/chunks/{command-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-xmsgn8wk.js → location-services-w42rwbpm.js} +11 -11
- package/dist/chunks/{command-qcwk3ksp.js → location-services-wab3t0nt.js} +18 -18
- package/dist/chunks/{command-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → location-services-wd87259q.js} +1 -1
- package/dist/chunks/{command-wnhgecwx.js → location-services-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-w687dnns.js → location-services-wr3re1en.js} +4 -4
- package/dist/chunks/{command-azw5wzd7.js → location-services-wrdfsmbk.js} +25 -25
- package/dist/chunks/{command-fhazfch2.js → location-services-wzp9wckv.js} +43 -43
- package/dist/chunks/{command-fgs47z99.js → location-services-x6x2eb9s.js} +22 -22
- package/dist/chunks/{command-bstexjd6.js → location-services-xd9cc171.js} +5 -5
- package/dist/chunks/{command-b29mbqx6.js → location-services-xh49vxj8.js} +5 -5
- package/dist/chunks/{command-zf0kqan8.js → location-services-xhyfvswv.js} +4 -4
- package/dist/chunks/{command-86s92ra1.js → location-services-xkr18nqd.js} +43 -42
- package/dist/chunks/{command-hr8ybq2q.js → location-services-xnawt8mb.js} +3 -3
- package/dist/chunks/{command-yr0jtzyt.js → location-services-xtj9bp1x.js} +11 -11
- package/dist/chunks/{command-00mjjsd1.js → location-services-y7xh4g9a.js} +9 -9
- package/dist/chunks/{command-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-m5gkvr4e.js → location-services-yg6mcpcz.js} +4 -4
- package/dist/chunks/{command-ymz7p2c9.js → location-services-ymz7p2c9.js} +3 -3
- package/dist/chunks/{command-e79z1jvy.js → location-services-yp6t9n48.js} +19 -19
- package/dist/chunks/{command-yqhz1kx0.js → location-services-yqhz1kx0.js} +2 -2
- package/dist/chunks/{command-cn79fdx8.js → location-services-yry8y2z0.js} +17 -17
- package/dist/chunks/{command-8kggrr3e.js → location-services-ywbjnqrq.js} +13 -13
- package/dist/chunks/{command-5qsq6d1y.js → location-services-z0wqvcxr.js} +24 -24
- package/dist/chunks/{command-2rysqmgp.js → location-services-z1m0y3dj.js} +21 -21
- package/dist/chunks/location-services-z356t07w.js +39 -0
- package/dist/chunks/{command-z38nccrw.js → location-services-z38nccrw.js} +1 -1
- package/dist/chunks/{command-5kbev7nh.js → location-services-z6v532az.js} +6 -6
- package/dist/chunks/{command-nzjp5m62.js → location-services-z8f86d31.js} +8 -8
- package/dist/chunks/{command-jf78x530.js → location-services-za14dw9p.js} +14 -14
- package/dist/chunks/{command-sbke1tyt.js → location-services-zdmnyygs.js} +5 -5
- package/dist/chunks/{command-vc24ps4y.js → location-services-zk2gvj1a.js} +25 -25
- package/dist/chunks/{command-4rm62t2b.js → location-services-zp8re2db.js} +17 -17
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +91 -91
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -108
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +163 -163
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +122 -122
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +139 -139
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +77 -77
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration.gen.js +56 -56
- package/dist/database/migration.js +58 -58
- 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 +99 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +380 -378
- 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 +102 -102
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -104
- 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 +81 -81
- package/dist/file-access.js +145 -145
- package/dist/file-mutation.js +103 -103
- 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/file-watch.js +87 -87
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +235 -235
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -108
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +113 -113
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -96
- package/dist/generate.js +116 -116
- 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 +100 -100
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +371 -369
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +90 -90
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -80
- package/dist/location-activity.js +167 -167
- package/dist/location-lifecycle.js +143 -143
- package/dist/location-service-map.js +95 -95
- package/dist/location-services.js +368 -366
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +100 -100
- package/dist/mcp/index.js +118 -118
- package/dist/mcp/instructions.js +167 -167
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -99
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +108 -108
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -87
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +144 -144
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -82
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/goal.js +16 -0
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +226 -226
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +340 -339
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -106
- package/dist/plugin/module.js +124 -124
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +139 -139
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +99 -99
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -122
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -102
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -104
- package/dist/plugin/provider/gitlab.js +102 -102
- package/dist/plugin/provider/google-vertex.js +119 -119
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -85
- package/dist/plugin/provider/lmstudio.js +131 -131
- package/dist/plugin/provider/local.js +128 -128
- package/dist/plugin/provider/modal.js +101 -101
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -131
- package/dist/plugin/provider/openai-context-caps.js +99 -99
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +125 -125
- package/dist/plugin/provider/openrouter.js +100 -100
- package/dist/plugin/provider/poe.js +86 -86
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -100
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/vllm.js +131 -131
- package/dist/plugin/provider/xai.js +100 -100
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +172 -172
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -142
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -95
- package/dist/plugin/vcs/hg.js +95 -95
- package/dist/plugin/verbosity.js +102 -102
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +235 -235
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -95
- package/dist/provider.js +104 -104
- 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 +95 -95
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +89 -89
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -106
- package/dist/rpc.js +95 -95
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +231 -231
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +8 -0
- package/dist/session/blob.js +121 -121
- package/dist/session/command.js +81 -81
- package/dist/session/compaction.js +159 -159
- package/dist/session/context.js +189 -189
- package/dist/session/diff.js +97 -97
- 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 +232 -232
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +191 -191
- package/dist/session/history.js +128 -128
- package/dist/session/inbox.js +141 -141
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -133
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -156
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +157 -157
- package/dist/session/projector.js +135 -135
- package/dist/session/prompt.js +141 -141
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -131
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +240 -239
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +142 -142
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +155 -155
- package/dist/session/runner/to-llm-message.js +129 -129
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +173 -173
- package/dist/session/shell.js +136 -136
- package/dist/session/skill.js +142 -142
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +134 -134
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +220 -220
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -193
- package/dist/session/to-session-error.js +141 -141
- package/dist/session/transfer.js +229 -229
- package/dist/session/usage.js +1 -1
- package/dist/session.js +222 -222
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +142 -142
- package/dist/skill.js +151 -151
- package/dist/snapshot.js +102 -102
- 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 +166 -166
- package/dist/tool/plugin/edit.js +157 -157
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +161 -161
- package/dist/tool/plugin/grep.js +161 -161
- package/dist/tool/plugin/mcp-resource.js +155 -155
- package/dist/tool/plugin/opencode.js +154 -154
- package/dist/tool/plugin/patch.js +159 -159
- package/dist/tool/plugin/question.js +139 -139
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +146 -146
- package/dist/tool/plugin/subagent.js +225 -225
- package/dist/tool/plugin/todo.js +146 -146
- package/dist/tool/plugin/webfetch.js +148 -148
- package/dist/tool/plugin/websearch.js +146 -146
- package/dist/tool/plugin/write.js +159 -159
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/plugin/goal.d.ts +8 -0
- package/dist/types/session/background.d.ts +26 -0
- package/dist/types/session/runner/index.d.ts +16 -0
- package/dist/usage-limits.js +96 -96
- 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 +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -101
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +100 -100
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -98
- package/dist/voice.js +95 -95
- package/dist/websearch.js +87 -87
- package/dist/wellknown/plugin.js +83 -83
- package/dist/wellknown.js +84 -84
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +87 -87
- 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 +98 -98
- package/dist/worktree.js +107 -107
- package/package.json +10 -10
- package/dist/chunks/command-4vy9vv05.js +0 -511
- package/dist/chunks/command-8x060fmy.js +0 -18
- package/dist/chunks/command-x17jgygk.js +0 -26
- package/dist/chunks/command-xxs30trs.js +0 -257
- /package/dist/chunks/{command-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1jakw16s.js → location-services-1jakw16s.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → location-services-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → location-services-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → location-services-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → location-services-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → location-services-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → location-services-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → location-services-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → location-services-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → location-services-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → location-services-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → location-services-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → location-services-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a058387c.js → location-services-a058387c.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → location-services-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → location-services-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → location-services-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → location-services-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → location-services-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → location-services-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → location-services-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → location-services-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → location-services-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → location-services-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → location-services-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → location-services-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → location-services-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → location-services-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → location-services-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → location-services-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-myztnk54.js → location-services-myztnk54.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-ncqqe42p.js → location-services-ncqqe42p.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → location-services-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → location-services-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → location-services-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → location-services-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → location-services-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → location-services-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → location-services-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → location-services-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → location-services-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID7,
|
|
6
|
+
Service50
|
|
7
|
+
} from "./location-services-v0gec4ky.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-services-n7d88tpn.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-services-z6v532az.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-services-ep59zg61.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-services-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service50;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID7.make(from),
|
|
91
|
+
to: ID7.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-dn59zr14.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-services-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-services-j5e69w9m.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-services-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Info: () =>
|
|
21
|
+
Event: () => Event7,
|
|
22
|
+
ID: () => ID5,
|
|
23
|
+
Info: () => Info7,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service39,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
|
-
Source: () =>
|
|
27
|
+
Source: () => Source3,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
|
-
available: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
available: () => available3,
|
|
30
|
+
node: () => node42,
|
|
31
31
|
prepare: () => prepare3,
|
|
32
32
|
toModelOutput: () => toModelOutput3
|
|
33
33
|
});
|
|
@@ -36,15 +36,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import path from "path";
|
|
37
37
|
import { Context, Effect, Layer } from "effect";
|
|
38
38
|
import { Skill } from "@opencode/schema/skill";
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
40
40
|
var DirectorySource2 = Skill.DirectorySource;
|
|
41
41
|
var UrlSource2 = Skill.UrlSource;
|
|
42
42
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
43
|
+
var Source3 = Skill.Source;
|
|
44
|
+
var Info7 = Skill.Info;
|
|
45
|
+
var ID5 = Skill.ID;
|
|
46
46
|
var Name2 = Skill.Name;
|
|
47
|
-
var
|
|
47
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
48
48
|
var toModelOutput3 = (skill, files) => {
|
|
49
49
|
const directory = path.dirname(skill.path);
|
|
50
50
|
return [
|
|
@@ -79,21 +79,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service39 extends Context.Service()("@opencode/Skill") {
|
|
83
83
|
}
|
|
84
|
-
var layer = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service84;
|
|
86
86
|
const state = create3({
|
|
87
87
|
name: "skill",
|
|
88
88
|
initial: () => ({ skills: new Map }),
|
|
89
89
|
editor: (editor) => ({
|
|
90
90
|
list: () => Array.from(editor.skills.values()),
|
|
91
|
-
get: (id) => editor.skills.get(
|
|
91
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
92
92
|
add: (skill) => {
|
|
93
93
|
editor.skills.set(skill.id, { ...skill });
|
|
94
94
|
},
|
|
95
95
|
update: (id, update) => {
|
|
96
|
-
const key =
|
|
96
|
+
const key = ID5.make(id);
|
|
97
97
|
const current = editor.skills.get(key);
|
|
98
98
|
if (!current)
|
|
99
99
|
return;
|
|
@@ -101,12 +101,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
101
101
|
current.id = key;
|
|
102
102
|
},
|
|
103
103
|
remove: (id) => {
|
|
104
|
-
editor.skills.delete(
|
|
104
|
+
editor.skills.delete(ID5.make(id));
|
|
105
105
|
}
|
|
106
106
|
}),
|
|
107
107
|
notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service39.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
}));
|
|
120
|
-
var
|
|
121
|
-
service:
|
|
120
|
+
var node42 = makeLocationNode({
|
|
121
|
+
service: Service39,
|
|
122
122
|
layer,
|
|
123
|
-
deps: [
|
|
123
|
+
deps: [node88]
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
126
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available3, toModelOutput3, prepare3, Service39, node42, exports_skill5, Event7 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service86,
|
|
6
|
-
node90
|
|
7
|
-
} from "./command-hnfbx6gz.js";
|
|
3
|
+
} from "./location-services-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service85,
|
|
10
6
|
node89
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./location-services-t24rj6wz.js";
|
|
12
8
|
import {
|
|
13
9
|
Service84,
|
|
14
10
|
node88
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./location-services-dn59zr14.js";
|
|
12
|
+
import {
|
|
13
|
+
Service86,
|
|
14
|
+
node90
|
|
15
|
+
} from "./location-services-43e24x2b.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-services-e2x7gzav.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-services-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-services-qkw2jr9b.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-services-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-services-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
Current: () => Current2,
|
|
42
42
|
ID: () => ID17,
|
|
43
|
-
Info: () =>
|
|
43
|
+
Info: () => Info28,
|
|
44
44
|
NotFoundError: () => NotFoundError12,
|
|
45
45
|
Project: () => exports_project,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service80,
|
|
47
47
|
UpdateInput: () => UpdateInput3,
|
|
48
48
|
Vcs: () => Vcs2,
|
|
49
|
-
node: () =>
|
|
49
|
+
node: () => node84,
|
|
50
50
|
root: () => root2,
|
|
51
51
|
sweepNode: () => sweepNode2
|
|
52
52
|
});
|
|
@@ -62,7 +62,7 @@ import { Hash } from "@opencode/util/hash";
|
|
|
62
62
|
var ID17 = ID18;
|
|
63
63
|
var Vcs2 = Vcs3;
|
|
64
64
|
var Current2 = Current3;
|
|
65
|
-
var
|
|
65
|
+
var Info28 = Info29;
|
|
66
66
|
var UpdateInput3 = UpdateInput4;
|
|
67
67
|
|
|
68
68
|
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
@@ -84,7 +84,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
84
84
|
var ACTIVATE_INTERVAL = 60000;
|
|
85
85
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
88
88
|
}
|
|
89
89
|
function fromRow(row) {
|
|
90
90
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -108,12 +108,12 @@ function fromRow(row) {
|
|
|
108
108
|
sandboxes: row.sandboxes
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
var layer = Layer.effect(
|
|
111
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
112
112
|
const fs = yield* FSUtil.Service;
|
|
113
|
-
const git = yield*
|
|
113
|
+
const git = yield* Service86;
|
|
114
114
|
const proc = yield* AppProcess.Service;
|
|
115
|
-
const bus = yield*
|
|
116
|
-
const db = (yield*
|
|
115
|
+
const bus = yield* Service84;
|
|
116
|
+
const db = (yield* Service85).db;
|
|
117
117
|
const scope = yield* Scope.Scope;
|
|
118
118
|
const announcing = new Set;
|
|
119
119
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -123,8 +123,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
123
123
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
124
124
|
const changed = replaced ?? unarchived;
|
|
125
125
|
if (changed)
|
|
126
|
-
yield* bus.publish(
|
|
127
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
126
|
+
yield* bus.publish(Event19.Updated, fromRow(changed));
|
|
127
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event19.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
128
128
|
if (!project.vcs)
|
|
129
129
|
return project;
|
|
130
130
|
const directories = [
|
|
@@ -185,7 +185,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
185
185
|
if (!row)
|
|
186
186
|
return yield* new NotFoundError12({ projectID: input.projectID });
|
|
187
187
|
const project = fromRow(row);
|
|
188
|
-
yield* bus.publish(
|
|
188
|
+
yield* bus.publish(Event19.Updated, project);
|
|
189
189
|
return project;
|
|
190
190
|
});
|
|
191
191
|
const activated = new Map;
|
|
@@ -196,7 +196,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
196
196
|
activated.set(projectID, now);
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
202
202
|
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
@@ -333,23 +333,23 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
333
333
|
return;
|
|
334
334
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
335
335
|
if (row)
|
|
336
|
-
yield* bus.publish(
|
|
336
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
337
337
|
}), { concurrency: 8, discard: true });
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service80.of({ list, update, activate, resolve, sweep });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node84 = makeGlobalNode({
|
|
342
|
+
service: Service80,
|
|
343
343
|
layer,
|
|
344
|
-
deps: [
|
|
344
|
+
deps: [node88, node89, FSUtil.node, node90, AppProcess.node]
|
|
345
345
|
});
|
|
346
346
|
var sweepNode2 = makeGlobalNode({
|
|
347
347
|
name: "project-archive-sweep",
|
|
348
348
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
349
|
-
const project = yield*
|
|
349
|
+
const project = yield* Service80;
|
|
350
350
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
351
351
|
})),
|
|
352
|
-
deps: [
|
|
352
|
+
deps: [node84]
|
|
353
353
|
});
|
|
354
354
|
|
|
355
|
-
export { ID17, Vcs2, Current2,
|
|
355
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError12, root2, Service80, node84, sweepNode2, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-m37sd98t.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-services-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin3,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2,
|
|
@@ -375,7 +375,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
375
375
|
`;
|
|
376
376
|
|
|
377
377
|
// src/plugin/optimize.ts
|
|
378
|
-
var
|
|
378
|
+
var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
|
|
379
379
|
const id = model.id.toLowerCase();
|
|
380
380
|
if (!id.includes("gpt"))
|
|
381
381
|
return;
|
|
@@ -410,7 +410,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
410
410
|
return;
|
|
411
411
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
412
412
|
});
|
|
413
|
-
var Plugins2 = [
|
|
413
|
+
var Plugins2 = [OpenAIPlugin3, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
414
414
|
var models = new WeakMap;
|
|
415
415
|
var resolveModel2 = (ctx, event) => Effect.gen(function* () {
|
|
416
416
|
const cached = models.get(event);
|
|
@@ -447,4 +447,4 @@ ${rendered}` : rendered;
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
export {
|
|
450
|
+
export { OpenAIPlugin3, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, resolveModel2, exports_optimize };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-services-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-services-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-services-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error3,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make17,
|
|
14
|
+
node: () => node49,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make17 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node49 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error3, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node49, exports_driver };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-services-dn59zr14.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./location-services-w0dy55r8.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-services-204s3925.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-services-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
20
|
DisabledError: () => DisabledError2,
|
|
21
|
-
Event: () =>
|
|
21
|
+
Event: () => Event4,
|
|
22
22
|
ID: () => ID4,
|
|
23
23
|
Input: () => Input14,
|
|
24
24
|
Provider: () => Provider2,
|
|
@@ -29,16 +29,16 @@ __export(exports_websearch3, {
|
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service15,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node18
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
41
|
+
import { Event as Event4 } from "@opencode/schema/websearch";
|
|
42
42
|
var ID4 = WebSearch.ID;
|
|
43
43
|
var Provider2 = WebSearch.Provider;
|
|
44
44
|
var Input14 = WebSearch.Input;
|
|
@@ -64,11 +64,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service15 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
70
|
-
const bus = yield*
|
|
71
|
-
const kv = yield*
|
|
69
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
70
|
+
const bus = yield* Service84;
|
|
71
|
+
const kv = yield* Service83;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
129
129
|
}
|
|
130
130
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
131
131
|
});
|
|
132
|
-
return
|
|
132
|
+
return Service15.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -186,10 +186,10 @@ function cooldownMillis(value, now) {
|
|
|
186
186
|
const date = Date.parse(value);
|
|
187
187
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
188
188
|
}
|
|
189
|
-
var
|
|
190
|
-
service:
|
|
189
|
+
var node18 = makeLocationNode({
|
|
190
|
+
service: Service15,
|
|
191
191
|
layer,
|
|
192
|
-
deps: [
|
|
192
|
+
deps: [node88, node87]
|
|
193
193
|
});
|
|
194
194
|
|
|
195
|
-
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
195
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service15, node18, exports_websearch3, Event4 };
|