@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-kj6x128f.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-gy4yzk8r.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError3,
|
|
20
|
+
Options: () => Options3,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service24,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
configured: () => configured3,
|
|
25
|
+
layer: () => layer9,
|
|
26
|
+
node: () => node27
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service24 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service82;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service69, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service69, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service69, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service24.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service69, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer9 = makeLayer();
|
|
259
|
+
var configured3 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service24,
|
|
261
|
+
layer: options === undefined ? layer9 : makeLayer(options),
|
|
262
262
|
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node27 = configured3();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options3, UnavailableError2, NotFoundError3, Service24, layer9, configured3, node27, exports_persistent_pty, Handoff2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-b4582k5t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service32,
|
|
12
|
+
node36
|
|
13
|
+
} from "./config-44674g4e.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-dajkwyv8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions4 = {};
|
|
24
24
|
__export(exports_instructions4, {
|
|
25
25
|
McpInstructions: () => exports_instructions4,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service30,
|
|
27
27
|
layer: () => layer11,
|
|
28
28
|
node: () => node34
|
|
29
29
|
});
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service30 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer11 = Layer.effect(
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service30, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service32;
|
|
68
|
+
return Service30.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make20({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer11 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var node34 = makeLocationNode({ service:
|
|
99
|
+
var node34 = makeLocationNode({ service: Service30, layer: layer11, deps: [node36] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service30, layer11, node34, exports_instructions4 };
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-qn4dpy0x.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service75,
|
|
12
|
+
node78
|
|
13
|
+
} from "./config-pvfx0zah.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry4,
|
|
25
|
+
Event: () => Event20,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput5,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError10,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service74,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node77
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError10 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content3 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput5 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event20 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service74 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service74, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service79;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service75;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service74.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError10({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node77 = makeLocationNode({
|
|
144
|
+
service: Service74,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node83,
|
|
146
|
+
deps: [FSUtil.node, node83, node78]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError10, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event20, Service74, node77, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info20
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info20 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info20, exports_attachment };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./config-vxzf1d5a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./config-b4582k5t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin49,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin49 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service73;
|
|
57
|
+
const permission = yield* Service48;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin49, exports_question };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-qn4dpy0x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./config-vny486p7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-8arhsq9v.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./config-6372hfb7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service48
|
|
17
|
+
} from "./config-b4582k5t.js";
|
|
18
18
|
import {
|
|
19
19
|
Service20,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-fdpada3c.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input8,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin43,
|
|
36
|
+
name: () => name8
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name8 = "edit";
|
|
43
|
+
var Input8 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin43 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
109
|
const access = yield* Service20;
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
110
|
+
const fileMutation = yield* Service17;
|
|
111
|
+
const environment = yield* Service77;
|
|
112
|
+
const formatter = yield* Service19;
|
|
113
113
|
const location = yield* Service79;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service48;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name8,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input8,
|
|
120
|
+
output: Output5,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin30 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name8, Input8, Output5, Plugin43, exports_edit };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-nsarsp7q.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79,
|
|
9
9
|
node83
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-qn4dpy0x.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-j268c786.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service16,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node19
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,9 +31,9 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service16 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service79;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service16.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node19 = makeLocationNode({
|
|
61
|
+
service: Service16,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node83, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service16, node19, exports_strategies };
|