@opencode/core 0.0.0-dev-21246 → 0.0.0-dev-21252
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 +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-qhqzagh6.js → pty-04zfcyt8.js} +8 -8
- package/dist/chunks/{model-ws4vyhwj.js → pty-09mdhsg2.js} +11 -11
- package/dist/chunks/{model-1xfgz0sp.js → pty-0jxg87fr.js} +6 -6
- package/dist/chunks/{model-xatn3567.js → pty-0prfbnza.js} +15 -15
- package/dist/chunks/{model-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-xyskky0w.js → pty-16nt522w.js} +32 -32
- package/dist/chunks/{model-t0kn5a8z.js → pty-17h4d3k8.js} +25 -25
- package/dist/chunks/{model-f2n192rq.js → pty-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-6pc27hjz.js → pty-1p07q0wb.js} +8 -8
- package/dist/chunks/{model-b8q5jebn.js → pty-1s33mprc.js} +19 -19
- package/dist/chunks/{model-v5t5db04.js → pty-1v2js5qj.js} +13 -13
- package/dist/chunks/{model-sgtrt5z9.js → pty-25875qsz.js} +21 -21
- package/dist/chunks/{model-4tr9sj3s.js → pty-273j735v.js} +6 -6
- package/dist/chunks/{model-t1jfcm4z.js → pty-2edtnx9x.js} +9 -9
- package/dist/chunks/{model-21apjdyf.js → pty-2ggmd3qz.js} +9 -9
- package/dist/chunks/{model-rcz188q3.js → pty-2vfvkkyx.js} +4 -4
- package/dist/chunks/{model-athpecc5.js → pty-2vx1pgcs.js} +22 -22
- package/dist/chunks/{model-r5atchfd.js → pty-2x278s08.js} +24 -24
- package/dist/chunks/{model-qn5g76bm.js → pty-38m8qhc5.js} +11 -11
- package/dist/chunks/{model-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-aeda8hqw.js → pty-3hsqsy3q.js} +17 -17
- package/dist/chunks/{model-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-bn1qxpvg.js → pty-4ar0dv3a.js} +20 -20
- package/dist/chunks/{model-8tsdq50x.js → pty-4bm5ja14.js} +4 -4
- package/dist/chunks/{model-awbtd0yc.js → pty-4k4fvchf.js} +11 -11
- package/dist/chunks/{model-y7nndgyc.js → pty-4xdpab2z.js} +9 -9
- package/dist/chunks/{model-vsd1gfwp.js → pty-4yqhvzx8.js} +27 -27
- package/dist/chunks/{model-3ppptnan.js → pty-51f5btjf.js} +6 -6
- package/dist/chunks/{model-d0r6ezqk.js → pty-56swpcfg.js} +11 -11
- package/dist/chunks/{model-drwq78ky.js → pty-57b9ws8p.js} +5 -5
- package/dist/chunks/{model-p7pxayv7.js → pty-59j4ht07.js} +12 -12
- package/dist/chunks/{model-ancsbgw1.js → pty-5g9mj0x8.js} +36 -36
- package/dist/chunks/{model-s5met55r.js → pty-5gzjtbzb.js} +8 -8
- package/dist/chunks/{model-stapj22y.js → pty-5k0aebbb.js} +22 -22
- package/dist/chunks/{model-1v2yvtm3.js → pty-5kgk83bb.js} +27 -27
- package/dist/chunks/{model-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-7bs235hv.js → pty-5mq5fr1q.js} +11 -11
- package/dist/chunks/{model-qcr1ft2j.js → pty-5p4ea1z6.js} +16 -16
- package/dist/chunks/{model-hz4f5mwj.js → pty-5pa1jwxy.js} +12 -12
- package/dist/chunks/{model-zx174a2x.js → pty-5pckqsa0.js} +20 -20
- package/dist/chunks/{model-5z23qfcc.js → pty-5py0qphe.js} +21 -21
- package/dist/chunks/{model-4pkmv55a.js → pty-5q287mz9.js} +17 -17
- package/dist/chunks/{model-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-87y04qby.js → pty-5rqr18hk.js} +15 -15
- package/dist/chunks/{model-4npcy765.js → pty-5vvprwm6.js} +4 -4
- package/dist/chunks/{model-awpj2eee.js → pty-613s401q.js} +22 -22
- package/dist/chunks/pty-619r8v3y.js +18 -0
- package/dist/chunks/{model-6827pfxn.js → pty-6827pfxn.js} +1 -1
- package/dist/chunks/{model-69dwh4me.js → pty-6kgydgrk.js} +12 -12
- package/dist/chunks/{model-n9rxncxh.js → pty-6sk5sj01.js} +20 -20
- package/dist/chunks/{model-097tdram.js → pty-6ts7sypm.js} +14 -14
- package/dist/chunks/{model-7xbjxe45.js → pty-6w7ed4zb.js} +14 -14
- package/dist/chunks/{model-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-zps3pk6h.js → pty-75ar5t22.js} +8 -8
- package/dist/chunks/{model-ej3ps13p.js → pty-75v6ymbe.js} +14 -14
- package/dist/chunks/{model-775gj3j1.js → pty-775gj3j1.js} +2 -2
- package/dist/chunks/{model-sxjbcd6h.js → pty-79efq26t.js} +21 -21
- package/dist/chunks/{model-2sejkfem.js → pty-79qaa2kf.js} +9 -9
- package/dist/chunks/{model-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-e4n90qqz.js → pty-7d4ryxry.js} +21 -21
- package/dist/chunks/{model-ckyjf00w.js → pty-7jvyjmqp.js} +45 -45
- package/dist/chunks/{model-czn9w0x8.js → pty-7qcm40ym.js} +11 -11
- package/dist/chunks/{model-w1eejvng.js → pty-84txncab.js} +5 -5
- package/dist/chunks/{model-757464b7.js → pty-89bb6baa.js} +8 -8
- package/dist/chunks/{model-49npcfp6.js → pty-8btm942h.js} +2 -2
- package/dist/chunks/{model-71vf3ngy.js → pty-8c229cqm.js} +46 -46
- package/dist/chunks/{model-fwfdmgk0.js → pty-8dff8bqa.js} +5 -5
- package/dist/chunks/{model-0z1664j4.js → pty-8djhns2y.js} +3 -3
- package/dist/chunks/{model-fe6t81kk.js → pty-8fmtb3sq.js} +38 -38
- package/dist/chunks/{model-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-yg1rf1wp.js → pty-8n5y01rv.js} +1 -1
- package/dist/chunks/{model-aykdkgmz.js → pty-8t56p07m.js} +31 -31
- package/dist/chunks/{model-my4zabxr.js → pty-8whp40kv.js} +3 -3
- package/dist/chunks/{model-be0c020n.js → pty-8xqdgpeg.js} +4 -4
- package/dist/chunks/{model-9knpn9fj.js → pty-9587ae3r.js} +7 -7
- package/dist/chunks/{model-9n6penxb.js → pty-9kr8jvk4.js} +9 -9
- package/dist/chunks/{model-dxbxxdsx.js → pty-9m0hg6kw.js} +3 -3
- package/dist/chunks/{model-jhdf29st.js → pty-9vrga451.js} +1 -1
- package/dist/chunks/{model-ca0q5yrm.js → pty-9z80hxc4.js} +25 -25
- package/dist/chunks/{model-hgtsck7j.js → pty-a5jmndgx.js} +23 -23
- package/dist/chunks/{model-p9ejm27k.js → pty-aepr7q13.js} +186 -186
- package/dist/chunks/{model-zv6mcmn5.js → pty-ah7q5eh6.js} +10 -10
- package/dist/chunks/{model-z5cwttbn.js → pty-ajfgb3zy.js} +7 -7
- package/dist/chunks/{model-h5b4kcx3.js → pty-ax36eyar.js} +8 -8
- package/dist/chunks/pty-b31pqyrf.js +26 -0
- package/dist/chunks/{model-k14cytbx.js → pty-b3qw4ny2.js} +18 -18
- package/dist/chunks/{model-mnwdfy6v.js → pty-b532nts2.js} +47 -47
- package/dist/chunks/{model-pdpqmpbc.js → pty-b5s7rv85.js} +13 -13
- package/dist/chunks/{model-ad0pmgce.js → pty-b8fv3x8g.js} +7 -7
- package/dist/chunks/{model-80c2k4k7.js → pty-be2m8mkb.js} +24 -24
- package/dist/chunks/{model-b8q0dhmk.js → pty-bmv70x53.js} +32 -32
- package/dist/chunks/{model-625mrsyp.js → pty-bqqqx74r.js} +45 -45
- package/dist/chunks/{model-c7e58gyn.js → pty-bsg7vvxy.js} +17 -17
- package/dist/chunks/{model-7wjtm8pe.js → pty-bx3wj5v5.js} +22 -22
- package/dist/chunks/{model-1ep4rre3.js → pty-bzeyqsqd.js} +4 -4
- package/dist/chunks/{model-gvq4k2rx.js → pty-bzqqb8ta.js} +3 -3
- package/dist/chunks/{model-rj3eygr5.js → pty-c41wscbt.js} +2 -2
- package/dist/chunks/{model-07pzcvjy.js → pty-c4mkfy92.js} +4 -4
- package/dist/chunks/{model-5rzwp8tz.js → pty-c7zza6wf.js} +3 -3
- package/dist/chunks/{model-sa8ekw3f.js → pty-c8ax2afj.js} +2 -2
- package/dist/chunks/{model-70hdk6w9.js → pty-carp9cx2.js} +9 -9
- package/dist/chunks/{model-d1a28jh7.js → pty-d1a28jh7.js} +2 -2
- package/dist/chunks/{model-5nszh0bg.js → pty-d54gtgr2.js} +24 -24
- package/dist/chunks/{model-q0nrsbdj.js → pty-d6ex36fs.js} +10 -10
- package/dist/chunks/{model-1hq49wfp.js → pty-dbe6ax9h.js} +36 -36
- package/dist/chunks/{model-9ersraf9.js → pty-dbvaw56v.js} +36 -36
- package/dist/chunks/{model-tqfze7qe.js → pty-dng94c05.js} +34 -34
- package/dist/chunks/{model-y71avatq.js → pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-44zr7wmx.js → pty-dwy6gwr4.js} +4 -4
- package/dist/chunks/{model-cdzn34jf.js → pty-dys7k0s0.js} +8 -8
- package/dist/chunks/{model-yex8rs33.js → pty-dyx7hmrq.js} +7 -7
- package/dist/chunks/{model-0gdmqesm.js → pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-c41dsvxf.js → pty-eh6ej367.js} +5 -5
- package/dist/chunks/{model-pmrbxne1.js → pty-emdb9ywx.js} +16 -16
- package/dist/chunks/{model-1jyb01pe.js → pty-emtnyy8a.js} +18 -18
- package/dist/chunks/{model-2dfjzq3d.js → pty-ep1c6evs.js} +19 -19
- package/dist/chunks/{model-c1fqxshp.js → pty-es1vcfrp.js} +3 -3
- package/dist/chunks/{model-j8m1p4p1.js → pty-espax8zg.js} +4 -4
- package/dist/chunks/{model-gprk1h4z.js → pty-ev6dmhwt.js} +13 -13
- package/dist/chunks/{model-4fj1av0q.js → pty-ewzhehhx.js} +51 -51
- package/dist/chunks/{model-hyq6bs5b.js → pty-exxz27fe.js} +25 -25
- package/dist/chunks/{model-sf5qjhtj.js → pty-eyqpj6mq.js} +11 -11
- package/dist/chunks/{model-p4mj4rdp.js → pty-eys57y9b.js} +8 -8
- package/dist/chunks/{model-2g6dfhex.js → pty-eywv91wk.js} +31 -31
- package/dist/chunks/{model-32y4ehgv.js → pty-f59ep6tb.js} +11 -11
- package/dist/chunks/{model-ssjyj57x.js → pty-f83dkk6g.js} +6 -6
- package/dist/chunks/{model-r8h9xppv.js → pty-f8bebqmw.js} +9 -9
- package/dist/chunks/{model-fcy631f0.js → pty-fcy631f0.js} +1 -1
- package/dist/chunks/{model-mzv3dx1f.js → pty-fna3snnf.js} +19 -19
- package/dist/chunks/{model-khmqacep.js → pty-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-4xpgt2w9.js → pty-g6yfr6ja.js} +5 -5
- package/dist/chunks/{model-3ev0eyv6.js → pty-gb91ecjr.js} +14 -14
- package/dist/chunks/{model-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-z4gkakm8.js → pty-gecaqdc7.js} +13 -13
- package/dist/chunks/{model-3pwzytv4.js → pty-ghttpbhe.js} +24 -24
- package/dist/chunks/{model-pcvvctms.js → pty-ghzt5075.js} +25 -25
- package/dist/chunks/{model-qne3fa44.js → pty-gj71zhbs.js} +5 -5
- package/dist/chunks/{model-n7y0njwp.js → pty-gp4w86nb.js} +24 -24
- package/dist/chunks/{model-4w4b1d7d.js → pty-gq21vk3h.js} +23 -23
- package/dist/chunks/{model-addxnjmp.js → pty-gqtdsdt7.js} +4 -4
- package/dist/chunks/{model-2shkhq8w.js → pty-h0bbvnbm.js} +95 -95
- package/dist/chunks/{model-rym9dfdm.js → pty-h0c8h6v4.js} +17 -17
- package/dist/chunks/{model-1aqxs61q.js → pty-h62q6qsm.js} +13 -13
- package/dist/chunks/{model-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-k5asgy6z.js → pty-h9sr2fx8.js} +43 -43
- package/dist/chunks/{model-ny8kxbfq.js → pty-h9t9rr5j.js} +8 -8
- package/dist/chunks/{model-8qrvq6xp.js → pty-hccfxqt2.js} +24 -24
- package/dist/chunks/{model-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-8wvywagr.js → pty-hskj05ts.js} +36 -36
- package/dist/chunks/{model-91qna3x0.js → pty-j09zfasm.js} +3 -3
- package/dist/chunks/{model-ddf16z40.js → pty-j1e1vdpa.js} +27 -27
- package/dist/chunks/{model-t0h2n3rs.js → pty-j4x75x50.js} +15 -15
- package/dist/chunks/{model-6rz1y2wy.js → pty-j5y9yxpr.js} +33 -33
- package/dist/chunks/{model-qg72ng58.js → pty-j7jn4qex.js} +26 -26
- package/dist/chunks/{model-0p8327n1.js → pty-j8hg5m6j.js} +14 -14
- package/dist/chunks/{model-zkzbh4fe.js → pty-jqzezgch.js} +13 -13
- package/dist/chunks/{model-vcvrskz7.js → pty-jym867d0.js} +11 -11
- package/dist/chunks/{model-8fqv1czf.js → pty-k0dv98ax.js} +20 -20
- package/dist/chunks/{model-a3jygwg9.js → pty-k283101k.js} +10 -10
- package/dist/chunks/{model-k6zys8zm.js → pty-k4j5e150.js} +19 -19
- package/dist/chunks/{model-qzyrmewc.js → pty-k7vqg6gp.js} +10 -10
- package/dist/chunks/{model-251hxpd6.js → pty-k8h85fj7.js} +2 -2
- package/dist/chunks/{model-graqqgqk.js → pty-kawxgbzv.js} +20 -20
- package/dist/chunks/{model-t9p9ds3w.js → pty-kgrkq9ry.js} +48 -48
- package/dist/chunks/{model-yhd4kr0d.js → pty-khtxvdmw.js} +21 -21
- package/dist/chunks/{model-aft55nha.js → pty-kmnwckzv.js} +11 -11
- package/dist/chunks/{model-kwrthnf5.js → pty-knfhyvcc.js} +11 -11
- package/dist/chunks/{model-tyj5kcgj.js → pty-kr25s46q.js} +5 -5
- package/dist/chunks/{model-887mgra2.js → pty-kt7fyp0h.js} +61 -61
- package/dist/chunks/{model-kwb1v3vj.js → pty-kwb1v3vj.js} +1 -1
- package/dist/chunks/{model-1t0smfc2.js → pty-m1z5ek08.js} +5 -5
- package/dist/chunks/{model-1n2tbqxy.js → pty-m35e3w0r.js} +13 -13
- package/dist/chunks/{model-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-maspj1v3.js → pty-maspj1v3.js} +1 -1
- package/dist/chunks/{model-ysf596fe.js → pty-mf5sjjt4.js} +1 -1
- package/dist/chunks/{model-p2a5t6n1.js → pty-mftp4jgp.js} +15 -15
- package/dist/chunks/{model-te6jzdmb.js → pty-mgq3c1d5.js} +5 -5
- package/dist/chunks/{model-pkd7a947.js → pty-mgxskf66.js} +37 -37
- package/dist/chunks/{model-52dsmx63.js → pty-mhwem8sv.js} +28 -28
- package/dist/chunks/{model-nqan7h4w.js → pty-mqrd7sth.js} +5 -5
- package/dist/chunks/{model-281szs7x.js → pty-ms4hbghf.js} +50 -50
- package/dist/chunks/{model-yg5d8nnt.js → pty-mthh58nh.js} +30 -30
- package/dist/chunks/{model-hmn8skn7.js → pty-mx4xths8.js} +29 -29
- package/dist/chunks/{model-fz60qaa0.js → pty-n1900k66.js} +1 -1
- package/dist/chunks/{model-n9wyj86f.js → pty-nb8d4sea.js} +8 -8
- package/dist/chunks/{model-1khnc541.js → pty-nqvxt6f2.js} +10 -10
- package/dist/chunks/{model-qge264qz.js → pty-nzsdqqv9.js} +36 -36
- package/dist/chunks/{model-pe8kdg2p.js → pty-p62ktq1b.js} +22 -22
- package/dist/chunks/{model-aq8vh238.js → pty-pgf8gcr8.js} +44 -44
- package/dist/chunks/{model-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{model-t32m0x77.js → pty-pyp098nx.js} +16 -16
- package/dist/chunks/{model-q38gq3gg.js → pty-q0tnd1dz.js} +15 -15
- package/dist/chunks/{model-73e3zp3f.js → pty-qe7qwmvw.js} +45 -45
- package/dist/chunks/{model-7dqw4kz8.js → pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-2kmfbs7e.js → pty-qj9dcjzw.js} +5 -5
- package/dist/chunks/{model-6qr4j83s.js → pty-qk7mv1xs.js} +7 -7
- package/dist/chunks/{model-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-9880wbbs.js → pty-qrsxyz47.js} +11 -11
- package/dist/chunks/{model-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{model-tnj6rg6w.js → pty-qsswj7nd.js} +17 -17
- package/dist/chunks/{model-3d73cf36.js → pty-r86349qm.js} +6 -6
- package/dist/chunks/{model-54ma36ye.js → pty-r94pvvab.js} +4 -4
- package/dist/chunks/{model-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-gsf378dw.js → pty-rgg94day.js} +35 -35
- package/dist/chunks/{model-atgtgdsa.js → pty-rqhgjz8j.js} +19 -19
- package/dist/chunks/{model-scv7p57g.js → pty-ry6831an.js} +9 -9
- package/dist/chunks/{model-5dkn69vz.js → pty-rywzfdxh.js} +4 -4
- package/dist/chunks/{model-gkp0ddc4.js → pty-sbb270gk.js} +8 -8
- package/dist/chunks/{model-aam1wbba.js → pty-sj1k89gn.js} +22 -22
- package/dist/chunks/{model-syv4x271.js → pty-syv4x271.js} +1 -1
- package/dist/chunks/{model-0m7ycz82.js → pty-sz1e9eqn.js} +15 -15
- package/dist/chunks/{model-a9g1m0ex.js → pty-t5bkfr6y.js} +18 -18
- package/dist/chunks/{model-rtaw32ca.js → pty-t8c3xmsp.js} +6 -6
- package/dist/chunks/{model-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{model-ankjvyyp.js → pty-tenjkvjc.js} +15 -15
- package/dist/chunks/{model-rert0e01.js → pty-tkb22qbm.js} +2 -2
- package/dist/chunks/{model-tm0kqsz3.js → pty-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-kmj26603.js → pty-tt8gc4fv.js} +6 -6
- package/dist/chunks/{model-4maedhka.js → pty-txbw3nms.js} +6 -6
- package/dist/chunks/{model-y43trhdb.js → pty-tye2g5vs.js} +5 -5
- package/dist/chunks/{model-tyytaxap.js → pty-tyytaxap.js} +1 -1
- package/dist/chunks/{model-n4c5dz5t.js → pty-v2r51t0g.js} +6 -6
- package/dist/chunks/{model-qa3qhgw8.js → pty-v5dkyp31.js} +4 -4
- package/dist/chunks/{model-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-64wcp3ah.js → pty-v8wcx65a.js} +21 -21
- package/dist/chunks/{model-wv1zjxz8.js → pty-vak501x5.js} +76 -76
- package/dist/chunks/{model-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{model-w0wzfpd6.js → pty-vfjbdpbc.js} +11 -11
- package/dist/chunks/{model-4zknrba3.js → pty-vfmy936b.js} +12 -12
- package/dist/chunks/{model-5r6fx5kf.js → pty-vj4msk15.js} +21 -21
- package/dist/chunks/{model-rr7kcg9w.js → pty-vjkhbcr1.js} +22 -22
- package/dist/chunks/{model-jpnzyfkp.js → pty-vq0fwg4j.js} +15 -15
- package/dist/chunks/{model-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-15wyy7w2.js → pty-w0pcsx04.js} +5 -5
- package/dist/chunks/{model-v3ff97sk.js → pty-w2veat89.js} +49 -49
- package/dist/chunks/{model-syqwr3zh.js → pty-w3t90m8a.js} +13 -13
- package/dist/chunks/{model-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-j1aawj34.js → pty-w579sh2t.js} +28 -28
- package/dist/chunks/{model-5fec3t3w.js → pty-waskdk5r.js} +9 -9
- package/dist/chunks/{model-dqkkx36v.js → pty-wcnw1vw1.js} +4 -4
- package/dist/chunks/{model-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{model-1gdg00yg.js → pty-wez1ajrw.js} +7 -7
- package/dist/chunks/{model-vd0d0qbj.js → pty-wq2f1mye.js} +16 -16
- package/dist/chunks/{model-ne4b8g45.js → pty-wrh894z7.js} +52 -52
- package/dist/chunks/{model-r3berafb.js → pty-ws3rr3fx.js} +35 -35
- package/dist/chunks/{model-es2a07ty.js → pty-wy73jbek.js} +13 -13
- package/dist/chunks/{model-7s91hvyw.js → pty-x0tkdd4v.js} +18 -18
- package/dist/chunks/{model-q9s78hn2.js → pty-x5jhdhzv.js} +9 -9
- package/dist/chunks/{model-dxe8y5pz.js → pty-xg5ymnxc.js} +4 -4
- package/dist/chunks/{model-41wwwxfc.js → pty-xnpn367r.js} +5 -5
- package/dist/chunks/{model-vaj0eftp.js → pty-xrdmrr14.js} +5 -5
- package/dist/chunks/{model-s1kvmffy.js → pty-xrpg47n6.js} +9 -9
- package/dist/chunks/{model-g9senpad.js → pty-xw6wytjz.js} +30 -30
- package/dist/chunks/{model-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-z8ajx630.js → pty-y6yhjvhw.js} +13 -13
- package/dist/chunks/{model-95vh4d4w.js → pty-y7j6ns4a.js} +65 -65
- package/dist/chunks/{model-hrd0r9w9.js → pty-y7vwj9hc.js} +38 -38
- package/dist/chunks/{model-51gxmejf.js → pty-y94agb53.js} +35 -35
- package/dist/chunks/{model-g70banep.js → pty-ydh080vk.js} +29 -29
- package/dist/chunks/pty-yjxftd19.js +257 -0
- package/dist/chunks/{model-dw7nrsaq.js → pty-ypw97atq.js} +346 -346
- package/dist/chunks/{model-22x4nvy2.js → pty-yq97mf54.js} +24 -24
- package/dist/chunks/{model-ywt8jp22.js → pty-ywt8jp22.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-z18fegx4.js → pty-z18fegx4.js} +1 -1
- package/dist/chunks/{model-hyhre3w8.js → pty-z2b2xe7d.js} +6 -6
- package/dist/chunks/{model-hn57h045.js → pty-zcrspsvn.js} +4 -4
- package/dist/chunks/{model-agbqvzyh.js → pty-zdj3kqwc.js} +47 -47
- package/dist/chunks/{model-4347sc3p.js → pty-znp2av2g.js} +86 -86
- package/dist/chunks/{model-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-91rcp8sj.js → pty-ztsrdpdj.js} +5 -5
- package/dist/chunks/{model-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-e5shmecn.js → pty-zz1sb3nm.js} +25 -25
- 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 +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +206 -206
- 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 +123 -123
- 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 +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +82 -82
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- 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 +104 -104
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +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 +115 -115
- package/dist/plugin/optimize.js +4 -4
- 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 +116 -116
- 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 +123 -123
- 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 +118 -118
- 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 +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- 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 +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- 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 +136 -136
- 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 +129 -129
- package/dist/session/generate.js +155 -155
- 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 +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +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 +5 -5
- 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 +206 -206
- 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 +210 -210
- 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 +9 -9
- 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 +124 -124
- 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 +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +106 -106
- 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 +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 +5 -5
- package/dist/v1/config/command.js +3 -3
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/voice.js +90 -90
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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/model-4v23spqy.js +0 -257
- package/dist/chunks/model-7bkvk8rj.js +0 -26
- package/dist/chunks/model-rap9a73h.js +0 -18
- /package/dist/chunks/{model-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → pty-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-pyv0edze.js → pty-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wjj7prxr.js → pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node65
|
|
4
|
+
} from "./pty-75ar5t22.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./pty-wq2f1mye.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID16,
|
|
11
|
+
Service76,
|
|
12
|
+
node80
|
|
13
|
+
} from "./pty-ghttpbhe.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID9,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-nzsdqqv9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service67,
|
|
24
|
+
node71
|
|
25
|
+
} from "./pty-j5y9yxpr.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
Info28,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service78,
|
|
33
|
+
node82
|
|
34
|
+
} from "./pty-emdb9ywx.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
40
|
-
import {
|
|
41
|
-
Service58,
|
|
42
|
-
node61
|
|
43
|
-
} from "./model-kwrthnf5.js";
|
|
44
|
-
import {
|
|
45
|
-
Service35,
|
|
46
|
-
node38
|
|
47
|
-
} from "./model-n9rxncxh.js";
|
|
36
|
+
ID7,
|
|
37
|
+
Service66,
|
|
38
|
+
node70
|
|
39
|
+
} from "./pty-ws3rr3fx.js";
|
|
48
40
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
41
|
+
Service65,
|
|
42
|
+
node69
|
|
43
|
+
} from "./pty-knfhyvcc.js";
|
|
52
44
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
45
|
+
Service38,
|
|
46
|
+
node41
|
|
47
|
+
} from "./pty-6sk5sj01.js";
|
|
56
48
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./model-1hq49wfp.js";
|
|
49
|
+
Service62,
|
|
50
|
+
node66
|
|
51
|
+
} from "./pty-jqzezgch.js";
|
|
61
52
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
53
|
+
Service77,
|
|
54
|
+
node81
|
|
55
|
+
} from "./pty-9kr8jvk4.js";
|
|
64
56
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
ID6,
|
|
58
|
+
Service64,
|
|
59
|
+
node68
|
|
60
|
+
} from "./pty-dbe6ax9h.js";
|
|
68
61
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./model-s5met55r.js";
|
|
62
|
+
ID5
|
|
63
|
+
} from "./pty-eywv91wk.js";
|
|
72
64
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
65
|
+
Service29,
|
|
66
|
+
node32
|
|
67
|
+
} from "./pty-8c229cqm.js";
|
|
76
68
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./model-80c2k4k7.js";
|
|
69
|
+
Service86,
|
|
70
|
+
node90
|
|
71
|
+
} from "./pty-5gzjtbzb.js";
|
|
81
72
|
import {
|
|
82
|
-
Source5,
|
|
83
73
|
Service73,
|
|
84
74
|
node77
|
|
85
|
-
} from "./
|
|
75
|
+
} from "./pty-y7j6ns4a.js";
|
|
86
76
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
77
|
+
Service84,
|
|
78
|
+
node88,
|
|
79
|
+
Error5
|
|
80
|
+
} from "./pty-be2m8mkb.js";
|
|
91
81
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
Service21,
|
|
97
|
-
node24
|
|
98
|
-
} from "./model-sxjbcd6h.js";
|
|
82
|
+
Source3,
|
|
83
|
+
Service37,
|
|
84
|
+
node40
|
|
85
|
+
} from "./pty-8t56p07m.js";
|
|
99
86
|
import {
|
|
87
|
+
Info23,
|
|
100
88
|
Service72,
|
|
101
89
|
node76
|
|
102
|
-
} from "./
|
|
90
|
+
} from "./pty-w579sh2t.js";
|
|
91
|
+
import {
|
|
92
|
+
Service24,
|
|
93
|
+
node27
|
|
94
|
+
} from "./pty-h0bbvnbm.js";
|
|
95
|
+
import {
|
|
96
|
+
Service19,
|
|
97
|
+
node22
|
|
98
|
+
} from "./pty-79efq26t.js";
|
|
99
|
+
import {
|
|
100
|
+
Service52,
|
|
101
|
+
node54
|
|
102
|
+
} from "./pty-emtnyy8a.js";
|
|
103
103
|
import {
|
|
104
104
|
Service18,
|
|
105
105
|
node21
|
|
106
|
-
} from "./
|
|
106
|
+
} from "./pty-b5s7rv85.js";
|
|
107
107
|
import {
|
|
108
108
|
ID3,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
109
|
+
Service20,
|
|
110
|
+
node23
|
|
111
|
+
} from "./pty-fna3snnf.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./
|
|
113
|
+
Service22,
|
|
114
|
+
node25
|
|
115
|
+
} from "./pty-5py0qphe.js";
|
|
116
116
|
import {
|
|
117
117
|
StrategyID2,
|
|
118
|
-
|
|
118
|
+
Info5,
|
|
119
119
|
ListEntry3,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service21,
|
|
121
|
+
node24
|
|
122
|
+
} from "./pty-pgf8gcr8.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
124
|
+
Service14,
|
|
125
|
+
node17
|
|
126
|
+
} from "./pty-t5bkfr6y.js";
|
|
127
127
|
import {
|
|
128
128
|
__export
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./pty-9rqn6x4v.js";
|
|
130
130
|
|
|
131
131
|
// src/plugin/host.ts
|
|
132
132
|
var exports_host = {};
|
|
@@ -144,49 +144,49 @@ var mutable = (value) => value;
|
|
|
144
144
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
145
145
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const agents = yield*
|
|
148
|
-
const aisdk = yield*
|
|
149
|
-
const providers = yield*
|
|
150
|
-
const models = yield*
|
|
151
|
-
const commands = yield*
|
|
152
|
-
const bus = yield*
|
|
153
|
-
const integration = yield*
|
|
154
|
-
const kv = yield*
|
|
155
|
-
const mcp = yield*
|
|
156
|
-
const location = yield*
|
|
157
|
-
const reference = yield*
|
|
158
|
-
const rpc = yield*
|
|
159
|
-
const skill = yield*
|
|
160
|
-
const tools = yield*
|
|
147
|
+
const agents = yield* Service76;
|
|
148
|
+
const aisdk = yield* Service65;
|
|
149
|
+
const providers = yield* Service66;
|
|
150
|
+
const models = yield* Service64;
|
|
151
|
+
const commands = yield* Service38;
|
|
152
|
+
const bus = yield* Service81;
|
|
153
|
+
const integration = yield* Service67;
|
|
154
|
+
const kv = yield* Service62;
|
|
155
|
+
const mcp = yield* Service29;
|
|
156
|
+
const location = yield* Service78;
|
|
157
|
+
const reference = yield* Service37;
|
|
158
|
+
const rpc = yield* Service52;
|
|
159
|
+
const skill = yield* Service72;
|
|
160
|
+
const tools = yield* Service84;
|
|
161
161
|
const vcs = yield* Service18;
|
|
162
|
-
const websearch = yield*
|
|
163
|
-
const generate = yield*
|
|
164
|
-
const permission = yield*
|
|
165
|
-
const hooks = yield*
|
|
166
|
-
const sessions = yield*
|
|
167
|
-
const persistentPty = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const worktrees = yield*
|
|
170
|
-
const worktreeStrategies = yield*
|
|
162
|
+
const websearch = yield* Service20;
|
|
163
|
+
const generate = yield* Service14;
|
|
164
|
+
const permission = yield* Service73;
|
|
165
|
+
const hooks = yield* Service86;
|
|
166
|
+
const sessions = yield* Service24;
|
|
167
|
+
const persistentPty = yield* Service19;
|
|
168
|
+
const locations = yield* Service77;
|
|
169
|
+
const worktrees = yield* Service21;
|
|
170
|
+
const worktreeStrategies = yield* Service22;
|
|
171
171
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
172
|
-
const locationInfo = () => new
|
|
172
|
+
const locationInfo = () => new Info28({
|
|
173
173
|
directory: location.directory,
|
|
174
174
|
workspaceID: location.workspaceID,
|
|
175
175
|
project: location.project
|
|
176
176
|
});
|
|
177
177
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
178
178
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
179
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
179
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID5.make(input.location.workspace)
|
|
180
180
|
});
|
|
181
181
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
182
182
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
183
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
183
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info5);
|
|
184
184
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
185
185
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
186
|
-
const location = yield*
|
|
187
|
-
const agents = yield*
|
|
186
|
+
const location = yield* Service78;
|
|
187
|
+
const agents = yield* Service76;
|
|
188
188
|
return {
|
|
189
|
-
location: new
|
|
189
|
+
location: new Info28({
|
|
190
190
|
directory: location.directory,
|
|
191
191
|
workspaceID: location.workspaceID,
|
|
192
192
|
project: location.project
|
|
@@ -218,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
218
218
|
transform: (callback) => agents.transform((editor) => {
|
|
219
219
|
callback({
|
|
220
220
|
list: () => mutable(editor.list()),
|
|
221
|
-
get: (id) => mutable(editor.get(
|
|
222
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
223
|
-
update: (id, update) => editor.update(
|
|
224
|
-
remove: (id) => editor.remove(
|
|
221
|
+
get: (id) => mutable(editor.get(ID16.make(id))),
|
|
222
|
+
default: (id) => editor.default(id === undefined ? undefined : ID16.make(id)),
|
|
223
|
+
update: (id, update) => editor.update(ID16.make(id), update),
|
|
224
|
+
remove: (id) => editor.remove(ID16.make(id))
|
|
225
225
|
});
|
|
226
226
|
})
|
|
227
227
|
},
|
|
@@ -255,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
255
255
|
},
|
|
256
256
|
provider: {
|
|
257
257
|
list: () => response(providers.available()),
|
|
258
|
-
get: (input) => providers.get(
|
|
258
|
+
get: (input) => providers.get(ID7.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
259
259
|
reload: providers.reload,
|
|
260
260
|
transform: (callback) => providers.transform((editor) => {
|
|
261
261
|
callback({
|
|
262
262
|
list: editor.list,
|
|
263
|
-
get: (id) => editor.get(
|
|
263
|
+
get: (id) => editor.get(ID7.make(id)),
|
|
264
264
|
add: (definition) => editor.add({
|
|
265
265
|
...definition,
|
|
266
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
266
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID9.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
267
267
|
}),
|
|
268
|
-
update: (id, update) => editor.update(
|
|
269
|
-
remove: (id) => editor.remove(
|
|
268
|
+
update: (id, update) => editor.update(ID7.make(id), update),
|
|
269
|
+
remove: (id) => editor.remove(ID7.make(id)),
|
|
270
270
|
models: {
|
|
271
|
-
set: (id, models) => editor.models.set(
|
|
272
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
273
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
271
|
+
set: (id, models) => editor.models.set(ID7.make(id), models),
|
|
272
|
+
update: (providerID, modelID, update) => editor.models.update(ID7.make(providerID), ID6.make(modelID), update),
|
|
273
|
+
remove: (providerID, modelID) => editor.models.remove(ID7.make(providerID), ID6.make(modelID))
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
276
|
})
|
|
@@ -280,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
280
280
|
default: () => response(models.default()),
|
|
281
281
|
reload: models.reload,
|
|
282
282
|
transform: (callback) => models.transform((editor) => callback({
|
|
283
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
284
|
-
get: (providerID, modelID) => editor.get(
|
|
285
|
-
update: (providerID, modelID, update) => editor.update(
|
|
286
|
-
remove: (providerID, modelID) => editor.remove(
|
|
283
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID7.make(providerID)),
|
|
284
|
+
get: (providerID, modelID) => editor.get(ID7.make(providerID), ID6.make(modelID)),
|
|
285
|
+
update: (providerID, modelID, update) => editor.update(ID7.make(providerID), ID6.make(modelID), update),
|
|
286
|
+
remove: (providerID, modelID) => editor.remove(ID7.make(providerID), ID6.make(modelID)),
|
|
287
287
|
default: {
|
|
288
288
|
get: editor.default.get,
|
|
289
|
-
set: (providerID, modelID) => editor.default.set(
|
|
289
|
+
set: (providerID, modelID) => editor.default.set(ID7.make(providerID), ID6.make(modelID))
|
|
290
290
|
},
|
|
291
291
|
provider: {
|
|
292
292
|
list: editor.provider.list,
|
|
293
|
-
get: (id) => editor.provider.get(
|
|
293
|
+
get: (id) => editor.provider.get(ID7.make(id))
|
|
294
294
|
}
|
|
295
295
|
}))
|
|
296
296
|
},
|
|
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
316
316
|
integration: {
|
|
317
317
|
list: () => response(integration.list()),
|
|
318
318
|
get: Effect.fn(function* (input) {
|
|
319
|
-
const item = yield* integration.get(
|
|
319
|
+
const item = yield* integration.get(ID8.make(input.integrationID));
|
|
320
320
|
if (!item)
|
|
321
321
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
322
322
|
return yield* response(Effect.succeed(item));
|
|
323
323
|
}),
|
|
324
324
|
connect: {
|
|
325
325
|
key: (input) => integration.connection.key({
|
|
326
|
-
integrationID:
|
|
326
|
+
integrationID: ID8.make(input.integrationID),
|
|
327
327
|
key: input.key,
|
|
328
328
|
answer: input.answer,
|
|
329
329
|
label: input.label
|
|
330
330
|
}),
|
|
331
331
|
external: (input) => integration.connection.external({
|
|
332
|
-
integrationID:
|
|
332
|
+
integrationID: ID8.make(input.integrationID),
|
|
333
333
|
methodID: MethodID2.make(input.methodID),
|
|
334
334
|
answer: input.answer,
|
|
335
335
|
label: input.label
|
|
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
337
337
|
},
|
|
338
338
|
oauth: {
|
|
339
339
|
connect: (input) => response(integration.oauth.connect({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID8.make(input.integrationID),
|
|
341
341
|
methodID: MethodID2.make(input.methodID),
|
|
342
342
|
answer: input.answer,
|
|
343
343
|
label: input.label
|
|
344
344
|
})),
|
|
345
345
|
status: (input) => response(integration.oauth.status({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID8.make(input.integrationID),
|
|
347
347
|
attemptID: AttemptID2.make(input.attemptID)
|
|
348
348
|
})),
|
|
349
349
|
complete: (input) => integration.oauth.complete({
|
|
350
|
-
integrationID:
|
|
350
|
+
integrationID: ID8.make(input.integrationID),
|
|
351
351
|
attemptID: AttemptID2.make(input.attemptID),
|
|
352
352
|
code: input.code
|
|
353
353
|
}),
|
|
354
354
|
cancel: (input) => integration.oauth.cancel({
|
|
355
|
-
integrationID:
|
|
355
|
+
integrationID: ID8.make(input.integrationID),
|
|
356
356
|
attemptID: AttemptID2.make(input.attemptID)
|
|
357
357
|
})
|
|
358
358
|
},
|
|
359
359
|
command: {
|
|
360
360
|
connect: (input) => response(integration.command.connect({
|
|
361
|
-
integrationID:
|
|
361
|
+
integrationID: ID8.make(input.integrationID),
|
|
362
362
|
methodID: MethodID2.make(input.methodID),
|
|
363
363
|
label: input.label
|
|
364
364
|
})),
|
|
365
365
|
status: (input) => response(integration.command.status({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID8.make(input.integrationID),
|
|
367
367
|
attemptID: AttemptID2.make(input.attemptID)
|
|
368
368
|
})),
|
|
369
369
|
cancel: (input) => integration.command.cancel({
|
|
370
|
-
integrationID:
|
|
370
|
+
integrationID: ID8.make(input.integrationID),
|
|
371
371
|
attemptID: AttemptID2.make(input.attemptID)
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
reload: integration.reload,
|
|
375
375
|
connection: {
|
|
376
|
-
active: (id) => integration.connection.active(
|
|
377
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
376
|
+
active: (id) => integration.connection.active(ID8.make(id)),
|
|
377
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID9.make(connection.id) } : connection),
|
|
378
378
|
status: (input) => integration.connection.status({
|
|
379
|
-
integrationID:
|
|
380
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
379
|
+
integrationID: ID8.make(input.integrationID),
|
|
380
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID9.make(input.connection.id) } : input.connection,
|
|
381
381
|
status: input.status
|
|
382
382
|
})
|
|
383
383
|
},
|
|
384
384
|
transform: (callback) => integration.transform((editor) => {
|
|
385
385
|
callback({
|
|
386
386
|
list: () => mutable(editor.list()),
|
|
387
|
-
get: (id) => mutable(editor.get(
|
|
388
|
-
update: (id, update) => editor.update(
|
|
389
|
-
remove: (id) => editor.remove(
|
|
387
|
+
get: (id) => mutable(editor.get(ID8.make(id))),
|
|
388
|
+
update: (id, update) => editor.update(ID8.make(id), update),
|
|
389
|
+
remove: (id) => editor.remove(ID8.make(id)),
|
|
390
390
|
method: {
|
|
391
|
-
list: (id) => editor.method.list(
|
|
391
|
+
list: (id) => editor.method.list(ID8.make(id)),
|
|
392
392
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
393
|
-
remove: (id, method) => editor.method.remove(
|
|
393
|
+
remove: (id, method) => editor.method.remove(ID8.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
})
|
|
@@ -400,10 +400,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
400
400
|
const ref = locationRef(input);
|
|
401
401
|
if (ref && !isCurrentLocation(ref))
|
|
402
402
|
return Effect.gen(function* () {
|
|
403
|
-
const location = yield*
|
|
404
|
-
const mcp = yield*
|
|
403
|
+
const location = yield* Service78;
|
|
404
|
+
const mcp = yield* Service29;
|
|
405
405
|
return {
|
|
406
|
-
location: new
|
|
406
|
+
location: new Info28({
|
|
407
407
|
directory: location.directory,
|
|
408
408
|
workspaceID: location.workspaceID,
|
|
409
409
|
project: location.project
|
|
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
430
430
|
get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
431
431
|
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
432
432
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
433
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
434
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
435
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
433
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error5({ message: error.message, error })),
|
|
434
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error5({ message: error.feedback, error })),
|
|
435
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error5({ message: `Session not found: ${error.sessionID}`, error }))
|
|
436
436
|
}))
|
|
437
437
|
},
|
|
438
438
|
plugin: {
|
|
@@ -443,7 +443,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
443
443
|
reload: reference.reload,
|
|
444
444
|
transform: (callback) => reference.transform((editor) => {
|
|
445
445
|
callback({
|
|
446
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
446
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
447
447
|
remove: editor.remove,
|
|
448
448
|
list: editor.list,
|
|
449
449
|
get: editor.get
|
|
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
callback({
|
|
458
458
|
list: () => mutable(editor.list()),
|
|
459
459
|
get: editor.get,
|
|
460
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
460
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info23)(value)),
|
|
461
461
|
update: editor.update,
|
|
462
462
|
remove: editor.remove
|
|
463
463
|
});
|
|
@@ -561,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
561
561
|
return context;
|
|
562
562
|
});
|
|
563
563
|
var requirements3 = LayerNode.group([
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
564
|
+
node65,
|
|
565
|
+
node80,
|
|
566
|
+
node69,
|
|
567
|
+
node70,
|
|
568
|
+
node68,
|
|
569
|
+
node41,
|
|
570
|
+
node85,
|
|
571
|
+
node71,
|
|
572
|
+
node66,
|
|
573
|
+
node32,
|
|
574
|
+
node82,
|
|
575
|
+
node40,
|
|
576
|
+
node54,
|
|
576
577
|
node76,
|
|
577
|
-
|
|
578
|
-
node46,
|
|
578
|
+
node88,
|
|
579
579
|
node21,
|
|
580
|
-
node22,
|
|
581
|
-
node55,
|
|
582
|
-
node56,
|
|
583
580
|
node23,
|
|
584
|
-
node52,
|
|
585
|
-
node70,
|
|
586
|
-
node25,
|
|
587
581
|
node24,
|
|
588
|
-
|
|
582
|
+
node25,
|
|
583
|
+
node17,
|
|
584
|
+
node77,
|
|
585
|
+
node90,
|
|
586
|
+
node27,
|
|
587
|
+
node22,
|
|
588
|
+
node81
|
|
589
589
|
]);
|
|
590
590
|
function storage2(kv, pluginID) {
|
|
591
591
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -612,7 +612,7 @@ function methodImplementation(input) {
|
|
|
612
612
|
if ("authorize" in input) {
|
|
613
613
|
const refresh = input.refresh;
|
|
614
614
|
return {
|
|
615
|
-
integrationID:
|
|
615
|
+
integrationID: ID8.make(input.integrationID),
|
|
616
616
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
617
617
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
618
618
|
if (authorization.mode === "auto") {
|
|
@@ -632,24 +632,24 @@ function methodImplementation(input) {
|
|
|
632
632
|
}
|
|
633
633
|
if (input.method.type === "env") {
|
|
634
634
|
return {
|
|
635
|
-
integrationID:
|
|
635
|
+
integrationID: ID8.make(input.integrationID),
|
|
636
636
|
method: input.method
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
639
|
if (input.method.type === "command") {
|
|
640
640
|
return {
|
|
641
|
-
integrationID:
|
|
641
|
+
integrationID: ID8.make(input.integrationID),
|
|
642
642
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
if (input.method.type === "external") {
|
|
646
646
|
return {
|
|
647
|
-
integrationID:
|
|
647
|
+
integrationID: ID8.make(input.integrationID),
|
|
648
648
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
651
|
return {
|
|
652
|
-
integrationID:
|
|
652
|
+
integrationID: ID8.make(input.integrationID),
|
|
653
653
|
method: input.method
|
|
654
654
|
};
|
|
655
655
|
}
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service29
|
|
6
|
+
} from "./pty-8c229cqm.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./pty-y7j6ns4a.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service29;
|
|
26
|
+
const permission = yield* Service73;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin6 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin33, exports_mcp_resource };
|