@opencode/core 0.0.0-dev-21765 → 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 +82 -81
- package/dist/aisdk-native.js +93 -92
- package/dist/aisdk.js +99 -98
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -77
- package/dist/chunks/{schema-w1y9pf93.js → snapshot-07zxw3m2.js} +35 -35
- package/dist/chunks/{schema-f42znsbm.js → snapshot-0afx89r7.js} +18 -18
- package/dist/chunks/{schema-kn8m031n.js → snapshot-0jx32ymp.js} +8 -8
- package/dist/chunks/{schema-hskrfeat.js → snapshot-0ks2n9jf.js} +6 -6
- package/dist/chunks/{schema-t3ctqk3p.js → snapshot-0mknfzxa.js} +38 -38
- package/dist/chunks/{schema-fe9r35x6.js → snapshot-0mqb07fh.js} +14 -14
- package/dist/chunks/{schema-2f6bhtqc.js → snapshot-0q5k0gn3.js} +7 -7
- package/dist/chunks/{schema-8bc2ahr8.js → snapshot-0ss1ygn7.js} +3 -3
- package/dist/chunks/{schema-2wcgdjv5.js → snapshot-0tqn2axw.js} +18 -18
- package/dist/chunks/{schema-tqx9c315.js → snapshot-160yv0cs.js} +8 -8
- package/dist/chunks/{schema-4dh6ns0s.js → snapshot-161ma9d9.js} +29 -29
- package/dist/chunks/{schema-mp5c1e99.js → snapshot-1pxy83dc.js} +20 -20
- package/dist/chunks/{schema-eq3fc1qc.js → snapshot-1vdntpm3.js} +5 -5
- package/dist/chunks/{schema-4f1nz0wt.js → snapshot-1vmrpj2e.js} +2 -2
- package/dist/chunks/{schema-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{schema-p7vhpwh8.js → snapshot-1yq9hg58.js} +5 -5
- package/dist/chunks/{schema-1ep2p91f.js → snapshot-27w5k9zf.js} +2 -2
- package/dist/chunks/snapshot-2chvth3d.js +26 -0
- package/dist/chunks/{schema-jxqzyhg3.js → snapshot-2nrtgzx4.js} +5 -5
- package/dist/chunks/{schema-2862db0g.js → snapshot-2qskh4pz.js} +67 -67
- package/dist/chunks/{schema-2z1j29yd.js → snapshot-2z1j29yd.js} +1 -1
- package/dist/chunks/{schema-hjv5rhcs.js → snapshot-2zgywwsc.js} +21 -21
- package/dist/chunks/{schema-3mgb105e.js → snapshot-32s59e8p.js} +9 -9
- package/dist/chunks/{schema-ythty13s.js → snapshot-3783nsyn.js} +47 -47
- package/dist/chunks/{schema-154zyqc4.js → snapshot-3b9ys5we.js} +7 -7
- package/dist/chunks/{schema-ayjs7tqn.js → snapshot-3cbjf1nt.js} +2 -2
- package/dist/chunks/{schema-617kavm2.js → snapshot-3favxqg0.js} +14 -14
- package/dist/chunks/{schema-nveqws5b.js → snapshot-3gkrqpaa.js} +9 -9
- package/dist/chunks/{schema-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-3nfpgkj0.js → snapshot-3nfpgkj0.js} +1 -1
- package/dist/chunks/{schema-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-7wrq6vcn.js → snapshot-3t7xf6wx.js} +17 -17
- package/dist/chunks/{schema-6cz5w7zs.js → snapshot-3tgdgf4b.js} +27 -27
- package/dist/chunks/{schema-gsb3pfjx.js → snapshot-3zvnpf2b.js} +12 -12
- package/dist/chunks/{schema-qq9hzn5s.js → snapshot-478wn43b.js} +28 -28
- package/dist/chunks/{schema-143qq2q9.js → snapshot-48kw51zw.js} +3 -3
- package/dist/chunks/{schema-hvvf9qw8.js → snapshot-4bwthz3m.js} +6 -6
- package/dist/chunks/{schema-5w8m9xv3.js → snapshot-4dfrgdyk.js} +11 -11
- package/dist/chunks/{schema-y0e96tr8.js → snapshot-4p58h6jm.js} +12 -12
- package/dist/chunks/{schema-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-hfnfqmbj.js → snapshot-4x5ne6q5.js} +6 -6
- package/dist/chunks/{schema-4xvmh7wp.js → snapshot-4xvmh7wp.js} +3 -3
- package/dist/chunks/{schema-pazpeg33.js → snapshot-4xx69gcw.js} +36 -36
- package/dist/chunks/{schema-3a63316c.js → snapshot-4zqx17cs.js} +4 -4
- package/dist/chunks/{schema-ywtc9m4k.js → snapshot-554c643k.js} +14 -14
- package/dist/chunks/{schema-jtp66jv1.js → snapshot-59me87h3.js} +15 -15
- package/dist/chunks/{schema-c9qwnmqv.js → snapshot-5bs3z6bh.js} +42 -42
- package/dist/chunks/{schema-1j2pc25j.js → snapshot-5dz07wyn.js} +24 -24
- package/dist/chunks/{schema-en8vfsd2.js → snapshot-5fmag65v.js} +9 -9
- package/dist/chunks/{schema-7dm1knrr.js → snapshot-5jkk73vw.js} +25 -25
- package/dist/chunks/{schema-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-aqhppgmk.js → snapshot-5tcfg9sy.js} +11 -11
- package/dist/chunks/{schema-d61b7cet.js → snapshot-632f3s68.js} +5 -5
- package/dist/chunks/{schema-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{schema-6pjqjmy2.js → snapshot-6pjqjmy2.js} +1 -1
- package/dist/chunks/{schema-vby0kevs.js → snapshot-6qfg9wn6.js} +13 -13
- package/dist/chunks/{schema-mhe28zdf.js → snapshot-6racwe75.js} +16 -16
- package/dist/chunks/{schema-a4bkh64k.js → snapshot-6s0qp0k1.js} +13 -13
- package/dist/chunks/{schema-z0sad13k.js → snapshot-6s3kc1tw.js} +8 -8
- package/dist/chunks/{schema-3k4jc8v0.js → snapshot-7193gb3b.js} +5 -5
- package/dist/chunks/{schema-r70bhzar.js → snapshot-74yqxf1n.js} +12 -12
- package/dist/chunks/{schema-p76b1cdr.js → snapshot-7656gdbc.js} +11 -11
- package/dist/chunks/{schema-nah043kf.js → snapshot-770pw0s1.js} +4 -4
- package/dist/chunks/{schema-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-q7qmtw9h.js → snapshot-7f2cmxte.js} +8 -8
- package/dist/chunks/{schema-rv8h40hz.js → snapshot-7h9ebnn9.js} +35 -35
- package/dist/chunks/{schema-30e1bg64.js → snapshot-7rp7gb9w.js} +5 -5
- package/dist/chunks/{schema-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-dtavj5d7.js → snapshot-7ym71xjb.js} +17 -17
- package/dist/chunks/{schema-1616ycsj.js → snapshot-84jtdjdd.js} +16 -16
- package/dist/chunks/{schema-rhj80mra.js → snapshot-8evycx1g.js} +17 -17
- package/dist/chunks/{schema-fqvwz6ma.js → snapshot-8p0yah29.js} +23 -23
- package/dist/chunks/{schema-wmn93bqx.js → snapshot-8qs5em9k.js} +4 -7
- package/dist/chunks/{schema-tw8zr1ps.js → snapshot-8r6n0qax.js} +7 -2
- package/dist/chunks/{schema-6twctan0.js → snapshot-8rdjrrqn.js} +8 -8
- package/dist/chunks/{schema-hxmh1k5n.js → snapshot-8w8z7rxz.js} +14 -14
- package/dist/chunks/{schema-qzvs526t.js → snapshot-8wkh25h8.js} +12 -12
- package/dist/chunks/{schema-1tjn92rn.js → snapshot-8wt0jx50.js} +13 -13
- package/dist/chunks/{schema-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-fy3nfdcy.js → snapshot-918127jg.js} +4 -4
- package/dist/chunks/{schema-91rj84md.js → snapshot-91rj84md.js} +1 -1
- package/dist/chunks/{schema-acdmrrd1.js → snapshot-9437wt4d.js} +8 -8
- package/dist/chunks/{schema-9yy9tn8q.js → snapshot-9a56t16a.js} +11 -11
- package/dist/chunks/{schema-x9cacsyk.js → snapshot-9r6p4a7y.js} +19 -19
- package/dist/chunks/{schema-gt2s4m1s.js → snapshot-9rvt699m.js} +5 -5
- package/dist/chunks/{schema-4266znvz.js → snapshot-9whsknsx.js} +48 -48
- package/dist/chunks/{schema-7pnkfavj.js → snapshot-a06fcy8f.js} +44 -44
- package/dist/chunks/{schema-g6t8g6yx.js → snapshot-a0ytzaqj.js} +11 -11
- package/dist/chunks/{schema-mc6n2qdv.js → snapshot-a6ads23x.js} +11 -11
- package/dist/chunks/{schema-w67s4ywc.js → snapshot-agqd6nxz.js} +8 -8
- package/dist/chunks/{schema-034tev2y.js → snapshot-aj7mw0zk.js} +2 -2
- package/dist/chunks/{schema-07nbdp2k.js → snapshot-ap337mx5.js} +10 -10
- package/dist/chunks/{schema-b0mv4wxm.js → snapshot-b0mv4wxm.js} +2 -2
- package/dist/chunks/{schema-8x737kf8.js → snapshot-b1wg801n.js} +24 -24
- package/dist/chunks/{schema-szcgc7h4.js → snapshot-b50rsrab.js} +5 -5
- package/dist/chunks/{schema-787db2tc.js → snapshot-b55dtq98.js} +9 -9
- package/dist/chunks/{schema-gkmddht3.js → snapshot-b8n432y4.js} +15 -15
- package/dist/chunks/{schema-s7r97j0a.js → snapshot-bdb3z5a5.js} +19 -19
- package/dist/chunks/{schema-mmd0w5me.js → snapshot-bfn6rm7j.js} +19 -19
- package/dist/chunks/{schema-24tftcpc.js → snapshot-c1na6ymh.js} +59 -59
- package/dist/chunks/{schema-aktgv3ye.js → snapshot-c3cfh5w6.js} +9 -9
- package/dist/chunks/{schema-0t098hqn.js → snapshot-c5c0bz0t.js} +5 -5
- package/dist/chunks/{schema-mtkfycnh.js → snapshot-c9t2ty9q.js} +4 -4
- package/dist/chunks/{schema-88118qy8.js → snapshot-ca57szg8.js} +27 -27
- package/dist/chunks/{schema-v8mhp7pp.js → snapshot-cfn4qz40.js} +3 -3
- package/dist/chunks/snapshot-cqv5kn06.js +13 -0
- package/dist/chunks/{schema-cwz77rcy.js → snapshot-ct8g3krm.js} +11 -11
- package/dist/chunks/{schema-6m5m35mz.js → snapshot-d2adx8zd.js} +13 -13
- package/dist/chunks/{schema-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-pcgkddtj.js → snapshot-dbtpmnnk.js} +5 -5
- package/dist/chunks/{schema-a1y47zhx.js → snapshot-dbtvxfav.js} +6 -6
- package/dist/chunks/{schema-pkyv6v7h.js → snapshot-dbztejgq.js} +1 -0
- package/dist/chunks/{schema-4aq7en99.js → snapshot-dhbr53va.js} +38 -38
- package/dist/chunks/{schema-m0ddkrak.js → snapshot-djhjvjkg.js} +14 -14
- package/dist/chunks/snapshot-djx9kma8.js +257 -0
- package/dist/chunks/{schema-329weprz.js → snapshot-dp1xx99d.js} +30 -30
- package/dist/chunks/{schema-nck61317.js → snapshot-dqepbaw5.js} +6 -6
- package/dist/chunks/{schema-6qzhxdk4.js → snapshot-dqxkzd40.js} +37 -37
- package/dist/chunks/{schema-yw3vvjb2.js → snapshot-dsh5f6xc.js} +4 -4
- package/dist/chunks/{schema-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{schema-y71ps8e5.js → snapshot-efrfrvhc.js} +11 -11
- package/dist/chunks/{schema-t1w3prdq.js → snapshot-ek03k2mw.js} +49 -49
- package/dist/chunks/{schema-3amvxph1.js → snapshot-emdcpk1s.js} +13 -13
- package/dist/chunks/{schema-va1ca6nr.js → snapshot-erqmr9xw.js} +25 -25
- package/dist/chunks/{schema-1m98x74e.js → snapshot-esgnsm48.js} +4 -4
- package/dist/chunks/{schema-2s3mabk8.js → snapshot-eyf085y9.js} +21 -21
- package/dist/chunks/{schema-hwf3rsyj.js → snapshot-f5xfaq7p.js} +24 -24
- package/dist/chunks/{schema-b6h084j4.js → snapshot-f7g8c4vr.js} +29 -29
- package/dist/chunks/{schema-rxgngg14.js → snapshot-f92mf0c3.js} +5 -5
- package/dist/chunks/{schema-t73qb0f8.js → snapshot-f99q6c7d.js} +9 -9
- package/dist/chunks/{schema-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{schema-thszvhrd.js → snapshot-ffg477kt.js} +18 -18
- package/dist/chunks/{schema-wb4h2peq.js → snapshot-fkej6bfb.js} +26 -26
- package/dist/chunks/{schema-e1crchvn.js → snapshot-fnacy21v.js} +9 -9
- package/dist/chunks/{schema-p3r0srm5.js → snapshot-frasnx5s.js} +15 -15
- package/dist/chunks/{schema-99g6fqdz.js → snapshot-frqypeq5.js} +11 -11
- package/dist/chunks/{schema-er4ejzeq.js → snapshot-fwsg17hw.js} +24 -24
- package/dist/chunks/{schema-998yhzzq.js → snapshot-fy5bjxgv.js} +4 -3
- package/dist/chunks/{schema-g5h9c0rr.js → snapshot-g5h9c0rr.js} +2 -2
- package/dist/chunks/{schema-11e7b702.js → snapshot-gmekvemz.js} +7 -7
- package/dist/chunks/{schema-tsdrbga6.js → snapshot-gmfp6b6n.js} +4 -4
- package/dist/chunks/{schema-v13bak37.js → snapshot-gng52mc6.js} +18 -18
- package/dist/chunks/{schema-tdtvh78f.js → snapshot-gwbj699h.js} +45 -45
- package/dist/chunks/{schema-ncctsns8.js → snapshot-gyxnj4a1.js} +9 -9
- package/dist/chunks/{schema-c5kjsz6q.js → snapshot-h0rg6s60.js} +4 -4
- package/dist/chunks/{schema-tynj833s.js → snapshot-h3hsakfm.js} +17 -17
- package/dist/chunks/{schema-1zdtg2jw.js → snapshot-hec7qnqj.js} +36 -36
- package/dist/chunks/{schema-5e3hd4xw.js → snapshot-hhtjdena.js} +11 -11
- package/dist/chunks/{schema-4d9qj03b.js → snapshot-hnygc6fd.js} +19 -19
- package/dist/chunks/{schema-0nhvm0pw.js → snapshot-hr369vr2.js} +22 -22
- package/dist/chunks/{schema-j113cymg.js → snapshot-j113cymg.js} +1 -1
- package/dist/chunks/{schema-rt1c7dae.js → snapshot-j3vp7afh.js} +18 -18
- package/dist/chunks/{schema-524rwz3q.js → snapshot-jb8nybd6.js} +192 -192
- package/dist/chunks/{schema-nrxnrznw.js → snapshot-jdrspvzz.js} +25 -25
- package/dist/chunks/{schema-rbpahh6n.js → snapshot-jdt45pkr.js} +41 -41
- package/dist/chunks/{schema-r5f8nyhj.js → snapshot-jh79xrzs.js} +29 -29
- package/dist/chunks/{schema-h5qan5zz.js → snapshot-jj9caqwr.js} +8 -8
- package/dist/chunks/{schema-fs3bfktd.js → snapshot-jw8a3tk7.js} +51 -51
- package/dist/chunks/{schema-ztkwxhgh.js → snapshot-jxxfxajf.js} +343 -343
- package/dist/chunks/{schema-hzcppzhp.js → snapshot-k2fsx1xy.js} +16 -16
- package/dist/chunks/{schema-5ryvfs0w.js → snapshot-k61v1qy1.js} +23 -23
- package/dist/chunks/{schema-khc0hv5f.js → snapshot-k7509am1.js} +11 -11
- package/dist/chunks/{schema-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
- package/dist/chunks/{schema-8mh45d2n.js → snapshot-kptvbxr8.js} +10 -10
- package/dist/chunks/{schema-18g90bpv.js → snapshot-kqd6y5bm.js} +9 -9
- package/dist/chunks/{schema-7ejbfbtt.js → snapshot-ktzyfvz3.js} +55 -51
- package/dist/chunks/{schema-1hcmr4yw.js → snapshot-kwx7hjqx.js} +30 -30
- package/dist/chunks/{schema-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{schema-92fa10hr.js → snapshot-m2gmtjby.js} +28 -28
- package/dist/chunks/{schema-eqmd2tfz.js → snapshot-m37sd98t.js} +7 -7
- package/dist/chunks/{schema-e8gd4gpa.js → snapshot-m42exb13.js} +13 -13
- package/dist/chunks/{schema-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-j77g158z.js → snapshot-m9xapfg3.js} +8 -8
- package/dist/chunks/{schema-gpnpzavh.js → snapshot-ma30nhqm.js} +35 -35
- package/dist/chunks/{schema-282ey04p.js → snapshot-mae97aqp.js} +22 -22
- package/dist/chunks/{schema-jck87qnb.js → snapshot-mag6tw2x.js} +20 -20
- package/dist/chunks/{schema-maspj1v3.js → snapshot-maspj1v3.js} +1 -1
- package/dist/chunks/{schema-jc1zpzm6.js → snapshot-mdf86mky.js} +11 -11
- package/dist/chunks/{schema-00v1n14z.js → snapshot-me9mw9zy.js} +4 -4
- package/dist/chunks/{schema-7a1enj4j.js → snapshot-mj1vn29f.js} +8 -8
- package/dist/chunks/{schema-3p1ty9zs.js → snapshot-mjcjq7n6.js} +9 -9
- package/dist/chunks/{schema-11j43tsy.js → snapshot-mprydjd2.js} +10 -10
- package/dist/chunks/{schema-81vtq34g.js → snapshot-mtvest2f.js} +25 -22
- package/dist/chunks/{schema-z28xy0wc.js → snapshot-mw9adcng.js} +24 -24
- package/dist/chunks/{schema-n0p0277s.js → snapshot-n0p0277s.js} +1 -1
- package/dist/chunks/{schema-4qz42npy.js → snapshot-n1vgbqet.js} +17 -17
- package/dist/chunks/{schema-eqzmv0k0.js → snapshot-nbe9sb46.js} +16 -16
- package/dist/chunks/{schema-g0wye5yh.js → snapshot-nfcfs4v2.js} +47 -47
- package/dist/chunks/{schema-j1ehcwpj.js → snapshot-nse1zspn.js} +9 -9
- package/dist/chunks/{schema-1zn3aj1m.js → snapshot-nw01bwqe.js} +1 -1
- package/dist/chunks/{schema-hxrfbvam.js → snapshot-nwrg9pc7.js} +25 -25
- package/dist/chunks/{schema-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{schema-qqg9c0kv.js → snapshot-p0tsr9h6.js} +4 -4
- package/dist/chunks/{schema-eda149f3.js → snapshot-pakkxr1m.js} +54 -54
- package/dist/chunks/{schema-fkbdg6tg.js → snapshot-pc6sxnpy.js} +15 -15
- package/dist/chunks/{schema-9rc4as14.js → snapshot-pcjc0zbx.js} +86 -86
- package/dist/chunks/{schema-7gf3pvgw.js → snapshot-pd5nnvfb.js} +40 -40
- package/dist/chunks/{schema-2nbqrcwe.js → snapshot-pdpcsrtk.js} +11 -11
- package/dist/chunks/{schema-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{schema-b6vsg801.js → snapshot-prazahgm.js} +4 -2
- package/dist/chunks/{schema-h0nnq31c.js → snapshot-psxjadar.js} +12 -12
- package/dist/chunks/{schema-w448494y.js → snapshot-pz2xf62m.js} +43 -43
- package/dist/chunks/{schema-xhh0m2wy.js → snapshot-q220t63m.js} +5 -5
- package/dist/chunks/{schema-ypv38js4.js → snapshot-qbn6ccz0.js} +15 -15
- package/dist/chunks/{schema-mx1kx71f.js → snapshot-qbx5df9y.js} +33 -33
- package/dist/chunks/{schema-3h9mmrds.js → snapshot-qe4aeyz4.js} +18 -18
- package/dist/chunks/snapshot-qmh7vbk2.js +18 -0
- package/dist/chunks/{schema-s2rkq84g.js → snapshot-qqmk40fq.js} +26 -26
- package/dist/chunks/{schema-3vkndy7n.js → snapshot-qsesa4qj.js} +30 -30
- package/dist/chunks/{schema-9vnq5g15.js → snapshot-qtscts2y.js} +10 -10
- package/dist/chunks/{schema-8nyb9b1r.js → snapshot-qyhc4eyf.js} +6 -6
- package/dist/chunks/{schema-r0yr0wbs.js → snapshot-r0yr0wbs.js} +1 -1
- package/dist/chunks/{schema-fc6c4hv8.js → snapshot-r4nkww26.js} +3 -2
- package/dist/chunks/{schema-fv09tp7k.js → snapshot-r9xj5tzw.js} +15 -15
- package/dist/chunks/{schema-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-8jvj9h14.js → snapshot-rbtdbek8.js} +11 -11
- package/dist/chunks/{schema-fp1f4q9g.js → snapshot-rhm0ky60.js} +20 -20
- package/dist/chunks/{schema-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{schema-ar2j3j0f.js → snapshot-rwp901jg.js} +4 -4
- package/dist/chunks/{schema-fzkeq8f8.js → snapshot-s26mdd2t.js} +20 -20
- package/dist/chunks/{schema-ypw7dra2.js → snapshot-s5c25evq.js} +9 -9
- package/dist/chunks/{schema-c99atrka.js → snapshot-s70bqh3x.js} +22 -22
- package/dist/chunks/{schema-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
- package/dist/chunks/{schema-n2c4zg0x.js → snapshot-sfcybhq1.js} +25 -25
- package/dist/chunks/{schema-st9narvh.js → snapshot-sna83kbb.js} +32 -32
- package/dist/chunks/{schema-sqjzf8x2.js → snapshot-sqjzf8x2.js} +1 -1
- package/dist/chunks/{schema-ne1w8t8k.js → snapshot-sqvjjq52.js} +35 -35
- package/dist/chunks/{schema-520chd1c.js → snapshot-st099mnc.js} +17 -17
- package/dist/chunks/{schema-hnnjehxc.js → snapshot-swa2cp8j.js} +21 -21
- package/dist/chunks/{schema-dfay5gjp.js → snapshot-t5w1645e.js} +15 -15
- package/dist/chunks/{schema-6sdvvr9a.js → snapshot-tbkt3wx3.js} +11 -11
- package/dist/chunks/{schema-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{schema-5xz4c498.js → snapshot-tprjhv81.js} +12 -12
- package/dist/chunks/{schema-jwddjk3q.js → snapshot-trmmr9ep.js} +3 -3
- package/dist/chunks/{schema-twv2r8f4.js → snapshot-twv2r8f4.js} +2 -2
- package/dist/chunks/{schema-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-3fn32fyw.js → snapshot-v7h4xrvh.js} +2 -2
- package/dist/chunks/{schema-jy6n1kda.js → snapshot-v7smbder.js} +22 -22
- package/dist/chunks/{schema-2yrt0cx2.js → snapshot-vas1r7h6.js} +11 -11
- package/dist/chunks/{schema-vd3b3yk9.js → snapshot-vd3b3yk9.js} +1 -1
- package/dist/chunks/{schema-veqvce7d.js → snapshot-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-m33z69w0.js → snapshot-vgp1wa39.js} +16 -16
- package/dist/chunks/{schema-npjxp3nk.js → snapshot-vwnxacd1.js} +23 -23
- package/dist/chunks/{schema-a422z98d.js → snapshot-vwqhz761.js} +19 -19
- package/dist/chunks/{schema-5enarcya.js → snapshot-w2eysc6j.js} +6 -6
- package/dist/chunks/{schema-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-x3t8twyd.js → snapshot-w6szjrsy.js} +37 -37
- package/dist/chunks/{schema-76cb1hcw.js → snapshot-w8qtt4th.js} +4 -4
- package/dist/chunks/{schema-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-a7p56gbj.js → snapshot-wbhrv0fr.js} +9 -9
- package/dist/chunks/{schema-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{schema-yx3vrw5p.js → snapshot-wgr1c5ms.js} +3 -3
- package/dist/chunks/{schema-7werj5s1.js → snapshot-whn2866m.js} +11 -11
- package/dist/chunks/{schema-jgeyayk8.js → snapshot-wk2qmfnq.js} +11 -11
- package/dist/chunks/{schema-dtg24jm0.js → snapshot-wqh0bfav.js} +94 -94
- package/dist/chunks/{schema-qv7y9773.js → snapshot-wqscedq8.js} +4 -4
- package/dist/chunks/{schema-wr3re1en.js → snapshot-wr3re1en.js} +1 -1
- package/dist/chunks/{schema-7df12zw2.js → snapshot-wz1vecj1.js} +18 -18
- package/dist/chunks/{schema-7m47pp9z.js → snapshot-x9vn6nqh.js} +22 -22
- package/dist/chunks/{schema-xd9cc171.js → snapshot-xd9cc171.js} +1 -1
- package/dist/chunks/{schema-vg66cxah.js → snapshot-xhmkx1jn.js} +22 -22
- package/dist/chunks/{schema-59zf53qd.js → snapshot-xm3gk7bk.js} +1 -1
- package/dist/chunks/{schema-yqhw68ry.js → snapshot-xzbs9p6d.js} +24 -24
- package/dist/chunks/{schema-y2tacs4v.js → snapshot-y2tacs4v.js} +1 -1
- package/dist/chunks/{schema-sdm20d6g.js → snapshot-y7gd4w3h.js} +38 -38
- package/dist/chunks/{schema-029wrt9s.js → snapshot-y953en34.js} +4 -4
- package/dist/chunks/{schema-w6veeby1.js → snapshot-y96gz3a5.js} +23 -23
- package/dist/chunks/{schema-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-a3brrxmc.js → snapshot-ydwpppea.js} +5 -5
- package/dist/chunks/{schema-g5m9rhne.js → snapshot-yev68cen.js} +19 -19
- package/dist/chunks/{schema-69akfaf3.js → snapshot-yfm7n3f0.js} +32 -32
- package/dist/chunks/{schema-4c4ax3zv.js → snapshot-yh2w88yz.js} +4 -4
- package/dist/chunks/{schema-xccxprzd.js → snapshot-yqhvfk7a.js} +1 -1
- package/dist/chunks/{schema-axrk0dbh.js → snapshot-ywdc1z9p.js} +1 -1
- package/dist/chunks/{schema-z0bkrqjs.js → snapshot-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-z38nccrw.js → snapshot-z38nccrw.js} +1 -1
- package/dist/chunks/{schema-gvefjbhs.js → snapshot-z41z05dk.js} +6 -6
- package/dist/chunks/{schema-cnpyaq5p.js → snapshot-z6gzjb8d.js} +11 -11
- package/dist/chunks/{schema-nxykchda.js → snapshot-zaapkpfq.js} +30 -30
- package/dist/chunks/{schema-xsvq7cjt.js → snapshot-zgmrepvs.js} +4 -4
- package/dist/chunks/{schema-8dbgzqh1.js → snapshot-zgmx74c0.js} +13 -13
- package/dist/chunks/{schema-zkg84ctx.js → snapshot-zkg84ctx.js} +1 -1
- package/dist/chunks/{schema-aq1t7e1s.js → snapshot-zy7n2dwb.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -79
- package/dist/config/discovery.js +88 -87
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +103 -102
- package/dist/config/plugin/agent.js +117 -116
- package/dist/config/plugin/command.js +213 -212
- package/dist/config/plugin/compaction.js +156 -155
- package/dist/config/plugin/compatibility.js +136 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -117
- package/dist/config/plugin/image.js +117 -116
- package/dist/config/plugin/instruction.js +117 -116
- package/dist/config/plugin/location-watcher.js +117 -116
- package/dist/config/plugin/mcp.js +124 -123
- package/dist/config/plugin/policy.js +118 -117
- package/dist/config/plugin/provider.js +117 -116
- package/dist/config/plugin/reference.js +119 -118
- package/dist/config/plugin/shell.js +119 -118
- package/dist/config/plugin/skill-file.js +106 -105
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +139 -138
- package/dist/config/plugin/snapshot.js +117 -116
- package/dist/config/plugin/source.js +114 -113
- package/dist/config/plugin/tool-output.js +118 -117
- package/dist/config/plugin/websearch.js +118 -117
- package/dist/config/plugin/worktree.js +119 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -81
- package/dist/database/database.js +75 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +6 -0
- package/dist/database/migration.gen.js +52 -51
- package/dist/database/migration.js +54 -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 +96 -95
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +97 -96
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -96
- 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 +77 -76
- package/dist/file-access.js +108 -107
- package/dist/file-mutation.js +98 -97
- 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 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -105
- package/dist/form.js +85 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -90
- package/dist/generate.js +109 -108
- package/dist/git.js +11 -11
- 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 +103 -102
- 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 -361
- package/dist/instruction-discovery.js +87 -86
- package/dist/instructions/builtins.js +91 -90
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -89
- package/dist/job.js +81 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -75
- package/dist/location-activity.js +160 -159
- package/dist/location-lifecycle.js +111 -110
- package/dist/location-service-map.js +90 -89
- package/dist/location-services.js +359 -358
- package/dist/location.js +91 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -94
- package/dist/mcp/index.js +113 -112
- package/dist/mcp/instructions.js +140 -139
- package/dist/mcp/oauth.js +81 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +94 -93
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -102
- package/dist/model-resolver.js +103 -102
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -103
- package/dist/models-dev.js +111 -110
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +78 -77
- package/dist/plugin/agent.js +77 -76
- package/dist/plugin/command.js +104 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -218
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +100 -99
- package/dist/plugin/module.js +116 -115
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +106 -105
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +94 -93
- package/dist/plugin/provider/azure.js +117 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +117 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +97 -96
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +99 -98
- package/dist/plugin/provider/gitlab.js +97 -96
- package/dist/plugin/provider/google-vertex.js +114 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +81 -80
- package/dist/plugin/provider/lmstudio.js +124 -123
- package/dist/plugin/provider/local.js +123 -122
- package/dist/plugin/provider/modal.js +96 -95
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +124 -123
- package/dist/plugin/provider/openai-context-caps.js +94 -93
- package/dist/plugin/provider/openai.js +119 -118
- package/dist/plugin/provider/opencode.js +102 -101
- package/dist/plugin/provider/openrouter.js +95 -94
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +82 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +95 -94
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -115
- package/dist/plugin/provider/vercel.js +94 -93
- package/dist/plugin/provider/vllm.js +126 -125
- package/dist/plugin/provider/xai.js +95 -94
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -168
- package/dist/plugin/sdk.js +77 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +90 -89
- package/dist/plugin/vcs/hg.js +90 -89
- package/dist/plugin/verbosity.js +97 -96
- package/dist/plugin/warming.js +115 -114
- 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 +6 -6
- package/dist/plugin.js +230 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -91
- package/dist/provider.js +103 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -101
- package/dist/reference/instructions.js +91 -90
- package/dist/reference.js +95 -94
- package/dist/repository-cache.js +85 -84
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -98
- package/dist/rpc.js +90 -89
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +77 -76
- package/dist/session/compaction.js +138 -137
- package/dist/session/context.js +166 -165
- package/dist/session/diff.js +92 -91
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -224
- package/dist/session/execution.js +132 -131
- package/dist/session/generate.js +166 -165
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +96 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +82 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +101 -100
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +124 -123
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +134 -133
- package/dist/session/projector.js +92 -91
- package/dist/session/prompt.js +109 -108
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +98 -97
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +104 -103
- 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 -127
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -165
- package/dist/session/shell.js +131 -130
- package/dist/session/skill.js +107 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -75
- package/dist/session/store.js +88 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +213 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +164 -163
- package/dist/session/to-session-error.js +116 -115
- package/dist/session/transfer.js +223 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -216
- 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 +11 -11
- package/dist/shell.js +133 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +111 -110
- package/dist/skill.js +116 -115
- package/dist/snapshot.js +95 -94
- 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 +141 -140
- package/dist/tool/plugin/edit.js +124 -123
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +128 -127
- package/dist/tool/plugin/grep.js +120 -119
- package/dist/tool/plugin/mcp-resource.js +128 -127
- package/dist/tool/plugin/opencode.js +113 -112
- package/dist/tool/plugin/patch.js +126 -125
- package/dist/tool/plugin/question.js +107 -106
- package/dist/tool/plugin/read.js +127 -126
- package/dist/tool/plugin/shell.js +218 -217
- package/dist/tool/plugin/skill.js +111 -110
- package/dist/tool/plugin/subagent.js +220 -219
- package/dist/tool/plugin/todo.js +139 -138
- package/dist/tool/plugin/webfetch.js +117 -116
- package/dist/tool/plugin/websearch.js +118 -117
- package/dist/tool/plugin/write.js +126 -125
- package/dist/tool/read-filesystem.js +106 -105
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/database/migration/20261024002554_session_allowance.d.ts +3 -0
- package/dist/types/session/history.d.ts +2 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +4 -1
- package/dist/types/session/schema.d.ts +5 -0
- package/dist/types/session/sql.d.ts +16 -0
- package/dist/types/session/transfer.d.ts +10 -0
- package/dist/types/session/usage.d.ts +2 -0
- 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 +4 -4
- package/dist/v1/config/migrate.js +96 -95
- 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 +95 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -92
- package/dist/voice.js +91 -90
- package/dist/websearch.js +85 -84
- package/dist/wellknown/plugin.js +79 -78
- package/dist/wellknown.js +82 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -84
- 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 -92
- package/dist/worktree.js +104 -103
- package/package.json +8 -8
- package/dist/chunks/schema-6cfsdsjt.js +0 -26
- package/dist/chunks/schema-g6nq203h.js +0 -257
- package/dist/chunks/schema-n3r3rt18.js +0 -18
- /package/dist/chunks/{schema-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-5fjb7ams.js → snapshot-5fjb7ams.js} +0 -0
- /package/dist/chunks/{schema-5qd3pb7m.js → snapshot-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a058387c.js → snapshot-a058387c.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wjj7prxr.js → snapshot-wjj7prxr.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → snapshot-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-rwp901jg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
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
|
+
ID6,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service60
|
|
20
|
+
} from "./snapshot-qbx5df9y.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID5
|
|
23
|
+
} from "./snapshot-07zxw3m2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./snapshot-hr369vr2.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-9a56t16a.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID16
|
|
33
|
+
} from "./snapshot-1pxy83dc.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./snapshot-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID7.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,8 +164,8 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
168
|
-
const bus = yield*
|
|
167
|
+
const providers = yield* Service60;
|
|
168
|
+
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
171
171
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID6.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID6.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID6.githubCopilot, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID6.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID16.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID6.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID6.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID6.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -2,17 +2,17 @@ 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
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service74,
|
|
24
|
+
node: () => node76
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service75;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service74.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node76 = makeLocationNode({ service: Service74, layer, deps: [node77, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service74, node76, exports_ripgrep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./snapshot-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make6(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make6 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node88
|
|
4
|
+
} from "./snapshot-nbe9sb46.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service82,
|
|
12
|
+
node85
|
|
13
|
+
} from "./snapshot-84jtdjdd.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node65
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service63 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service85;
|
|
44
|
+
const location = yield* Service82;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service63.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node65 = makeLocationNode({ service: Service63, layer, deps: [node88, node85] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service63, node65, exports_rpc, define2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service5,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node7
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service5 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node7 = makeLocationNode({
|
|
19
|
+
service: Service5,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service5, node7, bound2, exports_instance2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-zkg84ctx.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-g5h9c0rr.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
node89
|
|
10
|
+
} from "./snapshot-mdf86mky.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-3nfpgkj0.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node79
|
|
18
|
+
} from "./snapshot-esgnsm48.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-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: () => ID12,
|
|
31
|
+
Info: () => Info23,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service76,
|
|
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 ID12 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info23 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID12,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info11 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: ID12 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID12,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service76 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service76,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node89, node79]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service59, 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 Info23({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service59, 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 Service76.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID12.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(Service59, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node78 = configured10();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID12, Info23, NotFound2, CreateConflict2, Service76, configured10, node78, exports_workspace };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node88
|
|
4
|
+
} from "./snapshot-nbe9sb46.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
@@ -15,27 +15,27 @@ __export(exports_agent4, {
|
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
17
|
Event: () => Event19,
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
18
|
+
ID: () => ID16,
|
|
19
|
+
Info: () => Info26,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service80,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node83
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
28
|
import { Event as Event19 } from "@opencode/schema/agent";
|
|
29
|
-
var
|
|
29
|
+
var ID16 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID16.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info26 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service80 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info26.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service80.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID16.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
101
|
}));
|
|
102
|
-
var
|
|
102
|
+
var node83 = makeLocationNode({ service: Service80, layer, deps: [node88] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID16, Name3, defaultID2, Color2, Info26, Service80, node83, exports_agent4, Event19 };
|