@opencode/core 0.0.0-dev-20271 → 0.0.0-dev-20276
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{schema-g6zjmjz7.js → location-0057bkce.js} +4 -4
- package/dist/chunks/{schema-3556dn8t.js → location-0bfcnrg1.js} +1 -1
- package/dist/chunks/{schema-ey8a4wge.js → location-0fx1c86e.js} +8 -8
- package/dist/chunks/{schema-m1v72ch8.js → location-0h3pt5nx.js} +23 -23
- package/dist/chunks/location-0kcwsw03.js +252 -0
- package/dist/chunks/{schema-mwjz0nk2.js → location-0m5nw8df.js} +13 -13
- package/dist/chunks/{schema-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-feegf67a.js → location-0pb2tsr6.js} +32 -32
- package/dist/chunks/{schema-84zcxbc9.js → location-0ryd0fps.js} +5 -5
- package/dist/chunks/{schema-hh8v5qpg.js → location-12296md0.js} +18 -18
- package/dist/chunks/{schema-qs001aqx.js → location-13ggeyh8.js} +11 -11
- package/dist/chunks/{schema-vzrrchan.js → location-18a36fer.js} +15 -15
- package/dist/chunks/{schema-7xsd729g.js → location-19xkyn56.js} +6 -6
- package/dist/chunks/{schema-m8psntbj.js → location-1c5qr0d4.js} +24 -24
- package/dist/chunks/{schema-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-n1ka8r9d.js → location-1ed2t66p.js} +4 -4
- package/dist/chunks/{schema-r79r0pmw.js → location-1fw2a5v8.js} +19 -19
- package/dist/chunks/{schema-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{schema-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-hdab2k61.js → location-2a6rn6yr.js} +6 -6
- package/dist/chunks/{schema-n4mhh8dh.js → location-2cc3a0er.js} +24 -24
- package/dist/chunks/{schema-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{schema-34jh91rq.js → location-2q79s005.js} +3 -3
- package/dist/chunks/{schema-m3aacv1r.js → location-2vq7jkms.js} +11 -11
- package/dist/chunks/{schema-y3hxgm3d.js → location-2wnt8bbg.js} +13 -13
- package/dist/chunks/{schema-0gxqnvpq.js → location-2xhakehx.js} +43 -43
- package/dist/chunks/{schema-engkm2d6.js → location-2xwkyk0m.js} +5 -5
- package/dist/chunks/{schema-4c27qttd.js → location-31vv3vzb.js} +11 -11
- package/dist/chunks/{schema-37y8hjd0.js → location-33x84ssc.js} +9 -9
- package/dist/chunks/{schema-tvzckvfh.js → location-37e61ywe.js} +17 -17
- package/dist/chunks/{schema-0pj8398s.js → location-3c7r44jp.js} +18 -18
- package/dist/chunks/{schema-ermxvwhp.js → location-3ewed21c.js} +4 -4
- package/dist/chunks/{schema-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{schema-r5398wsk.js → location-462ftxvc.js} +10 -10
- package/dist/chunks/{schema-5szbf8m3.js → location-4dgfv34j.js} +21 -21
- package/dist/chunks/{schema-fgdzjjn8.js → location-4ntyr3h2.js} +10 -10
- package/dist/chunks/{schema-dq6warjh.js → location-4sk9wqmx.js} +33 -33
- package/dist/chunks/{schema-kwp4z5r0.js → location-4stzy43z.js} +15 -15
- package/dist/chunks/{schema-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{schema-ckecvw8r.js → location-54tcyq79.js} +2 -2
- package/dist/chunks/{schema-c9c9gefm.js → location-553akxd4.js} +91 -91
- package/dist/chunks/{schema-mfqp6xfm.js → location-56gdpj1q.js} +6 -6
- package/dist/chunks/{schema-4sn99hha.js → location-57ez7d0k.js} +7 -7
- package/dist/chunks/{schema-7w99qc9d.js → location-5cmxdwv8.js} +3 -3
- package/dist/chunks/{schema-p7jp4nkc.js → location-5cqar878.js} +5 -5
- package/dist/chunks/{schema-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-tffeed3q.js → location-5eb3a1ca.js} +12 -12
- package/dist/chunks/{schema-k1xs71rw.js → location-5htrahb1.js} +32 -32
- package/dist/chunks/{schema-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{schema-ctf78ks7.js → location-5rwbqegk.js} +29 -29
- package/dist/chunks/{schema-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-p1xcnqpd.js → location-5wfhmhr2.js} +8 -8
- package/dist/chunks/{schema-abbdd1c6.js → location-5yqvxvd9.js} +5 -5
- package/dist/chunks/{schema-eap6v6ka.js → location-615mg57g.js} +32 -32
- package/dist/chunks/{schema-53fn2v7c.js → location-65asqpss.js} +11 -11
- package/dist/chunks/{schema-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{schema-d9sgy5v4.js → location-697fm79x.js} +4 -4
- package/dist/chunks/{schema-0eq7hms9.js → location-6gph9127.js} +3 -3
- package/dist/chunks/{schema-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-3d5p9naq.js → location-6mxndphv.js} +11 -11
- package/dist/chunks/{schema-ymfmgbr6.js → location-745s8vaw.js} +10 -10
- package/dist/chunks/{schema-8phqmggh.js → location-768gsh1v.js} +5 -5
- package/dist/chunks/{schema-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-7s2tn799.js → location-7dbmnfn4.js} +8 -8
- package/dist/chunks/{schema-7bshkk6c.js → location-7h0vcxh8.js} +7 -7
- package/dist/chunks/{schema-x9685y9e.js → location-7nh7q5qm.js} +38 -38
- package/dist/chunks/{schema-04pw375h.js → location-7v98fvm1.js} +10 -10
- package/dist/chunks/{schema-mhkvc446.js → location-7yh4e7ss.js} +3 -3
- package/dist/chunks/{schema-q8wjb94d.js → location-80ebag5h.js} +35 -35
- package/dist/chunks/{schema-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{schema-wk7amq94.js → location-8a0sy633.js} +24 -24
- package/dist/chunks/{schema-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-yntqjfz5.js → location-8s1frede.js} +16 -16
- package/dist/chunks/{schema-6xvpa3dg.js → location-8ssk0f6f.js} +24 -24
- package/dist/chunks/{schema-tpw6cwsb.js → location-8v6pyhej.js} +8 -8
- package/dist/chunks/{schema-8zh4h089.js → location-8zh4h089.js} +2 -2
- package/dist/chunks/{schema-d81r50pr.js → location-9196f380.js} +11 -11
- package/dist/chunks/{schema-mx6ypyf3.js → location-94gfxd8b.js} +13 -13
- package/dist/chunks/{schema-t1zhpzyh.js → location-978t30qm.js} +20 -20
- package/dist/chunks/{schema-kykxfaeb.js → location-9kyxe6d2.js} +15 -15
- package/dist/chunks/{schema-ptstaxe9.js → location-9m41ce2e.js} +6 -6
- package/dist/chunks/{schema-ykkt2z7t.js → location-9tgtz3hc.js} +18 -18
- package/dist/chunks/{schema-qby9dwvd.js → location-a2qe2ev9.js} +8 -8
- package/dist/chunks/{schema-kadj03x1.js → location-a44b6qvx.js} +14 -14
- package/dist/chunks/{schema-scw85daj.js → location-a4hewyqn.js} +13 -13
- package/dist/chunks/{schema-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-x9cd31tj.js → location-aaf8swx0.js} +5 -5
- package/dist/chunks/{schema-ccqrgpfr.js → location-aakk90ee.js} +22 -22
- package/dist/chunks/{schema-6q1fpb12.js → location-ab4qw10a.js} +17 -17
- package/dist/chunks/{schema-cd1ha9xt.js → location-actspjgq.js} +12 -12
- package/dist/chunks/{schema-9xq4rgak.js → location-ae1n2vcd.js} +4 -4
- package/dist/chunks/{schema-e5x26qyz.js → location-afy572fx.js} +4 -4
- package/dist/chunks/{schema-fwzh61wc.js → location-amb4vwg9.js} +6 -6
- package/dist/chunks/{schema-s532705d.js → location-atzxk3q8.js} +11 -11
- package/dist/chunks/{schema-yh9brxq5.js → location-ax5q5x3y.js} +10 -10
- package/dist/chunks/{schema-j575tj3n.js → location-b09w9vsw.js} +84 -84
- package/dist/chunks/{schema-wk5z6jzv.js → location-b0dgvpy7.js} +9 -9
- package/dist/chunks/{schema-7mrx23rq.js → location-b4smrmcv.js} +4 -4
- package/dist/chunks/{schema-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-fdhjyf6e.js → location-b8wj4r0t.js} +19 -19
- package/dist/chunks/{schema-dya6s92k.js → location-bbcw15hs.js} +26 -26
- package/dist/chunks/{schema-z07pqspn.js → location-bjtzbw4r.js} +3 -3
- package/dist/chunks/{schema-hdzt82x2.js → location-bscb95cy.js} +4 -4
- package/dist/chunks/{schema-qxs49gs0.js → location-c26hev1n.js} +24 -24
- package/dist/chunks/{schema-fn5s1xt4.js → location-c3p8ecy6.js} +5 -5
- package/dist/chunks/{schema-dqmwfghx.js → location-c78bbtc9.js} +5 -5
- package/dist/chunks/{schema-yhka94gb.js → location-c9sp74yg.js} +24 -24
- package/dist/chunks/{schema-bbgyx2ca.js → location-cmr86hnb.js} +23 -23
- package/dist/chunks/{schema-4dgbcxzg.js → location-cpj0znwe.js} +4 -4
- package/dist/chunks/{schema-89e39zcy.js → location-cpy6gm2a.js} +6 -6
- package/dist/chunks/{schema-fgdrjr7g.js → location-csytna75.js} +34 -34
- package/dist/chunks/{schema-qmqgtz8f.js → location-d4he2qe1.js} +9 -9
- package/dist/chunks/{schema-7h24643z.js → location-d51j8nb8.js} +4 -4
- package/dist/chunks/{schema-1xys0ebv.js → location-dbr74085.js} +11 -11
- package/dist/chunks/{schema-3m8k6a97.js → location-dxkh69ct.js} +34 -34
- package/dist/chunks/{schema-ckz290np.js → location-e5pqzwnt.js} +8 -8
- package/dist/chunks/{schema-aqkyva7e.js → location-e7rgh627.js} +30 -30
- package/dist/chunks/{schema-t550f9t1.js → location-eaj1djv9.js} +8 -8
- package/dist/chunks/{schema-ecfe7b91.js → location-ecfe7b91.js} +2 -2
- package/dist/chunks/{schema-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-hx3vx9sm.js → location-eqzyz2a8.js} +1 -1
- package/dist/chunks/{schema-gjyhvyzk.js → location-espmheeq.js} +10 -10
- package/dist/chunks/{schema-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-4y0jsvk1.js → location-eva5q63f.js} +17 -17
- package/dist/chunks/{schema-gznm14y3.js → location-f113p6m0.js} +35 -35
- package/dist/chunks/{schema-bsthxcff.js → location-f323rzvq.js} +19 -19
- package/dist/chunks/{schema-xdk9p2qn.js → location-f3ngv102.js} +21 -21
- package/dist/chunks/{schema-sgj69q70.js → location-f5brv8eq.js} +10 -10
- package/dist/chunks/location-f81tjggh.js +18 -0
- package/dist/chunks/{schema-c3yncfhe.js → location-f98hm7nt.js} +15 -15
- package/dist/chunks/{schema-af49n079.js → location-fapqdhr6.js} +8 -8
- package/dist/chunks/{schema-kaqvhan9.js → location-fch6zz7r.js} +53 -53
- package/dist/chunks/{schema-y6b4mn53.js → location-ff3hhqst.js} +20 -20
- package/dist/chunks/{schema-b27vhd2z.js → location-fm2qvscf.js} +4 -4
- package/dist/chunks/{schema-mdhbd56y.js → location-frhdz160.js} +7 -7
- package/dist/chunks/{schema-qtgetkc5.js → location-fs7gwttq.js} +11 -11
- package/dist/chunks/{schema-h57gm808.js → location-g7ptqdwz.js} +17 -17
- package/dist/chunks/{schema-5z9p70xw.js → location-gc90ewg5.js} +25 -25
- package/dist/chunks/{schema-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-fzxn0rpd.js → location-gfq5dj1e.js} +13 -13
- package/dist/chunks/{schema-94ek1h2f.js → location-gfvb90ym.js} +2 -2
- package/dist/chunks/{schema-h1nersjm.js → location-ggqz94d5.js} +28 -28
- package/dist/chunks/{schema-d20e8vw1.js → location-gmjq4p6e.js} +12 -12
- package/dist/chunks/{schema-8p8sbe40.js → location-gqayqhyj.js} +2 -2
- package/dist/chunks/{schema-5q0dqpvd.js → location-gtah93dy.js} +20 -20
- package/dist/chunks/{schema-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-hm7qa9sr.js → location-hc04de6s.js} +43 -43
- package/dist/chunks/{schema-qze8mdqk.js → location-hkxjwzsw.js} +10 -10
- package/dist/chunks/{schema-3r8mb62a.js → location-hy3r2exk.js} +24 -24
- package/dist/chunks/{schema-b7ze0h6m.js → location-j14xwnx3.js} +17 -17
- package/dist/chunks/{schema-6yfh064v.js → location-j22t5rnv.js} +5 -5
- package/dist/chunks/{schema-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-htk8gamf.js → location-j5b3v8p4.js} +13 -13
- package/dist/chunks/{schema-b9marwrz.js → location-jc2h4ya1.js} +5 -5
- package/dist/chunks/{schema-y7dmryf8.js → location-jnz9m78q.js} +23 -23
- package/dist/chunks/{schema-dc6xss86.js → location-jtb1j844.js} +17 -17
- package/dist/chunks/{schema-7x2w03m2.js → location-jtc1v7sa.js} +29 -29
- package/dist/chunks/{schema-0455hjbt.js → location-jy8sf8ka.js} +44 -44
- package/dist/chunks/{schema-k3c624dm.js → location-k3c624dm.js} +3 -3
- package/dist/chunks/{schema-1380s59h.js → location-k50vre3t.js} +33 -33
- package/dist/chunks/{schema-057vntkv.js → location-kdk8byp1.js} +20 -20
- package/dist/chunks/{schema-4nsycqaw.js → location-kdpg6j2h.js} +314 -314
- package/dist/chunks/{schema-02fx2esq.js → location-kkg46zsd.js} +9 -9
- package/dist/chunks/{schema-j6de23b5.js → location-kt9mpxjt.js} +24 -24
- package/dist/chunks/{schema-fzhk56mq.js → location-kxvx07my.js} +18 -18
- package/dist/chunks/{schema-8dt2nhtf.js → location-kzyk0qtv.js} +34 -34
- package/dist/chunks/{schema-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{schema-j7wxbxne.js → location-m5qgxshp.js} +11 -11
- package/dist/chunks/{schema-k1qrnqst.js → location-m6f3t844.js} +8 -8
- package/dist/chunks/{schema-20mv48v8.js → location-m9dd4gnk.js} +7 -7
- package/dist/chunks/{schema-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-fma9b9zx.js → location-mbcnae1e.js} +48 -48
- package/dist/chunks/{schema-2fjb1j7y.js → location-mfyfvt3e.js} +9 -9
- package/dist/chunks/{schema-q6d53jre.js → location-mm5kxf07.js} +8 -8
- package/dist/chunks/{schema-hefng7ga.js → location-mp62f6px.js} +9 -9
- package/dist/chunks/{schema-t89k7t2n.js → location-mxyfxq61.js} +3 -3
- package/dist/chunks/{schema-p810a5w3.js → location-mygq0r12.js} +12 -12
- package/dist/chunks/{schema-9wcc5pj1.js → location-mzba7wnk.js} +20 -20
- package/dist/chunks/{schema-x5rm1qcs.js → location-n3vygs5b.js} +9 -9
- package/dist/chunks/{schema-gr5dc40r.js → location-n4v0rfv1.js} +4 -4
- package/dist/chunks/{schema-hspndzgs.js → location-n6dqm6n8.js} +8 -8
- package/dist/chunks/{schema-89yhyecc.js → location-n8wsbnmg.js} +15 -15
- package/dist/chunks/{schema-153vd5vc.js → location-nc08s4b6.js} +3 -3
- package/dist/chunks/{schema-y99khw21.js → location-nd5ewv74.js} +3 -3
- package/dist/chunks/{schema-32ygzjnf.js → location-ngc4nbq5.js} +10 -10
- package/dist/chunks/{schema-v4khfddp.js → location-nwqf1d5h.js} +24 -24
- package/dist/chunks/{schema-yt0fqk68.js → location-nxhqveyz.js} +5 -5
- package/dist/chunks/{schema-03rhqhz8.js → location-paw7gv03.js} +16 -16
- package/dist/chunks/{schema-92qe48v5.js → location-pgk5vny9.js} +9 -9
- package/dist/chunks/{schema-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{schema-qg0jgkcp.js → location-pnv527nz.js} +9 -9
- package/dist/chunks/{schema-wd3x2cqz.js → location-psazpmmj.js} +2 -2
- package/dist/chunks/{schema-8sze2n9a.js → location-py3kkmfq.js} +6 -6
- package/dist/chunks/{schema-xdjq0qq8.js → location-q826ync2.js} +16 -16
- package/dist/chunks/{schema-zrmtt4x8.js → location-qdy5jae5.js} +3 -3
- package/dist/chunks/{schema-qte5z7bc.js → location-qn4ba14w.js} +5 -5
- package/dist/chunks/{schema-cr5r5t3v.js → location-qpygv4fp.js} +5 -5
- package/dist/chunks/{schema-vvyaap0j.js → location-qsawcycn.js} +1 -1
- package/dist/chunks/{schema-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-szt33nzv.js → location-qsjwzbna.js} +22 -22
- package/dist/chunks/{schema-2vxy01ew.js → location-r5z9vr3t.js} +6 -6
- package/dist/chunks/{schema-phpw85vv.js → location-r7nsrefv.js} +6 -6
- package/dist/chunks/{schema-0v53mg2y.js → location-r98e92ep.js} +4 -4
- package/dist/chunks/{schema-c2ystsw5.js → location-r9a21ze6.js} +11 -11
- package/dist/chunks/{schema-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-t1vq5jda.js → location-re7w4886.js} +168 -168
- package/dist/chunks/{schema-6t4hr8r6.js → location-rk7s9xkn.js} +4 -4
- package/dist/chunks/{schema-ptt6m9gv.js → location-rmyddrcn.js} +3 -3
- package/dist/chunks/{schema-qnyr447v.js → location-rr7rd4zm.js} +30 -30
- package/dist/chunks/{schema-2nhp9p6w.js → location-rweezmpe.js} +19 -19
- package/dist/chunks/{schema-m36xmz2a.js → location-s1hvx6t4.js} +25 -25
- package/dist/chunks/{schema-4z58m4b4.js → location-s30fyz93.js} +4 -4
- package/dist/chunks/{schema-pstmv2d8.js → location-se36eqgj.js} +11 -11
- package/dist/chunks/{schema-6cknckpe.js → location-sjxg3jn5.js} +47 -47
- package/dist/chunks/{schema-72b9nwr9.js → location-sq2kpqez.js} +12 -12
- package/dist/chunks/{schema-zfzv19x2.js → location-ssg653vt.js} +33 -33
- package/dist/chunks/{schema-zav06jzw.js → location-t7n9q6bq.js} +4 -4
- package/dist/chunks/{schema-wfnwj6ew.js → location-t8kexe44.js} +12 -12
- package/dist/chunks/{schema-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{schema-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{schema-c6qrx7z0.js → location-tgzah0tt.js} +15 -15
- package/dist/chunks/{schema-rz3d44tq.js → location-tjca4006.js} +46 -46
- package/dist/chunks/{schema-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-2qfec9vm.js → location-tw3t2x25.js} +18 -18
- package/dist/chunks/{schema-w3xe5wx0.js → location-v1ryjrvj.js} +32 -32
- package/dist/chunks/{schema-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-q7d6akyq.js → location-vgvjrf8v.js} +24 -24
- package/dist/chunks/{schema-4py3js73.js → location-vgzres6n.js} +6 -6
- package/dist/chunks/{schema-v1z5k6ya.js → location-vjst3kcb.js} +25 -25
- package/dist/chunks/{schema-nng2ktcm.js → location-vmgq4x8b.js} +2 -2
- package/dist/chunks/{schema-hs5b19ez.js → location-vpw9xy5b.js} +27 -27
- package/dist/chunks/{schema-9sp4j3g7.js → location-vqet09zx.js} +11 -11
- package/dist/chunks/{schema-p97jtcyh.js → location-vsm5skh5.js} +24 -24
- package/dist/chunks/{schema-7kaezs2e.js → location-vw38ypps.js} +11 -11
- package/dist/chunks/{schema-4vcqcfh5.js → location-vxh2n5pk.js} +3 -3
- package/dist/chunks/{schema-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-bb6qd770.js → location-w6mz219s.js} +60 -60
- package/dist/chunks/{schema-za86s8b3.js → location-w7bkmztz.js} +9 -9
- package/dist/chunks/{schema-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{schema-ehpxdd9r.js → location-wdz763xm.js} +32 -32
- package/dist/chunks/{schema-s5cvb66r.js → location-wetczrvy.js} +17 -17
- package/dist/chunks/{schema-fb08v964.js → location-wsvmp3ny.js} +18 -18
- package/dist/chunks/{schema-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-dh89yxex.js → location-x3d5atbz.js} +28 -28
- package/dist/chunks/{schema-6kmx0kce.js → location-x7993znb.js} +6 -6
- package/dist/chunks/{schema-b24dgscy.js → location-x8ygcmws.js} +10 -10
- package/dist/chunks/{schema-17d68tkq.js → location-x9ssgtdb.js} +18 -18
- package/dist/chunks/{schema-rpjgfq5s.js → location-xdx7acry.js} +9 -9
- package/dist/chunks/{schema-xfkkasph.js → location-xfkkasph.js} +1 -1
- package/dist/chunks/{schema-dmqcgk4z.js → location-xkntkrq7.js} +5 -5
- package/dist/chunks/location-xqecqxs5.js +26 -0
- package/dist/chunks/{schema-erdgy6bb.js → location-xrc18w18.js} +16 -16
- package/dist/chunks/{schema-qvs3yrx0.js → location-xw0saaw0.js} +26 -26
- package/dist/chunks/{schema-1bt4s3y9.js → location-xx3xskn4.js} +25 -25
- package/dist/chunks/{schema-f4ktwvph.js → location-xz21yfmd.js} +15 -15
- package/dist/chunks/{schema-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-vm9szz2v.js → location-y56fgtjc.js} +42 -42
- package/dist/chunks/{schema-vfb18kab.js → location-y5v4pytj.js} +15 -15
- package/dist/chunks/{schema-f1dxnh8x.js → location-y653rv1a.js} +51 -51
- package/dist/chunks/{schema-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{schema-vhe05b2j.js → location-yah15ztz.js} +14 -14
- package/dist/chunks/{schema-kg3nfyrf.js → location-ydk8kw93.js} +11 -11
- package/dist/chunks/{schema-yp2x3t23.js → location-yp2x3t23.js} +1 -1
- package/dist/chunks/{schema-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{schema-ncfrwhmr.js → location-yv63dtz0.js} +60 -60
- package/dist/chunks/{schema-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-0vq4p6sw.js → location-z42cn8j0.js} +7 -7
- package/dist/chunks/{schema-2phhkb6s.js → location-z4eayw4n.js} +16 -16
- package/dist/chunks/{schema-yr2s5jbd.js → location-z4h05mhr.js} +11 -11
- package/dist/chunks/{schema-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{schema-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-8s4fd4h0.js → location-zmzjstmk.js} +15 -15
- package/dist/chunks/{schema-vnq9hngb.js → location-zpc9w55b.js} +33 -33
- package/dist/chunks/{schema-pr2shm86.js → location-zq6vnbzn.js} +36 -36
- package/dist/chunks/{schema-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +123 -123
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/schema-7ggrqnkf.js +0 -252
- package/dist/chunks/schema-rap9a73h.js +0 -18
- package/dist/chunks/schema-tbcx5g6b.js +0 -26
- /package/dist/chunks/{schema-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-nd5ewv74.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-n4v0rfv1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./location-2a6rn6yr.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError10,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-n3vygs5b.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service77
|
|
29
|
+
} from "./location-8s1frede.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service46
|
|
34
|
+
} from "./location-3c7r44jp.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service44
|
|
37
|
+
} from "./location-dxkh69ct.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-paw7gv03.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-978t30qm.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-pgk5vny9.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-33x84ssc.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service77;
|
|
69
|
+
const instances = yield* Service47;
|
|
70
|
+
const execution = yield* Service44;
|
|
71
|
+
const admission = yield* Service46;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError10({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service47, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service47, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service47, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make13, exports_session2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service45, exports_runner };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-nd5ewv74.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./location-2a6rn6yr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-f81tjggh.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-s30fyz93.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-2vq7jkms.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-5rwbqegk.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service31
|
|
21
|
+
} from "./location-b09w9vsw.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service47;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service31;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-z4eayw4n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
18
|
Service: () => Service36,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node40
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -25,11 +25,11 @@ class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
28
|
+
const location = yield* Service80;
|
|
29
29
|
return Service36.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
35
35
|
render: {
|
|
@@ -37,8 +37,8 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
41
|
-
key:
|
|
40
|
+
make21({
|
|
41
|
+
key: Key4.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
44
44
|
"<env>",
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node40 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node84] });
|
|
64
64
|
|
|
65
|
-
export { Service36,
|
|
65
|
+
export { Service36, node40, exports_builtins };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-n4v0rfv1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./location-rr7rd4zm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service60,
|
|
12
|
+
node63
|
|
13
|
+
} from "./location-8ssk0f6f.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./location-z4eayw4n.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-vsm5skh5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-ax5q5x3y.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service61,
|
|
36
|
+
Event12,
|
|
37
|
+
node64
|
|
38
|
+
} from "./location-gtah93dy.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service59,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node62,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service59 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service59, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service60;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service68;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service61;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service59.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service59,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node63, node87, FSUtil.node, Global.node, node84, node71, node64]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node62 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service59, Test2, testLayer2, layer23, configured8, node62, exports_config };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info26,
|
|
6
|
+
ID11,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-hy3r2exk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./location-tjca4006.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-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: () => Plugin49,
|
|
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 Plugin49 = 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(Info26.make({
|
|
434
|
+
id: ID11.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(Info26.make({
|
|
441
|
+
id: ID11.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* Service59;
|
|
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, Plugin49, exports_skill3 };
|