@opencode/core 0.0.0-dev-20858 → 0.0.0-dev-20862
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{instance-bmsnmw3g.js → filesystem-09ygvw9n.js} +13 -13
- package/dist/chunks/{instance-jgpgh724.js → filesystem-0hxnjnx8.js} +16 -16
- package/dist/chunks/{instance-jsy7xngg.js → filesystem-0m69c59p.js} +30 -30
- package/dist/chunks/{instance-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-vw7h3x91.js → filesystem-0z1n3j5c.js} +18 -18
- package/dist/chunks/filesystem-18a9s3e7.js +26 -0
- package/dist/chunks/{instance-480a9nqz.js → filesystem-196dp0k4.js} +18 -18
- package/dist/chunks/{instance-rdamrvd6.js → filesystem-1a4qr9z1.js} +1 -1
- package/dist/chunks/{instance-82kz1fn9.js → filesystem-1b39dbdd.js} +4 -4
- package/dist/chunks/{instance-r6v06hdj.js → filesystem-1dpj84zp.js} +42 -42
- package/dist/chunks/{instance-wzkqf9dg.js → filesystem-234r1ky0.js} +8 -8
- package/dist/chunks/{instance-cwgtavg1.js → filesystem-29627893.js} +17 -17
- package/dist/chunks/{instance-d1n5q7wm.js → filesystem-2d8qmkmz.js} +13 -13
- package/dist/chunks/{instance-a24y189p.js → filesystem-2jjh643m.js} +17 -17
- package/dist/chunks/{instance-4bm5ja14.js → filesystem-2k71kv7p.js} +4 -4
- package/dist/chunks/{instance-qgn6gcr1.js → filesystem-2k8khapm.js} +5 -5
- package/dist/chunks/{instance-0b5g1ynf.js → filesystem-2ryng5r3.js} +4 -4
- package/dist/chunks/{instance-4xb445q1.js → filesystem-2t8rmdrh.js} +11 -11
- package/dist/chunks/{instance-2vvh33eb.js → filesystem-2vvh33eb.js} +2 -2
- package/dist/chunks/{instance-fhff0x2d.js → filesystem-3b9qt4hj.js} +9 -9
- package/dist/chunks/{instance-1tsp94q4.js → filesystem-3ez4gjkt.js} +1 -1
- package/dist/chunks/{instance-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instance-g91hjvrw.js → filesystem-3rj2b0mx.js} +24 -24
- package/dist/chunks/{instance-nxe4pcap.js → filesystem-3sj8yt8v.js} +4 -4
- package/dist/chunks/{instance-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-9q326qdc.js → filesystem-3t90d3dy.js} +34 -34
- package/dist/chunks/{instance-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-0jz796tb.js → filesystem-3xj61p28.js} +31 -31
- package/dist/chunks/{instance-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-bw4f0qce.js → filesystem-426dk71k.js} +13 -13
- package/dist/chunks/{instance-yqs1qk9h.js → filesystem-42721k3a.js} +16 -16
- package/dist/chunks/{instance-1arnnmm9.js → filesystem-42q5z408.js} +5 -5
- package/dist/chunks/{instance-vd9csjgv.js → filesystem-4c0s820n.js} +86 -86
- package/dist/chunks/{instance-ybpg3cnp.js → filesystem-4c2dxef7.js} +16 -16
- package/dist/chunks/{instance-v93ys5wa.js → filesystem-4g0yx14a.js} +3 -3
- package/dist/chunks/{instance-4ts7tf6z.js → filesystem-4ts7tf6z.js} +2 -2
- package/dist/chunks/{instance-21kx1wnn.js → filesystem-4wxv1g1t.js} +3 -3
- package/dist/chunks/{instance-wvqfp5ce.js → filesystem-53rak1ew.js} +2 -2
- package/dist/chunks/{instance-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{instance-cc0a5nc8.js → filesystem-54s1q3kk.js} +20 -20
- package/dist/chunks/{instance-782zrs06.js → filesystem-58hng72m.js} +5 -5
- package/dist/chunks/{instance-d3jdfaqa.js → filesystem-58hzr473.js} +11 -11
- package/dist/chunks/{instance-4rq7jvmg.js → filesystem-5dzcxebq.js} +5 -5
- package/dist/chunks/{instance-w8v7734x.js → filesystem-5hf5f199.js} +11 -11
- package/dist/chunks/{instance-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-6xcvt31d.js → filesystem-5w9yjztw.js} +1 -1
- package/dist/chunks/{instance-xev8yfkj.js → filesystem-628nc13m.js} +26 -26
- package/dist/chunks/{instance-1zr7yenn.js → filesystem-66srcv4s.js} +5 -5
- package/dist/chunks/{instance-j594m1ae.js → filesystem-6ah3a7p6.js} +24 -24
- package/dist/chunks/{instance-mmtpk11f.js → filesystem-6fnntsj1.js} +25 -20
- package/dist/chunks/{instance-wk5z6jzv.js → filesystem-6hjx5zpb.js} +9 -9
- package/dist/chunks/{instance-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
- package/dist/chunks/{instance-hm3j0hvn.js → filesystem-6xktvksv.js} +10 -10
- package/dist/chunks/{instance-423a1vb8.js → filesystem-6ygttn8c.js} +26 -26
- package/dist/chunks/{instance-76rcpps8.js → filesystem-73n0zeyz.js} +14 -14
- package/dist/chunks/{instance-pzr1px06.js → filesystem-77w66y0t.js} +12 -12
- package/dist/chunks/{instance-yerp04yr.js → filesystem-7bj0298e.js} +15 -15
- package/dist/chunks/{instance-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-q7cwvqv2.js → filesystem-7cjfetaf.js} +12 -12
- package/dist/chunks/{instance-7jmvvv9c.js → filesystem-7ha8mbyb.js} +12 -12
- package/dist/chunks/{instance-5n553482.js → filesystem-7mwvqe74.js} +2 -2
- package/dist/chunks/{instance-7t1q934f.js → filesystem-7t1q934f.js} +2 -2
- package/dist/chunks/{instance-7eeezs9s.js → filesystem-7w42pd46.js} +9 -9
- package/dist/chunks/{instance-7dy4g056.js → filesystem-8004wwfb.js} +16 -16
- package/dist/chunks/{instance-wj447q2e.js → filesystem-89ppyk96.js} +8 -8
- package/dist/chunks/{instance-k7vfhnd9.js → filesystem-8cdcjcc6.js} +11 -11
- package/dist/chunks/{instance-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
- package/dist/chunks/{instance-gytrjnnm.js → filesystem-8pd28bjz.js} +11 -11
- package/dist/chunks/{instance-t2fc4mz5.js → filesystem-8rqycdgd.js} +7 -7
- package/dist/chunks/{instance-3e6szye8.js → filesystem-8v4mw3b0.js} +40 -39
- package/dist/chunks/{instance-j09zfasm.js → filesystem-91qna3x0.js} +3 -3
- package/dist/chunks/{instance-44bn4ck5.js → filesystem-9h395ey8.js} +13 -13
- package/dist/chunks/{instance-br0tr5aq.js → filesystem-9hn6k4tm.js} +8 -8
- package/dist/chunks/{instance-mkhr3gy5.js → filesystem-9kg7wp4x.js} +6 -6
- package/dist/chunks/{instance-2548kr5d.js → filesystem-9s024g5s.js} +7 -7
- package/dist/chunks/{instance-fs53q1wv.js → filesystem-9s29ec0q.js} +9 -9
- package/dist/chunks/{instance-ghxbc88x.js → filesystem-9sdvy6ea.js} +8 -8
- package/dist/chunks/{instance-es0pp1m0.js → filesystem-9sjeq45g.js} +1 -1
- package/dist/chunks/{instance-c0n5dz8t.js → filesystem-a5qtj7q6.js} +11 -11
- package/dist/chunks/{instance-gs7x8d8v.js → filesystem-a6xg053j.js} +22 -22
- package/dist/chunks/{instance-vwgh63vr.js → filesystem-a78v4ve5.js} +15 -15
- package/dist/chunks/{instance-x661k3y3.js → filesystem-addxnjmp.js} +4 -4
- package/dist/chunks/{instance-dw1vqh4b.js → filesystem-adgawzpd.js} +5 -5
- package/dist/chunks/{instance-p5ah4bzy.js → filesystem-aqazz0j8.js} +25 -25
- package/dist/chunks/{instance-t7scah50.js → filesystem-ashq5n6s.js} +13 -13
- package/dist/chunks/{instance-fep166nr.js → filesystem-b11b6prk.js} +84 -84
- package/dist/chunks/{instance-zq01xz8r.js → filesystem-bfegkxfd.js} +8 -8
- package/dist/chunks/{instance-ywt8jp22.js → filesystem-bjx1sjef.js} +9 -9
- package/dist/chunks/{instance-8wcvgwzh.js → filesystem-bkpsvkt5.js} +20 -20
- package/dist/chunks/{instance-txm3e8qz.js → filesystem-bmr56wjg.js} +4 -4
- package/dist/chunks/{instance-ct9th7zr.js → filesystem-bmwsgzm3.js} +13 -13
- package/dist/chunks/{instance-v1cheywm.js → filesystem-btv47zes.js} +24 -24
- package/dist/chunks/{instance-0r3c1bmw.js → filesystem-bx0gyb4h.js} +5 -5
- package/dist/chunks/{instance-g686f6pq.js → filesystem-bxqk5pf5.js} +9 -9
- package/dist/chunks/{instance-fyk15fem.js → filesystem-by8c53ka.js} +33 -33
- package/dist/chunks/{instance-njk81yn7.js → filesystem-c1pk8j7t.js} +11 -11
- package/dist/chunks/{instance-rj3eygr5.js → filesystem-c41wscbt.js} +2 -2
- package/dist/chunks/{instance-sa8ekw3f.js → filesystem-c8ax2afj.js} +2 -2
- package/dist/chunks/{instance-sjpyz44y.js → filesystem-c8dsy7xk.js} +14 -14
- package/dist/chunks/{instance-kv5v9d12.js → filesystem-cap0p8nj.js} +33 -33
- package/dist/chunks/{instance-kd9tj8qb.js → filesystem-cc09gky1.js} +24 -24
- package/dist/chunks/{instance-9ey3sc9e.js → filesystem-cjb3hyea.js} +4 -4
- package/dist/chunks/{instance-yxy8qe12.js → filesystem-cqwer3tv.js} +22 -22
- package/dist/chunks/{instance-restjjea.js → filesystem-cya74875.js} +7 -7
- package/dist/chunks/{instance-851y4fdx.js → filesystem-d47p0dev.js} +6 -6
- package/dist/chunks/{instance-4gxp5k7x.js → filesystem-d77571hn.js} +22 -22
- package/dist/chunks/{instance-9ya0b5k5.js → filesystem-d7h2nsz1.js} +41 -41
- package/dist/chunks/{instance-32w60ewp.js → filesystem-d9jtx293.js} +6 -6
- package/dist/chunks/{instance-xm3vd1ty.js → filesystem-dg29p2pd.js} +16 -16
- package/dist/chunks/{instance-qqeeq2t9.js → filesystem-drwq78ky.js} +7 -7
- package/dist/chunks/{instance-2c8qehgr.js → filesystem-e0v6r3rc.js} +35 -35
- package/dist/chunks/{instance-qdn1v6zt.js → filesystem-e0w2vstn.js} +17 -17
- package/dist/chunks/{instance-a90mnqx7.js → filesystem-e1t3mam8.js} +10 -10
- package/dist/chunks/{instance-qfcqx6zn.js → filesystem-e2cmhjkj.js} +27 -27
- package/dist/chunks/{instance-w999gx0j.js → filesystem-e430bhbh.js} +4 -4
- package/dist/chunks/{instance-ht3ryx0z.js → filesystem-e448g38w.js} +7 -7
- package/dist/chunks/{instance-bxwjy8n4.js → filesystem-e6464sbd.js} +11 -11
- package/dist/chunks/{instance-e80seqcp.js → filesystem-e80seqcp.js} +1 -1
- package/dist/chunks/{instance-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
- package/dist/chunks/{instance-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-v10mxcm0.js → filesystem-eg1jtzjt.js} +42 -42
- package/dist/chunks/{instance-9p5xkzdk.js → filesystem-ek1kdr8s.js} +28 -28
- package/dist/chunks/{instance-c1fqxshp.js → filesystem-es1vcfrp.js} +3 -3
- package/dist/chunks/{instance-be0g8ezd.js → filesystem-ewpvmgf2.js} +34 -34
- package/dist/chunks/{instance-x6wt6j7k.js → filesystem-f0bdtv1n.js} +14 -14
- package/dist/chunks/{instance-yp2x3t23.js → filesystem-f2n192rq.js} +4 -4
- package/dist/chunks/{instance-748ny1ys.js → filesystem-f33qb1th.js} +19 -19
- package/dist/chunks/{instance-hs7ttc20.js → filesystem-fa4ww1ng.js} +11 -11
- package/dist/chunks/{instance-rsea137x.js → filesystem-faat08va.js} +21 -21
- package/dist/chunks/{instance-7ydthkwq.js → filesystem-fmb6frcs.js} +5 -5
- package/dist/chunks/{instance-2sejkfem.js → filesystem-ft3hqk2c.js} +9 -9
- package/dist/chunks/{instance-khmqacep.js → filesystem-fxaymqdw.js} +4 -4
- package/dist/chunks/{instance-aymh0qzv.js → filesystem-g5gnrdpy.js} +14 -14
- package/dist/chunks/{instance-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-gk8qb678.js → filesystem-gk8qb678.js} +1 -1
- package/dist/chunks/{instance-f3f644fw.js → filesystem-gp9jqd59.js} +6 -6
- package/dist/chunks/{instance-t1hw93ba.js → filesystem-gveanz76.js} +18 -18
- package/dist/chunks/{instance-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-h7s7r6s9.js → filesystem-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instance-zfdwnmjw.js → filesystem-h9k3zmfa.js} +16 -16
- package/dist/chunks/{instance-6gkt76kb.js → filesystem-hbn0bbep.js} +17 -17
- package/dist/chunks/{instance-y7n5zb73.js → filesystem-hbvtdghj.js} +4 -4
- package/dist/chunks/{instance-kfvekq89.js → filesystem-hddh30xx.js} +9 -9
- package/dist/chunks/{instance-afs009xf.js → filesystem-hf1n9z3x.js} +5 -5
- package/dist/chunks/filesystem-hgn7cgj3.js +253 -0
- package/dist/chunks/{instance-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instance-tr7d3b4d.js → filesystem-hk8fhejm.js} +24 -24
- package/dist/chunks/{instance-eme53ggc.js → filesystem-hnb4yx9q.js} +6 -6
- package/dist/chunks/{instance-p8qbdykr.js → filesystem-hnh8n5n7.js} +11 -11
- package/dist/chunks/{instance-pkw1ctk5.js → filesystem-hp4earpc.js} +10 -10
- package/dist/chunks/{instance-8wqjf50j.js → filesystem-hppj45g6.js} +26 -26
- package/dist/chunks/{instance-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{instance-m1hcfc0e.js → filesystem-jfskkshb.js} +22 -22
- package/dist/chunks/{instance-faexb2vg.js → filesystem-jq5zn2gb.js} +18 -18
- package/dist/chunks/{instance-v4cfj5s7.js → filesystem-jvekf0st.js} +11 -11
- package/dist/chunks/{instance-qwmwhzaa.js → filesystem-jx42mra6.js} +11 -11
- package/dist/chunks/{instance-zpvm2v1w.js → filesystem-k0sjew9s.js} +20 -20
- package/dist/chunks/{instance-nwd136fd.js → filesystem-k7xxzs5q.js} +20 -20
- package/dist/chunks/{instance-ds9xa1e8.js → filesystem-k97zh3d1.js} +8 -8
- package/dist/chunks/{instance-4g83r9d3.js → filesystem-kav7weha.js} +20 -20
- package/dist/chunks/{instance-wwb2x1xw.js → filesystem-kdykjer7.js} +15 -15
- package/dist/chunks/{instance-625tbdnj.js → filesystem-khjjjyc5.js} +312 -312
- package/dist/chunks/{instance-t9gsjmxa.js → filesystem-kmpk7fbr.js} +16 -16
- package/dist/chunks/{instance-qk0a8nwy.js → filesystem-krc3a0yk.js} +3 -3
- package/dist/chunks/{instance-9hqfvbjt.js → filesystem-kzxe22pz.js} +4 -4
- package/dist/chunks/{instance-rrt0a0ha.js → filesystem-m5jcjszt.js} +2 -2
- package/dist/chunks/{instance-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-sznyev98.js → filesystem-ma48de29.js} +5 -5
- package/dist/chunks/{instance-ce49japg.js → filesystem-mddpn92g.js} +27 -27
- package/dist/chunks/{instance-1y9xp183.js → filesystem-mek16e5d.js} +11 -11
- package/dist/chunks/{instance-6pn0h6hb.js → filesystem-mggg0rbc.js} +46 -46
- package/dist/chunks/{instance-zdfprv1b.js → filesystem-mqq7cghv.js} +13 -13
- package/dist/chunks/{instance-rpt8y3pd.js → filesystem-mt5arhrs.js} +15 -15
- package/dist/chunks/{instance-59ere2n7.js → filesystem-mwpbc7s8.js} +20 -20
- package/dist/chunks/{instance-cf6y5zv4.js → filesystem-n4fsvy2x.js} +24 -24
- package/dist/chunks/{instance-ykj40d09.js → filesystem-n9kc33re.js} +3 -3
- package/dist/chunks/{instance-h5hxwmta.js → filesystem-nbkf97mm.js} +18 -18
- package/dist/chunks/{instance-ej4szqra.js → filesystem-ng5df8nw.js} +8 -8
- package/dist/chunks/{instance-ba5j8mv1.js → filesystem-njfdx3sy.js} +6 -6
- package/dist/chunks/{instance-1d39rfs9.js → filesystem-nm4yzjmp.js} +8 -8
- package/dist/chunks/{instance-a7byfcvm.js → filesystem-nnd1qh7g.js} +19 -19
- package/dist/chunks/{instance-t8t1qgn8.js → filesystem-nsdra7pt.js} +43 -43
- package/dist/chunks/{instance-27try9a3.js → filesystem-nx9q51n4.js} +18 -18
- package/dist/chunks/{instance-7bsmcyrf.js → filesystem-p1ezge1v.js} +18 -18
- package/dist/chunks/{instance-t0y73a2p.js → filesystem-p42kja40.js} +26 -26
- package/dist/chunks/{instance-mkbbyqnm.js → filesystem-p756njhy.js} +25 -20
- package/dist/chunks/{instance-w3xy08kb.js → filesystem-pg0x4j42.js} +11 -11
- package/dist/chunks/{instance-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{instance-8mbscqky.js → filesystem-pn3cc07s.js} +8 -8
- package/dist/chunks/{instance-48z9e1gj.js → filesystem-pr4c8k5d.js} +34 -34
- package/dist/chunks/{instance-q0xm7vwc.js → filesystem-q0xm7vwc.js} +2 -2
- package/dist/chunks/{instance-yvd48963.js → filesystem-q0zsatc3.js} +47 -47
- package/dist/chunks/{instance-2wek497w.js → filesystem-q7nk3s7j.js} +4 -4
- package/dist/chunks/filesystem-qc068m1q.js +18 -0
- package/dist/chunks/{instance-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-xkj1hsft.js → filesystem-r9h634c8.js} +3 -3
- package/dist/chunks/{instance-7bqme7b2.js → filesystem-rb70syh1.js} +15 -15
- package/dist/chunks/{instance-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-t550f9t1.js → filesystem-rhjbct0v.js} +4 -4
- package/dist/chunks/{instance-853sshkd.js → filesystem-rjtxxem0.js} +8 -8
- package/dist/chunks/{instance-jws6fkes.js → filesystem-rkprpv83.js} +8 -8
- package/dist/chunks/{instance-nkmhzhdc.js → filesystem-rksd8sej.js} +42 -42
- package/dist/chunks/{instance-km2edm7v.js → filesystem-rnwzxv10.js} +20 -20
- package/dist/chunks/{instance-06x8he3q.js → filesystem-rpg9c19m.js} +4 -4
- package/dist/chunks/{instance-mmq4g6cp.js → filesystem-ryep13dd.js} +31 -31
- package/dist/chunks/{instance-b01mw4ee.js → filesystem-s9d98z9z.js} +70 -70
- package/dist/chunks/{instance-wecqtg5s.js → filesystem-scgrse2b.js} +5 -5
- package/dist/chunks/{instance-zs41emrr.js → filesystem-ssb0bxwr.js} +10 -10
- package/dist/chunks/{instance-svcw9x3w.js → filesystem-svcw9x3w.js} +5 -5
- package/dist/chunks/{instance-syv4x271.js → filesystem-syv4x271.js} +1 -1
- package/dist/chunks/{instance-a4pykkd7.js → filesystem-t8c0xvf3.js} +7 -7
- package/dist/chunks/{instance-9smzz488.js → filesystem-tam3xr47.js} +18 -18
- package/dist/chunks/{instance-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-89znhe33.js → filesystem-tcezcvh9.js} +4 -4
- package/dist/chunks/{instance-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{instance-3g0gpddh.js → filesystem-thnax083.js} +8 -8
- package/dist/chunks/{instance-rert0e01.js → filesystem-tkb22qbm.js} +2 -2
- package/dist/chunks/{instance-tm0kqsz3.js → filesystem-tm0kqsz3.js} +1 -1
- package/dist/chunks/{instance-djk1ct4p.js → filesystem-tmjqwtp5.js} +13 -13
- package/dist/chunks/{instance-exvhspqm.js → filesystem-tyts7tda.js} +50 -50
- package/dist/chunks/{instance-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
- package/dist/chunks/{instance-w919w76e.js → filesystem-tz35mf6x.js} +8 -8
- package/dist/chunks/{instance-05hkqsjg.js → filesystem-tzpbkfcj.js} +13 -13
- package/dist/chunks/{instance-v0es1rhs.js → filesystem-v0es1rhs.js} +2 -2
- package/dist/chunks/{instance-mbnxefga.js → filesystem-v0xmac3n.js} +2 -2
- package/dist/chunks/{instance-xtaaxfb2.js → filesystem-v22mneq0.js} +50 -50
- package/dist/chunks/{instance-9cvykf7k.js → filesystem-v47ja0kk.js} +42 -42
- package/dist/chunks/{instance-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instance-j8m1p4p1.js → filesystem-v7z2bvyd.js} +4 -4
- package/dist/chunks/{instance-vb7n45j9.js → filesystem-vbk72xvh.js} +22 -22
- package/dist/chunks/{instance-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-am6tgejw.js → filesystem-vknd5qb0.js} +27 -27
- package/dist/chunks/{instance-en2b7dzh.js → filesystem-vw83hb19.js} +3 -3
- package/dist/chunks/{instance-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-84txncab.js → filesystem-w1eejvng.js} +5 -5
- package/dist/chunks/{instance-yw1zs9er.js → filesystem-w2t8mqbe.js} +20 -20
- package/dist/chunks/{instance-g6yfr6ja.js → filesystem-w39jehkq.js} +5 -5
- package/dist/chunks/{instance-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-bh0zzf2s.js → filesystem-w3x9v1nk.js} +8 -8
- package/dist/chunks/{instance-sxzvkvgj.js → filesystem-w5yqftge.js} +6 -6
- package/dist/chunks/{instance-36k9e2m1.js → filesystem-wb1x78f5.js} +44 -44
- package/dist/chunks/{instance-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{instance-3gcnwtht.js → filesystem-wd9v2wqs.js} +17 -17
- package/dist/chunks/{instance-pdcg4hdp.js → filesystem-wpf4st6a.js} +9 -9
- package/dist/chunks/{instance-bvr62f8f.js → filesystem-ws0htp7c.js} +13 -13
- package/dist/chunks/{instance-ysm20den.js → filesystem-wwxyb18g.js} +4 -4
- package/dist/chunks/{instance-hkqapsyk.js → filesystem-x0gy9gxe.js} +19 -19
- package/dist/chunks/{instance-h79fjg7h.js → filesystem-x8g8cxcn.js} +13 -13
- package/dist/chunks/{instance-sv258rpg.js → filesystem-xcf4ra81.js} +4 -4
- package/dist/chunks/{instance-zd8rp2ef.js → filesystem-xf7aeygg.js} +26 -26
- package/dist/chunks/{instance-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-r3mg0rtp.js → filesystem-y1zbefzb.js} +165 -165
- package/dist/chunks/{instance-eprmkx98.js → filesystem-y3h0e103.js} +9 -9
- package/dist/chunks/{instance-1bn8j0dw.js → filesystem-y5x50g1v.js} +27 -27
- package/dist/chunks/{instance-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{instance-had4kgfk.js → filesystem-y8p3zjbc.js} +4 -4
- package/dist/chunks/{instance-d4pdbf4a.js → filesystem-y9q49zk7.js} +4 -4
- package/dist/chunks/{instance-nwh361dk.js → filesystem-yar3z0vm.js} +18 -18
- package/dist/chunks/{instance-43885mjc.js → filesystem-yezy7z0k.js} +8 -8
- package/dist/chunks/{instance-dbbmemg9.js → filesystem-yg152t47.js} +33 -33
- package/dist/chunks/{instance-wbqbg88q.js → filesystem-ytt1fcja.js} +11 -11
- package/dist/chunks/{instance-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-m9e1bt5v.js → filesystem-z114v3my.js} +15 -15
- package/dist/chunks/{instance-easapccs.js → filesystem-z2jd07rd.js} +6 -6
- package/dist/chunks/{instance-ydans0g4.js → filesystem-z541wn70.js} +11 -11
- package/dist/chunks/{instance-x87ksfac.js → filesystem-z7d7tagb.js} +11 -11
- package/dist/chunks/{instance-96k94pdd.js → filesystem-z7tsfxrw.js} +37 -37
- package/dist/chunks/{instance-s6rnrrnv.js → filesystem-zdqhb26j.js} +5 -5
- package/dist/chunks/{instance-d664524w.js → filesystem-zmdnfm9g.js} +33 -28
- package/dist/chunks/{instance-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-wvppckcw.js → filesystem-zrdk58qt.js} +4 -4
- package/dist/chunks/{instance-ay2nq9rb.js → filesystem-zrj251rj.js} +25 -25
- package/dist/chunks/{instance-zxq2ej10.js → filesystem-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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +95 -95
- 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 +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +101 -101
- 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/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 +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/agent.d.ts +1 -0
- package/dist/types/image/photon.d.ts +2 -2
- package/dist/types/model.d.ts +4 -0
- package/dist/types/plugin/provider/chatgpt.d.ts +2 -1
- package/dist/types/plugin/provider/openai.d.ts +2 -1
- package/dist/types/provider.d.ts +6 -0
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +76 -76
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/instance-9sh4wc5j.js +0 -18
- package/dist/chunks/instance-qe47brdw.js +0 -26
- package/dist/chunks/instance-z2rf1ghc.js +0 -253
- /package/dist/chunks/{instance-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-bw78ga2c.js → filesystem-bw78ga2c.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-pyv0edze.js → filesystem-pyv0edze.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-zrdk58qt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-w1eejvng.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service66,
|
|
17
|
+
node69
|
|
18
|
+
} from "./filesystem-8004wwfb.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event9,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info12,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service50,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node53
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event9 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info12 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service50 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service84;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service66;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info12.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info12.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node53 = makeLocationNode({
|
|
116
|
+
service: Service50,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node88,
|
|
118
|
+
deps: [Global.node, node88, node69]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info12, Service50, node53, exports_reference2, Event9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-53rak1ew.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./filesystem-rb70syh1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./filesystem-h9k3zmfa.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-hgz4x7wa.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service5
|
|
27
|
+
} from "./filesystem-hbn0bbep.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin24,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
38
|
+
name: () => name6,
|
|
39
39
|
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin24 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service5;
|
|
62
|
+
const access = yield* Service18;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service81;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name6, Input6, Plugin24, toModelContent3, exports_read };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-zrdk58qt.js";
|
|
4
4
|
import {
|
|
5
5
|
Service71
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-4g0yx14a.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service37,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-qc068m1q.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-y1zbefzb.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service37,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node25
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service84;
|
|
45
45
|
const kv = yield* Service71;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service37.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node25 = Node.makeLocationNode({
|
|
226
|
+
service: Service37,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node25, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./filesystem-d7h2nsz1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./filesystem-3b9qt4hj.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin43
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin43 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
|
+
const image = yield* Service42;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin10 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin43, exports_image };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./filesystem-d7h2nsz1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./filesystem-mek16e5d.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin36
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin36 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service46;
|
|
27
|
+
const output = yield* Service45;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin2 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin36, exports_tool_output };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options9,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service49,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured8,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node52,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -47,7 +47,7 @@ var Options9 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service49 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve4(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,15 +180,15 @@ function resolve2(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve4.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list3(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service49.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
|
|
206
|
+
list: () => Effect.promise(() => list3(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured8(options) {
|
|
210
|
+
return makeLocationNode({ service: Service49, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node52 = configured8();
|
|
213
213
|
|
|
214
|
-
export { Options9,
|
|
214
|
+
export { Options9, Service49, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list3, configured8, node52, exports_select };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-q0zsatc3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service33,
|
|
12
|
+
node37
|
|
13
|
+
} from "./filesystem-wb1x78f5.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
name13
|
|
17
|
+
} from "./filesystem-mddpn92g.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions2 = {};
|
|
24
24
|
__export(exports_instructions2, {
|
|
25
25
|
McpInstructions: () => exports_instructions2,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service29,
|
|
27
|
+
layer: () => layer14,
|
|
28
|
+
node: () => node33
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service29 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service33;
|
|
68
|
+
return Service29.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -86,7 +86,7 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
86
86
|
const codemode = owned[0]?.codemode !== false;
|
|
87
87
|
if (codemode && !canExecute)
|
|
88
88
|
return [];
|
|
89
|
-
if (!owned.some((tool) => evaluate2(
|
|
89
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
|
|
90
90
|
return [];
|
|
91
91
|
return [
|
|
92
92
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -96,6 +96,6 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node33 = makeLocationNode({ service: Service29, layer: layer14, deps: [node37] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service29, layer14, node33, exports_instructions2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-thnax083.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin5,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin5 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin39 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin39 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin5, exports_tavily };
|