@opencode/core 0.0.0-dev-20950 → 0.0.0-dev-20955
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-resolver-fqn434s7.js → generate-007gt5h3.js} +9 -9
- package/dist/chunks/{model-resolver-8hje7a9v.js → generate-03d3gpge.js} +24 -24
- package/dist/chunks/{model-resolver-97aeaand.js → generate-045nn9pc.js} +9 -9
- package/dist/chunks/{model-resolver-q0xm7vwc.js → generate-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-resolver-7968cave.js → generate-0sawxzss.js} +24 -24
- package/dist/chunks/{model-resolver-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-w0qm4gzb.js → generate-18845wm5.js} +13 -13
- package/dist/chunks/{model-resolver-wphhsbqm.js → generate-19hfexd2.js} +40 -40
- package/dist/chunks/{model-resolver-0rf3mqqe.js → generate-1wcdeef4.js} +15 -15
- package/dist/chunks/{model-resolver-y9rz79sf.js → generate-21149sed.js} +30 -30
- package/dist/chunks/{model-resolver-xdrp1hb6.js → generate-226jkg9e.js} +14 -14
- package/dist/chunks/{model-resolver-kk3mpyge.js → generate-28n4pc0c.js} +20 -20
- package/dist/chunks/{model-resolver-g828bkxh.js → generate-29sdvvc3.js} +8 -8
- package/dist/chunks/{model-resolver-s57pv86b.js → generate-2ag2k7fv.js} +30 -30
- package/dist/chunks/{model-resolver-tm6yce80.js → generate-2ecc8kjr.js} +2 -2
- package/dist/chunks/{model-resolver-1fsm553b.js → generate-353e70w1.js} +13 -13
- package/dist/chunks/{model-resolver-phvmwwrc.js → generate-3ev3b5b8.js} +16 -16
- package/dist/chunks/{model-resolver-rkp05d3h.js → generate-3f8w4jbq.js} +33 -33
- package/dist/chunks/{model-resolver-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-erdcs917.js → generate-3hx241vc.js} +9 -9
- package/dist/chunks/{model-resolver-kwjtxjfb.js → generate-3nw6a24a.js} +20 -20
- package/dist/chunks/{model-resolver-5nns0kdt.js → generate-3q2zmd79.js} +20 -20
- package/dist/chunks/{model-resolver-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3ggd8s46.js → generate-3sytbhw4.js} +5 -5
- package/dist/chunks/{model-resolver-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-5926cwpj.js → generate-3zg54vq3.js} +8 -8
- package/dist/chunks/{model-resolver-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-5jc797f7.js → generate-48aqjxkx.js} +16 -16
- package/dist/chunks/{model-resolver-kf8jqwvn.js → generate-4a50zq9s.js} +43 -43
- package/dist/chunks/{model-resolver-80scg3y3.js → generate-4bm5ja14.js} +4 -4
- package/dist/chunks/{model-resolver-yahdewcc.js → generate-4br13kzk.js} +27 -27
- package/dist/chunks/{model-resolver-d8d1mz9r.js → generate-4hd4yrbq.js} +23 -23
- package/dist/chunks/{model-resolver-ze7t1560.js → generate-4pgz46s9.js} +43 -43
- package/dist/chunks/{model-resolver-9mtvkt7f.js → generate-4v166rgp.js} +18 -18
- package/dist/chunks/{model-resolver-a634dvb9.js → generate-4wqhejgp.js} +13 -13
- package/dist/chunks/{model-resolver-m93cgr6s.js → generate-4yd5fbph.js} +3 -3
- package/dist/chunks/{model-resolver-ytye8eex.js → generate-52ccxbw0.js} +18 -18
- package/dist/chunks/{model-resolver-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-xfkkasph.js → generate-57b9ws8p.js} +7 -7
- package/dist/chunks/{model-resolver-k64pj0tg.js → generate-583x01kt.js} +17 -17
- package/dist/chunks/{model-resolver-7xfrtcks.js → generate-5cw9rgh0.js} +14 -14
- package/dist/chunks/{model-resolver-d2czbp48.js → generate-5dkn69vz.js} +4 -4
- package/dist/chunks/{model-resolver-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-ggp1egtm.js → generate-605983wd.js} +6 -6
- package/dist/chunks/{model-resolver-jk540des.js → generate-6g107h22.js} +2 -2
- package/dist/chunks/{model-resolver-7a3t7few.js → generate-6gv93bxn.js} +28 -28
- package/dist/chunks/{model-resolver-vqv75wwx.js → generate-6jfn6z1e.js} +11 -11
- package/dist/chunks/{model-resolver-ef5bn39a.js → generate-6va2hmq8.js} +34 -34
- package/dist/chunks/{model-resolver-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-apj3cz87.js → generate-6yqf2094.js} +14 -14
- package/dist/chunks/{model-resolver-xpf8z4nb.js → generate-6zk226fd.js} +6 -6
- package/dist/chunks/{model-resolver-vxby77fw.js → generate-73kdj4zj.js} +8 -8
- package/dist/chunks/{model-resolver-775gj3j1.js → generate-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-d9wzmzc3.js → generate-7d2a7xbs.js} +5 -5
- package/dist/chunks/{model-resolver-qgn6gcr1.js → generate-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-resolver-2qnat7dc.js → generate-7f45822d.js} +16 -16
- package/dist/chunks/generate-7fj5dwt0.js +18 -0
- package/dist/chunks/{model-resolver-ch7mpmes.js → generate-7rfyzhr4.js} +11 -11
- package/dist/chunks/generate-7rkfa3ca.js +26 -0
- package/dist/chunks/{model-resolver-mk389d74.js → generate-7tx5wnjn.js} +15 -15
- package/dist/chunks/{model-resolver-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-k03dsn1k.js → generate-85x58gzh.js} +18 -18
- package/dist/chunks/{model-resolver-y87z2683.js → generate-86qjnnqk.js} +11 -11
- package/dist/chunks/{model-resolver-bsagyafn.js → generate-87tbyhg2.js} +8 -8
- package/dist/chunks/{model-resolver-01s1begh.js → generate-87wvz1aq.js} +13 -13
- package/dist/chunks/{model-resolver-8c3hmt3w.js → generate-8fzym08n.js} +22 -22
- package/dist/chunks/{model-resolver-06x8he3q.js → generate-8gxqpgph.js} +4 -4
- package/dist/chunks/{model-resolver-eyc9h8gm.js → generate-8k409zfd.js} +4 -4
- package/dist/chunks/{model-resolver-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-zwq9gsm5.js → generate-8nbsy07e.js} +5 -5
- package/dist/chunks/{model-resolver-dmq48mpy.js → generate-8y991780.js} +34 -34
- package/dist/chunks/{model-resolver-wrkpgzm9.js → generate-8yhdxqmw.js} +26 -26
- package/dist/chunks/{model-resolver-be7qvw84.js → generate-91p1v22t.js} +8 -8
- package/dist/chunks/{model-resolver-ya3jbp1k.js → generate-93146j55.js} +24 -24
- package/dist/chunks/{model-resolver-0satj92y.js → generate-95tm7t3r.js} +14 -14
- package/dist/chunks/{model-resolver-7e6b2cwb.js → generate-986mq3g4.js} +23 -23
- package/dist/chunks/{model-resolver-9y5jvg7a.js → generate-9cjpt02s.js} +31 -31
- package/dist/chunks/{model-resolver-12tpmng7.js → generate-9m7bnam6.js} +71 -71
- package/dist/chunks/{model-resolver-yhd2m4kx.js → generate-9yaq9fmg.js} +32 -32
- package/dist/chunks/{model-resolver-n6r6gr2k.js → generate-a6awq7tx.js} +3 -3
- package/dist/chunks/{model-resolver-076tdj8j.js → generate-adm7m3rs.js} +14 -14
- package/dist/chunks/{model-resolver-f14hekp8.js → generate-aexvrqsg.js} +9 -9
- package/dist/chunks/{model-resolver-09rrpfny.js → generate-agzhgt0s.js} +19 -19
- package/dist/chunks/{model-resolver-97bpphjt.js → generate-ahytbjxw.js} +11 -11
- package/dist/chunks/{model-resolver-z2ce4t34.js → generate-ajrp0zcc.js} +16 -16
- package/dist/chunks/{model-resolver-5x1d34z2.js → generate-ang39x71.js} +3 -3
- package/dist/chunks/{model-resolver-q2g3ps59.js → generate-azrg85nq.js} +52 -52
- package/dist/chunks/{model-resolver-31v9pj2m.js → generate-basbsbfx.js} +11 -11
- package/dist/chunks/{model-resolver-vh39qgwm.js → generate-bexysgkj.js} +7 -7
- package/dist/chunks/{model-resolver-ntwdp302.js → generate-bvn9nnns.js} +4 -4
- package/dist/chunks/{model-resolver-axe3mf62.js → generate-c2sed5cq.js} +3 -3
- package/dist/chunks/{model-resolver-c41wscbt.js → generate-c41wscbt.js} +2 -2
- package/dist/chunks/{model-resolver-c8ax2afj.js → generate-c8ax2afj.js} +2 -2
- package/dist/chunks/{model-resolver-zza4sf78.js → generate-cb7hbdgq.js} +20 -20
- package/dist/chunks/{model-resolver-017v6ka8.js → generate-ccf0qaaq.js} +24 -24
- package/dist/chunks/{model-resolver-dy66nzqs.js → generate-ce6mw5w9.js} +5 -5
- package/dist/chunks/{model-resolver-g0445xdp.js → generate-cmwkp3r5.js} +4 -4
- package/dist/chunks/{model-resolver-y11gfp3c.js → generate-cwdksr8n.js} +21 -21
- package/dist/chunks/{model-resolver-2y74b1pt.js → generate-d5jrddrm.js} +27 -27
- package/dist/chunks/{model-resolver-7j0h8tbw.js → generate-d72m3w4m.js} +17 -17
- package/dist/chunks/{model-resolver-5y2nakwc.js → generate-d9ts7e30.js} +22 -22
- package/dist/chunks/{model-resolver-y71avatq.js → generate-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-hz5abz9m.js → generate-dq37mrqa.js} +11 -11
- package/dist/chunks/{model-resolver-dqxsqydv.js → generate-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-resolver-xjdp5kgq.js → generate-ds2qfcyy.js} +3 -3
- package/dist/chunks/{model-resolver-2zd7cxc8.js → generate-dvn0pkbj.js} +11 -11
- package/dist/chunks/{model-resolver-zhzk0jbj.js → generate-dxb92a41.js} +11 -11
- package/dist/chunks/{model-resolver-n28jv3gc.js → generate-dzyqpy57.js} +11 -11
- package/dist/chunks/{model-resolver-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-hjn6f328.js → generate-e78mjzb8.js} +32 -32
- package/dist/chunks/{model-resolver-vtt0yr3x.js → generate-e9t82wt6.js} +15 -15
- package/dist/chunks/{model-resolver-7kpkhag7.js → generate-ect48nsn.js} +50 -50
- package/dist/chunks/{model-resolver-e80seqcp.js → generate-ed1g29hy.js} +3 -3
- package/dist/chunks/{model-resolver-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-276bngqz.js → generate-efsjwg4m.js} +12 -12
- package/dist/chunks/{model-resolver-6r5rwgtp.js → generate-egja09jm.js} +13 -13
- package/dist/chunks/{model-resolver-g05j57d7.js → generate-ejderhnd.js} +5 -5
- package/dist/chunks/{model-resolver-es1vcfrp.js → generate-es1vcfrp.js} +3 -3
- package/dist/chunks/{model-resolver-1sr5z03x.js → generate-es2491wy.js} +35 -35
- package/dist/chunks/{model-resolver-cp937pt4.js → generate-espax8zg.js} +4 -4
- package/dist/chunks/{model-resolver-v8hntyfk.js → generate-f68pm4a7.js} +22 -22
- package/dist/chunks/{model-resolver-69nevm9g.js → generate-f7mmnwn2.js} +82 -82
- package/dist/chunks/{model-resolver-4j05sq0m.js → generate-fkjn3fdb.js} +18 -18
- package/dist/chunks/{model-resolver-cvkyw9pt.js → generate-fnp4h3kf.js} +18 -18
- package/dist/chunks/{model-resolver-jdqskayt.js → generate-fsay702y.js} +25 -25
- package/dist/chunks/{model-resolver-kkhtdzsm.js → generate-ftjs4a6p.js} +23 -23
- package/dist/chunks/{model-resolver-zk8b9ssq.js → generate-fvphec8c.js} +15 -15
- package/dist/chunks/{model-resolver-0jq9fyba.js → generate-fwwk8vbp.js} +9 -9
- package/dist/chunks/{model-resolver-125fewv7.js → generate-fx09zbwx.js} +11 -11
- package/dist/chunks/{model-resolver-t5345zfw.js → generate-g7x3whcf.js} +4 -4
- package/dist/chunks/{model-resolver-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-3vswmpk1.js → generate-gdq0r6pz.js} +20 -20
- package/dist/chunks/{model-resolver-p4613v5m.js → generate-gdzh3mgb.js} +5 -5
- package/dist/chunks/{model-resolver-qeafh5k3.js → generate-gejnwnva.js} +11 -11
- package/dist/chunks/{model-resolver-sm1cpy88.js → generate-gjwksjz5.js} +9 -9
- package/dist/chunks/{model-resolver-jyrkv4gc.js → generate-gp62719s.js} +1 -1
- package/dist/chunks/{model-resolver-3g3fherm.js → generate-gqb29rq1.js} +34 -34
- package/dist/chunks/{model-resolver-4djhckew.js → generate-gqv3phke.js} +24 -24
- package/dist/chunks/{model-resolver-fftm5veb.js → generate-gs3khzew.js} +14 -14
- package/dist/chunks/{model-resolver-31knp78d.js → generate-h0js04z9.js} +11 -11
- package/dist/chunks/{model-resolver-pjsqfx9m.js → generate-h6degvvb.js} +9 -9
- package/dist/chunks/{model-resolver-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-9hfpa9m9.js → generate-h784rw89.js} +21 -21
- package/dist/chunks/{model-resolver-h7s7r6s9.js → generate-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-resolver-k18ytf7m.js → generate-had4kgfk.js} +6 -6
- package/dist/chunks/{model-resolver-5fqe9rrs.js → generate-hc9bykrx.js} +10 -10
- package/dist/chunks/{model-resolver-scgrse2b.js → generate-hdkng2sj.js} +5 -5
- package/dist/chunks/{model-resolver-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-1z02ee6a.js → generate-hnepv2pm.js} +27 -27
- package/dist/chunks/{model-resolver-2ryng5r3.js → generate-hqhp0zxs.js} +4 -4
- package/dist/chunks/{model-resolver-pr6x9sxx.js → generate-htf6sggk.js} +4 -4
- package/dist/chunks/{model-resolver-n61013np.js → generate-hv879400.js} +11 -11
- package/dist/chunks/{model-resolver-91qna3x0.js → generate-j09zfasm.js} +3 -3
- package/dist/chunks/{model-resolver-zeadje1f.js → generate-j2jpnhmm.js} +18 -18
- package/dist/chunks/{model-resolver-e5xwx9q2.js → generate-j55hjvtx.js} +1 -1
- package/dist/chunks/{model-resolver-vrcgr47b.js → generate-j8w73jpj.js} +4 -4
- package/dist/chunks/{model-resolver-yqev8n43.js → generate-jcegsay8.js} +18 -18
- package/dist/chunks/{model-resolver-hyym503s.js → generate-jg7szpbk.js} +20 -20
- package/dist/chunks/{model-resolver-xybefm6f.js → generate-jhdf29st.js} +1 -1
- package/dist/chunks/{model-resolver-nq9f5nkx.js → generate-jk72k5yt.js} +5 -5
- package/dist/chunks/{model-resolver-der77a5r.js → generate-jkf2f16v.js} +42 -42
- package/dist/chunks/{model-resolver-26tsy11a.js → generate-jm74df8m.js} +11 -11
- package/dist/chunks/{model-resolver-kjxvkwmy.js → generate-jnem059t.js} +18 -18
- package/dist/chunks/{model-resolver-xqsvy1tg.js → generate-jrckhh2g.js} +11 -11
- package/dist/chunks/{model-resolver-4az1a8cs.js → generate-jwv7ab79.js} +6 -6
- package/dist/chunks/{model-resolver-w8t2jk6x.js → generate-k2xyfnfp.js} +10 -10
- package/dist/chunks/{model-resolver-2r93mh4x.js → generate-k3bh1kct.js} +5 -5
- package/dist/chunks/{model-resolver-j9r8495c.js → generate-kdm0xk8y.js} +3 -3
- package/dist/chunks/{model-resolver-8e2jakfn.js → generate-kg7tw7af.js} +11 -11
- package/dist/chunks/{model-resolver-khmqacep.js → generate-khmqacep.js} +1 -1
- package/dist/chunks/{model-resolver-tbxprhjc.js → generate-kj5e6n13.js} +42 -42
- package/dist/chunks/{model-resolver-h8v25wh0.js → generate-kvk9zhmn.js} +19 -19
- package/dist/chunks/{model-resolver-hba5qx00.js → generate-m0ecvezt.js} +19 -19
- package/dist/chunks/{model-resolver-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-9y9sk2j9.js → generate-mb14aw74.js} +2 -2
- package/dist/chunks/{model-resolver-73bangna.js → generate-mf3tk837.js} +15 -15
- package/dist/chunks/{model-resolver-1kswe1g3.js → generate-mvh6hcdn.js} +43 -43
- package/dist/chunks/{model-resolver-addxnjmp.js → generate-mxvxcxwy.js} +4 -4
- package/dist/chunks/{model-resolver-ny62zz38.js → generate-n7cqf3h2.js} +11 -11
- package/dist/chunks/{model-resolver-9hwaqfsw.js → generate-n8vdnqrc.js} +5 -5
- package/dist/chunks/{model-resolver-yw18zvsa.js → generate-nfsm5mmz.js} +7 -7
- package/dist/chunks/{model-resolver-s73414qt.js → generate-nhttw11w.js} +16 -16
- package/dist/chunks/{model-resolver-fvjzj6fm.js → generate-nj9bcvzn.js} +7 -7
- package/dist/chunks/{model-resolver-jsjp95jt.js → generate-nsm5jq39.js} +13 -13
- package/dist/chunks/{model-resolver-yxxmeqn1.js → generate-nthsq1c9.js} +6 -6
- package/dist/chunks/{model-resolver-yyc693px.js → generate-nydzyyh3.js} +25 -25
- package/dist/chunks/{model-resolver-xd4yhhbd.js → generate-p9ntvqt0.js} +30 -30
- package/dist/chunks/{model-resolver-81rxcsqc.js → generate-ph1hy9gm.js} +17 -17
- package/dist/chunks/{model-resolver-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-nnfex98a.js → generate-pt1jpjcb.js} +15 -15
- package/dist/chunks/{model-resolver-1wp3hb2k.js → generate-pv0ywq10.js} +9 -9
- package/dist/chunks/{model-resolver-7haz9w5k.js → generate-pynaa69q.js} +3 -3
- package/dist/chunks/{model-resolver-xpkszdg2.js → generate-q3xjw1w0.js} +6 -6
- package/dist/chunks/{model-resolver-zaatn0x7.js → generate-q41ybjg5.js} +10 -10
- package/dist/chunks/{model-resolver-aj3rbcf1.js → generate-qjx1ax0j.js} +5 -5
- package/dist/chunks/{model-resolver-ft3hqk2c.js → generate-qmqgtz8f.js} +9 -9
- package/dist/chunks/{model-resolver-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-f1nae5s7.js → generate-qxc7eem4.js} +14 -14
- package/dist/chunks/{model-resolver-nhd34jsd.js → generate-qxc89awc.js} +13 -13
- package/dist/chunks/{model-resolver-vx7qmf9g.js → generate-r3ynj49d.js} +174 -174
- package/dist/chunks/{model-resolver-89j1w47y.js → generate-r42rn07b.js} +24 -24
- package/dist/chunks/{model-resolver-0p78r4x4.js → generate-r5czv6vh.js} +10 -10
- package/dist/chunks/{model-resolver-r70na3yp.js → generate-r70na3yp.js} +2 -2
- package/dist/chunks/{model-resolver-tkmwgdpd.js → generate-ratrq7cm.js} +7 -7
- package/dist/chunks/{model-resolver-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-fhr47e0j.js → generate-rt768fr5.js} +45 -45
- package/dist/chunks/generate-s7fpnt2j.js +253 -0
- package/dist/chunks/{model-resolver-vsx5rp07.js → generate-se975k4p.js} +30 -30
- package/dist/chunks/{model-resolver-7h0gvqqa.js → generate-sfas9ggz.js} +8 -8
- package/dist/chunks/{model-resolver-k1d2vept.js → generate-sfda3pmv.js} +25 -25
- package/dist/chunks/{model-resolver-k0pj753z.js → generate-sgd1fqjm.js} +10 -10
- package/dist/chunks/{model-resolver-pdtwfjed.js → generate-sh51cmbp.js} +4 -4
- package/dist/chunks/{model-resolver-r24h05zg.js → generate-ssfpbmz4.js} +28 -28
- package/dist/chunks/{model-resolver-vhxz3vg8.js → generate-sst3xwvk.js} +15 -15
- package/dist/chunks/{model-resolver-syv4x271.js → generate-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-psde1en3.js → generate-t1j722vw.js} +4 -4
- package/dist/chunks/{model-resolver-rhjbct0v.js → generate-t550f9t1.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-5x4mgjyy.js → generate-tckds7f3.js} +22 -22
- package/dist/chunks/{model-resolver-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-ev42rs7f.js → generate-tgty86k3.js} +10 -10
- package/dist/chunks/{model-resolver-b0dxm10x.js → generate-tjbwbx5p.js} +35 -35
- package/dist/chunks/{model-resolver-r05rzvq1.js → generate-tjjvxdpy.js} +50 -50
- package/dist/chunks/{model-resolver-tkb22qbm.js → generate-tkb22qbm.js} +2 -2
- package/dist/chunks/{model-resolver-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-gwwgnv03.js → generate-tqhwrjj1.js} +16 -16
- package/dist/chunks/{model-resolver-72qbjese.js → generate-trshtzzb.js} +11 -11
- package/dist/chunks/{model-resolver-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-v0es1rhs.js → generate-v0es1rhs.js} +2 -2
- package/dist/chunks/{model-resolver-kdkn6452.js → generate-v2vqt7ja.js} +16 -16
- package/dist/chunks/{model-resolver-bhhmns0g.js → generate-v2w00eb9.js} +40 -40
- package/dist/chunks/{model-resolver-gw3qbjtg.js → generate-v4v0br85.js} +23 -23
- package/dist/chunks/{model-resolver-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-vxvsynfj.js → generate-vjvmdf82.js} +20 -20
- package/dist/chunks/{model-resolver-egwn3b3z.js → generate-vrsjek29.js} +2 -2
- package/dist/chunks/{model-resolver-k1qskgm1.js → generate-vsxaf637.js} +8 -8
- package/dist/chunks/{model-resolver-mejf7p9j.js → generate-vwz8vhph.js} +15 -15
- package/dist/chunks/{model-resolver-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-7014qyn6.js → generate-w16k0wzf.js} +6 -6
- package/dist/chunks/{model-resolver-dssbfrwz.js → generate-w2h15q85.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wh1hjrhc.js → generate-w64wyqh3.js} +16 -16
- package/dist/chunks/{model-resolver-v8cmy866.js → generate-w919w76e.js} +8 -8
- package/dist/chunks/{model-resolver-8sze2n9a.js → generate-w92k2e0p.js} +4 -4
- package/dist/chunks/{model-resolver-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-tsktfrs2.js → generate-wrjhv8ep.js} +79 -79
- package/dist/chunks/{model-resolver-2erc5g3s.js → generate-wrry1r48.js} +4 -4
- package/dist/chunks/generate-wxd1amzp.js +513 -0
- package/dist/chunks/{model-resolver-hws0p7qv.js → generate-wy0e5ct7.js} +18 -18
- package/dist/chunks/{model-resolver-sxzvkvgj.js → generate-xcd0eash.js} +6 -6
- package/dist/chunks/{model-resolver-pj45xpz4.js → generate-xfkrhj36.js} +3 -3
- package/dist/chunks/{model-resolver-21jrmc9g.js → generate-xqhar19x.js} +4 -4
- package/dist/chunks/{model-resolver-bwd9ews5.js → generate-xs6tnz78.js} +13 -13
- package/dist/chunks/{model-resolver-7e1nrk9x.js → generate-y0nbp6f8.js} +19 -19
- package/dist/chunks/{model-resolver-pnkbpv6t.js → generate-y16p1w2y.js} +9 -9
- package/dist/chunks/{model-resolver-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-9hcy9v3f.js → generate-ygr9627z.js} +5 -5
- package/dist/chunks/{model-resolver-dx3sr3as.js → generate-yj2ncqs1.js} +44 -44
- package/dist/chunks/{model-resolver-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-resolver-wjr9rjd7.js → generate-ywt8jp22.js} +6 -6
- package/dist/chunks/{model-resolver-zxz20fz9.js → generate-yxj30fw6.js} +21 -21
- package/dist/chunks/{model-resolver-et8wf2kw.js → generate-yxv48c46.js} +18 -18
- package/dist/chunks/{model-resolver-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-b134vsz7.js → generate-z7bx7nj5.js} +7 -7
- package/dist/chunks/{model-resolver-qsry094s.js → generate-z9k480np.js} +5 -5
- package/dist/chunks/{model-resolver-vb82663b.js → generate-zd7c0wbn.js} +20 -20
- package/dist/chunks/{model-resolver-e9azs9n6.js → generate-zqxc0bxc.js} +9 -9
- package/dist/chunks/{model-resolver-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- 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 +101 -101
- package/dist/model-resolver.js +98 -98
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- 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 +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- 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 +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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- 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 +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +124 -124
- 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 +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
- package/dist/chunks/model-resolver-e34gd66c.js +0 -26
- package/dist/chunks/model-resolver-px39bg4v.js +0 -513
- package/dist/chunks/model-resolver-q2d1k2hk.js +0 -253
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-xqhar19x.js";
|
|
8
8
|
import {
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service75,
|
|
11
|
+
node78
|
|
12
|
+
} from "./generate-gdq0r6pz.js";
|
|
13
13
|
import {
|
|
14
14
|
Service81,
|
|
15
15
|
node85
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-2ecc8kjr.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node82
|
|
20
|
+
} from "./generate-yxj30fw6.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID15,
|
|
23
|
+
Service76,
|
|
24
|
+
node79
|
|
25
|
+
} from "./generate-fkjn3fdb.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node77
|
|
35
|
+
} from "./generate-0sawxzss.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError5,
|
|
45
45
|
Options: () => Options5,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
|
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service39,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
55
|
configured: () => configured5,
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
56
|
+
layer: () => layer18,
|
|
57
|
+
node: () => node42
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,7 +103,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service39 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
108
|
var Options5 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -111,13 +111,13 @@ var Options5 = Schema.Struct({
|
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
114
|
+
var layer18 = (options) => Layer.effect(Service39, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service81;
|
|
116
|
-
const environment = yield*
|
|
116
|
+
const environment = yield* Service79;
|
|
117
117
|
const bus = yield* Service84;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service76;
|
|
119
|
+
const integration = yield* Service74;
|
|
120
|
+
const credentials = yield* Service75;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer17 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID13.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer17 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service75, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer17 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError5({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service75, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID15.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer17 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service79, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -420,7 +420,7 @@ var layer17 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service39.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -532,12 +532,12 @@ function mergeCatalogs(catalogs) {
|
|
|
532
532
|
}
|
|
533
533
|
function configured5(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node85,
|
|
535
|
+
service: Service39,
|
|
536
|
+
layer: layer18(options),
|
|
537
|
+
deps: [node85, node82, node88, node79, node77, node78]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node42 = configured5();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError5, ToolCallError2, Service39, Options5, layer18, configured5, node42, exports_mcp4 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-jrckhh2g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-xqhar19x.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./generate-gdq0r6pz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-0sawxzss.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-986mq3g4.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID11,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info19
|
|
24
|
+
} from "./generate-nydzyyh3.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-pjvnvgmy.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-54ma36ye.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-w16k0wzf.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID12.openai;
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service84;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service75;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info19.default(ID12.openai, ID11.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options10,
|
|
15
|
+
Service: () => Service67,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured10,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node70,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options10 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service67 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service67, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service67.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured10(options) {
|
|
210
|
+
return makeLocationNode({ service: Service67, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node70 = configured10();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options10, Service67, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured10, node70, exports_select };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-c2sed5cq.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-k3bh1kct.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./generate-azrg85nq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service23
|
|
9
|
+
} from "./generate-1wcdeef4.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-0vbcp93d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Info4,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-gqb29rq1.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin32,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin32 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service23;
|
|
104
|
+
const permission = yield* Service55;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -153,7 +153,7 @@ var Plugin40 = {
|
|
|
153
153
|
name: "worktree_create",
|
|
154
154
|
description: "Create a named worktree. Returns its directory.",
|
|
155
155
|
input: WorktreeCreateInput2,
|
|
156
|
-
output:
|
|
156
|
+
output: Info4,
|
|
157
157
|
options: { namespace: "opencode", codemode: true, pinned: true },
|
|
158
158
|
execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
|
|
159
159
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin32, exports_opencode };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-xqhar19x.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-2ecc8kjr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node82
|
|
12
|
+
} from "./generate-yxj30fw6.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service67,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node70
|
|
20
|
+
} from "./generate-m0ecvezt.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service70,
|
|
23
|
+
node73
|
|
24
|
+
} from "./generate-73kdj4zj.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service64,
|
|
27
|
+
node67
|
|
28
|
+
} from "./generate-91p1v22t.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-c2sed5cq.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service65,
|
|
35
|
+
node68
|
|
36
|
+
} from "./generate-v2w00eb9.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./generate-86qjnnqk.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError9,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service63,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node66
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service63 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service63, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service84;
|
|
92
92
|
const location = yield* Service81;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service67;
|
|
95
|
+
const environment = yield* Service79;
|
|
96
|
+
const hooks = yield* Service70;
|
|
97
|
+
const environments = yield* Service64;
|
|
98
|
+
const config = yield* Service65;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError9({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError9({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service63.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node66 = makeLocationNode({
|
|
329
|
+
service: Service63,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node88,
|
|
333
333
|
node85,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node70,
|
|
336
|
+
node82,
|
|
337
|
+
node73,
|
|
338
|
+
node67,
|
|
339
|
+
node68,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError9, RETENTION2, DIRECTORY2, Service63, cleanup2, node66, exports_shell4 };
|