@opencode/core 0.0.0-dev-20950 → 0.0.0-dev-20954
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 +75 -75
- package/dist/chunks/{model-resolver-eyc9h8gm.js → instance-049ztdrq.js} +4 -4
- package/dist/chunks/{model-resolver-zza4sf78.js → instance-06y773be.js} +28 -28
- package/dist/chunks/{model-resolver-q0xm7vwc.js → instance-0j77ygfz.js} +6 -6
- package/dist/chunks/{model-resolver-yw18zvsa.js → instance-0k1qxdkc.js} +9 -9
- package/dist/chunks/{model-resolver-mk389d74.js → instance-0t8zfa62.js} +20 -20
- package/dist/chunks/{model-resolver-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{model-resolver-a634dvb9.js → instance-11626hss.js} +15 -15
- package/dist/chunks/{model-resolver-0jq9fyba.js → instance-11dqjexa.js} +9 -9
- package/dist/chunks/{model-resolver-g05j57d7.js → instance-12khtxcx.js} +5 -5
- package/dist/chunks/{model-resolver-5fqe9rrs.js → instance-12tfj69t.js} +13 -13
- package/dist/chunks/{model-resolver-xqsvy1tg.js → instance-1359n4t6.js} +11 -11
- package/dist/chunks/{model-resolver-2erc5g3s.js → instance-153cwxcv.js} +4 -4
- package/dist/chunks/{model-resolver-qsry094s.js → instance-18mxrhrw.js} +5 -5
- package/dist/chunks/{model-resolver-9y5jvg7a.js → instance-1c29c2dv.js} +34 -34
- package/dist/chunks/{model-resolver-zeadje1f.js → instance-1q02rcrj.js} +22 -22
- package/dist/chunks/{model-resolver-f1nae5s7.js → instance-1qwng1wt.js} +14 -14
- package/dist/chunks/{model-resolver-d2czbp48.js → instance-1rn5pcm9.js} +4 -4
- package/dist/chunks/{model-resolver-9mtvkt7f.js → instance-1rpevywg.js} +20 -20
- package/dist/chunks/{model-resolver-pr6x9sxx.js → instance-2c3anf0v.js} +4 -4
- package/dist/chunks/{model-resolver-be7qvw84.js → instance-2n295dmf.js} +8 -8
- package/dist/chunks/{model-resolver-dmq48mpy.js → instance-2n83m6nt.js} +39 -39
- package/dist/chunks/{model-resolver-fftm5veb.js → instance-2tpn8pbq.js} +11 -11
- package/dist/chunks/{model-resolver-xjdp5kgq.js → instance-32m51mgg.js} +3 -3
- package/dist/chunks/{model-resolver-w0qm4gzb.js → instance-3c2vgzf0.js} +15 -15
- package/dist/chunks/{model-resolver-89j1w47y.js → instance-3dxwnv9s.js} +26 -26
- package/dist/chunks/{model-resolver-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-0p78r4x4.js → instance-3g642jy4.js} +10 -10
- package/dist/chunks/{model-resolver-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
- package/dist/chunks/{model-resolver-ggp1egtm.js → instance-3mtcg1ph.js} +6 -6
- package/dist/chunks/{model-resolver-sxzvkvgj.js → instance-3ppptnan.js} +6 -6
- package/dist/chunks/{model-resolver-jsjp95jt.js → instance-3ratq7br.js} +13 -13
- package/dist/chunks/{model-resolver-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-aj3rbcf1.js → instance-461nxmbv.js} +5 -5
- package/dist/chunks/{model-resolver-9hwaqfsw.js → instance-47jkzegy.js} +5 -5
- package/dist/chunks/{model-resolver-7h0gvqqa.js → instance-48r0wrnn.js} +10 -10
- package/dist/chunks/{model-resolver-kkhtdzsm.js → instance-4c1c6x0j.js} +20 -20
- package/dist/chunks/{model-resolver-der77a5r.js → instance-4f5ys4z8.js} +48 -48
- package/dist/chunks/{model-resolver-vsx5rp07.js → instance-4fcyy0r7.js} +37 -37
- package/dist/chunks/{model-resolver-d8d1mz9r.js → instance-4h50sa89.js} +28 -28
- package/dist/chunks/{model-resolver-rkp05d3h.js → instance-4k1x6kpe.js} +33 -33
- package/dist/chunks/{model-resolver-cp937pt4.js → instance-4v7ngy20.js} +4 -4
- package/dist/chunks/{model-resolver-54ma36ye.js → instance-54ma36ye.js} +1 -1
- package/dist/chunks/{model-resolver-s73414qt.js → instance-55msp0mp.js} +27 -27
- package/dist/chunks/{model-resolver-b0dxm10x.js → instance-588c8p84.js} +22 -22
- package/dist/chunks/{model-resolver-97aeaand.js → instance-5fec3t3w.js} +9 -9
- package/dist/chunks/{model-resolver-5x1d34z2.js → instance-5kbwm9w7.js} +3 -3
- package/dist/chunks/{model-resolver-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-cvkyw9pt.js → instance-5nsk3cgd.js} +9 -9
- package/dist/chunks/{model-resolver-phvmwwrc.js → instance-5qw0f10w.js} +16 -16
- package/dist/chunks/{model-resolver-vh39qgwm.js → instance-5sf8jfzs.js} +7 -7
- package/dist/chunks/{model-resolver-j9r8495c.js → instance-5tb5cwdx.js} +3 -3
- package/dist/chunks/{model-resolver-y9rz79sf.js → instance-5wpsrqhm.js} +35 -35
- package/dist/chunks/instance-65q80m5k.js +26 -0
- package/dist/chunks/{model-resolver-xybefm6f.js → instance-68wqtz75.js} +1 -1
- package/dist/chunks/{model-resolver-1wp3hb2k.js → instance-6am9e49w.js} +9 -9
- package/dist/chunks/{model-resolver-jk540des.js → instance-6g107h22.js} +2 -2
- package/dist/chunks/{model-resolver-tkmwgdpd.js → instance-6hh8tjw2.js} +7 -7
- package/dist/chunks/{model-resolver-3vswmpk1.js → instance-6hysr14g.js} +34 -34
- package/dist/chunks/{model-resolver-ev42rs7f.js → instance-6mt73k75.js} +12 -12
- package/dist/chunks/{model-resolver-k0pj753z.js → instance-6n70g1xh.js} +13 -13
- package/dist/chunks/{model-resolver-97bpphjt.js → instance-6wh5whrv.js} +13 -13
- package/dist/chunks/{model-resolver-4j05sq0m.js → instance-6wmwxeyx.js} +27 -27
- package/dist/chunks/{model-resolver-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{model-resolver-y11gfp3c.js → instance-70z6efj4.js} +26 -26
- package/dist/chunks/{model-resolver-kwjtxjfb.js → instance-73z18d76.js} +21 -21
- package/dist/chunks/{model-resolver-775gj3j1.js → instance-775gj3j1.js} +2 -2
- package/dist/chunks/{model-resolver-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-tsktfrs2.js → instance-7g3h11yw.js} +87 -87
- package/dist/chunks/{model-resolver-72qbjese.js → instance-7h042088.js} +11 -11
- package/dist/chunks/{model-resolver-7kpkhag7.js → instance-7t06q8yg.js} +61 -61
- package/dist/chunks/{model-resolver-2r93mh4x.js → instance-81fjg4yx.js} +12 -12
- package/dist/chunks/{model-resolver-84txncab.js → instance-84txncab.js} +1 -1
- package/dist/chunks/{model-resolver-tcezcvh9.js → instance-89znhe33.js} +4 -4
- package/dist/chunks/{model-resolver-n28jv3gc.js → instance-8kyj49b1.js} +11 -11
- package/dist/chunks/{model-resolver-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
- package/dist/chunks/{model-resolver-egwn3b3z.js → instance-8wp5nj2m.js} +2 -2
- package/dist/chunks/{model-resolver-91qna3x0.js → instance-91qna3x0.js} +3 -3
- package/dist/chunks/{model-resolver-yhd2m4kx.js → instance-98pzc9xt.js} +20 -20
- package/dist/chunks/{model-resolver-zwq9gsm5.js → instance-9devznn4.js} +5 -5
- package/dist/chunks/{model-resolver-b134vsz7.js → instance-9jaqn8p5.js} +7 -7
- package/dist/chunks/{model-resolver-7xfrtcks.js → instance-9mgbv78s.js} +21 -21
- package/dist/chunks/{model-resolver-vxvsynfj.js → instance-9mwbd6df.js} +22 -22
- package/dist/chunks/{model-resolver-ya3jbp1k.js → instance-9vmcz4h6.js} +24 -24
- package/dist/chunks/{model-resolver-7968cave.js → instance-9wqt6yc5.js} +29 -29
- package/dist/chunks/{model-resolver-31knp78d.js → instance-a34xer23.js} +18 -18
- package/dist/chunks/{model-resolver-zhzk0jbj.js → instance-a6sze9s6.js} +11 -11
- package/dist/chunks/{model-resolver-pnkbpv6t.js → instance-a7bcxdzj.js} +9 -9
- package/dist/chunks/{model-resolver-kjxvkwmy.js → instance-aseyxkj3.js} +18 -18
- package/dist/chunks/{model-resolver-yqev8n43.js → instance-at6w9p8t.js} +18 -18
- package/dist/chunks/{model-resolver-scgrse2b.js → instance-b3f8fkhc.js} +5 -5
- package/dist/chunks/{model-resolver-wjr9rjd7.js → instance-bjx1sjef.js} +6 -6
- package/dist/chunks/{model-resolver-8e2jakfn.js → instance-bschsqn1.js} +11 -11
- package/dist/chunks/{model-resolver-9hcy9v3f.js → instance-bvezaeyq.js} +5 -5
- package/dist/chunks/{model-resolver-r70na3yp.js → instance-bxqk5pf5.js} +9 -9
- package/dist/chunks/instance-by5v678g.js +18 -0
- package/dist/chunks/{model-resolver-tm6yce80.js → instance-c2kw168f.js} +14 -14
- package/dist/chunks/{model-resolver-c41wscbt.js → instance-c41wscbt.js} +2 -2
- package/dist/chunks/{model-resolver-hws0p7qv.js → instance-c4p9y2fc.js} +18 -18
- package/dist/chunks/{model-resolver-c8ax2afj.js → instance-c8ax2afj.js} +2 -2
- package/dist/chunks/{model-resolver-017v6ka8.js → instance-cbx6rtke.js} +27 -27
- package/dist/chunks/{model-resolver-81rxcsqc.js → instance-cdp3vbb0.js} +20 -20
- package/dist/chunks/{model-resolver-zxz20fz9.js → instance-cfx9nmr8.js} +24 -24
- package/dist/chunks/{model-resolver-vx7qmf9g.js → instance-cqg0hr3x.js} +189 -189
- package/dist/chunks/{model-resolver-wphhsbqm.js → instance-crfvgcqx.js} +38 -38
- package/dist/chunks/{model-resolver-276bngqz.js → instance-crqsjnwy.js} +14 -14
- package/dist/chunks/{model-resolver-1sr5z03x.js → instance-d3svy0c6.js} +38 -38
- package/dist/chunks/{model-resolver-21jrmc9g.js → instance-de4tk2kz.js} +16 -16
- package/dist/chunks/{model-resolver-e9azs9n6.js → instance-dph5h907.js} +9 -9
- package/dist/chunks/{model-resolver-vrcgr47b.js → instance-dpk9s60g.js} +4 -4
- package/dist/chunks/{model-resolver-y71avatq.js → instance-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-n6r6gr2k.js → instance-dpwn1cem.js} +11 -11
- package/dist/chunks/{model-resolver-apj3cz87.js → instance-dqrdxvr6.js} +19 -19
- package/dist/chunks/{model-resolver-dqxsqydv.js → instance-dqxsqydv.js} +1 -1
- package/dist/chunks/{model-resolver-xfkkasph.js → instance-drwq78ky.js} +4 -4
- package/dist/chunks/{model-resolver-y87z2683.js → instance-dx0ahrbs.js} +11 -11
- package/dist/chunks/{model-resolver-vqv75wwx.js → instance-e2s2rsf8.js} +11 -11
- package/dist/chunks/{model-resolver-5qd3pb7m.js → instance-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-7014qyn6.js → instance-e3t2rexw.js} +6 -6
- package/dist/chunks/{model-resolver-s57pv86b.js → instance-e3x9se89.js} +35 -35
- package/dist/chunks/{model-resolver-2zd7cxc8.js → instance-e55zmt9g.js} +14 -14
- package/dist/chunks/{model-resolver-80scg3y3.js → instance-eahhehpg.js} +4 -4
- package/dist/chunks/{model-resolver-5y2nakwc.js → instance-ecb995cy.js} +22 -22
- package/dist/chunks/{model-resolver-r24h05zg.js → instance-eebbcbg0.js} +25 -25
- package/dist/chunks/{model-resolver-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
- package/dist/chunks/{model-resolver-tbxprhjc.js → instance-eewvv2kc.js} +54 -54
- package/dist/chunks/{model-resolver-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-r05rzvq1.js → instance-em38mb3z.js} +50 -50
- package/dist/chunks/{model-resolver-es1vcfrp.js → instance-es1vcfrp.js} +3 -3
- package/dist/chunks/{model-resolver-yyc693px.js → instance-etkznbs4.js} +33 -33
- package/dist/chunks/{model-resolver-ytye8eex.js → instance-f383z995.js} +28 -28
- package/dist/chunks/{model-resolver-v8hntyfk.js → instance-fbdvw7d5.js} +29 -29
- package/dist/chunks/{model-resolver-vxby77fw.js → instance-fgem0d3n.js} +8 -8
- package/dist/chunks/{model-resolver-7e1nrk9x.js → instance-fhe5w9ys.js} +19 -19
- package/dist/chunks/{model-resolver-ch7mpmes.js → instance-fnr33zha.js} +11 -11
- package/dist/chunks/{model-resolver-wh1hjrhc.js → instance-ftjfjc71.js} +20 -20
- package/dist/chunks/{model-resolver-khmqacep.js → instance-fxaymqdw.js} +4 -4
- package/dist/chunks/{model-resolver-gw3qbjtg.js → instance-fy4vjmwr.js} +23 -23
- package/dist/chunks/{model-resolver-73bangna.js → instance-g6s0yqyn.js} +15 -15
- package/dist/chunks/{model-resolver-ny62zz38.js → instance-g7by923y.js} +11 -11
- package/dist/chunks/{model-resolver-xd4yhhbd.js → instance-g8q5r6zk.js} +32 -32
- package/dist/chunks/{model-resolver-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-7haz9w5k.js → instance-gd8nhz58.js} +10 -10
- package/dist/chunks/{model-resolver-ft3hqk2c.js → instance-gjwgx2c5.js} +9 -9
- package/dist/chunks/{model-resolver-8hje7a9v.js → instance-gmxdk168.js} +27 -27
- package/dist/chunks/{model-resolver-12tpmng7.js → instance-gsd3cehb.js} +79 -79
- package/dist/chunks/{model-resolver-xpkszdg2.js → instance-gshs7jb6.js} +6 -6
- package/dist/chunks/{model-resolver-06x8he3q.js → instance-gst7axd9.js} +4 -4
- package/dist/chunks/{model-resolver-xpf8z4nb.js → instance-gsxqm9kc.js} +8 -8
- package/dist/chunks/{model-resolver-dy66nzqs.js → instance-gw7gqfev.js} +5 -5
- package/dist/chunks/{model-resolver-ntwdp302.js → instance-gwcmcykx.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-m93cgr6s.js → instance-h70qh0pf.js} +8 -8
- package/dist/chunks/{model-resolver-h7s7r6s9.js → instance-h7s7r6s9.js} +2 -2
- package/dist/chunks/{model-resolver-3g3fherm.js → instance-hd5px97x.js} +38 -38
- package/dist/chunks/{model-resolver-sm1cpy88.js → instance-hem2fds5.js} +16 -16
- package/dist/chunks/{model-resolver-1kswe1g3.js → instance-hf1csh9t.js} +49 -49
- package/dist/chunks/{model-resolver-01s1begh.js → instance-hg8dw4jf.js} +17 -17
- package/dist/chunks/{model-resolver-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
- package/dist/chunks/{model-resolver-2ryng5r3.js → instance-hqhp0zxs.js} +4 -4
- package/dist/chunks/{model-resolver-hz5abz9m.js → instance-ht9x2vd6.js} +11 -11
- package/dist/chunks/{model-resolver-h8v25wh0.js → instance-hyedsnzy.js} +23 -23
- package/dist/chunks/{model-resolver-axe3mf62.js → instance-hzrfc1p4.js} +3 -3
- package/dist/chunks/{model-resolver-pdtwfjed.js → instance-j2sv15a5.js} +4 -4
- package/dist/chunks/{model-resolver-4djhckew.js → instance-j3gj8bpw.js} +28 -28
- package/dist/chunks/{model-resolver-psde1en3.js → instance-j723vaq8.js} +1 -1
- package/dist/chunks/{model-resolver-4az1a8cs.js → instance-jp4d7tph.js} +6 -6
- package/dist/chunks/{model-resolver-0satj92y.js → instance-jx879jcj.js} +14 -14
- package/dist/chunks/{model-resolver-125fewv7.js → instance-k03wy1kc.js} +11 -11
- package/dist/chunks/{model-resolver-fvjzj6fm.js → instance-k1mw4f8e.js} +5 -5
- package/dist/chunks/instance-k2rh4x2t.js +253 -0
- package/dist/chunks/{model-resolver-hjn6f328.js → instance-k50tk4m1.js} +34 -34
- package/dist/chunks/{model-resolver-z2ce4t34.js → instance-kb7tk14c.js} +17 -17
- package/dist/chunks/{model-resolver-kdkn6452.js → instance-kb81nczd.js} +21 -21
- package/dist/chunks/{model-resolver-nnfex98a.js → instance-kbvqrc92.js} +16 -16
- package/dist/chunks/{model-resolver-9hfpa9m9.js → instance-kch01m1z.js} +28 -28
- package/dist/chunks/{model-resolver-vhxz3vg8.js → instance-kdqzryaz.js} +19 -19
- package/dist/chunks/{model-resolver-2qnat7dc.js → instance-kgm2m1rq.js} +14 -14
- package/dist/chunks/{model-resolver-5926cwpj.js → instance-kte28av3.js} +8 -8
- package/dist/chunks/instance-kwhtrawa.js +513 -0
- package/dist/chunks/{model-resolver-mejf7p9j.js → instance-m8f85jxc.js} +17 -17
- package/dist/chunks/{model-resolver-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → instance-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-ze7t1560.js → instance-mbyq8427.js} +43 -43
- package/dist/chunks/{model-resolver-0rf3mqqe.js → instance-mf3tt33a.js} +18 -18
- package/dist/chunks/{model-resolver-vb82663b.js → instance-mfhppze3.js} +20 -20
- package/dist/chunks/{model-resolver-addxnjmp.js → instance-mxvxcxwy.js} +4 -4
- package/dist/chunks/{model-resolver-v8cmy866.js → instance-ng3918dk.js} +8 -8
- package/dist/chunks/{model-resolver-e80seqcp.js → instance-nma959mg.js} +3 -3
- package/dist/chunks/{model-resolver-et8wf2kw.js → instance-nqbn7kgw.js} +23 -23
- package/dist/chunks/{model-resolver-g0445xdp.js → instance-p37cw4rj.js} +8 -8
- package/dist/chunks/{model-resolver-69nevm9g.js → instance-p4n2vzg9.js} +97 -97
- package/dist/chunks/{model-resolver-q2g3ps59.js → instance-p8kjk1y4.js} +59 -59
- package/dist/chunks/{model-resolver-f14hekp8.js → instance-pe0vaf1g.js} +9 -9
- package/dist/chunks/{model-resolver-yxxmeqn1.js → instance-pgxhr7ry.js} +9 -9
- package/dist/chunks/{model-resolver-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-kk3mpyge.js → instance-pq5v3pd8.js} +25 -25
- package/dist/chunks/{model-resolver-7e6b2cwb.js → instance-pzca2xdh.js} +33 -33
- package/dist/chunks/{model-resolver-qeafh5k3.js → instance-q1tvsmm7.js} +11 -11
- package/dist/chunks/{model-resolver-p4613v5m.js → instance-q2she582.js} +5 -5
- package/dist/chunks/{model-resolver-bhhmns0g.js → instance-q4zwmxcv.js} +51 -51
- package/dist/chunks/{model-resolver-erdcs917.js → instance-q7tf21sk.js} +9 -9
- package/dist/chunks/{model-resolver-wrkpgzm9.js → instance-qcqzn796.js} +32 -32
- package/dist/chunks/{model-resolver-zaatn0x7.js → instance-qepgs3zw.js} +10 -10
- package/dist/chunks/{model-resolver-hyym503s.js → instance-qfrb8da6.js} +15 -15
- package/dist/chunks/{model-resolver-qgn6gcr1.js → instance-qgn6gcr1.js} +1 -1
- package/dist/chunks/{model-resolver-k18ytf7m.js → instance-qh8vdwx1.js} +8 -8
- package/dist/chunks/{model-resolver-zk8b9ssq.js → instance-qhxakm09.js} +15 -15
- package/dist/chunks/{model-resolver-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{model-resolver-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-gwwgnv03.js → instance-r0yd71pn.js} +19 -19
- package/dist/chunks/{model-resolver-pjsqfx9m.js → instance-r3pqm3re.js} +9 -9
- package/dist/chunks/{model-resolver-kf8jqwvn.js → instance-r8wj9nz9.js} +45 -45
- package/dist/chunks/{model-resolver-w8t2jk6x.js → instance-r9dk3pzz.js} +13 -13
- package/dist/chunks/{model-resolver-k03dsn1k.js → instance-rbrz49bg.js} +22 -22
- package/dist/chunks/{model-resolver-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-g828bkxh.js → instance-rhms214n.js} +8 -8
- package/dist/chunks/{model-resolver-d9wzmzc3.js → instance-rkdvqggb.js} +5 -5
- package/dist/chunks/{model-resolver-8sze2n9a.js → instance-rkprpv83.js} +6 -6
- package/dist/chunks/{model-resolver-xdrp1hb6.js → instance-rpwdzjd4.js} +14 -14
- package/dist/chunks/{model-resolver-2y74b1pt.js → instance-rq46pevd.js} +36 -36
- package/dist/chunks/{model-resolver-bsagyafn.js → instance-rxdppyvx.js} +8 -8
- package/dist/chunks/{model-resolver-09rrpfny.js → instance-s5rmf723.js} +32 -32
- package/dist/chunks/{model-resolver-bwd9ews5.js → instance-sgnkj29h.js} +13 -13
- package/dist/chunks/{model-resolver-ef5bn39a.js → instance-skv3wcb4.js} +36 -36
- package/dist/chunks/{model-resolver-syv4x271.js → instance-syv4x271.js} +1 -1
- package/dist/chunks/{model-resolver-t5345zfw.js → instance-t1zbhmnh.js} +4 -4
- package/dist/chunks/{model-resolver-rhjbct0v.js → instance-t550f9t1.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-1z02ee6a.js → instance-tdpmrm31.js} +32 -32
- package/dist/chunks/{model-resolver-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-tkb22qbm.js → instance-tkb22qbm.js} +2 -2
- package/dist/chunks/{model-resolver-tm0kqsz3.js → instance-tm0kqsz3.js} +1 -1
- package/dist/chunks/{model-resolver-tyytaxap.js → instance-tyytaxap.js} +1 -1
- package/dist/chunks/{model-resolver-v0es1rhs.js → instance-v0es1rhs.js} +2 -2
- package/dist/chunks/{model-resolver-8c3hmt3w.js → instance-v31sjffe.js} +22 -22
- package/dist/chunks/{model-resolver-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
- package/dist/chunks/{model-resolver-yahdewcc.js → instance-vc3pnw0r.js} +33 -33
- package/dist/chunks/{model-resolver-pj45xpz4.js → instance-vc9djmmy.js} +3 -3
- package/dist/chunks/{model-resolver-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-9y9sk2j9.js → instance-vjjaysxc.js} +2 -2
- package/dist/chunks/{model-resolver-e5xwx9q2.js → instance-vytvxkvy.js} +1 -1
- package/dist/chunks/{model-resolver-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-dssbfrwz.js → instance-w2h15q85.js} +5 -5
- package/dist/chunks/{model-resolver-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-1fsm553b.js → instance-w8rbtm3j.js} +16 -16
- package/dist/chunks/{model-resolver-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-jyrkv4gc.js → instance-whjf4gy9.js} +1 -1
- package/dist/chunks/{model-resolver-k1qskgm1.js → instance-wmmcjnbx.js} +28 -28
- package/dist/chunks/{model-resolver-nq9f5nkx.js → instance-wn3t7bpb.js} +5 -5
- package/dist/chunks/{model-resolver-26tsy11a.js → instance-wqzzjrnt.js} +15 -15
- package/dist/chunks/{model-resolver-5nns0kdt.js → instance-wyebs044.js} +27 -27
- package/dist/chunks/{model-resolver-k64pj0tg.js → instance-x2h9ec76.js} +24 -24
- package/dist/chunks/{model-resolver-7j0h8tbw.js → instance-x36jn30v.js} +20 -20
- package/dist/chunks/{model-resolver-vtt0yr3x.js → instance-x5h44zm2.js} +8 -8
- package/dist/chunks/{model-resolver-6r5rwgtp.js → instance-xatakwe1.js} +13 -13
- package/dist/chunks/{model-resolver-fhr47e0j.js → instance-xnb6dcjs.js} +45 -45
- package/dist/chunks/{model-resolver-3ggd8s46.js → instance-xt3y6wcz.js} +5 -5
- package/dist/chunks/{model-resolver-hba5qx00.js → instance-xzfz3f2s.js} +15 -15
- package/dist/chunks/{model-resolver-5jc797f7.js → instance-y0afz0bn.js} +22 -22
- package/dist/chunks/{model-resolver-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-k1d2vept.js → instance-y81ryenr.js} +33 -33
- package/dist/chunks/{model-resolver-076tdj8j.js → instance-yjbszvmy.js} +14 -14
- package/dist/chunks/{model-resolver-n61013np.js → instance-ynmknp8q.js} +11 -11
- package/dist/chunks/{model-resolver-dx3sr3as.js → instance-ynt1sdzt.js} +47 -47
- package/dist/chunks/{model-resolver-yp2x3t23.js → instance-yp2x3t23.js} +1 -1
- package/dist/chunks/{model-resolver-31v9pj2m.js → instance-yp7qphem.js} +11 -11
- package/dist/chunks/{model-resolver-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-nhd34jsd.js → instance-z2yekhz7.js} +13 -13
- package/dist/chunks/{model-resolver-7a3t7few.js → instance-z5pd7bnx.js} +31 -31
- package/dist/chunks/{model-resolver-fqn434s7.js → instance-zgnxgcd3.js} +9 -9
- package/dist/chunks/{model-resolver-5x4mgjyy.js → instance-zmzkayzc.js} +26 -26
- package/dist/chunks/{model-resolver-jdqskayt.js → instance-zn53zvnm.js} +32 -32
- package/dist/chunks/{model-resolver-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- 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 +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- 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 +139 -139
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +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 +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +87 -87
- 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 +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +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 +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +97 -97
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- 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 +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +5 -5
- 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 +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +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 +120 -120
- 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 +125 -125
- 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 +346 -346
- 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 +8 -8
- 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 +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +93 -93
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +166 -166
- 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 +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +116 -116
- 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 +1 -1
- 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 +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- 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 → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-pyv0edze.js → instance-pyv0edze.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-1359n4t6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./instance-de4tk2kz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID14,
|
|
9
|
+
Event18,
|
|
10
|
+
Service68
|
|
11
|
+
} from "./instance-6hysr14g.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-mxvxcxwy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9wqt6yc5.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID11,
|
|
24
|
+
Service65
|
|
25
|
+
} from "./instance-pzca2xdh.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID10
|
|
28
|
+
} from "./instance-etkznbs4.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-e3t2rexw.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make6(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service81;
|
|
76
|
+
const credentials = yield* Service68;
|
|
77
|
+
const providers = yield* Service65;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make4(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID11.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID11.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make4(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID11.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make4(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make4(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID11.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make4(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make4(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make4(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID11.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make4(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make4(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID11.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID11.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make4(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID11.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make4(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID11.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID11.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make4(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID11.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make6();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID10.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID10.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make6, AzurePlugin2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service60
|
|
4
|
+
} from "./instance-q4zwmxcv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service63
|
|
7
|
+
} from "./instance-dx0ahrbs.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin23
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin23 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service60;
|
|
27
|
+
const output = yield* Service63;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin17 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin23, exports_tool_output };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./instance-q4zwmxcv.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service18,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-3g642jy4.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin32
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin32 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service60;
|
|
34
|
+
const managed = yield* Service18;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin4 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin32, exports_policy };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./instance-dpwn1cem.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-dpkg50ah.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node79
|
|
18
|
+
} from "./instance-qh8vdwx1.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID15,
|
|
31
|
+
Info: () => Info25,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service75,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured10,
|
|
36
|
+
node: () => node78
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID15 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info25 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID15,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info15 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID15,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service75 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service75,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node86, node79]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service82).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info25({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service75.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID15.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node78 = configured10();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID15, Info25, NotFound2, CreateConflict2, Service75, configured10, node78, exports_workspace };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-1359n4t6.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin4,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin4 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin24 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin24 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint2, Plugin4, exports_tinyfish };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./instance-de4tk2kz.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-xzfz3f2s.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service19,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured3,
|
|
26
|
+
layer: () => layer11,
|
|
27
|
+
node: () => node22
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,7 +36,7 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options3 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,15 +46,15 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service19 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service81;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service19.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service20, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
266
|
-
deps: [
|
|
262
|
+
var layer11 = makeLayer();
|
|
263
|
+
var configured3 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service19,
|
|
265
|
+
layer: options === undefined ? layer11 : makeLayer(options),
|
|
266
|
+
deps: [node85, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node22 = configured3();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError2, NotFoundError2, Service19, layer11, configured3, node22, exports_persistent_pty, Handoff2, available2 };
|