@opencode/core 0.0.0-dev-20970 → 0.0.0-dev-20971
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{location-service-map-ddnd35kk.js → websearch-003fzm5q.js} +9 -9
- package/dist/chunks/{location-service-map-2kgr186q.js → websearch-077cq2br.js} +23 -23
- package/dist/chunks/{location-service-map-gbh65n66.js → websearch-0b5g1ynf.js} +4 -4
- package/dist/chunks/{location-service-map-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-b5ab48k5.js → websearch-0y0f49e2.js} +39 -39
- package/dist/chunks/{location-service-map-gc30vjt8.js → websearch-0zpnfvx1.js} +19 -19
- package/dist/chunks/{location-service-map-dprgbttx.js → websearch-114eey2m.js} +21 -21
- package/dist/chunks/{location-service-map-dwwb2yn6.js → websearch-16kzt8c7.js} +11 -11
- package/dist/chunks/{location-service-map-3a7h0qtw.js → websearch-17wx9w27.js} +14 -14
- package/dist/chunks/{location-service-map-jgrj7vpb.js → websearch-1gvs1kfk.js} +10 -10
- package/dist/chunks/{location-service-map-f6vptca4.js → websearch-1xqhxgyv.js} +47 -47
- package/dist/chunks/{location-service-map-gfvfhfth.js → websearch-1yxefep4.js} +11 -11
- package/dist/chunks/{location-service-map-djvdn7j4.js → websearch-21pghkbv.js} +46 -46
- package/dist/chunks/{location-service-map-t58ss6va.js → websearch-21tx4tw0.js} +8 -8
- package/dist/chunks/{location-service-map-ms1sgmgt.js → websearch-22qq772b.js} +13 -13
- package/dist/chunks/{location-service-map-h796dgtk.js → websearch-23k1n4wj.js} +20 -20
- package/dist/chunks/{location-service-map-c9y76qr3.js → websearch-2bnp29d3.js} +11 -11
- package/dist/chunks/{location-service-map-40jkzs91.js → websearch-2fsvr6y2.js} +45 -45
- package/dist/chunks/{location-service-map-r61qxybf.js → websearch-2hr5nhwa.js} +8 -8
- package/dist/chunks/{location-service-map-kg0ryrs1.js → websearch-2nphk727.js} +36 -36
- package/dist/chunks/{location-service-map-0hws4rz6.js → websearch-2t1t4gde.js} +23 -23
- package/dist/chunks/{location-service-map-kjttyt96.js → websearch-2tgx65kg.js} +28 -28
- package/dist/chunks/{location-service-map-7zdn2k09.js → websearch-2xn0yeqn.js} +13 -13
- package/dist/chunks/{location-service-map-h36qpgyc.js → websearch-313mgmv3.js} +5 -5
- package/dist/chunks/{location-service-map-h7s7r6s9.js → websearch-31xfzrxg.js} +5 -5
- package/dist/chunks/{location-service-map-z186befd.js → websearch-343pf5dz.js} +3 -3
- package/dist/chunks/{location-service-map-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-68wqtz75.js → websearch-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-kvsv9rq3.js → websearch-3hnb0ka8.js} +20 -20
- package/dist/chunks/{location-service-map-3hwn7j4h.js → websearch-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-service-map-4f3wm1ac.js → websearch-3n419yar.js} +18 -18
- package/dist/chunks/{location-service-map-hy35aq5e.js → websearch-3q1pjm3b.js} +9 -9
- package/dist/chunks/{location-service-map-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-ydah9gdn.js → websearch-45b60gr3.js} +83 -83
- package/dist/chunks/{location-service-map-xmpwqgz4.js → websearch-46f1ap7s.js} +7 -7
- package/dist/chunks/{location-service-map-3p5gpzs5.js → websearch-478dx55a.js} +28 -28
- package/dist/chunks/{location-service-map-9t8w0vez.js → websearch-4c9q3z81.js} +5 -5
- package/dist/chunks/{location-service-map-ns04df5e.js → websearch-4thhgppw.js} +15 -15
- package/dist/chunks/{location-service-map-jz647r1p.js → websearch-4x64vkg3.js} +11 -11
- package/dist/chunks/{location-service-map-vb8wgay5.js → websearch-4zgrgp2d.js} +8 -8
- package/dist/chunks/{location-service-map-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-shm9gt2y.js → websearch-59wqttrx.js} +14 -14
- package/dist/chunks/{location-service-map-k7wxww75.js → websearch-5jb2gjen.js} +9 -9
- package/dist/chunks/{location-service-map-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-txd8c2hd.js → websearch-5petgzba.js} +4 -4
- package/dist/chunks/{location-service-map-a5e101j6.js → websearch-5pzgjsmy.js} +4 -4
- package/dist/chunks/{location-service-map-e3qxr5gk.js → websearch-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-dn85cbp5.js → websearch-5qkq7w7n.js} +23 -23
- package/dist/chunks/{location-service-map-7dqw4kz8.js → websearch-607tc6va.js} +5 -5
- package/dist/chunks/{location-service-map-wyazz7bw.js → websearch-64e0gxsa.js} +13 -13
- package/dist/chunks/{location-service-map-xsgpdrvd.js → websearch-655vadc9.js} +43 -43
- package/dist/chunks/{location-service-map-fahd1t22.js → websearch-6ea2cfys.js} +8 -8
- package/dist/chunks/{location-service-map-ratrq7cm.js → websearch-6hh8tjw2.js} +4 -4
- package/dist/chunks/{location-service-map-y56ehv6b.js → websearch-6hjx5zpb.js} +9 -9
- package/dist/chunks/{location-service-map-0e0z4xs4.js → websearch-6tk1zy28.js} +27 -27
- package/dist/chunks/{location-service-map-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-dn8fxr7e.js → websearch-72xzart4.js} +19 -19
- package/dist/chunks/{location-service-map-qv519ymt.js → websearch-75nb7skq.js} +32 -32
- package/dist/chunks/{location-service-map-775gj3j1.js → websearch-775gj3j1.js} +2 -2
- package/dist/chunks/{location-service-map-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-zx2dwjq0.js → websearch-7dvbc2gh.js} +3 -3
- package/dist/chunks/{location-service-map-n3gkh2k8.js → websearch-7pbs30f7.js} +4 -4
- package/dist/chunks/{location-service-map-ry082wg0.js → websearch-8056f5p9.js} +9 -9
- package/dist/chunks/{location-service-map-yytnj0xn.js → websearch-83fe2qby.js} +18 -18
- package/dist/chunks/{location-service-map-apbyd0y0.js → websearch-83kahps3.js} +15 -15
- package/dist/chunks/{location-service-map-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{location-service-map-rdb1svpf.js → websearch-88k138d5.js} +28 -28
- package/dist/chunks/{location-service-map-tcezcvh9.js → websearch-89znhe33.js} +4 -4
- package/dist/chunks/{location-service-map-hw81jkqg.js → websearch-8bskseag.js} +17 -17
- package/dist/chunks/{location-service-map-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-service-map-pp6tmt8p.js → websearch-8t2pmsab.js} +10 -10
- package/dist/chunks/{location-service-map-w0cr6kn3.js → websearch-909da4yb.js} +20 -20
- package/dist/chunks/{location-service-map-fdn2kncn.js → websearch-91xfjhfh.js} +192 -192
- package/dist/chunks/{location-service-map-1cwtqt4r.js → websearch-92krdbfb.js} +24 -24
- package/dist/chunks/websearch-93pq6tyd.js +253 -0
- package/dist/chunks/{location-service-map-gh8rs6tp.js → websearch-93xkbw5f.js} +6 -6
- package/dist/chunks/{location-service-map-my4zabxr.js → websearch-99z41sf4.js} +2 -2
- package/dist/chunks/{location-service-map-zjtrsxny.js → websearch-9ba8rtzh.js} +5 -5
- package/dist/chunks/{location-service-map-zh94prq5.js → websearch-9bdew4g0.js} +11 -11
- package/dist/chunks/{location-service-map-fkrwggfj.js → websearch-9d6je7e7.js} +10 -10
- package/dist/chunks/{location-service-map-ek79twyn.js → websearch-9dygvpz5.js} +4 -4
- package/dist/chunks/{location-service-map-gybmckzj.js → websearch-9fr7nstn.js} +32 -32
- package/dist/chunks/{location-service-map-5xtgfte3.js → websearch-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-service-map-a7z0fe8c.js → websearch-9jg4gt0h.js} +1 -1
- package/dist/chunks/{location-service-map-jvvc3tfq.js → websearch-9jsdpggr.js} +9 -9
- package/dist/chunks/{location-service-map-1nswxt31.js → websearch-9v1c233t.js} +22 -22
- package/dist/chunks/{location-service-map-kvh9ex0n.js → websearch-9xryy93f.js} +3 -3
- package/dist/chunks/{location-service-map-nszkg83g.js → websearch-a05rrat5.js} +26 -26
- package/dist/chunks/websearch-a1evpjrw.js +513 -0
- package/dist/chunks/{location-service-map-kt13rzk4.js → websearch-ak6yxasf.js} +29 -29
- package/dist/chunks/{location-service-map-z2dcak32.js → websearch-ake1zbkb.js} +35 -35
- package/dist/chunks/{location-service-map-dqss8s9h.js → websearch-aswjcw5a.js} +17 -17
- package/dist/chunks/{location-service-map-8acdjqfv.js → websearch-av0nghqa.js} +19 -19
- package/dist/chunks/{location-service-map-pd14fbdd.js → websearch-b15j3rym.js} +6 -6
- package/dist/chunks/{location-service-map-gvmyet0t.js → websearch-b32bnh3g.js} +5 -5
- package/dist/chunks/{location-service-map-b3f8fkhc.js → websearch-b3f8fkhc.js} +2 -2
- package/dist/chunks/{location-service-map-a22dk6g9.js → websearch-b9egkmbj.js} +42 -42
- package/dist/chunks/{location-service-map-333jpv82.js → websearch-bccg505t.js} +1 -1
- package/dist/chunks/{location-service-map-sb86xevf.js → websearch-bh6c4dfw.js} +15 -15
- package/dist/chunks/{location-service-map-1ffvrpkg.js → websearch-bjx1sjef.js} +6 -6
- package/dist/chunks/{location-service-map-m47hdp86.js → websearch-bn9198c2.js} +9 -9
- package/dist/chunks/{location-service-map-d2s7sfgk.js → websearch-bnefgrzj.js} +4 -4
- package/dist/chunks/{location-service-map-k73fr1k7.js → websearch-bnzc42mj.js} +18 -18
- package/dist/chunks/{location-service-map-g16zfax1.js → websearch-bs99rjxz.js} +25 -25
- package/dist/chunks/{location-service-map-hse9bmtq.js → websearch-bw2a7mrd.js} +3 -3
- package/dist/chunks/{location-service-map-2f8xmtvs.js → websearch-c0a5q8yv.js} +7 -7
- package/dist/chunks/{location-service-map-47yqzcwx.js → websearch-c0r2db44.js} +29 -29
- package/dist/chunks/{location-service-map-c1fqxshp.js → websearch-c1fqxshp.js} +3 -3
- package/dist/chunks/{location-service-map-3z39tkdq.js → websearch-c3se2jx9.js} +7 -7
- package/dist/chunks/{location-service-map-9a1mrhyh.js → websearch-c9qwa378.js} +11 -11
- package/dist/chunks/{location-service-map-yfv96e1b.js → websearch-cks40t6p.js} +19 -19
- package/dist/chunks/{location-service-map-15gp8gwp.js → websearch-ct1mvwjg.js} +18 -18
- package/dist/chunks/{location-service-map-9byyftbt.js → websearch-ctebc06n.js} +26 -26
- package/dist/chunks/{location-service-map-pj97maf1.js → websearch-cx6m10jg.js} +23 -23
- package/dist/chunks/{location-service-map-mx9vqzsb.js → websearch-d1mtykxg.js} +6 -6
- package/dist/chunks/{location-service-map-pynx3rzn.js → websearch-d2kzbmw3.js} +11 -11
- package/dist/chunks/{location-service-map-bpqmbvp8.js → websearch-d4z5pqt3.js} +15 -15
- package/dist/chunks/{location-service-map-kxqng4z4.js → websearch-djzrh6w4.js} +16 -16
- package/dist/chunks/{location-service-map-dqxsqydv.js → websearch-dqxsqydv.js} +1 -1
- package/dist/chunks/{location-service-map-sx3pjf9c.js → websearch-e3yecgat.js} +24 -24
- package/dist/chunks/{location-service-map-eej6y6fw.js → websearch-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-service-map-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-2gbtb9ex.js → websearch-f3cdgw6z.js} +32 -32
- package/dist/chunks/{location-service-map-4h8beb84.js → websearch-f5gxb8yk.js} +57 -57
- package/dist/chunks/{location-service-map-3sw2dssw.js → websearch-f7mvzbvv.js} +18 -18
- package/dist/chunks/{location-service-map-44asg7d3.js → websearch-f8w7qffr.js} +50 -50
- package/dist/chunks/{location-service-map-79nhj7b6.js → websearch-fa5qp4xy.js} +34 -34
- package/dist/chunks/{location-service-map-hw1z087j.js → websearch-fdr2hm3s.js} +7 -7
- package/dist/chunks/{location-service-map-v0es1rhs.js → websearch-fpecnkgp.js} +9 -9
- package/dist/chunks/{location-service-map-ah9s4888.js → websearch-g3e51maf.js} +5 -5
- package/dist/chunks/{location-service-map-tk14y25j.js → websearch-g6yfr6ja.js} +5 -5
- package/dist/chunks/{location-service-map-a8hvaj9p.js → websearch-g7befppt.js} +13 -13
- package/dist/chunks/{location-service-map-50n7yzyq.js → websearch-ga0jpz0d.js} +45 -45
- package/dist/chunks/{location-service-map-2wdjt9g8.js → websearch-gbs64519.js} +14 -14
- package/dist/chunks/{location-service-map-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-kc16ztxm.js → websearch-gg5wemay.js} +15 -15
- package/dist/chunks/{location-service-map-cwa6csj7.js → websearch-gjwgx2c5.js} +9 -9
- package/dist/chunks/{location-service-map-7k1rdhbp.js → websearch-gk4m1h2w.js} +11 -11
- package/dist/chunks/{location-service-map-ah1t51zw.js → websearch-gm1a6fde.js} +10 -10
- package/dist/chunks/{location-service-map-80m1sdbk.js → websearch-gt5ef0z7.js} +316 -316
- package/dist/chunks/{location-service-map-8v3872mr.js → websearch-h4v87q2z.js} +15 -15
- package/dist/chunks/{location-service-map-0xqyf95c.js → websearch-h6310vsd.js} +4 -4
- package/dist/chunks/{location-service-map-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-e59gya24.js → websearch-hbzt9gtj.js} +11 -11
- package/dist/chunks/{location-service-map-gwaf4cyv.js → websearch-hfbyhya8.js} +9 -9
- package/dist/chunks/{location-service-map-hgz4x7wa.js → websearch-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-service-map-mcwdvdbx.js → websearch-hm7hq7v9.js} +9 -9
- package/dist/chunks/{location-service-map-kne8f3cn.js → websearch-hn57h045.js} +4 -4
- package/dist/chunks/{location-service-map-fjmme1zd.js → websearch-hyjv4swb.js} +22 -22
- package/dist/chunks/{location-service-map-z029qf89.js → websearch-hzfz0ca5.js} +8 -8
- package/dist/chunks/{location-service-map-j09zfasm.js → websearch-j09zfasm.js} +3 -3
- package/dist/chunks/{location-service-map-xh49hxk7.js → websearch-jfx6dcav.js} +63 -63
- package/dist/chunks/{location-service-map-h3damvf7.js → websearch-jh5761fk.js} +17 -17
- package/dist/chunks/{location-service-map-6g107h22.js → websearch-jk540des.js} +2 -2
- package/dist/chunks/{location-service-map-w76n4hge.js → websearch-jksq86ky.js} +18 -18
- package/dist/chunks/websearch-jmxcda1w.js +26 -0
- package/dist/chunks/{location-service-map-5jz5gmkx.js → websearch-jscnrsa7.js} +23 -23
- package/dist/chunks/{location-service-map-q15xqe5w.js → websearch-jsg8chps.js} +15 -15
- package/dist/chunks/{location-service-map-z5s28eht.js → websearch-k0hpfmkh.js} +17 -17
- package/dist/chunks/{location-service-map-dzj3pesk.js → websearch-k9hatd62.js} +5 -5
- package/dist/chunks/{location-service-map-hbhk3w7g.js → websearch-kembf2k8.js} +19 -19
- package/dist/chunks/{location-service-map-brzr8pgk.js → websearch-m37q6hgj.js} +4 -4
- package/dist/chunks/{location-service-map-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-maspj1v3.js → websearch-maspj1v3.js} +1 -1
- package/dist/chunks/{location-service-map-y1em8rf3.js → websearch-mcnnr423.js} +17 -17
- package/dist/chunks/{location-service-map-1j6f3fcz.js → websearch-md7p6dyw.js} +5 -5
- package/dist/chunks/{location-service-map-qwqqzdxk.js → websearch-mv4kct63.js} +8 -8
- package/dist/chunks/{location-service-map-1rn5pcm9.js → websearch-n1n192bv.js} +4 -4
- package/dist/chunks/{location-service-map-txqtqxhq.js → websearch-n3nt0ajq.js} +15 -15
- package/dist/chunks/{location-service-map-1g7cdmxb.js → websearch-n667y5ap.js} +25 -25
- package/dist/chunks/{location-service-map-j26e8f99.js → websearch-n7vmd273.js} +39 -39
- package/dist/chunks/{location-service-map-7ph0vnsv.js → websearch-n8nh8026.js} +8 -8
- package/dist/chunks/{location-service-map-t8ne3r2q.js → websearch-nbb4f5b9.js} +18 -18
- package/dist/chunks/{location-service-map-5tjn6tpp.js → websearch-ndqqk9ty.js} +12 -12
- package/dist/chunks/{location-service-map-4ybf7fnk.js → websearch-nepk71f4.js} +7 -7
- package/dist/chunks/{location-service-map-r2z489rp.js → websearch-nma959mg.js} +3 -3
- package/dist/chunks/{location-service-map-6bjhz71w.js → websearch-nnx4n5pg.js} +11 -11
- package/dist/chunks/{location-service-map-pp7c1v3z.js → websearch-nv7vg6tb.js} +34 -34
- package/dist/chunks/{location-service-map-fxaymqdw.js → websearch-ny8edt06.js} +4 -4
- package/dist/chunks/{location-service-map-rwme0grx.js → websearch-p21n5fph.js} +17 -17
- package/dist/chunks/{location-service-map-jxntzgs7.js → websearch-p3sb0s12.js} +24 -24
- package/dist/chunks/{location-service-map-eegn9671.js → websearch-p8trez96.js} +4 -4
- package/dist/chunks/{location-service-map-bz1ch3a7.js → websearch-pebzr6qg.js} +32 -32
- package/dist/chunks/{location-service-map-5wbv3d1w.js → websearch-pfm7p66x.js} +13 -13
- package/dist/chunks/{location-service-map-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-ftxqeyfp.js → websearch-pkk706tc.js} +27 -27
- package/dist/chunks/{location-service-map-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-py3kkmfq.js → websearch-py3kkmfq.js} +2 -2
- package/dist/chunks/{location-service-map-8z12w5mn.js → websearch-pz4vzcaq.js} +16 -16
- package/dist/chunks/{location-service-map-tgnnk969.js → websearch-q04gehn1.js} +36 -36
- package/dist/chunks/{location-service-map-0j77ygfz.js → websearch-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-service-map-8fe0d2sh.js → websearch-q73f65tq.js} +4 -4
- package/dist/chunks/{location-service-map-s68q802c.js → websearch-qhm1d659.js} +15 -15
- package/dist/chunks/{location-service-map-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-z37zr1de.js → websearch-qnkrzfry.js} +4 -4
- package/dist/chunks/{location-service-map-kfj9hn6k.js → websearch-qp8392pn.js} +23 -23
- package/dist/chunks/{location-service-map-drmqggy3.js → websearch-qpb2p9cz.js} +5 -5
- package/dist/chunks/{location-service-map-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-5mq28h2t.js → websearch-qxt1tbqs.js} +17 -17
- package/dist/chunks/{location-service-map-r80kwpvr.js → websearch-r13p0abr.js} +9 -9
- package/dist/chunks/{location-service-map-b7v4cx43.js → websearch-r2jew814.js} +5 -5
- package/dist/chunks/{location-service-map-kz8sfr61.js → websearch-r76ba9db.js} +5 -5
- package/dist/chunks/{location-service-map-r37wb9bh.js → websearch-r8vqp5c1.js} +13 -13
- package/dist/chunks/websearch-rap9a73h.js +18 -0
- package/dist/chunks/{location-service-map-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-rert0e01.js → websearch-rert0e01.js} +2 -2
- package/dist/chunks/{location-service-map-rj3eygr5.js → websearch-rj3eygr5.js} +2 -2
- package/dist/chunks/{location-service-map-drnf6xwf.js → websearch-rmejefvx.js} +2 -2
- package/dist/chunks/{location-service-map-vcc1d1p0.js → websearch-rmxy2zvb.js} +3 -3
- package/dist/chunks/{location-service-map-vjwphg0n.js → websearch-rs308wgg.js} +36 -36
- package/dist/chunks/{location-service-map-j4xtsjbj.js → websearch-rxwgqatg.js} +15 -15
- package/dist/chunks/{location-service-map-bg0scr0s.js → websearch-ryx7rba4.js} +5 -5
- package/dist/chunks/{location-service-map-z1zdzsfj.js → websearch-rz6f7f9n.js} +48 -48
- package/dist/chunks/{location-service-map-z3507kbh.js → websearch-s5qxm7c2.js} +11 -11
- package/dist/chunks/{location-service-map-j0z1hbm7.js → websearch-s6w279bq.js} +11 -11
- package/dist/chunks/{location-service-map-sa8ekw3f.js → websearch-sa8ekw3f.js} +2 -2
- package/dist/chunks/{location-service-map-hxxxkake.js → websearch-sb5gr0mb.js} +21 -21
- package/dist/chunks/{location-service-map-3z3xn5yy.js → websearch-spxeywsx.js} +18 -18
- package/dist/chunks/{location-service-map-ykw935pc.js → websearch-srgtsq79.js} +25 -25
- package/dist/chunks/{location-service-map-2sxk7h72.js → websearch-stfcfc4g.js} +33 -33
- package/dist/chunks/{location-service-map-89x5zc49.js → websearch-stxk1t08.js} +11 -11
- package/dist/chunks/{location-service-map-r8bwyjs3.js → websearch-svgt55pn.js} +32 -32
- package/dist/chunks/{location-service-map-s0gydmaw.js → websearch-sx2hhmb8.js} +25 -25
- package/dist/chunks/{location-service-map-syv4x271.js → websearch-syv4x271.js} +1 -1
- package/dist/chunks/{location-service-map-dvzj1xmf.js → websearch-t3gmvzqj.js} +12 -12
- package/dist/chunks/{location-service-map-0gdmqesm.js → websearch-t550f9t1.js} +4 -4
- package/dist/chunks/{location-service-map-ra8aazcz.js → websearch-tahf1nja.js} +19 -19
- package/dist/chunks/{location-service-map-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tbt5dvb1.js → websearch-tb0dfwn4.js} +16 -16
- package/dist/chunks/{location-service-map-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-krpype3t.js → websearch-tf83f7np.js} +16 -16
- package/dist/chunks/{location-service-map-80scg3y3.js → websearch-tjedn1bk.js} +4 -4
- package/dist/chunks/{location-service-map-tm0kqsz3.js → websearch-tm0kqsz3.js} +1 -1
- package/dist/chunks/{location-service-map-s2t00s75.js → websearch-tn23d3ya.js} +4 -4
- package/dist/chunks/{location-service-map-tyytaxap.js → websearch-tyytaxap.js} +1 -1
- package/dist/chunks/{location-service-map-phz50fbd.js → websearch-v1vh7s4p.js} +9 -9
- package/dist/chunks/{location-service-map-m329mjby.js → websearch-v3q72hwj.js} +12 -12
- package/dist/chunks/{location-service-map-v7p4zvkq.js → websearch-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-service-map-58sy987p.js → websearch-v8rwy4rj.js} +17 -17
- package/dist/chunks/{location-service-map-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-xe9ktzb9.js → websearch-vyj5tysn.js} +33 -33
- package/dist/chunks/{location-service-map-zcf38hqe.js → websearch-vz8v8gd5.js} +9 -9
- package/dist/chunks/{location-service-map-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-1j6m29mr.js → websearch-waskdk5r.js} +9 -9
- package/dist/chunks/{location-service-map-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-htr2xv6b.js → websearch-we18s4mc.js} +6 -6
- package/dist/chunks/{location-service-map-pxpx7y6c.js → websearch-whq79hc3.js} +54 -54
- package/dist/chunks/{location-service-map-gq9mz0q5.js → websearch-wqx5ex10.js} +23 -23
- package/dist/chunks/{location-service-map-dbd4bcxh.js → websearch-x18rv8dz.js} +24 -24
- package/dist/chunks/{location-service-map-addxnjmp.js → websearch-x661k3y3.js} +4 -4
- package/dist/chunks/{location-service-map-qn90mm7z.js → websearch-x6qaxe6z.js} +14 -14
- package/dist/chunks/{location-service-map-xfkkasph.js → websearch-xfkkasph.js} +1 -1
- package/dist/chunks/{location-service-map-9m4mwgwd.js → websearch-xk95h0z4.js} +9 -9
- package/dist/chunks/{location-service-map-agg557zn.js → websearch-xs2jpm2x.js} +11 -11
- package/dist/chunks/{location-service-map-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-6jpm8ex2.js → websearch-y1yj3mj5.js} +24 -24
- package/dist/chunks/{location-service-map-at1kfnmk.js → websearch-y2yt4szk.js} +8 -8
- package/dist/chunks/{location-service-map-c67afrq3.js → websearch-y6ghghm0.js} +6 -6
- package/dist/chunks/{location-service-map-dpkg50ah.js → websearch-y71avatq.js} +4 -4
- package/dist/chunks/{location-service-map-n7chbqxk.js → websearch-yb0rz66p.js} +24 -24
- package/dist/chunks/{location-service-map-4ns3h2re.js → websearch-ydgy0jv4.js} +4 -4
- package/dist/chunks/{location-service-map-h5ctynge.js → websearch-ykp9vgcb.js} +47 -47
- package/dist/chunks/{location-service-map-yp2x3t23.js → websearch-yp2x3t23.js} +1 -1
- package/dist/chunks/{location-service-map-dnxwqgza.js → websearch-ytj6a5rf.js} +15 -15
- package/dist/chunks/{location-service-map-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-n8vdnqrc.js → websearch-z6c3x22d.js} +5 -5
- package/dist/chunks/{location-service-map-r5p8p72t.js → websearch-z76dz3yr.js} +10 -10
- package/dist/chunks/{location-service-map-x5hsf6rj.js → websearch-zgm8fsyv.js} +17 -17
- package/dist/chunks/{location-service-map-wqptjszz.js → websearch-zj1tp3xc.js} +23 -23
- package/dist/chunks/{location-service-map-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-avdzqnth.js → websearch-zr5fzg9e.js} +6 -6
- package/dist/chunks/{location-service-map-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-fwh25w6r.js → websearch-zybd4y84.js} +30 -30
- package/dist/chunks/{location-service-map-av4ka64b.js → websearch-zzt948b8.js} +85 -85
- 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 +81 -81
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- 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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- 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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +4 -4
- 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 +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +130 -130
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-service-map-9sh4wc5j.js +0 -18
- package/dist/chunks/location-service-map-kf3mbpd3.js +0 -253
- package/dist/chunks/location-service-map-pc3mwg2h.js +0 -513
- package/dist/chunks/location-service-map-s315gvtx.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-pkyv6v7h.js → websearch-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-service-map-pyv0edze.js → websearch-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wjj7prxr.js → websearch-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-bjx1sjef.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin6 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin18 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin6, exports_exa };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-tn23d3ya.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID14,
|
|
6
|
+
Event19,
|
|
7
|
+
Service76
|
|
8
|
+
} from "./websearch-478dx55a.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID12
|
|
11
|
+
} from "./websearch-gt5ef0z7.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-y6ghghm0.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service76;
|
|
45
45
|
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID12.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID12.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID12.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID12.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-bw2a7mrd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./websearch-d1mtykxg.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-rap9a73h.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-n1n192bv.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-gk4m1h2w.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-srgtsq79.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service26
|
|
21
|
+
} from "./websearch-45b60gr3.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./websearch-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service39;
|
|
36
36
|
const database = yield* Service85;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service26;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
11
|
Service: () => Service35,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -369,9 +369,9 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
|
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
370
|
return Service35.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service35, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export { Service35, makeLayer2,
|
|
377
|
+
export { Service35, makeLayer2, layer15, node37, exports_model_transport };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
|
-
function
|
|
8
|
+
function make8(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make8 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./websearch-waskdk5r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent3,
|
|
16
|
+
Info: () => Info12
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info14)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info12, exports_agent3 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-bw2a7mrd.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-tn23d3ya.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service47,
|
|
11
|
+
node49
|
|
12
|
+
} from "./websearch-tf83f7np.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node41
|
|
16
|
+
} from "./websearch-d1mtykxg.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service38
|
|
26
|
+
} from "./websearch-hn57h045.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service55,
|
|
29
|
+
node57
|
|
30
|
+
} from "./websearch-x6qaxe6z.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-313mgmv3.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./websearch-n3nt0ajq.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./websearch-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service37,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer16,
|
|
47
|
+
node: () => node40,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service37 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer16 = Layer.effect(Service37, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service55;
|
|
64
|
+
const instances = yield* Service39;
|
|
65
65
|
const bus = yield* Service84;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service47;
|
|
67
67
|
const db = (yield* Service85).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service38.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service37.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node40 = makeGlobalNode({
|
|
127
|
+
service: Service37,
|
|
128
|
+
layer: layer16,
|
|
129
|
+
deps: [node57, node41, node88, node89, node49]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service37, terminal2, layer16, node40, noopLayer2, exports_execution };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer4,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer4 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer4, exports_unavailable };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-xs2jpm2x.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-tn23d3ya.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service76
|
|
11
|
+
} from "./websearch-478dx55a.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./websearch-x18rv8dz.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID12
|
|
23
|
+
} from "./websearch-gt5ef0z7.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-y6ghghm0.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID12.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID13.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service76;
|
|
57
|
+
const integrations = yield* Service75;
|
|
58
58
|
const bus = yield* Service84;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
|
-
yield* bus.subscribe(
|
|
189
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
190
190
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
191
191
|
const token = envToken();
|
|
192
192
|
if (token)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-tn23d3ya.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-tahf1nja.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured2,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
node: () => node24
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,8 +35,8 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options2 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,14 +46,14 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service21.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer10 = makeLayer();
|
|
263
|
+
var configured2 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service21,
|
|
265
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node24 = configured2();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError3, Service21, layer10, configured2, node24, exports_persistent_pty, Handoff2, available2 };
|