@opencode/core 0.0.0-dev-21561 → 0.0.0-dev-21563
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{model-resolver-034tev2y.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{model-resolver-81veg7gk.js → generate-0443psqk.js} +30 -30
- package/dist/chunks/{model-resolver-7s9p8b5q.js → generate-06e0dsx1.js} +16 -16
- package/dist/chunks/{model-resolver-m0k609qs.js → generate-07phzgjg.js} +14 -14
- package/dist/chunks/{model-resolver-vzmjdaw1.js → generate-0bke9tpm.js} +9 -9
- package/dist/chunks/{model-resolver-1mznh3r2.js → generate-0cmwyhaq.js} +31 -31
- package/dist/chunks/{model-resolver-xf4p2pg0.js → generate-0cs5dcs0.js} +15 -15
- package/dist/chunks/{model-resolver-z2bchc84.js → generate-0m6b3axq.js} +17 -17
- package/dist/chunks/{model-resolver-5f9n2b02.js → generate-0mcrt4fa.js} +4 -4
- package/dist/chunks/{model-resolver-0rq01gt9.js → generate-0rq01gt9.js} +2 -2
- package/dist/chunks/{model-resolver-7vwgx2kr.js → generate-1e4tspje.js} +3 -3
- package/dist/chunks/{model-resolver-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{model-resolver-ymn1zp0c.js → generate-1mtcyeq8.js} +48 -48
- package/dist/chunks/{model-resolver-y9w21xdh.js → generate-1q324bgk.js} +7 -7
- package/dist/chunks/{model-resolver-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-resolver-tetf7hhs.js → generate-231jaqzt.js} +14 -14
- package/dist/chunks/{model-resolver-9tj4b67g.js → generate-24e7end9.js} +13 -13
- package/dist/chunks/{model-resolver-xxak8n2f.js → generate-268wp9v4.js} +4 -4
- package/dist/chunks/{model-resolver-d2b9tqdk.js → generate-280dayrs.js} +22 -22
- package/dist/chunks/{model-resolver-psq9ew9c.js → generate-2hr5rmqc.js} +9 -9
- package/dist/chunks/{model-resolver-5df887yz.js → generate-2jgkbkn1.js} +19 -19
- package/dist/chunks/{model-resolver-dy267r6z.js → generate-2tfwfzen.js} +2 -2
- package/dist/chunks/{model-resolver-2z1j29yd.js → generate-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-resolver-bgqkkabj.js → generate-2zqqmjez.js} +11 -11
- package/dist/chunks/{model-resolver-7v23t0sn.js → generate-38heweg8.js} +5 -5
- package/dist/chunks/{model-resolver-xaqh7jtr.js → generate-3dg2krd3.js} +27 -27
- package/dist/chunks/{model-resolver-1sdsfpt0.js → generate-3dvwpjdr.js} +35 -35
- package/dist/chunks/{model-resolver-2yjk1ef9.js → generate-3g4pre0h.js} +18 -18
- package/dist/chunks/{model-resolver-2jk202a8.js → generate-3g7vrncj.js} +32 -32
- package/dist/chunks/{model-resolver-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-k9ms0q72.js → generate-3jp652nn.js} +6 -6
- package/dist/chunks/{model-resolver-we1tgvvb.js → generate-3jzb0r2n.js} +5 -5
- package/dist/chunks/{model-resolver-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-resolver-z3ac7gyp.js → generate-3ntmh1g8.js} +21 -21
- package/dist/chunks/{model-resolver-56fqbvhs.js → generate-3xk26rw4.js} +5 -5
- package/dist/chunks/{model-resolver-40za9wsf.js → generate-40za9wsf.js} +2 -2
- package/dist/chunks/{model-resolver-08ftexb4.js → generate-48h67ern.js} +21 -21
- package/dist/chunks/{model-resolver-7sjdmqaj.js → generate-4c4eb9w2.js} +18 -18
- package/dist/chunks/{model-resolver-etxseyds.js → generate-4eed2b0j.js} +17 -17
- package/dist/chunks/{model-resolver-k9drn87y.js → generate-4hhvtbzy.js} +27 -27
- package/dist/chunks/{model-resolver-acmwnmb8.js → generate-4kdcmdga.js} +24 -24
- package/dist/chunks/{model-resolver-362tp65q.js → generate-4mkdw68v.js} +4 -4
- package/dist/chunks/generate-4svnxzqq.js +257 -0
- package/dist/chunks/{model-resolver-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{model-resolver-4xvmh7wp.js → generate-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-resolver-3tvx83bq.js → generate-56m9f56v.js} +25 -25
- package/dist/chunks/{model-resolver-zrbv4gdq.js → generate-5emr5dp8.js} +19 -19
- package/dist/chunks/{model-resolver-an85mpdk.js → generate-5gk89hyb.js} +12 -12
- package/dist/chunks/{model-resolver-cf9s935f.js → generate-5knrbc6f.js} +43 -43
- package/dist/chunks/{model-resolver-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-resolver-b6vsg801.js → generate-5nnwax6m.js} +5 -5
- package/dist/chunks/{model-resolver-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-resolver-zgy84aax.js → generate-5xepaxvw.js} +20 -20
- package/dist/chunks/{model-resolver-cex2vn28.js → generate-5xwxezg3.js} +18 -18
- package/dist/chunks/{model-resolver-t9pmjw8g.js → generate-64pwmkab.js} +9 -9
- package/dist/chunks/{model-resolver-xr3sacq2.js → generate-67b48yf1.js} +32 -32
- package/dist/chunks/{model-resolver-jm58kwny.js → generate-6c8j4tbz.js} +25 -25
- package/dist/chunks/{model-resolver-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-resolver-z0edr6gj.js → generate-6g08cwsb.js} +22 -22
- package/dist/chunks/{model-resolver-gcw2976b.js → generate-6gddga0x.js} +20 -20
- package/dist/chunks/{model-resolver-0anhksjf.js → generate-6mw0z9b9.js} +11 -11
- package/dist/chunks/{model-resolver-6pjqjmy2.js → generate-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-resolver-4c6mfys4.js → generate-6qkfs1hq.js} +1 -1
- package/dist/chunks/{model-resolver-dx6zzgj2.js → generate-6v7f1yd0.js} +27 -27
- package/dist/chunks/{model-resolver-xezg9szt.js → generate-6zfxg6c6.js} +10 -10
- package/dist/chunks/{model-resolver-71ne8d3w.js → generate-6ztc4jbn.js} +8 -8
- package/dist/chunks/{model-resolver-r1rcp1a5.js → generate-7a9ph374.js} +4 -4
- package/dist/chunks/{model-resolver-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-resolver-6xqtcmxs.js → generate-7xg2jm5b.js} +5 -5
- package/dist/chunks/{model-resolver-yh0hw7we.js → generate-87982064.js} +10 -10
- package/dist/chunks/{model-resolver-4kxf6a3x.js → generate-883rwgqp.js} +30 -30
- package/dist/chunks/{model-resolver-my4zabxr.js → generate-8n9x2wf6.js} +2 -2
- package/dist/chunks/{model-resolver-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-resolver-vsgt0m8t.js → generate-8wvgy420.js} +6 -6
- package/dist/chunks/{model-resolver-91rj84md.js → generate-91rj84md.js} +1 -1
- package/dist/chunks/{model-resolver-pkam9c76.js → generate-94j4dkqe.js} +11 -11
- package/dist/chunks/{model-resolver-5ttwsr6z.js → generate-973hqt29.js} +3 -3
- package/dist/chunks/{model-resolver-998yhzzq.js → generate-998yhzzq.js} +3 -3
- package/dist/chunks/{model-resolver-tyxn5m2z.js → generate-9awrcxz4.js} +4 -4
- package/dist/chunks/{model-resolver-gj8x1tda.js → generate-9b28cy4d.js} +5 -5
- package/dist/chunks/{model-resolver-bnjwp1w3.js → generate-9ra49ptr.js} +24 -24
- package/dist/chunks/{model-resolver-b7gsrj05.js → generate-a1phgnt9.js} +14 -14
- package/dist/chunks/{model-resolver-ng4advcs.js → generate-a3t7zwft.js} +43 -43
- package/dist/chunks/{model-resolver-zmwx25fz.js → generate-a5g15581.js} +2 -2
- package/dist/chunks/{model-resolver-8h5ae6e1.js → generate-a5znd7ce.js} +3 -3
- package/dist/chunks/{model-resolver-873tmn1d.js → generate-a7zxg0bg.js} +11 -11
- package/dist/chunks/{model-resolver-rkxhwyxc.js → generate-acamw3g0.js} +12 -12
- package/dist/chunks/{model-resolver-m4cw13px.js → generate-agtp4d9h.js} +30 -30
- package/dist/chunks/{model-resolver-ky0p85ga.js → generate-ah1m9kg9.js} +15 -15
- package/dist/chunks/{model-resolver-c7pkf0mg.js → generate-apkkjdpa.js} +38 -38
- package/dist/chunks/{model-resolver-asaqahta.js → generate-asaqahta.js} +2 -2
- package/dist/chunks/{model-resolver-d9jnkx5k.js → generate-axmhfv8p.js} +5 -5
- package/dist/chunks/{model-resolver-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{model-resolver-kmjzn6q1.js → generate-az4hfc8s.js} +50 -50
- package/dist/chunks/{model-resolver-b0mv4wxm.js → generate-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-resolver-7crfef3m.js → generate-b17b73pv.js} +28 -28
- package/dist/chunks/{model-resolver-fywxn8yw.js → generate-b5p5nngv.js} +50 -50
- package/dist/chunks/{model-resolver-dgebqdnd.js → generate-ba7ngyz7.js} +36 -36
- package/dist/chunks/{model-resolver-nwnd66fk.js → generate-bbym2bqy.js} +3 -3
- package/dist/chunks/{model-resolver-0s4gbdd0.js → generate-bkjvw32t.js} +14 -14
- package/dist/chunks/{model-resolver-xd9cc171.js → generate-bstexjd6.js} +5 -5
- package/dist/chunks/{model-resolver-cs87y13h.js → generate-c1a686j5.js} +8 -8
- package/dist/chunks/{model-resolver-dqgvvwe0.js → generate-c3cfh5w6.js} +9 -9
- package/dist/chunks/{model-resolver-gtxeab11.js → generate-c8ar4m6j.js} +44 -44
- package/dist/chunks/{model-resolver-c9t2ty9q.js → generate-c9t2ty9q.js} +1 -1
- package/dist/chunks/{model-resolver-jf5na7rx.js → generate-cf7jrmsj.js} +5 -5
- package/dist/chunks/{model-resolver-2hdav3qx.js → generate-cr6fwty7.js} +7 -7
- package/dist/chunks/{model-resolver-bm4gstpq.js → generate-crfddmzc.js} +8 -8
- package/dist/chunks/{model-resolver-tm49z4r5.js → generate-ctf5g10g.js} +38 -38
- package/dist/chunks/{model-resolver-w35wzz9x.js → generate-d2dx6a7h.js} +9 -9
- package/dist/chunks/{model-resolver-dv7jmtr8.js → generate-d326b540.js} +9 -9
- package/dist/chunks/{model-resolver-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{model-resolver-jg26tebj.js → generate-d86va4wf.js} +21 -21
- package/dist/chunks/{model-resolver-vxxaf4jx.js → generate-d8qd4w10.js} +11 -11
- package/dist/chunks/{model-resolver-3vvx3qkg.js → generate-d9p590j3.js} +19 -19
- package/dist/chunks/{model-resolver-fe8knzhs.js → generate-df0hqdma.js} +4 -4
- package/dist/chunks/{model-resolver-yk9kn8z0.js → generate-dg96ektr.js} +18 -18
- package/dist/chunks/{model-resolver-r1k9m3eb.js → generate-dkq45v8d.js} +4 -4
- package/dist/chunks/{model-resolver-mhs2q8b0.js → generate-dq2enhqf.js} +34 -34
- package/dist/chunks/{model-resolver-4anvj0nz.js → generate-drqhczqs.js} +89 -89
- package/dist/chunks/{model-resolver-mrejt0vx.js → generate-ds4c1w6p.js} +6 -6
- package/dist/chunks/{model-resolver-atkwrhtv.js → generate-dtjdv03g.js} +4 -4
- package/dist/chunks/{model-resolver-fvyt5ase.js → generate-dw02th3g.js} +3 -3
- package/dist/chunks/{model-resolver-sq4s6wq1.js → generate-dwwyec8z.js} +6 -6
- package/dist/chunks/{model-resolver-0421tmwc.js → generate-dz8hhvgv.js} +9 -9
- package/dist/chunks/{model-resolver-dx2tr0e6.js → generate-e4dtt5ff.js} +11 -11
- package/dist/chunks/{model-resolver-361xprba.js → generate-e4nrxrzc.js} +16 -16
- package/dist/chunks/{model-resolver-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{model-resolver-5brge8v8.js → generate-ecfrjnaf.js} +48 -48
- package/dist/chunks/{model-resolver-nbz0maqw.js → generate-ecq052tn.js} +23 -23
- package/dist/chunks/{model-resolver-w5zwfkq2.js → generate-eez2jsbe.js} +51 -51
- package/dist/chunks/{model-resolver-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-evdtckst.js → generate-f1xnqdyr.js} +4 -4
- package/dist/chunks/{model-resolver-6a4kxdj8.js → generate-f5k7224w.js} +30 -30
- package/dist/chunks/{model-resolver-pb2pfffb.js → generate-f6wfqyz7.js} +10 -10
- package/dist/chunks/{model-resolver-3j7gb19e.js → generate-fcz54ycx.js} +19 -19
- package/dist/chunks/{model-resolver-ehfx068x.js → generate-fdp97wc0.js} +19 -19
- package/dist/chunks/{model-resolver-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-resolver-bh1et42v.js → generate-ffxnyj3q.js} +3 -3
- package/dist/chunks/{model-resolver-a3em8wep.js → generate-fq4px9zp.js} +18 -18
- package/dist/chunks/{model-resolver-fae4enn1.js → generate-fwjbw8c3.js} +13 -13
- package/dist/chunks/{model-resolver-hs0nkh4s.js → generate-fwt74e85.js} +15 -15
- package/dist/chunks/{model-resolver-bbv4y6ft.js → generate-fx06c4yw.js} +29 -29
- package/dist/chunks/{model-resolver-w687dnns.js → generate-fznmdakp.js} +4 -4
- package/dist/chunks/{model-resolver-maxw8zgf.js → generate-g1jpy47d.js} +22 -22
- package/dist/chunks/{model-resolver-a0v55zen.js → generate-g2895gq7.js} +22 -22
- package/dist/chunks/{model-resolver-g5h9c0rr.js → generate-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-resolver-cbeaw478.js → generate-g6p5rgqz.js} +14 -14
- package/dist/chunks/{model-resolver-g1e2r5aa.js → generate-g9ndtp1p.js} +4 -4
- package/dist/chunks/{model-resolver-dp37p1r3.js → generate-gd9xqwfz.js} +1 -1
- package/dist/chunks/{model-resolver-qqe3xj9j.js → generate-gfftbxav.js} +20 -20
- package/dist/chunks/{model-resolver-rg8m9xd0.js → generate-gfj1dh2k.js} +13 -13
- package/dist/chunks/{model-resolver-ag809kpc.js → generate-gn5bzjhx.js} +17 -17
- package/dist/chunks/{model-resolver-gw73nvw6.js → generate-gsyd3cda.js} +11 -11
- package/dist/chunks/{model-resolver-5defca7t.js → generate-gv9rxcjs.js} +19 -19
- package/dist/chunks/{model-resolver-0jqtqcam.js → generate-gxfvg231.js} +13 -13
- package/dist/chunks/{model-resolver-dvg82dp6.js → generate-h9q9d3sq.js} +24 -24
- package/dist/chunks/{model-resolver-ztf6n3de.js → generate-hd3k4wz8.js} +4 -4
- package/dist/chunks/{model-resolver-c1526x78.js → generate-hmmgtkw5.js} +11 -11
- package/dist/chunks/{model-resolver-57y02hse.js → generate-hq3462wm.js} +16 -16
- package/dist/chunks/{model-resolver-gaxzewmp.js → generate-hsdcm9m6.js} +35 -35
- package/dist/chunks/{model-resolver-7wxq9ndj.js → generate-hv0c9xjm.js} +28 -28
- package/dist/chunks/{model-resolver-j113cymg.js → generate-j113cymg.js} +1 -1
- package/dist/chunks/{model-resolver-zp466xy7.js → generate-j8p3npgm.js} +10 -10
- package/dist/chunks/{model-resolver-40fhy2zt.js → generate-jcbtawrq.js} +15 -15
- package/dist/chunks/{model-resolver-0pkr6qt9.js → generate-jddh4vgn.js} +54 -54
- package/dist/chunks/{model-resolver-qeaqse4k.js → generate-jgt5st1g.js} +45 -45
- package/dist/chunks/generate-jh346mvv.js +523 -0
- package/dist/chunks/{model-resolver-ypwr9vv7.js → generate-jj998gzn.js} +39 -39
- package/dist/chunks/{model-resolver-qecz1syp.js → generate-jzdfcbw4.js} +84 -84
- package/dist/chunks/generate-jztn5z23.js +18 -0
- package/dist/chunks/{model-resolver-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{model-resolver-h3c848hf.js → generate-ka2n5pfv.js} +33 -33
- package/dist/chunks/{model-resolver-ad0b5xxd.js → generate-kdx3nhfk.js} +12 -12
- package/dist/chunks/{model-resolver-1dpax7s7.js → generate-kmj6meg3.js} +37 -37
- package/dist/chunks/{model-resolver-cn7xf0c3.js → generate-kywaegby.js} +5 -5
- package/dist/chunks/{model-resolver-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{model-resolver-g7esga4v.js → generate-m37sd98t.js} +7 -7
- package/dist/chunks/{model-resolver-pja7jmt2.js → generate-m416erh4.js} +11 -11
- package/dist/chunks/{model-resolver-gs6sdnbe.js → generate-m6n3gz95.js} +21 -21
- package/dist/chunks/{model-resolver-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{model-resolver-me5bcav6.js → generate-me5bcav6.js} +1 -1
- package/dist/chunks/{model-resolver-7p0hmyjt.js → generate-mfmv0kv1.js} +7 -7
- package/dist/chunks/{model-resolver-tn41ynre.js → generate-mpjcpqpe.js} +21 -21
- package/dist/chunks/{model-resolver-tasvem1v.js → generate-mt3ysty9.js} +6 -6
- package/dist/chunks/{model-resolver-w26t1m11.js → generate-mtyjk5mv.js} +11 -11
- package/dist/chunks/{model-resolver-n0p0277s.js → generate-n0p0277s.js} +1 -1
- package/dist/chunks/{model-resolver-6czmj677.js → generate-n1pz9w08.js} +4 -4
- package/dist/chunks/{model-resolver-dy9wt3zt.js → generate-n521w511.js} +70 -70
- package/dist/chunks/{model-resolver-3gs3gk71.js → generate-naa9f1yr.js} +14 -14
- package/dist/chunks/{model-resolver-770pw0s1.js → generate-nah043kf.js} +4 -4
- package/dist/chunks/{model-resolver-5w7y85jn.js → generate-nc0t5309.js} +20 -20
- package/dist/chunks/{model-resolver-f6j7cyhq.js → generate-np41maqj.js} +18 -18
- package/dist/chunks/{model-resolver-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{model-resolver-p0tsr9h6.js → generate-p0tsr9h6.js} +1 -1
- package/dist/chunks/{model-resolver-aj85frbb.js → generate-p1bnnv0d.js} +11 -11
- package/dist/chunks/{model-resolver-gzrpk3yh.js → generate-p3my5sye.js} +12 -12
- package/dist/chunks/{model-resolver-p7vhpwh8.js → generate-p7vhpwh8.js} +1 -1
- package/dist/chunks/{model-resolver-exrjm4ta.js → generate-p910tjw3.js} +4 -4
- package/dist/chunks/{model-resolver-dh62xe4r.js → generate-pc1v25hk.js} +3 -3
- package/dist/chunks/{model-resolver-v7vzjxxh.js → generate-pdsqxfs4.js} +29 -29
- package/dist/chunks/{model-resolver-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-jdgy95a6.js → generate-ps3ej18z.js} +4 -4
- package/dist/chunks/{model-resolver-3f2dq5js.js → generate-q60vxn6h.js} +30 -30
- package/dist/chunks/{model-resolver-fchqce7y.js → generate-q62c5m1h.js} +40 -40
- package/dist/chunks/{model-resolver-0sd3e6sm.js → generate-qd7381sw.js} +9 -9
- package/dist/chunks/{model-resolver-4755v7r3.js → generate-qe8930r1.js} +14 -14
- package/dist/chunks/{model-resolver-qjgzc4b4.js → generate-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-resolver-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-resolver-dr3grpx5.js → generate-r3zyq36m.js} +13 -13
- package/dist/chunks/{model-resolver-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-resolver-zadgmz3x.js → generate-rdhjazzg.js} +24 -24
- package/dist/chunks/{model-resolver-q1fncbax.js → generate-rky3kepx.js} +10 -10
- package/dist/chunks/{model-resolver-jcqm84fr.js → generate-rmt6m6se.js} +9 -9
- package/dist/chunks/{model-resolver-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-resolver-cxrgknsm.js → generate-rv8w38an.js} +9 -9
- package/dist/chunks/{model-resolver-r3jydfqs.js → generate-s3sx9mn6.js} +13 -13
- package/dist/chunks/{model-resolver-4m6zstw0.js → generate-s84dsypd.js} +6 -6
- package/dist/chunks/{model-resolver-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-resolver-vywmmb7d.js → generate-srcm619j.js} +13 -13
- package/dist/chunks/{model-resolver-f6mq62gx.js → generate-t6x4gq5g.js} +15 -15
- package/dist/chunks/{model-resolver-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-resolver-kmzgegqq.js → generate-tg1vr1qt.js} +8 -8
- package/dist/chunks/{model-resolver-tw8zr1ps.js → generate-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-resolver-twv2r8f4.js → generate-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-resolver-9ts33eg0.js → generate-tycew84m.js} +32 -32
- package/dist/chunks/{model-resolver-817tby3n.js → generate-v1n51q4a.js} +9 -9
- package/dist/chunks/{model-resolver-d6dkcx5p.js → generate-v2ekcwaa.js} +8 -8
- package/dist/chunks/{model-resolver-k2x2dsy8.js → generate-v52mmt0f.js} +5 -5
- package/dist/chunks/{model-resolver-66rk6f56.js → generate-v5prxdmf.js} +9 -9
- package/dist/chunks/{model-resolver-vd3b3yk9.js → generate-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-resolver-t5x9tta9.js → generate-vehp2e4d.js} +16 -16
- package/dist/chunks/{model-resolver-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-9afz5xhg.js → generate-vfgay4tf.js} +19 -19
- package/dist/chunks/{model-resolver-fxhha7v6.js → generate-vfn6hbth.js} +9 -9
- package/dist/chunks/{model-resolver-b6x45btx.js → generate-vhwf8nac.js} +8 -8
- package/dist/chunks/{model-resolver-frxcbkbz.js → generate-vhy1jp8z.js} +27 -27
- package/dist/chunks/{model-resolver-wekz2jy3.js → generate-vrhy8dh6.js} +6 -6
- package/dist/chunks/{model-resolver-vnfvdagd.js → generate-vwz214c8.js} +35 -35
- package/dist/chunks/{model-resolver-42pj4rzv.js → generate-vzy7qmck.js} +25 -25
- package/dist/chunks/{model-resolver-parpa42j.js → generate-w3d65hzj.js} +2 -2
- package/dist/chunks/{model-resolver-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-84pze0j7.js → generate-w4pz5j85.js} +21 -21
- package/dist/chunks/{model-resolver-dnenxkzx.js → generate-w72jy28c.js} +7 -7
- package/dist/chunks/{model-resolver-76cb1hcw.js → generate-w8qtt4th.js} +4 -4
- package/dist/chunks/{model-resolver-j9hjqqep.js → generate-w923jztq.js} +20 -20
- package/dist/chunks/{model-resolver-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-dfks5x0x.js → generate-wmwt0t0m.js} +17 -17
- package/dist/chunks/{model-resolver-z8zh1sht.js → generate-wnv14c0b.js} +22 -22
- package/dist/chunks/{model-resolver-s67gnmqz.js → generate-wybahy8v.js} +32 -32
- package/dist/chunks/{model-resolver-tvxppb48.js → generate-x06crd5t.js} +27 -27
- package/dist/chunks/{model-resolver-ntz68qz4.js → generate-x774aw49.js} +8 -8
- package/dist/chunks/{model-resolver-hhs2jvjz.js → generate-x7fdz9fh.js} +20 -20
- package/dist/chunks/{model-resolver-s8pwnmrf.js → generate-x8hhwygw.js} +34 -34
- package/dist/chunks/{model-resolver-h7r3kzq2.js → generate-xatr71eh.js} +47 -47
- package/dist/chunks/{model-resolver-y8mr6xph.js → generate-xevjgmtb.js} +14 -14
- package/dist/chunks/{model-resolver-zsw153cf.js → generate-xf011dtc.js} +16 -16
- package/dist/chunks/{model-resolver-8eay0v1g.js → generate-xjq3zqqg.js} +11 -11
- package/dist/chunks/{model-resolver-7454dw3e.js → generate-xk77ac0a.js} +14 -14
- package/dist/chunks/{model-resolver-m4eq7axd.js → generate-xs6sb18z.js} +17 -17
- package/dist/chunks/{model-resolver-tpbnagbb.js → generate-y1bsf4pc.js} +30 -30
- package/dist/chunks/{model-resolver-e5dqjz6v.js → generate-y2tacs4v.js} +6 -6
- package/dist/chunks/{model-resolver-6gsynj7k.js → generate-y6wjeqxz.js} +15 -15
- package/dist/chunks/{model-resolver-xj1dzt64.js → generate-y8j3s4v0.js} +4 -4
- package/dist/chunks/{model-resolver-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-resolver-r2q802mc.js → generate-ybwdqt9k.js} +10 -10
- package/dist/chunks/{model-resolver-hqr24qw0.js → generate-yhjes8yv.js} +5 -5
- package/dist/chunks/{model-resolver-7we14xxk.js → generate-ynm9hr00.js} +34 -34
- package/dist/chunks/{model-resolver-9ygq16qa.js → generate-yx31kd0w.js} +20 -20
- package/dist/chunks/{model-resolver-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-158zhnz6.js → generate-z2a2ye1r.js} +12 -12
- package/dist/chunks/{model-resolver-qc854yns.js → generate-z37k9505.js} +16 -16
- package/dist/chunks/{model-resolver-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{model-resolver-hrwraf01.js → generate-zax9hrrj.js} +182 -182
- package/dist/chunks/{model-resolver-zba5tm1j.js → generate-zba5tm1j.js} +1 -1
- package/dist/chunks/{model-resolver-2vwdzrer.js → generate-zgcf70k7.js} +12 -12
- package/dist/chunks/{model-resolver-zkg84ctx.js → generate-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-resolver-sznyev98.js → generate-zw4pk1bw.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +3 -3
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- 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 +3 -3
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0207mz92.js +0 -523
- package/dist/chunks/model-resolver-53mdf58s.js +0 -257
- package/dist/chunks/model-resolver-grzehpz7.js +0 -18
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-x774aw49.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./generate-kdx3nhfk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./generate-fx06c4yw.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-zba5tm1j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-f5k7224w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service78
|
|
21
|
+
} from "./generate-f6wfqyz7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-883rwgqp.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-ynm9hr00.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve4
|
|
33
|
+
} from "./generate-s84dsypd.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
UnavailableError2,
|
|
37
|
+
Service13
|
|
38
|
+
} from "./generate-4kdcmdga.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
ID16,
|
|
41
|
+
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-x06crd5t.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -78,7 +78,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
78
78
|
var RemoteResponse = Schema.Struct({
|
|
79
79
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
80
80
|
websearch: Schema.Struct({
|
|
81
|
-
providerID:
|
|
81
|
+
providerID: ID16
|
|
82
82
|
}).pipe(Schema.optional),
|
|
83
83
|
mcp: Schema.Struct({
|
|
84
84
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID12.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -201,11 +201,11 @@ var OpencodePlugin2 = define({
|
|
|
201
201
|
id: "opencode.provider.opencode",
|
|
202
202
|
effect: Effect.fn(function* (ctx) {
|
|
203
203
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
204
|
-
const bus = yield*
|
|
204
|
+
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service78;
|
|
208
|
+
const voice = yield* Service13;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
|
|
|
257
257
|
}).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
|
|
258
258
|
duration: Duration.seconds(20),
|
|
259
259
|
orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
|
|
260
|
-
}), Effect.mapError((cause) => new
|
|
260
|
+
}), Effect.mapError((cause) => new UnavailableError2({
|
|
261
261
|
service: "opencode",
|
|
262
262
|
message: cause instanceof Error ? cause.message : String(cause)
|
|
263
263
|
})), Effect.flatMap((reply) => {
|
|
264
264
|
if (reply.status >= 200 && reply.status < 300)
|
|
265
265
|
return Effect.succeed(reply.text);
|
|
266
266
|
if (reply.status === 401)
|
|
267
|
-
return Effect.fail(new
|
|
267
|
+
return Effect.fail(new UnavailableError2({ service: "opencode", message: `${signedOutMessage}.` }));
|
|
268
268
|
const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
|
|
269
|
-
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new
|
|
269
|
+
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError2({ service: "opencode", message }));
|
|
270
270
|
}));
|
|
271
271
|
return {
|
|
272
272
|
integration: "opencode",
|
|
273
273
|
models: offer.models,
|
|
274
274
|
workspace: offer.workspace,
|
|
275
|
-
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new
|
|
275
|
+
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError2({
|
|
276
276
|
service: "opencode",
|
|
277
277
|
message: "OpenCode Console returned an invalid voice session"
|
|
278
278
|
})))), Effect.map((created) => ({
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID12.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -344,7 +344,7 @@ var OpencodePlugin2 = define({
|
|
|
344
344
|
providers.models.update(providerID, modelID, (model) => {
|
|
345
345
|
if (config.capabilities?.reasoning !== undefined)
|
|
346
346
|
model.variants = [
|
|
347
|
-
...
|
|
347
|
+
...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
348
348
|
];
|
|
349
349
|
for (const variant of config.variants ?? []) {
|
|
350
350
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID11.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID11.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -420,7 +420,7 @@ var OpencodePlugin2 = define({
|
|
|
420
420
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
421
421
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
422
422
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
423
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
423
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
|
|
424
424
|
query: input.query,
|
|
425
425
|
providerID: descriptor.providerID
|
|
426
426
|
}));
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-fx06c4yw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-f5k7224w.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID12.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
13
13
|
var system_default = `You are an AI agent running in OpenCode, a coding agent harness. Help the user accomplish their goals using the tools you have available.
|
|
@@ -28,10 +28,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
function make15(tools) {
|
|
32
|
+
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function render3(prompt, tools) {
|
|
35
35
|
const instructions = [];
|
|
36
36
|
if (tools.includes("shell")) {
|
|
37
37
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -46,4 +46,4 @@ function render2(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./generate-eez2jsbe.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./generate-jgt5st1g.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin21
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin21 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service49;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin41 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin21, exports_compaction };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-x774aw49.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./generate-kdx3nhfk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./generate-fx06c4yw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-f5k7224w.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID11,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-883rwgqp.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-3jp652nn.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID12.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID12.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -168,7 +168,7 @@ var headless = (app) => ({
|
|
|
168
168
|
var OpenAIPlugin3 = define({
|
|
169
169
|
id: "opencode.provider.openai",
|
|
170
170
|
effect: Effect.fn(function* (ctx) {
|
|
171
|
-
const bus = yield*
|
|
171
|
+
const bus = yield* Service85;
|
|
172
172
|
const loading = Semaphore.makeUnsafe(1);
|
|
173
173
|
let chatgpt;
|
|
174
174
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID11.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID11.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID11.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
|
|
|
236
236
|
}));
|
|
237
237
|
evt.headers.originator = "opencode";
|
|
238
238
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID11.openai });
|
|
240
240
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
241
241
|
delete evt.options.maxTokens;
|
|
242
242
|
});
|
|
243
243
|
for (const name of ["context", "compaction"])
|
|
244
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
244
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID11.openai });
|
|
245
245
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
246
|
-
yield* bus.subscribe(
|
|
246
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
function headers(contentType, app) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-5emr5dp8.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-z38nccrw.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
17
17
|
__export(exports_parse, {
|
|
18
18
|
ShellParse: () => exports_parse,
|
|
19
|
-
scan: () =>
|
|
19
|
+
scan: () => scan3,
|
|
20
20
|
scanPortable: () => scanPortable2
|
|
21
21
|
});
|
|
22
22
|
import { Effect } from "effect";
|
|
@@ -166,7 +166,7 @@ var ARITY = {
|
|
|
166
166
|
"yarn run": 3
|
|
167
167
|
};
|
|
168
168
|
var PREFIX_LENGTH = Math.max(...Object.values(ARITY));
|
|
169
|
-
var
|
|
169
|
+
var scan3 = Effect.fnUntraced(function* (command, shell, cwd, options) {
|
|
170
170
|
if (options?.portable || (options?.wasm ?? shellParserWasm).bash === "")
|
|
171
171
|
return yield* scanPortable2(command, shell, cwd);
|
|
172
172
|
return yield* scanLegacy(command, shell, cwd);
|
|
@@ -353,4 +353,4 @@ async function initialize() {
|
|
|
353
353
|
return { bash, ps };
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
-
export {
|
|
356
|
+
export { scan3, scanPortable2, exports_parse };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bbym2bqy.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-qjgzc4b4.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service85,
|
|
10
|
+
node89
|
|
11
|
+
} from "./generate-kdx3nhfk.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2,
|
|
20
20
|
SessionInboxTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-998yhzzq.js";
|
|
22
22
|
import {
|
|
23
23
|
decodeMessageRowSync2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-j8p3npgm.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info7,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service38,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer18,
|
|
49
49
|
list: () => list3,
|
|
50
50
|
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node40,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info7,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -159,12 +159,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service38 extends Context.Service()("@opencode/SessionInbox") {
|
|
163
163
|
}
|
|
164
164
|
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
165
165
|
const database = yield* Service86;
|
|
166
166
|
const db = database.db;
|
|
167
|
-
const bus = yield*
|
|
167
|
+
const bus = yield* Service85;
|
|
168
168
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
169
169
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
170
170
|
if (existing === undefined)
|
|
@@ -181,7 +181,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
181
181
|
inboxID: request.id,
|
|
182
182
|
sessionID: request.sessionID,
|
|
183
183
|
item: request.item
|
|
184
|
-
}).pipe(Effect.map((event) =>
|
|
184
|
+
}).pipe(Effect.map((event) => Info7.make({
|
|
185
185
|
id: request.id,
|
|
186
186
|
sessionID: request.sessionID,
|
|
187
187
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -235,8 +235,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
235
235
|
queue
|
|
236
236
|
};
|
|
237
237
|
});
|
|
238
|
-
var
|
|
239
|
-
var
|
|
238
|
+
var layer18 = Layer.effect(Service38, make17());
|
|
239
|
+
var node40 = makeGlobalNode({ service: Service38, layer: layer18, deps: [node90, node89] });
|
|
240
240
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
241
241
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
242
242
|
if (message !== undefined)
|
|
@@ -333,4 +333,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
333
333
|
return rows;
|
|
334
334
|
}));
|
|
335
335
|
|
|
336
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
336
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service38, make17, layer18, node40, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-n0p0277s.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make9, exports_retry };
|