@opencode/core 0.0.0-beta-19500 → 0.0.0-dev-19274
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -74
- package/dist/catalog.js +83 -84
- package/dist/chunks/{model-resolver-6jcw83n3.js → file-008dah4r.js} +47 -51
- package/dist/chunks/{model-resolver-f8zs2stk.js → file-04bp4d3m.js} +11 -11
- package/dist/chunks/{model-resolver-t7n9q6bq.js → file-06x8he3q.js} +4 -4
- package/dist/chunks/{model-resolver-h3k867zz.js → file-0djf8xh9.js} +3 -3
- package/dist/chunks/{model-resolver-s1vvg2cq.js → file-0ea3rya4.js} +7 -7
- package/dist/chunks/{model-resolver-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-7z7az0f5.js → file-0rpg7gzc.js} +4 -4
- package/dist/chunks/{model-resolver-581kfnqp.js → file-0rvyveqe.js} +18 -18
- package/dist/chunks/{model-resolver-jwazx1ed.js → file-1ajj2c3r.js} +36 -36
- package/dist/chunks/{model-resolver-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-4y66k410.js → file-1dfhrqqs.js} +3 -11
- package/dist/chunks/{model-resolver-mhdwrqr0.js → file-1ndzzahp.js} +3 -3
- package/dist/chunks/{model-resolver-q87s0xy8.js → file-1q2nd9f6.js} +63 -63
- package/dist/chunks/{model-resolver-vxp3kcg3.js → file-1q5awywt.js} +5 -5
- package/dist/chunks/{model-resolver-g6fkknnq.js → file-1s5k653j.js} +29 -29
- package/dist/chunks/{model-resolver-bq4vzaks.js → file-1xb0henf.js} +46 -46
- package/dist/chunks/{model-resolver-mwnd972w.js → file-1xzdp18p.js} +35 -35
- package/dist/chunks/{model-resolver-1ygqh575.js → file-1ygqh575.js} +2 -2
- package/dist/chunks/{model-resolver-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-0jwvfzzp.js → file-25kqvm6v.js} +25 -27
- package/dist/chunks/{model-resolver-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-818pfwc9.js → file-2bdsn8gv.js} +11 -11
- package/dist/chunks/{model-resolver-qa6ytjmd.js → file-2bk70kd1.js} +13 -13
- package/dist/chunks/{model-resolver-p52p41ww.js → file-2cws46q3.js} +14 -14
- package/dist/chunks/{model-resolver-rj9a996t.js → file-2erbc7c4.js} +9 -9
- package/dist/chunks/{model-resolver-8p2zvf0d.js → file-2f1k6btd.js} +76 -107
- package/dist/chunks/{model-resolver-1gqabzhy.js → file-2j4ksk9q.js} +18 -19
- package/dist/chunks/{model-resolver-trk3y68z.js → file-2k29q1p2.js} +59 -59
- package/dist/chunks/{model-resolver-3tq8bdpm.js → file-2nck4hg8.js} +13 -13
- package/dist/chunks/{model-resolver-64at0fy0.js → file-2nhrma10.js} +8 -8
- package/dist/chunks/file-2nz9k5ke.js +247 -0
- package/dist/chunks/{model-resolver-g53r2hff.js → file-2qz021p1.js} +40 -40
- package/dist/chunks/{model-resolver-atny4vj3.js → file-2tv38tk1.js} +11 -11
- package/dist/chunks/{model-resolver-vvccsdf3.js → file-3c1tgrea.js} +6 -6
- package/dist/chunks/{model-resolver-d2aac7k2.js → file-3cz8rj72.js} +5 -5
- package/dist/chunks/{model-resolver-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3q1jyqhd.js → file-3jp54z3r.js} +1 -1
- package/dist/chunks/{model-resolver-a2cfvfg1.js → file-3m095h8d.js} +20 -20
- package/dist/chunks/{model-resolver-mb5a7wwz.js → file-3nj27wxf.js} +10 -10
- package/dist/chunks/{model-resolver-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-xdk7tsve.js → file-3trbxeqx.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-e86807kd.js → file-3wj4wm80.js} +83 -86
- package/dist/chunks/{model-resolver-ggj3dvvh.js → file-3x6z6rsx.js} +12 -12
- package/dist/chunks/{model-resolver-aztjpt51.js → file-4g3hne3q.js} +20 -23
- package/dist/chunks/{model-resolver-djqd3v5p.js → file-4hszn1mb.js} +43 -94
- package/dist/chunks/{model-resolver-0vvagabw.js → file-4qfh6hxk.js} +27 -27
- package/dist/chunks/file-4v7qdvcn.js +18 -0
- package/dist/chunks/{model-resolver-8abbabsk.js → file-4vf981v9.js} +24 -24
- package/dist/chunks/{model-resolver-70xr52zc.js → file-4w7x8wv5.js} +30 -30
- package/dist/chunks/{model-resolver-zpkbxaqd.js → file-4x6ztkk5.js} +5 -7
- package/dist/chunks/{model-resolver-9stj6zpb.js → file-4znd88gj.js} +32 -32
- package/dist/chunks/{model-resolver-q91t8a1k.js → file-51kk6f2e.js} +19 -19
- package/dist/chunks/{model-resolver-qn8ypmg1.js → file-58ax6zm2.js} +18 -18
- package/dist/chunks/{model-resolver-d880b0y6.js → file-5965tgm9.js} +30 -30
- package/dist/chunks/{model-resolver-a1bz86dw.js → file-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-s5wnyv46.js → file-5vc2whd9.js} +30 -30
- package/dist/chunks/{model-resolver-s72x8wcp.js → file-5vvax2qg.js} +23 -23
- package/dist/chunks/{model-resolver-prp52c5q.js → file-5xhpatkf.js} +11 -11
- package/dist/chunks/{model-resolver-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-5v85fpgj.js → file-67e9xs01.js} +25 -25
- package/dist/chunks/{model-resolver-07cx4w7f.js → file-6c7ejz51.js} +4 -4
- package/dist/chunks/{model-resolver-98a0b00a.js → file-6fdj6kdr.js} +4 -4
- package/dist/chunks/{model-resolver-k6556a45.js → file-6kgc56n8.js} +6 -6
- package/dist/chunks/{model-resolver-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-kx6yd4vg.js → file-79175vp8.js} +35 -35
- package/dist/chunks/{model-resolver-kbn8346a.js → file-79zsnxkc.js} +11 -11
- package/dist/chunks/{model-resolver-vncycja5.js → file-7atngb88.js} +4 -4
- package/dist/chunks/{model-resolver-bcbgj7m0.js → file-7be1f342.js} +18 -18
- package/dist/chunks/{model-resolver-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-2k8khapm.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-789bpvq4.js → file-7g79e5pr.js} +11 -11
- package/dist/chunks/{model-resolver-y3fea29m.js → file-7sgb7w3n.js} +32 -92
- package/dist/chunks/{model-resolver-z2kz5700.js → file-7xdgscg1.js} +17 -17
- package/dist/chunks/{model-resolver-0hf448nj.js → file-81pg61w1.js} +8 -25
- package/dist/chunks/{model-resolver-rsym84ch.js → file-81swgkk7.js} +7 -7
- package/dist/chunks/{model-resolver-vy514hgv.js → file-82594dam.js} +9 -9
- package/dist/chunks/{model-resolver-1ptmpf20.js → file-84tssp1s.js} +9 -14
- package/dist/chunks/{model-resolver-6fvs6bkh.js → file-8bpbp254.js} +43 -43
- package/dist/chunks/{model-resolver-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-f8xc4yre.js → file-8gbf9msb.js} +29 -29
- package/dist/chunks/{model-resolver-mg5mchpt.js → file-8gkhtxwv.js} +28 -28
- package/dist/chunks/{model-resolver-htk69tte.js → file-8ncz7km3.js} +7 -7
- package/dist/chunks/{model-resolver-ck6gmqc6.js → file-8tef8d4h.js} +43 -43
- package/dist/chunks/{model-resolver-h2fnsspk.js → file-94sf61n7.js} +19 -44
- package/dist/chunks/{model-resolver-75evgfh8.js → file-976ysedg.js} +15 -15
- package/dist/chunks/{model-resolver-26jcn8kh.js → file-9bey2zpa.js} +12 -12
- package/dist/chunks/{model-resolver-x1avke2d.js → file-9eqtwdne.js} +97 -92
- package/dist/chunks/{model-resolver-0334ef0p.js → file-9k2v62xn.js} +1 -1
- package/dist/chunks/file-9phvn7ns.js +71 -0
- package/dist/chunks/{model-resolver-4grgn5v0.js → file-a1d2hteq.js} +18 -18
- package/dist/chunks/{model-resolver-4vcrnpx2.js → file-a1tpkmh4.js} +3 -13
- package/dist/chunks/{model-resolver-hwap2x7x.js → file-a2zsx8ap.js} +25 -25
- package/dist/chunks/{model-resolver-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-fvf9sjjr.js → file-ab8td0yc.js} +49 -47
- package/dist/chunks/{model-resolver-03s1nxke.js → file-agg557zn.js} +8 -8
- package/dist/chunks/{model-resolver-r532bney.js → file-anvxjef4.js} +4 -4
- package/dist/chunks/{model-resolver-2verbhpp.js → file-arm49q9k.js} +35 -35
- package/dist/chunks/{model-resolver-gkv3re89.js → file-aw3yg1a6.js} +11 -11
- package/dist/chunks/{model-resolver-mz65vdgf.js → file-axh6m6j7.js} +18 -18
- package/dist/chunks/{model-resolver-g190xswt.js → file-axmvebxj.js} +21 -21
- package/dist/chunks/{model-resolver-b22gj5xn.js → file-b4n85fcv.js} +26 -26
- package/dist/chunks/{model-resolver-mz60zy6e.js → file-b4nrwvyj.js} +29 -28
- package/dist/chunks/{model-resolver-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-121k57vw.js → file-bby00dsd.js} +8 -8
- package/dist/chunks/{model-resolver-dktryzc1.js → file-bdbwpwhn.js} +26 -27
- package/dist/chunks/{model-resolver-xs8g0vg3.js → file-bdkz1q2y.js} +6 -6
- package/dist/chunks/{model-resolver-e6fygs6z.js → file-bge4fr1z.js} +25 -25
- package/dist/chunks/{model-resolver-1zkr721w.js → file-bjpmp57t.js} +13 -13
- package/dist/chunks/{model-resolver-87qnmf38.js → file-bkqrvamq.js} +36 -36
- package/dist/chunks/{model-resolver-zf0svfz5.js → file-c6jw9d6c.js} +16 -16
- package/dist/chunks/{model-resolver-csz41kxq.js → file-c7m8954m.js} +5 -5
- package/dist/chunks/{model-resolver-8y92rm17.js → file-c9kt1fwd.js} +7 -7
- package/dist/chunks/{model-resolver-kk8h1mek.js → file-cny5rd43.js} +8 -8
- package/dist/chunks/{model-resolver-z7dhx1kn.js → file-cp5f26bt.js} +24 -24
- package/dist/chunks/{model-resolver-1hc11dc4.js → file-csf2jhsg.js} +4 -4
- package/dist/chunks/{model-resolver-hwxt52gm.js → file-csyt93pz.js} +5 -5
- package/dist/chunks/{model-resolver-8yrnm0fa.js → file-cz12sndv.js} +29 -29
- package/dist/chunks/{model-resolver-j12k6d1r.js → file-d0chnedg.js} +29 -29
- package/dist/chunks/{model-resolver-0mywzg06.js → file-d8drewm4.js} +28 -28
- package/dist/chunks/{model-resolver-8p4f9s12.js → file-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-dpkg50ah.js → file-dpkg50ah.js} +1 -1
- package/dist/chunks/{model-resolver-qwkytnft.js → file-dsf3jx99.js} +30 -9
- package/dist/chunks/{model-resolver-j7wq2tw5.js → file-dv250zvr.js} +3 -3
- package/dist/chunks/{model-resolver-t6gatd88.js → file-dvmnmd5k.js} +50 -50
- package/dist/chunks/{model-resolver-942176fc.js → file-dw8dc0pw.js} +11 -11
- package/dist/chunks/{model-resolver-e82z9tr0.js → file-e82z9tr0.js} +1 -1
- package/dist/chunks/{model-resolver-rtkh6q4b.js → file-e9vyr379.js} +11 -11
- package/dist/chunks/{model-resolver-mrsqtdpn.js → file-ec2j1krk.js} +36 -36
- package/dist/chunks/file-eex81ar0.js +272 -0
- package/dist/chunks/{model-resolver-tp3xxvx5.js → file-em6n8dz9.js} +48 -48
- package/dist/chunks/{model-resolver-z2b5d6zb.js → file-endpbns8.js} +6 -6
- package/dist/chunks/{model-resolver-7fys8geh.js → file-enk99f8n.js} +16 -16
- package/dist/chunks/{model-resolver-9rzqjwaz.js → file-esdnemd6.js} +1 -1
- package/dist/chunks/{model-resolver-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-t9e5d74p.js → file-exww9xwg.js} +9 -9
- package/dist/chunks/{model-resolver-1acjjqhc.js → file-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-x6geafsy.js → file-fq1h1v14.js} +3 -3
- package/dist/chunks/{model-resolver-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-0wbgnjtz.js → file-g9ew5f51.js} +2 -2
- package/dist/chunks/{model-resolver-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-37s12vcn.js → file-gdrhyezn.js} +5 -5
- package/dist/chunks/{model-resolver-gdvy8fx6.js → file-gdvy8fx6.js} +1 -1
- package/dist/chunks/{model-resolver-h7ygw6q4.js → file-gsx0ryk4.js} +9 -9
- package/dist/chunks/{model-resolver-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-dqyg47hv.js → file-h2gyv3sg.js} +1 -1
- package/dist/chunks/{model-resolver-jbe1bvhn.js → file-h2wxq9m6.js} +27 -27
- package/dist/chunks/{model-resolver-yjv2keaj.js → file-h5pnkca0.js} +68 -42
- package/dist/chunks/file-h5wzpkcb.js +22 -0
- package/dist/chunks/{model-resolver-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-f828m53h.js → file-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-psjem9sa.js → file-hmtfd8e7.js} +11 -11
- package/dist/chunks/{model-resolver-csz4k5km.js → file-hw2gt29t.js} +18 -18
- package/dist/chunks/{model-resolver-8p8b376s.js → file-hznfad64.js} +25 -25
- package/dist/chunks/{model-resolver-erhkyex8.js → file-hzvfpvak.js} +4 -4
- package/dist/chunks/{model-resolver-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-0k7hqrra.js → file-j5e99w94.js} +24 -24
- package/dist/chunks/{model-resolver-rd8pgjwx.js → file-j8sknp13.js} +20 -20
- package/dist/chunks/{model-resolver-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{model-resolver-z2qr9twd.js → file-jbax583q.js} +1 -1
- package/dist/chunks/{model-resolver-6wxzvafn.js → file-jqcaya3d.js} +11 -11
- package/dist/chunks/{model-resolver-pqg5898n.js → file-jqcc8e1d.js} +12 -12
- package/dist/chunks/{model-resolver-s534qmrw.js → file-jrrn2k62.js} +4 -4
- package/dist/chunks/{model-resolver-3nxeqbj3.js → file-jypsjmxy.js} +16 -17
- package/dist/chunks/{model-resolver-pvvs7m8f.js → file-kbqxyd6c.js} +13 -13
- package/dist/chunks/{model-resolver-27596drg.js → file-kd3m4z14.js} +28 -28
- package/dist/chunks/{model-resolver-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-m4hypjkm.js → file-kggrcpgh.js} +14 -14
- package/dist/chunks/{model-resolver-gwfcx2m0.js → file-knac466s.js} +50 -24
- package/dist/chunks/{model-resolver-x940zq77.js → file-kt5w8vxh.js} +10 -10
- package/dist/chunks/{model-resolver-cfpkc3c9.js → file-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-gw82nkc3.js → file-m2shdzh0.js} +41 -37
- package/dist/chunks/{model-resolver-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-mhkvc446.js → file-mhkvc446.js} +1 -1
- package/dist/chunks/file-mkcjrzeh.js +15 -0
- package/dist/chunks/{model-resolver-021ffpa0.js → file-mq2071pb.js} +19 -19
- package/dist/chunks/{model-resolver-g5rnekq0.js → file-mrw4weg4.js} +5 -5
- package/dist/chunks/{model-resolver-y94qkjj7.js → file-mvfjcd1q.js} +7 -7
- package/dist/chunks/{model-resolver-n37c4crj.js → file-n37c4crj.js} +2 -2
- package/dist/chunks/{model-resolver-rctyp4y4.js → file-n3wgj171.js} +28 -29
- package/dist/chunks/{model-resolver-shqnjwtb.js → file-n5qmychr.js} +19 -19
- package/dist/chunks/{model-resolver-ydgy0jv4.js → file-ne3jdqry.js} +4 -4
- package/dist/chunks/{model-resolver-3kafhsr8.js → file-nrzk1d2g.js} +22 -22
- package/dist/chunks/{model-resolver-cbg8bv93.js → file-nx4935gj.js} +10 -10
- package/dist/chunks/{model-resolver-k6h76ggr.js → file-nz54bs3w.js} +21 -21
- package/dist/chunks/{model-resolver-23sxaqwc.js → file-pjedbq3k.js} +6 -6
- package/dist/chunks/{model-resolver-5v1cn1j1.js → file-pjsmk15p.js} +5 -5
- package/dist/chunks/{model-resolver-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/file-pq4st5kv.js +341 -0
- package/dist/chunks/{model-resolver-drknmmyh.js → file-pzh16mkn.js} +9 -9
- package/dist/chunks/{model-resolver-dv1qgsyq.js → file-q26tgv94.js} +8 -8
- package/dist/chunks/{model-resolver-b77arecc.js → file-q73rq2bt.js} +28 -28
- package/dist/chunks/{model-resolver-74w3tna1.js → file-qf00j6dv.js} +20 -20
- package/dist/chunks/{model-resolver-7cwz0yjz.js → file-qrbavdvc.js} +15 -15
- package/dist/chunks/{model-resolver-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-kxpygcw9.js → file-qz49fwgp.js} +6 -6
- package/dist/chunks/{model-resolver-3gjfrb28.js → file-ra8xed55.js} +28 -28
- package/dist/chunks/{model-resolver-02nrjc1r.js → file-rhjbct0v.js} +6 -6
- package/dist/chunks/{model-resolver-0pm1m3w8.js → file-rkh7tb58.js} +10 -10
- package/dist/chunks/{model-resolver-wj9n5p3k.js → file-rq8fnevv.js} +5 -5
- package/dist/chunks/{model-resolver-98kgw1j6.js → file-rs226bz6.js} +30 -5
- package/dist/chunks/{model-resolver-fbf46f8y.js → file-rsz0a70p.js} +302 -302
- package/dist/chunks/{model-resolver-3hgg98pr.js → file-rt7tcdqd.js} +35 -35
- package/dist/chunks/{model-resolver-wgf958fy.js → file-s0vw0vjm.js} +30 -30
- package/dist/chunks/{model-resolver-pm4pe4yk.js → file-s2tycd90.js} +29 -29
- package/dist/chunks/{model-resolver-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-0g6mfyfr.js → file-s4m5whm3.js} +50 -50
- package/dist/chunks/{model-resolver-s2whfhf8.js → file-s52qk724.js} +27 -27
- package/dist/chunks/{model-resolver-079cv0ze.js → file-shsgghb2.js} +24 -24
- package/dist/chunks/{model-resolver-6xt4p4wv.js → file-sq4v2gnf.js} +9 -9
- package/dist/chunks/{model-resolver-zceb237h.js → file-swasttjx.js} +12 -12
- package/dist/chunks/{model-resolver-t82489yp.js → file-sxhqw0xy.js} +37 -37
- package/dist/chunks/{model-resolver-twy35tz0.js → file-t0x5rdq8.js} +9 -9
- package/dist/chunks/{model-resolver-djmbsxn3.js → file-t1n4dhg9.js} +9 -13
- package/dist/chunks/{model-resolver-2cshb6bs.js → file-t3g2ccp6.js} +26 -26
- package/dist/chunks/{model-resolver-rq6dswfj.js → file-t5qb37t7.js} +7 -7
- package/dist/chunks/{model-resolver-6kyz0a76.js → file-t9sxjxdg.js} +14 -29
- package/dist/chunks/{model-resolver-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-am89cgs6.js → file-tegrjk77.js} +14 -21
- package/dist/chunks/{model-resolver-gv6a8nnw.js → file-th5km1p3.js} +5 -5
- package/dist/chunks/{model-resolver-htx7jtvk.js → file-tk6q6kp1.js} +19 -19
- package/dist/chunks/{model-resolver-qyxt0tsw.js → file-ttqfmzkf.js} +4 -4
- package/dist/chunks/{model-resolver-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-xg9t41r3.js → file-v4b36nj3.js} +2 -3
- package/dist/chunks/file-vabb23s0.js +35 -0
- package/dist/chunks/{model-resolver-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-ewbqqj16.js → file-vg6tfdkt.js} +16 -16
- package/dist/chunks/{model-resolver-hya8ywrc.js → file-vjknh09n.js} +72 -72
- package/dist/chunks/{model-resolver-qn4ba14w.js → file-vmq7ehpy.js} +5 -5
- package/dist/chunks/{model-resolver-6hzp91we.js → file-vr4b7vmt.js} +7 -7
- package/dist/chunks/{model-resolver-4kmhmgeg.js → file-vvxeqa35.js} +154 -157
- package/dist/chunks/{model-resolver-qdcfe15v.js → file-vypqtakx.js} +1 -1
- package/dist/chunks/{model-resolver-774n8a20.js → file-vyrr568v.js} +9 -9
- package/dist/chunks/{model-resolver-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wf4bebac.js → file-w44msefy.js} +16 -16
- package/dist/chunks/{model-resolver-sdcezsxk.js → file-w59r8svm.js} +11 -11
- package/dist/chunks/{model-resolver-r9ghxtsk.js → file-w5yv7xxz.js} +3 -3
- package/dist/chunks/{model-resolver-h4q9s1ny.js → file-w645sbyz.js} +17 -17
- package/dist/chunks/{model-resolver-gwnxf6ch.js → file-w6w0btqv.js} +6 -6
- package/dist/chunks/{model-resolver-epzffrx8.js → file-w85wdfaw.js} +25 -25
- package/dist/chunks/{model-resolver-fxqygnfa.js → file-wcge806m.js} +4 -4
- package/dist/chunks/{model-resolver-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-87mnny1s.js → file-wdatz8ry.js} +16 -16
- package/dist/chunks/{model-resolver-vnv2t9ht.js → file-wea26x67.js} +4 -4
- package/dist/chunks/{model-resolver-rav9e4bf.js → file-wfpsx1me.js} +8 -8
- package/dist/chunks/{model-resolver-sph8ksss.js → file-wkpvzz54.js} +9 -9
- package/dist/chunks/{model-resolver-aczsg4vg.js → file-wwegy27d.js} +27 -39
- package/dist/chunks/{model-resolver-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-r9mregkx.js → file-x43y2vfs.js} +3 -3
- package/dist/chunks/{model-resolver-0sp60s5d.js → file-x513e6jx.js} +20 -20
- package/dist/chunks/{model-resolver-9y7khav7.js → file-xbrgdg50.js} +15 -15
- package/dist/chunks/{model-resolver-fdc0z0c3.js → file-xcp573p8.js} +2 -2
- package/dist/chunks/{model-resolver-dkck3j8g.js → file-xed1dtdk.js} +8 -8
- package/dist/chunks/file-xrsqh21y.js +4 -0
- package/dist/chunks/{model-resolver-kvffe9p6.js → file-y0bkwhrp.js} +18 -19
- package/dist/chunks/{model-resolver-spr8pf2r.js → file-y0kn4hqx.js} +9 -9
- package/dist/chunks/{model-resolver-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-4bfepadc.js → file-y2800yn9.js} +4 -4
- package/dist/chunks/{model-resolver-a4vx34cq.js → file-y5cw24ds.js} +14 -14
- package/dist/chunks/file-y7egkzp6.js +55 -0
- package/dist/chunks/{model-resolver-vhj1rs6k.js → file-ya1b4y87.js} +22 -25
- package/dist/chunks/{model-resolver-nv6fkpt4.js → file-yca9gk6f.js} +21 -20
- package/dist/chunks/{model-resolver-xtzwr8pq.js → file-yckky8df.js} +8 -9
- package/dist/chunks/{model-resolver-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-me88hgte.js → file-z3syage6.js} +23 -23
- package/dist/chunks/{model-resolver-24e6cc3r.js → file-z9s268w6.js} +9 -12
- package/dist/chunks/{model-resolver-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-ryr25ayn.js → file-zv0544jz.js} +4 -4
- package/dist/chunks/{model-resolver-d2fv866c.js → file-zx86nq6m.js} +13 -13
- package/dist/chunks/{model-resolver-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -82
- package/dist/config/discovery.js +77 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -116
- package/dist/config/plugin/command.js +207 -208
- package/dist/config/plugin/compaction.js +155 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -118
- package/dist/config/plugin/image.js +115 -116
- package/dist/config/plugin/instruction.js +85 -86
- package/dist/config/plugin/location-watcher.js +117 -118
- package/dist/config/plugin/mcp.js +124 -125
- package/dist/config/plugin/policy.js +114 -115
- package/dist/config/plugin/provider.js +113 -114
- package/dist/config/plugin/reference.js +117 -118
- package/dist/config/plugin/shell.js +118 -119
- package/dist/config/plugin/skill-file.js +97 -98
- package/dist/config/plugin/skill.js +134 -135
- package/dist/config/plugin/snapshot.js +115 -116
- package/dist/config/plugin/source.js +115 -116
- package/dist/config/plugin/tool-output.js +117 -118
- package/dist/config/plugin/websearch.js +115 -116
- package/dist/config/plugin/worktree.js +118 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -84
- package/dist/database/database.js +68 -69
- 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.gen.js +47 -48
- package/dist/database/migration.js +49 -50
- 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 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -91
- 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 +72 -73
- package/dist/file-access.js +99 -100
- package/dist/file-mutation.js +89 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -101
- package/dist/form.js +82 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -83
- package/dist/generate.js +93 -94
- package/dist/git.js +7 -7
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +83 -84
- package/dist/instructions/builtins.js +82 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -83
- package/dist/job.js +77 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -72
- package/dist/location-activity.js +133 -134
- package/dist/location-mutation.js +99 -100
- package/dist/location-service-map.js +83 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -83
- package/dist/mcp/client.js +86 -87
- package/dist/mcp/index.js +103 -104
- package/dist/mcp/instructions.js +118 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -93
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -74
- package/dist/plugin/agent.js +97 -98
- package/dist/plugin/command.js +94 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -6
- package/dist/plugin/plan.js +97 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +7 -0
- package/dist/plugin/provider/azure.js +118 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -115
- package/dist/plugin/provider/digitalocean.js +79 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -77
- package/dist/plugin/provider/lmstudio.js +115 -116
- package/dist/plugin/provider/mistral.js +7 -0
- package/dist/plugin/provider/modal.js +79 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -81
- package/dist/plugin/provider/opencode.js +76 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +5 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -116
- package/dist/plugin/provider/xai.js +77 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -157
- package/dist/plugin/sdk.js +72 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -83
- package/dist/plugin/vcs/hg.js +82 -83
- package/dist/plugin/warming.js +112 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -84
- package/dist/provider.js +7 -9
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -95
- package/dist/reference/instructions.js +84 -85
- package/dist/reference.js +84 -85
- package/dist/repository-cache.js +76 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -94
- package/dist/rpc.js +81 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -73
- package/dist/session/compaction.js +127 -128
- package/dist/session/context.js +147 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +13 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -220
- package/dist/session/execution.js +124 -125
- package/dist/session/generate.js +148 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -127
- package/dist/session/projector.js +84 -85
- package/dist/session/prompt.js +100 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -91
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -111
- package/dist/session/runner/step.js +119 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -168
- package/dist/session/shell.js +131 -132
- package/dist/session/skill.js +98 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -74
- package/dist/session/store.js +85 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -146
- package/dist/session/to-session-error.js +107 -108
- package/dist/session/transfer.js +219 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -214
- 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 +133 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +96 -97
- package/dist/skill.js +107 -108
- package/dist/snapshot.js +86 -87
- 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 +117 -118
- package/dist/tool/plugin/edit.js +111 -112
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -121
- package/dist/tool/plugin/grep.js +120 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -118
- package/dist/tool/plugin/question.js +100 -101
- package/dist/tool/plugin/read.js +121 -122
- package/dist/tool/plugin/shell.js +212 -213
- package/dist/tool/plugin/skill.js +108 -109
- package/dist/tool/plugin/subagent.js +208 -209
- package/dist/tool/plugin/webfetch.js +105 -106
- package/dist/tool/plugin/websearch.js +109 -110
- package/dist/tool/plugin/write.js +117 -118
- package/dist/tool/read-filesystem.js +96 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/aisdk-native.d.ts +2 -4
- package/dist/types/model-resolver.d.ts +3 -52
- package/dist/types/model.d.ts +0 -1
- package/dist/types/plugin/optimize.d.ts +1 -2
- package/dist/types/plugin/provider/anthropic.d.ts +1 -0
- package/dist/types/plugin/provider/mistral.d.ts +1 -0
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +4 -5
- package/dist/types/provider.d.ts +0 -2
- package/dist/types/rpc.d.ts +0 -1
- package/dist/types/session/compaction.d.ts +3 -3
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/error.d.ts +36 -0
- package/dist/types/session/history.d.ts +0 -80
- package/dist/types/session/model-request.d.ts +37 -18
- package/dist/types/session/runner/model.d.ts +0 -5
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/schema.d.ts +0 -9
- package/dist/types/session/session.d.ts +5 -5
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/store.d.ts +0 -1
- package/dist/types/session/transfer.d.ts +0 -53
- package/dist/types/session.d.ts +5 -8
- package/dist/types/v1/config/migrate.d.ts +0 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -86
- package/dist/websearch.js +82 -83
- package/dist/wellknown/plugin.js +74 -75
- package/dist/wellknown.js +79 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -92
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0wmmprtc.js +0 -260
- package/dist/chunks/model-resolver-532bqssk.js +0 -63
- package/dist/chunks/model-resolver-ghej9zy6.js +0 -228
- package/dist/chunks/model-resolver-hjw1g3kj.js +0 -247
- package/dist/chunks/model-resolver-j2k1bkn8.js +0 -22
- package/dist/chunks/model-resolver-qapv375x.js +0 -4
- package/dist/chunks/model-resolver-qdyb70sk.js +0 -18
- package/dist/chunks/model-resolver-wrjeysgp.js +0 -170
- package/dist/chunks/model-resolver-wwmx33bt.js +0 -123
- package/dist/chunks/model-resolver-y8f7s663.js +0 -13
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +0 -6
- package/dist/plugin/provider/poe.js +0 -82
- package/dist/types/database/migration/20260910120000_clear_v1_session_permission.d.ts +0 -3
- package/dist/types/plugin/provider/poe.d.ts +0 -2
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,65 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-2tv38tk1.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node81
|
|
8
|
-
} from "./model-resolver-csz4k5km.js";
|
|
8
|
+
} from "./file-hw2gt29t.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-csf2jhsg.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load2
|
|
23
|
+
} from "./file-7g79e5pr.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-3jp54z3r.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-eex81ar0.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./file-4x6ztkk5.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-c9kt1fwd.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
|
-
calculateCost2,
|
|
47
46
|
record2,
|
|
48
47
|
add2
|
|
49
|
-
} from "./
|
|
48
|
+
} from "./file-tdstcens.js";
|
|
50
49
|
import {
|
|
51
50
|
__export
|
|
52
|
-
} from "./
|
|
51
|
+
} from "./file-9rqn6x4v.js";
|
|
53
52
|
|
|
54
53
|
// src/session/compaction.ts
|
|
55
54
|
var exports_compaction2 = {};
|
|
56
55
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
56
|
+
Service: () => Service9,
|
|
58
57
|
SessionCompaction: () => exports_compaction2,
|
|
59
58
|
buildPrompt: () => buildPrompt2,
|
|
60
59
|
estimateTokens: () => estimateTokens2,
|
|
61
60
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
61
|
+
node: () => node12,
|
|
63
62
|
retainUsers: () => retainUsers2,
|
|
64
63
|
serializeToolContent: () => serializeToolContent2,
|
|
65
64
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -74,6 +73,7 @@ import {
|
|
|
74
73
|
LLMRequest,
|
|
75
74
|
Message
|
|
76
75
|
} from "@opencode/ai";
|
|
76
|
+
import { Agent } from "@opencode/schema/agent";
|
|
77
77
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
78
78
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
79
79
|
var DEFAULT_BUFFER = 20000;
|
|
@@ -88,44 +88,42 @@ var SUMMARY_TEMPLATE = `You MUST use this format for your response (you may omit
|
|
|
88
88
|
- [one or two brief sentences describing what the user is trying to accomplish]
|
|
89
89
|
|
|
90
90
|
## Requirements
|
|
91
|
-
- [constraints, preferences, requirements, and scope boundaries
|
|
91
|
+
- [constraints, preferences, requirements, and scope boundaries, or "(none)"]
|
|
92
92
|
|
|
93
93
|
## Decisions
|
|
94
94
|
- [decisions already made and why, or "(none)"]
|
|
95
95
|
|
|
96
96
|
## Work State
|
|
97
|
-
Break the objective into smaller goals and report which are completed, which are being worked on, and which are blocked.
|
|
98
97
|
### Completed
|
|
99
|
-
- [
|
|
98
|
+
- [finished work or changes made; otherwise "(none)"]
|
|
100
99
|
|
|
101
100
|
### Active
|
|
102
|
-
- [
|
|
101
|
+
- [current work, partial changes, or investigation state; otherwise "(none)"]
|
|
103
102
|
|
|
104
103
|
### Blocked
|
|
105
|
-
- [
|
|
104
|
+
- [blockers, failing commands, or unknowns; otherwise "(none)"]
|
|
106
105
|
|
|
107
106
|
## Next Move
|
|
108
107
|
1. [ordered list of next actions, or "(none)"]
|
|
109
108
|
|
|
110
109
|
## Relevant Files
|
|
111
|
-
List
|
|
112
|
-
- \`[
|
|
110
|
+
List files and directories that are important to the conversation. Include paths outside the current working directory when relevant. If none are relevant, write "(none)".
|
|
111
|
+
- \`[exact path]\`: [why it matters]
|
|
113
112
|
|
|
114
|
-
##
|
|
115
|
-
- [facts
|
|
113
|
+
## Additional Context
|
|
114
|
+
- [facts or references needed to continue the work that are not captured above; omit this section if none]
|
|
116
115
|
</template>`;
|
|
117
116
|
var SUMMARY_RULES = `Rules:
|
|
118
|
-
-
|
|
119
|
-
-
|
|
120
|
-
- Preserve exact file paths, symbols, commands, error strings, URLs, and identifiers.
|
|
117
|
+
- Use terse bullets, not prose paragraphs.
|
|
118
|
+
- Preserve exact file paths, symbols, commands, error strings, URLs, and identifiers when known.
|
|
121
119
|
- Carry forward only user questions or requests that remain unanswered or require further action. Do not repeat ones that newer history has answered or resolved. Preserve exact wording when carrying one forward.
|
|
122
120
|
- Preserve consequential workflow state, including whether changes are uncommitted, committed, pushed, under review, or merged.
|
|
121
|
+
- Do not include ambient environment metadata such as the session ID, current working directory, repository root, current branch, or worktree path. The next agent receives current environment information separately. Include these details only when they directly affect the task.
|
|
123
122
|
- Do not mention the summary process or that context was compacted.`;
|
|
124
123
|
var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
125
124
|
`).filter((line) => line.startsWith("##"));
|
|
126
|
-
var LEGACY_HEADING = "## Additional Context";
|
|
127
125
|
|
|
128
|
-
class
|
|
126
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
127
|
}
|
|
130
128
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
129
|
var estimateTokens2 = (input) => {
|
|
@@ -265,9 +263,9 @@ var findTailStart = (messages, keepTokens) => {
|
|
|
265
263
|
const previousSummary = messages.findLast((message) => message.type === "compaction" && message.status === "completed");
|
|
266
264
|
return previousSummary?.recent ? conversation[0].index : messages.length;
|
|
267
265
|
};
|
|
268
|
-
var buildPrompt2 = (update
|
|
266
|
+
var buildPrompt2 = (update) => {
|
|
269
267
|
const shared = [
|
|
270
|
-
"Summarize only
|
|
268
|
+
"Summarize only the history shown. More recent context may be retained and presented after this summary.",
|
|
271
269
|
SUMMARY_TEMPLATE,
|
|
272
270
|
SUMMARY_RULES,
|
|
273
271
|
"Do not continue the task or call tools.",
|
|
@@ -276,10 +274,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
276
274
|
if (update) {
|
|
277
275
|
return [
|
|
278
276
|
"Update the existing checkpoint in the conversation above into one consolidated summary.",
|
|
279
|
-
|
|
280
|
-
"The existing checkpoint was written with an earlier format that recorded far more detail than this one asks for. Rewrite it at the level of detail described below rather than carrying its detail forward. Keep its requirements, decisions, and open questions; they came from earlier conversation with the user."
|
|
281
|
-
] : [],
|
|
282
|
-
"Newer history always takes precedence over the existing checkpoint. Preserve previous information unless newer history clearly contradicts, supersedes, resolves, or makes it stale. If something is no longer relevant to continuing the work, you may remove it.",
|
|
277
|
+
"Newer history always takes precedence over the existing checkpoint. Preserve previous information unless newer history clearly contradicts, supersedes, resolves, or makes it stale. When uncertain and there is no conflict, retain it under Additional Context.",
|
|
283
278
|
"Incorporate newer requirements, decisions, progress, and context. Reconcile Work State and Next Move: move completed work out of Active, remove resolved blockers and answered questions, and preserve unresolved or pending work.",
|
|
284
279
|
"Return only the updated Markdown sections. Do not reproduce the `<conversation-checkpoint>`, `<summary>`, or `<recent-context>` wrapper tags from the previous checkpoint.",
|
|
285
280
|
...shared
|
|
@@ -296,10 +291,10 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
291
|
};
|
|
297
292
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
293
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var layer6 = Layer.effect(
|
|
300
|
-
const bus = yield*
|
|
294
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
295
|
+
const bus = yield* Service79;
|
|
301
296
|
const llm = yield* LLMClient.Service;
|
|
302
|
-
const db = (yield*
|
|
297
|
+
const db = (yield* Service80).db;
|
|
303
298
|
const state = create3({
|
|
304
299
|
name: "session-compaction",
|
|
305
300
|
initial: () => ({ auto: true, buffer: DEFAULT_BUFFER, tokens: DEFAULT_KEEP_TOKENS }),
|
|
@@ -324,33 +319,13 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
324
319
|
recent,
|
|
325
320
|
inputID: input.inputID
|
|
326
321
|
});
|
|
327
|
-
const supplied = Effect.fn("SessionCompaction.supplied")(function* (input, result, recent) {
|
|
328
|
-
const context = input.context;
|
|
329
|
-
const usage = result.tokens ? { tokens: result.tokens, cost: calculateCost2(context.model.cost, result.tokens) } : undefined;
|
|
330
|
-
if (usage)
|
|
331
|
-
yield* bus.publish(SessionEvent2.UsageRecorded, {
|
|
332
|
-
sessionID: context.session.id,
|
|
333
|
-
source: "compaction",
|
|
334
|
-
...usage
|
|
335
|
-
});
|
|
336
|
-
yield* bus.publish(SessionEvent2.Compaction.Ended, {
|
|
337
|
-
sessionID: context.session.id,
|
|
338
|
-
reason: input.reason,
|
|
339
|
-
model: context.model.ref,
|
|
340
|
-
providerState: result.providerState,
|
|
341
|
-
text: result.summary,
|
|
342
|
-
recent,
|
|
343
|
-
...usage
|
|
344
|
-
}, { metadata: result.metadata });
|
|
345
|
-
return { status: "completed" };
|
|
346
|
-
});
|
|
347
322
|
const interrupted = (input) => input.reason === "auto" ? failed({
|
|
348
323
|
sessionID: input.context.session.id,
|
|
349
324
|
reason: input.reason,
|
|
350
325
|
inputID: input.inputID,
|
|
351
326
|
error: { type: "compaction.interrupted", message: "Compaction was interrupted" }
|
|
352
327
|
}).pipe(Effect.asVoid) : Effect.void;
|
|
353
|
-
const compactionRequest = (input, messages, webSocket) => {
|
|
328
|
+
const compactionRequest = (input, messages, prompt, webSocket) => {
|
|
354
329
|
const context = input.context;
|
|
355
330
|
const transcript = baseTranscript2({
|
|
356
331
|
agent: context.agent.info,
|
|
@@ -360,19 +335,26 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
360
335
|
messages
|
|
361
336
|
});
|
|
362
337
|
return input.prepare({
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
338
|
+
kind: "compaction",
|
|
339
|
+
scope: {
|
|
340
|
+
session: context.session,
|
|
341
|
+
agentID: Agent.ID.make("compaction"),
|
|
342
|
+
contextAgentID: context.agent.id,
|
|
343
|
+
model: context.model,
|
|
344
|
+
tools: context.tools
|
|
345
|
+
},
|
|
346
|
+
transcript: {
|
|
347
|
+
system: transcript.system,
|
|
348
|
+
messages: [
|
|
349
|
+
...transcript.messages,
|
|
350
|
+
...input.instructionUpdate ? [Message.system(input.instructionUpdate)] : [],
|
|
351
|
+
...prompt
|
|
352
|
+
]
|
|
353
|
+
},
|
|
372
354
|
webSocket
|
|
373
355
|
});
|
|
374
356
|
};
|
|
375
|
-
const original = (sessionID) =>
|
|
357
|
+
const original = (sessionID) => load2(db, sessionID, "local").pipe(Effect.orDie);
|
|
376
358
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
377
359
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
378
360
|
const context = input.context;
|
|
@@ -382,11 +364,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
382
364
|
inputID: input.inputID,
|
|
383
365
|
error: { type: "provider.unsupported-operation", message }
|
|
384
366
|
});
|
|
385
|
-
const prepared = yield* compactionRequest(input, context.messages, "session");
|
|
386
|
-
if (prepared.event.result) {
|
|
387
|
-
yield* started(input, "");
|
|
388
|
-
return yield* supplied(input, prepared.event.result, "");
|
|
389
|
-
}
|
|
367
|
+
const prepared = yield* compactionRequest(input, context.messages, [], "session");
|
|
390
368
|
const request = prepared.request;
|
|
391
369
|
const provenance = provenance2(context.model);
|
|
392
370
|
if (!provenance)
|
|
@@ -394,7 +372,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
394
372
|
if (!compatible2(provenance, provenance2({ model: request.model, ref: context.model.ref })))
|
|
395
373
|
return yield* reject("Provider compaction requires the endpoint in provider/model settings, not a model.request rewrite");
|
|
396
374
|
const transient = transient2(yield* policy2(context.session.id), {
|
|
397
|
-
agent:
|
|
375
|
+
agent: Agent.ID.make("compaction"),
|
|
398
376
|
model: context.model.ref,
|
|
399
377
|
hook: prepared.retry
|
|
400
378
|
});
|
|
@@ -410,12 +388,11 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
410
388
|
return yield* llm.compact(request, { mechanism: "endpoint", http: prepared.options.http }).pipe(transient);
|
|
411
389
|
return yield* Effect.die(new Error(`${request.model.provider}/${request.model.route.id} has no compaction operation`));
|
|
412
390
|
}));
|
|
413
|
-
|
|
414
|
-
if (usage)
|
|
391
|
+
if (result.usage)
|
|
415
392
|
yield* bus.publish(SessionEvent2.UsageRecorded, {
|
|
416
393
|
sessionID: context.session.id,
|
|
417
394
|
source: "compaction",
|
|
418
|
-
...usage
|
|
395
|
+
...record2(result.usage, context.model.cost)
|
|
419
396
|
});
|
|
420
397
|
yield* bus.publish(SessionEvent2.Compaction.Ended, {
|
|
421
398
|
sessionID: context.session.id,
|
|
@@ -423,8 +400,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
423
400
|
model: context.model.ref,
|
|
424
401
|
text: "",
|
|
425
402
|
recent: "",
|
|
426
|
-
providerContext: encode2(provenance, result.replacement)
|
|
427
|
-
...usage
|
|
403
|
+
providerContext: encode2(provenance, result.replacement)
|
|
428
404
|
});
|
|
429
405
|
return { status: "completed" };
|
|
430
406
|
})).pipe(Effect.onInterrupt(() => interrupted(input)), Effect.catchTag("AI.Error", (cause) => input.reason === "auto" && isContextOverflowFailure(cause) ? recoverLocally({ ...input, started: true }).pipe(Effect.map((result) => result.status === "completed" ? { ...result, recoveredOverflow: true } : result)) : failed({
|
|
@@ -454,24 +430,19 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
454
430
|
source: "compaction",
|
|
455
431
|
...usage
|
|
456
432
|
}) : Effect.void);
|
|
457
|
-
const
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
if (prepared.event.result)
|
|
461
|
-
return yield* supplied(input, prepared.event.result, history.recent);
|
|
462
|
-
const first = LLMRequest.update(prepared.request, {
|
|
463
|
-
messages: [...prepared.request.messages, Message.user(buildPrompt2(previous !== undefined, legacy))]
|
|
464
|
-
});
|
|
433
|
+
const prepared = yield* compactionRequest(input, history.messages, [
|
|
434
|
+
Message.user(buildPrompt2(history.messages.some((message) => message.type === "compaction" && message.status === "completed")))
|
|
435
|
+
]);
|
|
465
436
|
const transient = transient2(yield* policy2(context.session.id), {
|
|
466
|
-
agent:
|
|
437
|
+
agent: Agent.ID.make("compaction"),
|
|
467
438
|
model: context.model.ref,
|
|
468
439
|
hook: prepared.retry
|
|
469
440
|
});
|
|
470
441
|
for (const request of [
|
|
471
|
-
|
|
472
|
-
LLMRequest.update(
|
|
442
|
+
prepared.request,
|
|
443
|
+
LLMRequest.update(prepared.request, {
|
|
473
444
|
messages: [
|
|
474
|
-
...
|
|
445
|
+
...prepared.request.messages,
|
|
475
446
|
Message.user("The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.")
|
|
476
447
|
]
|
|
477
448
|
})
|
|
@@ -535,8 +506,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
535
506
|
sessionID: context.session.id,
|
|
536
507
|
reason: input.reason,
|
|
537
508
|
error,
|
|
538
|
-
inputID: input.inputID
|
|
539
|
-
...usage
|
|
509
|
+
inputID: input.inputID
|
|
540
510
|
});
|
|
541
511
|
}
|
|
542
512
|
yield* bus.publish(SessionEvent2.Compaction.Ended, {
|
|
@@ -545,8 +515,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
545
515
|
model: context.model.ref,
|
|
546
516
|
providerState,
|
|
547
517
|
text: summary,
|
|
548
|
-
recent: history.recent
|
|
549
|
-
...usage
|
|
518
|
+
recent: history.recent
|
|
550
519
|
});
|
|
551
520
|
return { status: "completed" };
|
|
552
521
|
});
|
|
@@ -605,7 +574,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
605
574
|
}
|
|
606
575
|
}));
|
|
607
576
|
});
|
|
608
|
-
return
|
|
577
|
+
return Service9.of({
|
|
609
578
|
transform: state.transform,
|
|
610
579
|
reload: state.reload,
|
|
611
580
|
enabled: () => state.get().auto,
|
|
@@ -614,10 +583,10 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
614
583
|
compactManual
|
|
615
584
|
});
|
|
616
585
|
}));
|
|
617
|
-
var
|
|
618
|
-
service:
|
|
586
|
+
var node12 = makeLocationNode({
|
|
587
|
+
service: Service9,
|
|
619
588
|
layer: layer6,
|
|
620
|
-
deps: [
|
|
589
|
+
deps: [node84, node85, llmClient2]
|
|
621
590
|
});
|
|
622
591
|
|
|
623
|
-
export {
|
|
592
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./file-cp5f26bt.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service16,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service16 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service66;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service16.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -103,7 +103,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
103
103
|
...input.hidden ? ["--hidden"] : [],
|
|
104
104
|
...input.follow ? ["--follow"] : [],
|
|
105
105
|
`--glob=${input.pattern}`,
|
|
106
|
-
...input.hidden ? [] : ["--glob=!**/.*"],
|
|
107
106
|
"--glob=!**/.git/**",
|
|
108
107
|
"."
|
|
109
108
|
],
|
|
@@ -175,6 +174,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
175
174
|
}))))
|
|
176
175
|
});
|
|
177
176
|
}));
|
|
178
|
-
var
|
|
177
|
+
var node20 = makeLocationNode({ service: Service16, layer, deps: [node70, RipgrepBinary2.node] });
|
|
179
178
|
|
|
180
|
-
export {
|
|
179
|
+
export { Error2, InvalidPatternError2, Service16, node20, exports_ripgrep };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./file-2tv38tk1.js";
|
|
1
5
|
import {
|
|
2
6
|
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node81
|
|
8
|
-
} from "./model-resolver-csz4k5km.js";
|
|
8
|
+
} from "./file-hw2gt29t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service41,
|
|
11
|
+
node44
|
|
12
|
+
} from "./file-3c1tgrea.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node82
|
|
20
|
+
} from "./file-2qz021p1.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-enk99f8n.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service44,
|
|
26
|
+
node47
|
|
27
|
+
} from "./file-3nj27wxf.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError6
|
|
33
|
+
} from "./file-dsf3jx99.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./file-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service39
|
|
39
|
+
} from "./file-06x8he3q.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service57,
|
|
42
|
+
node61
|
|
43
|
+
} from "./file-yca9gk6f.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service40,
|
|
48
|
+
node43,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./file-shsgghb2.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service38,
|
|
53
|
+
node42
|
|
54
|
+
} from "./file-8bpbp254.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node32
|
|
57
|
+
} from "./file-ya1b4y87.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service27,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node31
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service27 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service77;
|
|
92
|
+
const locations = yield* Service44;
|
|
93
|
+
const store = yield* Service57;
|
|
94
|
+
const execution = yield* Service38;
|
|
95
|
+
const instances = yield* Service41;
|
|
96
|
+
const admission = yield* Service40;
|
|
97
|
+
const database = yield* Service80;
|
|
98
|
+
const bus = yield* Service79;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError6({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service39.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service27.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node31 = makeGlobalNode({
|
|
167
|
+
service: Service27,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
node53,
|
|
174
|
-
node74,
|
|
172
|
+
node82,
|
|
175
173
|
node47,
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
node61,
|
|
175
|
+
node42,
|
|
176
|
+
node44,
|
|
177
|
+
node43,
|
|
178
|
+
node85,
|
|
178
179
|
node84,
|
|
179
|
-
|
|
180
|
-
node21
|
|
180
|
+
node32
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service27, node31, exports_move };
|