@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,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-4n5wabkh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-kj6x128f.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service72,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node75
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service72 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info29({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service72.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info29({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node75 = makeGlobalNode({ service: Service72, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event18, Info29, Service72, node75, exports_credential };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info19
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info19 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info19, exports_formatter3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-qn4dpy0x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service76,
|
|
10
|
+
node79
|
|
11
|
+
} from "./config-ty2s10zc.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./config-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service75,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node78,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service75 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
62
62
|
const location = yield* Service79;
|
|
63
|
-
const ripgrep = yield*
|
|
63
|
+
const ripgrep = yield* Service76;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service75.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
115
|
+
var fffLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
116
116
|
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service75.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service75.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
177
|
+
var layer25 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
178
|
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
@@ -182,9 +182,9 @@ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service75, layer: layer25(options), deps: [node83, node79] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node78 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service75, ripgrepLayer2, fffLayer2, layer25, configured10, node78, exports_search };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-4n5wabkh.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-kj6x128f.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-ba07h9gm.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service45,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer17,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make17,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node47,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info8,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service45 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service83;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service82;
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info8.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer17 = Layer.effect(Service45, make17());
|
|
231
|
+
var node47 = makeGlobalNode({ service: Service45, layer: layer17, deps: [node87, node86] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info8, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service45, make17, layer17, node47, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-kj6x128f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./config-rhp3r2pq.js";
|
|
7
7
|
import {
|
|
8
8
|
Error3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-y28jhgqt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./config-as71pn4z.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-7h7s3rmt.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./config-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-ypr867c1.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-b0n1t7rr.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service53;
|
|
58
|
+
const toolOutput = yield* Service42;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -209,4 +209,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
209
209
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
210
210
|
};
|
|
211
211
|
|
|
212
|
-
export { Outcome2,
|
|
212
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-ms7mjmxb.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-beq1mm78.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./config-heg0z178.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./config-rhp3r2pq.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin18
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin18 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const snapshot = yield* Service53;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin48 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin18, exports_snapshot };
|