@opencode/core 0.0.0-dev-21821 → 0.0.0-dev-21824
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 +83 -83
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{state-r2y2r2h5.js → model-resolver-0ak2zsy7.js} +10 -10
- package/dist/chunks/{state-503es954.js → model-resolver-0b24q0cx.js} +16 -16
- package/dist/chunks/{state-49xna53c.js → model-resolver-0jc0zze9.js} +9 -9
- package/dist/chunks/{state-jrwc8w57.js → model-resolver-0mpqe4g5.js} +14 -14
- package/dist/chunks/{state-b7jmvbzq.js → model-resolver-0z2x41ky.js} +17 -17
- package/dist/chunks/{state-exhg2pyt.js → model-resolver-10efznhb.js} +13 -13
- package/dist/chunks/{state-4k1t9mxy.js → model-resolver-10pb4aek.js} +13 -13
- package/dist/chunks/{state-49chts1v.js → model-resolver-11y6r1g0.js} +20 -20
- package/dist/chunks/{state-tv6f3a3e.js → model-resolver-12vp2fj6.js} +21 -21
- package/dist/chunks/{state-hy8c1z76.js → model-resolver-160yv0cs.js} +8 -8
- package/dist/chunks/{state-2pqdxqk3.js → model-resolver-1bcx7d2f.js} +8 -8
- package/dist/chunks/{state-yjdnphb5.js → model-resolver-1s53h09z.js} +17 -17
- package/dist/chunks/{state-tr3b758d.js → model-resolver-1sbnnat1.js} +15 -15
- package/dist/chunks/{state-gtxfg6p1.js → model-resolver-1t4kmtd0.js} +11 -11
- package/dist/chunks/{state-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{state-nqykckqs.js → model-resolver-1y1rj8zc.js} +28 -28
- package/dist/chunks/{state-5ez0dp37.js → model-resolver-228bjbav.js} +2 -2
- package/dist/chunks/{state-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
- package/dist/chunks/{state-fw65n7rt.js → model-resolver-29twwrpw.js} +19 -19
- package/dist/chunks/{state-m1w08pzq.js → model-resolver-2nasskxr.js} +35 -35
- package/dist/chunks/{state-ggp1yva8.js → model-resolver-2t8c4xp2.js} +8 -8
- package/dist/chunks/{state-2z1j29yd.js → model-resolver-2z1j29yd.js} +1 -1
- package/dist/chunks/{state-w87973gh.js → model-resolver-33fvch51.js} +1 -1
- package/dist/chunks/{state-s4fqh25a.js → model-resolver-39teg3wn.js} +28 -28
- package/dist/chunks/{state-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
- package/dist/chunks/{state-hdnjkj1d.js → model-resolver-3d1a3cpa.js} +19 -19
- package/dist/chunks/{state-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{state-ce5fknq2.js → model-resolver-3tt1qkhr.js} +5 -5
- package/dist/chunks/{state-jjx6aha5.js → model-resolver-3wyhrqfb.js} +8 -8
- package/dist/chunks/{state-6avyng2x.js → model-resolver-3x2erv17.js} +6 -6
- package/dist/chunks/{state-40za9wsf.js → model-resolver-40za9wsf.js} +2 -2
- package/dist/chunks/{state-c5stsejj.js → model-resolver-418q3ycz.js} +56 -56
- package/dist/chunks/{state-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{state-zap846dn.js → model-resolver-4wb8q865.js} +27 -27
- package/dist/chunks/{state-4xvmh7wp.js → model-resolver-4xvmh7wp.js} +3 -3
- package/dist/chunks/{state-gtz18rwj.js → model-resolver-5cy8hwkn.js} +19 -19
- package/dist/chunks/{state-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-st147jaz.js → model-resolver-5nb7nmf0.js} +13 -13
- package/dist/chunks/{state-4kpnky1c.js → model-resolver-5nbxbk6s.js} +10 -10
- package/dist/chunks/{state-hvwvq3df.js → model-resolver-5r72z9dp.js} +5 -5
- package/dist/chunks/{state-mpd21h1g.js → model-resolver-5wcnt0wa.js} +9 -9
- package/dist/chunks/{state-4eknyzsm.js → model-resolver-5znn373e.js} +3 -3
- package/dist/chunks/{state-p7vhpwh8.js → model-resolver-5zrxpy3q.js} +5 -5
- package/dist/chunks/{state-4awm4drz.js → model-resolver-5zwkbtbg.js} +12 -12
- package/dist/chunks/{state-61ennm6n.js → model-resolver-61ennm6n.js} +1 -1
- package/dist/chunks/{state-adc3yk6d.js → model-resolver-61fq8ets.js} +20 -20
- package/dist/chunks/{state-qgrec3y3.js → model-resolver-630f2syh.js} +41 -41
- package/dist/chunks/{state-5t1vec6f.js → model-resolver-63ye1ehg.js} +10 -10
- package/dist/chunks/{state-rfhngetd.js → model-resolver-65q1a8c2.js} +2 -2
- package/dist/chunks/{state-dta660tg.js → model-resolver-69z9tmq3.js} +11 -11
- package/dist/chunks/{state-94q7ag8d.js → model-resolver-6ejkr8wa.js} +23 -23
- package/dist/chunks/{state-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{state-j9e6sx0d.js → model-resolver-6jm5dfm3.js} +9 -9
- package/dist/chunks/{state-80jbgczm.js → model-resolver-6k9kp4xt.js} +16 -16
- package/dist/chunks/{state-6pjqjmy2.js → model-resolver-6pjqjmy2.js} +1 -1
- package/dist/chunks/{state-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
- package/dist/chunks/{state-2rqvw2mf.js → model-resolver-78dab631.js} +32 -32
- package/dist/chunks/{state-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-2ppa869z.js → model-resolver-7eq1vvbj.js} +10 -10
- package/dist/chunks/{state-8371pj2x.js → model-resolver-7j9fhv60.js} +6 -6
- package/dist/chunks/{state-jvnvsvj6.js → model-resolver-7jehd3qf.js} +15 -15
- package/dist/chunks/{state-wc8m166b.js → model-resolver-7jtzgymz.js} +2 -2
- package/dist/chunks/{state-4349p72q.js → model-resolver-7m6e6bj4.js} +46 -46
- package/dist/chunks/{state-c8gsdbv5.js → model-resolver-7nbsn3c1.js} +11 -11
- package/dist/chunks/{state-p5k0b6xz.js → model-resolver-7qnz14k0.js} +42 -42
- package/dist/chunks/{state-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{state-dad9fjtp.js → model-resolver-7whwbhx2.js} +2 -2
- package/dist/chunks/model-resolver-7ydrh6n0.js +517 -0
- package/dist/chunks/{state-wh4zer6t.js → model-resolver-803gsyg1.js} +21 -21
- package/dist/chunks/{state-0zn7pq1y.js → model-resolver-82ja67e9.js} +8 -8
- package/dist/chunks/{state-weh1a0nb.js → model-resolver-83w2q382.js} +30 -30
- package/dist/chunks/{state-bktwhx9z.js → model-resolver-86cab14v.js} +18 -18
- package/dist/chunks/{state-0czbrqz1.js → model-resolver-8eyz045r.js} +47 -47
- package/dist/chunks/{state-vnxcbc78.js → model-resolver-8h7ezeqv.js} +5 -5
- package/dist/chunks/{state-xbhwtc00.js → model-resolver-8j00d0n5.js} +12 -12
- package/dist/chunks/{state-ady00g1q.js → model-resolver-8kqcsjtz.js} +14 -14
- package/dist/chunks/{state-rddythdj.js → model-resolver-8m56m6bs.js} +13 -13
- package/dist/chunks/{state-80e17k03.js → model-resolver-8qhr1qgv.js} +15 -15
- package/dist/chunks/{state-xemekp33.js → model-resolver-8sktcs9h.js} +4 -4
- package/dist/chunks/{state-3dsdetck.js → model-resolver-8t76f5pn.js} +6 -6
- package/dist/chunks/{state-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{state-pjwfm23k.js → model-resolver-8y5hzfxe.js} +11 -11
- package/dist/chunks/{state-91rj84md.js → model-resolver-91rj84md.js} +1 -1
- package/dist/chunks/{state-p02wxyye.js → model-resolver-9bp57grk.js} +52 -52
- package/dist/chunks/{state-9cx9sm2q.js → model-resolver-9cx9sm2q.js} +1 -1
- package/dist/chunks/{state-vyzzfsct.js → model-resolver-9hpb6mzf.js} +15 -15
- package/dist/chunks/{state-sf02nxf4.js → model-resolver-af84d9dx.js} +13 -13
- package/dist/chunks/{state-szcgc7h4.js → model-resolver-afmnpta1.js} +5 -5
- package/dist/chunks/{state-wfrb9j0d.js → model-resolver-afwwx8by.js} +15 -15
- package/dist/chunks/{state-hb48s5x4.js → model-resolver-ah5t8643.js} +29 -29
- package/dist/chunks/{state-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
- package/dist/chunks/{state-ncs6r1yk.js → model-resolver-akea24pr.js} +18 -18
- package/dist/chunks/{state-12k1n0af.js → model-resolver-asn1derg.js} +14 -14
- package/dist/chunks/{state-81jtk0d4.js → model-resolver-atw6zx0t.js} +30 -30
- package/dist/chunks/{state-b0mv4wxm.js → model-resolver-b0mv4wxm.js} +2 -2
- package/dist/chunks/{state-9bgr5st8.js → model-resolver-b45qxgvc.js} +11 -11
- package/dist/chunks/{state-g3azxf0z.js → model-resolver-b53a2435.js} +18 -18
- package/dist/chunks/{state-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
- package/dist/chunks/{state-4q1b57yv.js → model-resolver-bf131yvm.js} +4 -4
- package/dist/chunks/model-resolver-bnarqm09.js +261 -0
- package/dist/chunks/{state-sjc7ghj1.js → model-resolver-bqqm0g8t.js} +6 -6
- package/dist/chunks/{state-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
- package/dist/chunks/{state-ya7cyy7h.js → model-resolver-bt2mfhwt.js} +5 -5
- package/dist/chunks/{state-73sjrw23.js → model-resolver-bx5t9whz.js} +23 -23
- package/dist/chunks/model-resolver-bzdg4g04.js +26 -0
- package/dist/chunks/{state-8zstk8sy.js → model-resolver-c4ryf7as.js} +28 -28
- package/dist/chunks/{state-efrp7n2x.js → model-resolver-c7sh4d0v.js} +11 -11
- package/dist/chunks/{state-963r0pdn.js → model-resolver-c8j7dx8q.js} +11 -11
- package/dist/chunks/{state-rercxft0.js → model-resolver-c9k0snj5.js} +27 -27
- package/dist/chunks/{state-ssfehs1z.js → model-resolver-c9t2ty9q.js} +4 -4
- package/dist/chunks/{state-vcckamen.js → model-resolver-ccftg0qn.js} +24 -24
- package/dist/chunks/{state-4nw1g1b0.js → model-resolver-chmj2sz0.js} +17 -17
- package/dist/chunks/{state-k0jqhfwc.js → model-resolver-d3774dqa.js} +18 -18
- package/dist/chunks/{state-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{state-yc5f64c4.js → model-resolver-d599j5f6.js} +5 -5
- package/dist/chunks/{state-hjqfsptq.js → model-resolver-daht94gm.js} +1 -1
- package/dist/chunks/{state-yee4tpcm.js → model-resolver-dat5z7dd.js} +19 -19
- package/dist/chunks/{state-hq40j3p6.js → model-resolver-db579ykn.js} +52 -47
- package/dist/chunks/{state-k8m6h63c.js → model-resolver-dczsttdk.js} +9 -9
- package/dist/chunks/{state-emxrw28n.js → model-resolver-deqbajdy.js} +1 -1
- package/dist/chunks/{state-998yhzzq.js → model-resolver-dvj9ct8m.js} +3 -3
- package/dist/chunks/{state-mj0wev1x.js → model-resolver-e2ne77ac.js} +2 -2
- package/dist/chunks/{state-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
- package/dist/chunks/{state-e834z07m.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{state-xhqtt1yk.js → model-resolver-ec0dmxm2.js} +8 -8
- package/dist/chunks/{state-w9w8mt4n.js → model-resolver-emq6awqh.js} +4 -4
- package/dist/chunks/{state-3tmwm9va.js → model-resolver-esjvkzj3.js} +4 -4
- package/dist/chunks/{state-y24xrewf.js → model-resolver-ey1k9yry.js} +18 -18
- package/dist/chunks/{state-0me3cbze.js → model-resolver-f2sxmxc4.js} +37 -37
- package/dist/chunks/{state-2v7qkbf0.js → model-resolver-f6fgqg68.js} +24 -24
- package/dist/chunks/{state-f9aw19jy.js → model-resolver-f6tpkka6.js} +12 -12
- package/dist/chunks/{state-mdn8gtgh.js → model-resolver-f7g3fwn3.js} +24 -24
- package/dist/chunks/{state-bha90fza.js → model-resolver-fa91c1bh.js} +29 -29
- package/dist/chunks/{state-rvpcsj93.js → model-resolver-fcj36fpe.js} +21 -21
- package/dist/chunks/{state-7qcnp0x1.js → model-resolver-fe77ttzw.js} +11 -11
- package/dist/chunks/{state-pbrfva61.js → model-resolver-ffcdgexk.js} +8 -8
- package/dist/chunks/{state-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{state-rcsw1nba.js → model-resolver-fkj6e9em.js} +29 -29
- package/dist/chunks/{state-hta0w01s.js → model-resolver-frqrgtcd.js} +151 -151
- package/dist/chunks/{state-gmbrqcch.js → model-resolver-fvqqv4et.js} +21 -21
- package/dist/chunks/{state-s81f7mnr.js → model-resolver-fxkq0y0b.js} +23 -23
- package/dist/chunks/{state-44asjrm9.js → model-resolver-g1bhyb56.js} +8 -8
- package/dist/chunks/{state-g5h9c0rr.js → model-resolver-g5h9c0rr.js} +2 -2
- package/dist/chunks/{state-9zkm52pa.js → model-resolver-g6jpb364.js} +32 -32
- package/dist/chunks/{state-06w9ffrv.js → model-resolver-g7esga4v.js} +4 -4
- package/dist/chunks/{state-rpazx2zk.js → model-resolver-gds3y6dw.js} +7 -7
- package/dist/chunks/{state-1c10trcx.js → model-resolver-gr17tpj8.js} +21 -21
- package/dist/chunks/{state-15n1g7v8.js → model-resolver-gzqxm82s.js} +10 -10
- package/dist/chunks/{state-8csxm7jm.js → model-resolver-h2dp6rby.js} +9 -9
- package/dist/chunks/{state-hdfrs5mg.js → model-resolver-hdfrs5mg.js} +2 -2
- package/dist/chunks/{state-33rsf8jw.js → model-resolver-hdjrjngx.js} +32 -32
- package/dist/chunks/{state-adchpjjx.js → model-resolver-hjg8p6dt.js} +18 -18
- package/dist/chunks/{state-gdb2frqz.js → model-resolver-hm3czf85.js} +1 -1
- package/dist/chunks/{state-ceyjc8ge.js → model-resolver-hvan4r9d.js} +21 -21
- package/dist/chunks/{state-c4970w7t.js → model-resolver-hvvf9qw8.js} +6 -6
- package/dist/chunks/{state-evc2jewf.js → model-resolver-hwcbxmjp.js} +13 -13
- package/dist/chunks/{state-7va89kx5.js → model-resolver-hy3y5vxb.js} +11 -11
- package/dist/chunks/{state-n1qenrmb.js → model-resolver-hz3jmkcm.js} +3 -3
- package/dist/chunks/{state-mzbswx4t.js → model-resolver-hzrfc1p4.js} +3 -3
- package/dist/chunks/{state-j113cymg.js → model-resolver-j113cymg.js} +1 -1
- package/dist/chunks/{state-w1dt9w7y.js → model-resolver-j2fby693.js} +13 -13
- package/dist/chunks/{state-d4ba0d7d.js → model-resolver-j2sak5a4.js} +11 -11
- package/dist/chunks/{state-ta944qmn.js → model-resolver-j6c6q1qg.js} +35 -35
- package/dist/chunks/{state-vj4r112x.js → model-resolver-j7ztxdyv.js} +18 -18
- package/dist/chunks/{state-qxq90j3e.js → model-resolver-jctb9d8a.js} +6 -6
- package/dist/chunks/model-resolver-jztn5z23.js +18 -0
- package/dist/chunks/{state-e07q2w5p.js → model-resolver-k17y3afg.js} +6 -6
- package/dist/chunks/{state-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{state-5bbtdh0c.js → model-resolver-kf9wr7tw.js} +24 -24
- package/dist/chunks/{state-w6p76wxk.js → model-resolver-kmam2x31.js} +12 -12
- package/dist/chunks/{state-4xa8m40g.js → model-resolver-ksez1xmc.js} +21 -21
- package/dist/chunks/{state-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
- package/dist/chunks/{state-06nwrmf6.js → model-resolver-kxkntq3g.js} +8 -8
- package/dist/chunks/{state-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{state-m4cs48c6.js → model-resolver-m3xvpryp.js} +50 -50
- package/dist/chunks/{state-pr30wrsr.js → model-resolver-m5regarp.js} +3 -3
- package/dist/chunks/{state-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-jefw9j3y.js → model-resolver-masd7ga8.js} +4 -4
- package/dist/chunks/{state-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{state-g3kbmw45.js → model-resolver-mb2fjdtf.js} +33 -33
- package/dist/chunks/{state-w04hajkc.js → model-resolver-me7kxg3j.js} +8 -8
- package/dist/chunks/{state-djjzzs3c.js → model-resolver-mn53dk4j.js} +3 -3
- package/dist/chunks/{state-0gcad0bv.js → model-resolver-mna4ccr2.js} +6 -6
- package/dist/chunks/{state-h1ps7867.js → model-resolver-mpz4w9bp.js} +18 -18
- package/dist/chunks/{state-aev3k5yp.js → model-resolver-mqawjeef.js} +12 -12
- package/dist/chunks/{state-0af46afc.js → model-resolver-ms888k1z.js} +9 -9
- package/dist/chunks/{state-acqd5mw7.js → model-resolver-msntj4bj.js} +12 -12
- package/dist/chunks/{state-771e9tr6.js → model-resolver-mzkm9t0w.js} +3 -3
- package/dist/chunks/{state-nah043kf.js → model-resolver-nah043kf.js} +1 -1
- package/dist/chunks/{state-5x6g3p31.js → model-resolver-nkhqptws.js} +23 -23
- package/dist/chunks/{state-q8ydsxx6.js → model-resolver-nphq4awb.js} +7 -7
- package/dist/chunks/{state-70bbkc3v.js → model-resolver-nr4h8hhe.js} +3 -3
- package/dist/chunks/{state-bfs9yhh1.js → model-resolver-nwf2p7qx.js} +21 -21
- package/dist/chunks/{state-30b52wnj.js → model-resolver-nxh2s6jf.js} +23 -23
- package/dist/chunks/{state-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{state-4vmx2553.js → model-resolver-p5hnaym9.js} +33 -33
- package/dist/chunks/{state-77xnrh6j.js → model-resolver-pch3hz0d.js} +4 -4
- package/dist/chunks/{state-jt25wn2n.js → model-resolver-pg8q45fa.js} +7 -7
- package/dist/chunks/{state-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{state-cypkeheb.js → model-resolver-pp4ewjef.js} +15 -15
- package/dist/chunks/{state-87s5319w.js → model-resolver-pqwj4rse.js} +9 -9
- package/dist/chunks/{state-hqncm972.js → model-resolver-pzp2gaxy.js} +11 -11
- package/dist/chunks/{state-4c4w8c1g.js → model-resolver-q25re44e.js} +3 -3
- package/dist/chunks/{state-90c15hge.js → model-resolver-q5bt1w9a.js} +11 -11
- package/dist/chunks/{state-r67xb15b.js → model-resolver-q8rfhkjm.js} +2 -2
- package/dist/chunks/{state-gnqjpr12.js → model-resolver-qckrz8jc.js} +3 -3
- package/dist/chunks/{state-x4pq83ar.js → model-resolver-qdr526kf.js} +3 -3
- package/dist/chunks/{state-gvr1nqb0.js → model-resolver-qk22s80r.js} +14 -14
- package/dist/chunks/{state-4z26ga1z.js → model-resolver-qvakvk9r.js} +19 -19
- package/dist/chunks/{state-mqcadzqw.js → model-resolver-qvw98tg0.js} +5 -5
- package/dist/chunks/{state-qyq8h28g.js → model-resolver-qyq8h28g.js} +1 -1
- package/dist/chunks/{state-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
- package/dist/chunks/{state-51j4br5n.js → model-resolver-r31y8xxz.js} +28 -28
- package/dist/chunks/{state-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
- package/dist/chunks/{state-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{state-scz350ws.js → model-resolver-rckcvcrm.js} +22 -22
- package/dist/chunks/{state-q52p07dj.js → model-resolver-rcpyc0ca.js} +5 -5
- package/dist/chunks/{state-ygmx28v3.js → model-resolver-rejxp4z0.js} +24 -24
- package/dist/chunks/{state-amh70zsf.js → model-resolver-rgj5zy3t.js} +45 -45
- package/dist/chunks/{state-ygjj23b0.js → model-resolver-rqs3weq5.js} +8 -8
- package/dist/chunks/{state-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{state-ch4a6gtw.js → model-resolver-rxrz6b15.js} +2 -2
- package/dist/chunks/{state-b945bzec.js → model-resolver-rypfym0z.js} +14 -14
- package/dist/chunks/{state-tmt05c3b.js → model-resolver-rzgd3z9h.js} +11 -11
- package/dist/chunks/{state-y79xrw0m.js → model-resolver-s6ttgfdk.js} +21 -21
- package/dist/chunks/{state-h54749ae.js → model-resolver-s7hdmqvc.js} +7 -7
- package/dist/chunks/{state-tm5er3st.js → model-resolver-s8m3mb5a.js} +13 -13
- package/dist/chunks/{state-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
- package/dist/chunks/{state-xt3e85c7.js → model-resolver-scz2dc1h.js} +13 -13
- package/dist/chunks/{state-y9dcbvc0.js → model-resolver-smcjsr17.js} +11 -11
- package/dist/chunks/{state-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{state-fa13985z.js → model-resolver-t2tc5r6d.js} +6 -6
- package/dist/chunks/{state-j02e2ssa.js → model-resolver-tb5m0pzj.js} +29 -29
- package/dist/chunks/{state-e9rg68ej.js → model-resolver-tbtqmx60.js} +2 -2
- package/dist/chunks/{state-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{state-ew0y3ary.js → model-resolver-tsp66mz8.js} +38 -38
- package/dist/chunks/{state-twv2r8f4.js → model-resolver-twv2r8f4.js} +2 -2
- package/dist/chunks/{state-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{state-vyycp0en.js → model-resolver-v842z5bm.js} +4 -4
- package/dist/chunks/{state-ptmtz89k.js → model-resolver-vcx0q4qn.js} +27 -27
- package/dist/chunks/{state-rt6z3ksq.js → model-resolver-vcx56sb0.js} +6 -6
- package/dist/chunks/{state-vd3b3yk9.js → model-resolver-vd3b3yk9.js} +1 -1
- package/dist/chunks/{state-wttyt2c5.js → model-resolver-vdasrjze.js} +26 -26
- package/dist/chunks/{state-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{state-vgk61ywp.js → model-resolver-vgk61ywp.js} +2 -2
- package/dist/chunks/{state-q6n1xzyn.js → model-resolver-vjqpxba6.js} +87 -87
- package/dist/chunks/{state-972xsrgc.js → model-resolver-vkkqkfme.js} +14 -14
- package/dist/chunks/{state-vrcsa8qx.js → model-resolver-vrcsa8qx.js} +2 -2
- package/dist/chunks/{state-d7fjdp3y.js → model-resolver-w362tghn.js} +22 -22
- package/dist/chunks/{state-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-ay9v92pn.js → model-resolver-w72ah3vp.js} +4 -4
- package/dist/chunks/{state-zxyxvdmp.js → model-resolver-w7c0w3yt.js} +18 -18
- package/dist/chunks/{state-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{state-992fen1c.js → model-resolver-we45g5b8.js} +47 -47
- package/dist/chunks/{state-q5wyhmvf.js → model-resolver-wp39e252.js} +19 -19
- package/dist/chunks/{state-wr3re1en.js → model-resolver-wr3re1en.js} +1 -1
- package/dist/chunks/{state-br0kkpnn.js → model-resolver-wtgq8nqm.js} +4 -4
- package/dist/chunks/{state-h7wan55b.js → model-resolver-wz387nhs.js} +14 -14
- package/dist/chunks/{state-x4dm9tkt.js → model-resolver-x1fxt013.js} +15 -15
- package/dist/chunks/{state-rdrpd67x.js → model-resolver-x3t9xer4.js} +7 -7
- package/dist/chunks/{state-mwta5nj0.js → model-resolver-x5xqqq2t.js} +4 -4
- package/dist/chunks/{state-x8nvjgx0.js → model-resolver-x8nvjgx0.js} +1 -1
- package/dist/chunks/{state-54kk5jnt.js → model-resolver-xaj9bxpr.js} +29 -29
- package/dist/chunks/{state-dzff6n8n.js → model-resolver-xge113x8.js} +8 -8
- package/dist/chunks/{state-fhr2s1er.js → model-resolver-xgzatw4h.js} +15 -15
- package/dist/chunks/{state-gp8afgt9.js → model-resolver-xhrj57em.js} +26 -26
- package/dist/chunks/{state-0cwttbeb.js → model-resolver-xk05dnhf.js} +17 -17
- package/dist/chunks/{state-1arg9991.js → model-resolver-xp82r058.js} +11 -11
- package/dist/chunks/{state-f0kzxy20.js → model-resolver-xrqjfmtn.js} +29 -29
- package/dist/chunks/{state-2kxtsxrk.js → model-resolver-xw34nzzk.js} +3 -3
- package/dist/chunks/{state-qg5qwe27.js → model-resolver-xy47wren.js} +92 -92
- package/dist/chunks/{state-h3b857xk.js → model-resolver-y00x4xpa.js} +4 -4
- package/dist/chunks/{state-gfjw3g11.js → model-resolver-y2rsaeas.js} +42 -42
- package/dist/chunks/{state-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{state-jfeae8gq.js → model-resolver-ym4mb7j3.js} +11 -11
- package/dist/chunks/{state-n8emybve.js → model-resolver-ywa96x82.js} +11 -11
- package/dist/chunks/{state-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{state-dyf500ns.js → model-resolver-z799v63j.js} +26 -26
- package/dist/chunks/{state-h5tcmygr.js → model-resolver-z8gatmq1.js} +39 -39
- package/dist/chunks/{state-4p9b4r2p.js → model-resolver-z9cvf2rv.js} +16 -16
- package/dist/chunks/{state-qkreem8c.js → model-resolver-zbs8468w.js} +75 -75
- package/dist/chunks/{state-zkg84ctx.js → model-resolver-zkg84ctx.js} +1 -1
- package/dist/chunks/{state-kbdzx3mw.js → model-resolver-zskq6z57.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +87 -87
- package/dist/config/integration.js +5 -5
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +119 -119
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +93 -93
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -376
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +100 -100
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +78 -78
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +92 -92
- package/dist/generate.js +110 -110
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- 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 +367 -367
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +161 -161
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -364
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +97 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +120 -120
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode-legacy.js +103 -103
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +356 -356
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +102 -102
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +141 -141
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +226 -226
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +125 -125
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +108 -108
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +171 -171
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +112 -112
- package/dist/skill.js +119 -119
- package/dist/snapshot.js +98 -98
- 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 +142 -142
- package/dist/tool/plugin/edit.js +123 -123
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +110 -110
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +118 -118
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +116 -116
- package/dist/tool/plugin/websearch.js +119 -119
- package/dist/tool/plugin/write.js +125 -125
- package/dist/tool/read-filesystem.js +107 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/mcp/client.d.ts +2 -0
- package/dist/usage-limits.js +91 -91
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +6 -6
- package/dist/v1/config/migrate.js +97 -97
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +96 -96
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +94 -94
- package/dist/voice.js +88 -88
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +80 -80
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/state-21kyany4.js +0 -261
- package/dist/chunks/state-28779zxv.js +0 -26
- package/dist/chunks/state-99dpys38.js +0 -517
- package/dist/chunks/state-a610t88q.js +0 -18
- /package/dist/chunks/{state-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./model-resolver-h2dp6rby.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./model-resolver-hvvf9qw8.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-2z1j29yd.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-jztn5z23.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service61
|
|
15
|
+
} from "./model-resolver-me7kxg3j.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-jctb9d8a.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service30
|
|
23
|
+
} from "./model-resolver-tb5m0pzj.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service40;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service61;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service30;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
124
124
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
125
125
|
if (!mime.startsWith("image/"))
|
|
126
126
|
return { data: Base64.make(data), mime };
|
|
127
|
-
const image = yield*
|
|
127
|
+
const image = yield* Service60;
|
|
128
128
|
const label = attachmentLabel(input);
|
|
129
129
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
130
130
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node75
|
|
5
|
+
} from "./model-resolver-7nbsn3c1.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service61,
|
|
8
|
+
node64
|
|
9
|
+
} from "./model-resolver-me7kxg3j.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-m3xvpryp.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-vkkqkfme.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Error4
|
|
18
|
+
} from "./model-resolver-f6fgqg68.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-3nnrz6f6.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service28,
|
|
24
|
+
node31
|
|
25
|
+
} from "./model-resolver-ym4mb7j3.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make14
|
|
28
|
+
} from "./model-resolver-g7esga4v.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-65q1a8c2.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service27,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer13,
|
|
44
|
+
node: () => node30,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -77,7 +77,7 @@ var baseTranscript2 = (input) => {
|
|
|
77
77
|
return {
|
|
78
78
|
providerMetadataKey,
|
|
79
79
|
system: [
|
|
80
|
-
input.agent.system ? input.agent.system :
|
|
80
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
81
81
|
input.initial
|
|
82
82
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
83
83
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -158,11 +158,11 @@ var boundImages2 = (messages) => {
|
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const transport = yield*
|
|
163
|
+
var layer13 = Layer.effect(Service27, Effect.gen(function* () {
|
|
164
|
+
const hooks = yield* Service61;
|
|
165
|
+
const transport = yield* Service28;
|
|
166
166
|
const app = yield* Metadata2;
|
|
167
167
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
168
168
|
const session = input.session;
|
|
@@ -170,7 +170,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
170
170
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
171
171
|
const tools = input.tools ?? {
|
|
172
172
|
definitions: [],
|
|
173
|
-
execute: () => new
|
|
173
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
174
174
|
};
|
|
175
175
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
176
176
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service27.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node30 = makeLocationNode({
|
|
275
|
+
service: Service27,
|
|
276
|
+
layer: layer13,
|
|
277
|
+
deps: [node64, node31, node75]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service27, layer13, node30, exports_model_request };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-jctb9d8a.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-masd7ga8.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-dvj9ct8m.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-bf131yvm.js";
|
|
18
18
|
import {
|
|
19
19
|
messageToText2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-v2r1d0zg.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-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: () => load4,
|
|
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 load4 = 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, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-tb5m0pzj.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID4.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-afwwx8by.js";
|
|
7
7
|
import {
|
|
8
8
|
Service83,
|
|
9
9
|
node87
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-228bjbav.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service42,
|
|
13
|
+
node44
|
|
14
|
+
} from "./model-resolver-m3xvpryp.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service41,
|
|
26
|
+
node: () => node43,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service41 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
54
|
const location = yield* Service83;
|
|
55
|
-
const permission = yield*
|
|
55
|
+
const permission = yield* Service42;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service41.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node43 = makeLocationNode({ service: Service41, layer, deps: [FSUtil.node, node87, node44] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service41, resolvePath2, node43, exports_file_access };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-5cy8hwkn.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-t2tc5r6d.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./model-resolver-7qnz14k0.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-zkg84ctx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service54
|
|
13
|
+
} from "./model-resolver-gr17tpj8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./model-resolver-qk22s80r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service42
|
|
19
|
+
} from "./model-resolver-m3xvpryp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service41,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-7jehd3qf.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service64,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-af84d9dx.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service48
|
|
37
|
+
} from "./model-resolver-we45g5b8.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./model-resolver-xy47wren.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./model-resolver-pch3hz0d.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin28,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name9 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input9 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin28 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service17;
|
|
124
|
+
const jobs = yield* Service62;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service54;
|
|
127
|
+
const access = yield* Service41;
|
|
128
|
+
const shell = yield* Service48;
|
|
129
|
+
const shellSelect = yield* Service64;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service42;
|
|
132
|
+
const config = yield* Service51;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin37 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name9,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin37 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name9,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input9,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin37 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name9,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name9];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin28, exports_shell };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
|
+
make: () => make22,
|
|
13
|
+
node: () => node75,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make22()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make22(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make22(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node75 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make22, useragent2, layer24, configured11, node75, exports_app };
|