@opencode/core 0.0.0-dev-19896 → 0.0.0-dev-19900
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-24ez7j11.js → instruction-discovery-04a8qnpg.js} +10 -10
- package/dist/chunks/{file-fr6sv4wz.js → instruction-discovery-08cpxpnw.js} +20 -20
- package/dist/chunks/{file-0493g1vy.js → instruction-discovery-0ey4gza8.js} +21 -21
- package/dist/chunks/{file-ead3g9p8.js → instruction-discovery-0f9afca0.js} +5 -5
- package/dist/chunks/{file-a313qmz8.js → instruction-discovery-0g324dnv.js} +26 -26
- package/dist/chunks/{file-3hpdt92y.js → instruction-discovery-0kk0ravz.js} +13 -13
- package/dist/chunks/{file-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-510m7gjw.js → instruction-discovery-0r7yqxbf.js} +5 -5
- package/dist/chunks/{file-5ydw7gt2.js → instruction-discovery-0rge4enf.js} +17 -17
- package/dist/chunks/{file-vsmvdy9p.js → instruction-discovery-0th4gdda.js} +11 -11
- package/dist/chunks/{file-5y2rckg7.js → instruction-discovery-0vz77pwa.js} +6 -6
- package/dist/chunks/{file-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-w1k39n5e.js → instruction-discovery-1hc11dc4.js} +4 -4
- package/dist/chunks/{file-3t889vdt.js → instruction-discovery-1j33dhda.js} +24 -24
- package/dist/chunks/{file-as3hmkts.js → instruction-discovery-1mfb1fj9.js} +10 -10
- package/dist/chunks/{file-w9nahaws.js → instruction-discovery-1pknbyyk.js} +11 -11
- package/dist/chunks/{file-1v56nqpw.js → instruction-discovery-1z9x3rn3.js} +20 -20
- package/dist/chunks/{file-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{file-p41fbzgp.js → instruction-discovery-22bcdqxp.js} +6 -6
- package/dist/chunks/{file-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-4jc5c4h4.js → instruction-discovery-2jz473v5.js} +1 -1
- package/dist/chunks/{file-tac0hfxd.js → instruction-discovery-2rdpeq7m.js} +53 -53
- package/dist/chunks/{file-2tfmgkzg.js → instruction-discovery-2tfmgkzg.js} +4 -4
- package/dist/chunks/{file-h85dz378.js → instruction-discovery-2v1pe63m.js} +8 -8
- package/dist/chunks/{file-haa19701.js → instruction-discovery-3dw6jwe7.js} +4 -4
- package/dist/chunks/{file-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-2jwpwh9n.js → instruction-discovery-3jqkyynh.js} +44 -44
- package/dist/chunks/{file-j381zx68.js → instruction-discovery-3sbvtyy1.js} +30 -30
- package/dist/chunks/{file-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-eq0qfh2k.js → instruction-discovery-40w4c332.js} +32 -32
- package/dist/chunks/{file-2kj4nmmg.js → instruction-discovery-418e4qyw.js} +27 -27
- package/dist/chunks/{file-64tp9nsp.js → instruction-discovery-42nnd79y.js} +27 -27
- package/dist/chunks/{file-bcnbwanc.js → instruction-discovery-44m3xyse.js} +17 -17
- package/dist/chunks/{file-2mvmpsyq.js → instruction-discovery-4586v85s.js} +3 -3
- package/dist/chunks/{file-8pryv8c2.js → instruction-discovery-4e1qnwf8.js} +25 -25
- package/dist/chunks/{file-de9ewzfh.js → instruction-discovery-4vsrrm82.js} +14 -14
- package/dist/chunks/{file-2eegacq4.js → instruction-discovery-4w5f3qm5.js} +8 -8
- package/dist/chunks/{file-djqf8388.js → instruction-discovery-4w936hdb.js} +33 -33
- package/dist/chunks/{file-tkmzzze4.js → instruction-discovery-4x92kyrg.js} +24 -24
- package/dist/chunks/{file-4zn875z0.js → instruction-discovery-526bqhsm.js} +35 -35
- package/dist/chunks/{file-nwswft9z.js → instruction-discovery-52an44af.js} +1 -1
- package/dist/chunks/{file-bypvmvbc.js → instruction-discovery-5308q9ah.js} +5 -5
- package/dist/chunks/{file-1ygqh575.js → instruction-discovery-56gdpj1q.js} +9 -9
- package/dist/chunks/{file-5c4hm403.js → instruction-discovery-5c4hm403.js} +3 -3
- package/dist/chunks/{file-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{file-04k65yr5.js → instruction-discovery-5g1kh4hh.js} +11 -11
- package/dist/chunks/{file-7ahgtxs9.js → instruction-discovery-5g7h90tq.js} +23 -23
- package/dist/chunks/{file-bem8brcd.js → instruction-discovery-5gd7c1r2.js} +4 -4
- package/dist/chunks/{file-0e9pe9hx.js → instruction-discovery-5ng1186e.js} +11 -11
- package/dist/chunks/{file-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-pq65tk6f.js → instruction-discovery-61hj3hc6.js} +10 -10
- package/dist/chunks/{file-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{file-k56qavf2.js → instruction-discovery-6e2tn9ff.js} +34 -34
- package/dist/chunks/{file-6h73sxmp.js → instruction-discovery-6h73sxmp.js} +1 -1
- package/dist/chunks/{file-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-df6g96g5.js → instruction-discovery-6n67ebsj.js} +5 -5
- package/dist/chunks/{file-zhgmxcrc.js → instruction-discovery-6qbtmb9x.js} +88 -88
- package/dist/chunks/instruction-discovery-6r3amyyd.js +4 -0
- package/dist/chunks/{file-h41rq5z1.js → instruction-discovery-6t7adkhd.js} +23 -23
- package/dist/chunks/{file-d5jzmsg2.js → instruction-discovery-6yg4wga3.js} +13 -13
- package/dist/chunks/{file-7qcewr7x.js → instruction-discovery-78ntkc3g.js} +15 -15
- package/dist/chunks/{file-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-5a3rkb7m.js → instruction-discovery-7nv22mqq.js} +29 -29
- package/dist/chunks/{file-vtm79yg5.js → instruction-discovery-7zrc25mc.js} +11 -11
- package/dist/chunks/{file-57ez7d0k.js → instruction-discovery-81swgkk7.js} +7 -7
- package/dist/chunks/{file-2rk3cq7y.js → instruction-discovery-83p2mfqs.js} +13 -13
- package/dist/chunks/{file-s0bk0r1z.js → instruction-discovery-85wjywk1.js} +13 -13
- package/dist/chunks/{file-6hkwt5ks.js → instruction-discovery-87acsesb.js} +32 -32
- package/dist/chunks/{file-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-ccfa4wxs.js → instruction-discovery-8q9myf25.js} +6 -6
- package/dist/chunks/{file-jfqtm2ew.js → instruction-discovery-8rqycdgd.js} +7 -7
- package/dist/chunks/{file-m6nr1r89.js → instruction-discovery-94rmqvaz.js} +11 -11
- package/dist/chunks/{file-4whbgcxk.js → instruction-discovery-99ckvcg4.js} +18 -18
- package/dist/chunks/{file-d93gxzhm.js → instruction-discovery-99p8z2n6.js} +16 -16
- package/dist/chunks/{file-r52efjxa.js → instruction-discovery-9ger9kq1.js} +43 -43
- package/dist/chunks/{file-4mg090da.js → instruction-discovery-9k2sbvrc.js} +25 -25
- package/dist/chunks/{file-xfhar90w.js → instruction-discovery-9kyym00p.js} +34 -34
- package/dist/chunks/{file-qkxsz2mg.js → instruction-discovery-9rsz42x0.js} +20 -20
- package/dist/chunks/{file-xvfb9kxe.js → instruction-discovery-9wzvj5v9.js} +11 -11
- package/dist/chunks/instruction-discovery-9zdhvgqs.js +18 -0
- package/dist/chunks/{file-c1495ybz.js → instruction-discovery-a68v6zx7.js} +8 -8
- package/dist/chunks/{file-rph3zd4r.js → instruction-discovery-a6v99qxw.js} +4 -4
- package/dist/chunks/{file-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{file-w2a5z8kt.js → instruction-discovery-adqvsp1z.js} +5 -5
- package/dist/chunks/{file-y1s26r5f.js → instruction-discovery-ae47t9tr.js} +17 -17
- package/dist/chunks/{file-e8mvkq4k.js → instruction-discovery-ar4sv4wr.js} +15 -15
- package/dist/chunks/{file-9m9h8fve.js → instruction-discovery-ax8kytpb.js} +5 -5
- package/dist/chunks/{file-7bsn99y2.js → instruction-discovery-az2wwzwz.js} +6 -6
- package/dist/chunks/{file-s7y6nykf.js → instruction-discovery-b31avp8j.js} +25 -25
- package/dist/chunks/{file-x00jkr1b.js → instruction-discovery-b3hz27q2.js} +44 -44
- package/dist/chunks/{file-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-y9heqbmp.js → instruction-discovery-ba684aqx.js} +30 -30
- package/dist/chunks/{file-2dw84gmp.js → instruction-discovery-bks7jzz2.js} +13 -13
- package/dist/chunks/{file-wf5bnb3c.js → instruction-discovery-brmbj7e7.js} +46 -46
- package/dist/chunks/{file-56m60q16.js → instruction-discovery-bw0vgseb.js} +8 -8
- package/dist/chunks/{file-58b9fvpm.js → instruction-discovery-bwh2gxn7.js} +14 -14
- package/dist/chunks/{file-6xapaz12.js → instruction-discovery-bxgy70qw.js} +22 -22
- package/dist/chunks/{file-mxvdmhxd.js → instruction-discovery-bzbc6d81.js} +11 -11
- package/dist/chunks/{file-mhstgcjq.js → instruction-discovery-c02f66qn.js} +14 -14
- package/dist/chunks/{file-a7atmr7r.js → instruction-discovery-c3h8wfdp.js} +22 -22
- package/dist/chunks/{file-bp02r99k.js → instruction-discovery-c6ds0c94.js} +4 -4
- package/dist/chunks/{file-ttqh24zm.js → instruction-discovery-ckf8nxjz.js} +4 -4
- package/dist/chunks/{file-cmwkp3r5.js → instruction-discovery-cmwkp3r5.js} +1 -1
- package/dist/chunks/{file-44h5tttr.js → instruction-discovery-cpj0znwe.js} +4 -4
- package/dist/chunks/{file-cwa6csj7.js → instruction-discovery-cwa6csj7.js} +2 -2
- package/dist/chunks/{file-gw23creq.js → instruction-discovery-cwxsjhem.js} +27 -27
- package/dist/chunks/{file-n9hnzybb.js → instruction-discovery-d38peksj.js} +20 -20
- package/dist/chunks/{file-wrxzva30.js → instruction-discovery-d3dfkvzz.js} +11 -11
- package/dist/chunks/{file-m7e4enkd.js → instruction-discovery-d4472sqx.js} +51 -51
- package/dist/chunks/{file-k2ceccft.js → instruction-discovery-d7k7sx54.js} +5 -5
- package/dist/chunks/{file-zpyz6kjf.js → instruction-discovery-d9p0aq9s.js} +8 -8
- package/dist/chunks/{file-ndqtf2h8.js → instruction-discovery-d9wx0zpv.js} +7 -7
- package/dist/chunks/{file-xgj79bh7.js → instruction-discovery-dbncea3f.js} +24 -24
- package/dist/chunks/{file-3149hxjv.js → instruction-discovery-dcc5kmch.js} +16 -16
- package/dist/chunks/{file-w1ezb4ke.js → instruction-discovery-ddbatmq7.js} +16 -16
- package/dist/chunks/{file-t4ep399p.js → instruction-discovery-dfvnyc1p.js} +12 -12
- package/dist/chunks/{file-dj2t23y0.js → instruction-discovery-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-h1a82ttv.js → instruction-discovery-dphr9ftm.js} +30 -30
- package/dist/chunks/{file-dpkg50ah.js → instruction-discovery-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-6dmrh5a8.js → instruction-discovery-drkyv896.js} +22 -22
- package/dist/chunks/{file-xfkkasph.js → instruction-discovery-drwq78ky.js} +4 -4
- package/dist/chunks/{file-ee73fed3.js → instruction-discovery-e59d23kr.js} +47 -47
- package/dist/chunks/{file-3j9bgvtg.js → instruction-discovery-e8qyrgb1.js} +5 -5
- package/dist/chunks/{file-eaj1djv9.js → instruction-discovery-eaj1djv9.js} +1 -1
- package/dist/chunks/{file-dq8nh84r.js → instruction-discovery-ecep5xn0.js} +15 -15
- package/dist/chunks/{file-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-t69pkn8h.js → instruction-discovery-efpq0zzc.js} +14 -14
- package/dist/chunks/{file-nbep77rb.js → instruction-discovery-erjwy5a4.js} +15 -15
- package/dist/chunks/{file-erw5rpbs.js → instruction-discovery-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-jjpeq0x6.js → instruction-discovery-evnqb7wv.js} +21 -21
- package/dist/chunks/{file-0z78d6d4.js → instruction-discovery-exzk6jzs.js} +9 -9
- package/dist/chunks/{file-3a13mzqq.js → instruction-discovery-f4kpt639.js} +11 -11
- package/dist/chunks/{file-7ynk84wd.js → instruction-discovery-fbn8vq8y.js} +52 -52
- package/dist/chunks/{file-rtkpxbf2.js → instruction-discovery-fcqfjr0s.js} +12 -12
- package/dist/chunks/{file-00af4kh8.js → instruction-discovery-fd093cwy.js} +8 -8
- package/dist/chunks/{file-k9kj6xed.js → instruction-discovery-fkjmw100.js} +2 -2
- package/dist/chunks/{file-evsjhyqp.js → instruction-discovery-fkzrgswq.js} +4 -4
- package/dist/chunks/{file-6t8a2cxv.js → instruction-discovery-fps5zk9a.js} +36 -36
- package/dist/chunks/{file-96vdq9fw.js → instruction-discovery-fte74qth.js} +15 -15
- package/dist/chunks/{file-ymd9ngfh.js → instruction-discovery-fwq3s2k2.js} +24 -24
- package/dist/chunks/{file-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-z9k7j840.js → instruction-discovery-g6c9v916.js} +16 -16
- package/dist/chunks/{file-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-vykevjvn.js → instruction-discovery-gfhhve88.js} +5 -5
- package/dist/chunks/{file-hp7eqkgq.js → instruction-discovery-ggbxvbfp.js} +2 -2
- package/dist/chunks/{file-kztag27a.js → instruction-discovery-ghdygspd.js} +22 -22
- package/dist/chunks/{file-5n76hmjp.js → instruction-discovery-gp6eacnx.js} +5 -5
- package/dist/chunks/{file-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-4kqngsvt.js → instruction-discovery-gw91bphe.js} +26 -26
- package/dist/chunks/{file-yrn7vwjt.js → instruction-discovery-gzwveqb0.js} +11 -11
- package/dist/chunks/{file-v5gzehfd.js → instruction-discovery-h6a8fqwt.js} +6 -6
- package/dist/chunks/{file-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-40cw0428.js → instruction-discovery-h7dcmjj9.js} +4 -4
- package/dist/chunks/{file-hdnk95c8.js → instruction-discovery-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-dkn9b9f5.js → instruction-discovery-heravr3y.js} +9 -9
- package/dist/chunks/{file-5sdemcz3.js → instruction-discovery-hkjf8z9r.js} +8 -8
- package/dist/chunks/{file-f8e7pbj3.js → instruction-discovery-hm2kbhva.js} +11 -11
- package/dist/chunks/{file-r4xn8cgd.js → instruction-discovery-hpfswxd7.js} +6 -6
- package/dist/chunks/{file-tzdy52s7.js → instruction-discovery-hprg1gtw.js} +13 -13
- package/dist/chunks/{file-vx7aa5m2.js → instruction-discovery-hs89yfgw.js} +27 -27
- package/dist/chunks/{file-et91bqp9.js → instruction-discovery-hvar7jas.js} +10 -10
- package/dist/chunks/{file-0qad3ttb.js → instruction-discovery-hz0qet22.js} +32 -32
- package/dist/chunks/{file-atwefz46.js → instruction-discovery-hzm29e1k.js} +9 -9
- package/dist/chunks/{file-6gchxkvz.js → instruction-discovery-j3v3kc3q.js} +13 -13
- package/dist/chunks/{file-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{file-852d7py8.js → instruction-discovery-j6afddsv.js} +13 -13
- package/dist/chunks/{file-q3t37ft6.js → instruction-discovery-j7wq2tw5.js} +2 -2
- package/dist/chunks/{file-bade5gr5.js → instruction-discovery-j8sp74qn.js} +3 -3
- package/dist/chunks/{file-dkm5q57s.js → instruction-discovery-j92t2mfa.js} +86 -86
- package/dist/chunks/{file-p8s1tbxz.js → instruction-discovery-je6n49gk.js} +26 -26
- package/dist/chunks/{file-85czmsy6.js → instruction-discovery-jnvtr24d.js} +9 -9
- package/dist/chunks/{file-nzks3jc8.js → instruction-discovery-k3c624dm.js} +3 -3
- package/dist/chunks/{file-4ecc57dw.js → instruction-discovery-km9g08hw.js} +46 -46
- package/dist/chunks/{file-dj631km8.js → instruction-discovery-kycnkrz5.js} +6 -6
- package/dist/chunks/{file-m0jqrx5p.js → instruction-discovery-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-63nnbv2k.js → instruction-discovery-m1ssxc8j.js} +1 -1
- package/dist/chunks/{file-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-1hbpk5ma.js → instruction-discovery-m6wkxvak.js} +12 -12
- package/dist/chunks/{file-9xqd5pe1.js → instruction-discovery-m8m4z3yp.js} +27 -27
- package/dist/chunks/{file-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-k13v7s70.js → instruction-discovery-mmf7z9cm.js} +19 -19
- package/dist/chunks/{file-0wtnvkaq.js → instruction-discovery-mxpy5kqj.js} +9 -9
- package/dist/chunks/{file-g0bdsd7s.js → instruction-discovery-myt6z8bz.js} +10 -10
- package/dist/chunks/{file-4091at3p.js → instruction-discovery-n2r5jww1.js} +4 -4
- package/dist/chunks/{file-n37c4crj.js → instruction-discovery-n37c4crj.js} +2 -2
- package/dist/chunks/{file-hx99ev5f.js → instruction-discovery-n3g2ny2j.js} +18 -18
- package/dist/chunks/{file-jcemy7wp.js → instruction-discovery-n564ge7k.js} +67 -67
- package/dist/chunks/{file-f3ngv102.js → instruction-discovery-nrdmrqsx.js} +4 -4
- package/dist/chunks/instruction-discovery-ntrtanyh.js +26 -0
- package/dist/chunks/{file-d7w252zj.js → instruction-discovery-nva2p24e.js} +26 -26
- package/dist/chunks/{file-p28j5sbe.js → instruction-discovery-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-xhd31qk1.js → instruction-discovery-pa4xnpep.js} +5 -5
- package/dist/chunks/{file-tv8tew1t.js → instruction-discovery-pajsw32r.js} +15 -15
- package/dist/chunks/{file-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{file-285smrwa.js → instruction-discovery-pt4q7hgj.js} +7 -7
- package/dist/chunks/{file-p8tq6xht.js → instruction-discovery-pwrndqkq.js} +13 -13
- package/dist/chunks/{file-d7fqxd0w.js → instruction-discovery-q18rqdhp.js} +20 -20
- package/dist/chunks/{file-an7cqtb7.js → instruction-discovery-q2b1ymqp.js} +4 -4
- package/dist/chunks/{file-nscznvay.js → instruction-discovery-qg0jgkcp.js} +9 -9
- package/dist/chunks/{file-fcrkznn8.js → instruction-discovery-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-vy9gj3hz.js → instruction-discovery-qgt6ar0x.js} +10 -10
- package/dist/chunks/{file-9cvk2t4j.js → instruction-discovery-qq4e6q1v.js} +184 -184
- package/dist/chunks/{file-j33mnh1x.js → instruction-discovery-qqes52tx.js} +23 -23
- package/dist/chunks/{file-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{file-safzyg6n.js → instruction-discovery-qsxs4axe.js} +16 -16
- package/dist/chunks/{file-2nr7b2rh.js → instruction-discovery-qtjzhv84.js} +9 -9
- package/dist/chunks/{file-3ktbe3hf.js → instruction-discovery-qwkytnft.js} +6 -6
- package/dist/chunks/{file-42yzn4t5.js → instruction-discovery-r4bbfj0a.js} +11 -11
- package/dist/chunks/{file-73tb2d7t.js → instruction-discovery-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-h0qt5e5y.js → instruction-discovery-r6a5m96p.js} +3 -3
- package/dist/chunks/{file-3n6mfbkh.js → instruction-discovery-r7wvrq5n.js} +28 -28
- package/dist/chunks/{file-xm7z07hf.js → instruction-discovery-ra8aazcz.js} +22 -22
- package/dist/chunks/{file-hg6thggv.js → instruction-discovery-rcaf9vmp.js} +17 -17
- package/dist/chunks/{file-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-rhraev7y.js → instruction-discovery-rhraev7y.js} +1 -1
- package/dist/chunks/{file-yvvvp4gn.js → instruction-discovery-rmdyxgmk.js} +8 -8
- package/dist/chunks/{file-2wz5cap4.js → instruction-discovery-safxhdh0.js} +10 -10
- package/dist/chunks/{file-2zqpyx7j.js → instruction-discovery-sdv0qq99.js} +3 -3
- package/dist/chunks/{file-bwm9bx21.js → instruction-discovery-smf1jdzn.js} +3 -3
- package/dist/chunks/{file-ayykrmcz.js → instruction-discovery-spgs59mc.js} +32 -32
- package/dist/chunks/{file-9d4g2rgm.js → instruction-discovery-sw062jys.js} +3 -3
- package/dist/chunks/{file-evbgk2k8.js → instruction-discovery-t0fxg8b9.js} +5 -5
- package/dist/chunks/{file-ygwg1shg.js → instruction-discovery-t7tbz147.js} +3 -3
- package/dist/chunks/{file-gkbem5z3.js → instruction-discovery-t8e7hrdd.js} +43 -43
- package/dist/chunks/{file-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{file-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{file-k53nzgjr.js → instruction-discovery-tw7yweqw.js} +12 -12
- package/dist/chunks/{file-vadan2xk.js → instruction-discovery-vadan2xk.js} +5 -5
- package/dist/chunks/{file-78ghsz8c.js → instruction-discovery-vc7d60mr.js} +34 -34
- package/dist/chunks/{file-y3qff3a1.js → instruction-discovery-vcepthm9.js} +5 -5
- package/dist/chunks/{file-t1q5pb01.js → instruction-discovery-vcja6beq.js} +4 -4
- package/dist/chunks/{file-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{file-636j21cx.js → instruction-discovery-vfn1w7ss.js} +15 -15
- package/dist/chunks/{file-4brxhqy9.js → instruction-discovery-vjeczn16.js} +28 -28
- package/dist/chunks/{file-d0edxsh7.js → instruction-discovery-vsr8n5q5.js} +15 -15
- package/dist/chunks/instruction-discovery-vx946gkh.js +252 -0
- package/dist/chunks/{file-bv2epnby.js → instruction-discovery-vxb87yez.js} +24 -24
- package/dist/chunks/{file-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/instruction-discovery-w0cvk0vm.js +492 -0
- package/dist/chunks/{file-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-gfnjd6a9.js → instruction-discovery-w7t3m5yz.js} +3 -3
- package/dist/chunks/{file-w8vgje9p.js → instruction-discovery-wa06t0jy.js} +9 -9
- package/dist/chunks/{file-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{file-2k71kv7p.js → instruction-discovery-wj76ss2k.js} +4 -4
- package/dist/chunks/{file-829kak1e.js → instruction-discovery-wqr29zjb.js} +10 -10
- package/dist/chunks/{file-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-j7t2khjb.js → instruction-discovery-x1xcpfha.js} +9 -9
- package/dist/chunks/{file-gghxsv2g.js → instruction-discovery-x2ssjezq.js} +28 -28
- package/dist/chunks/{file-xqc9z03y.js → instruction-discovery-x8hq59sm.js} +12 -12
- package/dist/chunks/{file-s6c03qyq.js → instruction-discovery-xb4b135n.js} +15 -15
- package/dist/chunks/{file-d1j0qnxw.js → instruction-discovery-xdqt2g5m.js} +18 -18
- package/dist/chunks/{file-jca4demv.js → instruction-discovery-xg9t41r3.js} +2 -2
- package/dist/chunks/{file-mzgjcq6e.js → instruction-discovery-xs6j62r2.js} +12 -12
- package/dist/chunks/{file-p11pfbbp.js → instruction-discovery-xybdjdjw.js} +23 -23
- package/dist/chunks/{file-ttzf9e0x.js → instruction-discovery-y03jrrsm.js} +22 -22
- package/dist/chunks/{file-px76j0pk.js → instruction-discovery-y15vpdnr.js} +9 -9
- package/dist/chunks/{file-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-3ythc6yv.js → instruction-discovery-y67gsgy6.js} +4 -4
- package/dist/chunks/{file-targrq6s.js → instruction-discovery-y81sbrd6.js} +9 -9
- package/dist/chunks/{file-e8nv9k1e.js → instruction-discovery-y8dx4hw7.js} +7 -7
- package/dist/chunks/{file-sw35dprj.js → instruction-discovery-ycd3jqfs.js} +5 -5
- package/dist/chunks/{file-5eh7kyv5.js → instruction-discovery-ypw6dm2q.js} +31 -31
- package/dist/chunks/{file-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{file-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-xxnqwd1r.js → instruction-discovery-z4fmegtg.js} +37 -37
- package/dist/chunks/{file-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
- package/dist/chunks/{file-4nwvt2ek.js → instruction-discovery-z6fxfjsh.js} +4 -4
- package/dist/chunks/{file-53bvc5b3.js → instruction-discovery-zc2z59sj.js} +27 -27
- package/dist/chunks/{file-kvxz1nnx.js → instruction-discovery-zcakg7q8.js} +10 -10
- package/dist/chunks/{file-dqezrhz2.js → instruction-discovery-zcyfwxd8.js} +20 -20
- package/dist/chunks/{file-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-ry1kfgw7.js → instruction-discovery-zpzdfdvk.js} +22 -22
- package/dist/chunks/{file-b1ers0rt.js → instruction-discovery-zqezt8f0.js} +15 -15
- package/dist/chunks/{file-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-zxq2ej10.js → instruction-discovery-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 +161 -161
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +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 +69 -69
- 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 +2 -2
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- 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 +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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/compaction.js +132 -132
- 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 +1 -1
- package/dist/plugin/internal.js +330 -330
- 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 +2 -2
- 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 +91 -91
- 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 +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- 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 +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +92 -92
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- 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 +102 -102
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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 +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 +80 -80
- package/dist/workspace/driver.js +7 -7
- 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/file-0mesazry.js +0 -4
- package/dist/chunks/file-7ygdg4wh.js +0 -492
- package/dist/chunks/file-96byh0hv.js +0 -252
- package/dist/chunks/file-dxj72tfx.js +0 -18
- package/dist/chunks/file-xb0ahqs4.js +0 -26
- /package/dist/chunks/{file-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./instruction-discovery-qsxs4axe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service43
|
|
12
|
+
} from "./instruction-discovery-fwq3s2k2.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service18
|
|
15
|
+
} from "./instruction-discovery-bwh2gxn7.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-evnqb7wv.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service68
|
|
24
|
+
} from "./instruction-discovery-fbn8vq8y.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service14
|
|
27
|
+
} from "./instruction-discovery-99ckvcg4.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
36
|
Input: () => Input6,
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
37
|
+
Output: () => Output2,
|
|
38
|
+
Plugin: () => Plugin24,
|
|
39
39
|
name: () => name6,
|
|
40
|
-
toModelContent: () =>
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
@@ -55,28 +55,28 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output2 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin24 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service43;
|
|
70
|
+
const ripgrep = yield* Service18;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service14;
|
|
73
|
+
const permission = yield* Service68;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
75
|
name: name6,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
78
|
input: Input6,
|
|
79
|
-
output:
|
|
79
|
+
output: Output2,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
@@ -118,11 +118,11 @@ var Plugin22 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { name6, Input6,
|
|
128
|
+
export { name6, Input6, Output2, toModelContent3, Plugin24, exports_glob };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-dphr9ftm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
VariantID2,
|
|
8
|
-
|
|
8
|
+
Info20,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-3sbvtyy1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_models2, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ReasoningOption = Schema.Struct({
|
|
27
27
|
type: Schema.Literal("effort"),
|
|
28
28
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -75,8 +75,8 @@ function derive3(baseURL, remote, existing) {
|
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
78
|
-
const template = templates.get(
|
|
79
|
-
const id =
|
|
78
|
+
const template = templates.get(ID7.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
79
|
+
const id = ID7.make(item.id);
|
|
80
80
|
result.set(id, build(id, item, baseURL, template));
|
|
81
81
|
}
|
|
82
82
|
return result;
|
|
@@ -94,10 +94,10 @@ function limit(value, fallback) {
|
|
|
94
94
|
function build(id, remote, baseURL, previous) {
|
|
95
95
|
const cost = previous?.cost[0];
|
|
96
96
|
const input = previous?.limit.input;
|
|
97
|
-
return
|
|
98
|
-
...
|
|
97
|
+
return Info20.make({
|
|
98
|
+
...Info20.default(providerID, id),
|
|
99
99
|
id,
|
|
100
|
-
modelID:
|
|
100
|
+
modelID: ID7.make(remote.id),
|
|
101
101
|
providerID,
|
|
102
102
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
103
103
|
family: previous?.family,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node84
|
|
7
|
+
} from "./instruction-discovery-04a8qnpg.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-j7wq2tw5.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
23
|
make: () => make20,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service64 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make20 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service80;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service64.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service64, make20);
|
|
362
|
+
var node68 = makeGlobalNode({ service: Service64, layer, deps: [node84] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service64, make20, node68, exports_job };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info16,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-dbncea3f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service37
|
|
11
|
+
} from "./instruction-discovery-9ger9kq1.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin48,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin48 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info16.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info16.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service37;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin48, exports_skill3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-j7wq2tw5.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./instruction-discovery-fbn8vq8y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service45
|
|
10
|
+
} from "./instruction-discovery-dbncea3f.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
18
|
Input: () => Input11,
|
|
19
19
|
Output: () => Output7,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin29,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description5,
|
|
23
23
|
name: () => name11,
|
|
@@ -28,7 +28,7 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name11 = "skill";
|
|
30
30
|
var Input11 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
@@ -43,12 +43,12 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin29 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service45;
|
|
51
|
+
const permission = yield* Service68;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name11,
|
|
54
54
|
options: { codemode: false },
|
|
@@ -79,4 +79,4 @@ var Plugin28 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name11, Input11, Output7, description5, toModelOutput2,
|
|
82
|
+
export { name11, Input11, Output7, description5, toModelOutput2, Plugin29, exports_skill2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./instruction-discovery-fbn8vq8y.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input3,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin21,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name3
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name3 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input3 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input3.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin21 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service68;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name3,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input3,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin27 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name3,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name3, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input3, Plugin21, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-n2r5jww1.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
16
|
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info15,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service44,
|
|
21
|
+
layer: () => layer18,
|
|
22
|
+
node: () => node48
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
-
var
|
|
28
|
+
var Info15 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service44 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info15.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service44.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node48 = makeLocationNode({
|
|
75
|
+
service: Service44,
|
|
76
|
+
layer: layer18,
|
|
77
77
|
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info15, NotFoundError5, ExecutionError2, Service44, layer18, node48, exports_command5, Event8 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service48,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node52
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service48 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service48.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node52 = makeLocationNode({ service: Service48, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service48, node52, exports_image2 };
|