@opencode/core 0.0.0-dev-19765 → 0.0.0-dev-19767
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 +74 -74
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{model-resolver-90q3tcjv.js → worktree-0e1gq3bc.js} +10 -10
- package/dist/chunks/{model-resolver-224r8vkv.js → worktree-0gkyeg4t.js} +27 -27
- package/dist/chunks/{model-resolver-kyenax63.js → worktree-0kzr3yfx.js} +7 -7
- package/dist/chunks/{model-resolver-zm7wj8n5.js → worktree-0mczw89w.js} +5 -5
- package/dist/chunks/{model-resolver-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-ynnvn6b9.js → worktree-0yn9kbqd.js} +13 -13
- package/dist/chunks/{model-resolver-h5pwwdd2.js → worktree-101vsq39.js} +11 -11
- package/dist/chunks/{model-resolver-1kdfkpz7.js → worktree-151xc3da.js} +14 -14
- package/dist/chunks/{model-resolver-166kng33.js → worktree-166kng33.js} +1 -1
- package/dist/chunks/{model-resolver-esqycg01.js → worktree-1amrr7ey.js} +3 -3
- package/dist/chunks/{model-resolver-73tb2d7t.js → worktree-1bbkgx8g.js} +3 -3
- package/dist/chunks/{model-resolver-ph04hnrj.js → worktree-1c4g78wp.js} +44 -44
- package/dist/chunks/{model-resolver-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-n8mmjvp8.js → worktree-1mjwcf4w.js} +8 -8
- package/dist/chunks/{model-resolver-ts79a8cx.js → worktree-1vk3brhq.js} +11 -11
- package/dist/chunks/{model-resolver-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-qg0jgkcp.js → worktree-24dd53tp.js} +9 -9
- package/dist/chunks/{model-resolver-26k5bknw.js → worktree-26k5bknw.js} +1 -1
- package/dist/chunks/{model-resolver-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-sm965ndy.js → worktree-2aet7wja.js} +8 -8
- package/dist/chunks/{model-resolver-310t7hsf.js → worktree-2hckyyez.js} +170 -170
- package/dist/chunks/{model-resolver-pxf1encz.js → worktree-2khg11rk.js} +41 -41
- package/dist/chunks/{model-resolver-d27f62ns.js → worktree-2kr5eys4.js} +2 -2
- package/dist/chunks/{model-resolver-33w4ejhs.js → worktree-33w4ejhs.js} +2 -2
- package/dist/chunks/{model-resolver-v2amp0tf.js → worktree-351z34b3.js} +10 -10
- package/dist/chunks/{model-resolver-jvkfksvk.js → worktree-38bsz5b6.js} +33 -33
- package/dist/chunks/{model-resolver-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-q5t0te5a.js → worktree-3k6sfp50.js} +6 -6
- package/dist/chunks/{model-resolver-3ktbe3hf.js → worktree-3ktbe3hf.js} +3 -3
- package/dist/chunks/{model-resolver-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-d55k6vmy.js → worktree-3zgscayf.js} +36 -36
- package/dist/chunks/{model-resolver-btw9ee0c.js → worktree-415h19gn.js} +3 -3
- package/dist/chunks/{model-resolver-1r39s92t.js → worktree-4bgp2aek.js} +31 -31
- package/dist/chunks/{model-resolver-jn50qt18.js → worktree-4gsbf2fy.js} +24 -24
- package/dist/chunks/{model-resolver-1pw3knqg.js → worktree-4hxng2fz.js} +84 -84
- package/dist/chunks/{model-resolver-xfjax5kj.js → worktree-4vp46et4.js} +6 -6
- package/dist/chunks/{model-resolver-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-6pb16yyj.js → worktree-58s60hfc.js} +9 -9
- package/dist/chunks/{model-resolver-qjg70d8f.js → worktree-5c4wcsgy.js} +74 -74
- package/dist/chunks/{model-resolver-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-yew810mr.js → worktree-5egw3kcn.js} +10 -10
- package/dist/chunks/{model-resolver-q2b1ymqp.js → worktree-5q02cxx3.js} +4 -4
- package/dist/chunks/{model-resolver-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-wr76dh16.js → worktree-5v9kt04s.js} +22 -22
- package/dist/chunks/{model-resolver-qgn6gcr1.js → worktree-607tc6va.js} +5 -5
- package/dist/chunks/{model-resolver-qxf9dtqj.js → worktree-63vazbh0.js} +13 -13
- package/dist/chunks/{model-resolver-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-6h73sxmp.js → worktree-6h73sxmp.js} +1 -1
- package/dist/chunks/{model-resolver-h71w788e.js → worktree-6hjx5zpb.js} +9 -9
- package/dist/chunks/{model-resolver-vfpfzq36.js → worktree-6kbabvtn.js} +6 -6
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{model-resolver-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-wfde3x95.js → worktree-6t9jm67f.js} +12 -12
- package/dist/chunks/{model-resolver-hrfgvzx7.js → worktree-6wt9h67w.js} +32 -32
- package/dist/chunks/{model-resolver-22zy5p6a.js → worktree-6x3wj1ns.js} +47 -47
- package/dist/chunks/{model-resolver-nn1j8xnc.js → worktree-76kr4s17.js} +5 -5
- package/dist/chunks/{model-resolver-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-sqg5arky.js → worktree-7d7kf9r8.js} +13 -13
- package/dist/chunks/{model-resolver-sgmbcbbb.js → worktree-7dyhy7q1.js} +29 -29
- package/dist/chunks/{model-resolver-nngqe6j4.js → worktree-7p34082x.js} +18 -18
- package/dist/chunks/{model-resolver-736bcg6q.js → worktree-7rgj22wf.js} +30 -30
- package/dist/chunks/{model-resolver-17fma2k7.js → worktree-7s6gk46a.js} +9 -9
- package/dist/chunks/{model-resolver-nfya0jhb.js → worktree-7svxd7hr.js} +32 -32
- package/dist/chunks/{model-resolver-vp724954.js → worktree-7vt8smsy.js} +24 -24
- package/dist/chunks/{model-resolver-82wf71gc.js → worktree-81gxmrf7.js} +10 -10
- package/dist/chunks/{model-resolver-kcggd0et.js → worktree-86v3dky3.js} +22 -22
- package/dist/chunks/{model-resolver-5xdpz9c5.js → worktree-89m3s2m0.js} +5 -5
- package/dist/chunks/{model-resolver-tcezcvh9.js → worktree-89znhe33.js} +4 -4
- package/dist/chunks/{model-resolver-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-dj2t23y0.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-x4d9s46j.js → worktree-8pb4qd8n.js} +23 -23
- package/dist/chunks/{model-resolver-mj95satc.js → worktree-8s9esm8s.js} +3 -3
- package/dist/chunks/{model-resolver-92x003m3.js → worktree-8sayz2ry.js} +4 -4
- package/dist/chunks/{model-resolver-np9tbams.js → worktree-8vmd40gx.js} +28 -28
- package/dist/chunks/{model-resolver-j3f2cck8.js → worktree-973s4paq.js} +3 -3
- package/dist/chunks/{model-resolver-2r4wbs08.js → worktree-97grsc5w.js} +11 -11
- package/dist/chunks/{model-resolver-f1k0jycj.js → worktree-99jpd8te.js} +16 -16
- package/dist/chunks/{model-resolver-hc62tks0.js → worktree-9h6zs5c6.js} +21 -21
- package/dist/chunks/{model-resolver-1ajx6rf5.js → worktree-9hn6k4tm.js} +8 -8
- package/dist/chunks/{model-resolver-y5k1jt8t.js → worktree-9pnj26g7.js} +32 -32
- package/dist/chunks/{model-resolver-k2t9brnj.js → worktree-9s8wz9g9.js} +3 -3
- package/dist/chunks/{model-resolver-g8wj080z.js → worktree-9vh5rqp9.js} +3 -3
- package/dist/chunks/{model-resolver-6c2x2cd4.js → worktree-9vkyr3gp.js} +11 -11
- package/dist/chunks/{model-resolver-5c4hm403.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-50mzsvk4.js → worktree-a8bn8zg0.js} +4 -4
- package/dist/chunks/{model-resolver-fybg9cv5.js → worktree-aa3v2t1f.js} +11 -11
- package/dist/chunks/{model-resolver-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-jgttmm4a.js → worktree-aeb4sny1.js} +5 -5
- package/dist/chunks/{model-resolver-r7999wmh.js → worktree-as812ba0.js} +32 -32
- package/dist/chunks/{model-resolver-mbhsxkjz.js → worktree-aswfnv87.js} +23 -23
- package/dist/chunks/{model-resolver-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-b97cbvw3.js → worktree-b97cbvw3.js} +1 -1
- package/dist/chunks/{model-resolver-q1t5m84m.js → worktree-bccs4bt1.js} +25 -25
- package/dist/chunks/{model-resolver-2tfmgkzg.js → worktree-bha4atvq.js} +4 -4
- package/dist/chunks/{model-resolver-ba2wr92e.js → worktree-bvnyc1t2.js} +56 -56
- package/dist/chunks/{model-resolver-3qgwcr55.js → worktree-byvb6gjv.js} +17 -17
- package/dist/chunks/{model-resolver-dj9sq318.js → worktree-c78bbtc9.js} +5 -5
- package/dist/chunks/{model-resolver-zpgd1f5d.js → worktree-c7dfawsb.js} +32 -32
- package/dist/chunks/{model-resolver-zpa21783.js → worktree-cax7e9hb.js} +8 -8
- package/dist/chunks/{model-resolver-5bqjzhep.js → worktree-cdjzdxw3.js} +28 -28
- package/dist/chunks/{model-resolver-m0jqrx5p.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-44h5tttr.js → worktree-cpj0znwe.js} +4 -4
- package/dist/chunks/{model-resolver-nxhqveyz.js → worktree-cr07tj7n.js} +5 -5
- package/dist/chunks/{model-resolver-g3q3rgxp.js → worktree-cvw7k98w.js} +9 -9
- package/dist/chunks/{model-resolver-y9nxj4p3.js → worktree-cw2x2bjr.js} +1 -1
- package/dist/chunks/{model-resolver-2sejkfem.js → worktree-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-resolver-qs02hrtf.js → worktree-cwyz1c8d.js} +8 -8
- package/dist/chunks/{model-resolver-qqr60gfs.js → worktree-d04advaa.js} +9 -9
- package/dist/chunks/{model-resolver-sxz6gkc3.js → worktree-d216944b.js} +4 -4
- package/dist/chunks/{model-resolver-r5zby1m5.js → worktree-d64tg2r5.js} +20 -20
- package/dist/chunks/{model-resolver-g03mgfzw.js → worktree-d9kvw835.js} +6 -6
- package/dist/chunks/{model-resolver-90k1qenw.js → worktree-dbba7j6z.js} +10 -10
- package/dist/chunks/{model-resolver-c970e3h5.js → worktree-dc1e58jh.js} +42 -42
- package/dist/chunks/{model-resolver-kzc3h1h3.js → worktree-dj68pnee.js} +4 -4
- package/dist/chunks/{model-resolver-yr3tpaeb.js → worktree-drdwtp1b.js} +14 -14
- package/dist/chunks/{model-resolver-1k45rzbh.js → worktree-e2qcy9fz.js} +24 -24
- package/dist/chunks/{model-resolver-bjeqesjn.js → worktree-e7dyj58f.js} +6 -6
- package/dist/chunks/{model-resolver-9xjpjsxw.js → worktree-e9g3nry7.js} +21 -21
- package/dist/chunks/{model-resolver-eaj1djv9.js → worktree-eaj1djv9.js} +1 -1
- package/dist/chunks/{model-resolver-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-r27n78xb.js → worktree-f17z2c8t.js} +8 -8
- package/dist/chunks/{model-resolver-hdnk95c8.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-bezhzanq.js → worktree-faj2svbs.js} +9 -9
- package/dist/chunks/{model-resolver-pkttb123.js → worktree-fam2aybr.js} +20 -20
- package/dist/chunks/{model-resolver-nytdp6jx.js → worktree-fdcdwsmf.js} +11 -11
- package/dist/chunks/{model-resolver-vafdc1fs.js → worktree-fqpen2k4.js} +12 -12
- package/dist/chunks/{model-resolver-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-fv8x6qr6.js → worktree-fzc0zagk.js} +11 -11
- package/dist/chunks/{model-resolver-mmftq8sy.js → worktree-g6nrwhst.js} +11 -11
- package/dist/chunks/{model-resolver-pnpak3cr.js → worktree-gbnkcvp8.js} +23 -23
- package/dist/chunks/{model-resolver-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-91aeks9h.js → worktree-gft05b0a.js} +8 -8
- package/dist/chunks/{model-resolver-ebahhykd.js → worktree-ggex864g.js} +4 -4
- package/dist/chunks/{model-resolver-bm3m92rh.js → worktree-gmjq4p6e.js} +12 -12
- package/dist/chunks/{model-resolver-q4v73ct2.js → worktree-gnjcy9v4.js} +25 -25
- package/dist/chunks/{model-resolver-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-t9tj2qb4.js → worktree-gynbp3j3.js} +9 -9
- package/dist/chunks/{model-resolver-g5yx0azb.js → worktree-h0j9vckn.js} +86 -86
- package/dist/chunks/{model-resolver-kb0crpaj.js → worktree-h2pnfxb2.js} +18 -18
- package/dist/chunks/{model-resolver-c27tsz6v.js → worktree-h4bptjw1.js} +3 -3
- package/dist/chunks/{model-resolver-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-g444g17r.js → worktree-hkygx1vj.js} +25 -25
- package/dist/chunks/{model-resolver-ccfveryq.js → worktree-hnx402aw.js} +10 -10
- package/dist/chunks/{model-resolver-k69qv5g3.js → worktree-hpa29ags.js} +11 -11
- package/dist/chunks/{model-resolver-swrhp9b1.js → worktree-hrtbhf2d.js} +21 -21
- package/dist/chunks/{model-resolver-y3fgkbp4.js → worktree-ht336jn2.js} +26 -26
- package/dist/chunks/{model-resolver-00gg1b3e.js → worktree-hw9rayzm.js} +33 -33
- package/dist/chunks/{model-resolver-w9nng7hv.js → worktree-hwe7x4em.js} +6 -6
- package/dist/chunks/{model-resolver-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-0rfppqx1.js → worktree-j6mf8xpf.js} +20 -20
- package/dist/chunks/{model-resolver-6145a6ex.js → worktree-j72rwyf1.js} +19 -19
- package/dist/chunks/{model-resolver-e029vvsz.js → worktree-j972s74s.js} +8 -8
- package/dist/chunks/{model-resolver-zhmbkdqz.js → worktree-ja7kfczc.js} +23 -23
- package/dist/chunks/{model-resolver-jca4demv.js → worktree-jca4demv.js} +2 -2
- package/dist/chunks/{model-resolver-vtt78d7a.js → worktree-jj06xv0y.js} +41 -41
- package/dist/chunks/{model-resolver-484v57sd.js → worktree-jja466qr.js} +13 -13
- package/dist/chunks/{model-resolver-rwdk379s.js → worktree-jq6rrm66.js} +4 -4
- package/dist/chunks/{model-resolver-5k2jh76e.js → worktree-jwbs44k2.js} +30 -30
- package/dist/chunks/{model-resolver-aj1am2a4.js → worktree-ka43yy4c.js} +14 -14
- package/dist/chunks/{model-resolver-v96vwnpg.js → worktree-kgy5z1s6.js} +37 -37
- package/dist/chunks/{model-resolver-4xyx6x5b.js → worktree-kh43tbq9.js} +26 -26
- package/dist/chunks/{model-resolver-vr5243nf.js → worktree-kncab3ca.js} +8 -8
- package/dist/chunks/{model-resolver-q7jc4hc3.js → worktree-kqs2tyv4.js} +26 -26
- package/dist/chunks/{model-resolver-0k1dfe12.js → worktree-krf6f92z.js} +1 -1
- package/dist/chunks/{model-resolver-ssxq2qf8.js → worktree-m25ehp29.js} +22 -22
- package/dist/chunks/{model-resolver-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-bmygya3z.js → worktree-m6zv4rm2.js} +20 -20
- package/dist/chunks/{model-resolver-n4p75jwy.js → worktree-m7fm29bt.js} +7 -7
- package/dist/chunks/{model-resolver-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-g4yx06gn.js → worktree-ma5b8j4s.js} +26 -26
- package/dist/chunks/{model-resolver-he53wa6d.js → worktree-mkry6x9x.js} +17 -17
- package/dist/chunks/{model-resolver-y1bnvh01.js → worktree-mn5995mw.js} +5 -5
- package/dist/chunks/{model-resolver-v2n4cb87.js → worktree-mwt0hxwz.js} +25 -25
- package/dist/chunks/{model-resolver-x8mcy56q.js → worktree-mzatw618.js} +30 -30
- package/dist/chunks/{model-resolver-85ebze8p.js → worktree-n4jz3xah.js} +19 -19
- package/dist/chunks/{model-resolver-gf2sqppg.js → worktree-n8j2gzbp.js} +6 -6
- package/dist/chunks/{model-resolver-fsrt26q4.js → worktree-ndqsnc2r.js} +37 -37
- package/dist/chunks/{model-resolver-w0b273fa.js → worktree-necmxhx4.js} +12 -12
- package/dist/chunks/{model-resolver-whjc79nc.js → worktree-ng27n122.js} +6 -6
- package/dist/chunks/{model-resolver-vdc5ty7t.js → worktree-nmmfddzk.js} +23 -23
- package/dist/chunks/{model-resolver-nzks3jc8.js → worktree-nzks3jc8.js} +3 -3
- package/dist/chunks/{model-resolver-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
- package/dist/chunks/{model-resolver-kdg3wy8r.js → worktree-p32pf1ka.js} +54 -54
- package/dist/chunks/{model-resolver-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-ckvjdfyb.js → worktree-pyv0448z.js} +8 -8
- package/dist/chunks/{model-resolver-ax2ahcq8.js → worktree-q001hfjm.js} +26 -26
- package/dist/chunks/worktree-q509s3k3.js +18 -0
- package/dist/chunks/{model-resolver-x1xcpfha.js → worktree-q52v1zkd.js} +13 -13
- package/dist/chunks/{model-resolver-xpj1128m.js → worktree-q6xbbyq7.js} +30 -30
- package/dist/chunks/{model-resolver-7pmagftx.js → worktree-q9pnxbc2.js} +11 -11
- package/dist/chunks/{model-resolver-s4k6rbz4.js → worktree-qfqkpq0b.js} +14 -14
- package/dist/chunks/{model-resolver-drwq78ky.js → worktree-qqeeq2t9.js} +7 -7
- package/dist/chunks/{model-resolver-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-8fqzhg78.js → worktree-qz10dfen.js} +9 -9
- package/dist/chunks/{model-resolver-h0w69axy.js → worktree-qz1kxtc0.js} +10 -10
- package/dist/chunks/worktree-r0hfn8wq.js +252 -0
- package/dist/chunks/{model-resolver-34326mmr.js → worktree-r424jv4c.js} +4 -4
- package/dist/chunks/{model-resolver-cqjcs21s.js → worktree-ra1f23w6.js} +25 -25
- package/dist/chunks/{model-resolver-k307gc3k.js → worktree-rb662jkw.js} +12 -12
- package/dist/chunks/{model-resolver-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-bgxcxs0p.js → worktree-rgs851g5.js} +5 -5
- package/dist/chunks/{model-resolver-j2rec9x8.js → worktree-rx78v32q.js} +15 -15
- package/dist/chunks/{model-resolver-za5w5jtx.js → worktree-rzd1wbq6.js} +16 -16
- package/dist/chunks/{model-resolver-keat3kjn.js → worktree-s0esgemt.js} +4 -4
- package/dist/chunks/{model-resolver-nn7cfy5h.js → worktree-s8322d80.js} +15 -15
- package/dist/chunks/{model-resolver-yrs7mjrn.js → worktree-ss5j40bg.js} +17 -17
- package/dist/chunks/{model-resolver-ze0b84e6.js → worktree-svenkxb1.js} +12 -12
- package/dist/chunks/{model-resolver-0rwgfah8.js → worktree-sw0n0a6k.js} +29 -29
- package/dist/chunks/{model-resolver-f88gwaxn.js → worktree-sybsj1vd.js} +18 -18
- package/dist/chunks/{model-resolver-7y8hn1s8.js → worktree-t744w8jc.js} +13 -13
- package/dist/chunks/{model-resolver-n3shvtzh.js → worktree-tajkn4gv.js} +7 -7
- package/dist/chunks/{model-resolver-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-gf0x0cm7.js → worktree-te6g59r9.js} +5 -5
- package/dist/chunks/{model-resolver-gkykxjyj.js → worktree-tkp03cf9.js} +11 -11
- package/dist/chunks/{model-resolver-nxhr90dq.js → worktree-tmdzkf58.js} +42 -42
- package/dist/chunks/{model-resolver-rw9wzhmw.js → worktree-tmezp53v.js} +22 -22
- package/dist/chunks/{model-resolver-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-mqsw6bz5.js → worktree-v4tzcak4.js} +19 -19
- package/dist/chunks/{model-resolver-hak66h8f.js → worktree-vb8m6727.js} +12 -12
- package/dist/chunks/{model-resolver-91qth17q.js → worktree-vcaqzj1m.js} +20 -20
- package/dist/chunks/{model-resolver-5sfs7bry.js → worktree-vcy486hh.js} +15 -15
- package/dist/chunks/worktree-vdgcs2tf.js +65 -0
- package/dist/chunks/{model-resolver-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-qd3b5f68.js → worktree-vfmzn6hv.js} +47 -47
- package/dist/chunks/worktree-vjkgxth0.js +478 -0
- package/dist/chunks/{model-resolver-3m3a5rkz.js → worktree-vtk7nzxk.js} +43 -43
- package/dist/chunks/{model-resolver-paj0n6dn.js → worktree-vtmwze1j.js} +13 -13
- package/dist/chunks/{model-resolver-kgt3w00r.js → worktree-vvm2z6z1.js} +17 -17
- package/dist/chunks/{model-resolver-gxzntdky.js → worktree-vy10ba8t.js} +13 -13
- package/dist/chunks/{model-resolver-bwxdk6mq.js → worktree-vz8nqtp5.js} +32 -32
- package/dist/chunks/{model-resolver-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-jy86jdgr.js → worktree-w1kb69s9.js} +3 -3
- package/dist/chunks/{model-resolver-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-g100dm1t.js → worktree-w5s35esc.js} +13 -13
- package/dist/chunks/{model-resolver-b1v5zkbk.js → worktree-w676nq5f.js} +13 -13
- package/dist/chunks/{model-resolver-evrfjeev.js → worktree-w8ykr7pr.js} +40 -40
- package/dist/chunks/worktree-wbb80fv7.js +26 -0
- package/dist/chunks/{model-resolver-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-eyx3sbbq.js → worktree-wg1w1cgy.js} +4 -4
- package/dist/chunks/{model-resolver-km09h1rt.js → worktree-wg7aatbm.js} +9 -9
- package/dist/chunks/{model-resolver-xjtg51km.js → worktree-wvgpkr3z.js} +5 -5
- package/dist/chunks/{model-resolver-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-721hjktc.js → worktree-x3n1z10k.js} +19 -19
- package/dist/chunks/{model-resolver-csj4vvs3.js → worktree-xd9rknpb.js} +12 -12
- package/dist/chunks/{model-resolver-e0a154fg.js → worktree-xkrbr206.js} +6 -6
- package/dist/chunks/{model-resolver-xvjcz7er.js → worktree-xn1g1etc.js} +7 -7
- package/dist/chunks/{model-resolver-cvc17wee.js → worktree-xr43neyx.js} +11 -11
- package/dist/chunks/{model-resolver-6xwap4d1.js → worktree-xrkx1905.js} +15 -15
- package/dist/chunks/{model-resolver-m7s4xjns.js → worktree-xrvwyrv1.js} +33 -33
- package/dist/chunks/{model-resolver-meja1nf7.js → worktree-xw714m32.js} +18 -18
- package/dist/chunks/{model-resolver-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-hc4fnx3k.js → worktree-y35sf2j4.js} +4 -4
- package/dist/chunks/{model-resolver-kmpyk7m7.js → worktree-y394sqab.js} +33 -33
- package/dist/chunks/{model-resolver-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-9nsjpsnk.js → worktree-y7668axm.js} +23 -23
- package/dist/chunks/{model-resolver-y3q03scc.js → worktree-y7x142mt.js} +8 -8
- package/dist/chunks/{model-resolver-r8xr0va3.js → worktree-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-2sdqacf6.js → worktree-ypmw8e4w.js} +8 -8
- package/dist/chunks/{model-resolver-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-nf2b587t.js → worktree-yta3sn21.js} +4 -4
- package/dist/chunks/{model-resolver-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-rk6ykxyv.js → worktree-z2bs4c1s.js} +21 -21
- package/dist/chunks/{model-resolver-ksn24y69.js → worktree-z4cdtg64.js} +5 -5
- package/dist/chunks/{model-resolver-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-emajncad.js → worktree-z8amnqnv.js} +11 -11
- package/dist/chunks/{model-resolver-3sf2s9k9.js → worktree-zart4t36.js} +36 -36
- package/dist/chunks/{model-resolver-zav06jzw.js → worktree-zcrspsvn.js} +4 -4
- package/dist/chunks/{model-resolver-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-jqaqchn6.js → worktree-zkgb1gnz.js} +49 -49
- package/dist/chunks/{model-resolver-fkjmw100.js → worktree-zqx8wcya.js} +8 -8
- package/dist/chunks/{model-resolver-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +1 -1
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +98 -98
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/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 +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1tm0r3ht.js +0 -4
- package/dist/chunks/model-resolver-1x11rq2a.js +0 -18
- package/dist/chunks/model-resolver-ns5dg0kc.js +0 -26
- package/dist/chunks/model-resolver-qdb30wdd.js +0 -252
- package/dist/chunks/model-resolver-thh4zv80.js +0 -65
- package/dist/chunks/model-resolver-xrwhq20c.js +0 -478
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q3t37ft6.js → worktree-q3t37ft6.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-973s4paq.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node83,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service79,
|
|
84
84
|
deps: [node87],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service79.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node83 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node83, exports_bus };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./worktree-6t9jm67f.js";
|
|
5
5
|
import {
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./worktree-qfqkpq0b.js";
|
|
9
|
+
import {
|
|
10
|
+
ID16,
|
|
6
11
|
Service76,
|
|
7
12
|
node80
|
|
8
|
-
} from "./
|
|
13
|
+
} from "./worktree-vy10ba8t.js";
|
|
14
|
+
import {
|
|
15
|
+
NotFoundError10
|
|
16
|
+
} from "./worktree-3ktbe3hf.js";
|
|
9
17
|
import {
|
|
10
|
-
ID16,
|
|
11
18
|
Service74,
|
|
12
19
|
node78
|
|
13
|
-
} from "./
|
|
20
|
+
} from "./worktree-vb8m6727.js";
|
|
14
21
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
22
|
+
match2
|
|
23
|
+
} from "./worktree-y1fvbwt7.js";
|
|
17
24
|
import {
|
|
18
25
|
Service73,
|
|
19
26
|
node77
|
|
20
|
-
} from "./
|
|
21
|
-
import {
|
|
22
|
-
match2
|
|
23
|
-
} from "./model-resolver-y1fvbwt7.js";
|
|
24
|
-
import {
|
|
25
|
-
Service72,
|
|
26
|
-
node76
|
|
27
|
-
} from "./model-resolver-h0w69axy.js";
|
|
27
|
+
} from "./worktree-qz1kxtc0.js";
|
|
28
28
|
import {
|
|
29
29
|
Service75,
|
|
30
30
|
node79
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-166kng33.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -51,11 +51,11 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service72,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node76
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -125,14 +125,14 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service72 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
130
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service79;
|
|
132
|
+
const location = yield* Service77;
|
|
133
|
+
const agents = yield* Service76;
|
|
134
|
+
const sessions = yield* Service74;
|
|
135
|
+
const saved = yield* Service73;
|
|
136
136
|
const hooks = yield* Service75;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service72.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node76 = makeLocationNode({
|
|
303
|
+
service: Service72,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node83, node81, node80, node78, node77, node79]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2,
|
|
308
|
+
export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service72, node76, exports_permission2, Rule3, Ruleset2, Event19 };
|
|
@@ -1,144 +1,144 @@
|
|
|
1
1
|
import {
|
|
2
2
|
_20260127222353_familiar_lady_ursula_default
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-jzg6c2d5.js";
|
|
4
4
|
import {
|
|
5
5
|
_20260211171708_add_project_commands_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-q3sfg36h.js";
|
|
7
7
|
import {
|
|
8
8
|
_20260213144116_wakeful_the_professor_default
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-1cnp2v09.js";
|
|
10
10
|
import {
|
|
11
11
|
_20260225215848_workspace_default
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-rcb2kzg1.js";
|
|
13
13
|
import {
|
|
14
14
|
_20260227213759_add_session_workspace_id_default
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-msx8hqn2.js";
|
|
16
16
|
import {
|
|
17
17
|
_20260228203230_blue_harpoon_default
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-bkyjaxrp.js";
|
|
19
19
|
import {
|
|
20
20
|
_20260303231226_add_workspace_fields_default
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-g86h250q.js";
|
|
22
22
|
import {
|
|
23
23
|
_20260309230000_move_org_to_state_default
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-jr7sbwjy.js";
|
|
25
25
|
import {
|
|
26
26
|
_20260312043431_session_message_cursor_default
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-7m9af43g.js";
|
|
28
28
|
import {
|
|
29
29
|
_20260323234822_events_default
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-j2ntwpah.js";
|
|
31
31
|
import {
|
|
32
32
|
_20260410174513_workspace_name_default
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-njntx4h6.js";
|
|
34
34
|
import {
|
|
35
35
|
_20260413175956_chief_energizer_default
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-qrg20bc0.js";
|
|
37
37
|
import {
|
|
38
38
|
_20260423070820_add_icon_url_override_default
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-z9919s4g.js";
|
|
40
40
|
import {
|
|
41
41
|
_20260427172553_slow_nightmare_default
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./worktree-43n2bw4t.js";
|
|
43
43
|
import {
|
|
44
44
|
_20260428004200_add_session_path_default
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./worktree-n3j8tn72.js";
|
|
46
46
|
import {
|
|
47
47
|
_20260501142318_next_venus_default
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./worktree-d9jj8t3e.js";
|
|
49
49
|
import {
|
|
50
50
|
_20260504145000_add_sync_owner_default
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./worktree-fd410y7t.js";
|
|
52
52
|
import {
|
|
53
53
|
_20260507164347_add_workspace_time_default
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./worktree-e5kj55wp.js";
|
|
55
55
|
import {
|
|
56
56
|
_20260510033149_session_usage_default
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./worktree-f6n9ztr4.js";
|
|
58
58
|
import {
|
|
59
59
|
_20260511000411_data_migration_state_default
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./worktree-q74kybfr.js";
|
|
61
61
|
import {
|
|
62
62
|
_20260511173437_session_metadata_default
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./worktree-53557ph1.js";
|
|
64
64
|
import {
|
|
65
65
|
_20260601010001_normalize_storage_paths_default
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./worktree-7akdwqpd.js";
|
|
67
67
|
import {
|
|
68
68
|
_20260601202201_amazing_prowler_default
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./worktree-wer8tq1h.js";
|
|
70
70
|
import {
|
|
71
71
|
_20260602002951_lowly_union_jack_default
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./worktree-wtztk69x.js";
|
|
73
73
|
import {
|
|
74
74
|
_20260602182828_add_project_directories_default
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./worktree-ssg3fenm.js";
|
|
76
76
|
import {
|
|
77
77
|
_20260603001617_session_message_projection_indexes_default
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./worktree-2c3vjs8z.js";
|
|
79
79
|
import {
|
|
80
80
|
_20260603040000_session_message_projection_order_default
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./worktree-17cy0kzp.js";
|
|
82
82
|
import {
|
|
83
83
|
_20260603141458_session_input_inbox_default
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./worktree-hk9envan.js";
|
|
85
85
|
import {
|
|
86
86
|
_20260603160727_jittery_ezekiel_stane_default
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./worktree-w803qqfp.js";
|
|
88
88
|
import {
|
|
89
89
|
_20260604172448_event_sourced_session_input_default
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./worktree-jwfs4k6c.js";
|
|
91
91
|
import {
|
|
92
92
|
_20260605003541_add_session_context_snapshot_default
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./worktree-mp448xyj.js";
|
|
94
94
|
import {
|
|
95
95
|
_20260605042240_add_context_epoch_agent_default
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./worktree-aqzs7mqg.js";
|
|
97
97
|
import {
|
|
98
98
|
_20260611035744_credential_default
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./worktree-ygaqb7jw.js";
|
|
100
100
|
import {
|
|
101
101
|
_20260611192811_lush_chimera_default
|
|
102
|
-
} from "./
|
|
102
|
+
} from "./worktree-8n3pysct.js";
|
|
103
103
|
import {
|
|
104
104
|
_20260612174303_project_dir_strategy_default
|
|
105
|
-
} from "./
|
|
105
|
+
} from "./worktree-d9fn303g.js";
|
|
106
106
|
import {
|
|
107
107
|
_20260622142730_simplify_session_context_epoch_default
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./worktree-cvy3z8tj.js";
|
|
109
109
|
import {
|
|
110
110
|
_20260622170816_reset_v2_session_state_default
|
|
111
|
-
} from "./
|
|
111
|
+
} from "./worktree-9a4afbnw.js";
|
|
112
112
|
import {
|
|
113
113
|
_20260622202450_simplify_session_input_default
|
|
114
|
-
} from "./
|
|
114
|
+
} from "./worktree-n05xt0ee.js";
|
|
115
115
|
import {
|
|
116
116
|
_20260804233008_loose_psylocke_default
|
|
117
|
-
} from "./
|
|
117
|
+
} from "./worktree-sdp7kfr6.js";
|
|
118
118
|
import {
|
|
119
119
|
_20260805200742_import_legacy_credentials_default
|
|
120
|
-
} from "./
|
|
120
|
+
} from "./worktree-a6k6eb26.js";
|
|
121
121
|
import {
|
|
122
122
|
_20260808023530_workspace_domain_default
|
|
123
|
-
} from "./
|
|
123
|
+
} from "./worktree-4knz6hnm.js";
|
|
124
124
|
import {
|
|
125
125
|
_20260811161259_execution_claim_attempts_default
|
|
126
|
-
} from "./
|
|
126
|
+
} from "./worktree-df08tz66.js";
|
|
127
127
|
import {
|
|
128
128
|
_20260812181746_session_inbox_default
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./worktree-bmr6ed5q.js";
|
|
130
130
|
import {
|
|
131
131
|
_20260812213948_worktree_default
|
|
132
|
-
} from "./
|
|
132
|
+
} from "./worktree-atq7p7m5.js";
|
|
133
133
|
import {
|
|
134
134
|
_20260819222447_session_viewed_state_default
|
|
135
|
-
} from "./
|
|
135
|
+
} from "./worktree-qb87gjwd.js";
|
|
136
136
|
import {
|
|
137
137
|
_20260823191254_nullable_workspace_binding_default
|
|
138
|
-
} from "./
|
|
138
|
+
} from "./worktree-359p4xyc.js";
|
|
139
139
|
import {
|
|
140
140
|
_20260910120000_clear_v1_session_permission_default
|
|
141
|
-
} from "./
|
|
141
|
+
} from "./worktree-y8f7s663.js";
|
|
142
142
|
|
|
143
143
|
// src/database/migration.gen.ts
|
|
144
144
|
var migrations2 = [
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./worktree-y394sqab.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-e7dyj58f.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID7.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service79,
|
|
4
|
+
node83
|
|
5
|
+
} from "./worktree-6t9jm67f.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service79;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node83] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node42
|
|
5
|
+
} from "./worktree-j972s74s.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-26k5bknw.js";
|
|
10
10
|
import {
|
|
11
11
|
Service75,
|
|
12
12
|
node79
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-166kng33.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-6wt9h67w.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-g6nrwhst.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./worktree-86v3dky3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service23,
|
|
25
|
+
node27
|
|
26
|
+
} from "./worktree-xr43neyx.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make13
|
|
29
|
+
} from "./worktree-qqeeq2t9.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-b97cbvw3.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./worktree-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service22,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer9,
|
|
45
|
+
node: () => node26,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service22 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var
|
|
155
|
+
var layer9 = Layer.effect(Service22, Effect.gen(function* () {
|
|
156
156
|
const hooks = yield* Service75;
|
|
157
|
-
const transport = yield*
|
|
157
|
+
const transport = yield* Service23;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -252,17 +252,17 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
252
252
|
};
|
|
253
253
|
});
|
|
254
254
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
255
|
-
return
|
|
255
|
+
return Service22.of({
|
|
256
256
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
257
257
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
258
258
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
259
259
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [node79,
|
|
262
|
+
var node26 = makeLocationNode({
|
|
263
|
+
service: Service22,
|
|
264
|
+
layer: layer9,
|
|
265
|
+
deps: [node79, node27, node42]
|
|
266
266
|
});
|
|
267
267
|
|
|
268
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
268
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service22, layer9, node26, exports_model_request };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service55,
|
|
8
|
+
node58
|
|
9
|
+
} from "./worktree-e2qcy9fz.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service50,
|
|
24
|
+
node: () => node53
|
|
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 Error3 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 Service50 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ 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(Service50, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service55;
|
|
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(Service18, 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 Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service50.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node53 = makeLocationNode({ service: Service50, layer, deps: [node58, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service50, node53, exports_ripgrep };
|