@opencode/core 0.0.0-dev-20241 → 0.0.0-dev-20249
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{pty-pt3xaqgj.js → location-activity-07770t2t.js} +8 -8
- package/dist/chunks/{pty-73hkkxz0.js → location-activity-07wfsmpr.js} +4 -4
- package/dist/chunks/{pty-6hjx5zpb.js → location-activity-0996nyz8.js} +5 -5
- package/dist/chunks/{pty-2k2q6fw8.js → location-activity-0c4a10mq.js} +6 -6
- package/dist/chunks/{pty-pkfctg7d.js → location-activity-0cpfg001.js} +47 -47
- package/dist/chunks/{pty-s7c8pqjf.js → location-activity-0f9akkc9.js} +10 -10
- package/dist/chunks/{pty-nw2v4mce.js → location-activity-0gjmdtxg.js} +13 -13
- package/dist/chunks/{pty-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-f2n192rq.js → location-activity-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-1t09j7vg.js → location-activity-1hqp4yhx.js} +12 -12
- package/dist/chunks/{pty-29j3yxrv.js → location-activity-1kggeejj.js} +29 -29
- package/dist/chunks/{pty-9sbw2ymd.js → location-activity-1kq3kam5.js} +21 -21
- package/dist/chunks/{pty-78jvmpng.js → location-activity-1r0mgmnx.js} +30 -30
- package/dist/chunks/{pty-mfqp6xfm.js → location-activity-1ygqh575.js} +6 -6
- package/dist/chunks/{pty-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{pty-tx9w5tca.js → location-activity-22sd1qqc.js} +8 -8
- package/dist/chunks/{pty-mxbk4svv.js → location-activity-26k5cyqx.js} +88 -88
- package/dist/chunks/{pty-c86zcgcw.js → location-activity-29m2xxjn.js} +11 -11
- package/dist/chunks/{pty-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-cp4trhpy.js → location-activity-2eabpvfh.js} +13 -13
- package/dist/chunks/{pty-57ez7d0k.js → location-activity-2fgn2we9.js} +9 -9
- package/dist/chunks/{pty-fm4n3eyq.js → location-activity-2pa0jjc4.js} +14 -14
- package/dist/chunks/{pty-p7a39gy5.js → location-activity-2px4r9gg.js} +6 -6
- package/dist/chunks/{pty-0c3h0e6z.js → location-activity-2xgpccdx.js} +16 -16
- package/dist/chunks/{pty-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-mfjdmrp8.js → location-activity-3g74j2m4.js} +43 -43
- package/dist/chunks/location-activity-3gtr08hr.js +252 -0
- package/dist/chunks/{pty-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-yfj51pwm.js → location-activity-3m3dt5rv.js} +18 -18
- package/dist/chunks/{pty-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-xa84kt07.js → location-activity-3v15n266.js} +18 -18
- package/dist/chunks/{pty-e7bpba2x.js → location-activity-3z59ka3t.js} +15 -15
- package/dist/chunks/{pty-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-0bfcnrg1.js → location-activity-427t97hr.js} +1 -1
- package/dist/chunks/{pty-te1pvy5w.js → location-activity-4c1fyqzy.js} +35 -35
- package/dist/chunks/{pty-31bxas0a.js → location-activity-4n830rq0.js} +27 -27
- package/dist/chunks/{pty-g7ev7cxw.js → location-activity-4v89dqmj.js} +14 -14
- package/dist/chunks/{pty-vb7xznyv.js → location-activity-4z3jq6v9.js} +32 -32
- package/dist/chunks/{pty-d99kb9jw.js → location-activity-52z785nj.js} +17 -17
- package/dist/chunks/{pty-qpaq7ft3.js → location-activity-543samen.js} +19 -19
- package/dist/chunks/{pty-1q4zsn8w.js → location-activity-55c57zs4.js} +8 -8
- package/dist/chunks/{pty-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-q752a5kc.js → location-activity-5n3w7w9q.js} +6 -6
- package/dist/chunks/{pty-7r0mserh.js → location-activity-5s5cjcj1.js} +22 -22
- package/dist/chunks/{pty-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-399vjpvh.js → location-activity-5wgca1hz.js} +6 -6
- package/dist/chunks/{pty-c7f1t297.js → location-activity-5zfnesw8.js} +27 -27
- package/dist/chunks/{pty-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{pty-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-6pc27hjz.js → location-activity-6pc27hjz.js} +2 -2
- package/dist/chunks/{pty-b81v50pn.js → location-activity-6pkj5grj.js} +5 -5
- package/dist/chunks/{pty-bvam09wt.js → location-activity-6pzy1a9a.js} +18 -18
- package/dist/chunks/{pty-7k5pzz91.js → location-activity-6s622yr1.js} +12 -12
- package/dist/chunks/{pty-1bbkgx8g.js → location-activity-73tb2d7t.js} +3 -3
- package/dist/chunks/{pty-nvsf456q.js → location-activity-792jbbde.js} +23 -23
- package/dist/chunks/{pty-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-afh0ypz9.js → location-activity-7gh5yy3z.js} +29 -29
- package/dist/chunks/{pty-petzbryk.js → location-activity-7mbd7k1y.js} +6 -6
- package/dist/chunks/{pty-eveqn7cq.js → location-activity-82a973mw.js} +17 -17
- package/dist/chunks/{pty-rr5w79wt.js → location-activity-84t1kn2d.js} +11 -11
- package/dist/chunks/{pty-84txncab.js → location-activity-84txncab.js} +1 -1
- package/dist/chunks/{pty-rceabfjb.js → location-activity-89f9fm0d.js} +4 -4
- package/dist/chunks/{pty-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-p87y7hpb.js → location-activity-8dm8w275.js} +16 -16
- package/dist/chunks/{pty-nyw6c0bv.js → location-activity-8kp1k5ps.js} +26 -26
- package/dist/chunks/{pty-a0vpxxed.js → location-activity-911tzt7k.js} +5 -5
- package/dist/chunks/{pty-ka2whr6h.js → location-activity-93r80qa9.js} +43 -43
- package/dist/chunks/{pty-94ek1h2f.js → location-activity-94ek1h2f.js} +2 -2
- package/dist/chunks/{pty-1wpnfrkj.js → location-activity-9gc7vjkx.js} +4 -4
- package/dist/chunks/{pty-4jg0yvch.js → location-activity-9hdv76r7.js} +20 -20
- package/dist/chunks/{pty-rp4sv622.js → location-activity-9kmbd9mt.js} +2 -2
- package/dist/chunks/{pty-bmwcq5x5.js → location-activity-a1wt7dn2.js} +24 -24
- package/dist/chunks/{pty-6rm5yzkt.js → location-activity-a3c7ahw6.js} +4 -4
- package/dist/chunks/{pty-h98gf4gh.js → location-activity-a4sqpv8w.js} +37 -37
- package/dist/chunks/{pty-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-ch9ek5wv.js → location-activity-aeszd35j.js} +18 -18
- package/dist/chunks/{pty-pakcngh0.js → location-activity-ahd542yp.js} +8 -8
- package/dist/chunks/{pty-0zfem7mk.js → location-activity-amzhydp5.js} +19 -19
- package/dist/chunks/location-activity-ayng3qtk.js +26 -0
- package/dist/chunks/{pty-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-4pkc64bv.js → location-activity-b865kx8x.js} +14 -14
- package/dist/chunks/{pty-6b6tf05m.js → location-activity-bex4hgfv.js} +11 -11
- package/dist/chunks/{pty-btx594cc.js → location-activity-bgsmen1g.js} +3 -3
- package/dist/chunks/{pty-990hcqnx.js → location-activity-bwjpedc6.js} +24 -24
- package/dist/chunks/{pty-3zar4bb6.js → location-activity-c2b0a5hv.js} +32 -32
- package/dist/chunks/{pty-6h8axav6.js → location-activity-cbnr75ht.js} +9 -9
- package/dist/chunks/{pty-rqzzs8tq.js → location-activity-cdmv03c1.js} +13 -13
- package/dist/chunks/{pty-wkmn09sz.js → location-activity-cgfzvakx.js} +28 -28
- package/dist/chunks/{pty-ef8z397z.js → location-activity-cjmgsq5e.js} +14 -14
- package/dist/chunks/{pty-ckecvw8r.js → location-activity-ckecvw8r.js} +2 -2
- package/dist/chunks/{pty-g0445xdp.js → location-activity-cmwkp3r5.js} +4 -4
- package/dist/chunks/{pty-77qrrhbk.js → location-activity-cq3yby3s.js} +7 -7
- package/dist/chunks/{pty-3nqrbqk0.js → location-activity-ct4mjmkm.js} +35 -35
- package/dist/chunks/{pty-9r13wbwg.js → location-activity-cvcab3e7.js} +3 -3
- package/dist/chunks/{pty-79qaa2kf.js → location-activity-cwa6csj7.js} +9 -9
- package/dist/chunks/{pty-em4dwj0d.js → location-activity-cx34d9wd.js} +11 -11
- package/dist/chunks/{pty-3dqaahn9.js → location-activity-d0451ks6.js} +9 -9
- package/dist/chunks/{pty-1xjcf8r7.js → location-activity-d35a5v29.js} +15 -15
- package/dist/chunks/{pty-1n9x896q.js → location-activity-d56mnafw.js} +9 -9
- package/dist/chunks/{pty-0gefkeg7.js → location-activity-dexe5x4p.js} +11 -11
- package/dist/chunks/{pty-wkcsbyg1.js → location-activity-dh670703.js} +23 -23
- package/dist/chunks/{pty-8g2qdxs9.js → location-activity-dq7g0m2g.js} +33 -33
- package/dist/chunks/{pty-7fp69wc6.js → location-activity-dqky8k4e.js} +5 -5
- package/dist/chunks/{pty-h958fs6f.js → location-activity-dqsw1vz6.js} +16 -16
- package/dist/chunks/{pty-drwq78ky.js → location-activity-drwq78ky.js} +1 -1
- package/dist/chunks/{pty-5qkxfyep.js → location-activity-dwvzh0g2.js} +6 -6
- package/dist/chunks/{pty-nc3tx9jz.js → location-activity-e5642x4e.js} +8 -8
- package/dist/chunks/{pty-gqpj6er6.js → location-activity-e5gbwpdw.js} +33 -33
- package/dist/chunks/{pty-b7qnbf45.js → location-activity-e6gsh30d.js} +4 -4
- package/dist/chunks/{pty-9j0dwt0n.js → location-activity-e8d32q1s.js} +5 -5
- package/dist/chunks/{pty-rsr04b2n.js → location-activity-e8snqq2r.js} +10 -10
- package/dist/chunks/{pty-ecfe7b91.js → location-activity-ecfe7b91.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-zrb5rc4f.js → location-activity-et4fhn49.js} +30 -30
- package/dist/chunks/{pty-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-3r1sf261.js → location-activity-ewvgzyem.js} +13 -13
- package/dist/chunks/{pty-6n4wvebq.js → location-activity-ey3ha4js.js} +23 -23
- package/dist/chunks/{pty-tz4n1mmd.js → location-activity-f73rjn58.js} +4 -4
- package/dist/chunks/{pty-wkq7w2hk.js → location-activity-f95d4cya.js} +22 -22
- package/dist/chunks/{pty-ratrq7cm.js → location-activity-fdv30zvt.js} +7 -7
- package/dist/chunks/{pty-a3he3nyv.js → location-activity-fp4vakyq.js} +30 -30
- package/dist/chunks/{pty-vmyhsb96.js → location-activity-fv24634s.js} +20 -20
- package/dist/chunks/{pty-y84esdn3.js → location-activity-fvyecsnj.js} +3 -3
- package/dist/chunks/{pty-464e7j92.js → location-activity-g1q0qwac.js} +31 -31
- package/dist/chunks/{pty-y2yz6ws7.js → location-activity-g8f1nww0.js} +15 -15
- package/dist/chunks/{pty-qwmtame2.js → location-activity-ga6fan7w.js} +11 -11
- package/dist/chunks/{pty-3s3yvxep.js → location-activity-gcb0pgp4.js} +6 -6
- package/dist/chunks/{pty-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-hqwm4sk8.js → location-activity-gn3n43j7.js} +18 -18
- package/dist/chunks/{pty-m2fxrq1x.js → location-activity-gsqtgdec.js} +17 -17
- package/dist/chunks/{pty-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{pty-44h5tttr.js → location-activity-h6r3nrb9.js} +4 -4
- package/dist/chunks/{pty-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-r4ezxwjb.js → location-activity-hb3510gt.js} +10 -10
- package/dist/chunks/{pty-9sayw2ch.js → location-activity-hd8jt5qg.js} +5 -5
- package/dist/chunks/{pty-p8y8cyr8.js → location-activity-hdzjhqr6.js} +18 -18
- package/dist/chunks/{pty-rq80fhnt.js → location-activity-hevfjdd2.js} +11 -11
- package/dist/chunks/{pty-mmd2gt62.js → location-activity-hfja1tsc.js} +24 -24
- package/dist/chunks/{pty-6pd7t5p9.js → location-activity-hhc8k5d5.js} +11 -11
- package/dist/chunks/{pty-6fjgv3tx.js → location-activity-hj6fcrxw.js} +7 -7
- package/dist/chunks/{pty-af04s6ss.js → location-activity-hkfg6fzm.js} +5 -5
- package/dist/chunks/location-activity-ht5y0zrb.js +18 -0
- package/dist/chunks/{pty-natfc3ay.js → location-activity-hv8pj2g2.js} +4 -4
- package/dist/chunks/{pty-3dek0r7g.js → location-activity-j3tac8rj.js} +19 -19
- package/dist/chunks/{pty-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-sd182w7n.js → location-activity-j5jfxbva.js} +22 -22
- package/dist/chunks/{pty-dke02a2q.js → location-activity-j7twtagn.js} +22 -22
- package/dist/chunks/{pty-3p17msm4.js → location-activity-jaak92tj.js} +9 -9
- package/dist/chunks/{pty-hybxtsjq.js → location-activity-jnwhj7yt.js} +9 -9
- package/dist/chunks/{pty-gs4tkc79.js → location-activity-k1qrnqst.js} +8 -8
- package/dist/chunks/{pty-vt27zn5n.js → location-activity-k4dd9b3k.js} +15 -15
- package/dist/chunks/{pty-bnpy9ev6.js → location-activity-k545rb98.js} +17 -17
- package/dist/chunks/{pty-jc00fynt.js → location-activity-ka05w473.js} +11 -11
- package/dist/chunks/{pty-78kppgjr.js → location-activity-kcpj4n48.js} +8 -8
- package/dist/chunks/{pty-3meec69r.js → location-activity-kjhjjdm4.js} +15 -15
- package/dist/chunks/{pty-nf1sbg18.js → location-activity-kpewm0pp.js} +8 -8
- package/dist/chunks/{pty-v7h219eh.js → location-activity-krrw8gsp.js} +19 -19
- package/dist/chunks/{pty-ngad3z0g.js → location-activity-kwjgkwej.js} +18 -18
- package/dist/chunks/{pty-a1rbvmj7.js → location-activity-kzp9zm5q.js} +35 -35
- package/dist/chunks/{pty-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{pty-sqa4x5n4.js → location-activity-m82hpr9q.js} +42 -42
- package/dist/chunks/{pty-dqczjf24.js → location-activity-m8xjcd8p.js} +6 -6
- package/dist/chunks/{pty-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-hbznj76v.js → location-activity-mf9m2v67.js} +3 -3
- package/dist/chunks/{pty-arey8x0d.js → location-activity-mfy27tej.js} +9 -9
- package/dist/chunks/{pty-45wxwjsv.js → location-activity-mgnybjyp.js} +47 -47
- package/dist/chunks/{pty-f3ngv102.js → location-activity-mjymc32g.js} +4 -4
- package/dist/chunks/{pty-wq4mmp7m.js → location-activity-n1ka8r9d.js} +4 -4
- package/dist/chunks/{pty-j62n369y.js → location-activity-n4r1a76v.js} +5 -5
- package/dist/chunks/{pty-zdq65h6r.js → location-activity-nbcz365w.js} +3 -3
- package/dist/chunks/{pty-bfh6ya47.js → location-activity-nraks1dr.js} +20 -20
- package/dist/chunks/{pty-81y2sag2.js → location-activity-nrewq54w.js} +26 -26
- package/dist/chunks/{pty-rhafb4aa.js → location-activity-nscznvay.js} +9 -9
- package/dist/chunks/{pty-zdewfq3n.js → location-activity-nxrarche.js} +5 -5
- package/dist/chunks/{pty-j0ct8xdg.js → location-activity-nysy6sp5.js} +5 -5
- package/dist/chunks/{pty-k3c624dm.js → location-activity-nzks3jc8.js} +3 -3
- package/dist/chunks/{pty-fbk8frwm.js → location-activity-p0gwq84d.js} +3 -3
- package/dist/chunks/{pty-140xbb54.js → location-activity-p0zhhjrw.js} +44 -44
- package/dist/chunks/{pty-zdcx8jr2.js → location-activity-p1884n00.js} +8 -8
- package/dist/chunks/{pty-xpzjeq3a.js → location-activity-p305v1nf.js} +20 -20
- package/dist/chunks/location-activity-pazdmjb1.js +507 -0
- package/dist/chunks/{pty-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{pty-rqdx9gb6.js → location-activity-pvs6fqv6.js} +22 -22
- package/dist/chunks/{pty-dfe8djrf.js → location-activity-q2b1ymqp.js} +4 -4
- package/dist/chunks/{pty-ab9238g2.js → location-activity-q5t0te5a.js} +6 -6
- package/dist/chunks/{pty-49exe669.js → location-activity-qdbakdjh.js} +5 -5
- package/dist/chunks/{pty-2k8khapm.js → location-activity-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-6r5c1vje.js → location-activity-qgrqny45.js} +20 -20
- package/dist/chunks/{pty-15y67vk6.js → location-activity-qs4mz5f3.js} +2 -2
- package/dist/chunks/{pty-2x3f6yxr.js → location-activity-qsb7s0x5.js} +12 -12
- package/dist/chunks/{pty-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-yrq2792c.js → location-activity-r12j57sn.js} +5 -5
- package/dist/chunks/{pty-50a34wry.js → location-activity-r688vq8x.js} +9 -9
- package/dist/chunks/{pty-zq6stcrg.js → location-activity-r9t00hsy.js} +8 -8
- package/dist/chunks/{pty-k2s68ryd.js → location-activity-rbr1ba9y.js} +6 -6
- package/dist/chunks/{pty-3wa2an9q.js → location-activity-rdbs0tt8.js} +26 -26
- package/dist/chunks/{pty-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-jam4tn4y.js → location-activity-rh4j9zs2.js} +9 -9
- package/dist/chunks/{pty-b10jyf86.js → location-activity-rmjn6g9n.js} +20 -20
- package/dist/chunks/{pty-pqcp81t9.js → location-activity-rpveba7r.js} +15 -15
- package/dist/chunks/{pty-7y5p1sr1.js → location-activity-sxhaxdsn.js} +8 -8
- package/dist/chunks/{pty-9hqygntd.js → location-activity-sy8g0x3h.js} +30 -25
- package/dist/chunks/{pty-s30fyz93.js → location-activity-syf57q56.js} +4 -4
- package/dist/chunks/{pty-eaj1djv9.js → location-activity-t550f9t1.js} +8 -8
- package/dist/chunks/{pty-16hsz39w.js → location-activity-t6w37xe3.js} +29 -29
- package/dist/chunks/{pty-jfkvjta7.js → location-activity-t7tyx60j.js} +29 -29
- package/dist/chunks/{pty-jk65v3xz.js → location-activity-t9ry9eb3.js} +3 -3
- package/dist/chunks/{pty-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-kvj59xr5.js → location-activity-tcgrsnf7.js} +1 -1
- package/dist/chunks/{pty-hdthj1pw.js → location-activity-tdhe5xga.js} +8 -8
- package/dist/chunks/{pty-4s7et4sz.js → location-activity-tdj3v69k.js} +70 -70
- package/dist/chunks/{pty-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{pty-m563m38r.js → location-activity-tgc9kse0.js} +11 -11
- package/dist/chunks/{pty-92873q6k.js → location-activity-tjzmcvwf.js} +27 -27
- package/dist/chunks/{pty-evxzpz7n.js → location-activity-tp8se8yv.js} +13 -13
- package/dist/chunks/{pty-48vtn20n.js → location-activity-trpnn8yx.js} +10 -10
- package/dist/chunks/{pty-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-dj9sq318.js → location-activity-tz2bjj40.js} +5 -5
- package/dist/chunks/{pty-vy4zg7qh.js → location-activity-v4qfxnag.js} +12 -12
- package/dist/chunks/{pty-xpdm92c9.js → location-activity-v9s04r34.js} +11 -11
- package/dist/chunks/{pty-yckhfgep.js → location-activity-v9xtk2pv.js} +35 -35
- package/dist/chunks/{pty-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-807f613b.js → location-activity-vffygzrk.js} +37 -37
- package/dist/chunks/{pty-kpgsxh3c.js → location-activity-vpvxm0qy.js} +13 -13
- package/dist/chunks/{pty-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-tjznwxx0.js → location-activity-w3h9rmhg.js} +44 -44
- package/dist/chunks/{pty-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-dy3v49r2.js → location-activity-w9yg01yk.js} +11 -11
- package/dist/chunks/{pty-e6hmchc5.js → location-activity-wbkyxrgf.js} +5 -5
- package/dist/chunks/{pty-wd3x2cqz.js → location-activity-wd3x2cqz.js} +2 -2
- package/dist/chunks/{pty-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{pty-h00myp85.js → location-activity-wex19r3q.js} +53 -53
- package/dist/chunks/{pty-gk5v5xhs.js → location-activity-wgrwsfrd.js} +18 -18
- package/dist/chunks/{pty-v4yy06kz.js → location-activity-wpf825w3.js} +48 -48
- package/dist/chunks/{pty-24wggvhe.js → location-activity-wqpd61v1.js} +16 -16
- package/dist/chunks/{pty-e6btmr3s.js → location-activity-wsy9hj9j.js} +173 -173
- package/dist/chunks/{pty-01vst05w.js → location-activity-wv5fs872.js} +43 -43
- package/dist/chunks/{pty-c2egcwd5.js → location-activity-wxfw16zk.js} +17 -17
- package/dist/chunks/{pty-h24wanpd.js → location-activity-x0b0awdg.js} +18 -18
- package/dist/chunks/{pty-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-bf10k29y.js → location-activity-x1h4eq31.js} +3 -3
- package/dist/chunks/{pty-vx1akz9y.js → location-activity-x2wb27pg.js} +15 -15
- package/dist/chunks/{pty-z4x8vcyx.js → location-activity-xa9wygja.js} +16 -16
- package/dist/chunks/{pty-zd8qt3bk.js → location-activity-xcjaeq7k.js} +27 -27
- package/dist/chunks/{pty-30krspkn.js → location-activity-xf0nr9dv.js} +4 -4
- package/dist/chunks/{pty-haszz9qj.js → location-activity-xfsbkaye.js} +82 -82
- package/dist/chunks/{pty-agwtjn7h.js → location-activity-xhysamsz.js} +10 -10
- package/dist/chunks/{pty-a3zfxb3h.js → location-activity-xjeq8bvs.js} +28 -28
- package/dist/chunks/{pty-dmqcgk4z.js → location-activity-xkntkrq7.js} +5 -5
- package/dist/chunks/{pty-61n243wx.js → location-activity-xs2kjjdj.js} +1 -1
- package/dist/chunks/{pty-g5agzp2h.js → location-activity-xvp1j2dc.js} +5 -5
- package/dist/chunks/{pty-y6mhz57t.js → location-activity-xxxym934.js} +4 -4
- package/dist/chunks/{pty-ts860kc8.js → location-activity-xz8qpa4w.js} +16 -16
- package/dist/chunks/{pty-sf6t82jx.js → location-activity-y0n45tja.js} +26 -26
- package/dist/chunks/{pty-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-3jhgxqxx.js → location-activity-y2ytve36.js} +26 -26
- package/dist/chunks/{pty-5zzhnchw.js → location-activity-y3bb7t5e.js} +10 -10
- package/dist/chunks/{pty-ykp63ekt.js → location-activity-y5zh0atg.js} +6 -6
- package/dist/chunks/{pty-dnmtb8jk.js → location-activity-y65d65xc.js} +34 -34
- package/dist/chunks/{pty-y71avatq.js → location-activity-y71avatq.js} +1 -1
- package/dist/chunks/{pty-9jdec6an.js → location-activity-y79j09dr.js} +21 -21
- package/dist/chunks/{pty-6f3gsd2m.js → location-activity-yad8aem9.js} +55 -55
- package/dist/chunks/{pty-4k009h74.js → location-activity-yarc8zna.js} +22 -22
- package/dist/chunks/{pty-es2axc3h.js → location-activity-yd8wbh55.js} +33 -33
- package/dist/chunks/{pty-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-yrznvahk.js → location-activity-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-7qcv56qz.js → location-activity-ys6jnmbc.js} +8 -8
- package/dist/chunks/{pty-z07pqspn.js → location-activity-z07pqspn.js} +3 -3
- package/dist/chunks/{pty-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-mvz1jaak.js → location-activity-z1x1gfhs.js} +22 -22
- package/dist/chunks/{pty-1rh4yqvv.js → location-activity-z3nay82g.js} +9 -9
- package/dist/chunks/{pty-z63w68vq.js → location-activity-z63w68vq.js} +2 -2
- package/dist/chunks/{pty-htjsxrd7.js → location-activity-zdbhsfnw.js} +15 -15
- package/dist/chunks/{pty-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-32zdxkvs.js → location-activity-zhk4zx0p.js} +35 -35
- package/dist/chunks/{pty-zk8c4w5t.js → location-activity-zk8c4w5t.js} +5 -5
- package/dist/chunks/{pty-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-24171fwy.js → location-activity-zrv7nm7e.js} +36 -36
- package/dist/chunks/{pty-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +83 -83
- 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 +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- 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 +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- 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 +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +87 -87
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/pty-9zdhvgqs.js +0 -18
- package/dist/chunks/pty-f3b7p96q.js +0 -252
- package/dist/chunks/pty-j9x84jzd.js +0 -26
- package/dist/chunks/pty-k31j77h5.js +0 -507
- /package/dist/chunks/{pty-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured8,
|
|
11
|
+
layer: () => layer23,
|
|
12
12
|
make: () => make20,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node73,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer23 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
|
|
33
|
+
var node73 = configured8();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make20, useragent2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer23, configured8, node73, exports_app };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-bwjpedc6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID5.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-activity-8dm8w275.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service18,
|
|
10
|
+
node20
|
|
11
|
+
} from "./location-activity-cjmgsq5e.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
24
|
Options: () => Options2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service17,
|
|
26
26
|
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
28
|
layer: () => layer8,
|
|
@@ -39,7 +39,7 @@ var Options2 = Schema.Struct({
|
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service17.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -175,7 +175,7 @@ var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
177
|
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
-
const location = yield*
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -183,8 +183,8 @@ var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
185
|
function configured2(options) {
|
|
186
|
-
return makeLocationNode({ service:
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer8(options), deps: [node81, node20] });
|
|
187
187
|
}
|
|
188
188
|
var node19 = configured2();
|
|
189
189
|
|
|
190
|
-
export { Options2,
|
|
190
|
+
export { Options2, Service17, ripgrepLayer2, fffLayer2, layer8, configured2, node19, exports_search };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-bgsmen1g.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
16
|
Service: () => Service71,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node74
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node74 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export { Service71,
|
|
56
|
+
export { Service71, node74, exports_kv };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./location-activity-8dm8w275.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service53
|
|
9
|
+
} from "./location-activity-kwjgkwej.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./location-activity-j3tac8rj.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./location-activity-d35a5v29.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin18,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin18 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service53;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service77;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin49 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent2 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name2, Input2, Plugin18, toModelContent2, exports_read };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-7mbd7k1y.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-e6gsh30d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./location-activity-yd8wbh55.js";
|
|
7
7
|
import {
|
|
8
8
|
Error4
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-j5jfxbva.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./location-activity-6s622yr1.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-gcb0pgp4.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-nxrarche.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-xvp1j2dc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service51;
|
|
58
|
+
const toolOutput = yield* Service52;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service52,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node55
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service52 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service52.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node55 = makeLocationNode({
|
|
137
|
+
service: Service52,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service52, node55, exports_tool_output2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make10(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make10 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID12,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-fp4vakyq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models2 = {};
|
|
17
|
+
__export(exports_models2, {
|
|
18
|
+
ModalModels: () => exports_models2,
|
|
19
|
+
derive: () => derive3,
|
|
20
|
+
get: () => get3,
|
|
21
|
+
load: () => load3
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID13.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get3(baseURL, apiKey, existing) {
|
|
58
|
+
return derive3(baseURL, await load3(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load3(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive3(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID12.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info26.make({
|
|
98
|
+
...Info26.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID12.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get3, load3, derive3, exports_models2 };
|