@opencode/core 0.0.0-dev-20859 → 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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{models-dev-18vazzn9.js → filesystem-09ygvw9n.js} +16 -16
- package/dist/chunks/{models-dev-24chregn.js → filesystem-0hxnjnx8.js} +16 -16
- package/dist/chunks/{models-dev-1pwmnsys.js → filesystem-0m69c59p.js} +30 -30
- package/dist/chunks/{models-dev-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{models-dev-2qzyfzsa.js → filesystem-0z1n3j5c.js} +21 -21
- package/dist/chunks/filesystem-18a9s3e7.js +26 -0
- package/dist/chunks/{models-dev-825k8aw8.js → filesystem-196dp0k4.js} +18 -18
- package/dist/chunks/{models-dev-frwnkyqj.js → filesystem-1a4qr9z1.js} +3 -3
- package/dist/chunks/{models-dev-y37ep2y1.js → filesystem-1b39dbdd.js} +4 -4
- package/dist/chunks/{models-dev-qwvs60pp.js → filesystem-1dpj84zp.js} +42 -42
- package/dist/chunks/{models-dev-zbt6nn6v.js → filesystem-234r1ky0.js} +8 -8
- package/dist/chunks/{models-dev-5hje56dy.js → filesystem-29627893.js} +13 -13
- package/dist/chunks/{models-dev-k43nyay6.js → filesystem-2d8qmkmz.js} +13 -13
- package/dist/chunks/{models-dev-mqr0et5e.js → filesystem-2jjh643m.js} +17 -17
- package/dist/chunks/{models-dev-kzc3h1h3.js → filesystem-2k71kv7p.js} +4 -4
- package/dist/chunks/{models-dev-607tc6va.js → filesystem-2k8khapm.js} +5 -5
- package/dist/chunks/{models-dev-pyg4v0b6.js → filesystem-2ryng5r3.js} +4 -4
- package/dist/chunks/{models-dev-m1xtt4y5.js → filesystem-2t8rmdrh.js} +11 -11
- package/dist/chunks/{models-dev-2vvh33eb.js → filesystem-2vvh33eb.js} +2 -2
- package/dist/chunks/{models-dev-zn5v3n4q.js → filesystem-3b9qt4hj.js} +9 -9
- package/dist/chunks/{models-dev-xqytcf95.js → filesystem-3ez4gjkt.js} +1 -1
- package/dist/chunks/{models-dev-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{models-dev-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-3hwn7j4h.js → filesystem-3hwn7j4h.js} +2 -2
- package/dist/chunks/{models-dev-6e3h9s4c.js → filesystem-3rj2b0mx.js} +21 -21
- package/dist/chunks/{models-dev-f29mbr7f.js → filesystem-3sj8yt8v.js} +4 -4
- package/dist/chunks/{models-dev-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{models-dev-rz81a41x.js → filesystem-3t90d3dy.js} +34 -34
- package/dist/chunks/{models-dev-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{models-dev-9wx1dm4d.js → filesystem-3xj61p28.js} +22 -22
- package/dist/chunks/{models-dev-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{models-dev-374ye17y.js → filesystem-426dk71k.js} +13 -13
- package/dist/chunks/{models-dev-tpg3rrhy.js → filesystem-42721k3a.js} +16 -16
- package/dist/chunks/{models-dev-pxqeypnt.js → filesystem-42q5z408.js} +5 -5
- package/dist/chunks/{models-dev-rm8qkk51.js → filesystem-4c0s820n.js} +83 -83
- package/dist/chunks/{models-dev-b2r2w48a.js → filesystem-4c2dxef7.js} +16 -16
- package/dist/chunks/{models-dev-4y22yp3a.js → filesystem-4g0yx14a.js} +10 -10
- package/dist/chunks/{models-dev-4ts7tf6z.js → filesystem-4ts7tf6z.js} +2 -2
- package/dist/chunks/{models-dev-mkezy99k.js → filesystem-4wxv1g1t.js} +3 -3
- package/dist/chunks/{models-dev-0q0wg4xp.js → filesystem-53rak1ew.js} +2 -2
- package/dist/chunks/{models-dev-r94pvvab.js → filesystem-54ma36ye.js} +4 -4
- package/dist/chunks/{models-dev-knrxc9g3.js → filesystem-54s1q3kk.js} +17 -17
- package/dist/chunks/{models-dev-qf76qvkk.js → filesystem-58hng72m.js} +5 -5
- package/dist/chunks/{models-dev-vmcw6w9a.js → filesystem-58hzr473.js} +19 -19
- package/dist/chunks/{models-dev-xtst01x3.js → filesystem-5dzcxebq.js} +5 -5
- package/dist/chunks/{models-dev-5enhjtjj.js → filesystem-5hf5f199.js} +13 -13
- package/dist/chunks/{models-dev-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-q5e7cmwt.js → filesystem-5w9yjztw.js} +1 -1
- package/dist/chunks/{models-dev-rt393x0g.js → filesystem-628nc13m.js} +28 -28
- package/dist/chunks/{models-dev-7r5hmjg5.js → filesystem-66srcv4s.js} +5 -5
- package/dist/chunks/{models-dev-pavee1b2.js → filesystem-6ah3a7p6.js} +37 -37
- package/dist/chunks/{models-dev-gsfpqf0z.js → filesystem-6fnntsj1.js} +23 -23
- package/dist/chunks/{models-dev-0jq9fyba.js → filesystem-6hjx5zpb.js} +9 -9
- package/dist/chunks/{models-dev-6xb47vfp.js → filesystem-6xb47vfp.js} +1 -1
- package/dist/chunks/{models-dev-nppymsqd.js → filesystem-6xktvksv.js} +10 -10
- package/dist/chunks/{models-dev-52j8y2jv.js → filesystem-6ygttn8c.js} +29 -29
- package/dist/chunks/{models-dev-xjm3547e.js → filesystem-73n0zeyz.js} +11 -11
- package/dist/chunks/{models-dev-q8k64wqz.js → filesystem-77w66y0t.js} +11 -11
- package/dist/chunks/{models-dev-18qdyfs3.js → filesystem-7bj0298e.js} +15 -15
- package/dist/chunks/{models-dev-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-sds13m34.js → filesystem-7cjfetaf.js} +13 -13
- package/dist/chunks/{models-dev-9k0wbz69.js → filesystem-7ha8mbyb.js} +9 -9
- package/dist/chunks/{models-dev-ydd0n9pq.js → filesystem-7mwvqe74.js} +2 -2
- package/dist/chunks/{models-dev-mhj1gmv2.js → filesystem-7t1q934f.js} +10 -10
- package/dist/chunks/{models-dev-gwwmhhky.js → filesystem-7w42pd46.js} +12 -12
- package/dist/chunks/{models-dev-zxjahm5e.js → filesystem-8004wwfb.js} +20 -20
- package/dist/chunks/{models-dev-gvyvbnms.js → filesystem-89ppyk96.js} +3 -3
- package/dist/chunks/{models-dev-5fh04hx0.js → filesystem-8cdcjcc6.js} +11 -11
- package/dist/chunks/{models-dev-8m6m0r52.js → filesystem-8m6m0r52.js} +1 -1
- package/dist/chunks/{models-dev-etrah8tf.js → filesystem-8pd28bjz.js} +11 -11
- package/dist/chunks/{models-dev-edrmdtr5.js → filesystem-8rqycdgd.js} +4 -4
- package/dist/chunks/{models-dev-p99txfpw.js → filesystem-8v4mw3b0.js} +45 -45
- package/dist/chunks/{models-dev-91qna3x0.js → filesystem-91qna3x0.js} +3 -3
- package/dist/chunks/{models-dev-s7w1n9db.js → filesystem-9h395ey8.js} +20 -20
- package/dist/chunks/{models-dev-5yzzbxa7.js → filesystem-9hn6k4tm.js} +8 -8
- package/dist/chunks/{models-dev-x9kv5ets.js → filesystem-9kg7wp4x.js} +6 -6
- package/dist/chunks/{models-dev-jq3943v9.js → filesystem-9s024g5s.js} +7 -7
- package/dist/chunks/{models-dev-d5fjkd30.js → filesystem-9s29ec0q.js} +9 -9
- package/dist/chunks/{models-dev-22wdbsts.js → filesystem-9sdvy6ea.js} +8 -8
- package/dist/chunks/{models-dev-2ganz3y8.js → filesystem-9sjeq45g.js} +1 -1
- package/dist/chunks/{models-dev-ge15eywb.js → filesystem-a5qtj7q6.js} +11 -11
- package/dist/chunks/{models-dev-1vg111bv.js → filesystem-a6xg053j.js} +24 -24
- package/dist/chunks/{models-dev-xxqyc97q.js → filesystem-a78v4ve5.js} +26 -26
- package/dist/chunks/{models-dev-db2wf4at.js → filesystem-addxnjmp.js} +4 -4
- package/dist/chunks/{models-dev-j3zd635k.js → filesystem-adgawzpd.js} +5 -5
- package/dist/chunks/{models-dev-rcjkxq8e.js → filesystem-aqazz0j8.js} +24 -24
- package/dist/chunks/{models-dev-70m140w6.js → filesystem-ashq5n6s.js} +10 -10
- package/dist/chunks/{models-dev-skz3ykf8.js → filesystem-b11b6prk.js} +83 -83
- package/dist/chunks/{models-dev-3cqwnyj9.js → filesystem-bfegkxfd.js} +8 -8
- package/dist/chunks/{models-dev-1ffvrpkg.js → filesystem-bjx1sjef.js} +6 -6
- package/dist/chunks/{models-dev-jkcwyt6p.js → filesystem-bkpsvkt5.js} +22 -22
- package/dist/chunks/{models-dev-s2z0d44b.js → filesystem-bmr56wjg.js} +4 -4
- package/dist/chunks/{models-dev-0vvhvyba.js → filesystem-bmwsgzm3.js} +15 -15
- package/dist/chunks/{models-dev-bp2y3nv0.js → filesystem-btv47zes.js} +32 -32
- package/dist/chunks/{models-dev-ygdna4kr.js → filesystem-bx0gyb4h.js} +5 -5
- package/dist/chunks/{models-dev-v1vh7s4p.js → filesystem-bxqk5pf5.js} +9 -9
- package/dist/chunks/{models-dev-y8ywfhz0.js → filesystem-by8c53ka.js} +33 -33
- package/dist/chunks/{models-dev-4t1gj9yh.js → filesystem-c1pk8j7t.js} +16 -16
- package/dist/chunks/{models-dev-c41wscbt.js → filesystem-c41wscbt.js} +2 -2
- package/dist/chunks/{models-dev-c8ax2afj.js → filesystem-c8ax2afj.js} +2 -2
- package/dist/chunks/{models-dev-d55j8a6m.js → filesystem-c8dsy7xk.js} +11 -11
- package/dist/chunks/{models-dev-x3bxg7jp.js → filesystem-cap0p8nj.js} +31 -31
- package/dist/chunks/{models-dev-xrmxwe4z.js → filesystem-cc09gky1.js} +26 -26
- package/dist/chunks/{models-dev-6m0bz93p.js → filesystem-cjb3hyea.js} +23 -23
- package/dist/chunks/{models-dev-9cmzbzxt.js → filesystem-cqwer3tv.js} +22 -22
- package/dist/chunks/{models-dev-e8v4tyd8.js → filesystem-cya74875.js} +7 -7
- package/dist/chunks/{models-dev-4cb8f7fk.js → filesystem-d47p0dev.js} +6 -6
- package/dist/chunks/{models-dev-t2svpsp8.js → filesystem-d77571hn.js} +22 -22
- package/dist/chunks/{models-dev-3rw41r48.js → filesystem-d7h2nsz1.js} +40 -40
- package/dist/chunks/{models-dev-mv5c0h3x.js → filesystem-d9jtx293.js} +6 -6
- package/dist/chunks/{models-dev-m96k3bkt.js → filesystem-dg29p2pd.js} +16 -16
- package/dist/chunks/{models-dev-xfkkasph.js → filesystem-drwq78ky.js} +4 -4
- package/dist/chunks/{models-dev-paaty2hy.js → filesystem-e0v6r3rc.js} +34 -34
- package/dist/chunks/{models-dev-9wrrb0yb.js → filesystem-e0w2vstn.js} +17 -17
- package/dist/chunks/{models-dev-61j0dmjj.js → filesystem-e1t3mam8.js} +9 -9
- package/dist/chunks/{models-dev-n7c9kffx.js → filesystem-e2cmhjkj.js} +25 -25
- package/dist/chunks/{models-dev-68wyf5bm.js → filesystem-e430bhbh.js} +4 -4
- package/dist/chunks/{models-dev-bwqxdjjg.js → filesystem-e448g38w.js} +7 -7
- package/dist/chunks/{models-dev-rhcjcads.js → filesystem-e6464sbd.js} +11 -11
- package/dist/chunks/{models-dev-nma959mg.js → filesystem-e80seqcp.js} +3 -3
- package/dist/chunks/{models-dev-eej6y6fw.js → filesystem-eej6y6fw.js} +2 -2
- package/dist/chunks/{models-dev-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{models-dev-n01hsn3w.js → filesystem-eg1jtzjt.js} +42 -42
- package/dist/chunks/{models-dev-yqbtp4nn.js → filesystem-ek1kdr8s.js} +30 -30
- package/dist/chunks/{models-dev-es1vcfrp.js → filesystem-es1vcfrp.js} +3 -3
- package/dist/chunks/{models-dev-a2t0s2yb.js → filesystem-ewpvmgf2.js} +32 -32
- package/dist/chunks/{models-dev-d5k6qz6m.js → filesystem-f0bdtv1n.js} +11 -11
- package/dist/chunks/{models-dev-yp2x3t23.js → filesystem-f2n192rq.js} +4 -4
- package/dist/chunks/{models-dev-81mmn3a0.js → filesystem-f33qb1th.js} +11 -11
- package/dist/chunks/{models-dev-n9m213t7.js → filesystem-fa4ww1ng.js} +11 -11
- package/dist/chunks/{models-dev-6943eppc.js → filesystem-faat08va.js} +21 -21
- package/dist/chunks/{models-dev-xskeg1my.js → filesystem-fmb6frcs.js} +5 -5
- package/dist/chunks/{models-dev-gjwgx2c5.js → filesystem-ft3hqk2c.js} +9 -9
- package/dist/chunks/{models-dev-hq3c8me3.js → filesystem-fxaymqdw.js} +4 -4
- package/dist/chunks/{models-dev-k19akd89.js → filesystem-g5gnrdpy.js} +12 -12
- package/dist/chunks/{models-dev-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{models-dev-gk8qb678.js → filesystem-gk8qb678.js} +1 -1
- package/dist/chunks/{models-dev-pck7vvdx.js → filesystem-gp9jqd59.js} +6 -6
- package/dist/chunks/{models-dev-sek363pm.js → filesystem-gveanz76.js} +12 -12
- package/dist/chunks/{models-dev-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{models-dev-h7s7r6s9.js → filesystem-h7s7r6s9.js} +2 -2
- package/dist/chunks/{models-dev-hbz3dq43.js → filesystem-h9k3zmfa.js} +16 -16
- package/dist/chunks/{models-dev-vy569zcr.js → filesystem-hbn0bbep.js} +9 -9
- package/dist/chunks/{models-dev-neksqwq6.js → filesystem-hbvtdghj.js} +4 -4
- package/dist/chunks/{models-dev-x084de2t.js → filesystem-hddh30xx.js} +9 -9
- package/dist/chunks/{models-dev-sxxv73z5.js → filesystem-hf1n9z3x.js} +5 -5
- package/dist/chunks/filesystem-hgn7cgj3.js +253 -0
- package/dist/chunks/{models-dev-hgz4x7wa.js → filesystem-hgz4x7wa.js} +1 -1
- package/dist/chunks/{models-dev-mt0x4r8y.js → filesystem-hk8fhejm.js} +23 -23
- package/dist/chunks/{models-dev-qsjdw6zx.js → filesystem-hnb4yx9q.js} +9 -9
- package/dist/chunks/{models-dev-q297xgrc.js → filesystem-hnh8n5n7.js} +11 -11
- package/dist/chunks/{models-dev-v897zbhh.js → filesystem-hp4earpc.js} +10 -10
- package/dist/chunks/{models-dev-kz8r75e4.js → filesystem-hppj45g6.js} +26 -26
- package/dist/chunks/{models-dev-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{models-dev-55gcgw3e.js → filesystem-jfskkshb.js} +23 -23
- package/dist/chunks/{models-dev-dnbgra15.js → filesystem-jq5zn2gb.js} +18 -18
- package/dist/chunks/{models-dev-jq5e7nes.js → filesystem-jvekf0st.js} +11 -11
- package/dist/chunks/{models-dev-qrsmaxpv.js → filesystem-jx42mra6.js} +8 -8
- package/dist/chunks/{models-dev-qe05a2bz.js → filesystem-k0sjew9s.js} +20 -20
- package/dist/chunks/{models-dev-f8tkgn5s.js → filesystem-k7xxzs5q.js} +25 -25
- package/dist/chunks/{models-dev-8yrsrcqn.js → filesystem-k97zh3d1.js} +5 -5
- package/dist/chunks/{models-dev-x19bay7e.js → filesystem-kav7weha.js} +33 -33
- package/dist/chunks/{models-dev-vzrjrdpg.js → filesystem-kdykjer7.js} +15 -15
- package/dist/chunks/{models-dev-xpkv9yx2.js → filesystem-khjjjyc5.js} +319 -319
- package/dist/chunks/{models-dev-2sntqjaq.js → filesystem-kmpk7fbr.js} +20 -20
- package/dist/chunks/{models-dev-97krh25m.js → filesystem-krc3a0yk.js} +3 -3
- package/dist/chunks/{models-dev-ryhdpedp.js → filesystem-kzxe22pz.js} +4 -4
- package/dist/chunks/{models-dev-mtpeagzc.js → filesystem-m5jcjszt.js} +3 -3
- package/dist/chunks/{models-dev-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-38adaqc0.js → filesystem-ma48de29.js} +5 -5
- package/dist/chunks/{models-dev-fh0gp1g6.js → filesystem-mddpn92g.js} +29 -29
- package/dist/chunks/{models-dev-xcmk6yw7.js → filesystem-mek16e5d.js} +11 -11
- package/dist/chunks/{models-dev-t5qdg2d6.js → filesystem-mggg0rbc.js} +43 -43
- package/dist/chunks/{models-dev-647967zt.js → filesystem-mqq7cghv.js} +15 -15
- package/dist/chunks/{models-dev-tvdyt1f2.js → filesystem-mt5arhrs.js} +15 -15
- package/dist/chunks/{models-dev-95vtkt33.js → filesystem-mwpbc7s8.js} +19 -19
- package/dist/chunks/{models-dev-9mpm97f6.js → filesystem-n4fsvy2x.js} +24 -24
- package/dist/chunks/{models-dev-0h3bmwzg.js → filesystem-n9kc33re.js} +3 -3
- package/dist/chunks/{models-dev-6kvq4g2x.js → filesystem-nbkf97mm.js} +18 -18
- package/dist/chunks/{models-dev-4gknt9fd.js → filesystem-ng5df8nw.js} +8 -8
- package/dist/chunks/{models-dev-mw7nwdkh.js → filesystem-njfdx3sy.js} +6 -6
- package/dist/chunks/{models-dev-xapca0z6.js → filesystem-nm4yzjmp.js} +8 -8
- package/dist/chunks/{models-dev-zm51nxtb.js → filesystem-nnd1qh7g.js} +20 -20
- package/dist/chunks/{models-dev-x7fmrxm4.js → filesystem-nsdra7pt.js} +45 -45
- package/dist/chunks/{models-dev-887nqayc.js → filesystem-nx9q51n4.js} +18 -18
- package/dist/chunks/{models-dev-p871771t.js → filesystem-p1ezge1v.js} +14 -14
- package/dist/chunks/{models-dev-698b69sb.js → filesystem-p42kja40.js} +30 -30
- package/dist/chunks/{models-dev-8v3dx1b1.js → filesystem-p756njhy.js} +23 -23
- package/dist/chunks/{models-dev-yas3qt8d.js → filesystem-pg0x4j42.js} +9 -9
- package/dist/chunks/{models-dev-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{models-dev-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-tx9w5tca.js → filesystem-pn3cc07s.js} +8 -8
- package/dist/chunks/{models-dev-dtv3x9wh.js → filesystem-pr4c8k5d.js} +34 -34
- package/dist/chunks/{models-dev-q0xm7vwc.js → filesystem-q0xm7vwc.js} +2 -2
- package/dist/chunks/{models-dev-d2wg8ycw.js → filesystem-q0zsatc3.js} +49 -49
- package/dist/chunks/{models-dev-1fv76e68.js → filesystem-q7nk3s7j.js} +4 -4
- package/dist/chunks/filesystem-qc068m1q.js +18 -0
- package/dist/chunks/{models-dev-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{models-dev-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{models-dev-e3w9vdzz.js → filesystem-r9h634c8.js} +3 -3
- package/dist/chunks/{models-dev-cg1v189h.js → filesystem-rb70syh1.js} +15 -15
- package/dist/chunks/{models-dev-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{models-dev-eaj1djv9.js → filesystem-rhjbct0v.js} +8 -8
- package/dist/chunks/{models-dev-gtbbts5w.js → filesystem-rjtxxem0.js} +8 -8
- package/dist/chunks/{models-dev-8sze2n9a.js → filesystem-rkprpv83.js} +6 -6
- package/dist/chunks/{models-dev-rdq446ee.js → filesystem-rksd8sej.js} +33 -33
- package/dist/chunks/{models-dev-aet8a8m6.js → filesystem-rnwzxv10.js} +20 -20
- package/dist/chunks/{models-dev-gst7axd9.js → filesystem-rpg9c19m.js} +4 -4
- package/dist/chunks/{models-dev-5e9r84ee.js → filesystem-ryep13dd.js} +27 -27
- package/dist/chunks/{models-dev-z5frhjvt.js → filesystem-s9d98z9z.js} +67 -67
- package/dist/chunks/{models-dev-b3f8fkhc.js → filesystem-scgrse2b.js} +5 -5
- package/dist/chunks/{models-dev-v8w8krek.js → filesystem-ssb0bxwr.js} +12 -12
- package/dist/chunks/{models-dev-svcw9x3w.js → filesystem-svcw9x3w.js} +5 -5
- package/dist/chunks/{models-dev-syv4x271.js → filesystem-syv4x271.js} +1 -1
- package/dist/chunks/{models-dev-ayxtq27e.js → filesystem-t8c0xvf3.js} +7 -7
- package/dist/chunks/{models-dev-6zqpyfbt.js → filesystem-tam3xr47.js} +22 -22
- package/dist/chunks/{models-dev-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{models-dev-tcezcvh9.js → filesystem-tcezcvh9.js} +1 -1
- package/dist/chunks/{models-dev-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{models-dev-pb231g4a.js → filesystem-thnax083.js} +11 -11
- package/dist/chunks/{models-dev-tkb22qbm.js → filesystem-tkb22qbm.js} +2 -2
- package/dist/chunks/{models-dev-tm0kqsz3.js → filesystem-tm0kqsz3.js} +1 -1
- package/dist/chunks/{models-dev-8674dt24.js → filesystem-tmjqwtp5.js} +13 -13
- package/dist/chunks/{models-dev-aqq7qq15.js → filesystem-tyts7tda.js} +50 -50
- package/dist/chunks/{models-dev-tyytaxap.js → filesystem-tyytaxap.js} +1 -1
- package/dist/chunks/{models-dev-rt3hmfjg.js → filesystem-tz35mf6x.js} +8 -8
- package/dist/chunks/{models-dev-k34nj8c9.js → filesystem-tzpbkfcj.js} +10 -10
- package/dist/chunks/{models-dev-v0es1rhs.js → filesystem-v0es1rhs.js} +2 -2
- package/dist/chunks/{models-dev-127b9nq3.js → filesystem-v0xmac3n.js} +2 -2
- package/dist/chunks/{models-dev-p2sw0m36.js → filesystem-v22mneq0.js} +50 -50
- package/dist/chunks/{models-dev-g5thp7qf.js → filesystem-v47ja0kk.js} +32 -32
- package/dist/chunks/{models-dev-v7p4zvkq.js → filesystem-v7p4zvkq.js} +2 -2
- package/dist/chunks/{models-dev-vfjhn2wd.js → filesystem-v7z2bvyd.js} +4 -4
- package/dist/chunks/{models-dev-nw3bkfwn.js → filesystem-vbk72xvh.js} +24 -24
- package/dist/chunks/{models-dev-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{models-dev-h9y1jbrp.js → filesystem-vknd5qb0.js} +24 -24
- package/dist/chunks/{models-dev-k9rphyjs.js → filesystem-vw83hb19.js} +3 -3
- package/dist/chunks/{models-dev-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{models-dev-84txncab.js → filesystem-w1eejvng.js} +5 -5
- package/dist/chunks/{models-dev-fy2g7ryf.js → filesystem-w2t8mqbe.js} +20 -20
- package/dist/chunks/{models-dev-g6yfr6ja.js → filesystem-w39jehkq.js} +5 -5
- package/dist/chunks/{models-dev-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-8n69n882.js → filesystem-w3x9v1nk.js} +8 -8
- package/dist/chunks/{models-dev-3ppptnan.js → filesystem-w5yqftge.js} +6 -6
- package/dist/chunks/{models-dev-a4t865ze.js → filesystem-wb1x78f5.js} +48 -48
- package/dist/chunks/{models-dev-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-vapve5e1.js → filesystem-wd9v2wqs.js} +28 -28
- package/dist/chunks/{models-dev-gem7d763.js → filesystem-wpf4st6a.js} +9 -9
- package/dist/chunks/{models-dev-sr10jt0g.js → filesystem-ws0htp7c.js} +13 -13
- package/dist/chunks/{models-dev-9y49bz8y.js → filesystem-wwxyb18g.js} +1 -1
- package/dist/chunks/{models-dev-hwt2tm4a.js → filesystem-x0gy9gxe.js} +12 -12
- package/dist/chunks/{models-dev-nnjnsc1s.js → filesystem-x8g8cxcn.js} +13 -13
- package/dist/chunks/{models-dev-k8e7ekdf.js → filesystem-xcf4ra81.js} +4 -4
- package/dist/chunks/{models-dev-av393dca.js → filesystem-xf7aeygg.js} +24 -24
- package/dist/chunks/{models-dev-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{models-dev-82d1et5t.js → filesystem-y1zbefzb.js} +173 -173
- package/dist/chunks/{models-dev-m069vd74.js → filesystem-y3h0e103.js} +9 -9
- package/dist/chunks/{models-dev-rq8mp9zh.js → filesystem-y5x50g1v.js} +27 -27
- package/dist/chunks/{models-dev-y71avatq.js → filesystem-y71avatq.js} +1 -1
- package/dist/chunks/{models-dev-qf9g6tp9.js → filesystem-y8p3zjbc.js} +8 -8
- package/dist/chunks/{models-dev-adkf1mef.js → filesystem-y9q49zk7.js} +4 -4
- package/dist/chunks/{models-dev-f062g88n.js → filesystem-yar3z0vm.js} +20 -20
- package/dist/chunks/{models-dev-0kxvzjqb.js → filesystem-yezy7z0k.js} +11 -11
- package/dist/chunks/{models-dev-nfy0j2qk.js → filesystem-yg152t47.js} +35 -35
- package/dist/chunks/{models-dev-jd32emjx.js → filesystem-ytt1fcja.js} +11 -11
- package/dist/chunks/{models-dev-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{models-dev-6gw9y4bj.js → filesystem-z114v3my.js} +20 -20
- package/dist/chunks/{models-dev-19ezngz8.js → filesystem-z2jd07rd.js} +6 -6
- package/dist/chunks/{models-dev-denz7pvs.js → filesystem-z541wn70.js} +8 -8
- package/dist/chunks/{models-dev-ggw4qjdj.js → filesystem-z7d7tagb.js} +11 -11
- package/dist/chunks/{models-dev-ytpyksxf.js → filesystem-z7tsfxrw.js} +37 -37
- package/dist/chunks/{models-dev-3jrhrefn.js → filesystem-zdqhb26j.js} +5 -5
- package/dist/chunks/{models-dev-20nanq9y.js → filesystem-zmdnfm9g.js} +29 -29
- package/dist/chunks/{models-dev-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{models-dev-82y99j0b.js → filesystem-zrdk58qt.js} +4 -4
- package/dist/chunks/{models-dev-nywrw2rv.js → filesystem-zrj251rj.js} +26 -26
- package/dist/chunks/{models-dev-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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- 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 +97 -97
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- 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 +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- 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 +93 -93
- 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 +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- 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 +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- 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 +113 -113
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +117 -117
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- 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 -120
- 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 +125 -125
- 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 +76 -76
- 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 +346 -346
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- 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 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- 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 +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +131 -131
- 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 +79 -79
- 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 +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- 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 +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- 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 +126 -126
- 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 +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/models-dev-17ycsp3w.js +0 -26
- package/dist/chunks/models-dev-dxj72tfx.js +0 -18
- package/dist/chunks/models-dev-f5tf24pd.js +0 -253
- /package/dist/chunks/{models-dev-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{models-dev-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{models-dev-3t0ybcrp.js → filesystem-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{models-dev-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{models-dev-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{models-dev-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{models-dev-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-bw78ga2c.js → filesystem-bw78ga2c.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{models-dev-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{models-dev-pyv0edze.js → filesystem-pyv0edze.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{models-dev-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-r9h634c8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-zrdk58qt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./filesystem-w5yqftge.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-z2jd07rd.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service61
|
|
29
|
+
} from "./filesystem-g5gnrdpy.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service53
|
|
34
|
+
} from "./filesystem-n4fsvy2x.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service51
|
|
37
|
+
} from "./filesystem-z7tsfxrw.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./filesystem-4c2dxef7.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./filesystem-kmpk7fbr.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./filesystem-y3h0e103.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
get4
|
|
51
|
+
} from "./filesystem-7w42pd46.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service84;
|
|
67
67
|
const database = yield* Service85;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service61;
|
|
69
|
+
const instances = yield* Service55;
|
|
70
|
+
const execution = yield* Service51;
|
|
71
|
+
const admission = yield* Service53;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service55, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service55, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield*
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service55, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service55, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service55, instances), Effect.provideService(Service84, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-zrdk58qt.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-rhjbct0v.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event16,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service74,
|
|
31
|
+
configured: () => configured10,
|
|
32
|
+
layer: () => layer26,
|
|
33
|
+
node: () => node77
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key3.make("core/instructions");
|
|
45
|
+
var Event16 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service74 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer26 = (options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service84;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event16.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service74.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured10(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service74,
|
|
110
|
+
layer: layer26(options),
|
|
111
111
|
deps: [node88]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node77 = configured10();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event16, Options10, Service74, layer26, configured10, node77, exports_instruction_discovery };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-zrdk58qt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node74
|
|
8
|
+
} from "./filesystem-4g0yx14a.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
20
|
+
Event: () => Event15,
|
|
21
|
+
ID: () => ID11,
|
|
22
22
|
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service70,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node73
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event15 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID11 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID11, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID11
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID11,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service70 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service84;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service71;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service70.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node73 = makeLocationNode({
|
|
188
|
+
service: Service70,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node88,
|
|
190
|
+
deps: [node88, node74]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID11, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service70, node73, exports_websearch3, Event15 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event7,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options7,
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node50,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event7 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options7 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service47, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service47.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service47).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service47, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service47, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node50 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event7, hasNativeBinding2, Native3, Options7, Service47, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured7, node50, exports_watcher };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service46
|
|
4
|
+
} from "./filesystem-d7h2nsz1.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin12,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin12 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin24 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin12, exports_warming };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service77
|
|
4
|
+
} from "./filesystem-zmdnfm9g.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./filesystem-d7h2nsz1.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service77;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service46);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-zrdk58qt.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-k0sjew9s.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError4,
|
|
20
|
+
Options: () => Options4,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service23,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured4,
|
|
26
|
+
layer: () => layer12,
|
|
27
|
+
node: () => node26
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options4 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,14 +46,14 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service23 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError4({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service23.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service49, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer12 = makeLayer();
|
|
263
|
+
var configured4 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service23,
|
|
265
|
+
layer: options === undefined ? layer12 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node26 = configured4();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options4, UnavailableError2, NotFoundError4, Service23, layer12, configured4, node26, exports_persistent_pty, Handoff2, available2 };
|