@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,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-ffxnyj3q.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-y2tacs4v.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-n1pz9w08.js";
|
|
18
18
|
import {
|
|
19
19
|
messageToText2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-me5bcav6.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/session/history.ts
|
|
26
26
|
var exports_history = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_history, {
|
|
|
32
32
|
entriesForRunner: () => entriesForRunner2,
|
|
33
33
|
firstUserMessage: () => firstUserMessage2,
|
|
34
34
|
isNativeCompaction: () => isNativeCompaction2,
|
|
35
|
-
load: () =>
|
|
35
|
+
load: () => load5,
|
|
36
36
|
preview: () => preview2
|
|
37
37
|
});
|
|
38
38
|
import { and, asc, desc, eq, gte, lt, or, sql } from "drizzle-orm";
|
|
@@ -88,7 +88,7 @@ var withRecentText = Effect.fnUntraced(function* (db, sessionID, entries) {
|
|
|
88
88
|
`);
|
|
89
89
|
return [{ ...first, message: { ...compaction, metadata: { ...compaction.metadata, recent } } }, ...entries.slice(1)];
|
|
90
90
|
});
|
|
91
|
-
var
|
|
91
|
+
var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
92
92
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
93
93
|
});
|
|
94
94
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -124,4 +124,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
124
124
|
return message?.type === "user" ? message : undefined;
|
|
125
125
|
});
|
|
126
126
|
|
|
127
|
-
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2,
|
|
127
|
+
export { isNativeCompaction2, NativeWindow2, decodeMessageRowSync2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node70
|
|
9
|
+
} from "./generate-9ra49ptr.js";
|
|
10
10
|
import {
|
|
11
11
|
Content3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-y1bsf4pc.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-2z1j29yd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service33,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node36,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service33 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service67;
|
|
335
|
+
return Service33.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node36 = makeLocationNode({ service: Service33, layer, deps: [node70] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service33, read2, node36, exports_read_filesystem };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bbym2bqy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./generate-kdx3nhfk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service36,
|
|
11
|
+
node38
|
|
12
|
+
} from "./generate-dwwyec8z.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node87
|
|
20
|
+
} from "./generate-1mtcyeq8.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-z37k9505.js";
|
|
24
24
|
import {
|
|
25
25
|
Service53,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
node56
|
|
27
|
+
} from "./generate-v52mmt0f.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError8
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-ffxnyj3q.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service35
|
|
39
|
+
} from "./generate-hd3k4wz8.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service57,
|
|
42
|
+
node60
|
|
43
|
+
} from "./generate-g6p5rgqz.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service38,
|
|
48
|
+
node40,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./generate-mpjcpqpe.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service34,
|
|
53
|
+
node37
|
|
54
|
+
} from "./generate-apkkjdpa.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node31
|
|
57
|
+
} from "./generate-g1jpy47d.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./generate-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service21,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node24
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service21 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
91
|
+
const projects = yield* Service83;
|
|
92
92
|
const locations = yield* Service53;
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
93
|
+
const store = yield* Service57;
|
|
94
|
+
const execution = yield* Service34;
|
|
95
|
+
const instances = yield* Service36;
|
|
96
|
+
const admission = yield* Service38;
|
|
97
97
|
const database = yield* Service86;
|
|
98
|
-
const bus = yield*
|
|
98
|
+
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service35.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service21.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node24 = makeGlobalNode({
|
|
167
|
+
service: Service21,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node87,
|
|
173
|
+
node56,
|
|
174
|
+
node60,
|
|
175
|
+
node37,
|
|
176
|
+
node38,
|
|
177
|
+
node40,
|
|
178
178
|
node90,
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
node89,
|
|
180
|
+
node31
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service21, node24, exports_move };
|
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bbym2bqy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./generate-kdx3nhfk.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-vd3b3yk9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID8,
|
|
14
|
+
Service59,
|
|
15
|
+
node62
|
|
16
|
+
} from "./generate-6c8j4tbz.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-p015t6z3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service71,
|
|
22
|
+
node74
|
|
23
|
+
} from "./generate-ynm9hr00.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-8wtp7s3z.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
truncateToolOutput2,
|
|
34
34
|
serializeToolContent2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-me5bcav6.js";
|
|
36
36
|
import {
|
|
37
37
|
isNativeCompaction2,
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
load5
|
|
39
|
+
} from "./generate-j8p3npgm.js";
|
|
40
40
|
import {
|
|
41
41
|
toLLMMessages2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./generate-w3d65hzj.js";
|
|
43
43
|
import {
|
|
44
44
|
outputLimit2,
|
|
45
45
|
baseTranscript2,
|
|
46
46
|
unsupportedParts2,
|
|
47
47
|
boundImages2,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service27,
|
|
49
|
+
node29
|
|
50
|
+
} from "./generate-agtp4d9h.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service37,
|
|
53
|
+
node39
|
|
54
|
+
} from "./generate-s3sx9mn6.js";
|
|
55
55
|
import {
|
|
56
56
|
isRetryable2,
|
|
57
57
|
policy2
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./generate-mt3ysty9.js";
|
|
59
59
|
import {
|
|
60
60
|
toSessionError2,
|
|
61
61
|
contentFilterError2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./generate-cf7jrmsj.js";
|
|
63
63
|
import {
|
|
64
64
|
calculateCost2,
|
|
65
65
|
record2,
|
|
66
66
|
add2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./generate-tw8zr1ps.js";
|
|
68
68
|
import {
|
|
69
69
|
__export
|
|
70
|
-
} from "./
|
|
70
|
+
} from "./generate-9rqn6x4v.js";
|
|
71
71
|
|
|
72
72
|
// src/session/compaction.ts
|
|
73
73
|
var exports_compaction2 = {};
|
|
74
74
|
__export(exports_compaction2, {
|
|
75
|
-
Service: () =>
|
|
75
|
+
Service: () => Service9,
|
|
76
76
|
SessionCompaction: () => exports_compaction2,
|
|
77
77
|
buildPrompt: () => buildPrompt2,
|
|
78
78
|
estimateContext: () => estimateContext2,
|
|
79
79
|
estimatePrompt: () => estimatePrompt2,
|
|
80
80
|
layer: () => layer7,
|
|
81
|
-
node: () =>
|
|
81
|
+
node: () => node11,
|
|
82
82
|
recentUserMessages: () => recentUserMessages2
|
|
83
83
|
});
|
|
84
84
|
import {
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "@opencode/ai";
|
|
95
95
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
96
96
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
97
|
-
class
|
|
97
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
98
98
|
}
|
|
99
99
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
100
100
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -174,14 +174,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
174
174
|
};
|
|
175
175
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
176
176
|
var LEGACY_HEADING = "## Additional Context";
|
|
177
|
-
var layer7 = Layer.effect(
|
|
178
|
-
const agents = yield*
|
|
179
|
-
const bus = yield*
|
|
177
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
178
|
+
const agents = yield* Service59;
|
|
179
|
+
const bus = yield* Service85;
|
|
180
180
|
const llm = yield* LLMClient.Service;
|
|
181
|
-
const catalog = yield*
|
|
182
|
-
const models = yield*
|
|
181
|
+
const catalog = yield* Service71;
|
|
182
|
+
const models = yield* Service37;
|
|
183
183
|
const db = (yield* Service86).db;
|
|
184
|
-
const requests = yield*
|
|
184
|
+
const requests = yield* Service27;
|
|
185
185
|
const state = create3({
|
|
186
186
|
name: "session-compaction",
|
|
187
187
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -199,7 +199,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
199
199
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
200
200
|
return { status: "skipped" };
|
|
201
201
|
const native = context.model.compaction?.type === "native";
|
|
202
|
-
const agent = native ? undefined : yield* agents.get(
|
|
202
|
+
const agent = native ? undefined : yield* agents.get(ID8.make("compaction"));
|
|
203
203
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
204
204
|
return;
|
|
205
205
|
})))) ?? context.model;
|
|
@@ -274,7 +274,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
274
274
|
const send = (request) => {
|
|
275
275
|
if (LLMClient.canCompact(request, { mechanism: "trigger" })) {
|
|
276
276
|
return Effect.gen(function* () {
|
|
277
|
-
const history = yield*
|
|
277
|
+
const history = yield* load5(db, context.session.id, "local").pipe(Effect.orDie);
|
|
278
278
|
const retained = recentUserMessages2(history, context.model, keep);
|
|
279
279
|
const response = yield* llm.compact(request, { ...prepared.options, mechanism: "trigger" });
|
|
280
280
|
return yield* toResult([...retained, Message.assistant(response.checkpoint)], response.usage);
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service9.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
482
|
+
var node11 = makeLocationNode({
|
|
483
|
+
service: Service9,
|
|
484
484
|
layer: layer7,
|
|
485
|
-
deps: [
|
|
485
|
+
deps: [node62, node89, node90, llmClient2, node74, node29, node39]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -632,4 +632,4 @@ var estimateMedia = (mime) => {
|
|
|
632
632
|
return 0;
|
|
633
633
|
};
|
|
634
634
|
|
|
635
|
-
export {
|
|
635
|
+
export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|