@opencode/core 0.0.0-dev-19689 → 0.0.0-dev-19694
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{snapshot-gqg7eak4.js → location-00n4z9c8.js} +32 -32
- package/dist/chunks/{snapshot-mws70f2d.js → location-0496x3fd.js} +33 -33
- package/dist/chunks/{snapshot-d9gg16k8.js → location-06t18zr6.js} +14 -14
- package/dist/chunks/{snapshot-9hfrzpmf.js → location-0fj5p9dg.js} +43 -43
- package/dist/chunks/{snapshot-0gxg51yc.js → location-0fws8hsh.js} +41 -41
- package/dist/chunks/{snapshot-cgfbfj64.js → location-0h0a48ec.js} +11 -11
- package/dist/chunks/{snapshot-mj930z0j.js → location-0hztt1kq.js} +9 -9
- package/dist/chunks/location-0kdkcf2f.js +26 -0
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{snapshot-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{snapshot-d8cpseay.js → location-0qznmr0s.js} +5 -5
- package/dist/chunks/{snapshot-ykm3sgyz.js → location-18etdt57.js} +34 -34
- package/dist/chunks/{snapshot-wn8kqq2y.js → location-1d2mbafx.js} +13 -13
- package/dist/chunks/{snapshot-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-jtv748sa.js → location-1eyeymhy.js} +3 -3
- package/dist/chunks/{snapshot-mq13vzd7.js → location-1rgdf1rr.js} +18 -18
- package/dist/chunks/{snapshot-dt0edbwk.js → location-1sn79vb4.js} +15 -15
- package/dist/chunks/{snapshot-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-j0zejtxz.js → location-224hfwad.js} +15 -15
- package/dist/chunks/{snapshot-p57dvf2n.js → location-23sxaqwc.js} +4 -4
- package/dist/chunks/{snapshot-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{snapshot-zgtd1cs0.js → location-25r5rnx4.js} +19 -19
- package/dist/chunks/{snapshot-csf2jhsg.js → location-26k5bknw.js} +4 -4
- package/dist/chunks/{snapshot-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-9952j3eh.js → location-2acx5bed.js} +30 -30
- package/dist/chunks/{snapshot-9jbvj98d.js → location-2eegacq4.js} +8 -8
- package/dist/chunks/{snapshot-qq3v7fmy.js → location-2p6gg44v.js} +19 -19
- package/dist/chunks/{snapshot-z1f6ds0v.js → location-2qrxnqfp.js} +30 -30
- package/dist/chunks/{snapshot-wfg7nerh.js → location-2tphjjya.js} +16 -16
- package/dist/chunks/{snapshot-46adeqnv.js → location-2v0smvdr.js} +4 -4
- package/dist/chunks/{snapshot-mfqp6xfm.js → location-33w4ejhs.js} +9 -9
- package/dist/chunks/{snapshot-03j4cxe8.js → location-36pgk13z.js} +6 -6
- package/dist/chunks/{snapshot-xhjxrpb6.js → location-37w33ens.js} +30 -30
- package/dist/chunks/{snapshot-fpmq6gma.js → location-3cfzdc8e.js} +5 -5
- package/dist/chunks/{snapshot-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-mms0rth5.js → location-4445jz97.js} +20 -20
- package/dist/chunks/{snapshot-h6r3nrb9.js → location-44h5tttr.js} +4 -4
- package/dist/chunks/{snapshot-aj3rytnp.js → location-486w7fxe.js} +47 -47
- package/dist/chunks/{snapshot-danmbns0.js → location-494y9cte.js} +31 -31
- package/dist/chunks/{snapshot-v2r3tbej.js → location-4b260xn2.js} +16 -16
- package/dist/chunks/{snapshot-6djjrnxx.js → location-4pkxdsqk.js} +16 -16
- package/dist/chunks/{snapshot-bvdw70en.js → location-4xcd1knb.js} +14 -14
- package/dist/chunks/{snapshot-607q5haz.js → location-4y72ap3v.js} +12 -12
- package/dist/chunks/{snapshot-mt0b5xka.js → location-4yv3tfyh.js} +25 -25
- package/dist/chunks/{snapshot-p5mz5j3d.js → location-50hsvrdv.js} +32 -32
- package/dist/chunks/{snapshot-57ez7d0k.js → location-57ez7d0k.js} +2 -2
- package/dist/chunks/{snapshot-cj2z97e6.js → location-59dzktqd.js} +4 -4
- package/dist/chunks/{snapshot-n9sge3bt.js → location-5a8cmj9a.js} +35 -35
- package/dist/chunks/{snapshot-1sfkcn66.js → location-5ap504dp.js} +9 -9
- package/dist/chunks/{snapshot-08rawchj.js → location-5cmxdwv8.js} +3 -3
- package/dist/chunks/{snapshot-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-246jtn2x.js → location-5g14qra5.js} +12 -12
- package/dist/chunks/{snapshot-zcqser00.js → location-5gjmv7pj.js} +15 -15
- package/dist/chunks/{snapshot-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{snapshot-wey05zv6.js → location-5sgk8ws7.js} +13 -13
- package/dist/chunks/{snapshot-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-n2pbvnb1.js → location-5wpr938k.js} +13 -13
- package/dist/chunks/{snapshot-8v6pyhej.js → location-5yzzbxa7.js} +8 -8
- package/dist/chunks/{snapshot-t87fsg1t.js → location-62kxvbf2.js} +23 -23
- package/dist/chunks/{snapshot-nvh769ba.js → location-64t5n8f6.js} +10 -10
- package/dist/chunks/{snapshot-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-b6c8qj9q.js → location-6a605wbe.js} +55 -55
- package/dist/chunks/{snapshot-d8wctgve.js → location-6et2tsyb.js} +29 -29
- package/dist/chunks/{snapshot-y56ehv6b.js → location-6hjx5zpb.js} +9 -9
- package/dist/chunks/{snapshot-3hhr8k8p.js → location-6k7g8b2m.js} +1 -1
- package/dist/chunks/{snapshot-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-8a6qekyq.js → location-6rtfy69a.js} +11 -11
- package/dist/chunks/{snapshot-yqdxcjyp.js → location-6sanwebc.js} +25 -25
- package/dist/chunks/{snapshot-e726g1sc.js → location-6z0fr5t2.js} +3 -3
- package/dist/chunks/{snapshot-46hpeagr.js → location-6z0vzmdg.js} +5 -5
- package/dist/chunks/{snapshot-mtenym90.js → location-78z8y7xk.js} +22 -22
- package/dist/chunks/{snapshot-krzfj2m8.js → location-79etttnd.js} +32 -32
- package/dist/chunks/{snapshot-7trnp38f.js → location-7aath5aj.js} +24 -24
- package/dist/chunks/{snapshot-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-7dqw4kz8.js → location-7dqw4kz8.js} +1 -1
- package/dist/chunks/{snapshot-wpwdagq9.js → location-7j5hs3da.js} +23 -23
- package/dist/chunks/{snapshot-bvamsxbr.js → location-7mamhmm7.js} +4 -4
- package/dist/chunks/{snapshot-crsbja1p.js → location-7pxh4w28.js} +93 -93
- package/dist/chunks/{snapshot-26fmzar5.js → location-8aqjv0nr.js} +17 -17
- package/dist/chunks/{snapshot-j74yt2g5.js → location-8bb7e2vp.js} +12 -12
- package/dist/chunks/{snapshot-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-f7t27zsf.js → location-8dem3s5f.js} +11 -11
- package/dist/chunks/{snapshot-am07pmtr.js → location-8dj191es.js} +27 -27
- package/dist/chunks/{snapshot-a6e6tngr.js → location-8hvvgkp1.js} +5 -5
- package/dist/chunks/{snapshot-dj2t23y0.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{snapshot-qheeszjc.js → location-8r6rwc5s.js} +42 -42
- package/dist/chunks/{snapshot-3r5ts660.js → location-8t8275hn.js} +11 -11
- package/dist/chunks/{snapshot-zqqb3kxg.js → location-8w4gja5v.js} +8 -8
- package/dist/chunks/{snapshot-ce5fknq2.js → location-92azg307.js} +5 -5
- package/dist/chunks/{snapshot-rb3j0par.js → location-95548ppq.js} +15 -15
- package/dist/chunks/{snapshot-fj2s4pge.js → location-98s8e1rw.js} +11 -11
- package/dist/chunks/{snapshot-x8gz1y8e.js → location-9ex8f1cq.js} +8 -8
- package/dist/chunks/{snapshot-jjdqm7d4.js → location-9f3c306s.js} +20 -20
- package/dist/chunks/{snapshot-zj09a0ew.js → location-9h41vc4j.js} +4 -4
- package/dist/chunks/{snapshot-7jtymqs4.js → location-9myg4ep2.js} +4 -4
- package/dist/chunks/{snapshot-1fcv5vyw.js → location-a0kv3qe5.js} +3 -3
- package/dist/chunks/{snapshot-5c4hm403.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{snapshot-4pknys3z.js → location-a3hwp3ky.js} +17 -17
- package/dist/chunks/{snapshot-h72f6tnv.js → location-a3mksyy2.js} +6 -6
- package/dist/chunks/{snapshot-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-zyr27zb1.js → location-abe9ad8b.js} +10 -10
- package/dist/chunks/{snapshot-g2k8v8r8.js → location-ahh4p74p.js} +177 -177
- package/dist/chunks/{snapshot-kcdz3qj8.js → location-ay3b2ggg.js} +8 -8
- package/dist/chunks/{snapshot-vazg77cr.js → location-b6a6whtj.js} +24 -24
- package/dist/chunks/{snapshot-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-e5rbc25f.js → location-b80j8sws.js} +2 -2
- package/dist/chunks/{snapshot-ts2x07a1.js → location-b97cbvw3.js} +1 -1
- package/dist/chunks/{snapshot-fab8hzt3.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{snapshot-cgxec6bc.js → location-bhjnpvv2.js} +11 -11
- package/dist/chunks/{snapshot-8yg0x0an.js → location-c3jt164g.js} +15 -15
- package/dist/chunks/{snapshot-wn4q0spz.js → location-c7q16h9q.js} +11 -11
- package/dist/chunks/{snapshot-t51qk8jz.js → location-cavr175a.js} +21 -21
- package/dist/chunks/{snapshot-k8spycg5.js → location-cd9h2kba.js} +310 -310
- package/dist/chunks/{snapshot-jnbtwfk4.js → location-cdmrqbam.js} +25 -25
- package/dist/chunks/{snapshot-8xzwjy0a.js → location-cf88hb9r.js} +8 -8
- package/dist/chunks/{snapshot-m0jqrx5p.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{snapshot-pkq1axha.js → location-cjmgn8y7.js} +25 -25
- package/dist/chunks/{snapshot-ne3jdqry.js → location-cr9wy6w1.js} +6 -6
- package/dist/chunks/{snapshot-xmath9zk.js → location-ctecyn49.js} +5 -5
- package/dist/chunks/{snapshot-qmqgtz8f.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{snapshot-yt0fqk68.js → location-d2aac7k2.js} +5 -5
- package/dist/chunks/{snapshot-1mahk76p.js → location-d2j26fpy.js} +5 -5
- package/dist/chunks/{snapshot-phjaars8.js → location-dcse214k.js} +6 -6
- package/dist/chunks/{snapshot-gs7yfewj.js → location-dd1trpre.js} +11 -11
- package/dist/chunks/{snapshot-5f1mc81s.js → location-dgp71kyc.js} +14 -14
- package/dist/chunks/{snapshot-zsk2ap5g.js → location-dk3zb08y.js} +7 -7
- package/dist/chunks/{snapshot-4vtve4mp.js → location-dmwb5j6b.js} +2 -2
- package/dist/chunks/{snapshot-xfkkasph.js → location-drwq78ky.js} +4 -4
- package/dist/chunks/{snapshot-8nqps4be.js → location-dsp1hxq9.js} +27 -27
- package/dist/chunks/{snapshot-bpf1vz34.js → location-e4wmmsry.js} +11 -11
- package/dist/chunks/{snapshot-rp8jz6x1.js → location-e6hd9jay.js} +4 -4
- package/dist/chunks/{snapshot-rhjbct0v.js → location-eaj1djv9.js} +8 -8
- package/dist/chunks/{snapshot-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-4010wd3z.js → location-egxr99f1.js} +22 -22
- package/dist/chunks/{snapshot-ex6xsx9s.js → location-ek8mqh7t.js} +3 -3
- package/dist/chunks/{snapshot-e57neqwz.js → location-ekztwtwh.js} +1 -1
- package/dist/chunks/{snapshot-ezk17zv6.js → location-er54khy7.js} +4 -4
- package/dist/chunks/{snapshot-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/location-f3feb8zp.js +247 -0
- package/dist/chunks/{snapshot-hdnk95c8.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{snapshot-7453smrt.js → location-fad6j005.js} +11 -11
- package/dist/chunks/{snapshot-x2casbc9.js → location-fg0na9z0.js} +5 -5
- package/dist/chunks/{snapshot-fhs97t90.js → location-fhs97t90.js} +2 -2
- package/dist/chunks/{snapshot-x9xp5hgj.js → location-fmveprfr.js} +83 -83
- package/dist/chunks/{snapshot-z0fqp7db.js → location-fr5ztnz3.js} +15 -15
- package/dist/chunks/{snapshot-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{snapshot-reqevd7p.js → location-g4damz2s.js} +13 -13
- package/dist/chunks/{snapshot-s85ya0jf.js → location-g82ree5z.js} +29 -29
- package/dist/chunks/{snapshot-2qyt2nfb.js → location-g8pm1eg0.js} +11 -11
- package/dist/chunks/{snapshot-8pb64713.js → location-gafq8thx.js} +24 -24
- package/dist/chunks/{snapshot-00f4qkva.js → location-gaxfpy5m.js} +32 -32
- package/dist/chunks/{snapshot-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-qmj0ngb0.js → location-gg6cnatt.js} +13 -13
- package/dist/chunks/{snapshot-7zt7v5g7.js → location-gt4y1qkk.js} +11 -11
- package/dist/chunks/{snapshot-abdmf8w1.js → location-gv620b2y.js} +28 -28
- package/dist/chunks/{snapshot-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{snapshot-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{snapshot-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-z3nay82g.js → location-hc9acsgr.js} +9 -9
- package/dist/chunks/{snapshot-wkaexh7z.js → location-hcq3pck3.js} +20 -20
- package/dist/chunks/{snapshot-a9fnxnvr.js → location-hes91rk8.js} +26 -26
- package/dist/chunks/{snapshot-7e21z2r2.js → location-htjddf50.js} +17 -17
- package/dist/chunks/{snapshot-v1ahh423.js → location-hxamr57h.js} +32 -32
- package/dist/chunks/{snapshot-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-qpyhhqtw.js → location-jbwprqzn.js} +19 -19
- package/dist/chunks/{snapshot-9rwf7y86.js → location-jja9acsd.js} +13 -13
- package/dist/chunks/{snapshot-jppvw2tx.js → location-jppvw2tx.js} +2 -2
- package/dist/chunks/{snapshot-v9zvfj8j.js → location-k3vfx57e.js} +11 -11
- package/dist/chunks/{snapshot-bsjfgmma.js → location-k9kv5pgr.js} +25 -25
- package/dist/chunks/{snapshot-dgc7mv6n.js → location-kck4086h.js} +22 -22
- package/dist/chunks/{snapshot-mg0hvqns.js → location-kjayet2y.js} +22 -22
- package/dist/chunks/{snapshot-5rpx99za.js → location-kmnqxjps.js} +19 -19
- package/dist/chunks/{snapshot-k9kj6xed.js → location-knb7evpn.js} +6 -6
- package/dist/chunks/{snapshot-easjryfv.js → location-ktqj97zq.js} +8 -8
- package/dist/chunks/{snapshot-z0aj456m.js → location-m0r31qfn.js} +4 -4
- package/dist/chunks/{snapshot-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-nmw676mg.js → location-mae1tpq4.js} +4 -4
- package/dist/chunks/{snapshot-xzvht6cq.js → location-mbzssvbs.js} +14 -14
- package/dist/chunks/{snapshot-1jw6smb0.js → location-mcf7gtm1.js} +25 -25
- package/dist/chunks/{snapshot-7qwc1t21.js → location-mg7x2rv6.js} +14 -14
- package/dist/chunks/{snapshot-7yh4e7ss.js → location-mhkvc446.js} +3 -3
- package/dist/chunks/{snapshot-dskaycnw.js → location-mmftb33c.js} +12 -12
- package/dist/chunks/{snapshot-764fbe8q.js → location-mqvx4cv3.js} +11 -11
- package/dist/chunks/{snapshot-62befb19.js → location-mrgw8ysz.js} +11 -11
- package/dist/chunks/{snapshot-f2qk5btt.js → location-mwth6yg5.js} +10 -10
- package/dist/chunks/{snapshot-fa5gx39t.js → location-n0e5d28z.js} +4 -4
- package/dist/chunks/{snapshot-zvt5dnpc.js → location-n4r3xatb.js} +4 -4
- package/dist/chunks/{snapshot-q7qycedw.js → location-nndcbz7q.js} +9 -9
- package/dist/chunks/{snapshot-4t3wm3be.js → location-nrgy2ypj.js} +59 -59
- package/dist/chunks/{snapshot-f3ktkyet.js → location-nt93nnje.js} +9 -9
- package/dist/chunks/{snapshot-0tcqwbys.js → location-ntcrhfhr.js} +9 -9
- package/dist/chunks/{snapshot-m76gzppn.js → location-nyp6zeaz.js} +11 -11
- package/dist/chunks/{snapshot-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{snapshot-w9z0sqn6.js → location-p0nbrkfy.js} +22 -22
- package/dist/chunks/{snapshot-bjmvfas0.js → location-p9psax7t.js} +25 -25
- package/dist/chunks/{snapshot-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-p57xwb4q.js → location-pkzh3qng.js} +10 -10
- package/dist/chunks/{snapshot-eyy6kwkn.js → location-pvjjmvt0.js} +32 -32
- package/dist/chunks/{snapshot-jsb3pxss.js → location-q8peyv7x.js} +8 -8
- package/dist/chunks/{snapshot-8zwefknb.js → location-qfx1fv8t.js} +37 -37
- package/dist/chunks/{snapshot-fy2r6802.js → location-qmhk62hb.js} +12 -12
- package/dist/chunks/{snapshot-ww181tpr.js → location-qnkt5fks.js} +20 -20
- package/dist/chunks/{snapshot-gfsvdhvh.js → location-qqegwzzx.js} +42 -42
- package/dist/chunks/{snapshot-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-1xqv1z7c.js → location-qteqqeas.js} +23 -23
- package/dist/chunks/{snapshot-1acjjqhc.js → location-r8xr0va3.js} +4 -4
- package/dist/chunks/location-rap9a73h.js +18 -0
- package/dist/chunks/{snapshot-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-mksgfzgs.js → location-rjqxc1v9.js} +8 -8
- package/dist/chunks/{snapshot-n77sqkga.js → location-rr7630r8.js} +33 -33
- package/dist/chunks/{snapshot-am60j996.js → location-s01fwkep.js} +8 -8
- package/dist/chunks/{snapshot-9ck845yc.js → location-s2wcapj3.js} +5 -5
- package/dist/chunks/{snapshot-gvqy3dd2.js → location-s8h33rd2.js} +22 -22
- package/dist/chunks/{snapshot-26j14252.js → location-saskwv33.js} +17 -17
- package/dist/chunks/{snapshot-8621bfev.js → location-sw9t6trv.js} +13 -13
- package/dist/chunks/{snapshot-6qf541m6.js → location-t0dpm7yv.js} +9 -9
- package/dist/chunks/{snapshot-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-z1px11v9.js → location-tbnvg551.js} +21 -21
- package/dist/chunks/{snapshot-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{snapshot-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{snapshot-fvdjta23.js → location-tgc1gxnk.js} +24 -24
- package/dist/chunks/{snapshot-5apx5m5a.js → location-ts3vzd1n.js} +11 -11
- package/dist/chunks/{snapshot-aksyybb4.js → location-ttkf10kh.js} +18 -18
- package/dist/chunks/{snapshot-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-ype9g0xz.js → location-v40pwdea.js} +23 -23
- package/dist/chunks/{snapshot-806j49yq.js → location-v5dkyp31.js} +4 -4
- package/dist/chunks/{snapshot-sd3xhgkr.js → location-vcjpcx03.js} +28 -28
- package/dist/chunks/{snapshot-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-f38wsw69.js → location-vmgq4x8b.js} +2 -2
- package/dist/chunks/{snapshot-f38mbwqt.js → location-vmwh049b.js} +9 -9
- package/dist/chunks/{snapshot-qq11w61w.js → location-vncycja5.js} +4 -4
- package/dist/chunks/{snapshot-1aq6nk49.js → location-vnh2skne.js} +14 -14
- package/dist/chunks/{snapshot-6a73vzhd.js → location-vnn74pma.js} +11 -11
- package/dist/chunks/{snapshot-nj8we0p3.js → location-vxtegm14.js} +8 -8
- package/dist/chunks/{snapshot-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-p1nm93x7.js → location-wbkyxrgf.js} +5 -5
- package/dist/chunks/{snapshot-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-1fn2a7k6.js → location-wgrtt790.js} +45 -45
- package/dist/chunks/{snapshot-tk9q31mq.js → location-wnbvcgmq.js} +25 -25
- package/dist/chunks/{snapshot-bq6qt1r6.js → location-wvkrr4sa.js} +3 -3
- package/dist/chunks/{snapshot-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-jnw60s8h.js → location-x4ft4gxn.js} +43 -43
- package/dist/chunks/{snapshot-01q9pgsj.js → location-x5p3q6jj.js} +29 -29
- package/dist/chunks/{snapshot-j1waw5gq.js → location-xbtv5mhj.js} +13 -13
- package/dist/chunks/{snapshot-e364q7ed.js → location-xc9yqyqb.js} +5 -5
- package/dist/chunks/{snapshot-fy0n3ad3.js → location-xrzwnsts.js} +43 -43
- package/dist/chunks/{snapshot-bn5ybc1w.js → location-xsskq6cm.js} +3 -3
- package/dist/chunks/{snapshot-ap2gsh3h.js → location-xtcpx0xj.js} +72 -72
- package/dist/chunks/{snapshot-g1e3sd2d.js → location-xz6s1xa8.js} +22 -22
- package/dist/chunks/{snapshot-y5hw7dgt.js → location-xzr5bprg.js} +7 -7
- package/dist/chunks/{snapshot-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-5qc9wd0z.js → location-y35sf2j4.js} +4 -4
- package/dist/chunks/{snapshot-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{snapshot-w21bzq9q.js → location-ycjb11n5.js} +6 -6
- package/dist/chunks/{snapshot-a2nzyt7f.js → location-ydamxwc3.js} +20 -20
- package/dist/chunks/{snapshot-sk9padpp.js → location-ykn0ce9z.js} +32 -32
- package/dist/chunks/{snapshot-06g476vj.js → location-ynhykprc.js} +13 -13
- package/dist/chunks/{snapshot-ty8fz9vq.js → location-ynkdr5w5.js} +6 -6
- package/dist/chunks/{snapshot-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-m40w4ggw.js → location-yvzbnmva.js} +32 -32
- package/dist/chunks/{snapshot-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-zzv1d7cz.js → location-z1gcgxr5.js} +32 -32
- package/dist/chunks/{snapshot-7nm3av8q.js → location-z50dt07a.js} +19 -19
- package/dist/chunks/{snapshot-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{snapshot-7vk3dnga.js → location-zagjgefr.js} +46 -46
- package/dist/chunks/{snapshot-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-dwe4yvgc.js → location-zfxxb779.js} +21 -21
- package/dist/chunks/{snapshot-twkt1809.js → location-zhhtqbvz.js} +44 -44
- package/dist/chunks/{snapshot-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-cwvqk4y3.js → location-ztza8yfw.js} +8 -8
- package/dist/chunks/{snapshot-zr93be92.js → location-zwv3ctjf.js} +46 -46
- package/dist/chunks/{snapshot-207sxyyq.js → location-zxebshr7.js} +7 -7
- package/dist/chunks/{snapshot-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +356 -356
- package/dist/instruction-discovery.js +80 -80
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +126 -126
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/snapshot-4jz9w57v.js +0 -247
- package/dist/chunks/snapshot-6kdq0pjd.js +0 -4
- package/dist/chunks/snapshot-apkv4ejx.js +0 -26
- package/dist/chunks/snapshot-jqh9b0xq.js +0 -18
- /package/dist/chunks/{snapshot-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-nyp6zeaz.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-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
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service68,
|
|
17
|
+
node: () => node72
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service82).db;
|
|
26
|
+
return Service68.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -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 node72 = makeGlobalNode({ service: Service68, layer, deps: [node86] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service68, node72, exports_kv };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./location-pvjjmvt0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./location-0fws8hsh.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service67;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service50);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node44
|
|
5
|
+
} from "./location-0h0a48ec.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-26k5bknw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node81
|
|
13
|
+
} from "./location-2eegacq4.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-nrgy2ypj.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-8dem3s5f.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./location-gafq8thx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service35,
|
|
25
|
+
node38
|
|
26
|
+
} from "./location-6rtfy69a.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./location-drwq78ky.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-b97cbvw3.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-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: () => Service34,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer14,
|
|
45
|
+
node: () => node37,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service77;
|
|
157
|
+
const transport = yield* Service35;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -248,17 +248,17 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
250
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
251
|
-
return
|
|
251
|
+
return Service34.of({
|
|
252
252
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
253
253
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
254
254
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
255
255
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
service:
|
|
260
|
-
layer:
|
|
261
|
-
deps: [
|
|
258
|
+
var node37 = makeLocationNode({
|
|
259
|
+
service: Service34,
|
|
260
|
+
layer: layer14,
|
|
261
|
+
deps: [node81, node38, node44]
|
|
262
262
|
});
|
|
263
263
|
|
|
264
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
264
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer14, node37, exports_model_request };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./location-4b260xn2.js";
|
|
1
5
|
import {
|
|
2
6
|
Service80,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./snapshot-607q5haz.js";
|
|
8
|
+
} from "./location-4y72ap3v.js";
|
|
9
9
|
import {
|
|
10
10
|
Service78,
|
|
11
11
|
node82
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-b80j8sws.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-rap9a73h.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service51,
|
|
18
|
+
node55
|
|
19
|
+
} from "./location-kjayet2y.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node17
|
|
22
|
+
} from "./location-kck4086h.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./location-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node13
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service78;
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
47
|
+
const watcher = yield* Service51;
|
|
48
|
+
const bus = yield* Service81;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node13 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node55, FSUtil.node, node82, node84, node85, node17, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node13, exports_location_watcher2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./location-nyp6zeaz.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load5
|
|
12
|
+
} from "./location-98s8e1rw.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-vmgq4x8b.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
|
-
ListInput: () =>
|
|
24
|
-
Service: () =>
|
|
23
|
+
ListInput: () => ListInput5,
|
|
24
|
+
Service: () => Service75,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node79
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
|
|
|
50
50
|
subpath: RelativePath.pipe(Schema.optional)
|
|
51
51
|
});
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
|
-
var
|
|
53
|
+
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service75 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service82;
|
|
59
|
+
return Service75.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node86] });
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { ListInput5, Service75, node79, exports_store };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./location-0fws8hsh.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service52
|
|
13
|
+
} from "./location-tbnvg551.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./location-saskwv33.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service73
|
|
19
|
+
} from "./location-nrgy2ypj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service57,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-224hfwad.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service49,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mg7x2rv6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError7,
|
|
36
|
+
Service46
|
|
37
|
+
} from "./location-zwv3ctjf.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./location-7pxh4w28.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-59dzktqd.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input12,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name12
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name12 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input12 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin13 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service25;
|
|
122
|
+
const jobs = yield* Service65;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service52;
|
|
125
|
+
const access = yield* Service57;
|
|
126
|
+
const shell = yield* Service46;
|
|
127
|
+
const shellSelect = yield* Service49;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service73;
|
|
130
|
+
const config = yield* Service50;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin44 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name12,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin44 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name12,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input12,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin44 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name12,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name12];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin13, exports_shell };
|