@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,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node83
|
|
4
|
+
} from "./worktree-6t9jm67f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service28,
|
|
7
|
+
node31
|
|
8
|
+
} from "./worktree-p32pf1ka.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node76
|
|
12
|
+
} from "./worktree-6wt9h67w.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service36,
|
|
15
|
+
node39
|
|
16
|
+
} from "./worktree-86v3dky3.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
26
|
layer: () => layer12,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node30
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service27 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer12 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service28;
|
|
42
|
+
const tools = yield* Service36;
|
|
43
|
+
const bus = yield* Service79;
|
|
44
|
+
const permission = yield* Service72;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name14(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service27.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
123
|
+
var node30 = makeLocationNode({
|
|
124
|
+
service: Service27,
|
|
125
125
|
layer: layer12,
|
|
126
|
-
deps: [
|
|
126
|
+
deps: [node39, node31, node83, node76]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name14, Service27, layer12, node30, exports_mcp3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter2 = {};
|
|
7
|
+
__export(exports_formatter2, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter2,
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info13
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info13 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info13, exports_formatter2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node81
|
|
7
|
+
} from "./worktree-qfqkpq0b.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service50,
|
|
10
|
+
node53
|
|
11
|
+
} from "./worktree-7p34082x.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./worktree-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options8,
|
|
25
|
+
Service: () => Service47,
|
|
26
|
+
configured: () => configured8,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer20,
|
|
29
|
+
node: () => node50,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service47, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service77;
|
|
63
|
+
const ripgrep = yield* Service50;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service47.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service47, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service77;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service47.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service47.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer20 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service77;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured8(options) {
|
|
186
|
+
return makeLocationNode({ service: Service47, layer: layer20(options), deps: [node81, node53] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node50 = configured8();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options8, Service47, ripgrepLayer2, fffLayer2, layer20, configured8, node50, exports_search };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-a8bn8zg0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info10
|
|
9
|
+
} from "./worktree-y7x142mt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info14
|
|
12
|
+
} from "./worktree-c78bbtc9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./worktree-d216944b.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info9
|
|
18
|
+
} from "./worktree-cr07tj7n.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
22
|
-
import {
|
|
23
|
-
Info10
|
|
24
|
-
} from "./model-resolver-bgxcxs0p.js";
|
|
21
|
+
} from "./worktree-607tc6va.js";
|
|
25
22
|
import {
|
|
26
23
|
Info6
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./worktree-rgs851g5.js";
|
|
25
|
+
import {
|
|
26
|
+
Info5
|
|
27
|
+
} from "./worktree-dc1e58jh.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-yta3sn21.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info5.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info14, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info9, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info6, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID6,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-hw9rayzm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service31
|
|
7
|
+
} from "./worktree-zkgb1gnz.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-e7dyj58f.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service31;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID6.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service38,
|
|
17
|
+
node41
|
|
18
|
+
} from "./worktree-faj2svbs.js";
|
|
19
19
|
import {
|
|
20
20
|
Service75,
|
|
21
21
|
node79
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-166kng33.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service36,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node39
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service36 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
57
57
|
const hooks = yield* Service75;
|
|
58
|
-
const image = yield*
|
|
58
|
+
const image = yield* Service38;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service36.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -272,10 +272,10 @@ function namespaceError(name) {
|
|
|
272
272
|
return;
|
|
273
273
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
274
274
|
}
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node39 = makeLocationNode({
|
|
276
|
+
service: Service36,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node79,
|
|
278
|
+
deps: [node79, node41]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { RegistrationError2,
|
|
281
|
+
export { RegistrationError2, Service36, node39, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-6wt9h67w.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin26
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin26 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin26, exports_plan };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names4,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names4() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names4, paths2, exports_protected };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|