@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-8dm8w275.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service62,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node64,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service62 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service62, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node64 = LayerNode.unbound(Service62, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service62;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service62, node64, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service37,
|
|
6
|
+
node40
|
|
7
|
+
} from "./location-activity-a1wt7dn2.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service15,
|
|
17
|
+
node: () => node17,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service15 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service37;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service15.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node17 = makeLocationNode({ service: Service15, layer, deps: [node40] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service15, readText2, syncTextBom2, node17, exports_file_mutation };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node73
|
|
5
|
+
} from "./location-activity-55c57zs4.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-syf57q56.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service68,
|
|
12
|
+
node70
|
|
13
|
+
} from "./location-activity-22sd1qqc.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-yad8aem9.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-29m2xxjn.js";
|
|
20
20
|
import {
|
|
21
21
|
Error4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-j5jfxbva.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service32,
|
|
25
|
+
node35
|
|
26
|
+
} from "./location-activity-cx34d9wd.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-activity-427t97hr.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service31,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer11,
|
|
45
|
+
node: () => node34,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -168,11 +168,11 @@ var boundImages2 = (messages) => {
|
|
|
168
168
|
}));
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
class
|
|
171
|
+
class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
172
172
|
}
|
|
173
|
-
var
|
|
174
|
-
const hooks = yield*
|
|
175
|
-
const transport = yield*
|
|
173
|
+
var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
174
|
+
const hooks = yield* Service68;
|
|
175
|
+
const transport = yield* Service32;
|
|
176
176
|
const app = yield* Metadata2;
|
|
177
177
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
178
178
|
const session = input.session;
|
|
@@ -276,17 +276,17 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
276
276
|
};
|
|
277
277
|
});
|
|
278
278
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
279
|
-
return
|
|
279
|
+
return Service31.of({
|
|
280
280
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
281
281
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
282
282
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
283
283
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
284
284
|
});
|
|
285
285
|
}));
|
|
286
|
-
var
|
|
287
|
-
service:
|
|
288
|
-
layer:
|
|
289
|
-
deps: [
|
|
286
|
+
var node34 = makeLocationNode({
|
|
287
|
+
service: Service31,
|
|
288
|
+
layer: layer11,
|
|
289
|
+
deps: [node70, node35, node73]
|
|
290
290
|
});
|
|
291
291
|
|
|
292
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
292
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer11, node34, exports_model_request };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service37,
|
|
8
|
+
node40
|
|
9
|
+
} from "./location-activity-a1wt7dn2.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service18,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service18 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service37;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service18.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node20 = makeLocationNode({ service: Service18, layer, deps: [node40, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service18, node20, exports_ripgrep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-wd3x2cqz.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
@@ -8,14 +8,14 @@ __export(exports_instance2, {
|
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
9
|
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
16
|
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
19
|
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
@@ -29,4 +29,4 @@ function bound2(plugins) {
|
|
|
29
29
|
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export { Service5,
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service39
|
|
4
|
+
} from "./location-activity-93r80qa9.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin14,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin14 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service39;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin33 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin14, exports_warming };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-e6gsh30d.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./location-activity-1r0mgmnx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-7gh5yy3z.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service74
|
|
20
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./location-activity-fp4vakyq.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./location-activity-j7twtagn.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-55c57zs4.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./location-activity-y79j09dr.js";
|
|
34
34
|
|
|
35
35
|
// src/plugin/provider/github-copilot.ts
|
|
36
36
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
62
62
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
63
63
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
64
64
|
var oauth = (app) => ({
|
|
65
|
-
integrationID:
|
|
65
|
+
integrationID: ID14.make("github-copilot"),
|
|
66
66
|
method: {
|
|
67
67
|
id: methodID,
|
|
68
68
|
type: "oauth",
|
|
@@ -160,7 +160,7 @@ var oauth = (app) => ({
|
|
|
160
160
|
var GithubCopilotPlugin2 = define({
|
|
161
161
|
id: "opencode.provider.github.copilot",
|
|
162
162
|
effect: Effect.fn(function* (ctx) {
|
|
163
|
-
const providers = yield*
|
|
163
|
+
const providers = yield* Service74;
|
|
164
164
|
const bus = yield* Service83;
|
|
165
165
|
const loading = Semaphore.makeUnsafe(1);
|
|
166
166
|
const loaded = {};
|
|
@@ -177,9 +177,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
180
|
-
const provider = yield* providers.get(
|
|
180
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
181
181
|
const remote = yield* Effect.tryPromise({
|
|
182
|
-
try: () =>
|
|
182
|
+
try: () => load2(url, {
|
|
183
183
|
...provider?.headers,
|
|
184
184
|
Authorization: `Bearer ${credential.refresh}`,
|
|
185
185
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -199,13 +199,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
199
199
|
editor.method.update(oauth(ctx.app));
|
|
200
200
|
});
|
|
201
201
|
yield* ctx.provider.transform((evt) => {
|
|
202
|
-
const item = evt.get(
|
|
202
|
+
const item = evt.get(ID13.githubCopilot);
|
|
203
203
|
if (!item)
|
|
204
204
|
return;
|
|
205
205
|
if (loaded.models) {
|
|
206
206
|
evt.add({
|
|
207
207
|
info: item.provider,
|
|
208
|
-
models: Array.from(
|
|
208
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
209
209
|
sourceConnection: loaded.connection
|
|
210
210
|
});
|
|
211
211
|
return;
|
|
@@ -219,17 +219,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
219
219
|
}
|
|
220
220
|
});
|
|
221
221
|
yield* ctx.model.transform((models) => {
|
|
222
|
-
if (models.get(
|
|
223
|
-
models.update(
|
|
222
|
+
if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
|
|
223
|
+
models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
|
|
224
224
|
model.enabled = false;
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
229
|
-
yield* bus.subscribe(
|
|
229
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
230
230
|
yield* refresh().pipe(Effect.forkScoped);
|
|
231
231
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
232
|
-
if (evt.model.providerID !==
|
|
232
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
233
233
|
return;
|
|
234
234
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
235
235
|
return;
|
|
@@ -238,7 +238,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
238
238
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
239
239
|
}));
|
|
240
240
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
244
244
|
return;
|
|
@@ -248,13 +248,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
248
248
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
249
249
|
if (interaction !== "conversation-agent")
|
|
250
250
|
evt.headers["x-initiator"] = "agent";
|
|
251
|
-
}), { providerID:
|
|
251
|
+
}), { providerID: ID13.githubCopilot });
|
|
252
252
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
256
256
|
return;
|
|
257
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
257
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
258
258
|
return;
|
|
259
259
|
}));
|
|
260
260
|
if (agent?.data.model)
|
|
@@ -265,9 +265,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
265
265
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
|
-
}), { providerID:
|
|
268
|
+
}), { providerID: ID13.githubCopilot });
|
|
269
269
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
270
|
-
if (evt.model.providerID !==
|
|
270
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
271
271
|
return;
|
|
272
272
|
const token = evt.request.headers.get("x-api-key");
|
|
273
273
|
if (!token)
|
|
@@ -275,9 +275,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
276
276
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
277
277
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID13.githubCopilot });
|
|
279
279
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
280
|
-
if (evt.model.providerID !==
|
|
280
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
281
281
|
return;
|
|
282
282
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
283
283
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./location-activity-c2b0a5hv.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service32,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node35
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service32.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node35 = makeGlobalNode({ service: Service32, layer: layer12, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service32, makeLayer2, layer12, node35, exports_model_transport };
|