@opencode/core 0.0.0-dev-21766 → 0.0.0-dev-21768
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 +84 -84
- package/dist/aisdk-native.js +93 -93
- package/dist/aisdk.js +99 -99
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{permission-jmj87t5x.js → snapshot-07zxw3m2.js} +33 -33
- package/dist/chunks/{permission-y675mgbt.js → snapshot-0afx89r7.js} +16 -16
- package/dist/chunks/{permission-jk7hevqg.js → snapshot-0jx32ymp.js} +8 -8
- package/dist/chunks/{permission-rcafeyqq.js → snapshot-0ks2n9jf.js} +6 -6
- package/dist/chunks/{permission-sm4c1x94.js → snapshot-0mknfzxa.js} +32 -32
- package/dist/chunks/{permission-enhyphf2.js → snapshot-0mqb07fh.js} +14 -14
- package/dist/chunks/{permission-r7w777gv.js → snapshot-0q5k0gn3.js} +7 -7
- package/dist/chunks/{permission-8bc2ahr8.js → snapshot-0ss1ygn7.js} +3 -3
- package/dist/chunks/{permission-32gjgys1.js → snapshot-0tqn2axw.js} +13 -13
- package/dist/chunks/{permission-tqx9c315.js → snapshot-160yv0cs.js} +8 -8
- package/dist/chunks/{permission-fzz5zz5z.js → snapshot-161ma9d9.js} +29 -29
- package/dist/chunks/{permission-v6d0ythm.js → snapshot-1pxy83dc.js} +20 -20
- package/dist/chunks/{permission-1vdntpm3.js → snapshot-1vdntpm3.js} +2 -2
- package/dist/chunks/{permission-jvpcx1pk.js → snapshot-1vmrpj2e.js} +2 -2
- package/dist/chunks/{permission-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{permission-p7vhpwh8.js → snapshot-1yq9hg58.js} +5 -5
- package/dist/chunks/{permission-27w5k9zf.js → snapshot-27w5k9zf.js} +2 -2
- package/dist/chunks/snapshot-2chvth3d.js +26 -0
- package/dist/chunks/{permission-2swymarp.js → snapshot-2nrtgzx4.js} +5 -5
- package/dist/chunks/{permission-xa2ze7bq.js → snapshot-2qskh4pz.js} +65 -65
- package/dist/chunks/{permission-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
- package/dist/chunks/{permission-q2f83yb9.js → snapshot-2zgywwsc.js} +21 -21
- package/dist/chunks/{permission-6c5cd6ez.js → snapshot-32s59e8p.js} +9 -9
- package/dist/chunks/{permission-4nppdsgz.js → snapshot-3783nsyn.js} +45 -45
- package/dist/chunks/{permission-r69swknb.js → snapshot-3b9ys5we.js} +7 -7
- package/dist/chunks/{permission-3cbjf1nt.js → snapshot-3cbjf1nt.js} +2 -2
- package/dist/chunks/{permission-90ve74zf.js → snapshot-3favxqg0.js} +14 -14
- package/dist/chunks/{permission-cq7by30v.js → snapshot-3gkrqpaa.js} +9 -9
- package/dist/chunks/{permission-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-8jztxfpf.js → snapshot-3nfpgkj0.js} +4 -4
- package/dist/chunks/{permission-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{permission-c0hqkz08.js → snapshot-3t7xf6wx.js} +15 -15
- package/dist/chunks/{permission-43sjr1b2.js → snapshot-3tgdgf4b.js} +25 -25
- package/dist/chunks/{permission-s7em0qwf.js → snapshot-3zvnpf2b.js} +12 -12
- package/dist/chunks/{permission-h4cae0zk.js → snapshot-478wn43b.js} +24 -24
- package/dist/chunks/{permission-vx3jgdek.js → snapshot-48kw51zw.js} +3 -3
- package/dist/chunks/{permission-528sb9yh.js → snapshot-4bwthz3m.js} +6 -6
- package/dist/chunks/{permission-5te7j19s.js → snapshot-4dfrgdyk.js} +11 -11
- package/dist/chunks/{permission-ghx4x00j.js → snapshot-4p58h6jm.js} +10 -10
- package/dist/chunks/{permission-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{permission-gx0r2313.js → snapshot-4x5ne6q5.js} +6 -6
- package/dist/chunks/{permission-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
- package/dist/chunks/{permission-3dh8zmkh.js → snapshot-4xx69gcw.js} +31 -31
- package/dist/chunks/{permission-tymb5xf6.js → snapshot-4zqx17cs.js} +4 -4
- package/dist/chunks/{permission-a0c8dj3m.js → snapshot-554c643k.js} +16 -16
- package/dist/chunks/{permission-x52c9ak8.js → snapshot-59me87h3.js} +15 -15
- package/dist/chunks/{permission-xn7q1brr.js → snapshot-5bs3z6bh.js} +36 -36
- package/dist/chunks/{permission-t4bzk2t3.js → snapshot-5dz07wyn.js} +24 -24
- package/dist/chunks/{permission-0xzvhmf5.js → snapshot-5fmag65v.js} +9 -9
- package/dist/chunks/{permission-k1pgm6bc.js → snapshot-5jkk73vw.js} +21 -21
- package/dist/chunks/{permission-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{permission-h3fr9zf7.js → snapshot-5tcfg9sy.js} +14 -14
- package/dist/chunks/{permission-gjcv5kr6.js → snapshot-632f3s68.js} +5 -5
- package/dist/chunks/{permission-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{permission-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
- package/dist/chunks/{permission-0ka1gkcn.js → snapshot-6qfg9wn6.js} +9 -9
- package/dist/chunks/{permission-tq3dg7ma.js → snapshot-6racwe75.js} +18 -18
- package/dist/chunks/{permission-snsx0cja.js → snapshot-6s0qp0k1.js} +13 -13
- package/dist/chunks/{permission-mxsrrevq.js → snapshot-6s3kc1tw.js} +6 -6
- package/dist/chunks/{permission-5jr1q0hq.js → snapshot-7193gb3b.js} +5 -5
- package/dist/chunks/{permission-q769nt99.js → snapshot-74yqxf1n.js} +10 -10
- package/dist/chunks/{permission-14xynbvh.js → snapshot-7656gdbc.js} +11 -11
- package/dist/chunks/{permission-nah043kf.js → snapshot-770pw0s1.js} +4 -4
- package/dist/chunks/{permission-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-41szc818.js → snapshot-7f2cmxte.js} +8 -8
- package/dist/chunks/{permission-ftez0bzj.js → snapshot-7h9ebnn9.js} +33 -33
- package/dist/chunks/{permission-dgp185g3.js → snapshot-7rp7gb9w.js} +5 -5
- package/dist/chunks/{permission-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{permission-mpzs39f1.js → snapshot-7ym71xjb.js} +17 -17
- package/dist/chunks/{permission-1bm61gg7.js → snapshot-84jtdjdd.js} +7 -7
- package/dist/chunks/{permission-g9g986e6.js → snapshot-8evycx1g.js} +15 -15
- package/dist/chunks/{permission-03n9efb9.js → snapshot-8p0yah29.js} +21 -21
- package/dist/chunks/{permission-fbvsrbmx.js → snapshot-8qs5em9k.js} +3 -3
- package/dist/chunks/{permission-8r6n0qax.js → snapshot-8r6n0qax.js} +1 -1
- package/dist/chunks/{permission-cbamtf6p.js → snapshot-8rdjrrqn.js} +8 -8
- package/dist/chunks/{permission-n7hjn7r4.js → snapshot-8w8z7rxz.js} +14 -14
- package/dist/chunks/{permission-z6trhz95.js → snapshot-8wkh25h8.js} +8 -8
- package/dist/chunks/{permission-t13wfvq2.js → snapshot-8wt0jx50.js} +11 -11
- package/dist/chunks/{permission-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{permission-8nn8q8ya.js → snapshot-918127jg.js} +4 -4
- package/dist/chunks/{permission-91rj84md.js → snapshot-91rj84md.js} +1 -1
- package/dist/chunks/{permission-fqmpnb38.js → snapshot-9437wt4d.js} +8 -8
- package/dist/chunks/{permission-8ev1pcqt.js → snapshot-9a56t16a.js} +11 -11
- package/dist/chunks/{permission-jbmcr5ex.js → snapshot-9r6p4a7y.js} +13 -13
- package/dist/chunks/{permission-z67e6gz6.js → snapshot-9rvt699m.js} +5 -5
- package/dist/chunks/{permission-m267mwgt.js → snapshot-9whsknsx.js} +48 -48
- package/dist/chunks/{permission-69d1f4s7.js → snapshot-a06fcy8f.js} +42 -42
- package/dist/chunks/{permission-7gcdvpbf.js → snapshot-a0ytzaqj.js} +11 -11
- package/dist/chunks/{permission-yy9yh1zy.js → snapshot-a6ads23x.js} +8 -8
- package/dist/chunks/{permission-s7xmnr8t.js → snapshot-agqd6nxz.js} +6 -6
- package/dist/chunks/{permission-aj7mw0zk.js → snapshot-aj7mw0zk.js} +2 -2
- package/dist/chunks/{permission-v2b693qt.js → snapshot-ap337mx5.js} +8 -8
- package/dist/chunks/{permission-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
- package/dist/chunks/{permission-5ype5bmx.js → snapshot-b1wg801n.js} +26 -26
- package/dist/chunks/{permission-n6v2b7cw.js → snapshot-b50rsrab.js} +5 -5
- package/dist/chunks/{permission-vsx7eeky.js → snapshot-b55dtq98.js} +9 -9
- package/dist/chunks/{permission-nk2sjyfv.js → snapshot-b8n432y4.js} +13 -13
- package/dist/chunks/{permission-6pc4peze.js → snapshot-bdb3z5a5.js} +13 -13
- package/dist/chunks/{permission-3wmd3xk6.js → snapshot-bfn6rm7j.js} +19 -19
- package/dist/chunks/{permission-8k9n2spd.js → snapshot-c1na6ymh.js} +55 -55
- package/dist/chunks/{permission-c3cfh5w6.js → snapshot-c3cfh5w6.js} +2 -2
- package/dist/chunks/{permission-gfhhve88.js → snapshot-c5c0bz0t.js} +5 -5
- package/dist/chunks/{permission-d2887f8n.js → snapshot-c9t2ty9q.js} +4 -4
- package/dist/chunks/{permission-sdqp0xfa.js → snapshot-ca57szg8.js} +32 -32
- package/dist/chunks/{permission-skw7q37m.js → snapshot-cfn4qz40.js} +3 -3
- package/dist/chunks/{permission-8121rmyq.js → snapshot-ct8g3krm.js} +6 -6
- package/dist/chunks/{permission-vdbayb4h.js → snapshot-d2adx8zd.js} +13 -13
- package/dist/chunks/{permission-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{permission-2byp1bbs.js → snapshot-dbtpmnnk.js} +3 -3
- package/dist/chunks/{permission-t570q56v.js → snapshot-dbtvxfav.js} +6 -6
- package/dist/chunks/{permission-ecth324g.js → snapshot-dhbr53va.js} +32 -32
- package/dist/chunks/{permission-eaa34xne.js → snapshot-djhjvjkg.js} +12 -12
- package/dist/chunks/snapshot-djx9kma8.js +257 -0
- package/dist/chunks/{permission-7g2xps5p.js → snapshot-dp1xx99d.js} +28 -28
- package/dist/chunks/{permission-y7vr1s74.js → snapshot-dqepbaw5.js} +3 -3
- package/dist/chunks/{permission-dz05vhzg.js → snapshot-dqxkzd40.js} +34 -34
- package/dist/chunks/{permission-zkk4n221.js → snapshot-dsh5f6xc.js} +4 -4
- package/dist/chunks/{permission-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{permission-mbjpx0np.js → snapshot-efrfrvhc.js} +11 -11
- package/dist/chunks/{permission-tqmggthj.js → snapshot-ek03k2mw.js} +49 -49
- package/dist/chunks/{permission-qzvgkevg.js → snapshot-emdcpk1s.js} +13 -13
- package/dist/chunks/{permission-a9amtbqx.js → snapshot-erqmr9xw.js} +23 -23
- package/dist/chunks/{permission-ybp7c88y.js → snapshot-esgnsm48.js} +6 -6
- package/dist/chunks/{permission-0qdb4qx7.js → snapshot-eyf085y9.js} +19 -19
- package/dist/chunks/{permission-svn7wfdq.js → snapshot-f5xfaq7p.js} +23 -23
- package/dist/chunks/{permission-9svqw8wv.js → snapshot-f7g8c4vr.js} +26 -26
- package/dist/chunks/{permission-97rgqhmb.js → snapshot-f92mf0c3.js} +5 -5
- package/dist/chunks/{permission-744jqgcr.js → snapshot-f99q6c7d.js} +7 -7
- package/dist/chunks/{permission-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{permission-wv2d331h.js → snapshot-ffg477kt.js} +28 -28
- package/dist/chunks/{permission-e8qbhhd6.js → snapshot-fkej6bfb.js} +24 -24
- package/dist/chunks/{permission-znwsaved.js → snapshot-fnacy21v.js} +9 -9
- package/dist/chunks/{permission-xp4jw4y5.js → snapshot-frasnx5s.js} +15 -15
- package/dist/chunks/{permission-5kpv6bv6.js → snapshot-frqypeq5.js} +11 -11
- package/dist/chunks/{permission-wxkh6awy.js → snapshot-fwsg17hw.js} +17 -17
- package/dist/chunks/{permission-fy5bjxgv.js → snapshot-fy5bjxgv.js} +3 -3
- package/dist/chunks/{permission-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
- package/dist/chunks/{permission-ke47nnjg.js → snapshot-gmekvemz.js} +7 -7
- package/dist/chunks/{permission-0x62py7n.js → snapshot-gmfp6b6n.js} +4 -4
- package/dist/chunks/{permission-d8djdtam.js → snapshot-gng52mc6.js} +17 -17
- package/dist/chunks/{permission-a80vb804.js → snapshot-gwbj699h.js} +45 -45
- package/dist/chunks/{permission-1hhmrc80.js → snapshot-gyxnj4a1.js} +6 -6
- package/dist/chunks/{permission-g42b6ca9.js → snapshot-h0rg6s60.js} +4 -4
- package/dist/chunks/{permission-09mz6s4f.js → snapshot-h3hsakfm.js} +15 -15
- package/dist/chunks/{permission-30sbr6dy.js → snapshot-hec7qnqj.js} +30 -30
- package/dist/chunks/{permission-eyjcya81.js → snapshot-hhtjdena.js} +14 -14
- package/dist/chunks/{permission-gb716r4q.js → snapshot-hnygc6fd.js} +17 -17
- package/dist/chunks/{permission-0g9cr2sh.js → snapshot-hr369vr2.js} +11 -11
- package/dist/chunks/{permission-j113cymg.js → snapshot-j113cymg.js} +1 -1
- package/dist/chunks/{permission-j4p8f842.js → snapshot-j3vp7afh.js} +16 -16
- package/dist/chunks/{permission-2581gwpz.js → snapshot-jb8nybd6.js} +183 -183
- package/dist/chunks/{permission-rmxbssqh.js → snapshot-jdrspvzz.js} +21 -21
- package/dist/chunks/{permission-sj4evxc4.js → snapshot-jdt45pkr.js} +39 -39
- package/dist/chunks/{permission-hzdp6dma.js → snapshot-jh79xrzs.js} +29 -29
- package/dist/chunks/{permission-ggp1yva8.js → snapshot-jj9caqwr.js} +8 -8
- package/dist/chunks/{permission-n0yzfsk5.js → snapshot-jw8a3tk7.js} +43 -43
- package/dist/chunks/snapshot-jxxfxajf.js +517 -0
- package/dist/chunks/{permission-ra5t5npp.js → snapshot-k2fsx1xy.js} +16 -16
- package/dist/chunks/{permission-dhc1dyw0.js → snapshot-k61v1qy1.js} +26 -26
- package/dist/chunks/{permission-e8q5qghg.js → snapshot-k7509am1.js} +11 -11
- package/dist/chunks/{permission-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
- package/dist/chunks/{permission-09t4s2m2.js → snapshot-kptvbxr8.js} +10 -10
- package/dist/chunks/{permission-rjnacbrz.js → snapshot-kqd6y5bm.js} +9 -9
- package/dist/chunks/{permission-r0h30c33.js → snapshot-ktzyfvz3.js} +51 -51
- package/dist/chunks/{permission-16092vg1.js → snapshot-kwx7hjqx.js} +30 -30
- package/dist/chunks/{permission-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{permission-apwp4d5n.js → snapshot-m2gmtjby.js} +31 -31
- package/dist/chunks/{permission-vmfhgzt5.js → snapshot-m37sd98t.js} +4 -4
- package/dist/chunks/{permission-n2af91w0.js → snapshot-m42exb13.js} +14 -14
- package/dist/chunks/{permission-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-cs87y13h.js → snapshot-m9xapfg3.js} +8 -8
- package/dist/chunks/{permission-mp06z90d.js → snapshot-ma30nhqm.js} +33 -33
- package/dist/chunks/{permission-zanvyrte.js → snapshot-mae97aqp.js} +22 -22
- package/dist/chunks/{permission-qpmwbwmv.js → snapshot-mag6tw2x.js} +18 -18
- package/dist/chunks/{permission-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
- package/dist/chunks/{permission-5z56mm52.js → snapshot-mdf86mky.js} +11 -11
- package/dist/chunks/{permission-7swxhphy.js → snapshot-me9mw9zy.js} +4 -4
- package/dist/chunks/{permission-hx3mz2q2.js → snapshot-mj1vn29f.js} +7 -7
- package/dist/chunks/{permission-kjgnzevm.js → snapshot-mjcjq7n6.js} +9 -9
- package/dist/chunks/{permission-0nms2qp0.js → snapshot-mprydjd2.js} +10 -10
- package/dist/chunks/{permission-a5gaqwdf.js → snapshot-mtvest2f.js} +19 -19
- package/dist/chunks/{permission-tdxvg47d.js → snapshot-mw9adcng.js} +20 -20
- package/dist/chunks/{permission-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
- package/dist/chunks/{permission-4rjytyrk.js → snapshot-n1vgbqet.js} +17 -17
- package/dist/chunks/{permission-yftvbgzz.js → snapshot-nbe9sb46.js} +11 -11
- package/dist/chunks/{permission-p60bwf1h.js → snapshot-nfcfs4v2.js} +16 -16
- package/dist/chunks/{permission-5ajzt9ef.js → snapshot-nse1zspn.js} +14 -14
- package/dist/chunks/{permission-me9kfqep.js → snapshot-nw01bwqe.js} +1 -1
- package/dist/chunks/{permission-dsz7b9j6.js → snapshot-nwrg9pc7.js} +25 -25
- package/dist/chunks/{permission-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{permission-qqg9c0kv.js → snapshot-p0tsr9h6.js} +4 -4
- package/dist/chunks/{permission-3w2x3yb2.js → snapshot-pakkxr1m.js} +47 -47
- package/dist/chunks/{permission-1mwrdcy5.js → snapshot-pc6sxnpy.js} +13 -13
- package/dist/chunks/{permission-asp4xccn.js → snapshot-pcjc0zbx.js} +88 -88
- package/dist/chunks/{permission-2359br75.js → snapshot-pd5nnvfb.js} +48 -48
- package/dist/chunks/{permission-hjmrrv4f.js → snapshot-pdpcsrtk.js} +9 -9
- package/dist/chunks/{permission-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{permission-prazahgm.js → snapshot-prazahgm.js} +2 -2
- package/dist/chunks/{permission-bhgat8tz.js → snapshot-psxjadar.js} +10 -10
- package/dist/chunks/{permission-xqpqzm8x.js → snapshot-pz2xf62m.js} +43 -43
- package/dist/chunks/{permission-xd40anc5.js → snapshot-q220t63m.js} +5 -5
- package/dist/chunks/{permission-ptyeht8t.js → snapshot-qbn6ccz0.js} +18 -18
- package/dist/chunks/{permission-3gq665ac.js → snapshot-qbx5df9y.js} +31 -31
- package/dist/chunks/{permission-6nfyse4v.js → snapshot-qe4aeyz4.js} +20 -20
- package/dist/chunks/snapshot-qmh7vbk2.js +18 -0
- package/dist/chunks/{permission-qq1gk6q7.js → snapshot-qqmk40fq.js} +27 -27
- package/dist/chunks/{permission-k3axmsde.js → snapshot-qsesa4qj.js} +28 -28
- package/dist/chunks/{permission-bgyya4rm.js → snapshot-qtscts2y.js} +8 -8
- package/dist/chunks/{permission-5f8n8t68.js → snapshot-qyhc4eyf.js} +6 -6
- package/dist/chunks/{permission-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
- package/dist/chunks/{permission-q7vfsg8b.js → snapshot-r4nkww26.js} +2 -2
- package/dist/chunks/{permission-c3v55vft.js → snapshot-r9xj5tzw.js} +20 -20
- package/dist/chunks/{permission-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{permission-e5bv1yww.js → snapshot-rbtdbek8.js} +11 -11
- package/dist/chunks/{permission-197myh5x.js → snapshot-rhm0ky60.js} +21 -21
- package/dist/chunks/{permission-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{permission-bjhzkqyk.js → snapshot-rwp901jg.js} +4 -4
- package/dist/chunks/{permission-7vsr2w3s.js → snapshot-s26mdd2t.js} +18 -18
- package/dist/chunks/{permission-0j3y27xq.js → snapshot-s5c25evq.js} +7 -7
- package/dist/chunks/{permission-t5ty5d2s.js → snapshot-s70bqh3x.js} +18 -18
- package/dist/chunks/{permission-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
- package/dist/chunks/{permission-n02bpmm4.js → snapshot-sfcybhq1.js} +19 -19
- package/dist/chunks/{permission-5gym8c9b.js → snapshot-sna83kbb.js} +30 -30
- package/dist/chunks/{permission-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
- package/dist/chunks/{permission-3dn2cyqc.js → snapshot-sqvjjq52.js} +35 -35
- package/dist/chunks/{permission-br6yzqr4.js → snapshot-st099mnc.js} +20 -20
- package/dist/chunks/{permission-gpp15vhx.js → snapshot-swa2cp8j.js} +21 -21
- package/dist/chunks/{permission-symj62a2.js → snapshot-t5w1645e.js} +13 -13
- package/dist/chunks/{permission-s43cc7h0.js → snapshot-tbkt3wx3.js} +11 -11
- package/dist/chunks/{permission-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{permission-y4cfdzdp.js → snapshot-tprjhv81.js} +16 -16
- package/dist/chunks/{permission-kx4nqzdz.js → snapshot-trmmr9ep.js} +6 -6
- package/dist/chunks/{permission-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
- package/dist/chunks/{permission-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{permission-f5ca0fm6.js → snapshot-v7h4xrvh.js} +2 -2
- package/dist/chunks/{permission-b8ym2s5k.js → snapshot-v7smbder.js} +20 -20
- package/dist/chunks/{permission-x983mk0e.js → snapshot-vas1r7h6.js} +11 -11
- package/dist/chunks/{permission-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
- package/dist/chunks/{permission-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-aaa86029.js → snapshot-vgp1wa39.js} +16 -16
- package/dist/chunks/{permission-82x3frvs.js → snapshot-vwnxacd1.js} +12 -12
- package/dist/chunks/{permission-5qh9s196.js → snapshot-vwqhz761.js} +16 -16
- package/dist/chunks/{permission-5enarcya.js → snapshot-w2eysc6j.js} +6 -6
- package/dist/chunks/{permission-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-ger2fz86.js → snapshot-w6szjrsy.js} +19 -19
- package/dist/chunks/{permission-76cb1hcw.js → snapshot-w8qtt4th.js} +4 -4
- package/dist/chunks/{permission-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{permission-8ydfx9bj.js → snapshot-wbhrv0fr.js} +9 -9
- package/dist/chunks/{permission-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{permission-p86z8ahy.js → snapshot-wgr1c5ms.js} +3 -3
- package/dist/chunks/{permission-nm5zyhk5.js → snapshot-whn2866m.js} +11 -11
- package/dist/chunks/{permission-2j4fkc1b.js → snapshot-wk2qmfnq.js} +11 -11
- package/dist/chunks/{permission-nabqkv93.js → snapshot-wqh0bfav.js} +88 -88
- package/dist/chunks/{permission-87s5319w.js → snapshot-wqscedq8.js} +4 -4
- package/dist/chunks/{permission-wr3re1en.js → snapshot-wr3re1en.js} +1 -1
- package/dist/chunks/{permission-jnbfy4w9.js → snapshot-wz1vecj1.js} +18 -18
- package/dist/chunks/{permission-t8cckxrc.js → snapshot-x9vn6nqh.js} +33 -33
- package/dist/chunks/{permission-bstexjd6.js → snapshot-xd9cc171.js} +5 -5
- package/dist/chunks/{permission-d5e3bdq8.js → snapshot-xhmkx1jn.js} +18 -18
- package/dist/chunks/{permission-mxjmpq0b.js → snapshot-xm3gk7bk.js} +4 -4
- package/dist/chunks/{permission-2tq7vgg2.js → snapshot-xzbs9p6d.js} +22 -22
- package/dist/chunks/{permission-e5dqjz6v.js → snapshot-y2tacs4v.js} +6 -6
- package/dist/chunks/{permission-2v73kepm.js → snapshot-y7gd4w3h.js} +38 -38
- package/dist/chunks/{permission-shxxcw0f.js → snapshot-y953en34.js} +4 -4
- package/dist/chunks/{permission-s4dp262j.js → snapshot-y96gz3a5.js} +21 -21
- package/dist/chunks/{permission-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{permission-681h1bmw.js → snapshot-ydwpppea.js} +5 -5
- package/dist/chunks/{permission-vt3gssbk.js → snapshot-yev68cen.js} +15 -15
- package/dist/chunks/{permission-nfn65375.js → snapshot-yfm7n3f0.js} +26 -26
- package/dist/chunks/{permission-hwxbesr4.js → snapshot-yh2w88yz.js} +4 -4
- package/dist/chunks/{permission-vhejwn8r.js → snapshot-yqhvfk7a.js} +1 -1
- package/dist/chunks/{permission-sbt9jen9.js → snapshot-ywdc1z9p.js} +1 -1
- package/dist/chunks/{permission-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
- package/dist/chunks/{permission-a44gt5xs.js → snapshot-z41z05dk.js} +6 -6
- package/dist/chunks/{permission-wc9gvd2r.js → snapshot-z6gzjb8d.js} +11 -11
- package/dist/chunks/{permission-9byh443s.js → snapshot-zaapkpfq.js} +29 -29
- package/dist/chunks/{permission-stkknw48.js → snapshot-zgmrepvs.js} +4 -4
- package/dist/chunks/{permission-yp5213e7.js → snapshot-zgmx74c0.js} +13 -13
- package/dist/chunks/{permission-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
- package/dist/chunks/{permission-4pdmv2e4.js → snapshot-zy7n2dwb.js} +7 -7
- 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 +84 -84
- package/dist/config/discovery.js +88 -88
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +103 -103
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +213 -213
- 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 +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +117 -117
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +106 -106
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -88
- package/dist/database/database.js +75 -75
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +52 -52
- package/dist/database/migration.js +54 -54
- 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 +89 -89
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +99 -99
- 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 +75 -75
- package/dist/file-access.js +108 -108
- package/dist/file-mutation.js +98 -98
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- package/dist/generate.js +111 -111
- package/dist/git.js +9 -9
- 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 +95 -95
- 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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +81 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +158 -158
- package/dist/location-lifecycle.js +111 -111
- package/dist/location-service-map.js +90 -90
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -95
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +94 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +95 -95
- package/dist/model-resolver.js +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev.js +111 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- 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 +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +78 -78
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +100 -100
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +94 -94
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +117 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +97 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +99 -99
- package/dist/plugin/provider/gitlab.js +97 -97
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +81 -81
- package/dist/plugin/provider/lmstudio.js +124 -124
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +96 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai-context-caps.js +94 -94
- package/dist/plugin/provider/openai.js +119 -119
- package/dist/plugin/provider/opencode.js +102 -102
- package/dist/plugin/provider/openrouter.js +95 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +82 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +95 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +94 -94
- package/dist/plugin/provider/vllm.js +126 -126
- package/dist/plugin/provider/xai.js +95 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +90 -90
- package/dist/plugin/vcs/hg.js +90 -90
- package/dist/plugin/verbosity.js +97 -97
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +95 -95
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +90 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +77 -77
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +166 -166
- package/dist/session/diff.js +92 -92
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +132 -132
- package/dist/session/generate.js +168 -168
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +98 -98
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +82 -82
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +101 -101
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +124 -124
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +134 -134
- package/dist/session/projector.js +92 -92
- package/dist/session/prompt.js +109 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +98 -98
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +104 -104
- package/dist/session/runner/publish-llm-event.js +117 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +213 -213
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +164 -164
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +139 -139
- package/dist/tool/plugin/edit.js +124 -124
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +128 -128
- package/dist/tool/plugin/grep.js +128 -128
- package/dist/tool/plugin/mcp-resource.js +128 -128
- package/dist/tool/plugin/opencode.js +113 -113
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +129 -129
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +117 -117
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/todo.js +139 -139
- package/dist/tool/plugin/webfetch.js +117 -117
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +97 -97
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -93
- package/dist/voice.js +87 -87
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +79 -79
- package/dist/wellknown.js +84 -84
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -93
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/permission-00ve6mdn.js +0 -18
- package/dist/chunks/permission-1mjfgnnf.js +0 -26
- package/dist/chunks/permission-j74gacs7.js +0 -517
- package/dist/chunks/permission-ttn9ej1m.js +0 -257
- /package/dist/chunks/{permission-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a058387c.js → snapshot-a058387c.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-dbztejgq.js → snapshot-dbztejgq.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-c5c0bz0t.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9a56t16a.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-nbe9sb46.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./snapshot-ca57szg8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-m2gmtjby.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID6,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-qbx5df9y.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-dbtvxfav.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -49,7 +49,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
49
49
|
}));
|
|
50
50
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
51
51
|
var browser = (app) => ({
|
|
52
|
-
integrationID:
|
|
52
|
+
integrationID: ID7.make("openai"),
|
|
53
53
|
method: {
|
|
54
54
|
id: browserMethodID,
|
|
55
55
|
type: "oauth",
|
|
@@ -122,7 +122,7 @@ function addressInUse(error) {
|
|
|
122
122
|
return "code" in error && error.code === "EADDRINUSE";
|
|
123
123
|
}
|
|
124
124
|
var headless = (app) => ({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID7.make("openai"),
|
|
126
126
|
method: {
|
|
127
127
|
id: headlessMethodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var headless = (app) => ({
|
|
|
164
164
|
}),
|
|
165
165
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
166
166
|
});
|
|
167
|
-
var
|
|
167
|
+
var OpenAIPlugin2 = define({
|
|
168
168
|
id: "opencode.provider.openai",
|
|
169
169
|
effect: Effect.fn(function* (ctx) {
|
|
170
170
|
const bus = yield* Service85;
|
|
@@ -182,9 +182,9 @@ var OpenAIPlugin3 = define({
|
|
|
182
182
|
editor.method.update(headless(ctx.app));
|
|
183
183
|
});
|
|
184
184
|
yield* load();
|
|
185
|
-
const configured = yield* configuredSettings2(
|
|
185
|
+
const configured = yield* configuredSettings2(ID6.openai);
|
|
186
186
|
yield* ctx.provider.transform((providers) => {
|
|
187
|
-
const item = providers.get(
|
|
187
|
+
const item = providers.get(ID6.openai);
|
|
188
188
|
if (!item)
|
|
189
189
|
return;
|
|
190
190
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -204,7 +204,7 @@ var OpenAIPlugin3 = define({
|
|
|
204
204
|
});
|
|
205
205
|
});
|
|
206
206
|
yield* ctx.model.transform((models) => {
|
|
207
|
-
for (const model of models.list(
|
|
207
|
+
for (const model of models.list(ID6.openai)) {
|
|
208
208
|
models.update(model.providerID, model.id, (draft) => {
|
|
209
209
|
if (!chatgpt)
|
|
210
210
|
return;
|
|
@@ -234,14 +234,14 @@ var OpenAIPlugin3 = define({
|
|
|
234
234
|
}));
|
|
235
235
|
evt.headers.originator = "opencode";
|
|
236
236
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
237
|
-
}), { providerID:
|
|
237
|
+
}), { providerID: ID6.openai });
|
|
238
238
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
239
239
|
delete evt.options.maxTokens;
|
|
240
240
|
});
|
|
241
241
|
for (const name of ["context", "compaction"])
|
|
242
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
242
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID6.openai });
|
|
243
243
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
244
|
-
yield* bus.subscribe(
|
|
244
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
245
245
|
})
|
|
246
246
|
});
|
|
247
247
|
function headers(contentType, app) {
|
|
@@ -332,4 +332,4 @@ function claim(token) {
|
|
|
332
332
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-agqd6nxz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin50,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin50 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin31 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin50, exports_identity };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service75,
|
|
8
|
+
node77
|
|
9
|
+
} from "./snapshot-xzbs9p6d.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-qsesa4qj.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
22
22
|
__export(exports_read_filesystem, {
|
|
23
23
|
BinaryFileError: () => BinaryFileError2,
|
|
24
24
|
FileContent: () => FileContent2,
|
|
25
|
-
ListEntry: () =>
|
|
25
|
+
ListEntry: () => ListEntry3,
|
|
26
26
|
ListPage: () => ListPage2,
|
|
27
27
|
MAX_MEDIA_INGEST_BYTES: () => MAX_MEDIA_INGEST_BYTES2,
|
|
28
28
|
MAX_READ_BYTES: () => MAX_READ_BYTES2,
|
|
@@ -35,7 +35,7 @@ __export(exports_read_filesystem, {
|
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
36
|
Service: () => Service31,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node35,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -101,14 +101,14 @@ class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
|
101
101
|
next: Schema.optionalKey(PositiveInt2)
|
|
102
102
|
}) {
|
|
103
103
|
}
|
|
104
|
-
var
|
|
104
|
+
var ListEntry3 = Schema.Struct({
|
|
105
105
|
path: RelativePath2,
|
|
106
106
|
type: Schema.Literals(["file", "directory", "symlink"])
|
|
107
107
|
}).annotate({ identifier: "ReadTool.ListEntry" });
|
|
108
108
|
|
|
109
109
|
class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
110
110
|
type: Schema.Literal("list-page"),
|
|
111
|
-
entries: Schema.Array(
|
|
111
|
+
entries: Schema.Array(ListEntry3),
|
|
112
112
|
truncated: Schema.Boolean,
|
|
113
113
|
next: Schema.optionalKey(PositiveInt2)
|
|
114
114
|
}) {
|
|
@@ -227,7 +227,7 @@ var list = (items, page) => {
|
|
|
227
227
|
const offset = page.offset || 1;
|
|
228
228
|
const limit = Math.min(page.limit || MAX_READ_LINES2, MAX_READ_LINES2);
|
|
229
229
|
const visible = items.flatMap((item) => item.type === "other" ? [] : [
|
|
230
|
-
|
|
230
|
+
ListEntry3.make({
|
|
231
231
|
path: RelativePath2.make(item.name + (item.type === "directory" ? path.sep : "")),
|
|
232
232
|
type: item.type
|
|
233
233
|
})
|
|
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
|
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
334
|
-
const environment = yield*
|
|
334
|
+
const environment = yield* Service75;
|
|
335
335
|
return Service31.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node77] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service31, read2, node35, exports_read_filesystem };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./snapshot-xzbs9p6d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service18,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-zgmx74c0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service14
|
|
11
|
+
} from "./snapshot-b8n432y4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service77
|
|
14
|
+
} from "./snapshot-pd5nnvfb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./snapshot-j3vp7afh.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
28
|
Input: () => Input5,
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
29
|
+
Output: () => Output4,
|
|
30
|
+
Plugin: () => Plugin5,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
32
|
name: () => name5,
|
|
33
|
-
toModelContent: () =>
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
@@ -42,21 +42,21 @@ var Input5 = Schema.Struct({
|
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output4 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin5 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service16;
|
|
56
|
+
const fileMutation = yield* Service18;
|
|
57
|
+
const environment = yield* Service75;
|
|
58
|
+
const formatter = yield* Service14;
|
|
59
|
+
const permission = yield* Service77;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
61
|
name: name5,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
@@ -66,7 +66,7 @@ Missing parent directories are created automatically.
|
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
68
|
input: Input5,
|
|
69
|
-
output:
|
|
69
|
+
output: Output4,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export { name5, Input5,
|
|
101
|
+
export { name5, Input5, Output4, toModelContent2, Plugin5, exports_write };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-y2tacs4v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-fy5bjxgv.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./snapshot-ek03k2mw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./snapshot-32s59e8p.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service56;
|
|
26
|
+
const policy = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_location_watcher2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node88
|
|
4
|
+
} from "./snapshot-nbe9sb46.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-r9xj5tzw.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-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: () => NotFoundError6,
|
|
20
|
+
Options: () => Options5,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service51,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
24
|
available: () => available2,
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
25
|
+
configured: () => configured5,
|
|
26
|
+
layer: () => layer22,
|
|
27
|
+
node: () => node53
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,24 +35,24 @@ import { Global } from "@opencode/util/global";
|
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
37
|
import { available as available2 } from "#persistent-pty-binary";
|
|
38
|
-
var
|
|
38
|
+
var Options5 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service51 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service51, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service85;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError6({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service51.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service17, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
265
|
-
deps: [
|
|
261
|
+
var layer22 = makeLayer();
|
|
262
|
+
var configured5 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service51,
|
|
264
|
+
layer: options === undefined ? layer22 : makeLayer(options),
|
|
265
|
+
deps: [node88, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node53 = configured5();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options5, UnavailableError4, NotFoundError6, Service51, layer22, configured5, node53, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin42
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin42 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin37 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin42, exports_mcp_codemode_defaults };
|