@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,82 +1,82 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-r9h634c8.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-zrdk58qt.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service62,
|
|
15
|
+
node64
|
|
16
|
+
} from "./filesystem-0z1n3j5c.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./filesystem-2vvh33eb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service64,
|
|
22
|
+
node66
|
|
23
|
+
} from "./filesystem-6ygttn8c.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./filesystem-3sj8yt8v.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./filesystem-234r1ky0.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./filesystem-5w9yjztw.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service35,
|
|
47
|
+
node39
|
|
48
|
+
} from "./filesystem-yg152t47.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service54,
|
|
51
|
+
node56
|
|
52
|
+
} from "./filesystem-x8g8cxcn.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./filesystem-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./filesystem-66srcv4s.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./filesystem-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service11,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
79
|
-
node: () =>
|
|
78
|
+
layer: () => layer8,
|
|
79
|
+
node: () => node13,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
174
|
+
var layer8 = Layer.effect(Service11, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service62;
|
|
176
176
|
const bus = yield* Service84;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
178
|
+
const catalog = yield* Service64;
|
|
179
|
+
const models = yield* Service54;
|
|
180
180
|
const db = (yield* Service85).db;
|
|
181
|
-
const requests = yield*
|
|
181
|
+
const requests = yield* Service35;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service11.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node13 = makeLocationNode({
|
|
482
|
+
service: Service11,
|
|
483
|
+
layer: layer8,
|
|
484
|
+
deps: [node64, node88, node89, llmClient2, node66, node39, node56]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service11, buildPrompt2, layer8, node13, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin17
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin17 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin47 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin17, exports_mcp_codemode_defaults };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-zrdk58qt.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-q0zsatc3.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event6,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service41,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available3,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event6 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info6 = Skill.Info;
|
|
43
|
+
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service41 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
77
77
|
const bus = yield* Service84;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID5.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID5.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID5.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service41.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node44 = makeLocationNode({
|
|
112
|
+
service: Service41,
|
|
113
113
|
layer,
|
|
114
114
|
deps: [node88]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available3, toModelOutput3, prepare3, Service41, node44, exports_skill5, Event6 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-zrdk58qt.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-svcw9x3w.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-53rak1ew.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-qc068m1q.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service47,
|
|
18
|
+
node50
|
|
19
|
+
} from "./filesystem-cqwer3tv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node25
|
|
22
|
+
} from "./filesystem-jq5zn2gb.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service13,
|
|
25
|
+
node15
|
|
26
|
+
} from "./filesystem-ft3hqk2c.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service12,
|
|
36
|
+
node: () => node14
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service81;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service47;
|
|
48
48
|
const bus = yield* Service84;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service83;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service13;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service12.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node14 = makeLocationNode({
|
|
106
|
+
service: Service12,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node50, FSUtil.node, node85, node87, node88, node25, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service12, node14, exports_location_watcher2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-66srcv4s.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-2vvh33eb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service56,
|
|
6
|
+
node58
|
|
7
|
+
} from "./filesystem-8v4mw3b0.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service25,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer13,
|
|
20
|
+
node: () => node28
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service25 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service56;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer24 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service25.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node28 = makeLocationNode({
|
|
74
|
+
service: Service25,
|
|
75
|
+
layer: layer13,
|
|
76
|
+
deps: [node58, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service25, layer13, node28, exports_generate };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info9,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info9 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info9, exports_mcp5 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service44,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service44, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service44.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node47 = makeGlobalNode({ service: Service44, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service44, node47, exports_environment };
|