@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
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node10 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node10, exports_location_watcher_policy };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options5,
|
|
15
|
+
Service: () => Service52,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured5,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node54,
|
|
25
25
|
ps: () => ps2,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options5 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service52 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
|
|
|
164
164
|
}
|
|
165
165
|
var defaultConfigured;
|
|
166
166
|
var defaultCompatible;
|
|
167
|
-
function
|
|
167
|
+
function resolve3(input, configShell, options, bin) {
|
|
168
168
|
const filter = input.priority === "compat" ? { compatible: true } : undefined;
|
|
169
169
|
if (configShell)
|
|
170
170
|
return select(configShell, options, filter, bin);
|
|
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
|
|
|
180
180
|
defaultConfigured = { bin, value };
|
|
181
181
|
return value;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
resolve3.reset = () => {
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
@@ -188,7 +188,7 @@ async function list4(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service52.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
|
-
resolve: (input) => Effect.sync(() =>
|
|
205
|
+
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
206
|
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured5(options) {
|
|
210
|
+
return makeLocationNode({ service: Service52, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node54 = configured5();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options5, Service52, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured5, node54, exports_select };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-4n5wabkh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./config-909p1r3q.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-bccb6npm.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-rjg0edk8.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-3aqn1cx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./config-nd8gpfv0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service46;
|
|
36
36
|
const database = yield* Service83;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-4n5wabkh.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service82,
|
|
8
8
|
node86
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-kj6x128f.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-rjg0edk8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service49,
|
|
21
|
+
node51
|
|
22
|
+
} from "./config-8drmjyr8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service28,
|
|
25
|
+
node32
|
|
26
|
+
} from "./config-nd8gpfv0.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service10,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer6,
|
|
42
|
+
node: () => node12
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service10 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service82;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service28;
|
|
65
|
+
const store = yield* Service49;
|
|
66
66
|
const db = (yield* Service83).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service10.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node86, llmClient2,
|
|
150
|
+
var node12 = makeLocationNode({
|
|
151
|
+
service: Service10,
|
|
152
|
+
layer: layer6,
|
|
153
|
+
deps: [node86, llmClient2, node32, node51, node87]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service10, isUntitled2, layer6, node12, exports_title };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-kj6x128f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./config-p83fc5ph.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node67
|
|
13
|
+
} from "./config-3g42qc4d.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service79,
|
|
19
19
|
node83
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-qn4dpy0x.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-414gxdxw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-nevqtesq.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service65,
|
|
36
|
+
Event13,
|
|
37
|
+
node68
|
|
38
|
+
} from "./config-wqw1azkj.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./config-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options6,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service63,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node66,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options6 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service63 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer21 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service79;
|
|
97
|
-
const watcher = yield*
|
|
97
|
+
const watcher = yield* Service64;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service72;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service65;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service63.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -264,11 +264,11 @@ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
264
264
|
}));
|
|
265
265
|
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service63,
|
|
268
|
+
layer: layer21(options),
|
|
269
|
+
deps: [node67, node86, FSUtil.node, Global.node, node83, node75, node68]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node66 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2, Options6,
|
|
274
|
+
export { latest2, Options6, Service63, Test2, testLayer2, layer21, configured7, node66, exports_config };
|