@opencode/core 0.0.0-dev-20314 → 0.0.0-dev-20315
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/websearch-0562jfy0.js +507 -0
- package/dist/chunks/{worktree-m92xhnzy.js → websearch-05gncdem.js} +3 -3
- package/dist/chunks/{worktree-pgtq6dzx.js → websearch-0ck15x4z.js} +21 -21
- package/dist/chunks/{worktree-8edxm6pr.js → websearch-0dbhx5c8.js} +10 -10
- package/dist/chunks/{worktree-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-4tg3mvfj.js → websearch-15q9zhw6.js} +32 -32
- package/dist/chunks/{worktree-kztetyb1.js → websearch-18q5qf09.js} +30 -30
- package/dist/chunks/{worktree-mhkvc446.js → websearch-1bbkgx8g.js} +3 -3
- package/dist/chunks/{worktree-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-4yvz2rcy.js → websearch-1dmbhjkf.js} +12 -12
- package/dist/chunks/{worktree-5rpzdny6.js → websearch-1p4wrj55.js} +23 -23
- package/dist/chunks/{worktree-6xk05h7s.js → websearch-1vhcn32p.js} +6 -6
- package/dist/chunks/{worktree-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-fy02dvg1.js → websearch-25danj7w.js} +24 -24
- package/dist/chunks/{worktree-1fm7vbk4.js → websearch-2735jr6x.js} +12 -12
- package/dist/chunks/{worktree-z63w68vq.js → websearch-29x78va6.js} +6 -6
- package/dist/chunks/{worktree-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-9b00c1fb.js → websearch-2cmv458r.js} +5 -5
- package/dist/chunks/{worktree-0qy4awsn.js → websearch-2d3was31.js} +28 -28
- package/dist/chunks/{worktree-2k8khapm.js → websearch-2k8khapm.js} +1 -1
- package/dist/chunks/{worktree-vqhx5d1p.js → websearch-2qg9r24m.js} +29 -29
- package/dist/chunks/{worktree-gm1x238t.js → websearch-2ve4gsd6.js} +8 -8
- package/dist/chunks/{worktree-gsaq8s04.js → websearch-2zeps9bf.js} +27 -27
- package/dist/chunks/{worktree-4a0nv7mx.js → websearch-30846h32.js} +8 -8
- package/dist/chunks/{worktree-ryr25ayn.js → websearch-34rkz0x9.js} +7 -7
- package/dist/chunks/{worktree-pf2hb43r.js → websearch-35agz59w.js} +4 -4
- package/dist/chunks/{worktree-ebpkp5tm.js → websearch-37rvek3e.js} +5 -5
- package/dist/chunks/{worktree-z4jtqfv3.js → websearch-3c019r4e.js} +6 -6
- package/dist/chunks/{worktree-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-mvksx64m.js → websearch-3fmtxraa.js} +4 -4
- package/dist/chunks/{worktree-z4b5t13m.js → websearch-3gkfjs8g.js} +22 -22
- package/dist/chunks/{worktree-hy20qw0x.js → websearch-3gqbdmzf.js} +15 -15
- package/dist/chunks/{worktree-mn20a28a.js → websearch-3h88fw2c.js} +9 -9
- package/dist/chunks/{worktree-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-m2vze1yq.js → websearch-3ta3wknr.js} +10 -10
- package/dist/chunks/{worktree-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-varpx0pc.js → websearch-4ayrdjn3.js} +13 -13
- package/dist/chunks/{worktree-c66ced72.js → websearch-4k6nebbf.js} +8 -8
- package/dist/chunks/{worktree-8gh9vszs.js → websearch-4kq9pb9m.js} +27 -27
- package/dist/chunks/{worktree-pzjt7r8f.js → websearch-4smaernk.js} +6 -6
- package/dist/chunks/{worktree-dc6tzc5b.js → websearch-4sn99hha.js} +5 -5
- package/dist/chunks/{worktree-7fp3pbdt.js → websearch-4ww9n9r4.js} +32 -32
- package/dist/chunks/{worktree-afjydgk3.js → websearch-4wwqnvbr.js} +4 -4
- package/dist/chunks/{worktree-xp0f2vnn.js → websearch-510kmzsn.js} +5 -5
- package/dist/chunks/{worktree-92dk74jt.js → websearch-54frdkap.js} +11 -11
- package/dist/chunks/{worktree-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-zqm7km32.js → websearch-55t35ge0.js} +5 -5
- package/dist/chunks/{worktree-1ygqh575.js → websearch-56gdpj1q.js} +9 -9
- package/dist/chunks/{worktree-pb82r3ma.js → websearch-58dtx8ms.js} +11 -11
- package/dist/chunks/{worktree-2wmsjg7e.js → websearch-599yrsc6.js} +12 -12
- package/dist/chunks/{worktree-rwan6hkh.js → websearch-5brnvgs1.js} +13 -13
- package/dist/chunks/{worktree-277eer69.js → websearch-5cp6651z.js} +4 -4
- package/dist/chunks/{worktree-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-4j4tgtq5.js → websearch-5dkn69vz.js} +4 -4
- package/dist/chunks/{worktree-swh571tt.js → websearch-5pcerek2.js} +1 -1
- package/dist/chunks/{worktree-1sejb65e.js → websearch-5qmq9jsc.js} +13 -13
- package/dist/chunks/{worktree-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-0nc4skqk.js → websearch-5xy19ny6.js} +9 -9
- package/dist/chunks/{worktree-34nypsh0.js → websearch-6361pm7t.js} +11 -11
- package/dist/chunks/{worktree-7qann507.js → websearch-65cry6gt.js} +46 -46
- package/dist/chunks/{worktree-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{worktree-f40tx9v5.js → websearch-67yngfbk.js} +7 -7
- package/dist/chunks/{worktree-n9a5crpx.js → websearch-6c75yjmg.js} +8 -8
- package/dist/chunks/{worktree-m8jn794n.js → websearch-6dzt0jsp.js} +33 -33
- package/dist/chunks/{worktree-2v3kr2zz.js → websearch-6jev5hzb.js} +45 -45
- package/dist/chunks/{worktree-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-50fh3k1w.js → websearch-6q2vn9ec.js} +17 -17
- package/dist/chunks/{worktree-7f76ypb7.js → websearch-743fkmh2.js} +16 -16
- package/dist/chunks/{worktree-4wj5hqyp.js → websearch-744h6hpz.js} +10 -10
- package/dist/chunks/{worktree-k96bfvzz.js → websearch-74k0abgc.js} +24 -24
- package/dist/chunks/{worktree-cac6dn0k.js → websearch-75bft53p.js} +10 -10
- package/dist/chunks/{worktree-fr5646w7.js → websearch-75cbc0wp.js} +42 -42
- package/dist/chunks/{worktree-a43gst0m.js → websearch-76jqgbzw.js} +5 -5
- package/dist/chunks/{worktree-djszqvmq.js → websearch-79qaa2kf.js} +9 -9
- package/dist/chunks/{worktree-77vpx1b6.js → websearch-7bbm11g6.js} +17 -17
- package/dist/chunks/{worktree-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-fnz0r7q7.js → websearch-7g2dwhq9.js} +11 -11
- package/dist/chunks/{worktree-2mxwjfq3.js → websearch-7krgpby0.js} +23 -23
- package/dist/chunks/{worktree-h5m7e0fe.js → websearch-7v81x33d.js} +9 -9
- package/dist/chunks/{worktree-0z5kb6hf.js → websearch-7zt2hy8r.js} +5 -5
- package/dist/chunks/{worktree-5cbjsbf2.js → websearch-83yvtnma.js} +7 -7
- package/dist/chunks/{worktree-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{worktree-y3m4vy1g.js → websearch-8amrmy6h.js} +60 -60
- package/dist/chunks/{worktree-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-4857ee0e.js → websearch-8fk8ddme.js} +57 -57
- package/dist/chunks/{worktree-w3x9v1nk.js → websearch-8s1fj8xg.js} +8 -8
- package/dist/chunks/{worktree-83xp5e3e.js → websearch-8s64f4zr.js} +2 -2
- package/dist/chunks/{worktree-py3kkmfq.js → websearch-8sze2n9a.js} +6 -6
- package/dist/chunks/{worktree-yvyjs43v.js → websearch-8vb5tqwb.js} +38 -38
- package/dist/chunks/{worktree-93fchcwg.js → websearch-8yt0sx58.js} +23 -23
- package/dist/chunks/{worktree-6apn3h4b.js → websearch-8zvfy1sx.js} +9 -9
- package/dist/chunks/{worktree-94ek1h2f.js → websearch-94ek1h2f.js} +2 -2
- package/dist/chunks/{worktree-g8rmq192.js → websearch-9k94y365.js} +20 -20
- package/dist/chunks/{worktree-05xfxpq7.js → websearch-9nj21xqc.js} +8 -8
- package/dist/chunks/{worktree-6rebv3cw.js → websearch-9sjzy932.js} +3 -3
- package/dist/chunks/{worktree-6hzy2d5p.js → websearch-a5k959kv.js} +39 -39
- package/dist/chunks/{worktree-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-tta4ne66.js → websearch-aftbda3g.js} +15 -15
- package/dist/chunks/{worktree-w8m5q4xe.js → websearch-b31wxpcf.js} +18 -18
- package/dist/chunks/{worktree-g3bz5gs9.js → websearch-b48k6s9j.js} +22 -22
- package/dist/chunks/{worktree-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-r0s9vhwa.js → websearch-b9rp53qd.js} +15 -15
- package/dist/chunks/{worktree-gm0g7gcc.js → websearch-c349nqvk.js} +14 -14
- package/dist/chunks/websearch-c72agqfj.js +252 -0
- package/dist/chunks/{worktree-akpb58q4.js → websearch-cbnb0qhw.js} +18 -18
- package/dist/chunks/{worktree-0k65zfrv.js → websearch-ckbmf8wb.js} +93 -93
- package/dist/chunks/{worktree-ckecvw8r.js → websearch-ckecvw8r.js} +2 -2
- package/dist/chunks/{worktree-9n87anw0.js → websearch-d32cvgp3.js} +10 -10
- package/dist/chunks/{worktree-htbmzt7n.js → websearch-d8q7azdv.js} +12 -12
- package/dist/chunks/{worktree-3kxsbfdd.js → websearch-det6nmjv.js} +27 -27
- package/dist/chunks/{worktree-baaqp4zd.js → websearch-dhmh7aw6.js} +4 -4
- package/dist/chunks/{worktree-wd71bnwr.js → websearch-djw7193z.js} +26 -26
- package/dist/chunks/{worktree-xkntkrq7.js → websearch-dmqcgk4z.js} +5 -5
- package/dist/chunks/{worktree-dpkg50ah.js → websearch-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-5qd3pb7m.js → websearch-e3qxr5gk.js} +2 -2
- package/dist/chunks/{worktree-59fdznsn.js → websearch-e5jdprf0.js} +15 -15
- package/dist/chunks/{worktree-brpj3swx.js → websearch-e68yym1a.js} +32 -32
- package/dist/chunks/{worktree-tha3vvwn.js → websearch-e809e4x5.js} +5 -5
- package/dist/chunks/{worktree-ecfe7b91.js → websearch-ecfe7b91.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-9hn6k4tm.js → websearch-eys57y9b.js} +8 -8
- package/dist/chunks/{worktree-6r564qq4.js → websearch-f1smd48c.js} +11 -11
- package/dist/chunks/{worktree-dkq1mqd6.js → websearch-f473zzm1.js} +4 -4
- package/dist/chunks/{worktree-jw8n4n6p.js → websearch-f7hnam9t.js} +22 -22
- package/dist/chunks/{worktree-t5fc0zjg.js → websearch-fajpydvj.js} +5 -5
- package/dist/chunks/{worktree-vhqg2wpr.js → websearch-fg62k31m.js} +34 -34
- package/dist/chunks/{worktree-vd7rzxqf.js → websearch-g5agzp2h.js} +5 -5
- package/dist/chunks/{worktree-z4ygwn82.js → websearch-g7swxvb3.js} +12 -12
- package/dist/chunks/{worktree-s0sx2v9z.js → websearch-ga9qj16j.js} +182 -182
- package/dist/chunks/{worktree-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-garp4qw6.js → websearch-gd52xpsw.js} +5 -5
- package/dist/chunks/{worktree-ap2tpm1x.js → websearch-gdhrwhft.js} +24 -24
- package/dist/chunks/{worktree-8s0ze3zt.js → websearch-gfxm4tx3.js} +10 -10
- package/dist/chunks/{worktree-87temrgz.js → websearch-ghjn1vr2.js} +9 -9
- package/dist/chunks/{worktree-f8hpcc62.js → websearch-ghr0z1c5.js} +29 -29
- package/dist/chunks/{worktree-5xn2kdjj.js → websearch-gj3tcdjz.js} +69 -69
- package/dist/chunks/{worktree-qaj4vhma.js → websearch-gmffv4tx.js} +3 -3
- package/dist/chunks/{worktree-c3nyckct.js → websearch-gs5xsmqt.js} +22 -22
- package/dist/chunks/{worktree-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-adbp0bjj.js → websearch-gx9hpsfx.js} +10 -10
- package/dist/chunks/{worktree-s3b2wgtr.js → websearch-h34v8h42.js} +11 -11
- package/dist/chunks/{worktree-hd8vw2pw.js → websearch-h5w29vws.js} +1 -1
- package/dist/chunks/{worktree-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-z04dqx9d.js → websearch-has5vve3.js} +5 -5
- package/dist/chunks/{worktree-m8h3g6ey.js → websearch-hegvwz92.js} +5 -5
- package/dist/chunks/{worktree-pnd0g9pf.js → websearch-hn98dy4c.js} +3 -3
- package/dist/chunks/{worktree-h316dbp4.js → websearch-hnhy823k.js} +11 -11
- package/dist/chunks/{worktree-qjnxxf51.js → websearch-hnr5yq9h.js} +5 -5
- package/dist/chunks/{worktree-tgtk0jyg.js → websearch-j3fq2wes.js} +23 -23
- package/dist/chunks/{worktree-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-ky3seynh.js → websearch-j699j8bt.js} +2 -2
- package/dist/chunks/{worktree-e7f86dzg.js → websearch-jb03acqs.js} +13 -13
- package/dist/chunks/{worktree-smzykshb.js → websearch-jeyg0ke5.js} +3 -3
- package/dist/chunks/{worktree-jvhjazwr.js → websearch-jmdxyne3.js} +11 -11
- package/dist/chunks/{worktree-s7m1jgh3.js → websearch-jrb3ybzb.js} +39 -39
- package/dist/chunks/{worktree-yntvrfmt.js → websearch-jtpqwtf5.js} +18 -18
- package/dist/chunks/{worktree-aj9wrhbp.js → websearch-jvz2vva3.js} +9 -9
- package/dist/chunks/{worktree-jtq10j8j.js → websearch-jznkeq6r.js} +23 -23
- package/dist/chunks/{worktree-k3c624dm.js → websearch-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-11dqjexa.js → websearch-kdq8v965.js} +9 -9
- package/dist/chunks/{worktree-m84c3eg8.js → websearch-kf2091jj.js} +15 -15
- package/dist/chunks/{worktree-hanh6chz.js → websearch-kgw03ymn.js} +24 -24
- package/dist/chunks/{worktree-z16xbst3.js → websearch-m1h0tx1s.js} +3 -3
- package/dist/chunks/{worktree-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-df33jmy2.js → websearch-m4x1wxq0.js} +23 -23
- package/dist/chunks/{worktree-rvyqzb1a.js → websearch-m868v4qf.js} +26 -26
- package/dist/chunks/{worktree-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-kvh070sc.js → websearch-mefsdm1z.js} +37 -37
- package/dist/chunks/{worktree-ps28zk1z.js → websearch-mfjatvga.js} +14 -14
- package/dist/chunks/{worktree-kf269fqw.js → websearch-mg4kb3sm.js} +36 -36
- package/dist/chunks/{worktree-n810d9f4.js → websearch-mgpyxjx6.js} +11 -11
- package/dist/chunks/{worktree-dnxkq42g.js → websearch-mpk0rfs5.js} +4 -4
- package/dist/chunks/{worktree-7f7t51gq.js → websearch-mq4hv3jy.js} +11 -11
- package/dist/chunks/{worktree-6gx3r2kv.js → websearch-mq5qpvgt.js} +14 -14
- package/dist/chunks/{worktree-mje1cxe4.js → websearch-mxcxzvg0.js} +27 -27
- package/dist/chunks/{worktree-2wfhz1m8.js → websearch-mzch8gy8.js} +14 -14
- package/dist/chunks/{worktree-pnv527nz.js → websearch-n35d2xk4.js} +9 -9
- package/dist/chunks/{worktree-r5vpsbwz.js → websearch-n8r2xnj4.js} +29 -29
- package/dist/chunks/{worktree-k3dyg6dm.js → websearch-nfbxkr4j.js} +20 -20
- package/dist/chunks/{worktree-twe926b3.js → websearch-nswq2vff.js} +12 -12
- package/dist/chunks/{worktree-bpa6zfs4.js → websearch-nwaxkyn6.js} +87 -87
- package/dist/chunks/{worktree-wgss2cbp.js → websearch-nxas41wb.js} +11 -11
- package/dist/chunks/{worktree-pecb0brz.js → websearch-nxhqveyz.js} +5 -5
- package/dist/chunks/{worktree-6jn9sxf3.js → websearch-nzzq53xj.js} +32 -32
- package/dist/chunks/{worktree-g190xswt.js → websearch-p51p3jcg.js} +21 -21
- package/dist/chunks/{worktree-4jv7e9dq.js → websearch-p57dvf2n.js} +7 -7
- package/dist/chunks/{worktree-0xxe8pk9.js → websearch-pbex7gjf.js} +3 -3
- package/dist/chunks/{worktree-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-xxynqx5z.js → websearch-pk2244jm.js} +3 -3
- package/dist/chunks/{worktree-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-8hbfdwcy.js → websearch-pnvk1zxf.js} +8 -8
- package/dist/chunks/{worktree-3zm2m16b.js → websearch-pp3sfry4.js} +23 -23
- package/dist/chunks/{worktree-7627eybd.js → websearch-pqs75qat.js} +18 -18
- package/dist/chunks/{worktree-senast2p.js → websearch-pr7xs3qk.js} +20 -20
- package/dist/chunks/{worktree-qc068m1q.js → websearch-qc068m1q.js} +1 -1
- package/dist/chunks/{worktree-sxwx9tkq.js → websearch-qd90pas1.js} +35 -35
- package/dist/chunks/{worktree-5e7ha89d.js → websearch-qn2t683x.js} +15 -15
- package/dist/chunks/{worktree-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-2x11xqq5.js → websearch-qv4qswxh.js} +28 -28
- package/dist/chunks/{worktree-z0ya5s7h.js → websearch-qwn8ah54.js} +9 -9
- package/dist/chunks/{worktree-5g59cdd4.js → websearch-qzvt6g0y.js} +48 -48
- package/dist/chunks/websearch-r26p9eks.js +26 -0
- package/dist/chunks/{worktree-1acjjqhc.js → websearch-r8xr0va3.js} +4 -4
- package/dist/chunks/{worktree-5m5pvpe6.js → websearch-r8z811q0.js} +18 -18
- package/dist/chunks/{worktree-vncycja5.js → websearch-r98e92ep.js} +4 -4
- package/dist/chunks/{worktree-5qpsy98w.js → websearch-ram43mb6.js} +24 -24
- package/dist/chunks/{worktree-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-rhjbct0v.js → websearch-rhjbct0v.js} +1 -1
- package/dist/chunks/{worktree-6gtt5snn.js → websearch-rjfym8a1.js} +36 -36
- package/dist/chunks/{worktree-v7z2bvyd.js → websearch-rk7s9xkn.js} +4 -4
- package/dist/chunks/{worktree-s5c30328.js → websearch-rndjshpn.js} +3 -3
- package/dist/chunks/{worktree-q4s4x04b.js → websearch-rv6z7gw2.js} +23 -23
- package/dist/chunks/{worktree-yrznvahk.js → websearch-s4enseaf.js} +2 -2
- package/dist/chunks/{worktree-kk69x7kr.js → websearch-s6ta71px.js} +16 -16
- package/dist/chunks/{worktree-xpjcprn4.js → websearch-s6thwhsa.js} +29 -29
- package/dist/chunks/{worktree-37xnkr9x.js → websearch-s9e0embe.js} +40 -40
- package/dist/chunks/{worktree-fyq3qmbb.js → websearch-sbg2ffdw.js} +4 -4
- package/dist/chunks/{worktree-34q1q4g3.js → websearch-sht1ggzb.js} +4 -4
- package/dist/chunks/{worktree-07ka27pw.js → websearch-snyhvzmq.js} +44 -44
- package/dist/chunks/{worktree-fk0r5cwe.js → websearch-sp2q8w15.js} +15 -15
- package/dist/chunks/{worktree-x79bsykc.js → websearch-sp9z2nbm.js} +11 -11
- package/dist/chunks/{worktree-2kba3xe6.js → websearch-t30g6ptf.js} +26 -26
- package/dist/chunks/{worktree-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-nwxgwzyy.js → websearch-tc6h97yq.js} +9 -9
- package/dist/chunks/{worktree-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-a4e1tewd.js → websearch-tmzr3e9p.js} +4 -4
- package/dist/chunks/{worktree-yg13730w.js → websearch-tnjqcmf2.js} +17 -17
- package/dist/chunks/{worktree-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-de6phzbx.js → websearch-v3y2rnh8.js} +6 -6
- package/dist/chunks/{worktree-herfy2z0.js → websearch-v7y0g2dx.js} +13 -13
- package/dist/chunks/{worktree-xj9aad7z.js → websearch-v82ahx5x.js} +44 -44
- package/dist/chunks/{worktree-0jkw1j53.js → websearch-v8jfbz3g.js} +6 -6
- package/dist/chunks/{worktree-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-sgemhp45.js → websearch-vne8fx5y.js} +14 -14
- package/dist/chunks/{worktree-abrjz9qv.js → websearch-vs04cnh9.js} +13 -13
- package/dist/chunks/{worktree-0b08qf3v.js → websearch-vter92x3.js} +8 -8
- package/dist/chunks/{worktree-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-ghxjqect.js → websearch-w2h2marb.js} +13 -13
- package/dist/chunks/{worktree-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-jp5y0tg6.js → websearch-w50pcx5b.js} +24 -24
- package/dist/chunks/{worktree-zqcr6gem.js → websearch-wbpsemv3.js} +20 -20
- package/dist/chunks/{worktree-wd3x2cqz.js → websearch-wd3x2cqz.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-3ebwcaah.js → websearch-whtab2de.js} +27 -27
- package/dist/chunks/{worktree-hkarc3f0.js → websearch-wjhk09fd.js} +9 -9
- package/dist/chunks/{worktree-7sgyf0xz.js → websearch-wzaheq51.js} +6 -6
- package/dist/chunks/{worktree-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-gfzbkctm.js → websearch-x2g21h5k.js} +19 -19
- package/dist/chunks/{worktree-xfkkasph.js → websearch-xfkkasph.js} +1 -1
- package/dist/chunks/{worktree-5j6r72e5.js → websearch-xftkdb3f.js} +1 -1
- package/dist/chunks/{worktree-gyccd9n7.js → websearch-xkwfj8pw.js} +26 -26
- package/dist/chunks/{worktree-pa3vm0gt.js → websearch-xpcm6zc0.js} +37 -37
- package/dist/chunks/{worktree-dqanwn8q.js → websearch-xqe4nx7y.js} +19 -19
- package/dist/chunks/{worktree-bb5562zs.js → websearch-xs77dcbq.js} +33 -33
- package/dist/chunks/{worktree-g36vf30t.js → websearch-xwdehcth.js} +13 -13
- package/dist/chunks/{worktree-vrxaz2n4.js → websearch-y13zm6th.js} +8 -8
- package/dist/chunks/{worktree-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-fa575c2x.js → websearch-y58kfvay.js} +28 -28
- package/dist/chunks/{worktree-mve018rq.js → websearch-y76jjpt2.js} +44 -44
- package/dist/chunks/{worktree-prdv2mte.js → websearch-y8r0b0d7.js} +4 -4
- package/dist/chunks/{worktree-msy23jaw.js → websearch-ydvyv12k.js} +20 -20
- package/dist/chunks/{worktree-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-m02w9rze.js → websearch-ysmh0qcb.js} +28 -28
- package/dist/chunks/{worktree-fhz5gfgy.js → websearch-yt3hy1g9.js} +5 -5
- package/dist/chunks/{worktree-3grjp0nz.js → websearch-yw5az23y.js} +13 -13
- package/dist/chunks/{worktree-z07pqspn.js → websearch-z07pqspn.js} +3 -3
- package/dist/chunks/{worktree-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-evbgk2k8.js → websearch-z3pw5915.js} +5 -5
- package/dist/chunks/{worktree-b92gs9tv.js → websearch-z46atd3x.js} +24 -24
- package/dist/chunks/{worktree-hcvxcehv.js → websearch-z46nqmt0.js} +22 -22
- package/dist/chunks/{worktree-t794wzvf.js → websearch-z8b4kjbk.js} +29 -29
- package/dist/chunks/{worktree-9x0b5x9j.js → websearch-z961w9n7.js} +14 -14
- package/dist/chunks/{worktree-xeavwtd2.js → websearch-z9hgdvrx.js} +31 -31
- package/dist/chunks/{worktree-818pfwc9.js → websearch-ze3aemja.js} +11 -11
- package/dist/chunks/{worktree-0zz42z4j.js → websearch-zed2rj9n.js} +11 -11
- package/dist/chunks/{worktree-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-vd5yy21v.js → websearch-zfras33v.js} +35 -35
- package/dist/chunks/{worktree-knad820t.js → websearch-zqmxcax1.js} +13 -13
- package/dist/chunks/{worktree-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-7twg7rgh.js → websearch-ztg86a82.js} +18 -18
- package/dist/chunks/{worktree-eycgq67k.js → websearch-zw0fwj7b.js} +46 -46
- package/dist/chunks/{worktree-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +82 -82
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +9 -9
- package/dist/shell.js +138 -138
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/worktree-dfjfj6f0.js +0 -252
- package/dist/chunks/worktree-t3czs8ed.js +0 -26
- package/dist/chunks/worktree-y019w46x.js +0 -507
- /package/dist/chunks/{worktree-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID6,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./websearch-det6nmjv.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./websearch-xs77dcbq.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./websearch-v82ahx5x.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-pk2244jm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service50
|
|
18
|
+
} from "./websearch-tnjqcmf2.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./websearch-8amrmy6h.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service27
|
|
25
|
+
} from "./websearch-ckbmf8wb.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./websearch-nxas41wb.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./websearch-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input4,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin24,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name4 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input4 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin24 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service27;
|
|
93
|
+
const jobs = yield* Service50;
|
|
94
|
+
const agents = yield* Service57;
|
|
95
|
+
const config = yield* Service63;
|
|
96
|
+
const permission = yield* Service54;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin28 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin28 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name4,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin28 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID6.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name4 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name4];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name4, Input4, Output4, description2, Plugin24, exports_subagent };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-mgpyxjx6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./websearch-c349nqvk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./websearch-jznkeq6r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./websearch-n8r2xnj4.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-6dzt0jsp.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-4smaernk.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/unstable/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,9 +53,9 @@ 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*
|
|
58
|
-
const bus = yield*
|
|
56
|
+
const credentials = yield* Service78;
|
|
57
|
+
const integrations = yield* Service76;
|
|
58
|
+
const bus = yield* Service82;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
61
61
|
const saved = Effect.gen(function* () {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./websearch-c349nqvk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./websearch-mfjatvga.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service34
|
|
10
|
+
} from "./websearch-zw0fwj7b.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin47
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin47 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service79;
|
|
200
|
+
const mcp = yield* Service34;
|
|
201
|
+
const bus = yield* Service82;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin47, exports_command2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-m1h0tx1s.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service71,
|
|
17
|
+
node: () => node74
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service71 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service71.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node74 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service71, node74, exports_kv };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node85
|
|
4
|
+
} from "./websearch-c349nqvk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID14,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service77,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node80,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID14 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID14
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID14
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID14
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID14,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service77 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
@@ -90,7 +90,7 @@ var layer24 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID14.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service77.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node80 = makeLocationNode({ service: Service77, layer: layer25, deps: [node85] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node80, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-xs77dcbq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./websearch-v82ahx5x.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-4smaernk.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service63;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make4();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make4, LMStudioPlugin2 };
|