@opencode/core 0.0.0-dev-21246 → 0.0.0-dev-21253
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-qhqzagh6.js → location-service-map-04k4tfkv.js} +11 -11
- package/dist/chunks/{model-1khnc541.js → location-service-map-0b4vcyee.js} +10 -10
- package/dist/chunks/{model-6qr4j83s.js → location-service-map-0b7fzb2t.js} +7 -7
- package/dist/chunks/{model-0vbcp93d.js → location-service-map-0emb60td.js} +2 -2
- package/dist/chunks/{model-22x4nvy2.js → location-service-map-0ftb6bkr.js} +24 -24
- package/dist/chunks/{model-c7e58gyn.js → location-service-map-0jecb6bt.js} +14 -14
- package/dist/chunks/{model-aft55nha.js → location-service-map-0sapgepd.js} +11 -11
- package/dist/chunks/{model-athpecc5.js → location-service-map-0sgd8qaf.js} +22 -22
- package/dist/chunks/{model-097tdram.js → location-service-map-0xspzhtc.js} +14 -14
- package/dist/chunks/{model-8fqv1czf.js → location-service-map-0zcas32x.js} +20 -20
- package/dist/chunks/{model-vsd1gfwp.js → location-service-map-10tjy8f3.js} +27 -27
- package/dist/chunks/{model-j1aawj34.js → location-service-map-11vd7v3k.js} +28 -28
- package/dist/chunks/{model-w0wzfpd6.js → location-service-map-1a6d4tpk.js} +22 -22
- package/dist/chunks/{model-3pwzytv4.js → location-service-map-1az5ecc6.js} +24 -24
- package/dist/chunks/location-service-map-1fkhxkr9.js +257 -0
- package/dist/chunks/{model-8wvywagr.js → location-service-map-1s8x17fn.js} +36 -36
- package/dist/chunks/{model-z8ajx630.js → location-service-map-28scebvh.js} +12 -12
- package/dist/chunks/{model-9880wbbs.js → location-service-map-2b8txd85.js} +11 -11
- package/dist/chunks/{model-s5met55r.js → location-service-map-2ktf0ed2.js} +8 -8
- package/dist/chunks/{model-awbtd0yc.js → location-service-map-2nhbp4ey.js} +11 -11
- package/dist/chunks/{model-syqwr3zh.js → location-service-map-2smeayfc.js} +13 -13
- package/dist/chunks/{model-5r6fx5kf.js → location-service-map-2wjjq69z.js} +30 -30
- package/dist/chunks/{model-sxjbcd6h.js → location-service-map-2wv1w4ht.js} +26 -26
- package/dist/chunks/{model-ssjyj57x.js → location-service-map-2wzsrfv9.js} +6 -6
- package/dist/chunks/{model-8qrvq6xp.js → location-service-map-2yqzctst.js} +24 -24
- package/dist/chunks/{model-tqfze7qe.js → location-service-map-31gfn46a.js} +34 -34
- package/dist/chunks/{model-nqan7h4w.js → location-service-map-34yf9apc.js} +5 -5
- package/dist/chunks/{model-t9p9ds3w.js → location-service-map-3db608qv.js} +45 -45
- package/dist/chunks/{model-ddf16z40.js → location-service-map-3fex6f4e.js} +24 -24
- package/dist/chunks/{model-vcvrskz7.js → location-service-map-3gbegrpe.js} +11 -11
- package/dist/chunks/{model-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-e4n90qqz.js → location-service-map-3mhcap8g.js} +25 -25
- package/dist/chunks/{model-91rcp8sj.js → location-service-map-3n1f9gjw.js} +5 -5
- package/dist/chunks/{model-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-pmrbxne1.js → location-service-map-3wpps7p7.js} +16 -16
- package/dist/chunks/{model-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-qne3fa44.js → location-service-map-43kvem2p.js} +5 -5
- package/dist/chunks/{model-p2a5t6n1.js → location-service-map-448df8b6.js} +13 -13
- package/dist/chunks/{model-2shkhq8w.js → location-service-map-47kyhsf5.js} +94 -94
- package/dist/chunks/{model-be0c020n.js → location-service-map-4af8amen.js} +1 -1
- package/dist/chunks/{model-p9ejm27k.js → location-service-map-4f1cmjbr.js} +180 -180
- package/dist/chunks/{model-pcvvctms.js → location-service-map-4xdpqd00.js} +23 -23
- package/dist/chunks/{model-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{model-2dfjzq3d.js → location-service-map-58gf644q.js} +19 -19
- package/dist/chunks/{model-scv7p57g.js → location-service-map-5e1pzs32.js} +9 -9
- package/dist/chunks/{model-k14cytbx.js → location-service-map-5hyxmv2s.js} +18 -18
- package/dist/chunks/{model-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-d0r6ezqk.js → location-service-map-5mjy3nze.js} +8 -8
- package/dist/chunks/{model-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-p4mj4rdp.js → location-service-map-5xtgfte3.js} +8 -8
- package/dist/chunks/{model-7dqw4kz8.js → location-service-map-607tc6va.js} +5 -5
- package/dist/chunks/{model-64wcp3ah.js → location-service-map-61ccqgbk.js} +31 -31
- package/dist/chunks/{model-pe8kdg2p.js → location-service-map-63axe1xw.js} +19 -19
- package/dist/chunks/{model-1gdg00yg.js → location-service-map-66n522bf.js} +7 -7
- package/dist/chunks/{model-6827pfxn.js → location-service-map-6827pfxn.js} +1 -1
- package/dist/chunks/{model-xatn3567.js → location-service-map-68c6bywe.js} +15 -15
- package/dist/chunks/{model-pkd7a947.js → location-service-map-69c1rm2y.js} +35 -35
- package/dist/chunks/{model-aam1wbba.js → location-service-map-6dhkbmar.js} +22 -22
- package/dist/chunks/{model-gvq4k2rx.js → location-service-map-6e05mvjn.js} +3 -3
- package/dist/chunks/{model-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-mnwdfy6v.js → location-service-map-701zgde4.js} +36 -36
- package/dist/chunks/{model-k6zys8zm.js → location-service-map-7475ye8q.js} +19 -19
- package/dist/chunks/{model-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
- package/dist/chunks/{model-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-95vh4d4w.js → location-service-map-7gzr8fcx.js} +65 -65
- package/dist/chunks/{model-69dwh4me.js → location-service-map-7styb3mj.js} +12 -12
- package/dist/chunks/{model-625mrsyp.js → location-service-map-7wz66va2.js} +43 -43
- package/dist/chunks/{model-1xfgz0sp.js → location-service-map-84gf0929.js} +4 -4
- package/dist/chunks/{model-w1eejvng.js → location-service-map-84txncab.js} +5 -5
- package/dist/chunks/{model-51gxmejf.js → location-service-map-89xs86m8.js} +19 -19
- package/dist/chunks/{model-r8h9xppv.js → location-service-map-8dew01v7.js} +9 -9
- package/dist/chunks/{model-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-qa3qhgw8.js → location-service-map-8rqycdgd.js} +7 -7
- package/dist/chunks/{model-n9wyj86f.js → location-service-map-8z89m2ag.js} +6 -6
- package/dist/chunks/{model-91qna3x0.js → location-service-map-91qna3x0.js} +3 -3
- package/dist/chunks/{model-87y04qby.js → location-service-map-96kdejr0.js} +12 -12
- package/dist/chunks/{model-5fec3t3w.js → location-service-map-97aeaand.js} +9 -9
- package/dist/chunks/{model-ad0pmgce.js → location-service-map-99r3jdkb.js} +4 -4
- package/dist/chunks/{model-5nszh0bg.js → location-service-map-9cmxz3t2.js} +24 -24
- package/dist/chunks/{model-2kmfbs7e.js → location-service-map-9daafeqq.js} +5 -5
- package/dist/chunks/{model-yhd4kr0d.js → location-service-map-9e7as449.js} +19 -19
- package/dist/chunks/{model-2g6dfhex.js → location-service-map-9v965wtz.js} +29 -29
- package/dist/chunks/{model-jhdf29st.js → location-service-map-9vrga451.js} +1 -1
- package/dist/chunks/{model-3d73cf36.js → location-service-map-9yj7qnam.js} +6 -6
- package/dist/chunks/{model-qge264qz.js → location-service-map-9z5vgmdz.js} +35 -35
- package/dist/chunks/{model-fe6t81kk.js → location-service-map-a2qhda9k.js} +34 -34
- package/dist/chunks/{model-0z1664j4.js → location-service-map-a392m9tg.js} +3 -3
- package/dist/chunks/{model-n4c5dz5t.js → location-service-map-a3n0rbz6.js} +8 -8
- package/dist/chunks/{model-gprk1h4z.js → location-service-map-a6m2mr7x.js} +11 -11
- package/dist/chunks/{model-7s91hvyw.js → location-service-map-a78mngf1.js} +18 -18
- package/dist/chunks/{model-awpj2eee.js → location-service-map-ags159dz.js} +20 -20
- package/dist/chunks/{model-r3berafb.js → location-service-map-ar493ya2.js} +30 -30
- package/dist/chunks/{model-jpnzyfkp.js → location-service-map-aranr509.js} +15 -15
- package/dist/chunks/{model-q9s78hn2.js → location-service-map-asrhbzgz.js} +9 -9
- package/dist/chunks/{model-73e3zp3f.js → location-service-map-atsmnjdq.js} +41 -41
- package/dist/chunks/{model-xyskky0w.js → location-service-map-av46q1hz.js} +30 -30
- package/dist/chunks/{model-7xbjxe45.js → location-service-map-avfwhhjy.js} +14 -14
- package/dist/chunks/{model-fz60qaa0.js → location-service-map-b1g4ws88.js} +1 -1
- package/dist/chunks/{model-80c2k4k7.js → location-service-map-b36q4kbz.js} +24 -24
- package/dist/chunks/{model-6rz1y2wy.js → location-service-map-b5c23w0p.js} +33 -33
- package/dist/chunks/{model-1ep4rre3.js → location-service-map-bzeyqsqd.js} +4 -4
- package/dist/chunks/{model-aeda8hqw.js → location-service-map-c1ngtfbq.js} +17 -17
- package/dist/chunks/{model-t0kn5a8z.js → location-service-map-c2evp3mb.js} +23 -23
- package/dist/chunks/{model-32y4ehgv.js → location-service-map-c39sscj7.js} +11 -11
- package/dist/chunks/{model-rj3eygr5.js → location-service-map-c41wscbt.js} +2 -2
- package/dist/chunks/{model-4npcy765.js → location-service-map-c64jw2v5.js} +4 -4
- package/dist/chunks/{model-sa8ekw3f.js → location-service-map-c8ax2afj.js} +2 -2
- package/dist/chunks/{model-atgtgdsa.js → location-service-map-ca1k71y4.js} +18 -18
- package/dist/chunks/{model-hn57h045.js → location-service-map-ca7w653e.js} +4 -4
- package/dist/chunks/{model-a3jygwg9.js → location-service-map-ce60aw2j.js} +11 -11
- package/dist/chunks/{model-zps3pk6h.js → location-service-map-cfbvewbn.js} +8 -8
- package/dist/chunks/{model-r5atchfd.js → location-service-map-chr7e2hv.js} +35 -35
- package/dist/chunks/{model-zkzbh4fe.js → location-service-map-cjcnyykf.js} +13 -13
- package/dist/chunks/{model-stapj22y.js → location-service-map-cv873j2b.js} +24 -24
- package/dist/chunks/{model-2sejkfem.js → location-service-map-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-d1a28jh7.js → location-service-map-d1a28jh7.js} +2 -2
- package/dist/chunks/{model-b8q5jebn.js → location-service-map-d7p6t65s.js} +19 -19
- package/dist/chunks/{model-g9senpad.js → location-service-map-dk02pm8q.js} +27 -27
- package/dist/chunks/{model-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-kmj26603.js → location-service-map-dq407baf.js} +3 -3
- package/dist/chunks/{model-drwq78ky.js → location-service-map-drwq78ky.js} +1 -1
- package/dist/chunks/{model-7wjtm8pe.js → location-service-map-dsh1t1z2.js} +25 -25
- package/dist/chunks/{model-fwfdmgk0.js → location-service-map-dtqg9ce1.js} +5 -5
- package/dist/chunks/{model-te6jzdmb.js → location-service-map-dw3etbem.js} +5 -5
- package/dist/chunks/{model-9knpn9fj.js → location-service-map-e6hb6vng.js} +9 -9
- package/dist/chunks/{model-5rzwp8tz.js → location-service-map-e80seqcp.js} +3 -3
- package/dist/chunks/{model-hgtsck7j.js → location-service-map-e9tzdgc6.js} +23 -23
- package/dist/chunks/{model-0gdmqesm.js → location-service-map-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-p7pxayv7.js → location-service-map-eb7k65g0.js} +23 -23
- package/dist/chunks/{model-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-c41dsvxf.js → location-service-map-eh6ej367.js} +5 -5
- package/dist/chunks/{model-4maedhka.js → location-service-map-ejjgsgye.js} +6 -6
- package/dist/chunks/{model-ne4b8g45.js → location-service-map-eqacf8hd.js} +51 -51
- package/dist/chunks/{model-dxe8y5pz.js → location-service-map-er4sfmr8.js} +4 -4
- package/dist/chunks/{model-sf5qjhtj.js → location-service-map-erhtex29.js} +11 -11
- package/dist/chunks/{model-c1fqxshp.js → location-service-map-es1vcfrp.js} +3 -3
- package/dist/chunks/{model-f2n192rq.js → location-service-map-f2n192rq.js} +1 -1
- package/dist/chunks/{model-hyq6bs5b.js → location-service-map-f5nc8xkq.js} +22 -22
- package/dist/chunks/{model-1n2tbqxy.js → location-service-map-f6pzc08s.js} +13 -13
- package/dist/chunks/{model-vd0d0qbj.js → location-service-map-famg5fp1.js} +16 -16
- package/dist/chunks/{model-4xpgt2w9.js → location-service-map-fb8ejb83.js} +5 -5
- package/dist/chunks/{model-fcy631f0.js → location-service-map-fcy631f0.js} +1 -1
- package/dist/chunks/{model-q38gq3gg.js → location-service-map-fvgetzaa.js} +15 -15
- package/dist/chunks/{model-q0nrsbdj.js → location-service-map-fww2ha2b.js} +10 -10
- package/dist/chunks/{model-hz4f5mwj.js → location-service-map-fxkn1a9p.js} +9 -9
- package/dist/chunks/{model-vaj0eftp.js → location-service-map-fxmbkhcp.js} +5 -5
- package/dist/chunks/{model-aq8vh238.js → location-service-map-g6qfs4dp.js} +39 -39
- package/dist/chunks/{model-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-dxbxxdsx.js → location-service-map-gejxznp6.js} +3 -3
- package/dist/chunks/{model-addxnjmp.js → location-service-map-gqtdsdt7.js} +4 -4
- package/dist/chunks/{model-251hxpd6.js → location-service-map-gsx6pe7c.js} +2 -2
- package/dist/chunks/{model-52dsmx63.js → location-service-map-gws55fmq.js} +25 -25
- package/dist/chunks/{model-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/location-service-map-ht5y0zrb.js +18 -0
- package/dist/chunks/location-service-map-hv6btyz4.js +517 -0
- package/dist/chunks/{model-yg5d8nnt.js → location-service-map-hwtpwc3p.js} +31 -31
- package/dist/chunks/{model-9ersraf9.js → location-service-map-j1zmzch7.js} +36 -36
- package/dist/chunks/{model-3ppptnan.js → location-service-map-j5w2yx54.js} +6 -6
- package/dist/chunks/{model-1jyb01pe.js → location-service-map-jds9f11v.js} +18 -18
- package/dist/chunks/{model-es2a07ty.js → location-service-map-jj12p2mg.js} +13 -13
- package/dist/chunks/{model-v5t5db04.js → location-service-map-jjmjy7n9.js} +13 -13
- package/dist/chunks/{model-y7nndgyc.js → location-service-map-jjwt9gb5.js} +9 -9
- package/dist/chunks/{model-rtaw32ca.js → location-service-map-jjzg35dh.js} +9 -9
- package/dist/chunks/{model-qn5g76bm.js → location-service-map-jnzjas8r.js} +9 -9
- package/dist/chunks/{model-1hq49wfp.js → location-service-map-jx0nnva4.js} +28 -28
- package/dist/chunks/{model-gkp0ddc4.js → location-service-map-k5qd8j02.js} +8 -8
- package/dist/chunks/{model-graqqgqk.js → location-service-map-k796dn9k.js} +18 -18
- package/dist/chunks/{model-4w4b1d7d.js → location-service-map-ka04c9zv.js} +23 -23
- package/dist/chunks/{model-khmqacep.js → location-service-map-khmqacep.js} +1 -1
- package/dist/chunks/{model-kwb1v3vj.js → location-service-map-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-qcr1ft2j.js → location-service-map-m5p5j9xj.js} +14 -14
- package/dist/chunks/{model-ankjvyyp.js → location-service-map-m8rw2j5b.js} +17 -17
- package/dist/chunks/{model-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{model-kwrthnf5.js → location-service-map-mgba95gv.js} +11 -11
- package/dist/chunks/{model-49npcfp6.js → location-service-map-mm2knkg8.js} +2 -2
- package/dist/chunks/{model-1aqxs61q.js → location-service-map-mnx7k8vc.js} +13 -13
- package/dist/chunks/{model-pdpqmpbc.js → location-service-map-ms4gjrr7.js} +24 -24
- package/dist/chunks/{model-e5shmecn.js → location-service-map-n0w78gez.js} +25 -25
- package/dist/chunks/{model-07pzcvjy.js → location-service-map-n3w8tb9d.js} +4 -4
- package/dist/chunks/{model-a9g1m0ex.js → location-service-map-n5r3786w.js} +26 -26
- package/dist/chunks/{model-hmn8skn7.js → location-service-map-ndq1ymza.js} +32 -32
- package/dist/chunks/{model-rcz188q3.js → location-service-map-nj3favr9.js} +4 -4
- package/dist/chunks/{model-wv1zjxz8.js → location-service-map-npdy8e12.js} +70 -70
- package/dist/chunks/{model-n9rxncxh.js → location-service-map-nvs26cvk.js} +28 -28
- package/dist/chunks/{model-ca0q5yrm.js → location-service-map-nvt3sax2.js} +29 -29
- package/dist/chunks/{model-rym9dfdm.js → location-service-map-pdfn7pxf.js} +17 -17
- package/dist/chunks/{model-887mgra2.js → location-service-map-pgdtwhhg.js} +59 -59
- package/dist/chunks/{model-hyhre3w8.js → location-service-map-phzapgrk.js} +6 -6
- package/dist/chunks/{model-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{model-qzyrmewc.js → location-service-map-pmwgnym2.js} +10 -10
- package/dist/chunks/{model-t32m0x77.js → location-service-map-ppaqnmap.js} +16 -16
- package/dist/chunks/{model-5z23qfcc.js → location-service-map-ptgg3xn9.js} +21 -21
- package/dist/chunks/{model-70hdk6w9.js → location-service-map-pvwg65fr.js} +18 -18
- package/dist/chunks/{model-y43trhdb.js → location-service-map-qfm8vkbj.js} +5 -5
- package/dist/chunks/{model-9n6penxb.js → location-service-map-qgfpz6tp.js} +9 -9
- package/dist/chunks/{model-k5asgy6z.js → location-service-map-qn8kc66f.js} +39 -39
- package/dist/chunks/{model-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{model-zv6mcmn5.js → location-service-map-r06414qr.js} +10 -10
- package/dist/chunks/{model-h5b4kcx3.js → location-service-map-r3q6pmcz.js} +6 -6
- package/dist/chunks/{model-aykdkgmz.js → location-service-map-r58bmem3.js} +31 -31
- package/dist/chunks/{model-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-4347sc3p.js → location-service-map-rjqn9db2.js} +81 -81
- package/dist/chunks/{model-j8m1p4p1.js → location-service-map-rk7s9xkn.js} +4 -4
- package/dist/chunks/{model-6pc27hjz.js → location-service-map-rkprpv83.js} +6 -6
- package/dist/chunks/{model-gsf378dw.js → location-service-map-rnbsmhp9.js} +35 -35
- package/dist/chunks/{model-41wwwxfc.js → location-service-map-rp7q7g95.js} +5 -5
- package/dist/chunks/{model-757464b7.js → location-service-map-rqqqmm2x.js} +8 -8
- package/dist/chunks/{model-5dkn69vz.js → location-service-map-rywzfdxh.js} +4 -4
- package/dist/chunks/{model-yex8rs33.js → location-service-map-rzn2an3n.js} +11 -11
- package/dist/chunks/{model-7bs235hv.js → location-service-map-sgkpgvr9.js} +14 -14
- package/dist/chunks/{model-agbqvzyh.js → location-service-map-snd0hbat.js} +45 -45
- package/dist/chunks/{model-zx174a2x.js → location-service-map-sydtq5bh.js} +18 -18
- package/dist/chunks/{model-syv4x271.js → location-service-map-syv4x271.js} +1 -1
- package/dist/chunks/{model-281szs7x.js → location-service-map-t31wr33a.js} +50 -50
- package/dist/chunks/{model-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-yg1rf1wp.js → location-service-map-tbt64xkh.js} +1 -1
- package/dist/chunks/{model-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{model-ws4vyhwj.js → location-service-map-thrv6eee.js} +11 -11
- package/dist/chunks/{model-rert0e01.js → location-service-map-tkb22qbm.js} +2 -2
- package/dist/chunks/{model-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-4zknrba3.js → location-service-map-txj2b6t6.js} +12 -12
- package/dist/chunks/{model-g70banep.js → location-service-map-ty26n7g5.js} +28 -28
- package/dist/chunks/{model-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{model-cdzn34jf.js → location-service-map-v0p83vcd.js} +8 -8
- package/dist/chunks/{model-z5cwttbn.js → location-service-map-v1hpn28h.js} +7 -7
- package/dist/chunks/{model-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-v3ff97sk.js → location-service-map-va6wyqyx.js} +50 -50
- package/dist/chunks/{model-t0h2n3rs.js → location-service-map-vcw4d86h.js} +19 -19
- package/dist/chunks/{model-1t0smfc2.js → location-service-map-ve88pny4.js} +8 -8
- package/dist/chunks/{model-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{model-n7y0njwp.js → location-service-map-vgdxb0jt.js} +22 -22
- package/dist/chunks/{model-ny8kxbfq.js → location-service-map-vkaav4je.js} +8 -8
- package/dist/chunks/{model-qg72ng58.js → location-service-map-vkc6zmcv.js} +26 -26
- package/dist/chunks/{model-z4gkakm8.js → location-service-map-vvp3v339.js} +13 -13
- package/dist/chunks/{model-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-sgtrt5z9.js → location-service-map-w11h8f2h.js} +21 -21
- package/dist/chunks/{model-ysf596fe.js → location-service-map-w3207yhs.js} +1 -1
- package/dist/chunks/{model-15wyy7w2.js → location-service-map-w37ctcs1.js} +5 -5
- package/dist/chunks/{model-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-hrd0r9w9.js → location-service-map-w86w6dhq.js} +40 -40
- package/dist/chunks/{model-tnj6rg6w.js → location-service-map-wb7w7em4.js} +7 -7
- package/dist/chunks/{model-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{model-czn9w0x8.js → location-service-map-wex158da.js} +11 -11
- package/dist/chunks/{model-4fj1av0q.js → location-service-map-wg6gta6c.js} +51 -51
- package/dist/chunks/{model-1v2yvtm3.js → location-service-map-wvg18ghq.js} +25 -25
- package/dist/chunks/{model-ancsbgw1.js → location-service-map-wx3hxqax.js} +35 -35
- package/dist/chunks/{model-71vf3ngy.js → location-service-map-wxg87nfm.js} +51 -51
- package/dist/chunks/{model-4tr9sj3s.js → location-service-map-x5d7sdr8.js} +6 -6
- package/dist/chunks/{model-0p8327n1.js → location-service-map-x6mp1g8n.js} +11 -11
- package/dist/chunks/{model-tyj5kcgj.js → location-service-map-x8nj1mzk.js} +5 -5
- package/dist/chunks/{model-dqkkx36v.js → location-service-map-x8sfg8by.js} +4 -4
- package/dist/chunks/{model-4pkmv55a.js → location-service-map-xc22q6s2.js} +17 -17
- package/dist/chunks/{model-ej3ps13p.js → location-service-map-xtkp9zx0.js} +14 -14
- package/dist/chunks/{model-0m7ycz82.js → location-service-map-y0b997cv.js} +15 -15
- package/dist/chunks/{model-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-mzv3dx1f.js → location-service-map-y4hpq52y.js} +19 -19
- package/dist/chunks/{model-s1kvmffy.js → location-service-map-y56ehv6b.js} +9 -9
- package/dist/chunks/{model-21apjdyf.js → location-service-map-y6pmxrw9.js} +9 -9
- package/dist/chunks/{model-8tsdq50x.js → location-service-map-ybfnsx4m.js} +4 -4
- package/dist/chunks/{model-my4zabxr.js → location-service-map-yeejah88.js} +3 -3
- package/dist/chunks/{model-t1jfcm4z.js → location-service-map-yw6r4h5c.js} +6 -6
- package/dist/chunks/{model-ywt8jp22.js → location-service-map-ywt8jp22.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-rr7kcg9w.js → location-service-map-z0wyxbsd.js} +15 -15
- package/dist/chunks/{model-z18fegx4.js → location-service-map-z18fegx4.js} +1 -1
- package/dist/chunks/{model-b8q0dhmk.js → location-service-map-z5gskwp1.js} +32 -32
- package/dist/chunks/{model-ckyjf00w.js → location-service-map-z7kyq5k2.js} +39 -39
- package/dist/chunks/location-service-map-zgc7v4ez.js +26 -0
- package/dist/chunks/{model-44zr7wmx.js → location-service-map-zpmvmy5f.js} +4 -4
- package/dist/chunks/{model-bn1qxpvg.js → location-service-map-zprbgp1k.js} +20 -20
- package/dist/chunks/{model-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-3ev0eyv6.js → location-service-map-zyeqhx24.js} +18 -18
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +204 -204
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +114 -114
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +108 -108
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- 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 +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -123
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/model-4v23spqy.js +0 -257
- package/dist/chunks/model-7bkvk8rj.js +0 -26
- package/dist/chunks/model-dw7nrsaq.js +0 -517
- package/dist/chunks/model-rap9a73h.js +0 -18
- /package/dist/chunks/{model-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-famg5fp1.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service82,
|
|
11
|
+
node86
|
|
12
|
+
} from "./location-service-map-3wpps7p7.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID8,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
19
|
Service70,
|
|
20
20
|
node74,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Event14
|
|
22
|
+
} from "./location-service-map-ar493ya2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,10 +30,10 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID7,
|
|
36
|
+
Info: () => Info16,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
@@ -42,15 +42,15 @@ __export(exports_model2, {
|
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
44
|
node: () => node73,
|
|
45
|
-
parse: () =>
|
|
45
|
+
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
53
|
+
var ID7 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info16 = Model.Info;
|
|
71
71
|
|
|
72
72
|
class Service69 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
74
|
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
75
75
|
const providers = yield* Service70;
|
|
76
|
-
const bus = yield*
|
|
77
|
-
const location = yield*
|
|
76
|
+
const bus = yield* Service84;
|
|
77
|
+
const location = yield* Service82;
|
|
78
78
|
let input;
|
|
79
79
|
const state = create3({
|
|
80
80
|
name: "model",
|
|
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
119
119
|
const models = writable(providerID);
|
|
120
120
|
if (!models)
|
|
121
121
|
return;
|
|
122
|
-
const model = draft(providerID, modelID) ??
|
|
122
|
+
const model = draft(providerID, modelID) ?? Info16.default(providerID, modelID);
|
|
123
123
|
update(model);
|
|
124
124
|
model.id = modelID;
|
|
125
125
|
model.providerID = providerID;
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
209
209
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
|
-
yield* bus.subscribe(
|
|
212
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
213
213
|
return Service69.of({
|
|
214
214
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
215
215
|
reload,
|
|
@@ -229,7 +229,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
}));
|
|
232
|
-
var node73 = makeLocationNode({ service: Service69, layer, deps: [node74,
|
|
232
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node74, node88, node86] });
|
|
233
233
|
var PREFERRED_FREE = [
|
|
234
234
|
"big-pickle",
|
|
235
235
|
"deepseek-v4.1-flash-free",
|
|
@@ -237,7 +237,7 @@ var PREFERRED_FREE = [
|
|
|
237
237
|
"muse-spark-1.3-contributor-free"
|
|
238
238
|
];
|
|
239
239
|
function preferFree(models) {
|
|
240
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
240
|
+
const freeOnly = models.every((model) => model.providerID === ID8.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
241
241
|
if (!freeOnly)
|
|
242
242
|
return models;
|
|
243
243
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -253,12 +253,12 @@ function compatibility2(input) {
|
|
|
253
253
|
return;
|
|
254
254
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function parse5(input) {
|
|
257
257
|
const index = input.indexOf("/");
|
|
258
258
|
return {
|
|
259
|
-
providerID:
|
|
260
|
-
modelID:
|
|
259
|
+
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
260
|
+
modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info16, Service69, node73, supportsText2, compatibility2, parse5, exports_model2, Event13 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./location-service-map-7styb3mj.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-0emb60td.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make18
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make18 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service86;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make19 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make18, exports_git2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./location-service-map-a6m2mr7x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-es1vcfrp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node27,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service23 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,8 +75,8 @@ var source = (entry) => make18({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
79
|
-
const { db } = yield*
|
|
78
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
79
|
+
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
82
82
|
key: InstructionEntryTable2.key,
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service23.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node27 = makeLocationNode({ service: Service23, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node27, exports_instruction_entry };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service86,
|
|
6
|
+
node90
|
|
7
|
+
} from "./location-service-map-7styb3mj.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service63,
|
|
16
|
+
node66
|
|
17
|
+
} from "./location-service-map-cjcnyykf.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service62,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node65,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service62 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service86;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service63;
|
|
110
|
+
return Service62.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node65 = makeGlobalNode({
|
|
171
|
+
service: Service62,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node90, Global.node, node66]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service62, isError2, validateBranch2, node65, exports_repository_cache };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service63,
|
|
3
|
+
node66
|
|
4
|
+
} from "./location-service-map-cjcnyykf.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-yeejah88.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service45,
|
|
20
20
|
make: () => make17,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node47
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service45 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -84,7 +84,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
86
|
var make17 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
87
|
+
const kv = yield* Service63;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make17 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service45.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make17 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service45, make17);
|
|
358
|
+
var node47 = makeGlobalNode({ service: Service45, layer, deps: [node66] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service45, make17, node47, exports_job };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./location-service-map-famg5fp1.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-gqtdsdt7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event16
|
|
9
|
+
} from "./location-service-map-9z5vgmdz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID9
|
|
12
|
+
} from "./location-service-map-b5c23w0p.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
ID8,
|
|
15
15
|
Service70
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-ar493ya2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./location-service-map-eb7k65g0.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
29
|
const providers = yield* Service70;
|
|
30
|
-
const bus = yield*
|
|
30
|
+
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-ar493ya2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service68,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node72
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID8,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service68 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service68.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node72 = makeLocationNode({ service: Service68, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service68, locationLayer2, node72, exports_aisdk };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-66n522bf.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|