@opencode/core 0.0.0-dev-19926 → 0.0.0-dev-19927
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{model-resolver-44y902bk.js → config-04ckjw77.js} +10 -10
- package/dist/chunks/{model-resolver-9yyb952e.js → config-06edwyrj.js} +11 -11
- package/dist/chunks/{model-resolver-rqrnf5mw.js → config-08nn36ps.js} +50 -50
- package/dist/chunks/{model-resolver-knvwt6j5.js → config-08w0egyc.js} +21 -21
- package/dist/chunks/{model-resolver-tytr0bkw.js → config-09cy5gpk.js} +10 -10
- package/dist/chunks/{model-resolver-fxmgg4aj.js → config-0en0hh3r.js} +4 -4
- package/dist/chunks/{model-resolver-dpf05fgk.js → config-0h6xm2fc.js} +15 -15
- package/dist/chunks/{model-resolver-0jq9fyba.js → config-0jq9fyba.js} +2 -2
- package/dist/chunks/{model-resolver-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-xn4mwr17.js → config-0zek7svq.js} +15 -15
- package/dist/chunks/{model-resolver-f62qkzqr.js → config-150yg2gd.js} +5 -5
- package/dist/chunks/{model-resolver-wym541qg.js → config-15802rpk.js} +3 -3
- package/dist/chunks/{model-resolver-fb8c08xg.js → config-173p8h6h.js} +9 -9
- package/dist/chunks/{model-resolver-5st1adr6.js → config-190fx2w2.js} +10 -10
- package/dist/chunks/{model-resolver-vncycja5.js → config-1a6p2twq.js} +4 -4
- package/dist/chunks/{model-resolver-73tb2d7t.js → config-1bbkgx8g.js} +3 -3
- package/dist/chunks/{model-resolver-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-hg1baqdt.js → config-1dqdbha6.js} +9 -9
- package/dist/chunks/{model-resolver-zm94pjk4.js → config-1m53yep5.js} +1 -1
- package/dist/chunks/{model-resolver-cvxf3tek.js → config-1vcfwyb7.js} +29 -29
- package/dist/chunks/{model-resolver-3znywzy1.js → config-1xycc2pn.js} +3 -3
- package/dist/chunks/{model-resolver-dk518thc.js → config-1yjwg5xg.js} +27 -27
- package/dist/chunks/{model-resolver-q41erv8w.js → config-1zjrwp5x.js} +16 -16
- package/dist/chunks/{model-resolver-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-qnscm38h.js → config-221ma7bv.js} +29 -29
- package/dist/chunks/{model-resolver-z63w68vq.js → config-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-2k8khapm.js → config-2k8khapm.js} +1 -1
- package/dist/chunks/{model-resolver-3cfzdc8e.js → config-2qp6y8xf.js} +5 -5
- package/dist/chunks/{model-resolver-6jqp9cwx.js → config-2v8c5gvq.js} +11 -11
- package/dist/chunks/{model-resolver-s3fz7j7v.js → config-2w4gyvwb.js} +28 -28
- package/dist/chunks/{model-resolver-p9ejrfws.js → config-2w8q0sft.js} +14 -14
- package/dist/chunks/{model-resolver-6ns2tdmk.js → config-2x994bvn.js} +11 -11
- package/dist/chunks/{model-resolver-jb9v1mz9.js → config-2zhqe5z4.js} +7 -7
- package/dist/chunks/{model-resolver-64q9w75g.js → config-3aqn1cx4.js} +28 -28
- package/dist/chunks/{model-resolver-hnbn0m2z.js → config-3dfyr7pz.js} +21 -21
- package/dist/chunks/{model-resolver-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-n4jsyspr.js → config-3g42qc4d.js} +20 -20
- package/dist/chunks/{model-resolver-ks46mppt.js → config-3h42xwrr.js} +24 -24
- package/dist/chunks/{model-resolver-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-qg0jgkcp.js → config-3pe7sts8.js} +9 -9
- package/dist/chunks/{model-resolver-7v0tkhvj.js → config-3qpny3t1.js} +134 -134
- package/dist/chunks/{model-resolver-ev4stjem.js → config-3rw3svr8.js} +37 -37
- package/dist/chunks/{model-resolver-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-08xem6p0.js → config-3sry36ry.js} +12 -12
- package/dist/chunks/{model-resolver-yk80ejdm.js → config-3tfkds41.js} +5 -5
- package/dist/chunks/{model-resolver-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-ss4zp5an.js → config-3wew64z7.js} +3 -3
- package/dist/chunks/{model-resolver-h68x73dv.js → config-3yh3z6fg.js} +1 -1
- package/dist/chunks/{model-resolver-c2h2ttee.js → config-3zncv9zw.js} +19 -19
- package/dist/chunks/{model-resolver-76wx763q.js → config-414gxdxw.js} +24 -24
- package/dist/chunks/{model-resolver-2zdq6f6p.js → config-44674g4e.js} +37 -37
- package/dist/chunks/{model-resolver-hdth81r5.js → config-45stpd4w.js} +1 -1
- package/dist/chunks/{model-resolver-hz59w1dt.js → config-48c763ft.js} +6 -6
- package/dist/chunks/{model-resolver-qa5kg56q.js → config-48cfa71b.js} +8 -8
- package/dist/chunks/{model-resolver-4dgbcxzg.js → config-4dgbcxzg.js} +1 -1
- package/dist/chunks/{model-resolver-zvk2hk11.js → config-4fy34q0s.js} +32 -32
- package/dist/chunks/{model-resolver-gjssp7pf.js → config-4mh8t5f6.js} +9 -9
- package/dist/chunks/{model-resolver-8ympn3ah.js → config-4n5wabkh.js} +3 -3
- package/dist/chunks/{model-resolver-rk04762b.js → config-4n8zy7qg.js} +4 -4
- package/dist/chunks/{model-resolver-fg8jec26.js → config-578ars9g.js} +20 -20
- package/dist/chunks/{model-resolver-wapgj76k.js → config-57d5arwb.js} +10 -10
- package/dist/chunks/{model-resolver-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{model-resolver-w1hqwkkp.js → config-59q269e2.js} +43 -43
- package/dist/chunks/{model-resolver-a1bz86dw.js → config-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-mkjhxygp.js → config-5mfzg69w.js} +30 -30
- package/dist/chunks/{model-resolver-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-wdt6zdam.js → config-6372hfb7.js} +14 -14
- package/dist/chunks/{model-resolver-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-0erbzs5f.js → config-6aaw5wkp.js} +14 -14
- package/dist/chunks/{model-resolver-vsaptvsj.js → config-6ddjc60g.js} +85 -85
- package/dist/chunks/{model-resolver-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{model-resolver-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-08q9b52r.js → config-6p2dpk8a.js} +11 -11
- package/dist/chunks/{model-resolver-5hgsj32b.js → config-71cj715e.js} +25 -25
- package/dist/chunks/{model-resolver-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-qen4878t.js → config-7ctg4z5y.js} +25 -25
- package/dist/chunks/{model-resolver-nv6sgpkb.js → config-7h7s3rmt.js} +9 -9
- package/dist/chunks/{model-resolver-tcezcvh9.js → config-89znhe33.js} +4 -4
- package/dist/chunks/{model-resolver-qfq680d4.js → config-8arhsq9v.js} +13 -13
- package/dist/chunks/{model-resolver-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-1x9sk52d.js → config-8drmjyr8.js} +16 -16
- package/dist/chunks/{model-resolver-ffq37epr.js → config-8jsy6qxe.js} +11 -11
- package/dist/chunks/{model-resolver-sb9fep2d.js → config-8tnpz2sk.js} +8 -8
- package/dist/chunks/{model-resolver-a8m4vrfw.js → config-8zkpsghb.js} +18 -18
- package/dist/chunks/{model-resolver-eqkxs06z.js → config-909p1r3q.js} +6 -6
- package/dist/chunks/{model-resolver-zrq8kphx.js → config-92swnv4m.js} +8 -8
- package/dist/chunks/{model-resolver-ef5hpeet.js → config-931bsvm2.js} +11 -11
- package/dist/chunks/{model-resolver-a626cka7.js → config-93e91522.js} +15 -15
- package/dist/chunks/{model-resolver-rjqfry4y.js → config-940pdapd.js} +27 -27
- package/dist/chunks/{model-resolver-v669qxf6.js → config-96kdkwb7.js} +2 -2
- package/dist/chunks/{model-resolver-3x7xgm7m.js → config-9dp8xf7y.js} +24 -24
- package/dist/chunks/{model-resolver-9gmmm9sx.js → config-9h3nbwy9.js} +20 -20
- package/dist/chunks/{model-resolver-m2h0hv26.js → config-9n476q81.js} +8 -8
- package/dist/chunks/{model-resolver-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-p0yw2kgq.js → config-acan9bz7.js} +20 -20
- package/dist/chunks/{model-resolver-wpm2rk0p.js → config-ak9msbxp.js} +4 -4
- package/dist/chunks/{model-resolver-63fadg39.js → config-as71pn4z.js} +12 -12
- package/dist/chunks/{model-resolver-r9xy17z8.js → config-aspyrnxn.js} +10 -10
- package/dist/chunks/{model-resolver-1zp38nzc.js → config-b0cxceke.js} +28 -28
- package/dist/chunks/{model-resolver-dhbstf12.js → config-b0n1t7rr.js} +3 -3
- package/dist/chunks/{model-resolver-24gamcb6.js → config-b231j30p.js} +9 -9
- package/dist/chunks/{model-resolver-ratrq7cm.js → config-b27vhd2z.js} +4 -4
- package/dist/chunks/{model-resolver-jkp1s217.js → config-b4582k5t.js} +46 -46
- package/dist/chunks/{model-resolver-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-wwajdw47.js → config-b6xy6jda.js} +9 -9
- package/dist/chunks/{model-resolver-arrrx05s.js → config-b7m59p0b.js} +33 -33
- package/dist/chunks/{model-resolver-xrfewb9d.js → config-b8qsrfds.js} +10 -10
- package/dist/chunks/{model-resolver-k6yq57aq.js → config-ba07h9gm.js} +2 -2
- package/dist/chunks/{model-resolver-msq0jde0.js → config-bccb6npm.js} +4 -4
- package/dist/chunks/{model-resolver-ye0xva7k.js → config-beq1mm78.js} +21 -21
- package/dist/chunks/{model-resolver-xr83eezp.js → config-bssxjmn0.js} +17 -17
- package/dist/chunks/{model-resolver-k9nbr7aq.js → config-bzhd4azx.js} +3 -3
- package/dist/chunks/{model-resolver-g8dj7pp1.js → config-c08p3s17.js} +24 -24
- package/dist/chunks/{model-resolver-br29rrqr.js → config-c2af4gjd.js} +13 -13
- package/dist/chunks/{model-resolver-1bdsymve.js → config-cbxsd3x7.js} +6 -6
- package/dist/chunks/{model-resolver-wqc6684y.js → config-cmkj70ft.js} +2 -2
- package/dist/chunks/{model-resolver-x7j5emw0.js → config-cr65h36k.js} +7 -7
- package/dist/chunks/{model-resolver-pd658761.js → config-d25sxr2n.js} +9 -9
- package/dist/chunks/{model-resolver-ev1yg4x7.js → config-d36z8apt.js} +24 -24
- package/dist/chunks/{model-resolver-pagmmz98.js → config-dajkwyv8.js} +23 -23
- package/dist/chunks/{model-resolver-rk343djc.js → config-ddfrm1qp.js} +31 -31
- package/dist/chunks/{model-resolver-8p4f9s12.js → config-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-xfkkasph.js → config-drwq78ky.js} +4 -4
- package/dist/chunks/config-e0cmv8ad.js +26 -0
- package/dist/chunks/{model-resolver-a1rqsmym.js → config-e3nqh74b.js} +5 -5
- package/dist/chunks/{model-resolver-5qd3pb7m.js → config-e3qxr5gk.js} +2 -2
- package/dist/chunks/{model-resolver-w4t2hm04.js → config-e66fvnsd.js} +26 -26
- package/dist/chunks/{model-resolver-ev6hqs1q.js → config-ebbex8t4.js} +9 -9
- package/dist/chunks/{model-resolver-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-04k65yr5.js → config-ef9gv310.js} +9 -9
- package/dist/chunks/{model-resolver-3vzygexc.js → config-emtdknqp.js} +3 -3
- package/dist/chunks/{model-resolver-ph842b28.js → config-ermxvwhp.js} +4 -4
- package/dist/chunks/{model-resolver-erw5rpbs.js → config-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-bajakh74.js → config-fab8hzt3.js} +4 -4
- package/dist/chunks/{model-resolver-40j503mv.js → config-fdpada3c.js} +11 -11
- package/dist/chunks/{model-resolver-mr0fddg5.js → config-fe4vyjh1.js} +10 -10
- package/dist/chunks/{model-resolver-79mwksnw.js → config-ffcx9nyn.js} +4 -4
- package/dist/chunks/{model-resolver-abfxp5rq.js → config-fjx9j9te.js} +3 -3
- package/dist/chunks/{model-resolver-g1jvev6e.js → config-fkvz5d6n.js} +8 -8
- package/dist/chunks/{model-resolver-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-16xkypz6.js → config-g2hs3y6k.js} +26 -26
- package/dist/chunks/{model-resolver-fkp0gvex.js → config-g6w34b37.js} +17 -17
- package/dist/chunks/{model-resolver-0sfx6ryg.js → config-g7dqqsb3.js} +12 -12
- package/dist/chunks/{model-resolver-pf2hb43r.js → config-gb7ervf3.js} +6 -6
- package/dist/chunks/{model-resolver-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-2sejkfem.js → config-gjwgx2c5.js} +9 -9
- package/dist/chunks/{model-resolver-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-1fw2a5v8.js → config-gy4yzk8r.js} +19 -19
- package/dist/chunks/{model-resolver-8e6ttvsq.js → config-gzy8bf33.js} +12 -12
- package/dist/chunks/{model-resolver-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-76jxy9rk.js → config-hbj3m5xw.js} +26 -26
- package/dist/chunks/{model-resolver-f828m53h.js → config-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-r2ahnezy.js → config-heg0z178.js} +39 -39
- package/dist/chunks/{model-resolver-dhqy0ykh.js → config-hmkvfh4p.js} +44 -44
- package/dist/chunks/{model-resolver-gg02cd9y.js → config-hyrv2er6.js} +4 -4
- package/dist/chunks/{model-resolver-78vf6w8w.js → config-j1zy4r9y.js} +13 -13
- package/dist/chunks/{model-resolver-rxwv643q.js → config-j268c786.js} +3 -3
- package/dist/chunks/{model-resolver-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-s9dxmr29.js → config-j9xcs6m9.js} +3 -3
- package/dist/chunks/{model-resolver-k022gtx1.js → config-ja4jt1nm.js} +14 -14
- package/dist/chunks/{model-resolver-s4d32hds.js → config-jgnkg8tq.js} +11 -11
- package/dist/chunks/{model-resolver-m4xr9n7x.js → config-jnkwz9x8.js} +20 -20
- package/dist/chunks/{model-resolver-075k3c2t.js → config-jpjb6z87.js} +17 -17
- package/dist/chunks/config-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-e6hmchc5.js → config-jv01nqvq.js} +5 -5
- package/dist/chunks/{model-resolver-afs9jfss.js → config-k1kawhr0.js} +10 -10
- package/dist/chunks/{model-resolver-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-7q57kfqx.js → config-kdyzpndw.js} +16 -16
- package/dist/chunks/{model-resolver-kfwxpy88.js → config-kgm7g42e.js} +6 -6
- package/dist/chunks/{model-resolver-dxea04xa.js → config-kj6x128f.js} +4 -4
- package/dist/chunks/{model-resolver-f3ngv102.js → config-kk00bynn.js} +21 -21
- package/dist/chunks/{model-resolver-k9kj6xed.js → config-knb7evpn.js} +6 -6
- package/dist/chunks/config-kxpx8wwx.js +252 -0
- package/dist/chunks/{model-resolver-6d2paczb.js → config-kyjz80j6.js} +14 -14
- package/dist/chunks/{model-resolver-cfpkc3c9.js → config-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-af39q8s5.js → config-m39rnvm7.js} +11 -11
- package/dist/chunks/{model-resolver-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-g47qx744.js → config-m4qxebqp.js} +8 -8
- package/dist/chunks/{model-resolver-japqcg14.js → config-m6xnwrs1.js} +2 -2
- package/dist/chunks/{model-resolver-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-vyskdrqb.js → config-mczh4wfw.js} +1 -1
- package/dist/chunks/{model-resolver-3e1synqb.js → config-mepyk13b.js} +20 -20
- package/dist/chunks/{model-resolver-1ygqh575.js → config-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-xsk2k8qr.js → config-mmp50qm8.js} +9 -9
- package/dist/chunks/{model-resolver-mfwxq1fh.js → config-mn1f5j00.js} +8 -8
- package/dist/chunks/{model-resolver-v2k8yzhz.js → config-ms7mjmxb.js} +20 -20
- package/dist/chunks/{model-resolver-ze5v0a14.js → config-n2kah95r.js} +8 -8
- package/dist/chunks/{model-resolver-w9qfmmnv.js → config-nd8gpfv0.js} +78 -78
- package/dist/chunks/{model-resolver-bfsh06ya.js → config-nevqtesq.js} +8 -8
- package/dist/chunks/{model-resolver-00b2qmzp.js → config-nj0qzjff.js} +16 -16
- package/dist/chunks/{model-resolver-5f90fjb2.js → config-nsarsp7q.js} +5 -5
- package/dist/chunks/{model-resolver-gjxbhnbr.js → config-nv3gs4ms.js} +20 -20
- package/dist/chunks/{model-resolver-tp5arsk6.js → config-nz697jhx.js} +3 -3
- package/dist/chunks/{model-resolver-sgzcj7pk.js → config-p0zx402h.js} +24 -24
- package/dist/chunks/{model-resolver-tbz0fdvh.js → config-p28j5sbe.js} +5 -5
- package/dist/chunks/{model-resolver-p37cw4rj.js → config-p37cw4rj.js} +1 -1
- package/dist/chunks/{model-resolver-zk5xate0.js → config-p83fc5ph.js} +28 -28
- package/dist/chunks/{model-resolver-4jv7e9dq.js → config-pjedbq3k.js} +9 -9
- package/dist/chunks/{model-resolver-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-xcxz94y0.js → config-pvfx0zah.js} +27 -27
- package/dist/chunks/{model-resolver-ct38679x.js → config-pvg6p1wa.js} +20 -20
- package/dist/chunks/{model-resolver-vfawz6dj.js → config-pz7z57gx.js} +18 -18
- package/dist/chunks/{model-resolver-twc0jmth.js → config-qa393g2j.js} +4 -4
- package/dist/chunks/config-qapv375x.js +4 -0
- package/dist/chunks/{model-resolver-wjr7xgfm.js → config-qazh4pg4.js} +11 -11
- package/dist/chunks/{model-resolver-v17m4zdb.js → config-qn4dpy0x.js} +2 -2
- package/dist/chunks/{model-resolver-qkrdvrz2.js → config-qpcr28f2.js} +9 -9
- package/dist/chunks/{model-resolver-0y2gte3n.js → config-qqj9e2dc.js} +47 -47
- package/dist/chunks/{model-resolver-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-4c8bw516.js → config-qvb3nf84.js} +8 -8
- package/dist/chunks/{model-resolver-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-hrmdcqyf.js → config-reqevd7p.js} +12 -12
- package/dist/chunks/{model-resolver-az8jh5px.js → config-rfb6m91s.js} +5 -5
- package/dist/chunks/{model-resolver-3k59eqae.js → config-rfn4rx8v.js} +16 -16
- package/dist/chunks/{model-resolver-t550f9t1.js → config-rhjbct0v.js} +4 -4
- package/dist/chunks/{model-resolver-fr9t8qj7.js → config-rhp3r2pq.js} +25 -25
- package/dist/chunks/{model-resolver-9gccg1eh.js → config-rjg0edk8.js} +11 -11
- package/dist/chunks/{model-resolver-ex5q91jn.js → config-rjkv0b50.js} +10 -10
- package/dist/chunks/{model-resolver-6fz3n079.js → config-rm5fy541.js} +30 -30
- package/dist/chunks/{model-resolver-jmggaf18.js → config-rtqqy8pm.js} +9 -9
- package/dist/chunks/{model-resolver-ag7nqrcy.js → config-rvd36zpv.js} +33 -33
- package/dist/chunks/{model-resolver-vx56fmvp.js → config-rwq3efnb.js} +13 -13
- package/dist/chunks/{model-resolver-pstg3rfm.js → config-ryt7pzqc.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-a0kryv5z.js → config-s7j2z84t.js} +2 -2
- package/dist/chunks/{model-resolver-0qk498bf.js → config-sdpn6dgk.js} +3 -3
- package/dist/chunks/{model-resolver-35mcxst1.js → config-sewqahfv.js} +3 -3
- package/dist/chunks/{model-resolver-s8zy8myc.js → config-sra9araw.js} +5 -5
- package/dist/chunks/{model-resolver-c4s6zvat.js → config-syyjt392.js} +22 -22
- package/dist/chunks/{model-resolver-7ycmm9h1.js → config-t2cdsbj3.js} +44 -44
- package/dist/chunks/{model-resolver-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-zs2nqse7.js → config-ty2s10zc.js} +18 -18
- package/dist/chunks/{model-resolver-83m0n60z.js → config-v691478h.js} +43 -43
- package/dist/chunks/{model-resolver-7skx4erk.js → config-va31982j.js} +11 -11
- package/dist/chunks/{model-resolver-8204yxav.js → config-va6ka2nw.js} +6 -6
- package/dist/chunks/{model-resolver-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-pca8yecj.js → config-vh0h4tgp.js} +12 -12
- package/dist/chunks/{model-resolver-bdsby7g0.js → config-vm7dkzb5.js} +7 -7
- package/dist/chunks/{model-resolver-k0ybnwrn.js → config-vny486p7.js} +21 -21
- package/dist/chunks/{model-resolver-kkb3bxcv.js → config-vxzf1d5a.js} +22 -22
- package/dist/chunks/{model-resolver-aj39p006.js → config-vyrd71eq.js} +11 -11
- package/dist/chunks/{model-resolver-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-1psxzgkr.js → config-w3q4rksf.js} +18 -18
- package/dist/chunks/{model-resolver-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/config-wdzaa0j7.js +492 -0
- package/dist/chunks/{model-resolver-z01c9x9z.js → config-wgr1r92k.js} +13 -13
- package/dist/chunks/{model-resolver-m8xgmas4.js → config-wj5bjavg.js} +6 -6
- package/dist/chunks/{model-resolver-vkyakgxh.js → config-wqw1azkj.js} +20 -20
- package/dist/chunks/{model-resolver-zk8c4w5t.js → config-wr7ps67x.js} +5 -5
- package/dist/chunks/{model-resolver-a5cdwkfx.js → config-x1ct6jbt.js} +33 -33
- package/dist/chunks/{model-resolver-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-7d2y95gb.js → config-x57hqxeb.js} +9 -9
- package/dist/chunks/{model-resolver-pf1wkr1n.js → config-x9ys62m7.js} +14 -14
- package/dist/chunks/{model-resolver-h7ng5vdc.js → config-xevcky50.js} +13 -13
- package/dist/chunks/{model-resolver-dffkmpde.js → config-xvq159hs.js} +68 -68
- package/dist/chunks/{model-resolver-tmjbks7b.js → config-xw4134ww.js} +20 -20
- package/dist/chunks/{model-resolver-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-eqqrsm1t.js → config-y28jhgqt.js} +24 -24
- package/dist/chunks/{model-resolver-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-vang5ec1.js → config-y7dg3279.js} +27 -27
- package/dist/chunks/{model-resolver-1acjjqhc.js → config-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-398p6kdy.js → config-ypr867c1.js} +4 -4
- package/dist/chunks/{model-resolver-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-ka5h1wrp.js → config-z88pgsf5.js} +1 -1
- package/dist/chunks/{model-resolver-6fc9ab0p.js → config-z9v13r6b.js} +18 -18
- package/dist/chunks/{model-resolver-5b0afsa0.js → config-zb385sre.js} +1 -1
- package/dist/chunks/{model-resolver-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-4ht7zjzd.js → config-zhezwzg9.js} +15 -15
- package/dist/chunks/{model-resolver-8s8mxddj.js → config-zj09a0ew.js} +4 -4
- package/dist/chunks/{model-resolver-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-xhw2e9cm.js → config-zshtfjeh.js} +13 -13
- package/dist/chunks/{model-resolver-ckf8nxjz.js → config-zvt5dnpc.js} +4 -4
- package/dist/chunks/{model-resolver-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-gmah3she.js → config-zxwm5ksn.js} +20 -20
- package/dist/chunks/{model-resolver-ztm7g6bb.js → config-zzpvtj7h.js} +20 -20
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- 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 +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +6 -6
- 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 +90 -90
- 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/id/id.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 +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +122 -122
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- 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 +88 -88
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/model-resolver-0mesazry.js +0 -4
- package/dist/chunks/model-resolver-7e8q9hkf.js +0 -26
- package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
- package/dist/chunks/model-resolver-kh9txynr.js +0 -252
- package/dist/chunks/model-resolver-qph6aq08.js +0 -492
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-qn4dpy0x.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
18
|
Service: () => Service33,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node37
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -28,7 +28,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
28
28
|
const location = yield* Service79;
|
|
29
29
|
return Service33.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make20({
|
|
53
53
|
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node83] });
|
|
65
65
|
|
|
66
|
-
export { Service33,
|
|
66
|
+
export { Service33, node37, exports_builtins };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-j9xcs6m9.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-sewqahfv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-wr7ps67x.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-4n5wabkh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-kj6x128f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./config-909p1r3q.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service53
|
|
16
|
+
} from "./config-rhp3r2pq.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./config-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./config-7h7s3rmt.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service46;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service53;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID8.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service46;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service53;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID8.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID8.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-kj6x128f.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service6,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer5,
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service6 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service6.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service6, layer: layer5, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service6, layer5, node7, exports_sdk };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-kj6x128f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-qn4dpy0x.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node80
|
|
12
|
+
} from "./config-vny486p7.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service52,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node54
|
|
20
|
+
} from "./config-gy4yzk8r.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node62
|
|
24
|
+
} from "./config-92swnv4m.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service41,
|
|
27
|
+
node44
|
|
28
|
+
} from "./config-qvb3nf84.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-ba07h9gm.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service63,
|
|
35
|
+
node66
|
|
36
|
+
} from "./config-heg0z178.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./config-as71pn4z.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service40,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node43
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service40 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service82;
|
|
91
91
|
const location = yield* Service79;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service52;
|
|
94
|
+
const environment = yield* Service77;
|
|
95
|
+
const hooks = yield* Service60;
|
|
96
|
+
const environments = yield* Service41;
|
|
97
|
+
const config = yield* Service63;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service40.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node43 = makeLocationNode({
|
|
320
|
+
service: Service40,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node86,
|
|
324
324
|
node83,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node54,
|
|
327
|
+
node80,
|
|
328
|
+
node62,
|
|
329
|
+
node44,
|
|
330
|
+
node66,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service40, cleanup2, node43, exports_shell4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./config-vny486p7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service17,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-8arhsq9v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service19
|
|
11
|
+
} from "./config-6372hfb7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service48
|
|
14
|
+
} from "./config-b4582k5t.js";
|
|
15
15
|
import {
|
|
16
16
|
Service20
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-fdpada3c.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input12,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin48,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name12,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name12 = "write";
|
|
39
|
+
var Input12 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin48 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
55
|
const access = yield* Service20;
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
56
|
+
const fileMutation = yield* Service17;
|
|
57
|
+
const environment = yield* Service77;
|
|
58
|
+
const formatter = yield* Service19;
|
|
59
|
+
const permission = yield* Service48;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name12,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input12,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name12, Input12, Output8, toModelContent6, Plugin48, exports_write };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-qn4dpy0x.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter2 = {};
|
|
14
|
+
__export(exports_formatter2, {
|
|
15
|
+
Formatter: () => exports_formatter2,
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node22
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service19 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service79;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service19.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node22 = makeLocationNode({
|
|
91
|
+
service: Service19,
|
|
92
92
|
layer,
|
|
93
93
|
deps: [node83, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service19, node22, exports_formatter2 };
|