@opencode/core 0.0.0-dev-21779 → 0.0.0-dev-21784
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 +84 -84
- package/dist/aisdk-native.js +93 -93
- package/dist/aisdk.js +99 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{managed-policy-1ee9e5h5.js → agent-01x633r0.js} +20 -20
- package/dist/chunks/{managed-policy-490c48bj.js → agent-02yzdc13.js} +2 -2
- package/dist/chunks/{managed-policy-jx89vj1k.js → agent-033a0jkt.js} +3 -3
- package/dist/chunks/{managed-policy-aj7mw0zk.js → agent-034tev2y.js} +2 -2
- package/dist/chunks/{managed-policy-w0j5ywg8.js → agent-03qvnrpn.js} +43 -43
- package/dist/chunks/{managed-policy-m7zcvtr8.js → agent-0fc55j4y.js} +184 -184
- package/dist/chunks/{managed-policy-t92kp9s5.js → agent-0k1t71fg.js} +4 -4
- package/dist/chunks/{managed-policy-00cr1rxs.js → agent-0nervf8r.js} +12 -12
- package/dist/chunks/{managed-policy-x132tpv8.js → agent-0nfr0cf2.js} +3 -3
- package/dist/chunks/{managed-policy-pv3f4fmb.js → agent-11k6s8k8.js} +11 -11
- package/dist/chunks/{managed-policy-7jz5d2t0.js → agent-139mbqx8.js} +12 -12
- package/dist/chunks/{managed-policy-awkjnfzq.js → agent-13ge0zq5.js} +18 -18
- package/dist/chunks/{managed-policy-9axz1114.js → agent-173t91w5.js} +9 -9
- package/dist/chunks/{managed-policy-27w5k9zf.js → agent-1ep2p91f.js} +2 -2
- package/dist/chunks/{managed-policy-fe357ss9.js → agent-1hetrfzc.js} +9 -9
- package/dist/chunks/{managed-policy-t9r9zczj.js → agent-1tfrxqx8.js} +9 -9
- package/dist/chunks/{managed-policy-wgbrv6pc.js → agent-1vzks4bn.js} +20 -20
- package/dist/chunks/{managed-policy-1x2knyw4.js → agent-1x2knyw4.js} +1 -1
- package/dist/chunks/{managed-policy-cqntne3k.js → agent-26ebgyg0.js} +47 -47
- package/dist/chunks/{managed-policy-q01s6b65.js → agent-2km5wy4y.js} +30 -30
- package/dist/chunks/{managed-policy-zfrqmavk.js → agent-2ytwxhv1.js} +28 -28
- package/dist/chunks/{managed-policy-2z1j29yd.js → agent-2z1j29yd.js} +1 -1
- package/dist/chunks/{managed-policy-j9ezjb8v.js → agent-31yhp6h2.js} +14 -14
- package/dist/chunks/{managed-policy-bm5tsqjy.js → agent-36ea6r34.js} +11 -11
- package/dist/chunks/{managed-policy-f9fgjzmf.js → agent-36faspmy.js} +5 -5
- package/dist/chunks/{managed-policy-agqd6nxz.js → agent-36qx82yz.js} +2 -2
- package/dist/chunks/{managed-policy-ddjqg4re.js → agent-38ndmwz0.js} +17 -17
- package/dist/chunks/{managed-policy-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-3nnrz6f6.js → agent-3nnrz6f6.js} +1 -1
- package/dist/chunks/{managed-policy-qqg9c0kv.js → agent-3ryz99p0.js} +4 -4
- package/dist/chunks/{managed-policy-w2eysc6j.js → agent-40za9wsf.js} +9 -9
- package/dist/chunks/{managed-policy-sj9d558k.js → agent-43ttkgpw.js} +23 -23
- package/dist/chunks/{managed-policy-e0yygr8n.js → agent-476ebpw1.js} +33 -33
- package/dist/chunks/{managed-policy-njpdtz7k.js → agent-4773t8et.js} +26 -26
- package/dist/chunks/{managed-policy-32rbtppw.js → agent-4ebqk1fd.js} +16 -16
- package/dist/chunks/{managed-policy-v8vd993n.js → agent-4ffhv9d7.js} +8 -8
- package/dist/chunks/{managed-policy-f4eccy7q.js → agent-4kmz7hka.js} +18 -18
- package/dist/chunks/{managed-policy-ckajzhn0.js → agent-4rwxs393.js} +13 -13
- package/dist/chunks/{managed-policy-4v008n1t.js → agent-4v008n1t.js} +1 -1
- package/dist/chunks/{managed-policy-4xvmh7wp.js → agent-4xvmh7wp.js} +3 -3
- package/dist/chunks/{managed-policy-8554g49p.js → agent-5kbc8wm3.js} +33 -33
- package/dist/chunks/{managed-policy-03pkq5wz.js → agent-5kbev7nh.js} +6 -6
- package/dist/chunks/{managed-policy-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{managed-policy-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{managed-policy-wyrpevsh.js → agent-5qzx1yz8.js} +19 -19
- package/dist/chunks/{managed-policy-zba5tm1j.js → agent-61ennm6n.js} +4 -4
- package/dist/chunks/{managed-policy-jrzpqne3.js → agent-61g7nd3s.js} +10 -10
- package/dist/chunks/{managed-policy-xar3ete2.js → agent-66qzw14e.js} +12 -12
- package/dist/chunks/{managed-policy-apd5jra7.js → agent-6c5cd6ez.js} +9 -9
- package/dist/chunks/{managed-policy-yb6typ28.js → agent-6cjpnrq2.js} +23 -23
- package/dist/chunks/{managed-policy-ca54dx7n.js → agent-6dnbbrkg.js} +29 -29
- package/dist/chunks/{managed-policy-6esdw8yj.js → agent-6esdw8yj.js} +1 -1
- package/dist/chunks/{managed-policy-c0r0jd01.js → agent-6kms46fw.js} +5 -5
- package/dist/chunks/{managed-policy-qc74gz25.js → agent-6mejnpem.js} +11 -11
- package/dist/chunks/{managed-policy-6pjqjmy2.js → agent-6pjqjmy2.js} +1 -1
- package/dist/chunks/{managed-policy-n5wj02fj.js → agent-75jp0z26.js} +25 -19
- package/dist/chunks/{managed-policy-76cb1hcw.js → agent-76cb1hcw.js} +1 -1
- package/dist/chunks/agent-76mf46np.js +26 -0
- package/dist/chunks/{managed-policy-wtj1vzq6.js → agent-7an283zs.js} +10 -10
- package/dist/chunks/{managed-policy-twa7y64b.js → agent-7bbsac65.js} +18 -18
- package/dist/chunks/{managed-policy-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-vd204cgb.js → agent-7dg2g5n4.js} +15 -15
- package/dist/chunks/{managed-policy-mz7dkqsg.js → agent-7f9y6rh0.js} +20 -20
- package/dist/chunks/{managed-policy-zw3k2mvr.js → agent-7m634182.js} +30 -30
- package/dist/chunks/{managed-policy-f5at3vzj.js → agent-7mztthz3.js} +19 -19
- package/dist/chunks/{managed-policy-yzhnqbqe.js → agent-7nydw5h0.js} +43 -43
- package/dist/chunks/{managed-policy-mj9xj69n.js → agent-7q4ggvk7.js} +52 -52
- package/dist/chunks/{managed-policy-6zfvt8rp.js → agent-7qmwdxq4.js} +13 -13
- package/dist/chunks/{managed-policy-kjx6j1fh.js → agent-7t5b4ngt.js} +46 -46
- package/dist/chunks/{managed-policy-7w2ypzdf.js → agent-7w2ypzdf.js} +1 -1
- package/dist/chunks/{managed-policy-je0epjbd.js → agent-7x19yq7v.js} +9 -9
- package/dist/chunks/{managed-policy-h7vk0jqt.js → agent-800wwg03.js} +11 -11
- package/dist/chunks/{managed-policy-s5rxfzaz.js → agent-81c7e9ra.js} +3 -3
- package/dist/chunks/{managed-policy-r3h5n1vp.js → agent-81k9hmnn.js} +8 -8
- package/dist/chunks/{managed-policy-v7h0nwys.js → agent-85qf60df.js} +14 -14
- package/dist/chunks/{managed-policy-vggrzz3j.js → agent-89n72xaa.js} +20 -20
- package/dist/chunks/{managed-policy-9kg5w032.js → agent-8d2bz6m6.js} +8 -8
- package/dist/chunks/{managed-policy-ahhnq9fe.js → agent-8e6m80hw.js} +4 -4
- package/dist/chunks/{managed-policy-rzbj1kbd.js → agent-8hn9g0m8.js} +37 -37
- package/dist/chunks/{managed-policy-8r6n0qax.js → agent-8r6n0qax.js} +1 -1
- package/dist/chunks/{managed-policy-5k38w7sf.js → agent-8rqhnwg1.js} +5 -5
- package/dist/chunks/{managed-policy-3dv7tw0m.js → agent-8swnnve6.js} +4 -4
- package/dist/chunks/{managed-policy-9b4y21f1.js → agent-8swrpak5.js} +9 -9
- package/dist/chunks/{managed-policy-d2r51erv.js → agent-8thk20xz.js} +11 -11
- package/dist/chunks/{managed-policy-8wtp7s3z.js → agent-8wtp7s3z.js} +1 -1
- package/dist/chunks/{managed-policy-dfgx57nd.js → agent-8x6kkqy5.js} +31 -31
- package/dist/chunks/{managed-policy-91rj84md.js → agent-91rj84md.js} +1 -1
- package/dist/chunks/{managed-policy-mm1qhevh.js → agent-97r8yvgs.js} +40 -40
- package/dist/chunks/{managed-policy-jt052epg.js → agent-9fkdxkka.js} +13 -13
- package/dist/chunks/{managed-policy-ew4kz2ah.js → agent-9x8q2m03.js} +21 -21
- package/dist/chunks/{managed-policy-3fwr0gba.js → agent-a7xdavkk.js} +9 -9
- package/dist/chunks/{managed-policy-y1m3tahy.js → agent-aeczztyf.js} +4 -4
- package/dist/chunks/{managed-policy-h1vf7xw6.js → agent-ag49k9fp.js} +15 -15
- package/dist/chunks/{managed-policy-fmq5p3ga.js → agent-ahef7j8f.js} +6 -6
- package/dist/chunks/{managed-policy-x026aahv.js → agent-as8v2p6n.js} +23 -23
- package/dist/chunks/{managed-policy-azemrkpd.js → agent-as9ge7gr.js} +48 -48
- package/dist/chunks/{managed-policy-rpw9k8ba.js → agent-aw7ajr0a.js} +22 -22
- package/dist/chunks/{managed-policy-3cbjf1nt.js → agent-ayjs7tqn.js} +2 -2
- package/dist/chunks/{managed-policy-b0mv4wxm.js → agent-b0mv4wxm.js} +2 -2
- package/dist/chunks/{managed-policy-s4dfshv0.js → agent-b2g4rpf0.js} +38 -38
- package/dist/chunks/{managed-policy-skdn7emw.js → agent-bh84v676.js} +9 -9
- package/dist/chunks/{managed-policy-zz2mxr8y.js → agent-bk817c17.js} +23 -23
- package/dist/chunks/{managed-policy-bstexjd6.js → agent-bstexjd6.js} +1 -1
- package/dist/chunks/{managed-policy-evsbz9da.js → agent-bwk3ddh5.js} +9 -9
- package/dist/chunks/{managed-policy-0eeh5sc5.js → agent-c6syegq7.js} +30 -30
- package/dist/chunks/{managed-policy-p5vfq2v8.js → agent-ccga0n09.js} +10 -10
- package/dist/chunks/{managed-policy-q666dkhj.js → agent-cjse11k8.js} +24 -24
- package/dist/chunks/{managed-policy-cxk65cmw.js → agent-cmchtp0v.js} +9 -9
- package/dist/chunks/{managed-policy-6d6xnsqa.js → agent-cmxajbhr.js} +5 -5
- package/dist/chunks/{managed-policy-c0r6m18p.js → agent-cvek0x6e.js} +11 -11
- package/dist/chunks/{managed-policy-zw9jfjbq.js → agent-czx0mg6z.js} +23 -23
- package/dist/chunks/{managed-policy-z0tr6hr4.js → agent-d1e4gt8e.js} +90 -90
- package/dist/chunks/{managed-policy-ssfehs1z.js → agent-d2887f8n.js} +4 -4
- package/dist/chunks/{managed-policy-d4v9tmah.js → agent-d4v9tmah.js} +2 -2
- package/dist/chunks/{managed-policy-zq8j0fqq.js → agent-dcjmpepk.js} +19 -19
- package/dist/chunks/{managed-policy-zgmrepvs.js → agent-ddwaa558.js} +4 -4
- package/dist/chunks/{managed-policy-hj4bas8x.js → agent-dhr7th0q.js} +5 -5
- package/dist/chunks/{managed-policy-6p9bsfn5.js → agent-dvswds2a.js} +16 -16
- package/dist/chunks/{managed-policy-e834z07m.js → agent-e834z07m.js} +1 -1
- package/dist/chunks/{managed-policy-zm48p3w4.js → agent-e8m7b3pk.js} +11 -11
- package/dist/chunks/{managed-policy-pqdrg6za.js → agent-ek3fsnwj.js} +5 -5
- package/dist/chunks/{managed-policy-rezjgjxe.js → agent-ekkan3t7.js} +20 -20
- package/dist/chunks/{managed-policy-je88hrb4.js → agent-en6q6hb7.js} +13 -13
- package/dist/chunks/{managed-policy-wpdqzxj0.js → agent-eqkb58k1.js} +49 -49
- package/dist/chunks/{managed-policy-3m04bkm7.js → agent-ewexpb9k.js} +6 -6
- package/dist/chunks/{managed-policy-49z7jvp2.js → agent-eyvhq8ft.js} +23 -23
- package/dist/chunks/{managed-policy-k69edqc3.js → agent-f7n6kqew.js} +51 -51
- package/dist/chunks/{managed-policy-1e5rbrpx.js → agent-f81xf9jd.js} +23 -23
- package/dist/chunks/{managed-policy-nq061v6n.js → agent-f993jxvg.js} +32 -32
- package/dist/chunks/{managed-policy-n9p72mjb.js → agent-faewc6h3.js} +5 -5
- package/dist/chunks/{managed-policy-ygbaejqc.js → agent-ffd6fwxk.js} +22 -22
- package/dist/chunks/{managed-policy-fffv3p7h.js → agent-fffv3p7h.js} +1 -1
- package/dist/chunks/{managed-policy-fy5bjxgv.js → agent-fnrac0zs.js} +3 -3
- package/dist/chunks/{managed-policy-ayhhxpsd.js → agent-fxjbdvfm.js} +31 -31
- package/dist/chunks/{managed-policy-a1p7bg8r.js → agent-fykkvtjp.js} +14 -14
- package/dist/chunks/{managed-policy-tqxcyjgt.js → agent-g41gmtrh.js} +18 -18
- package/dist/chunks/{managed-policy-kwag3h57.js → agent-g5axxp69.js} +4 -4
- package/dist/chunks/{managed-policy-g5h9c0rr.js → agent-g5h9c0rr.js} +2 -2
- package/dist/chunks/{managed-policy-2sp6x650.js → agent-g5rmwvhf.js} +17 -17
- package/dist/chunks/{managed-policy-8wseh08p.js → agent-g7x514gg.js} +4 -4
- package/dist/chunks/{managed-policy-42yy1t4m.js → agent-ges56kck.js} +21 -21
- package/dist/chunks/{managed-policy-26h8w6n3.js → agent-gjktm9p0.js} +11 -11
- package/dist/chunks/{managed-policy-esnhh37z.js → agent-gk2p2r2p.js} +21 -21
- package/dist/chunks/{managed-policy-jyq39yw7.js → agent-gy38441g.js} +12 -12
- package/dist/chunks/{managed-policy-9y2xp9dz.js → agent-h5dbejmd.js} +22 -22
- package/dist/chunks/{managed-policy-f42edk30.js → agent-h6h54wtq.js} +13 -13
- package/dist/chunks/{managed-policy-pp9yn2rg.js → agent-hdfrs5mg.js} +9 -9
- package/dist/chunks/{managed-policy-9q42j6a5.js → agent-hjnk4nsf.js} +11 -11
- package/dist/chunks/{managed-policy-vxse5zfy.js → agent-hsrc9p37.js} +13 -13
- package/dist/chunks/agent-j0h8eemx.js +261 -0
- package/dist/chunks/{managed-policy-j113cymg.js → agent-j113cymg.js} +1 -1
- package/dist/chunks/{managed-policy-2h4dmphj.js → agent-j11v2g1t.js} +43 -43
- package/dist/chunks/{managed-policy-s1qts2x9.js → agent-j241wm9d.js} +1 -1
- package/dist/chunks/{managed-policy-h9g17fvf.js → agent-j8xhq8v2.js} +5 -5
- package/dist/chunks/{managed-policy-02fhkb6c.js → agent-ja2p8ata.js} +32 -32
- package/dist/chunks/{managed-policy-qwgnw2k6.js → agent-jdw580xe.js} +21 -21
- package/dist/chunks/{managed-policy-n89ynwx4.js → agent-jfyr8syn.js} +15 -15
- package/dist/chunks/{managed-policy-68dpv4bm.js → agent-jj1zxfb4.js} +95 -95
- package/dist/chunks/{managed-policy-1sb2b4hz.js → agent-jkatrbtb.js} +17 -17
- package/dist/chunks/{managed-policy-jchrqzf6.js → agent-jneg3k74.js} +4 -4
- package/dist/chunks/{managed-policy-ncsf0b7s.js → agent-jseav4p7.js} +16 -16
- package/dist/chunks/{managed-policy-f1fvgra9.js → agent-jxd053np.js} +14 -14
- package/dist/chunks/{managed-policy-fbjqxkhq.js → agent-k5aja770.js} +8 -8
- package/dist/chunks/agent-k62y2wy8.js +18 -0
- package/dist/chunks/{managed-policy-k814nvkf.js → agent-k814nvkf.js} +1 -1
- package/dist/chunks/{managed-policy-7kn810xp.js → agent-k9hbvn9k.js} +55 -55
- package/dist/chunks/{managed-policy-v8a9v78w.js → agent-kae2ksf8.js} +36 -36
- package/dist/chunks/{managed-policy-5ydp8y6j.js → agent-kh1mannr.js} +24 -24
- package/dist/chunks/{managed-policy-atfnw7gf.js → agent-kj8ms8x1.js} +5 -5
- package/dist/chunks/{managed-policy-z7gjhxcb.js → agent-kntq21p3.js} +13 -13
- package/dist/chunks/{managed-policy-t639c3yy.js → agent-kqtnvzmd.js} +28 -28
- package/dist/chunks/{managed-policy-kt3bjfbg.js → agent-kt3bjfbg.js} +1 -1
- package/dist/chunks/{managed-policy-x5p586pb.js → agent-m0w0zyj2.js} +26 -26
- package/dist/chunks/{managed-policy-m1714858.js → agent-m1714858.js} +1 -1
- package/dist/chunks/{managed-policy-bctgpknz.js → agent-m1f7zknv.js} +14 -14
- package/dist/chunks/{managed-policy-6wnv4aap.js → agent-m256pbh3.js} +17 -17
- package/dist/chunks/{managed-policy-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-v1hzysda.js → agent-mak9ftkg.js} +22 -22
- package/dist/chunks/{managed-policy-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{managed-policy-ydn5pt77.js → agent-meat84st.js} +14 -14
- package/dist/chunks/{managed-policy-ed5jkn8v.js → agent-mfyzpdtn.js} +2 -2
- package/dist/chunks/{managed-policy-5nd54hzp.js → agent-mgbtrrwc.js} +8 -8
- package/dist/chunks/{managed-policy-cr69m9gz.js → agent-mgma89zk.js} +4 -4
- package/dist/chunks/{managed-policy-bs208s33.js → agent-mjhk8a0e.js} +22 -22
- package/dist/chunks/{managed-policy-rrmqzdps.js → agent-mr8zc4t8.js} +7 -7
- package/dist/chunks/{managed-policy-2wyes2cm.js → agent-mzyv1r8q.js} +8 -8
- package/dist/chunks/{managed-policy-tfcjfmds.js → agent-n07jd3kn.js} +16 -16
- package/dist/chunks/{managed-policy-n0p0277s.js → agent-n0p0277s.js} +1 -1
- package/dist/chunks/{managed-policy-vrn1tqz6.js → agent-n60440x5.js} +6 -6
- package/dist/chunks/{managed-policy-tmb3tnse.js → agent-n6k6tv08.js} +35 -35
- package/dist/chunks/{managed-policy-3kdbrncp.js → agent-n6v2b7cw.js} +5 -5
- package/dist/chunks/{managed-policy-770pw0s1.js → agent-nah043kf.js} +4 -4
- package/dist/chunks/{managed-policy-9hx0ex4r.js → agent-new4gq93.js} +3 -3
- package/dist/chunks/{managed-policy-n77kgz3v.js → agent-njmawajr.js} +24 -24
- package/dist/chunks/{managed-policy-0bqp6b53.js → agent-njvrd8jy.js} +9 -9
- package/dist/chunks/{managed-policy-q1bq6w6w.js → agent-nkk0r47z.js} +8 -8
- package/dist/chunks/{managed-policy-p015t6z3.js → agent-p015t6z3.js} +2 -2
- package/dist/chunks/{managed-policy-p7vhpwh8.js → agent-p7vhpwh8.js} +1 -1
- package/dist/chunks/{managed-policy-zd3s57ef.js → agent-pch94jad.js} +14 -14
- package/dist/chunks/{managed-policy-p0y7ddwc.js → agent-pczvdmnh.js} +19 -19
- package/dist/chunks/{managed-policy-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-prazahgm.js → agent-prazahgm.js} +2 -2
- package/dist/chunks/{managed-policy-q85rya1m.js → agent-q32ndhrq.js} +6 -6
- package/dist/chunks/{managed-policy-bad2ztpq.js → agent-q43qcq83.js} +5 -5
- package/dist/chunks/{managed-policy-rkdvqggb.js → agent-q4fmv0xv.js} +5 -5
- package/dist/chunks/{managed-policy-p3ey8vsp.js → agent-q4xvtkzf.js} +37 -37
- package/dist/chunks/{managed-policy-vmfhehpp.js → agent-q9ajhnek.js} +33 -33
- package/dist/chunks/{managed-policy-8jztxfpf.js → agent-qjgzc4b4.js} +4 -4
- package/dist/chunks/{managed-policy-w9cf5jnd.js → agent-qk0m1vv0.js} +16 -16
- package/dist/chunks/{managed-policy-pmnt75d6.js → agent-qqdpdbrj.js} +8 -8
- package/dist/chunks/{managed-policy-me2be6v4.js → agent-qy3evx35.js} +35 -35
- package/dist/chunks/{managed-policy-xqx3k1v9.js → agent-r0nyd7pf.js} +23 -23
- package/dist/chunks/{managed-policy-wy76b4ds.js → agent-r0yf9dk1.js} +23 -23
- package/dist/chunks/{managed-policy-r0yr0wbs.js → agent-r0yr0wbs.js} +1 -1
- package/dist/chunks/{managed-policy-efkbwkq1.js → agent-r5kq5vn2.js} +2 -2
- package/dist/chunks/{managed-policy-n3q6whry.js → agent-r6e28z23.js} +21 -21
- package/dist/chunks/{managed-policy-rb9dy4dg.js → agent-rb9dy4dg.js} +1 -1
- package/dist/chunks/{managed-policy-vsnnaxjq.js → agent-rbg54dp1.js} +4 -4
- package/dist/chunks/{managed-policy-b6j82r80.js → agent-rbh56fzy.js} +58 -58
- package/dist/chunks/{managed-policy-avpzytns.js → agent-rc4jd66d.js} +7 -7
- package/dist/chunks/{managed-policy-e4bdykca.js → agent-rnbw0hp3.js} +1 -1
- package/dist/chunks/{managed-policy-rt5dr6hb.js → agent-rt5dr6hb.js} +1 -1
- package/dist/chunks/{managed-policy-sa3m9chx.js → agent-s2hjff0a.js} +11 -11
- package/dist/chunks/{managed-policy-jt7s8sjd.js → agent-s904a6sg.js} +5 -5
- package/dist/chunks/{managed-policy-sa3fpqfw.js → agent-sa3fpqfw.js} +2 -2
- package/dist/chunks/{managed-policy-sqjzf8x2.js → agent-sqjzf8x2.js} +1 -1
- package/dist/chunks/{managed-policy-ph7pkazd.js → agent-sqwztq39.js} +51 -51
- package/dist/chunks/{managed-policy-ze6babrc.js → agent-sydzkpmk.js} +16 -16
- package/dist/chunks/{managed-policy-bqxktn40.js → agent-syfs4wve.js} +14 -14
- package/dist/chunks/agent-t5c3j88j.js +517 -0
- package/dist/chunks/{managed-policy-8kcft6qy.js → agent-t8n195hz.js} +14 -14
- package/dist/chunks/{managed-policy-0ks2n9jf.js → agent-tasvem1v.js} +6 -6
- package/dist/chunks/{managed-policy-tczq8hjw.js → agent-tczq8hjw.js} +1 -1
- package/dist/chunks/{managed-policy-tr9mnhj9.js → agent-tfbgmxwt.js} +4 -4
- package/dist/chunks/{managed-policy-r9d3bf7c.js → agent-tfxvfanj.js} +4 -4
- package/dist/chunks/{managed-policy-n52dfyva.js → agent-trjayejy.js} +18 -18
- package/dist/chunks/{managed-policy-twv2r8f4.js → agent-twv2r8f4.js} +2 -2
- package/dist/chunks/{managed-policy-vvzc2rtq.js → agent-v1xj14h7.js} +12 -12
- package/dist/chunks/{managed-policy-v2r1d0zg.js → agent-v2r1d0zg.js} +1 -1
- package/dist/chunks/{managed-policy-vwqqd668.js → agent-v6h5bgwd.js} +8 -8
- package/dist/chunks/{managed-policy-ezyvxv03.js → agent-v76m31v0.js} +44 -44
- package/dist/chunks/{managed-policy-vd3b3yk9.js → agent-vd3b3yk9.js} +1 -1
- package/dist/chunks/{managed-policy-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-m37sd98t.js → agent-vmfhgzt5.js} +4 -4
- package/dist/chunks/{managed-policy-vwdfpcvx.js → agent-vpm8vpz0.js} +3 -3
- package/dist/chunks/{managed-policy-vrcsa8qx.js → agent-vrcsa8qx.js} +2 -2
- package/dist/chunks/{managed-policy-5ny4wef6.js → agent-vthbx4vr.js} +45 -45
- package/dist/chunks/{managed-policy-zvwzcwk0.js → agent-vwy7wwgg.js} +8 -8
- package/dist/chunks/{managed-policy-f27wsjye.js → agent-vxe4wh26.js} +27 -27
- package/dist/chunks/{managed-policy-d2vccz4f.js → agent-w1xh8xrk.js} +30 -30
- package/dist/chunks/{managed-policy-64a4dgx4.js → agent-w22yp63b.js} +9 -9
- package/dist/chunks/{managed-policy-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-wr3re1en.js → agent-w687dnns.js} +4 -4
- package/dist/chunks/{managed-policy-wp43yer9.js → agent-w82799bh.js} +29 -29
- package/dist/chunks/{managed-policy-wakvkjy4.js → agent-wakvkjy4.js} +1 -1
- package/dist/chunks/{managed-policy-b5vt0e29.js → agent-wbfvqgnf.js} +34 -34
- package/dist/chunks/{managed-policy-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-m4869hkg.js → agent-wgr7v8zv.js} +11 -11
- package/dist/chunks/{managed-policy-n6vhe5fc.js → agent-wh6wybx0.js} +17 -17
- package/dist/chunks/{managed-policy-2gg250z3.js → agent-wqa97sqm.js} +6 -6
- package/dist/chunks/{managed-policy-pdwtbhzp.js → agent-x2w8jbjz.js} +19 -19
- package/dist/chunks/{managed-policy-hw53rdkh.js → agent-x46b6f4j.js} +14 -14
- package/dist/chunks/{managed-policy-a5z798gd.js → agent-x4w6jmkv.js} +33 -33
- package/dist/chunks/{managed-policy-49wfgnbx.js → agent-x68edsfb.js} +11 -11
- package/dist/chunks/{managed-policy-rdesvtjj.js → agent-xb4h8bm0.js} +4 -4
- package/dist/chunks/{managed-policy-03ememhp.js → agent-xn94rwwj.js} +13 -13
- package/dist/chunks/{managed-policy-2jq8265x.js → agent-xvy21fdd.js} +25 -25
- package/dist/chunks/{managed-policy-ghp95cmw.js → agent-y3mrdmj2.js} +21 -21
- package/dist/chunks/{managed-policy-yb20nhc3.js → agent-yb20nhc3.js} +1 -1
- package/dist/chunks/{managed-policy-j2g2ntz0.js → agent-ynyk2n84.js} +17 -17
- package/dist/chunks/{managed-policy-mkxcxg19.js → agent-ypkjhwqx.js} +24 -24
- package/dist/chunks/{managed-policy-kgbbv3sg.js → agent-yr8jvaqb.js} +41 -41
- package/dist/chunks/{managed-policy-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-45chpwqw.js → agent-z1889dz1.js} +11 -11
- package/dist/chunks/{managed-policy-z38nccrw.js → agent-z38nccrw.js} +1 -1
- package/dist/chunks/{managed-policy-47jjev45.js → agent-z4k2sts1.js} +69 -69
- package/dist/chunks/{managed-policy-a8p5crz1.js → agent-za9sakwv.js} +15 -15
- package/dist/chunks/{managed-policy-dd6h6kqy.js → agent-zdm2n275.js} +24 -24
- package/dist/chunks/{managed-policy-fkz1sskx.js → agent-zdsd1y55.js} +16 -16
- package/dist/chunks/{managed-policy-cdfeh84c.js → agent-ze8957am.js} +30 -30
- package/dist/chunks/{managed-policy-zkg84ctx.js → agent-zkg84ctx.js} +1 -1
- package/dist/chunks/{managed-policy-6vzv00yv.js → agent-zn7c0t9d.js} +7 -7
- package/dist/chunks/{managed-policy-c0jb4yaq.js → agent-zr7bpxke.js} +27 -27
- package/dist/chunks/{managed-policy-1ft3a64b.js → agent-zvc54kz4.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +103 -103
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +117 -117
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +106 -106
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +73 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +52 -52
- package/dist/database/migration.js +54 -54
- 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 +99 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +373 -373
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +77 -77
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +98 -98
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +108 -108
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- package/dist/generate.js +107 -107
- package/dist/git.js +11 -11
- 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 +103 -103
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +364 -364
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +81 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +160 -160
- package/dist/location-lifecycle.js +111 -111
- package/dist/location-service-map.js +90 -90
- package/dist/location-services.js +361 -361
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +120 -97
- package/dist/mcp/index.js +113 -113
- package/dist/mcp/instructions.js +142 -142
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +94 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +111 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +78 -78
- package/dist/plugin/agent.js +79 -79
- package/dist/plugin/command.js +106 -106
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +100 -100
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +94 -94
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +117 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +97 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +99 -99
- package/dist/plugin/provider/gitlab.js +97 -97
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +81 -81
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +96 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai-context-caps.js +94 -94
- package/dist/plugin/provider/openai.js +117 -117
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +95 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +82 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +95 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +94 -94
- package/dist/plugin/provider/vllm.js +126 -126
- package/dist/plugin/provider/xai.js +95 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +79 -79
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +90 -90
- package/dist/plugin/vcs/hg.js +90 -90
- package/dist/plugin/verbosity.js +97 -97
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +94 -94
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +93 -93
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +90 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +77 -77
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +166 -166
- package/dist/session/diff.js +92 -92
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +98 -98
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +82 -82
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +101 -101
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +124 -124
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +134 -134
- package/dist/session/projector.js +92 -92
- package/dist/session/prompt.js +109 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +98 -98
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +104 -104
- package/dist/session/runner/publish-llm-event.js +117 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +78 -78
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +213 -213
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +124 -124
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +128 -128
- package/dist/tool/plugin/mcp-resource.js +128 -128
- package/dist/tool/plugin/opencode.js +113 -113
- package/dist/tool/plugin/patch.js +126 -126
- package/dist/tool/plugin/question.js +109 -109
- package/dist/tool/plugin/read.js +129 -129
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/todo.js +137 -137
- package/dist/tool/plugin/webfetch.js +117 -117
- package/dist/tool/plugin/websearch.js +118 -118
- package/dist/tool/plugin/write.js +126 -126
- package/dist/tool/read-filesystem.js +106 -106
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +92 -92
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +97 -97
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +91 -91
- package/dist/websearch.js +87 -87
- package/dist/wellknown/plugin.js +79 -79
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -93
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/managed-policy-7yv5xa0k.js +0 -18
- package/dist/chunks/managed-policy-7z6mcrx3.js +0 -261
- package/dist/chunks/managed-policy-8nedx0w1.js +0 -26
- package/dist/chunks/managed-policy-g8qg0zk0.js +0 -517
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5fjb7ams.js → agent-5fjb7ams.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a058387c.js → agent-a058387c.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cqv5kn06.js → agent-cqv5kn06.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-dbztejgq.js → agent-dbztejgq.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-11k6s8k8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./agent-qk0m1vv0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service82
|
|
11
|
+
} from "./agent-476ebpw1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-6dnbbrkg.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-x4w6jmkv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info22
|
|
24
|
+
} from "./agent-n6k6tv08.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./agent-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./agent-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./agent-wqa97sqm.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
|
+
var integrationID = ID14.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -179,8 +179,8 @@ function listen(server) {
|
|
|
179
179
|
var ChatGPTPlugin2 = define({
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
|
-
const bus = yield*
|
|
183
|
-
const credentials = yield*
|
|
182
|
+
const bus = yield* Service86;
|
|
183
|
+
const credentials = yield* Service82;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info22.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./agent-dvswds2a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service35,
|
|
12
|
+
node38
|
|
13
|
+
} from "./agent-4773t8et.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event5,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError5,
|
|
34
|
+
Service: () => Service34,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node37
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError5 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content2 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event5 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service34 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service34, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service83;
|
|
102
|
+
const search = yield* Service35;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError5({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service34.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError5({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError5({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError5({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node37 = makeLocationNode({
|
|
162
|
+
service: Service34,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node87, node38]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError5, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service34, node37, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info18,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info18 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info18, exports_mcp5 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-11k6s8k8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./agent-qk0m1vv0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./agent-476ebpw1.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-61ennm6n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-6dnbbrkg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service79
|
|
22
|
+
} from "./agent-x4w6jmkv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Info22
|
|
26
|
+
} from "./agent-n6k6tv08.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./agent-yb20nhc3.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID13.gitlab;
|
|
39
|
+
var integrationID = ID14.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service79;
|
|
61
|
+
const bus = yield* Service86;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info22.default(providerID, ID12.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-034tev2y.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service87,
|
|
9
|
+
node91
|
|
10
|
+
} from "./agent-x68edsfb.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-qjgzc4b4.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node58
|
|
18
|
+
} from "./agent-vwy7wwgg.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./agent-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./agent-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID5,
|
|
31
|
+
Info: () => Info12,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service54,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured7,
|
|
36
|
+
node: () => node57
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID5 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info12 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID5,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID5,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service54 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service54,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node91, node58]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service87).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info12({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service54.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID5.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service80, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node57 = configured7();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID5, Info12, NotFound2, CreateConflict2, Service54, configured7, node57, exports_workspace };
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./agent-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service53,
|
|
8
|
+
node56
|
|
9
|
+
} from "./agent-zdm2n275.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service48,
|
|
24
|
+
node: () => node51
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service48 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
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(Service48, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service53;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
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 Service48.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node51 = makeLocationNode({ service: Service48, layer, deps: [node56, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error3, InvalidPatternError2,
|
|
180
|
+
export { Error3, InvalidPatternError2, Service48, node51, exports_ripgrep };
|