@opencode/core 0.0.0-dev-1301 → 0.0.0-dev-1302
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 +95 -95
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +110 -110
- package/dist/app.js +11 -11
- package/dist/artifact.js +259 -259
- package/dist/blob-store.js +23 -0
- package/dist/bus.js +85 -85
- package/dist/chunks/{models-dev-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{models-dev-edtgef74.js → state-03zcay0f.js} +16 -16
- package/dist/chunks/{models-dev-pb63h5d5.js → state-0a1fqkme.js} +12 -12
- package/dist/chunks/{models-dev-rpc3t9g0.js → state-0bwvvqg2.js} +5 -5
- package/dist/chunks/{models-dev-38y5fnwb.js → state-0fefy2sy.js} +6 -6
- package/dist/chunks/{models-dev-0fvxehme.js → state-0fvxehme.js} +2 -2
- package/dist/chunks/{models-dev-k3n69evc.js → state-0ga6tp8v.js} +12 -12
- package/dist/chunks/{models-dev-tyvpg2z7.js → state-0khhg20c.js} +2 -2
- package/dist/chunks/{models-dev-m8dkd9xy.js → state-0s7pt9sr.js} +15 -15
- package/dist/chunks/{models-dev-kf35r8y9.js → state-0vmvgrfq.js} +45 -45
- package/dist/chunks/{models-dev-d2yw45pd.js → state-0zzg84yj.js} +15 -10
- package/dist/chunks/{models-dev-01jpjjv8.js → state-12fdgkdc.js} +19 -19
- package/dist/chunks/{models-dev-17b8a7h3.js → state-18b1hh0p.js} +8 -8
- package/dist/chunks/{models-dev-dnp8qw06.js → state-1999mk9j.js} +3 -3
- package/dist/chunks/{models-dev-04dpbvx0.js → state-1a8sbnjz.js} +30 -30
- package/dist/chunks/{models-dev-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{models-dev-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{models-dev-vpa9zg7n.js → state-1f7bherr.js} +5 -5
- package/dist/chunks/{models-dev-6bbspn9t.js → state-1h45f7t3.js} +2 -2
- package/dist/chunks/{models-dev-8yja69dr.js → state-1r9x5jy1.js} +19 -19
- package/dist/chunks/{models-dev-1xyp5df5.js → state-1tv0rdrh.js} +3 -3
- package/dist/chunks/{models-dev-b2416hqb.js → state-1wmcyv3n.js} +18 -18
- package/dist/chunks/{models-dev-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{models-dev-1yq9hg58.js → state-1yq9hg58.js} +1 -1
- package/dist/chunks/{models-dev-12d6twh3.js → state-252v1245.js} +25 -25
- package/dist/chunks/{models-dev-tb2mrvc9.js → state-26wfx3k0.js} +4 -4
- package/dist/chunks/{models-dev-bc22jvb2.js → state-27mv501c.js} +13 -13
- package/dist/chunks/{models-dev-ey6ph9dz.js → state-29b2jdhg.js} +19 -19
- package/dist/chunks/{models-dev-nx52g31t.js → state-29bb1z5w.js} +19 -19
- package/dist/chunks/{models-dev-ygfws1c6.js → state-2ef8h96f.js} +78 -78
- package/dist/chunks/{models-dev-sc2s8vj8.js → state-2esx615e.js} +11 -11
- package/dist/chunks/{models-dev-k3n8myxz.js → state-2f6z8mkj.js} +17 -17
- package/dist/chunks/{models-dev-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{models-dev-2prt43t7.js → state-2prt43t7.js} +1 -1
- package/dist/chunks/{models-dev-62dg1wtm.js → state-2s5t5rf6.js} +24 -24
- package/dist/chunks/{models-dev-czmzgv26.js → state-2y4kj1nk.js} +33 -33
- package/dist/chunks/{models-dev-h2nqtc89.js → state-2z7yzjmq.js} +10 -10
- package/dist/chunks/{models-dev-909x7v1x.js → state-34q69jav.js} +15 -15
- package/dist/chunks/{models-dev-0gdrrj59.js → state-365eavge.js} +4 -4
- package/dist/chunks/{models-dev-90ct6wq4.js → state-38aws4xb.js} +4 -4
- package/dist/chunks/{models-dev-xjbsd7zy.js → state-3adw4bt5.js} +9 -9
- package/dist/chunks/{models-dev-8bgnr0we.js → state-3ex1ss0s.js} +9 -9
- package/dist/chunks/{models-dev-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{models-dev-sxw203vs.js → state-3mcw4x93.js} +3 -3
- package/dist/chunks/{models-dev-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{models-dev-7dmqj5pa.js → state-3vteg2f2.js} +27 -27
- package/dist/chunks/{models-dev-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{models-dev-40za9wsf.js → state-40za9wsf.js} +2 -2
- package/dist/chunks/{models-dev-qeb8vrwa.js → state-44yrm8qh.js} +1 -1
- package/dist/chunks/{models-dev-zfkyx8am.js → state-477xcvvv.js} +38 -38
- package/dist/chunks/{models-dev-yp4aggw6.js → state-49hehw0c.js} +18 -18
- package/dist/chunks/{models-dev-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{models-dev-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{models-dev-d390zwf3.js → state-4g28f8pt.js} +11 -11
- package/dist/chunks/{models-dev-07qn0vmh.js → state-4hr7fwjv.js} +3 -3
- package/dist/chunks/{models-dev-f17abs19.js → state-4m38r76j.js} +53 -47
- package/dist/chunks/{models-dev-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{models-dev-cm6g2nmf.js → state-4wng0tzc.js} +5 -5
- package/dist/chunks/{models-dev-jhkymr7g.js → state-4x4k8yz9.js} +41 -41
- package/dist/chunks/{models-dev-cwhyeyjd.js → state-5czk7f01.js} +48 -62
- package/dist/chunks/{models-dev-8qxhmw20.js → state-5d9z4kbg.js} +21 -21
- package/dist/chunks/{models-dev-895ndqh9.js → state-5hqtyxmr.js} +4 -4
- package/dist/chunks/{models-dev-b1xk9023.js → state-5jgveppj.js} +32 -32
- package/dist/chunks/{models-dev-qbp0g28g.js → state-5kxfz8sh.js} +1 -1
- package/dist/chunks/{models-dev-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{models-dev-df10g13m.js → state-5q43kaf5.js} +8 -8
- package/dist/chunks/{models-dev-sk5qsbcw.js → state-5s00fg7y.js} +5 -5
- package/dist/chunks/{models-dev-tf9z4hvr.js → state-5w8tnwf6.js} +22 -22
- package/dist/chunks/{models-dev-2x243hvb.js → state-5zeen97g.js} +32 -32
- package/dist/chunks/{models-dev-9hxyepc6.js → state-5zfet53a.js} +15 -15
- package/dist/chunks/{models-dev-tfqs05gw.js → state-63ttahp5.js} +26 -26
- package/dist/chunks/{models-dev-gac2ge2j.js → state-6dyd7a8d.js} +35 -35
- package/dist/chunks/{models-dev-ker2ppk0.js → state-6f37fr29.js} +6 -6
- package/dist/chunks/{models-dev-6h8vcvjm.js → state-6h8vcvjm.js} +2 -2
- package/dist/chunks/{models-dev-05q22w1f.js → state-6xxz4301.js} +59 -59
- package/dist/chunks/{models-dev-6y2b864j.js → state-6y2b864j.js} +1 -1
- package/dist/chunks/{models-dev-e61jcxjv.js → state-72394rmt.js} +34 -34
- package/dist/chunks/{models-dev-16vfgmyc.js → state-74tzf041.js} +13 -13
- package/dist/chunks/{models-dev-80mg3ag8.js → state-775hqbnd.js} +3 -3
- package/dist/chunks/{models-dev-ythsbdk6.js → state-78crq86g.js} +26 -26
- package/dist/chunks/{models-dev-xkrrs2pz.js → state-7a1x87rk.js} +9 -9
- package/dist/chunks/{models-dev-bgx0txp1.js → state-7ae08jw1.js} +11 -11
- package/dist/chunks/{models-dev-r9hnajr9.js → state-7bm7atj2.js} +6 -6
- package/dist/chunks/{models-dev-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{models-dev-vsyzdq1q.js → state-7cmbzbmd.js} +9 -9
- package/dist/chunks/{models-dev-jppckk03.js → state-7dny7dvh.js} +21 -19
- package/dist/chunks/{models-dev-ea8dktjc.js → state-7gq6cvk3.js} +26 -26
- package/dist/chunks/{models-dev-s4kyhetj.js → state-7ke2z32d.js} +3 -3
- package/dist/chunks/{models-dev-yepd7x5v.js → state-7nb8tm12.js} +5 -5
- package/dist/chunks/{models-dev-7nyex9j3.js → state-7nyex9j3.js} +1 -1
- package/dist/chunks/{models-dev-g7nw8mrw.js → state-7nyxn3y6.js} +12 -12
- package/dist/chunks/{models-dev-7tx5zndv.js → state-7tx5zndv.js} +2 -2
- package/dist/chunks/{models-dev-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{models-dev-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{models-dev-xacrkbdt.js → state-7zs4mqwf.js} +4 -4
- package/dist/chunks/{models-dev-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{models-dev-9bje02ba.js → state-83ycnzfs.js} +15 -15
- package/dist/chunks/{models-dev-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{models-dev-69chae45.js → state-89j9ffww.js} +25 -25
- package/dist/chunks/{models-dev-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{models-dev-1h23qfrp.js → state-8bmkbtc8.js} +31 -31
- package/dist/chunks/{models-dev-ckfh2nj7.js → state-8hbxat0b.js} +9 -9
- package/dist/chunks/{models-dev-yfzk88dj.js → state-8jgydtg3.js} +24 -24
- package/dist/chunks/{models-dev-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{models-dev-bwe4pzw5.js → state-8rgkpay0.js} +52 -52
- package/dist/chunks/{models-dev-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{models-dev-7q51y27g.js → state-8tr1mvjp.js} +21 -21
- package/dist/chunks/{models-dev-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{models-dev-28rkn4bn.js → state-8xgwt13h.js} +8 -8
- package/dist/chunks/{models-dev-egmvztax.js → state-8zqzm5np.js} +12 -12
- package/dist/chunks/{models-dev-tpmhz2tj.js → state-92816w05.js} +29 -29
- package/dist/chunks/{models-dev-3wtfxpxv.js → state-92em498v.js} +13 -13
- package/dist/chunks/{models-dev-93xmyh8q.js → state-93xmyh8q.js} +2 -2
- package/dist/chunks/{models-dev-p52s26ed.js → state-95kfdwsb.js} +10 -10
- package/dist/chunks/{models-dev-sbwedbhf.js → state-97hjcvss.js} +15 -15
- package/dist/chunks/{models-dev-czk0t2rs.js → state-9aj4jpxp.js} +8 -8
- package/dist/chunks/{models-dev-wh7ffagj.js → state-9dq3b9t5.js} +2 -2
- package/dist/chunks/{models-dev-4vzr2b15.js → state-9zfcngb4.js} +3 -3
- package/dist/chunks/{models-dev-21573k7e.js → state-a1sevdk6.js} +4 -4
- package/dist/chunks/{models-dev-tqttnf20.js → state-a33csnpw.js} +23 -23
- package/dist/chunks/{models-dev-b8g4m97s.js → state-a3p7gvf1.js} +16 -16
- package/dist/chunks/{models-dev-qny07asp.js → state-a7qfweag.js} +8 -8
- package/dist/chunks/{models-dev-dkm07eje.js → state-abn43cmf.js} +4 -4
- package/dist/chunks/{models-dev-6jbm0rym.js → state-abtv3p93.js} +10 -10
- package/dist/chunks/{models-dev-kdqexpnp.js → state-ag6d02bt.js} +18 -18
- package/dist/chunks/{models-dev-7gtz31kp.js → state-ajrn69cv.js} +36 -36
- package/dist/chunks/{models-dev-zqj3m3pc.js → state-akgfxd4f.js} +38 -38
- package/dist/chunks/{models-dev-0g1q6b1n.js → state-at3h86re.js} +14 -14
- package/dist/chunks/{models-dev-1xsagsv9.js → state-ay1zsbqa.js} +7 -7
- package/dist/chunks/{models-dev-yhtwqbvx.js → state-ay7cybv2.js} +10 -10
- package/dist/chunks/{models-dev-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{models-dev-d1v5pntq.js → state-baes9p30.js} +64 -64
- package/dist/chunks/{models-dev-3f96k9er.js → state-bcb11p47.js} +24 -24
- package/dist/chunks/{models-dev-k7x9a9fb.js → state-bcndt51e.js} +5 -5
- package/dist/chunks/{models-dev-dzfpww6p.js → state-bf55zpar.js} +10 -10
- package/dist/chunks/{models-dev-t2pbakf7.js → state-bfnxjwq5.js} +16 -16
- package/dist/chunks/{models-dev-bhfd478d.js → state-bhfd478d.js} +1 -1
- package/dist/chunks/{models-dev-f9cn5amy.js → state-bjbd0zk3.js} +19 -19
- package/dist/chunks/{models-dev-bstexjd6.js → state-bstexjd6.js} +1 -1
- package/dist/chunks/{models-dev-twc7y9vf.js → state-btmf51hx.js} +1 -1
- package/dist/chunks/{models-dev-5vkzyhjg.js → state-bzqd1pm8.js} +11 -11
- package/dist/chunks/{models-dev-c5zvymhv.js → state-c5zvymhv.js} +1 -1
- package/dist/chunks/{models-dev-r24zcvt4.js → state-c8909h3p.js} +5 -5
- package/dist/chunks/{models-dev-sa7656xq.js → state-cb67h20a.js} +5 -5
- package/dist/chunks/{models-dev-fqeg5thj.js → state-cea0pb0e.js} +21 -21
- package/dist/chunks/{models-dev-mbqhc6pa.js → state-cj3hz2x6.js} +32 -32
- package/dist/chunks/{models-dev-ckn0kvtp.js → state-ckn0kvtp.js} +3 -3
- package/dist/chunks/{models-dev-p7npf4g9.js → state-cn4fstdz.js} +10 -10
- package/dist/chunks/{models-dev-znztzenz.js → state-cnn0mxn5.js} +31 -31
- package/dist/chunks/{models-dev-yy1vqjm8.js → state-cvkx6mms.js} +5 -5
- package/dist/chunks/{models-dev-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{models-dev-j44kpfqc.js → state-d3fh3mtd.js} +33 -33
- package/dist/chunks/{models-dev-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{models-dev-9tb5qk0n.js → state-daqyv0pv.js} +47 -47
- package/dist/chunks/{models-dev-31xjk4fa.js → state-df8zr684.js} +8 -8
- package/dist/chunks/{models-dev-f219qbxq.js → state-dkcj7wpp.js} +8 -8
- package/dist/chunks/{models-dev-rp3829np.js → state-dpmea4mq.js} +53 -53
- package/dist/chunks/{models-dev-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{models-dev-tbn9dscw.js → state-e185e5a1.js} +10 -10
- package/dist/chunks/{models-dev-hx3mz2q2.js → state-e71bb87j.js} +8 -8
- package/dist/chunks/{models-dev-c5e3qa7c.js → state-e9gy6s62.js} +9 -9
- package/dist/chunks/{models-dev-gy0v0zw8.js → state-eb5hmwg4.js} +345 -345
- package/dist/chunks/{models-dev-6cs7pyzq.js → state-ec8mf4am.js} +24 -24
- package/dist/chunks/{models-dev-ccbnx04w.js → state-ef98ssks.js} +8 -8
- package/dist/chunks/{models-dev-xerxwfh5.js → state-emenfhen.js} +24 -19
- package/dist/chunks/{models-dev-stc20tt6.js → state-emjwx2gq.js} +13 -13
- package/dist/chunks/{models-dev-he1c9yq1.js → state-eqtf2ss2.js} +4 -4
- package/dist/chunks/{models-dev-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{models-dev-s2hw13ek.js → state-ez0xx7aj.js} +3 -3
- package/dist/chunks/{models-dev-vn73cvdn.js → state-ez1sht9e.js} +147 -147
- package/dist/chunks/state-ezna1kdx.js +18 -0
- package/dist/chunks/{models-dev-01jmt1eg.js → state-ezzcymd9.js} +11 -11
- package/dist/chunks/{models-dev-wzr7wgee.js → state-f3agv7cd.js} +20 -20
- package/dist/chunks/{models-dev-4edm7554.js → state-f4vq2sjs.js} +77 -77
- package/dist/chunks/{models-dev-fax097qp.js → state-fax097qp.js} +1 -1
- package/dist/chunks/{models-dev-vtz9thd2.js → state-fcrts5pp.js} +5 -5
- package/dist/chunks/{models-dev-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{models-dev-3meg1vdj.js → state-fk3208wx.js} +16 -16
- package/dist/chunks/{models-dev-5m6s9kwh.js → state-frg8gwcp.js} +9 -9
- package/dist/chunks/{models-dev-nv2c5e9q.js → state-fyfzbt3s.js} +3 -3
- package/dist/chunks/state-g0wpqbec.js +91 -0
- package/dist/chunks/{models-dev-fc93665r.js → state-g3wj12x4.js} +8 -8
- package/dist/chunks/{models-dev-b26ddj6h.js → state-g4txs7zc.js} +4 -4
- package/dist/chunks/{models-dev-1v2g13eq.js → state-g650r2x6.js} +4 -4
- package/dist/chunks/{models-dev-9wj24y3d.js → state-ga27sqjy.js} +11 -11
- package/dist/chunks/{models-dev-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{models-dev-8qje1vzs.js → state-gdsybvzc.js} +9 -9
- package/dist/chunks/{models-dev-k8ns107f.js → state-gf751m25.js} +4 -4
- package/dist/chunks/{models-dev-chhfrjy0.js → state-ggj1p7e5.js} +4 -4
- package/dist/chunks/{models-dev-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
- package/dist/chunks/{models-dev-nbkwwvwf.js → state-gjfmw2mq.js} +25 -25
- package/dist/chunks/{models-dev-y89bmsxm.js → state-greqc4tt.js} +40 -40
- package/dist/chunks/{models-dev-gxs71cxp.js → state-gxs71cxp.js} +1 -1
- package/dist/chunks/{models-dev-cy94mhzf.js → state-gyd0svns.js} +21 -21
- package/dist/chunks/{models-dev-v3cr3dp7.js → state-hctzs2v8.js} +3 -3
- package/dist/chunks/{models-dev-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{models-dev-2yhrawas.js → state-hj22ssbz.js} +19 -19
- package/dist/chunks/{models-dev-2ca4zjrp.js → state-hkj9x04x.js} +24 -24
- package/dist/chunks/{models-dev-2ejb6jdy.js → state-hskjzqkb.js} +11 -11
- package/dist/chunks/{models-dev-zgc5mrk4.js → state-hxktsnjb.js} +57 -57
- package/dist/chunks/{models-dev-jn3kwe0k.js → state-hykps0zw.js} +33 -33
- package/dist/chunks/{models-dev-tr8x705m.js → state-j376ae4e.js} +5 -5
- package/dist/chunks/{models-dev-j3f8hyeg.js → state-j3f8hyeg.js} +1 -1
- package/dist/chunks/{models-dev-h582mvvh.js → state-j3khjgx3.js} +31 -30
- package/dist/chunks/{models-dev-j7km1s7q.js → state-j7km1s7q.js} +3 -3
- package/dist/chunks/{models-dev-ze75qvmd.js → state-j9nxzz3g.js} +3 -3
- package/dist/chunks/{models-dev-pn1g3a6b.js → state-jahxfc61.js} +9 -9
- package/dist/chunks/{models-dev-kne904gd.js → state-jbmt4bm3.js} +5 -5
- package/dist/chunks/{models-dev-03stdy3a.js → state-jdj4sb5v.js} +12 -12
- package/dist/chunks/{models-dev-6w3dghe6.js → state-jfsh0w8k.js} +26 -26
- package/dist/chunks/{models-dev-401t48dn.js → state-jm12cmw1.js} +3 -3
- package/dist/chunks/{models-dev-cvj4v2zj.js → state-jm21nd0n.js} +13 -13
- package/dist/chunks/{models-dev-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{models-dev-b5yxbfsx.js → state-jpmqdhrk.js} +11 -11
- package/dist/chunks/{models-dev-e1xdpkpc.js → state-jtpvrcts.js} +16 -16
- package/dist/chunks/{models-dev-cr63j516.js → state-jw06sn6b.js} +52 -39
- package/dist/chunks/{models-dev-44pmzq9c.js → state-jxd6f16v.js} +2 -2
- package/dist/chunks/{models-dev-nh5v9w6b.js → state-k0e6v0cv.js} +35 -35
- package/dist/chunks/{models-dev-5ebqdsag.js → state-k10qztr6.js} +11 -11
- package/dist/chunks/{models-dev-6mxe3kwz.js → state-k9hq1jvt.js} +10 -10
- package/dist/chunks/{models-dev-9yqjp86x.js → state-kgmdm1mc.js} +6 -6
- package/dist/chunks/{models-dev-h9hc66h4.js → state-kh0hrg97.js} +4 -4
- package/dist/chunks/{models-dev-kj9n5bvh.js → state-kj9n5bvh.js} +1 -1
- package/dist/chunks/{models-dev-4cw6n3zj.js → state-kja9qb4q.js} +9 -9
- package/dist/chunks/{models-dev-wzg98ftn.js → state-kkd7x4bj.js} +18 -18
- package/dist/chunks/{models-dev-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{models-dev-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{models-dev-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{models-dev-q4req5j3.js → state-m3da8wrg.js} +6 -6
- package/dist/chunks/{models-dev-m4p4r8nc.js → state-m4p4r8nc.js} +1 -1
- package/dist/chunks/{models-dev-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{models-dev-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{models-dev-rpbfxwfa.js → state-mb6jj0rf.js} +14 -14
- package/dist/chunks/{models-dev-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{models-dev-q963thn8.js → state-mcbq1bax.js} +4 -4
- package/dist/chunks/{models-dev-ve2386nd.js → state-mqenmh3d.js} +14 -14
- package/dist/chunks/{models-dev-0h136ke6.js → state-mrkkjtt8.js} +22 -22
- package/dist/chunks/{models-dev-mwnxvxbk.js → state-mwnxvxbk.js} +1 -1
- package/dist/chunks/{models-dev-bcbxv1qm.js → state-mzfc0fgk.js} +22 -22
- package/dist/chunks/{models-dev-xammac33.js → state-n08a4cme.js} +13 -13
- package/dist/chunks/{models-dev-cqkt28cd.js → state-n1tma48k.js} +6 -6
- package/dist/chunks/{models-dev-q3bwt4qp.js → state-n6wcqzth.js} +45 -45
- package/dist/chunks/{models-dev-ey9gybdb.js → state-n82amx1c.js} +34 -34
- package/dist/chunks/{models-dev-te1466qx.js → state-n8p3hmwy.js} +1 -1
- package/dist/chunks/{models-dev-pdsvers6.js → state-n9abymfr.js} +67 -29
- package/dist/chunks/{models-dev-xrk7290s.js → state-njt828rv.js} +25 -25
- package/dist/chunks/{models-dev-nmbeff6n.js → state-nmbeff6n.js} +1 -1
- package/dist/chunks/{models-dev-2yhzwjex.js → state-nwdygren.js} +90 -90
- package/dist/chunks/{models-dev-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{models-dev-nyfhefcf.js → state-pvz0xt04.js} +13 -13
- package/dist/chunks/{models-dev-f2zjpyt5.js → state-q5bk3gvt.js} +5 -5
- package/dist/chunks/{models-dev-zkm3b9p5.js → state-q6d5y36s.js} +30 -30
- package/dist/chunks/{models-dev-2cresew7.js → state-q6qptccb.js} +5 -5
- package/dist/chunks/{models-dev-2j77f569.js → state-q8n8cagx.js} +10 -10
- package/dist/chunks/{models-dev-pza716v5.js → state-qhrnw5a6.js} +23 -23
- package/dist/chunks/{models-dev-rbg54dp1.js → state-qkc3z5ds.js} +4 -4
- package/dist/chunks/{models-dev-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{models-dev-94vtjncf.js → state-qqw7yz25.js} +5 -5
- package/dist/chunks/{models-dev-942rfr41.js → state-r75f2j8n.js} +9 -9
- package/dist/chunks/{models-dev-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{models-dev-4wvvdnnd.js → state-rfccf7fd.js} +12 -12
- package/dist/chunks/{models-dev-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{models-dev-a0vv897g.js → state-rkqz6a1c.js} +22 -22
- package/dist/chunks/{models-dev-7xxgkp5n.js → state-rp80tbx1.js} +11 -11
- package/dist/chunks/{models-dev-676krbmn.js → state-rx63kfe9.js} +7 -7
- package/dist/chunks/{models-dev-dajqqp7k.js → state-rxtj5w21.js} +20 -20
- package/dist/chunks/{models-dev-r44qt73r.js → state-rz4exe9c.js} +11 -11
- package/dist/chunks/{models-dev-2p60zmnr.js → state-s1ba0vj0.js} +2 -2
- package/dist/chunks/{models-dev-e09fy91s.js → state-s1snmxf3.js} +11 -11
- package/dist/chunks/{models-dev-s47rahr7.js → state-s47rahr7.js} +1 -1
- package/dist/chunks/{models-dev-5tbbznae.js → state-s7yxjkz4.js} +2 -2
- package/dist/chunks/{models-dev-mtfy9zxw.js → state-s9xqbcwv.js} +16 -16
- package/dist/chunks/{models-dev-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{models-dev-h6emrs48.js → state-ss6cpaky.js} +4 -4
- package/dist/chunks/{models-dev-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{models-dev-4rh59qbz.js → state-sy08yzhb.js} +13 -13
- package/dist/chunks/{models-dev-mc5ev4x7.js → state-t487xv8s.js} +12 -12
- package/dist/chunks/{models-dev-t48jrnqq.js → state-t48jrnqq.js} +1 -1
- package/dist/chunks/{models-dev-d7y0nxxp.js → state-t7n150wv.js} +7 -7
- package/dist/chunks/{models-dev-78p2h4ex.js → state-t8erkws8.js} +5 -5
- package/dist/chunks/{models-dev-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{models-dev-7pe2pkxx.js → state-tc3prtck.js} +15 -15
- package/dist/chunks/{models-dev-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{models-dev-gs9htbac.js → state-tgcjn8ea.js} +20 -20
- package/dist/chunks/{models-dev-36gmzj3v.js → state-tnagtm44.js} +3 -3
- package/dist/chunks/{models-dev-97mkd6k3.js → state-tp50wbw6.js} +13 -13
- package/dist/chunks/{models-dev-hkms5qn6.js → state-tt65sykp.js} +32 -32
- package/dist/chunks/{models-dev-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{models-dev-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{models-dev-qdw9xx43.js → state-tz8by5ck.js} +38 -32
- package/dist/chunks/{models-dev-2kg89srt.js → state-v0t96s7a.js} +4 -4
- package/dist/chunks/{models-dev-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{models-dev-7tpyp9vw.js → state-v5hpj9dd.js} +8 -8
- package/dist/chunks/{models-dev-2p58xnck.js → state-vh266b4c.js} +20 -20
- package/dist/chunks/{models-dev-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{models-dev-ds0t6hpj.js → state-vnvwt0wg.js} +22 -22
- package/dist/chunks/{models-dev-3ddmy1pz.js → state-vrzmb6mk.js} +15 -15
- package/dist/chunks/{models-dev-z4h6k4dk.js → state-vvg3ktg6.js} +17 -17
- package/dist/chunks/state-w0t345fn.js +35 -0
- package/dist/chunks/{models-dev-w6wbaxke.js → state-w28241sq.js} +33 -32
- package/dist/chunks/{models-dev-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{models-dev-73q2erdm.js → state-w4n8krtt.js} +16 -16
- package/dist/chunks/{models-dev-w687dnns.js → state-w687dnns.js} +1 -1
- package/dist/chunks/{models-dev-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{models-dev-j3cdw4nt.js → state-wc1a1f4e.js} +18 -18
- package/dist/chunks/{models-dev-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{models-dev-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{models-dev-npp6n49x.js → state-wggfwex4.js} +10 -10
- package/dist/chunks/{models-dev-da7xh0ve.js → state-wkcgx9r5.js} +19 -19
- package/dist/chunks/{models-dev-1t18xjdf.js → state-wves2w9a.js} +2 -2
- package/dist/chunks/{models-dev-5n96889b.js → state-x01zwkkh.js} +18 -18
- package/dist/chunks/{models-dev-vfew0rx2.js → state-x5qggkyz.js} +21 -21
- package/dist/chunks/{models-dev-ew8pzck7.js → state-x6ew6y6p.js} +29 -29
- package/dist/chunks/{models-dev-4cwe9cqw.js → state-x6q8j6vz.js} +9 -9
- package/dist/chunks/{models-dev-e49cmfqn.js → state-x9nmp85w.js} +12 -12
- package/dist/chunks/{models-dev-jhz0xwqy.js → state-xjfvcama.js} +31 -31
- package/dist/chunks/{models-dev-xjr6c8m4.js → state-xjr6c8m4.js} +1 -1
- package/dist/chunks/{models-dev-hf8h1brr.js → state-xkk8ddsd.js} +4 -4
- package/dist/chunks/{models-dev-xksw6ev0.js → state-xksw6ev0.js} +1 -1
- package/dist/chunks/{models-dev-h6pr6f0t.js → state-xpmfaw4g.js} +20 -20
- package/dist/chunks/{models-dev-t5x49h7z.js → state-xrx85msc.js} +13 -13
- package/dist/chunks/{models-dev-n320gsn2.js → state-xvn8mnch.js} +4 -4
- package/dist/chunks/{models-dev-xz07m27x.js → state-xz07m27x.js} +2 -2
- package/dist/chunks/{models-dev-ktyr6fj5.js → state-xzcw0d8z.js} +18 -18
- package/dist/chunks/{models-dev-00pyr4wd.js → state-y04krnxt.js} +40 -40
- package/dist/chunks/{models-dev-s8ezrs52.js → state-y42a62sv.js} +13 -13
- package/dist/chunks/{models-dev-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{models-dev-4hcy32n1.js → state-yezeg7jb.js} +38 -38
- package/dist/chunks/{models-dev-1t915cr6.js → state-ygbwgbeb.js} +25 -25
- package/dist/chunks/state-ymyzmgdn.js +273 -0
- package/dist/chunks/{models-dev-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{models-dev-jgtve8vr.js → state-yt2yd2ha.js} +15 -15
- package/dist/chunks/{models-dev-05dv1wks.js → state-ytk2jwkq.js} +36 -36
- package/dist/chunks/{models-dev-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{models-dev-prrkmcsr.js → state-yy3ysynw.js} +12 -16
- package/dist/chunks/{models-dev-hretfjjx.js → state-z0c26qk4.js} +2 -2
- package/dist/chunks/{models-dev-3gdbjb1z.js → state-z0vh365s.js} +3 -3
- package/dist/chunks/{models-dev-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/{models-dev-963hk181.js → state-z7881fav.js} +7 -7
- package/dist/chunks/{models-dev-5aya2ydz.js → state-zcvsxapg.js} +8 -8
- package/dist/chunks/{models-dev-zfgpsk7g.js → state-zf4xgyhj.js} +2 -2
- package/dist/chunks/{models-dev-g9ndtp1p.js → state-zfyb5tr4.js} +4 -4
- package/dist/chunks/{models-dev-t4hdy4xy.js → state-znss4kzc.js} +9 -9
- package/dist/chunks/{models-dev-7a36pb7d.js → state-zq890cq6.js} +5 -5
- package/dist/chunks/{models-dev-9v5prqrt.js → state-zv0mezyc.js} +5 -5
- package/dist/chunks/{models-dev-9ww3cd5p.js → state-zvbyz5gv.js} +16 -16
- package/dist/chunks/state-zzby2jc7.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +151 -151
- package/dist/codemode/instructions.js +4 -4
- package/dist/codemode/tool.js +158 -158
- package/dist/command.js +93 -93
- package/dist/config/discovery.js +96 -96
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +114 -114
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +248 -248
- package/dist/config/plugin/compaction.js +176 -176
- package/dist/config/plugin/compatibility.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +133 -133
- package/dist/config/plugin/image.js +132 -132
- package/dist/config/plugin/instruction.js +133 -133
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +147 -147
- package/dist/config/plugin/policy.js +132 -132
- package/dist/config/plugin/provider.js +132 -132
- package/dist/config/plugin/reference.js +134 -134
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +152 -152
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +132 -132
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +133 -133
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +134 -134
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +82 -82
- package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
- package/dist/database/drizzle/effect-sqlite/index.js +13 -13
- package/dist/database/drizzle/effect-sqlite/session.js +12 -12
- package/dist/database/drizzle/index.js +14 -14
- 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 +15 -15
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +77 -77
- 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/storage-failure.js +1 -1
- package/dist/database/v1-migration.bun.js +104 -104
- package/dist/effect/app-node-builder.js +451 -451
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +110 -110
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +86 -86
- package/dist/file-access.js +163 -163
- package/dist/file-mutation.js +109 -109
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +167 -167
- 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/file-watch.js +92 -92
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +259 -259
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +114 -114
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +119 -119
- package/dist/flag.js +137 -137
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +101 -101
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +114 -114
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +442 -442
- package/dist/instruction-discovery.js +89 -89
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +85 -85
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +85 -85
- package/dist/location-activity.js +188 -188
- package/dist/location-lifecycle.js +156 -156
- package/dist/location-service-map.js +100 -100
- package/dist/location-services.js +439 -439
- package/dist/location.js +101 -101
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +162 -162
- package/dist/mcp/connection.js +105 -105
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +156 -156
- package/dist/mcp/instructions.js +191 -191
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/pool.js +113 -113
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +114 -114
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +123 -123
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +159 -159
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +100 -100
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +87 -87
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +147 -147
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +252 -252
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +419 -419
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +112 -112
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +152 -152
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +108 -108
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +136 -136
- package/dist/plugin/provider/claude-agent/aisdk.js +119 -119
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +150 -150
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +112 -112
- package/dist/plugin/provider/claude-agent/session.js +114 -114
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +132 -132
- package/dist/plugin/provider/cloudflare-workers-ai.js +132 -132
- package/dist/plugin/provider/configured.js +128 -128
- package/dist/plugin/provider/credential-settings.js +89 -89
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +111 -111
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +113 -113
- package/dist/plugin/provider/gitlab.js +112 -112
- package/dist/plugin/provider/google-vertex.js +129 -129
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +90 -90
- package/dist/plugin/provider/lmstudio.js +143 -143
- package/dist/plugin/provider/local.js +142 -142
- package/dist/plugin/provider/modal.js +110 -110
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +145 -145
- package/dist/plugin/provider/openai-context-caps.js +108 -108
- package/dist/plugin/provider/openai.js +136 -136
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +164 -164
- package/dist/plugin/provider/openrouter.js +106 -106
- package/dist/plugin/provider/poe.js +92 -92
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +88 -88
- package/dist/plugin/provider/sap-ai-core.js +106 -106
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +134 -134
- package/dist/plugin/provider/vllm.js +145 -145
- package/dist/plugin/provider/xai.js +106 -106
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +243 -243
- package/dist/plugin/sdk.js +84 -84
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +151 -151
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +427 -427
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +100 -100
- package/dist/plugin/vcs/hg.js +100 -100
- package/dist/plugin/verbosity.js +108 -108
- package/dist/plugin/warming.js +132 -132
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +263 -263
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +102 -102
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +112 -112
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +104 -104
- package/dist/repository-cache.js +94 -94
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +112 -112
- package/dist/rpc.js +100 -100
- package/dist/schedule/check.js +257 -257
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +267 -267
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +134 -134
- package/dist/session/command.js +86 -86
- package/dist/session/compaction.js +176 -176
- package/dist/session/context.js +209 -209
- package/dist/session/diff.js +102 -102
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +277 -276
- package/dist/session/execution/subagent-report.js +146 -146
- package/dist/session/execution.js +173 -173
- package/dist/session/generate.js +209 -209
- package/dist/session/history.js +142 -142
- package/dist/session/inbox.js +151 -151
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +147 -147
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +174 -174
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +177 -177
- package/dist/session/projector.js +149 -149
- package/dist/session/prompt.js +154 -154
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +145 -145
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +262 -262
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +116 -116
- package/dist/session/runner/publish-llm-event.js +156 -156
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +143 -143
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +195 -195
- package/dist/session/shell.js +150 -150
- package/dist/session/skill.js +153 -153
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +88 -88
- package/dist/session/store.js +148 -148
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +172 -172
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +155 -155
- package/dist/session/transfer.js +264 -264
- package/dist/session/usage.js +1 -1
- package/dist/session.js +250 -250
- package/dist/shared-cache.js +5 -5
- 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 +154 -154
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +162 -162
- package/dist/snapshot.js +105 -105
- 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 +190 -190
- package/dist/tool/plugin/artifact.js +247 -247
- package/dist/tool/plugin/edit.js +173 -173
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +177 -177
- package/dist/tool/plugin/grep.js +176 -176
- package/dist/tool/plugin/image-generate.js +258 -258
- package/dist/tool/plugin/mcp-events.js +169 -169
- package/dist/tool/plugin/mcp-resource.js +173 -173
- package/dist/tool/plugin/opencode.js +169 -169
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +150 -150
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +263 -263
- package/dist/tool/plugin/shell.js +253 -252
- package/dist/tool/plugin/skill.js +161 -161
- package/dist/tool/plugin/subagent.js +254 -254
- package/dist/tool/plugin/todo.js +159 -159
- package/dist/tool/plugin/webfetch.js +161 -161
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +170 -170
- package/dist/tool/read-filesystem.js +115 -115
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +110 -110
- package/dist/tool-output.js +11 -11
- package/dist/tool.js +168 -168
- package/dist/types/blob-store.d.ts +36 -0
- package/dist/types/config/plugin/compaction.d.ts +1 -2
- package/dist/types/flag.d.ts +5 -4
- package/dist/types/generate.d.ts +31 -1
- package/dist/types/model-resolver.d.ts +3 -1
- package/dist/types/permission.d.ts +6 -1
- package/dist/types/session/compaction.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +3 -1
- package/dist/types/video-generation.d.ts +21 -0
- package/dist/usage-limits.js +99 -99
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +107 -107
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +108 -108
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +103 -103
- package/dist/video-generation.js +256 -0
- package/dist/voice.js +98 -98
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +88 -88
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +94 -94
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +103 -103
- package/dist/worktree.js +112 -112
- package/package.json +8 -8
- package/dist/chunks/models-dev-9bjnw33a.js +0 -35
- package/dist/chunks/models-dev-me0dhgxs.js +0 -18
- package/dist/chunks/models-dev-ngn2nxev.js +0 -26
- package/dist/chunks/models-dev-vwsyexwj.js +0 -273
- /package/dist/chunks/{models-dev-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{models-dev-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{models-dev-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{models-dev-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{models-dev-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{models-dev-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{models-dev-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{models-dev-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{models-dev-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{models-dev-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{models-dev-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{models-dev-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{models-dev-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{models-dev-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{models-dev-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{models-dev-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{models-dev-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{models-dev-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{models-dev-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{models-dev-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{models-dev-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{models-dev-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{models-dev-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{models-dev-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{models-dev-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{models-dev-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{models-dev-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{models-dev-9ceax7yg.js → state-9ceax7yg.js} +0 -0
- /package/dist/chunks/{models-dev-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{models-dev-ade8csyh.js → state-ade8csyh.js} +0 -0
- /package/dist/chunks/{models-dev-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{models-dev-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{models-dev-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{models-dev-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{models-dev-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{models-dev-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{models-dev-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{models-dev-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{models-dev-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{models-dev-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{models-dev-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{models-dev-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{models-dev-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{models-dev-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{models-dev-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{models-dev-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{models-dev-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{models-dev-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{models-dev-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{models-dev-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{models-dev-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{models-dev-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{models-dev-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{models-dev-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{models-dev-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{models-dev-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{models-dev-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{models-dev-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{models-dev-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{models-dev-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{models-dev-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{models-dev-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{models-dev-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{models-dev-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{models-dev-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{models-dev-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{models-dev-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{models-dev-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{models-dev-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{models-dev-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{models-dev-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{models-dev-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{models-dev-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{models-dev-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{models-dev-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{models-dev-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{models-dev-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{models-dev-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{models-dev-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{models-dev-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{models-dev-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{models-dev-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{models-dev-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{models-dev-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{models-dev-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{models-dev-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{models-dev-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{models-dev-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{models-dev-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{models-dev-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{models-dev-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{models-dev-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{models-dev-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{models-dev-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{models-dev-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{models-dev-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{models-dev-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service91,
|
|
3
|
+
node93
|
|
4
|
+
} from "./state-y04krnxt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info29,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref5,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service90,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node92,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info29, Ref as Ref5, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
23
23
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
24
24
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
25
|
-
class
|
|
25
|
+
class Service90 extends Context.Service()("@opencode/Location") {
|
|
26
26
|
}
|
|
27
|
-
var
|
|
28
|
-
var layer = (ref) => Layer.effect(
|
|
27
|
+
var node92 = LayerNode.unbound(Service90, tags.values.location);
|
|
28
|
+
var layer = (ref) => Layer.effect(Service90, Effect.gen(function* () {
|
|
29
29
|
const fs = yield* FSUtil.Service;
|
|
30
|
-
const project = yield*
|
|
30
|
+
const project = yield* Service91;
|
|
31
31
|
const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
|
|
32
32
|
const resolved = yield* project.resolve(ref.directory, { persist });
|
|
33
|
-
return
|
|
33
|
+
return Service90.of({
|
|
34
34
|
directory: ref.directory,
|
|
35
35
|
workspaceID: ref.workspaceID,
|
|
36
36
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service89, Effect.gen(function* () {
|
|
|
38
38
|
});
|
|
39
39
|
}));
|
|
40
40
|
var boundNode2 = (ref) => makeLocationNode({
|
|
41
|
-
service:
|
|
41
|
+
service: Service90,
|
|
42
42
|
layer: layer(ref),
|
|
43
|
-
deps: [FSUtil.node,
|
|
43
|
+
deps: [FSUtil.node, node93]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Info29, Ref5, response2, Service90, node92, boundNode2, exports_location };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make34,
|
|
14
|
+
node: () => node79,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make34 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node79 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make34, RegistryService2, registry3, registryNode2, node79, exports_driver };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-mqenmh3d.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make16 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make15 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make16();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make16, VLLMPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node92
|
|
4
|
+
} from "./state-a3p7gvf1.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make32,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-q5bk3gvt.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
@@ -25,10 +25,10 @@ class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
28
|
+
const location = yield* Service90;
|
|
29
29
|
return Service36.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make32({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make32({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var node39 = makeLocationNode({ service: Service36, layer, deps: [Global.node,
|
|
63
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node92] });
|
|
64
64
|
|
|
65
65
|
export { Service36, node39, exports_builtins };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load7
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-4qk9sjk2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native2,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service82,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured11,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer29,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node84,
|
|
23
23
|
testLayer: () => testLayer4
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -50,14 +50,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
50
50
|
class Native2 extends Context.Service()("@opencode/Watcher/Native") {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service82 extends Context.Service()("@opencode/Watcher") {
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var layer29 = (options) => Layer.effect(Service82, Effect.gen(function* () {
|
|
59
59
|
if (options?.enabled === false) {
|
|
60
|
-
return
|
|
60
|
+
return Service82.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
61
61
|
}
|
|
62
62
|
const native = yield* Native2;
|
|
63
63
|
const watchers = yield* RcMap.make({
|
|
@@ -98,7 +98,7 @@ var layer28 = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
|
98
98
|
return Stream.fromSubscription(subscription);
|
|
99
99
|
}));
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return Service82.of({ subscribe });
|
|
102
102
|
}));
|
|
103
103
|
var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
104
104
|
const subscriptions = [];
|
|
@@ -122,9 +122,9 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
|
122
122
|
};
|
|
123
123
|
})
|
|
124
124
|
});
|
|
125
|
-
const context = yield* Layer.build(
|
|
125
|
+
const context = yield* Layer.build(layer29().pipe(Layer.provide(Layer.succeed(Native2, native))));
|
|
126
126
|
const test = Test3.of({
|
|
127
|
-
subscribe: Context.get(context,
|
|
127
|
+
subscribe: Context.get(context, Service82).subscribe,
|
|
128
128
|
emit: (update) => Effect.sync(() => {
|
|
129
129
|
const target = path.resolve(update.path);
|
|
130
130
|
active.forEach((matches, publish) => {
|
|
@@ -134,7 +134,7 @@ var testLayer4 = Layer.effectContext(Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
136
136
|
});
|
|
137
|
-
return Context.empty().pipe(Context.add(
|
|
137
|
+
return Context.empty().pipe(Context.add(Service82, test), Context.add(Test3, test));
|
|
138
138
|
}));
|
|
139
139
|
var nativeLayer2 = Layer.succeed(Native2, Native2.of({
|
|
140
140
|
subscribe: (input) => {
|
|
@@ -159,10 +159,10 @@ var nativeLayer2 = Layer.succeed(Native2, Native2.of({
|
|
|
159
159
|
}
|
|
160
160
|
}));
|
|
161
161
|
var nativeNode = makeGlobalNode({ service: Native2, layer: nativeLayer2, deps: [] });
|
|
162
|
-
function
|
|
163
|
-
return makeGlobalNode({ service:
|
|
162
|
+
function configured11(options) {
|
|
163
|
+
return makeGlobalNode({ service: Service82, layer: layer29(options), deps: [nativeNode] });
|
|
164
164
|
}
|
|
165
|
-
var
|
|
165
|
+
var node84 = configured11();
|
|
166
166
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
167
167
|
if (!native || !backend) {
|
|
168
168
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -182,4 +182,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
182
182
|
}).pipe(Effect.as(undefined))));
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
export { hasNativeBinding2, Native2,
|
|
185
|
+
export { hasNativeBinding2, Native2, Service82, Test3, layer29, testLayer4, nativeLayer2, configured11, node84, exports_watcher };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service94,
|
|
3
|
+
node96
|
|
4
|
+
} from "./state-w4n8krtt.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service90,
|
|
10
|
+
node92
|
|
11
|
+
} from "./state-a3p7gvf1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service73,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node74
|
|
16
|
+
} from "./state-bjbd0zk3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
27
|
+
ID: () => ID6,
|
|
28
|
+
Info: () => Info5,
|
|
29
29
|
NotFoundError: () => NotFoundError4,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
32
|
-
UpdateInput: () =>
|
|
33
|
-
node: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
|
+
UpdateInput: () => UpdateInput2,
|
|
33
|
+
node: () => node21
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
42
|
+
var ID6 = Pty.ID;
|
|
43
|
+
var Info5 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
|
+
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
47
|
class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
-
ptyID:
|
|
48
|
+
ptyID: ID6
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service94;
|
|
61
|
+
const location = yield* Service90;
|
|
62
|
+
const shell = yield* Service73;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID6.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -255,12 +255,12 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
});
|
|
258
|
-
return
|
|
258
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
259
259
|
}));
|
|
260
|
-
var
|
|
261
|
-
service:
|
|
260
|
+
var node21 = makeLocationNode({
|
|
261
|
+
service: Service19,
|
|
262
262
|
layer,
|
|
263
|
-
deps: [
|
|
263
|
+
deps: [node96, node92, node74]
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
export {
|
|
266
|
+
export { ID6, Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service19, node21, exports_pty, Event2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service90
|
|
6
|
+
} from "./state-a3p7gvf1.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3,
|
|
9
9
|
exists2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
12
|
makeFiles2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-rgc9cx3e.js";
|
|
14
14
|
import {
|
|
15
15
|
makeMemoryDriver2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-twssxy5n.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./state-vh266b4c.js";
|
|
20
20
|
import {
|
|
21
21
|
invocation2,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service67
|
|
23
|
+
} from "./state-4m38r76j.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service18
|
|
26
|
+
} from "./state-89j9ffww.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service11
|
|
29
|
+
} from "./state-mzfc0fgk.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
uri2,
|
|
33
33
|
isUri2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
Service52
|
|
35
|
+
} from "./state-3vteg2f2.js";
|
|
36
36
|
import {
|
|
37
37
|
isSafeSegment2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-3adw4bt5.js";
|
|
39
39
|
import {
|
|
40
40
|
BinaryFileError2,
|
|
41
41
|
MediaIngestLimitError2,
|
|
@@ -45,27 +45,27 @@ import {
|
|
|
45
45
|
FileContent2,
|
|
46
46
|
TextPage2,
|
|
47
47
|
ListPage2,
|
|
48
|
-
|
|
48
|
+
Service42,
|
|
49
49
|
read2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./state-vvg3ktg6.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./state-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/tool/plugin/read.ts
|
|
56
56
|
var exports_read = {};
|
|
57
57
|
__export(exports_read, {
|
|
58
|
-
Input: () =>
|
|
59
|
-
Plugin: () =>
|
|
58
|
+
Input: () => Input6,
|
|
59
|
+
Plugin: () => Plugin46,
|
|
60
60
|
ReadTool: () => exports_read,
|
|
61
|
-
name: () =>
|
|
61
|
+
name: () => name6,
|
|
62
62
|
toModelContent: () => toModelContent3
|
|
63
63
|
});
|
|
64
64
|
import { basename, dirname, extname, isAbsolute, join, relative } from "path";
|
|
65
65
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
66
66
|
import { Effect, Schema } from "effect";
|
|
67
67
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
68
|
-
var
|
|
68
|
+
var name6 = "read";
|
|
69
69
|
var FILENAME = "AGENTS.md";
|
|
70
70
|
var LocationInput = Schema.Struct({
|
|
71
71
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -76,24 +76,24 @@ var LocationInput = Schema.Struct({
|
|
|
76
76
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
|
-
var
|
|
79
|
+
var Input6 = LocationInput;
|
|
80
80
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
81
|
-
var
|
|
81
|
+
var Plugin46 = {
|
|
82
82
|
id: "opencode.tool.read",
|
|
83
83
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
84
|
-
const reader = yield*
|
|
85
|
-
const access = yield*
|
|
86
|
-
const permission = yield*
|
|
87
|
-
const skills = yield*
|
|
88
|
-
const sessionInstructions = yield*
|
|
84
|
+
const reader = yield* Service42;
|
|
85
|
+
const access = yield* Service18;
|
|
86
|
+
const permission = yield* Service67;
|
|
87
|
+
const skills = yield* Service52;
|
|
88
|
+
const sessionInstructions = yield* Service11;
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
|
-
const location = yield*
|
|
91
|
-
const environment = yield*
|
|
90
|
+
const location = yield* Service90;
|
|
91
|
+
const environment = yield* Service65;
|
|
92
92
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
93
|
-
name:
|
|
93
|
+
name: name6,
|
|
94
94
|
options: { codemode: false },
|
|
95
95
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
96
|
-
input:
|
|
96
|
+
input: Input6,
|
|
97
97
|
output: Output,
|
|
98
98
|
execute: (input, context) => {
|
|
99
99
|
return Effect.gen(function* () {
|
|
@@ -103,7 +103,7 @@ var Plugin40 = {
|
|
|
103
103
|
const parsed = parseSkillUri(input.path);
|
|
104
104
|
if (!parsed)
|
|
105
105
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
106
|
-
const id =
|
|
106
|
+
const id = ID10.make(parsed.id);
|
|
107
107
|
const skill = yield* skills.get(id);
|
|
108
108
|
if (!skill || !isUri2(skill.path))
|
|
109
109
|
return yield* new ToolFailure({ message: `File not found: ${input.path}` });
|
|
@@ -335,4 +335,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
335
335
|
`);
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
export {
|
|
338
|
+
export { name6, Input6, Plugin46, toModelContent3, exports_read };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service94,
|
|
3
|
+
node96
|
|
4
|
+
} from "./state-w4n8krtt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,15 +12,15 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
19
|
ID: () => ID19,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info27,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError14,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
25
|
Service: () => Service87,
|
|
26
26
|
State: () => State3,
|
|
@@ -33,10 +33,10 @@ __export(exports_form, {
|
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID19 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info27 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -44,7 +44,7 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError14 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
48
|
id: ID19
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
@@ -82,13 +82,13 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
82
82
|
class Service87 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
84
|
var layer30 = Layer.effect(Service87, Effect.gen(function* () {
|
|
85
|
-
const bus = yield*
|
|
85
|
+
const bus = yield* Service94;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError14({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
93
|
const id = input.id ?? ID19.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
@@ -164,7 +164,7 @@ var layer30 = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
165
|
return Service87.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var node89 = makeLocationNode({ service: Service87, layer: layer30, deps: [
|
|
167
|
+
var node89 = makeLocationNode({ service: Service87, layer: layer30, deps: [node96] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID19,
|
|
319
|
+
export { ID19, Info27, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError14, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service87, layer30, node89, validateAnswer2, validateFields2, exports_form, Event18 };
|