@opencode/core 0.0.0-dev-21252 → 0.0.0-dev-21255
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{pty-wq2f1mye.js → job-0b0am34v.js} +16 -16
- package/dist/chunks/{pty-t8c3xmsp.js → job-0cganjca.js} +9 -9
- package/dist/chunks/{pty-8xqdgpeg.js → job-0en1e6vj.js} +4 -4
- package/dist/chunks/{pty-eaj1djv9.js → job-0gdmqesm.js} +8 -8
- package/dist/chunks/{pty-qgn6gcr1.js → job-0jwsre1p.js} +5 -5
- package/dist/chunks/{pty-wez1ajrw.js → job-0kgkgscm.js} +7 -7
- package/dist/chunks/{pty-0vbcp93d.js → job-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-ghzt5075.js → job-183c4jmy.js} +23 -23
- package/dist/chunks/{pty-j5y9yxpr.js → job-18478fzt.js} +33 -33
- package/dist/chunks/{pty-y6yhjvhw.js → job-19deayx9.js} +12 -12
- package/dist/chunks/{pty-emtnyy8a.js → job-19mwx7ty.js} +18 -18
- package/dist/chunks/{pty-dys7k0s0.js → job-1bmjn0qh.js} +8 -8
- package/dist/chunks/{pty-xnpn367r.js → job-1bt0mrby.js} +5 -5
- package/dist/chunks/{pty-bzeyqsqd.js → job-1ep4rre3.js} +4 -4
- package/dist/chunks/{pty-kgrkq9ry.js → job-1gx38s00.js} +48 -48
- package/dist/chunks/{pty-y94agb53.js → job-1kv7653f.js} +35 -35
- package/dist/chunks/{pty-mhwem8sv.js → job-1skwej2f.js} +25 -25
- package/dist/chunks/{pty-hccfxqt2.js → job-1v4han8a.js} +26 -26
- package/dist/chunks/{pty-k8h85fj7.js → job-251hxpd6.js} +2 -2
- package/dist/chunks/{pty-vq0fwg4j.js → job-2jecyrv2.js} +17 -17
- package/dist/chunks/{pty-273j735v.js → job-2jqe5kxt.js} +6 -6
- package/dist/chunks/{pty-d6ex36fs.js → job-2myrwa18.js} +10 -10
- package/dist/chunks/{pty-w579sh2t.js → job-2np9pqpc.js} +28 -28
- package/dist/chunks/{pty-eywv91wk.js → job-2pan25pc.js} +31 -31
- package/dist/chunks/{pty-79qaa2kf.js → job-2sejkfem.js} +9 -9
- package/dist/chunks/{pty-n1900k66.js → job-30r4csjn.js} +1 -1
- package/dist/chunks/{pty-ah7q5eh6.js → job-32nm01ky.js} +10 -10
- package/dist/chunks/{pty-8djhns2y.js → job-33dh01n3.js} +3 -3
- package/dist/chunks/{pty-4yqhvzx8.js → job-354ncqhp.js} +25 -25
- package/dist/chunks/{pty-25875qsz.js → job-3879tc7z.js} +21 -21
- package/dist/chunks/{pty-yq97mf54.js → job-39h5rhqm.js} +19 -19
- package/dist/chunks/{pty-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3hwn7j4h.js → job-3hwn7j4h.js} +2 -2
- package/dist/chunks/{pty-k0dv98ax.js → job-3q32ehnz.js} +20 -20
- package/dist/chunks/{pty-rywzfdxh.js → job-3sj8yt8v.js} +4 -4
- package/dist/chunks/{pty-3smtnn6g.js → job-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → job-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-mgxskf66.js → job-3x4nzhxp.js} +37 -37
- package/dist/chunks/{pty-3zsf4n22.js → job-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-5k0aebbb.js → job-42mgq3fd.js} +22 -22
- package/dist/chunks/{pty-h0bbvnbm.js → job-43hkqz85.js} +99 -99
- package/dist/chunks/{pty-5pckqsa0.js → job-4adt7eps.js} +18 -18
- package/dist/chunks/{pty-mqrd7sth.js → job-4satww4a.js} +5 -5
- package/dist/chunks/{pty-ypw97atq.js → job-5386qw13.js} +341 -341
- package/dist/chunks/{pty-r94pvvab.js → job-54ma36ye.js} +4 -4
- package/dist/chunks/{pty-0jxg87fr.js → job-565bq1sw.js} +6 -6
- package/dist/chunks/{pty-g6yfr6ja.js → job-5fykfdj7.js} +5 -5
- package/dist/chunks/{pty-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-aepr7q13.js → job-5nkgqzpx.js} +188 -188
- package/dist/chunks/{pty-9vrga451.js → job-5w9yjztw.js} +1 -1
- package/dist/chunks/{pty-4ar0dv3a.js → job-67vpff61.js} +20 -20
- package/dist/chunks/{pty-6827pfxn.js → job-6827pfxn.js} +1 -1
- package/dist/chunks/{pty-7jvyjmqp.js → job-6b2y5kdq.js} +45 -45
- package/dist/chunks/{pty-xrpg47n6.js → job-6hjx5zpb.js} +9 -9
- package/dist/chunks/{pty-6xb47vfp.js → job-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-f59ep6tb.js → job-735mfbja.js} +11 -11
- package/dist/chunks/{pty-59j4ht07.js → job-74kj5m1v.js} +12 -12
- package/dist/chunks/{pty-j8hg5m6j.js → job-75s5rq5p.js} +14 -14
- package/dist/chunks/{pty-775gj3j1.js → job-775gj3j1.js} +2 -2
- package/dist/chunks/{pty-qrsxyz47.js → job-7b0bb815.js} +11 -11
- package/dist/chunks/{pty-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-5vvprwm6.js → job-7dphv8vr.js} +4 -4
- package/dist/chunks/{pty-dbe6ax9h.js → job-7j32e9kf.js} +34 -34
- package/dist/chunks/{pty-kt7fyp0h.js → job-7rjbcjrk.js} +61 -61
- package/dist/chunks/{pty-6sk5sj01.js → job-81wcek3x.js} +28 -28
- package/dist/chunks/{pty-5g9mj0x8.js → job-8394tacm.js} +36 -36
- package/dist/chunks/{pty-5mq5fr1q.js → job-84mqe7gd.js} +11 -11
- package/dist/chunks/{pty-84txncab.js → job-84txncab.js} +1 -1
- package/dist/chunks/{pty-4bm5ja14.js → job-86qzxe6p.js} +4 -4
- package/dist/chunks/{pty-ax36eyar.js → job-87deq66t.js} +8 -8
- package/dist/chunks/{pty-5pa1jwxy.js → job-88assg13.js} +12 -12
- package/dist/chunks/{pty-tcezcvh9.js → job-89znhe33.js} +4 -4
- package/dist/chunks/{pty-17h4d3k8.js → job-8aaj5g2q.js} +25 -25
- package/dist/chunks/job-8b08144b.js +26 -0
- package/dist/chunks/{pty-vj4msk15.js → job-8exrc34c.js} +28 -28
- package/dist/chunks/{pty-8fmtb3sq.js → job-8g3gmzcc.js} +38 -38
- package/dist/chunks/{pty-8m6m0r52.js → job-8m6m0r52.js} +1 -1
- package/dist/chunks/{pty-5gzjtbzb.js → job-8mbscqky.js} +8 -8
- package/dist/chunks/{pty-knfhyvcc.js → job-8qdzdq10.js} +11 -11
- package/dist/chunks/{pty-dyx7hmrq.js → job-8vde978r.js} +11 -11
- package/dist/chunks/{pty-rqhgjz8j.js → job-8vwd053a.js} +19 -19
- package/dist/chunks/{pty-5q287mz9.js → job-8wxpwvkd.js} +17 -17
- package/dist/chunks/{pty-sz1e9eqn.js → job-8xb7fhsk.js} +11 -11
- package/dist/chunks/{pty-ms4hbghf.js → job-8zqgetth.js} +50 -50
- package/dist/chunks/{pty-j09zfasm.js → job-91qna3x0.js} +3 -3
- package/dist/chunks/{pty-vfjbdpbc.js → job-92pn9z7f.js} +11 -11
- package/dist/chunks/{pty-9m0hg6kw.js → job-98wqayek.js} +3 -3
- package/dist/chunks/{pty-2edtnx9x.js → job-9d6s9phw.js} +9 -9
- package/dist/chunks/{pty-eys57y9b.js → job-9hn6k4tm.js} +8 -8
- package/dist/chunks/{pty-gj71zhbs.js → job-9hwaqfsw.js} +5 -5
- package/dist/chunks/{pty-y7j6ns4a.js → job-9qq8a0qc.js} +58 -58
- package/dist/chunks/{pty-kawxgbzv.js → job-9rejym2g.js} +20 -20
- package/dist/chunks/{pty-mgq3c1d5.js → job-9rk9hg9h.js} +5 -5
- package/dist/chunks/{pty-z2b2xe7d.js → job-9sepgmye.js} +6 -6
- package/dist/chunks/{pty-znp2av2g.js → job-9z1hh0tf.js} +91 -91
- package/dist/chunks/{pty-eyqpj6mq.js → job-a32t428b.js} +11 -11
- package/dist/chunks/{pty-espax8zg.js → job-a3c7ahw6.js} +4 -4
- package/dist/chunks/{pty-f83dkk6g.js → job-a9980pmf.js} +6 -6
- package/dist/chunks/{pty-gqtdsdt7.js → job-addxnjmp.js} +4 -4
- package/dist/chunks/{pty-kmnwckzv.js → job-aj9hfgjj.js} +11 -11
- package/dist/chunks/{pty-exxz27fe.js → job-aph2yd9d.js} +26 -26
- package/dist/chunks/{pty-7d4ryxry.js → job-awk45mdf.js} +25 -25
- package/dist/chunks/{pty-3hsqsy3q.js → job-b4783717.js} +20 -20
- package/dist/chunks/{pty-dng94c05.js → job-b5kvrx8s.js} +32 -32
- package/dist/chunks/{pty-9kr8jvk4.js → job-b63xp983.js} +9 -9
- package/dist/chunks/{pty-emdb9ywx.js → job-b72f8na7.js} +14 -14
- package/dist/chunks/{pty-b532nts2.js → job-b750pa4h.js} +48 -48
- package/dist/chunks/{pty-zcrspsvn.js → job-baaqp4zd.js} +4 -4
- package/dist/chunks/{pty-txbw3nms.js → job-bc7mmfhb.js} +3 -3
- package/dist/chunks/{pty-8c229cqm.js → job-bctcs78b.js} +52 -52
- package/dist/chunks/{pty-nb8d4sea.js → job-bdma0mfx.js} +8 -8
- package/dist/chunks/{pty-nqvxt6f2.js → job-bhznqkpd.js} +13 -13
- package/dist/chunks/{pty-ywt8jp22.js → job-bjx1sjef.js} +9 -9
- package/dist/chunks/{pty-k7vqg6gp.js → job-c00qqcyn.js} +10 -10
- package/dist/chunks/{pty-jqzezgch.js → job-c07n6z9g.js} +13 -13
- package/dist/chunks/{pty-es1vcfrp.js → job-c1fqxshp.js} +3 -3
- package/dist/chunks/{pty-38m8qhc5.js → job-c246vxc5.js} +11 -11
- package/dist/chunks/{pty-x0tkdd4v.js → job-c2d56q6v.js} +18 -18
- package/dist/chunks/{pty-d54gtgr2.js → job-c38vrkmk.js} +24 -24
- package/dist/chunks/{pty-6kgydgrk.js → job-c5ggqzvz.js} +12 -12
- package/dist/chunks/{pty-b3qw4ny2.js → job-c9ts5b2x.js} +18 -18
- package/dist/chunks/{pty-q0tnd1dz.js → job-cbe4qz8g.js} +15 -15
- package/dist/chunks/{pty-gb91ecjr.js → job-cbyqnfj7.js} +18 -18
- package/dist/chunks/{pty-w0pcsx04.js → job-cc6a353t.js} +5 -5
- package/dist/chunks/{pty-h9sr2fx8.js → job-cp4k7895.js} +42 -42
- package/dist/chunks/{pty-6w7ed4zb.js → job-cqtfg328.js} +14 -14
- package/dist/chunks/{pty-8t56p07m.js → job-cs4rs5z9.js} +25 -25
- package/dist/chunks/{pty-mftp4jgp.js → job-d47cr74k.js} +15 -15
- package/dist/chunks/{pty-kr25s46q.js → job-dhg460na.js} +5 -5
- package/dist/chunks/{pty-wcnw1vw1.js → job-dqkkx36v.js} +4 -4
- package/dist/chunks/{pty-57b9ws8p.js → job-drwq78ky.js} +5 -5
- package/dist/chunks/{pty-tye2g5vs.js → job-dzncw3cj.js} +10 -10
- package/dist/chunks/{pty-51f5btjf.js → job-dzse07y5.js} +6 -6
- package/dist/chunks/{pty-mthh58nh.js → job-ecaanpb5.js} +33 -33
- package/dist/chunks/{pty-v5dkyp31.js → job-edrmdtr5.js} +7 -7
- package/dist/chunks/{pty-89bb6baa.js → job-eeaf82dq.js} +8 -8
- package/dist/chunks/{pty-eej6y6fw.js → job-eej6y6fw.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → job-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-1s33mprc.js → job-egz8y015.js} +11 -11
- package/dist/chunks/{pty-ydh080vk.js → job-en7kt7kw.js} +29 -29
- package/dist/chunks/{pty-8dff8bqa.js → job-engkm2d6.js} +5 -5
- package/dist/chunks/{pty-bzqqb8ta.js → job-epzb9cjm.js} +3 -3
- package/dist/chunks/{pty-1v2js5qj.js → job-f19c7tyb.js} +13 -13
- package/dist/chunks/{pty-h9t9rr5j.js → job-f74p2zz7.js} +8 -8
- package/dist/chunks/{pty-fcy631f0.js → job-fcy631f0.js} +1 -1
- package/dist/chunks/{pty-qk7mv1xs.js → job-ffwnsa63.js} +7 -7
- package/dist/chunks/{pty-16nt522w.js → job-fhpyfz8g.js} +32 -32
- package/dist/chunks/{pty-p62ktq1b.js → job-fjzayqdf.js} +22 -22
- package/dist/chunks/{pty-j1e1vdpa.js → job-fyex1rb2.js} +29 -29
- package/dist/chunks/{pty-xrdmrr14.js → job-g7hygz5w.js} +5 -5
- package/dist/chunks/{pty-gd4qta3r.js → job-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-5py0qphe.js → job-gk16vh88.js} +21 -21
- package/dist/chunks/{pty-79efq26t.js → job-gk72j6ke.js} +28 -28
- package/dist/chunks/{pty-2x278s08.js → job-gnfg1a0d.js} +25 -25
- package/dist/chunks/{pty-bmv70x53.js → job-gqca90xa.js} +32 -32
- package/dist/chunks/{pty-h62q6qsm.js → job-gv26ytpv.js} +13 -13
- package/dist/chunks/job-gyce5qg1.js +18 -0
- package/dist/chunks/{pty-y7vwj9hc.js → job-h1a9xdpj.js} +39 -39
- package/dist/chunks/{pty-f8bebqmw.js → job-h2y0btx6.js} +9 -9
- package/dist/chunks/{pty-h6vf3j39.js → job-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-d1a28jh7.js → job-h978070j.js} +5 -5
- package/dist/chunks/{pty-ev6dmhwt.js → job-hc0rm640.js} +13 -13
- package/dist/chunks/{pty-ry6831an.js → job-hes1j7ga.js} +9 -9
- package/dist/chunks/{pty-hgz4x7wa.js → job-hgz4x7wa.js} +1 -1
- package/dist/chunks/{pty-ztsrdpdj.js → job-htps53gr.js} +5 -5
- package/dist/chunks/{pty-56swpcfg.js → job-j0jj6nzq.js} +11 -11
- package/dist/chunks/{pty-be2m8mkb.js → job-j17z8emx.js} +25 -25
- package/dist/chunks/{pty-gp4w86nb.js → job-j6vzycwv.js} +27 -27
- package/dist/chunks/{pty-pgf8gcr8.js → job-jb9vp6hy.js} +40 -40
- package/dist/chunks/{pty-b5s7rv85.js → job-jhaz5qs9.js} +24 -24
- package/dist/chunks/{pty-vak501x5.js → job-jrte7xhr.js} +76 -76
- package/dist/chunks/{pty-75v6ymbe.js → job-jzfv3c4q.js} +11 -11
- package/dist/chunks/{pty-xg5ymnxc.js → job-k65xvr1c.js} +4 -4
- package/dist/chunks/{pty-xw6wytjz.js → job-k7zgb9t1.js} +25 -25
- package/dist/chunks/{pty-eh6ej367.js → job-kecqjjhm.js} +5 -5
- package/dist/chunks/{pty-5kgk83bb.js → job-kf3khcvz.js} +27 -27
- package/dist/chunks/{pty-qsswj7nd.js → job-kg45811x.js} +20 -20
- package/dist/chunks/{pty-a5jmndgx.js → job-kryp5w0s.js} +21 -21
- package/dist/chunks/{pty-kwb1v3vj.js → job-kwb1v3vj.js} +1 -1
- package/dist/chunks/{pty-sbb270gk.js → job-m3h9znaz.js} +8 -8
- package/dist/chunks/{pty-zdj3kqwc.js → job-m66ca4de.js} +44 -44
- package/dist/chunks/{pty-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-v2r51t0g.js → job-ma70ad8t.js} +5 -5
- package/dist/chunks/{pty-maspj1v3.js → job-maspj1v3.js} +1 -1
- package/dist/chunks/{pty-j4x75x50.js → job-mcfqq9te.js} +19 -19
- package/dist/chunks/{pty-mx4xths8.js → job-mf2r14r4.js} +29 -29
- package/dist/chunks/{pty-waskdk5r.js → job-mv3hx7wz.js} +4 -4
- package/dist/chunks/{pty-8whp40kv.js → job-my4zabxr.js} +3 -3
- package/dist/chunks/{pty-5rqr18hk.js → job-mz0pp7az.js} +18 -18
- package/dist/chunks/{pty-qe7qwmvw.js → job-naar3tdf.js} +40 -40
- package/dist/chunks/{pty-m1z5ek08.js → job-ng3918dk.js} +8 -8
- package/dist/chunks/{pty-9587ae3r.js → job-nqs4bf9c.js} +9 -9
- package/dist/chunks/{pty-fxaymqdw.js → job-ny8edt06.js} +4 -4
- package/dist/chunks/{pty-j7jn4qex.js → job-p24c079a.js} +32 -32
- package/dist/chunks/{pty-khtxvdmw.js → job-p2t1b06p.js} +34 -34
- package/dist/chunks/{pty-75ar5t22.js → job-pa1eke5z.js} +11 -11
- package/dist/chunks/{pty-r86349qm.js → job-pc3q5c30.js} +6 -6
- package/dist/chunks/{pty-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{pty-sj1k89gn.js → job-pmj1g225.js} +24 -24
- package/dist/chunks/{pty-2vx1pgcs.js → job-pxgzee38.js} +24 -24
- package/dist/chunks/{pty-hskj05ts.js → job-pxqy487y.js} +33 -33
- package/dist/chunks/{pty-v8wcx65a.js → job-pz2c7a75.js} +24 -24
- package/dist/chunks/{pty-zz1sb3nm.js → job-q8e3bb1j.js} +27 -27
- package/dist/chunks/{pty-ghttpbhe.js → job-q93zbcj7.js} +24 -24
- package/dist/chunks/{pty-fna3snnf.js → job-qab0b6fs.js} +28 -28
- package/dist/chunks/{pty-k4j5e150.js → job-qb3gqhpk.js} +19 -19
- package/dist/chunks/{pty-ws3rr3fx.js → job-qfj561sk.js} +35 -35
- package/dist/chunks/{pty-bsg7vvxy.js → job-qmsfj9qe.js} +17 -17
- package/dist/chunks/{pty-qnc92qwc.js → job-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-613s401q.js → job-qnz231a3.js} +22 -22
- package/dist/chunks/{pty-qsdy395h.js → job-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-m35e3w0r.js → job-r1k1m7h4.js} +13 -13
- package/dist/chunks/{pty-c7zza6wf.js → job-r2z489rp.js} +3 -3
- package/dist/chunks/{pty-5p4ea1z6.js → job-r6z8vyws.js} +16 -16
- package/dist/chunks/{pty-6ts7sypm.js → job-rbcyss01.js} +14 -14
- package/dist/chunks/{pty-w2veat89.js → job-rbr7q6vg.js} +52 -52
- package/dist/chunks/{pty-t5bkfr6y.js → job-rdmydezs.js} +21 -21
- package/dist/chunks/{pty-rdw6cm16.js → job-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-0prfbnza.js → job-rdyak5bt.js} +15 -15
- package/dist/chunks/{pty-tkb22qbm.js → job-rert0e01.js} +2 -2
- package/dist/chunks/{pty-c41wscbt.js → job-rj3eygr5.js} +2 -2
- package/dist/chunks/{pty-04zfcyt8.js → job-rjc796xv.js} +11 -11
- package/dist/chunks/{pty-1p07q0wb.js → job-rkprpv83.js} +4 -4
- package/dist/chunks/{pty-nzsdqqv9.js → job-s162anc2.js} +36 -36
- package/dist/chunks/{pty-w3t90m8a.js → job-s6rqmwtd.js} +16 -16
- package/dist/chunks/{pty-c8ax2afj.js → job-sa8ekw3f.js} +2 -2
- package/dist/chunks/{pty-9z80hxc4.js → job-shzz4297.js} +29 -29
- package/dist/chunks/{pty-gq21vk3h.js → job-sqe063rw.js} +15 -15
- package/dist/chunks/{pty-ep1c6evs.js → job-srn1we0c.js} +17 -17
- package/dist/chunks/{pty-syv4x271.js → job-syv4x271.js} +1 -1
- package/dist/chunks/{pty-ajfgb3zy.js → job-sz9w49w1.js} +7 -7
- package/dist/chunks/{pty-tazgh4e4.js → job-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → job-tdstcens.js} +1 -1
- package/dist/chunks/{pty-tm0kqsz3.js → job-tm0kqsz3.js} +1 -1
- package/dist/chunks/{pty-tt8gc4fv.js → job-tt8gc4fv.js} +3 -3
- package/dist/chunks/{pty-dbvaw56v.js → job-txs12rvc.js} +36 -36
- package/dist/chunks/{pty-gecaqdc7.js → job-tyvxt1ex.js} +13 -13
- package/dist/chunks/{pty-tyytaxap.js → job-tyytaxap.js} +1 -1
- package/dist/chunks/{pty-v7p4zvkq.js → job-v7p4zvkq.js} +2 -2
- package/dist/chunks/{pty-rgg94day.js → job-va9m3yfr.js} +33 -33
- package/dist/chunks/{pty-bqqqx74r.js → job-vbaqehyt.js} +43 -43
- package/dist/chunks/{pty-veqvce7d.js → job-veqvce7d.js} +1 -1
- package/dist/chunks/job-vhdjby6d.js +257 -0
- package/dist/chunks/{pty-carp9cx2.js → job-vnkj26qf.js} +23 -23
- package/dist/chunks/{pty-bx3wj5v5.js → job-vnqvcj6c.js} +23 -23
- package/dist/chunks/{pty-b8fv3x8g.js → job-vq3hzx1c.js} +14 -14
- package/dist/chunks/{pty-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-tenjkvjc.js → job-w80m7akx.js} +15 -15
- package/dist/chunks/{pty-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{pty-pyp098nx.js → job-wjp46czt.js} +16 -16
- package/dist/chunks/{pty-8n5y01rv.js → job-wv2z12sv.js} +4 -4
- package/dist/chunks/{pty-x5jhdhzv.js → job-x5jhdhzv.js} +2 -2
- package/dist/chunks/{pty-dwy6gwr4.js → job-x649nbq6.js} +4 -4
- package/dist/chunks/{pty-2vfvkkyx.js → job-x7qexhyk.js} +4 -4
- package/dist/chunks/{pty-k283101k.js → job-xa8dcf8m.js} +11 -11
- package/dist/chunks/{pty-qj9dcjzw.js → job-xg4bv4es.js} +5 -5
- package/dist/chunks/{pty-wy73jbek.js → job-xjm1sypc.js} +13 -13
- package/dist/chunks/{pty-8btm942h.js → job-xwrvh0b1.js} +2 -2
- package/dist/chunks/{pty-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-7qcm40ym.js → job-y2regnas.js} +11 -11
- package/dist/chunks/{pty-dpkg50ah.js → job-y71avatq.js} +4 -4
- package/dist/chunks/{pty-4xdpab2z.js → job-y7nndgyc.js} +9 -9
- package/dist/chunks/{pty-2ggmd3qz.js → job-yg4xb06f.js} +9 -9
- package/dist/chunks/{pty-09mdhsg2.js → job-yj0qrgr5.js} +8 -8
- package/dist/chunks/{pty-4k4fvchf.js → job-yk0wa052.js} +14 -14
- package/dist/chunks/{pty-1acjjqhc.js → job-yp2x3t23.js} +4 -4
- package/dist/chunks/{pty-h0c8h6v4.js → job-ytd3kwsj.js} +17 -17
- package/dist/chunks/{pty-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-z18fegx4.js → job-z18fegx4.js} +1 -1
- package/dist/chunks/{pty-ewzhehhx.js → job-zd14833c.js} +51 -51
- package/dist/chunks/{pty-jym867d0.js → job-zdxpb1eb.js} +14 -14
- package/dist/chunks/{pty-vfmy936b.js → job-zfkg1z7m.js} +12 -12
- package/dist/chunks/{pty-c4mkfy92.js → job-zk79ydvq.js} +4 -4
- package/dist/chunks/{pty-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-wrh894z7.js → job-zsv5p2ws.js} +28 -28
- package/dist/chunks/{pty-vjkhbcr1.js → job-zt0eq4b3.js} +22 -22
- package/dist/chunks/{pty-zxq2ej10.js → job-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-mf5sjjt4.js → job-zy6tnfjm.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- 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 +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +74 -74
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +76 -76
- 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 +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- 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 +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- 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 +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 +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- 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 +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- 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 +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +157 -157
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +122 -122
- package/dist/session/model-transport.js +9 -9
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/pty-619r8v3y.js +0 -18
- package/dist/chunks/pty-b31pqyrf.js +0 -26
- package/dist/chunks/pty-yjxftd19.js +0 -257
- /package/dist/chunks/{pty-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → job-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → job-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → job-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → job-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → job-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → job-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → job-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → job-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hcxmzztb.js → job-hcxmzztb.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jze0r7bz.js → job-jze0r7bz.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → job-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-pkyv6v7h.js → job-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{pty-pyv0edze.js → job-pyv0edze.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → job-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → job-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wjj7prxr.js → job-wjj7prxr.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → job-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → job-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./job-b72f8na7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./job-c38vrkmk.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./job-cbyqnfj7.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./job-p2t1b06p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service56
|
|
24
|
+
} from "./job-9qq8a0qc.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service38
|
|
27
|
+
} from "./job-c2d56q6v.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input7,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin24,
|
|
39
|
+
name: () => name7,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name7 = "glob";
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin24 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service69;
|
|
70
|
+
const ripgrep = yield* Service68;
|
|
71
|
+
const location = yield* Service82;
|
|
72
|
+
const access = yield* Service38;
|
|
73
|
+
const permission = yield* Service56;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name7,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin21 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name7, Input7, Output6, toModelContent5, Plugin24, exports_glob };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./job-9qq8a0qc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service46
|
|
10
|
+
} from "./job-2np9pqpc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input8,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin25,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name8,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name8 = "skill";
|
|
30
|
+
var Input8 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin25 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service46;
|
|
51
|
+
const permission = yield* Service56;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name8,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input8,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name8,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin32 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name8, Input8, Output7, description2, toModelOutput2, Plugin25, exports_skill2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./job-hc0rm640.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-y71avatq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./job-0b0am34v.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./job-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./job-my4zabxr.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./job-c1fqxshp.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info14,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service51,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer22,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node54,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info14,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service51 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service86;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service85;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info14.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer22 = Layer.effect(Service51, make17());
|
|
231
|
+
var node54 = makeGlobalNode({ service: Service51, layer: layer22, deps: [node90, node89] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info14, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service51, make17, layer22, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./job-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-my4zabxr.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./job-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./job-c38vrkmk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content3
|
|
12
|
+
} from "./job-p2t1b06p.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./job-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./job-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service8,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node10,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content3.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service69;
|
|
335
|
+
return Service8.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node10 = makeLocationNode({ service: Service8, layer, deps: [node72] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./job-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError6,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError6, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service32,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer15,
|
|
15
|
+
node: () => node35,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service32 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer15 = Layer.effect(Service32, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service32.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer29 = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node35 = makeGlobalNode({ service: Service32, layer: layer15, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service32, layer15, node35, statements2, decision2, exports_managed_policy };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./job-0b0am34v.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9qq8a0qc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event9,
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info13,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service46,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node49,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event9 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source4 = Skill.Source;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var Info13 = Skill.Info;
|
|
44
|
+
var ID5 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,33 +78,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service46 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const current = editor.skills.get(
|
|
95
|
+
const current = editor.skills.get(ID5.make(id));
|
|
96
96
|
if (!current)
|
|
97
97
|
return;
|
|
98
98
|
update(current);
|
|
99
|
-
current.id =
|
|
99
|
+
current.id = ID5.make(id);
|
|
100
100
|
},
|
|
101
101
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
102
|
+
editor.skills.delete(ID5.make(id));
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service46.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node49 = makeLocationNode({
|
|
119
|
+
service: Service46,
|
|
120
120
|
layer,
|
|
121
|
-
deps: [
|
|
121
|
+
deps: [node89]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info13, ID5, Name2, available2, toModelOutput3, prepare3, Service46, node49, exports_skill5, Event9 };
|