@opencode/core 0.0.0-beta-19507 → 0.0.0-dev-19274
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 +77 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -72
- package/dist/catalog.js +83 -84
- package/dist/chunks/{file-access-avdg492x.js → file-008dah4r.js} +47 -51
- package/dist/chunks/{file-access-fpv6qd1b.js → file-04bp4d3m.js} +11 -11
- package/dist/chunks/{file-access-dhmh7aw6.js → file-06x8he3q.js} +4 -4
- package/dist/chunks/{file-access-r4k1wyhr.js → file-0djf8xh9.js} +5 -5
- package/dist/chunks/{file-access-f4mxeny4.js → file-0ea3rya4.js} +7 -7
- package/dist/chunks/{file-access-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-7j92jdde.js → file-0rpg7gzc.js} +4 -4
- package/dist/chunks/{file-access-85b01qar.js → file-0rvyveqe.js} +13 -13
- package/dist/chunks/{file-access-6hjqy50w.js → file-1ajj2c3r.js} +30 -30
- package/dist/chunks/{file-access-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-4y66k410.js → file-1dfhrqqs.js} +3 -11
- package/dist/chunks/{file-access-nfvsp598.js → file-1ndzzahp.js} +3 -3
- package/dist/chunks/{file-access-x1cybn0h.js → file-1q2nd9f6.js} +48 -48
- package/dist/chunks/{file-access-ykczf8eq.js → file-1q5awywt.js} +5 -5
- package/dist/chunks/{file-access-px5bqy57.js → file-1s5k653j.js} +27 -27
- package/dist/chunks/{file-access-9655radm.js → file-1xb0henf.js} +38 -38
- package/dist/chunks/{file-access-0sxmdcx0.js → file-1xzdp18p.js} +15 -15
- package/dist/chunks/{file-access-mfqp6xfm.js → file-1ygqh575.js} +6 -6
- package/dist/chunks/{file-access-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → file-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-5kn1j1nt.js → file-25kqvm6v.js} +17 -19
- package/dist/chunks/{file-access-29x78va6.js → file-29x78va6.js} +2 -2
- package/dist/chunks/{file-access-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-ndzempgb.js → file-2bdsn8gv.js} +5 -5
- package/dist/chunks/{file-access-cmrf6j2e.js → file-2bk70kd1.js} +11 -11
- package/dist/chunks/{file-access-9b1t164c.js → file-2cws46q3.js} +11 -11
- package/dist/chunks/{file-access-54r5fgfq.js → file-2erbc7c4.js} +9 -9
- package/dist/chunks/{file-access-7hbsyrtj.js → file-2f1k6btd.js} +72 -103
- package/dist/chunks/{file-access-ebz469zm.js → file-2j4ksk9q.js} +13 -14
- package/dist/chunks/{file-access-q6jpwyt1.js → file-2k29q1p2.js} +58 -58
- package/dist/chunks/{file-access-8wccq5jz.js → file-2nck4hg8.js} +13 -13
- package/dist/chunks/{file-access-wk64ntyb.js → file-2nhrma10.js} +8 -8
- package/dist/chunks/file-2nz9k5ke.js +247 -0
- package/dist/chunks/{file-access-zttfg7sr.js → file-2qz021p1.js} +22 -22
- package/dist/chunks/{file-access-t9jk0gx5.js → file-2tv38tk1.js} +3 -3
- package/dist/chunks/{file-access-0bps82y7.js → file-3c1tgrea.js} +6 -6
- package/dist/chunks/{file-access-d2aac7k2.js → file-3cz8rj72.js} +5 -5
- package/dist/chunks/{file-access-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-3jp54z3r.js → file-3jp54z3r.js} +1 -1
- package/dist/chunks/{file-access-c7q2zwp5.js → file-3m095h8d.js} +16 -16
- package/dist/chunks/{file-access-epa61trx.js → file-3nj27wxf.js} +10 -10
- package/dist/chunks/{file-access-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-qmy7xtej.js → file-3trbxeqx.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-6b41461m.js → file-3wj4wm80.js} +92 -95
- package/dist/chunks/{file-access-50m2c0q3.js → file-3x6z6rsx.js} +15 -15
- package/dist/chunks/{file-access-7w5qhqhs.js → file-4g3hne3q.js} +20 -23
- package/dist/chunks/{file-access-xjcerejp.js → file-4hszn1mb.js} +35 -86
- package/dist/chunks/{file-access-zsmcd3bd.js → file-4qfh6hxk.js} +22 -22
- package/dist/chunks/file-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-access-50wkfpjr.js → file-4vf981v9.js} +18 -18
- package/dist/chunks/{file-access-6fywv4en.js → file-4w7x8wv5.js} +33 -33
- package/dist/chunks/{file-access-r1hceb3x.js → file-4x6ztkk5.js} +5 -7
- package/dist/chunks/{file-access-ca64vat9.js → file-4znd88gj.js} +32 -32
- package/dist/chunks/{file-access-eh8n39qf.js → file-51kk6f2e.js} +15 -15
- package/dist/chunks/{file-access-9pf502c0.js → file-58ax6zm2.js} +9 -9
- package/dist/chunks/{file-access-hgsea5z3.js → file-5965tgm9.js} +28 -28
- package/dist/chunks/{file-access-a1bz86dw.js → file-5c4hm403.js} +3 -3
- package/dist/chunks/{file-access-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-bh9xqmdb.js → file-5vc2whd9.js} +37 -37
- package/dist/chunks/{file-access-zbgzbq8q.js → file-5vvax2qg.js} +15 -15
- package/dist/chunks/{file-access-0wqa8qs0.js → file-5xhpatkf.js} +11 -11
- package/dist/chunks/{file-access-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{file-access-rvpq5vnx.js → file-67e9xs01.js} +23 -23
- package/dist/chunks/{file-access-5bjhkrjj.js → file-6c7ejz51.js} +6 -6
- package/dist/chunks/{file-access-m7y3f53v.js → file-6fdj6kdr.js} +4 -4
- package/dist/chunks/{file-access-954vm9zf.js → file-6kgc56n8.js} +6 -6
- package/dist/chunks/{file-access-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{file-access-sthbbwkd.js → file-79175vp8.js} +35 -35
- package/dist/chunks/{file-access-awx7v7h5.js → file-79zsnxkc.js} +11 -11
- package/dist/chunks/{file-access-3j8sdtpz.js → file-7atngb88.js} +4 -4
- package/dist/chunks/{file-access-q1gv8zwg.js → file-7be1f342.js} +18 -18
- package/dist/chunks/{file-access-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-2k8khapm.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-access-1bagj3va.js → file-7g79e5pr.js} +8 -8
- package/dist/chunks/{file-access-vkg1qcnj.js → file-7sgb7w3n.js} +32 -92
- package/dist/chunks/{file-access-gbhfcamq.js → file-7xdgscg1.js} +15 -15
- package/dist/chunks/{file-access-n990e9jc.js → file-81pg61w1.js} +8 -25
- package/dist/chunks/{file-access-81swgkk7.js → file-81swgkk7.js} +2 -2
- package/dist/chunks/{file-access-pgyeg8d2.js → file-82594dam.js} +9 -9
- package/dist/chunks/{file-access-g14zqp48.js → file-84tssp1s.js} +3 -8
- package/dist/chunks/{file-access-x175c4wg.js → file-8bpbp254.js} +41 -41
- package/dist/chunks/{file-access-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-ehknnwyx.js → file-8gbf9msb.js} +27 -27
- package/dist/chunks/{file-access-d09g07f5.js → file-8gkhtxwv.js} +20 -20
- package/dist/chunks/{file-access-29qf8dn7.js → file-8ncz7km3.js} +7 -7
- package/dist/chunks/{file-access-3h3mykw7.js → file-8tef8d4h.js} +33 -33
- package/dist/chunks/{file-access-6ymtkfzb.js → file-94sf61n7.js} +19 -44
- package/dist/chunks/{file-access-ayfrx99c.js → file-976ysedg.js} +15 -15
- package/dist/chunks/{file-access-16hg2h50.js → file-9bey2zpa.js} +12 -12
- package/dist/chunks/{file-access-1ve8gnt4.js → file-9eqtwdne.js} +93 -88
- package/dist/chunks/{file-access-cza9j1er.js → file-9k2v62xn.js} +1 -1
- package/dist/chunks/file-9phvn7ns.js +71 -0
- package/dist/chunks/{file-access-798sgk8w.js → file-a1d2hteq.js} +10 -10
- package/dist/chunks/{file-access-4vcrnpx2.js → file-a1tpkmh4.js} +3 -13
- package/dist/chunks/{file-access-k5rs1z8v.js → file-a2zsx8ap.js} +27 -27
- package/dist/chunks/{file-access-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-x95hc271.js → file-ab8td0yc.js} +43 -41
- package/dist/chunks/{file-access-rvyy05ds.js → file-agg557zn.js} +11 -11
- package/dist/chunks/{file-access-mtegq6tq.js → file-anvxjef4.js} +4 -4
- package/dist/chunks/{file-access-jgwtszpa.js → file-arm49q9k.js} +35 -35
- package/dist/chunks/{file-access-4r4fb002.js → file-aw3yg1a6.js} +11 -11
- package/dist/chunks/{file-access-jhcd8dwt.js → file-axh6m6j7.js} +20 -20
- package/dist/chunks/{file-access-kk00bynn.js → file-axmvebxj.js} +4 -4
- package/dist/chunks/{file-access-c6npeh2h.js → file-b4n85fcv.js} +32 -32
- package/dist/chunks/{file-access-dyw6ca8r.js → file-b4nrwvyj.js} +32 -31
- package/dist/chunks/{file-access-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-jj63jgrn.js → file-bby00dsd.js} +8 -8
- package/dist/chunks/{file-access-tb22s7pw.js → file-bdbwpwhn.js} +23 -24
- package/dist/chunks/{file-access-2w1d5hqx.js → file-bdkz1q2y.js} +4 -4
- package/dist/chunks/{file-access-e2tvng7c.js → file-bge4fr1z.js} +24 -24
- package/dist/chunks/{file-access-sqb2tzxk.js → file-bjpmp57t.js} +16 -16
- package/dist/chunks/{file-access-92a7scs5.js → file-bkqrvamq.js} +32 -32
- package/dist/chunks/{file-access-hgyq9xg3.js → file-c6jw9d6c.js} +13 -13
- package/dist/chunks/{file-access-q1yd4tcg.js → file-c7m8954m.js} +5 -5
- package/dist/chunks/{file-access-wqg2ybf7.js → file-c9kt1fwd.js} +7 -7
- package/dist/chunks/{file-access-8t1wrec1.js → file-cny5rd43.js} +8 -8
- package/dist/chunks/{file-access-36d0e9rd.js → file-cp5f26bt.js} +24 -24
- package/dist/chunks/{file-access-csf2jhsg.js → file-csf2jhsg.js} +1 -1
- package/dist/chunks/{file-access-vv3eqyfe.js → file-csyt93pz.js} +5 -5
- package/dist/chunks/{file-access-0f9s97z0.js → file-cz12sndv.js} +23 -23
- package/dist/chunks/{file-access-1p1yz3k5.js → file-d0chnedg.js} +41 -41
- package/dist/chunks/{file-access-etca44vv.js → file-d8drewm4.js} +15 -15
- package/dist/chunks/{file-access-8p4f9s12.js → file-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-access-y71avatq.js → file-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-access-qd8wwfxt.js → file-dsf3jx99.js} +27 -6
- package/dist/chunks/{file-access-93hpb89x.js → file-dv250zvr.js} +2 -2
- package/dist/chunks/{file-access-rq0v4azk.js → file-dvmnmd5k.js} +46 -46
- package/dist/chunks/{file-access-rzxs471t.js → file-dw8dc0pw.js} +11 -11
- package/dist/chunks/{file-access-nhy5jxhy.js → file-e82z9tr0.js} +7 -7
- package/dist/chunks/{file-access-7k68m5b6.js → file-e9vyr379.js} +11 -11
- package/dist/chunks/{file-access-29ypnx2x.js → file-ec2j1krk.js} +36 -36
- package/dist/chunks/file-eex81ar0.js +272 -0
- package/dist/chunks/{file-access-ct0crnq6.js → file-em6n8dz9.js} +46 -46
- package/dist/chunks/{file-access-3p9gq7xw.js → file-endpbns8.js} +6 -6
- package/dist/chunks/{file-access-bap3gy1s.js → file-enk99f8n.js} +14 -14
- package/dist/chunks/{file-access-e17bkqjz.js → file-esdnemd6.js} +1 -1
- package/dist/chunks/{file-access-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-s8aab4ga.js → file-exww9xwg.js} +9 -9
- package/dist/chunks/{file-access-r8xr0va3.js → file-f2n192rq.js} +4 -4
- package/dist/chunks/{file-access-tgqjfyja.js → file-fq1h1v14.js} +1 -1
- package/dist/chunks/{file-access-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-ccxygkss.js → file-g9ew5f51.js} +5 -5
- package/dist/chunks/{file-access-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-ag9w8cw1.js → file-gdrhyezn.js} +5 -5
- package/dist/chunks/{file-access-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
- package/dist/chunks/{file-access-6jnybvqn.js → file-gsx0ryk4.js} +9 -9
- package/dist/chunks/{file-access-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-access-4786se8r.js → file-h2gyv3sg.js} +1 -1
- package/dist/chunks/{file-access-fxtmjajv.js → file-h2wxq9m6.js} +17 -17
- package/dist/chunks/{file-access-98yekt2h.js → file-h5pnkca0.js} +69 -43
- package/dist/chunks/file-h5wzpkcb.js +22 -0
- package/dist/chunks/{file-access-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-f828m53h.js → file-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-access-xrs7w8df.js → file-hmtfd8e7.js} +9 -9
- package/dist/chunks/{file-access-kntbkpw6.js → file-hw2gt29t.js} +12 -12
- package/dist/chunks/{file-access-8v86gz5j.js → file-hznfad64.js} +27 -27
- package/dist/chunks/{file-access-e3nd4ayr.js → file-hzvfpvak.js} +4 -4
- package/dist/chunks/{file-access-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-zmvq2rqz.js → file-j5e99w94.js} +21 -21
- package/dist/chunks/{file-access-vcp78m62.js → file-j8sknp13.js} +17 -17
- package/dist/chunks/{file-access-hzmns3wg.js → file-jbax583q.js} +1 -1
- package/dist/chunks/{file-access-qny2rjqg.js → file-jqcaya3d.js} +11 -11
- package/dist/chunks/{file-access-tn359hwq.js → file-jqcc8e1d.js} +10 -10
- package/dist/chunks/{file-access-2wyjv582.js → file-jrrn2k62.js} +4 -4
- package/dist/chunks/{file-access-p49w4vfv.js → file-jypsjmxy.js} +15 -16
- package/dist/chunks/{file-access-h83x8fry.js → file-kbqxyd6c.js} +13 -13
- package/dist/chunks/{file-access-1ct3cw4h.js → file-kd3m4z14.js} +28 -28
- package/dist/chunks/{file-access-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{file-access-6zwbw4we.js → file-kggrcpgh.js} +11 -11
- package/dist/chunks/{file-access-d6ppqdhn.js → file-knac466s.js} +41 -15
- package/dist/chunks/{file-access-nbddwgy7.js → file-kt5w8vxh.js} +10 -10
- package/dist/chunks/{file-access-cfpkc3c9.js → file-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-access-c1fhravq.js → file-m2shdzh0.js} +41 -37
- package/dist/chunks/{file-access-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-mvfsc1pv.js → file-mhkvc446.js} +3 -3
- package/dist/chunks/file-mkcjrzeh.js +15 -0
- package/dist/chunks/{file-access-3m9xbvw6.js → file-mq2071pb.js} +11 -11
- package/dist/chunks/{file-access-2ve45fd6.js → file-mrw4weg4.js} +2 -2
- package/dist/chunks/{file-access-qs55kqfs.js → file-mvfjcd1q.js} +8 -8
- package/dist/chunks/{file-access-depwzj9d.js → file-n37c4crj.js} +9 -9
- package/dist/chunks/{file-access-9998dwsd.js → file-n3wgj171.js} +28 -29
- package/dist/chunks/{file-access-mqt7ckw4.js → file-n5qmychr.js} +21 -21
- package/dist/chunks/{file-access-07770t2t.js → file-ne3jdqry.js} +4 -4
- package/dist/chunks/{file-access-057tqkc7.js → file-nrzk1d2g.js} +22 -22
- package/dist/chunks/{file-access-9d8v8ke2.js → file-nx4935gj.js} +2 -2
- package/dist/chunks/{file-access-8mc8s27z.js → file-nz54bs3w.js} +23 -23
- package/dist/chunks/{file-access-fjvydvzm.js → file-pjedbq3k.js} +4 -4
- package/dist/chunks/{file-access-reqevd7p.js → file-pjsmk15p.js} +13 -13
- package/dist/chunks/{file-access-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/file-pq4st5kv.js +341 -0
- package/dist/chunks/{file-access-n7qjkrfm.js → file-pzh16mkn.js} +9 -9
- package/dist/chunks/{file-access-cmwkp3r5.js → file-q26tgv94.js} +8 -8
- package/dist/chunks/{file-access-drbmzzp6.js → file-q73rq2bt.js} +24 -24
- package/dist/chunks/{file-access-a82vvkn3.js → file-qf00j6dv.js} +11 -11
- package/dist/chunks/{file-access-rd8fjvyy.js → file-qrbavdvc.js} +17 -17
- package/dist/chunks/{file-access-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-1tq060df.js → file-qz49fwgp.js} +4 -4
- package/dist/chunks/{file-access-19kp6pf8.js → file-ra8xed55.js} +21 -21
- package/dist/chunks/{file-access-rhjbct0v.js → file-rhjbct0v.js} +1 -1
- package/dist/chunks/{file-access-2hhnmqep.js → file-rkh7tb58.js} +13 -13
- package/dist/chunks/{file-access-ad0pt644.js → file-rq8fnevv.js} +5 -5
- package/dist/chunks/{file-access-dw1fjyb0.js → file-rs226bz6.js} +26 -1
- package/dist/chunks/file-rsz0a70p.js +462 -0
- package/dist/chunks/{file-access-g3r1njd0.js → file-rt7tcdqd.js} +35 -35
- package/dist/chunks/{file-access-nsva66p3.js → file-s0vw0vjm.js} +17 -17
- package/dist/chunks/{file-access-wh2r9z7p.js → file-s2tycd90.js} +20 -20
- package/dist/chunks/{file-access-s4enseaf.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{file-access-092yf68v.js → file-s4m5whm3.js} +54 -54
- package/dist/chunks/{file-access-8cw6nfrt.js → file-s52qk724.js} +29 -29
- package/dist/chunks/{file-access-2eywq100.js → file-shsgghb2.js} +23 -23
- package/dist/chunks/{file-access-qxj3mjt1.js → file-sq4v2gnf.js} +9 -9
- package/dist/chunks/{file-access-z2qkwvnb.js → file-swasttjx.js} +13 -13
- package/dist/chunks/{file-access-wbqd4jb4.js → file-sxhqw0xy.js} +35 -35
- package/dist/chunks/{file-access-a5gt7g2r.js → file-t0x5rdq8.js} +9 -9
- package/dist/chunks/{file-access-99yaft7y.js → file-t1n4dhg9.js} +9 -13
- package/dist/chunks/{file-access-d2nsem9c.js → file-t3g2ccp6.js} +29 -29
- package/dist/chunks/{file-access-833eac0h.js → file-t5qb37t7.js} +8 -8
- package/dist/chunks/{file-access-nv5vn7qx.js → file-t9sxjxdg.js} +15 -30
- package/dist/chunks/{file-access-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-pkpqbj6e.js → file-tegrjk77.js} +14 -21
- package/dist/chunks/{file-access-gv6a8nnw.js → file-th5km1p3.js} +5 -5
- package/dist/chunks/{file-access-zrk6752y.js → file-tk6q6kp1.js} +22 -22
- package/dist/chunks/{file-access-8a0b7fze.js → file-ttqfmzkf.js} +2 -2
- package/dist/chunks/{file-access-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-be40ghdv.js → file-v4b36nj3.js} +2 -3
- package/dist/chunks/file-vabb23s0.js +35 -0
- package/dist/chunks/{file-access-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-289rv1w6.js → file-vg6tfdkt.js} +16 -16
- package/dist/chunks/{file-access-1yag4scb.js → file-vjknh09n.js} +77 -77
- package/dist/chunks/{file-access-qte5z7bc.js → file-vmq7ehpy.js} +5 -5
- package/dist/chunks/{file-access-y5g8bess.js → file-vr4b7vmt.js} +5 -5
- package/dist/chunks/{file-access-074en4ea.js → file-vvxeqa35.js} +149 -152
- package/dist/chunks/{file-access-jeanpfns.js → file-vypqtakx.js} +1 -1
- package/dist/chunks/{file-access-g6ech2dm.js → file-vyrr568v.js} +9 -9
- package/dist/chunks/{file-access-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-2a9f2qq7.js → file-w44msefy.js} +16 -16
- package/dist/chunks/{file-access-55nxwdxq.js → file-w59r8svm.js} +15 -15
- package/dist/chunks/{file-access-c3jkddnq.js → file-w5yv7xxz.js} +6 -6
- package/dist/chunks/{file-access-2wgyfjx6.js → file-w645sbyz.js} +17 -17
- package/dist/chunks/{file-access-eqpk83eg.js → file-w6w0btqv.js} +4 -4
- package/dist/chunks/{file-access-6ybvw0w7.js → file-w85wdfaw.js} +18 -18
- package/dist/chunks/{file-access-hc7n3jk5.js → file-wcge806m.js} +4 -4
- package/dist/chunks/{file-access-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-162fttv1.js → file-wdatz8ry.js} +13 -13
- package/dist/chunks/{file-access-6s8fgxzr.js → file-wea26x67.js} +4 -4
- package/dist/chunks/{file-access-wh3mwy9y.js → file-wfpsx1me.js} +8 -8
- package/dist/chunks/{file-access-a9h2vqbk.js → file-wkpvzz54.js} +9 -9
- package/dist/chunks/{file-access-m0bw0e4m.js → file-wwegy27d.js} +33 -45
- package/dist/chunks/{file-access-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-r9mregkx.js → file-x43y2vfs.js} +3 -3
- package/dist/chunks/{file-access-weg980m4.js → file-x513e6jx.js} +20 -20
- package/dist/chunks/{file-access-fpkam962.js → file-xbrgdg50.js} +15 -15
- package/dist/chunks/{file-access-mce70z9k.js → file-xcp573p8.js} +2 -2
- package/dist/chunks/{file-access-n747g3fh.js → file-xed1dtdk.js} +8 -8
- package/dist/chunks/file-xrsqh21y.js +4 -0
- package/dist/chunks/{file-access-0qnveg08.js → file-y0bkwhrp.js} +19 -20
- package/dist/chunks/{file-access-fx94a4xa.js → file-y0kn4hqx.js} +9 -9
- package/dist/chunks/{file-access-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-k1yeadxq.js → file-y2800yn9.js} +2 -2
- package/dist/chunks/{file-access-m9wxyjft.js → file-y5cw24ds.js} +14 -14
- package/dist/chunks/file-y7egkzp6.js +55 -0
- package/dist/chunks/{file-access-e0wvz8qy.js → file-ya1b4y87.js} +19 -22
- package/dist/chunks/{file-access-8p576cyw.js → file-yca9gk6f.js} +16 -15
- package/dist/chunks/{file-access-7vczhnf2.js → file-yckky8df.js} +9 -10
- package/dist/chunks/{file-access-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-dpnaqgym.js → file-z3syage6.js} +23 -23
- package/dist/chunks/{file-access-we88g5cm.js → file-z9s268w6.js} +9 -12
- package/dist/chunks/{file-access-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-806j49yq.js → file-zv0544jz.js} +4 -4
- package/dist/chunks/{file-access-h9wq4q8z.js → file-zx86nq6m.js} +10 -10
- package/dist/chunks/{file-access-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -80
- package/dist/config/discovery.js +77 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -118
- package/dist/config/plugin/command.js +209 -210
- package/dist/config/plugin/compaction.js +155 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -118
- package/dist/config/plugin/image.js +115 -116
- package/dist/config/plugin/instruction.js +85 -86
- package/dist/config/plugin/location-watcher.js +115 -116
- package/dist/config/plugin/mcp.js +126 -127
- package/dist/config/plugin/policy.js +114 -115
- package/dist/config/plugin/provider.js +113 -114
- package/dist/config/plugin/reference.js +117 -118
- package/dist/config/plugin/shell.js +118 -119
- package/dist/config/plugin/skill-file.js +97 -98
- package/dist/config/plugin/skill.js +136 -137
- package/dist/config/plugin/snapshot.js +115 -116
- package/dist/config/plugin/source.js +117 -118
- package/dist/config/plugin/tool-output.js +117 -118
- package/dist/config/plugin/websearch.js +115 -116
- package/dist/config/plugin/worktree.js +118 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +75 -76
- package/dist/database/database.js +64 -65
- 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.gen.js +47 -48
- package/dist/database/migration.js +49 -50
- 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 +75 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -91
- 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 -73
- package/dist/file-access.js +99 -100
- package/dist/file-mutation.js +89 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +94 -95
- package/dist/form.js +76 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -83
- package/dist/generate.js +89 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +352 -352
- package/dist/instruction-discovery.js +81 -82
- package/dist/instructions/builtins.js +82 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -85
- package/dist/job.js +77 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -72
- package/dist/location-activity.js +133 -134
- package/dist/location-mutation.js +99 -100
- package/dist/location-service-map.js +83 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -81
- package/dist/mcp/client.js +86 -87
- package/dist/mcp/index.js +105 -106
- package/dist/mcp/instructions.js +122 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -93
- package/dist/model.js +2 -2
- package/dist/models-dev.js +86 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -79
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -74
- package/dist/plugin/agent.js +99 -100
- package/dist/plugin/command.js +96 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -6
- package/dist/plugin/plan.js +97 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +7 -0
- package/dist/plugin/provider/azure.js +118 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -115
- package/dist/plugin/provider/digitalocean.js +79 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -77
- package/dist/plugin/provider/lmstudio.js +115 -116
- package/dist/plugin/provider/mistral.js +7 -0
- package/dist/plugin/provider/modal.js +79 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -81
- package/dist/plugin/provider/opencode.js +76 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +5 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -118
- package/dist/plugin/provider/xai.js +77 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -157
- package/dist/plugin/sdk.js +74 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -83
- package/dist/plugin/vcs/hg.js +82 -83
- package/dist/plugin/warming.js +112 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -80
- package/dist/provider.js +1 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -93
- package/dist/reference/instructions.js +82 -83
- package/dist/reference.js +86 -87
- package/dist/repository-cache.js +76 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +89 -90
- package/dist/rpc.js +81 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -73
- package/dist/session/compaction.js +127 -128
- package/dist/session/context.js +147 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +11 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -220
- package/dist/session/execution.js +124 -125
- package/dist/session/generate.js +146 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -127
- package/dist/session/projector.js +84 -85
- package/dist/session/prompt.js +100 -101
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -91
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -111
- package/dist/session/runner/step.js +121 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -170
- package/dist/session/shell.js +131 -132
- package/dist/session/skill.js +98 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -72
- package/dist/session/store.js +85 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -152
- package/dist/session/to-session-error.js +107 -108
- package/dist/session/transfer.js +214 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -210
- 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 +7 -7
- package/dist/shell.js +131 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -101
- package/dist/skill.js +107 -108
- package/dist/snapshot.js +88 -89
- 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 +121 -122
- package/dist/tool/plugin/edit.js +115 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -121
- package/dist/tool/plugin/grep.js +120 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -118
- package/dist/tool/plugin/question.js +98 -99
- package/dist/tool/plugin/read.js +121 -122
- package/dist/tool/plugin/shell.js +212 -213
- package/dist/tool/plugin/skill.js +100 -101
- package/dist/tool/plugin/subagent.js +214 -215
- package/dist/tool/plugin/webfetch.js +103 -104
- package/dist/tool/plugin/websearch.js +109 -110
- package/dist/tool/plugin/write.js +117 -118
- package/dist/tool/read-filesystem.js +96 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/aisdk-native.d.ts +2 -4
- package/dist/types/model-resolver.d.ts +3 -52
- package/dist/types/model.d.ts +0 -1
- package/dist/types/plugin/optimize.d.ts +1 -2
- package/dist/types/plugin/provider/anthropic.d.ts +1 -0
- package/dist/types/plugin/provider/mistral.d.ts +1 -0
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +4 -5
- package/dist/types/provider.d.ts +0 -2
- package/dist/types/rpc.d.ts +0 -1
- package/dist/types/session/compaction.d.ts +3 -3
- package/dist/types/session/context.d.ts +1 -1
- package/dist/types/session/error.d.ts +36 -0
- package/dist/types/session/history.d.ts +0 -80
- package/dist/types/session/model-request.d.ts +37 -18
- package/dist/types/session/runner/model.d.ts +0 -5
- package/dist/types/session/runner/step.d.ts +1 -1
- package/dist/types/session/schema.d.ts +0 -9
- package/dist/types/session/session.d.ts +5 -5
- package/dist/types/session/sql.d.ts +3 -3
- package/dist/types/session/store.d.ts +0 -1
- package/dist/types/session/transfer.d.ts +0 -53
- package/dist/types/session.d.ts +5 -8
- package/dist/types/v1/config/migrate.d.ts +0 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -86
- package/dist/websearch.js +78 -79
- package/dist/wellknown/plugin.js +74 -75
- package/dist/wellknown.js +75 -76
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -77
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -90
- package/package.json +8 -8
- package/dist/chunks/file-access-05fbhmag.js +0 -22
- package/dist/chunks/file-access-64h6ppck.js +0 -247
- package/dist/chunks/file-access-6kdq0pjd.js +0 -4
- package/dist/chunks/file-access-7jrfegz8.js +0 -260
- package/dist/chunks/file-access-ea8nv0r7.js +0 -170
- package/dist/chunks/file-access-h8sjebh6.js +0 -123
- package/dist/chunks/file-access-jqh9b0xq.js +0 -18
- package/dist/chunks/file-access-rhqq9sj2.js +0 -63
- package/dist/chunks/file-access-rs20ccms.js +0 -228
- package/dist/chunks/file-access-y8f7s663.js +0 -13
- package/dist/chunks/file-access-zka7qpah.js +0 -462
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +0 -6
- package/dist/plugin/provider/poe.js +0 -82
- package/dist/types/database/migration/20260910120000_clear_v1_session_permission.d.ts +0 -3
- package/dist/types/plugin/provider/poe.d.ts +0 -2
- /package/dist/chunks/{file-access-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-j935v87r.js → file-j935v87r.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./file-
|
|
6
|
+
} from "./file-2qz021p1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./file-
|
|
8
|
+
Service76,
|
|
9
|
+
node81
|
|
10
|
+
} from "./file-enk99f8n.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./file-
|
|
12
|
+
Service55,
|
|
13
|
+
node59
|
|
14
|
+
} from "./file-1q2nd9f6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./file-
|
|
17
|
+
} from "./file-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service54,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node58,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service54 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service76;
|
|
61
|
+
const permission = yield* Service55;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service54.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node58 = makeLocationNode({ service: Service54, layer, deps: [FSUtil.node, node81, node59] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service54, resolvePath2, node58, exports_file_access };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./file-
|
|
5
|
+
} from "./file-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options9,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options9 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options9, Spec2, exports_plugin3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./file-
|
|
6
|
+
} from "./file-dv250zvr.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./file-
|
|
9
|
+
} from "./file-dsf3jx99.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./file-
|
|
13
|
+
} from "./file-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./file-
|
|
16
|
+
} from "./file-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./file-
|
|
20
|
+
} from "./file-wcge806m.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./file-
|
|
25
|
+
} from "./file-csf2jhsg.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./file-
|
|
28
|
+
} from "./file-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./file-
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-hw2gt29t.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event19
|
|
7
|
-
} from "./file-
|
|
7
|
+
} from "./file-1xzdp18p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID6,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./file-
|
|
11
|
+
} from "./file-8gbf9msb.js";
|
|
12
12
|
import {
|
|
13
13
|
ID16,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./file-
|
|
17
|
-
import {
|
|
18
|
-
ID3,
|
|
19
|
-
Input13,
|
|
20
|
-
Response2
|
|
21
|
-
} from "./file-access-d09g07f5.js";
|
|
16
|
+
} from "./file-84tssp1s.js";
|
|
22
17
|
|
|
23
18
|
// src/plugin/provider/opencode.ts
|
|
24
|
-
import { Duration, Effect,
|
|
19
|
+
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
25
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
import {
|
|
21
|
+
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
27
22
|
import { ConfigProvider } from "@opencode/schema/config/provider";
|
|
28
23
|
import { Money } from "@opencode/schema/money";
|
|
29
24
|
var defaultServer = "https://opencode.ai/console";
|
|
30
25
|
var clientID = "opencode-cli";
|
|
31
26
|
var methodID = MethodID2.make("device");
|
|
32
|
-
var RemoteResponse = Schema.Struct({
|
|
33
|
-
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
|
-
websearch: Schema.Struct({
|
|
35
|
-
providerID: ID3
|
|
36
|
-
}).pipe(Schema.optional)
|
|
37
|
-
});
|
|
27
|
+
var RemoteResponse = Schema.Struct({ providers: Schema.Record(Schema.String, ConfigProvider.Info) });
|
|
38
28
|
var Device = Schema.Struct({
|
|
39
29
|
device_code: Schema.String,
|
|
40
30
|
user_code: Schema.String,
|
|
@@ -45,8 +35,7 @@ var Device = Schema.Struct({
|
|
|
45
35
|
var Token = Schema.Struct({
|
|
46
36
|
access_token: Schema.String,
|
|
47
37
|
refresh_token: Schema.String,
|
|
48
|
-
expires_in: Schema.Number
|
|
49
|
-
org_id: Schema.optional(Schema.NullOr(Schema.String))
|
|
38
|
+
expires_in: Schema.Number
|
|
50
39
|
});
|
|
51
40
|
var TokenPending = Schema.Struct({ error: Schema.String });
|
|
52
41
|
var DeviceToken = Schema.Union([Token, TokenPending]);
|
|
@@ -54,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
43
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
44
|
function oauth(http) {
|
|
56
45
|
return {
|
|
57
|
-
integrationID:
|
|
46
|
+
integrationID: ID6.make("opencode"),
|
|
58
47
|
method: {
|
|
59
48
|
id: methodID,
|
|
60
49
|
type: "oauth",
|
|
@@ -62,7 +51,7 @@ function oauth(http) {
|
|
|
62
51
|
},
|
|
63
52
|
authorize: (answer) => Effect.gen(function* () {
|
|
64
53
|
const server = yield* normalizeServer(answer.server ?? defaultServer);
|
|
65
|
-
const device = yield* post(http, `${server}/auth/device/code`, { client_id: clientID
|
|
54
|
+
const device = yield* post(http, `${server}/auth/device/code`, { client_id: clientID }, Device);
|
|
66
55
|
const verification = yield* Effect.try({
|
|
67
56
|
try: () => {
|
|
68
57
|
const url = new URL(device.verification_uri_complete, `${server}/`);
|
|
@@ -80,17 +69,13 @@ function oauth(http) {
|
|
|
80
69
|
};
|
|
81
70
|
}),
|
|
82
71
|
refresh: (credential) => Effect.gen(function* () {
|
|
83
|
-
const
|
|
72
|
+
const server = typeof credential.metadata?.server === "string" ? credential.metadata.server : defaultServer;
|
|
73
|
+
const token = yield* post(http, `${server}/auth/device/token`, { grant_type: "refresh_token", refresh_token: credential.refresh, client_id: clientID }, Token);
|
|
84
74
|
return {
|
|
85
75
|
...credential,
|
|
86
76
|
access: token.access_token,
|
|
87
77
|
refresh: token.refresh_token,
|
|
88
|
-
expires: Date.now() + token.expires_in * 1000
|
|
89
|
-
metadata: token.org_id == null ? credential.metadata : {
|
|
90
|
-
...credential.metadata,
|
|
91
|
-
orgID: token.org_id,
|
|
92
|
-
orgName: credential.metadata?.orgID === token.org_id && typeof credential.metadata.orgName === "string" ? credential.metadata.orgName : token.org_id
|
|
93
|
-
}
|
|
78
|
+
expires: Date.now() + token.expires_in * 1000
|
|
94
79
|
};
|
|
95
80
|
}),
|
|
96
81
|
label: (credential) => typeof credential.metadata?.orgName === "string" ? credential.metadata.orgName : undefined
|
|
@@ -99,17 +84,18 @@ function oauth(http) {
|
|
|
99
84
|
var OpencodePlugin2 = define({
|
|
100
85
|
id: "opencode.provider.opencode",
|
|
101
86
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
87
|
+
const bus = yield* Service79;
|
|
103
88
|
const http = yield* HttpClient.HttpClient;
|
|
104
89
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
|
-
let
|
|
90
|
+
let connected = false;
|
|
91
|
+
let providers;
|
|
106
92
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
107
93
|
const connection = yield* ctx.integration.connection.active("opencode");
|
|
108
94
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
109
95
|
return;
|
|
110
96
|
})) : undefined;
|
|
111
|
-
|
|
112
|
-
|
|
97
|
+
connected = connection !== undefined;
|
|
98
|
+
providers = credential ? yield* fetchProviders(http, credential).pipe(Effect.catch((cause) => Effect.logWarning("failed to load OpenCode provider config", { cause }).pipe(Effect.as(undefined)))) : undefined;
|
|
113
99
|
});
|
|
114
100
|
yield* ctx.integration.transform((editor) => {
|
|
115
101
|
editor.update("opencode", (integration) => {
|
|
@@ -118,14 +104,14 @@ var OpencodePlugin2 = define({
|
|
|
118
104
|
editor.method.update(oauth(http));
|
|
119
105
|
editor.method.update({ integrationID: "opencode", method: { type: "key", label: "API key (service account)" } });
|
|
120
106
|
});
|
|
121
|
-
|
|
107
|
+
yield* load();
|
|
122
108
|
yield* ctx.catalog.transform((catalog) => {
|
|
123
|
-
for (const [providerID, item] of Object.entries(
|
|
109
|
+
for (const [providerID, item] of Object.entries(providers ?? {})) {
|
|
124
110
|
const source = catalog.provider.get(item.canonical ?? providerID);
|
|
125
111
|
catalog.provider.update(providerID, (provider) => {
|
|
126
112
|
if (source && source.provider !== provider)
|
|
127
113
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
114
|
+
provider.integrationID = ID6.make("opencode");
|
|
129
115
|
if (item.canonical !== undefined)
|
|
130
116
|
provider.canonical = item.canonical;
|
|
131
117
|
if (item.name !== undefined)
|
|
@@ -191,7 +177,7 @@ var OpencodePlugin2 = define({
|
|
|
191
177
|
const item = catalog.provider.get(ID16.opencode);
|
|
192
178
|
if (!item)
|
|
193
179
|
return;
|
|
194
|
-
const hasKey = Boolean(process.env.OPENCODE_API_KEY ||
|
|
180
|
+
const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
|
|
195
181
|
catalog.provider.update(item.provider.id, (provider) => {
|
|
196
182
|
if (!hasKey) {
|
|
197
183
|
provider.activation = "enabled";
|
|
@@ -208,64 +194,21 @@ var OpencodePlugin2 = define({
|
|
|
208
194
|
});
|
|
209
195
|
}
|
|
210
196
|
});
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
const connection = snapshot.connection;
|
|
214
|
-
if (!descriptor || !connection)
|
|
215
|
-
return;
|
|
216
|
-
editor.add({
|
|
217
|
-
id: descriptor.providerID,
|
|
218
|
-
name: "OpenCode Web Search",
|
|
219
|
-
execute: (input) => Effect.gen(function* () {
|
|
220
|
-
const active = yield* ctx.integration.connection.active("opencode");
|
|
221
|
-
if (!active || (connection.type === "credential" ? active.type !== "credential" || active.id !== connection.id : active.type !== "env" || active.name !== connection.name)) {
|
|
222
|
-
return yield* Effect.fail(new Error("OpenCode Console connection changed"));
|
|
223
|
-
}
|
|
224
|
-
const credential = yield* ctx.integration.connection.resolve(active);
|
|
225
|
-
if (!credential)
|
|
226
|
-
return yield* Effect.fail(new Error("OpenCode Console is not connected"));
|
|
227
|
-
const metadata = credential.metadata;
|
|
228
|
-
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
229
|
-
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
230
|
-
const server = yield* normalizeServer(serverUrl(credential));
|
|
231
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
232
|
-
query: input.query,
|
|
233
|
-
providerID: descriptor.providerID
|
|
234
|
-
}));
|
|
235
|
-
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.flatMap(HttpClientResponse.schemaBodyJson(Response2)), Effect.scoped, Effect.timeoutOrElse({
|
|
236
|
-
duration: Duration.seconds(25),
|
|
237
|
-
orElse: () => Effect.fail(new Error("OpenCode web search request timed out"))
|
|
238
|
-
}));
|
|
239
|
-
if (response.providerID !== descriptor.providerID) {
|
|
240
|
-
return yield* Effect.fail(new Error(`OpenCode web search returned provider ${response.providerID} instead of ${descriptor.providerID}`));
|
|
241
|
-
}
|
|
242
|
-
return response.results;
|
|
243
|
-
})
|
|
244
|
-
});
|
|
245
|
-
editor.default.set(descriptor.providerID);
|
|
246
|
-
});
|
|
247
|
-
const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
|
|
248
|
-
snapshot = next;
|
|
249
|
-
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
|
-
});
|
|
251
|
-
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
|
-
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
197
|
+
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
198
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
254
199
|
})
|
|
255
200
|
});
|
|
256
|
-
function
|
|
201
|
+
function fetchProviders(http, value) {
|
|
257
202
|
const metadata = value.metadata;
|
|
203
|
+
const server = typeof metadata?.server === "string" ? metadata.server : defaultServer;
|
|
258
204
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
259
205
|
const token = value.type === "oauth" ? value.access : value.key;
|
|
260
|
-
return http.execute(HttpClientRequest.get(`${
|
|
206
|
+
return http.execute(HttpClientRequest.get(`${server}/api/v2/config`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}))).pipe(Effect.flatMap((response) => {
|
|
261
207
|
if (response.status === 404)
|
|
262
208
|
return Effect.undefined;
|
|
263
|
-
return HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(RemoteResponse)));
|
|
209
|
+
return HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(RemoteResponse)), Effect.map((remote) => remote.providers));
|
|
264
210
|
}));
|
|
265
211
|
}
|
|
266
|
-
function serverUrl(value) {
|
|
267
|
-
return typeof value.metadata?.server === "string" ? value.metadata.server : defaultServer;
|
|
268
|
-
}
|
|
269
212
|
function withoutCredentials(body) {
|
|
270
213
|
return body && Object.fromEntries(Object.entries(body).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
271
214
|
}
|
|
@@ -307,10 +250,7 @@ function credential(http, server, token) {
|
|
|
307
250
|
get(http, `${server}/api/user`, token.access_token, User),
|
|
308
251
|
get(http, `${server}/api/orgs`, token.access_token, Schema.Array(Org))
|
|
309
252
|
], { concurrency: 2 });
|
|
310
|
-
const org =
|
|
311
|
-
if (token.org_id != null && !org) {
|
|
312
|
-
return yield* Effect.fail(new Error(`OpenCode organization not found: ${token.org_id}`));
|
|
313
|
-
}
|
|
253
|
+
const org = orgs.toSorted((a, b) => a.name.localeCompare(b.name) || a.id.localeCompare(b.id))[0];
|
|
314
254
|
return OAuth3.make({
|
|
315
255
|
type: "oauth",
|
|
316
256
|
methodID,
|
|
@@ -331,7 +271,7 @@ function get(http, url, token, schema) {
|
|
|
331
271
|
return HttpClient.filterStatusOk(http).execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token))).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(schema)));
|
|
332
272
|
}
|
|
333
273
|
function post(http, url, body, schema, statusOk = true) {
|
|
334
|
-
return HttpClientRequest.post(url).pipe(HttpClientRequest.acceptJson, HttpClientRequest.schemaBodyJson(Schema.Record(Schema.String, Schema.
|
|
274
|
+
return HttpClientRequest.post(url).pipe(HttpClientRequest.acceptJson, HttpClientRequest.schemaBodyJson(Schema.Record(Schema.String, Schema.String))(body), Effect.flatMap((request) => http.execute(request)), Effect.flatMap((response) => statusOk ? HttpClientResponse.filterStatusOk(response) : Effect.succeed(response)), Effect.flatMap(HttpClientResponse.schemaBodyJson(schema)));
|
|
335
275
|
}
|
|
336
276
|
|
|
337
277
|
export { OpencodePlugin2 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./file-
|
|
5
|
+
} from "./file-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./file-
|
|
7
|
+
Service66,
|
|
8
|
+
node70
|
|
9
|
+
} from "./file-cp5f26bt.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./file-
|
|
12
|
+
} from "./file-w85wdfaw.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./file-
|
|
15
|
+
} from "./file-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./file-
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node7,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
|
|
|
326
326
|
return index + 1;
|
|
327
327
|
}
|
|
328
328
|
};
|
|
329
|
-
var layer = Layer.effect(
|
|
330
|
-
const environment = yield*
|
|
331
|
-
return
|
|
329
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
330
|
+
const environment = yield* Service66;
|
|
331
|
+
return Service5.of({
|
|
332
332
|
list: environment.files.list,
|
|
333
333
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
334
334
|
});
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var node7 = makeLocationNode({ service: Service5, layer, deps: [node70] });
|
|
337
337
|
|
|
338
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
338
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
|
|
@@ -1,36 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./file-
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-hw2gt29t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./file-
|
|
5
|
+
Service51,
|
|
6
|
+
Event11
|
|
7
|
+
} from "./file-1ajj2c3r.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
11
11
|
import { Integration } from "@opencode/schema/integration";
|
|
12
12
|
import { Provider } from "@opencode/schema/provider";
|
|
13
13
|
import { Effect, Stream } from "effect";
|
|
14
|
-
var BEDROCK_PROFILE_ONLY_IDS = [
|
|
15
|
-
"amazon.nova-2-lite-v1:0",
|
|
16
|
-
"anthropic.claude-fable-5",
|
|
17
|
-
"anthropic.claude-fable-5-1",
|
|
18
|
-
"anthropic.claude-haiku-4-5-20251001-v1:0",
|
|
19
|
-
"anthropic.claude-opus-4-1-20250805-v1:0",
|
|
20
|
-
"anthropic.claude-opus-4-5-20251101-v1:0",
|
|
21
|
-
"anthropic.claude-opus-4-7",
|
|
22
|
-
"anthropic.claude-opus-4-8",
|
|
23
|
-
"anthropic.claude-opus-5",
|
|
24
|
-
"anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
25
|
-
"anthropic.claude-sonnet-5",
|
|
26
|
-
"deepseek.r1-v1:0",
|
|
27
|
-
"mistral.pixtral-large-2502-v1:0"
|
|
28
|
-
];
|
|
29
14
|
var ModelsDevPlugin2 = define({
|
|
30
15
|
id: "opencode.models.dev",
|
|
31
16
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
17
|
+
const modelsDev = yield* Service51;
|
|
18
|
+
const bus = yield* Service79;
|
|
34
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
20
|
yield* ctx.integration.transform((integrations) => {
|
|
36
21
|
for (const provider of loaded.data) {
|
|
@@ -60,13 +45,11 @@ var ModelsDevPlugin2 = define({
|
|
|
60
45
|
for (const model of provider.models) {
|
|
61
46
|
if (model.status === "deprecated")
|
|
62
47
|
continue;
|
|
63
|
-
if (provider.info.id === Provider.ID.amazonBedrock && BEDROCK_PROFILE_ONLY_IDS.includes(model.modelID ?? model.id))
|
|
64
|
-
continue;
|
|
65
48
|
catalog.model.update(provider.info.id, model.id, (draft) => Object.assign(draft, copy(model)));
|
|
66
49
|
}
|
|
67
50
|
}
|
|
68
51
|
});
|
|
69
|
-
yield* bus.subscribe(
|
|
52
|
+
yield* bus.subscribe(Event11.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
70
53
|
})
|
|
71
54
|
});
|
|
72
55
|
function environmentNames(provider) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./file-
|
|
2
|
+
Service76
|
|
3
|
+
} from "./file-enk99f8n.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./file-
|
|
13
|
+
} from "./file-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./file-
|
|
16
|
+
} from "./file-z3syage6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./file-
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin6 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service76;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin6, exports_hg };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./file-
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
@@ -17,10 +17,9 @@ __export(exports_provider3, {
|
|
|
17
17
|
loadPackage: () => loadPackage2,
|
|
18
18
|
mergeHeaders: () => mergeHeaders2,
|
|
19
19
|
mergeOverlay: () => mergeOverlay2,
|
|
20
|
-
nativeSettings: () => nativeSettings2,
|
|
21
20
|
packageName: () => packageName2
|
|
22
21
|
});
|
|
23
|
-
import { Effect, Schema
|
|
22
|
+
import { Effect, Schema } from "effect";
|
|
24
23
|
import { Provider } from "@opencode/schema/provider";
|
|
25
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
26
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
@@ -113,10 +112,6 @@ var loadPackage2 = Effect.fn("Provider.loadPackage")(function* (input, npm) {
|
|
|
113
112
|
});
|
|
114
113
|
return yield* importPackage(specifier, entrypoint);
|
|
115
114
|
});
|
|
116
|
-
var TRANSPORT_KEYS = ["chunkTimeout", "fetch", "timeout"];
|
|
117
|
-
function nativeSettings2(settings) {
|
|
118
|
-
return Struct.omit(settings, TRANSPORT_KEYS);
|
|
119
|
-
}
|
|
120
115
|
function mergeOverlay2(base, overlay) {
|
|
121
116
|
if (base === undefined)
|
|
122
117
|
return overlay && decodeJsonRecord({ ...overlay });
|
|
@@ -166,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
166
161
|
return module;
|
|
167
162
|
});
|
|
168
163
|
|
|
169
|
-
export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2,
|
|
164
|
+
export { ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info30, exports_provider3 };
|