@opencode/core 0.0.0-dev-19872 → 0.0.0-dev-19873
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/chunks/{worktree-dh787sn1.js → workspace-0065dgqy.js} +33 -33
- package/dist/chunks/{worktree-dz8x4rxg.js → workspace-036p5t1s.js} +4 -4
- package/dist/chunks/{worktree-dgrza9ek.js → workspace-0fz4zz3n.js} +13 -13
- package/dist/chunks/{worktree-11dqjexa.js → workspace-0jq9fyba.js} +9 -9
- package/dist/chunks/{worktree-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-6pbgrpz1.js → workspace-0sq7pbe4.js} +5 -5
- package/dist/chunks/{worktree-f62qkzqr.js → workspace-150yg2gd.js} +5 -5
- package/dist/chunks/{worktree-1ddefpyr.js → workspace-17qtn851.js} +20 -20
- package/dist/chunks/{worktree-73tb2d7t.js → workspace-1bbkgx8g.js} +3 -3
- package/dist/chunks/{worktree-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-cem17g90.js → workspace-1jnm4jdm.js} +41 -41
- package/dist/chunks/{worktree-w5xsrbnb.js → workspace-1zs4mem0.js} +26 -26
- package/dist/chunks/{worktree-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-adpqb9ts.js → workspace-22sm3a33.js} +6 -6
- package/dist/chunks/{worktree-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-bnq6mr9x.js → workspace-299n82gd.js} +8 -8
- package/dist/chunks/{worktree-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-0jkw1j53.js → workspace-2myva995.js} +6 -6
- package/dist/chunks/{worktree-k03db8z3.js → workspace-2nysdb6c.js} +17 -17
- package/dist/chunks/{worktree-qp8jc7h3.js → workspace-2r5z2msy.js} +9 -9
- package/dist/chunks/{worktree-myvehfjc.js → workspace-2vpqkgyn.js} +30 -30
- package/dist/chunks/{worktree-dmabgk2v.js → workspace-30gjtdfv.js} +8 -8
- package/dist/chunks/{worktree-3bapk1gs.js → workspace-31hf238s.js} +11 -11
- package/dist/chunks/{worktree-bxy5ajfv.js → workspace-34wh5bj8.js} +6 -6
- package/dist/chunks/{worktree-d2ax4fej.js → workspace-366sgdxg.js} +14 -14
- package/dist/chunks/{worktree-jaek9wet.js → workspace-3bnmr0bq.js} +27 -27
- package/dist/chunks/{worktree-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-kccwy87p.js → workspace-3gkgte7t.js} +13 -13
- package/dist/chunks/{worktree-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-f06r0vcj.js → workspace-3npj8t1e.js} +5 -5
- package/dist/chunks/{worktree-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-b8gtgm9a.js → workspace-3tj000pn.js} +12 -12
- package/dist/chunks/{worktree-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-24jxm842.js → workspace-41esmdat.js} +20 -20
- package/dist/chunks/{worktree-8mqynssf.js → workspace-4b85tpxd.js} +38 -38
- package/dist/chunks/{worktree-hmkf95c9.js → workspace-4d7v841x.js} +9 -9
- package/dist/chunks/{worktree-s3nqtxxj.js → workspace-4henhz1c.js} +20 -20
- package/dist/chunks/{worktree-cscxcgsg.js → workspace-4njxjgm5.js} +14 -14
- package/dist/chunks/{worktree-zh8xk7my.js → workspace-4xk002vj.js} +26 -26
- package/dist/chunks/{worktree-yjptyezs.js → workspace-510m7gjw.js} +5 -5
- package/dist/chunks/{worktree-dc6tzc5b.js → workspace-57ez7d0k.js} +9 -9
- package/dist/chunks/{worktree-06dxphr1.js → workspace-5c0f1prt.js} +4 -4
- package/dist/chunks/{worktree-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-d4q36r9n.js → workspace-5e7dwadz.js} +16 -16
- package/dist/chunks/{worktree-0c5gn5bj.js → workspace-5pq41k6y.js} +8 -8
- package/dist/chunks/{worktree-3dfzya26.js → workspace-5qp4g9kd.js} +21 -21
- package/dist/chunks/{worktree-fbf3se4r.js → workspace-5t10t3wy.js} +19 -19
- package/dist/chunks/{worktree-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-bggj1spx.js → workspace-61fxnknp.js} +43 -43
- package/dist/chunks/{worktree-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{worktree-jyaxjask.js → workspace-6a1dxhbz.js} +8 -8
- package/dist/chunks/{worktree-8kzgg7jc.js → workspace-6b4ymytp.js} +12 -12
- package/dist/chunks/{worktree-dsymck0a.js → workspace-6j725dzc.js} +6 -6
- package/dist/chunks/{worktree-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-rd8gh7p5.js → workspace-6rwaq330.js} +1 -1
- package/dist/chunks/{worktree-ma48de29.js → workspace-6vq97qmv.js} +5 -5
- package/dist/chunks/{worktree-x9w52knk.js → workspace-6yt6hxry.js} +14 -14
- package/dist/chunks/{worktree-bd4e439d.js → workspace-6zf41970.js} +16 -16
- package/dist/chunks/{worktree-t4ke9ew4.js → workspace-709xpvx9.js} +12 -12
- package/dist/chunks/{worktree-q17qcqnk.js → workspace-728mcprz.js} +11 -11
- package/dist/chunks/{worktree-k39q4sf2.js → workspace-76mtqfdb.js} +15 -15
- package/dist/chunks/{worktree-050bv84r.js → workspace-7bf9vhv9.js} +85 -85
- package/dist/chunks/{worktree-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-1d5d9h0t.js → workspace-7c97fsd3.js} +2 -2
- package/dist/chunks/{worktree-6j2syc76.js → workspace-7r0jg88s.js} +4 -4
- package/dist/chunks/{worktree-30846h32.js → workspace-7s451enq.js} +8 -8
- package/dist/chunks/{worktree-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/workspace-8ks0wbke.js +26 -0
- package/dist/chunks/{worktree-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-j93fbyzs.js → workspace-8qkm32xa.js} +13 -13
- package/dist/chunks/{worktree-wgz7hchk.js → workspace-92k45pvj.js} +6 -6
- package/dist/chunks/{worktree-sjwxqtfk.js → workspace-9am0prd5.js} +15 -15
- package/dist/chunks/{worktree-k03y7cqw.js → workspace-9gntjbfz.js} +28 -28
- package/dist/chunks/{worktree-pvr04t1x.js → workspace-9ke4xx6d.js} +20 -20
- package/dist/chunks/{worktree-d8c3ffv1.js → workspace-9q3zqkhg.js} +10 -10
- package/dist/chunks/{worktree-wder9crj.js → workspace-9v85pz74.js} +15 -15
- package/dist/chunks/{worktree-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-6hh8tjw2.js → workspace-a2ew8a62.js} +4 -4
- package/dist/chunks/{worktree-ky3seynh.js → workspace-a3r4dcrj.js} +2 -2
- package/dist/chunks/{worktree-01xkgkan.js → workspace-a823bscf.js} +4 -4
- package/dist/chunks/{worktree-ykze60hc.js → workspace-a9x56jpx.js} +20 -20
- package/dist/chunks/{worktree-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-gn0qs0ez.js → workspace-ac130235.js} +32 -32
- package/dist/chunks/{worktree-jtz05rza.js → workspace-ag0051rk.js} +41 -41
- package/dist/chunks/{worktree-kaagn64m.js → workspace-aj0pcar2.js} +27 -27
- package/dist/chunks/{worktree-p8d83q2f.js → workspace-ak9t2d76.js} +12 -12
- package/dist/chunks/{worktree-3eeqg3ch.js → workspace-amzgw2q1.js} +27 -27
- package/dist/chunks/{worktree-frr8ma5g.js → workspace-arzy6qnm.js} +13 -13
- package/dist/chunks/{worktree-35dwm1he.js → workspace-b0qpzj5b.js} +31 -31
- package/dist/chunks/{worktree-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-z9yzr4jj.js → workspace-b9q4a9vz.js} +24 -24
- package/dist/chunks/{worktree-cd7c4bdb.js → workspace-b9x402gy.js} +9 -9
- package/dist/chunks/{worktree-9d5hdd7t.js → workspace-batje1zt.js} +14 -14
- package/dist/chunks/{worktree-w3x9v1nk.js → workspace-be7qvw84.js} +8 -8
- package/dist/chunks/{worktree-0z8c9324.js → workspace-bwckxjxx.js} +7 -7
- package/dist/chunks/{worktree-af4q118x.js → workspace-bwrt7pzn.js} +11 -11
- package/dist/chunks/{worktree-81pca9ss.js → workspace-c29k628a.js} +17 -17
- package/dist/chunks/{worktree-1ay3g9r2.js → workspace-c4fbdzkc.js} +16 -16
- package/dist/chunks/{worktree-3w0fmcng.js → workspace-c78bbtc9.js} +5 -5
- package/dist/chunks/{worktree-5we7r0eg.js → workspace-cd11xdjc.js} +8 -8
- package/dist/chunks/{worktree-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-y7abhsg2.js → workspace-ck6bgcwy.js} +6 -6
- package/dist/chunks/{worktree-tnx6ann6.js → workspace-cms0fkmz.js} +1 -1
- package/dist/chunks/{worktree-23pqda6t.js → workspace-cpy6gm2a.js} +6 -6
- package/dist/chunks/{worktree-cq37gk0t.js → workspace-cq37gk0t.js} +4 -4
- package/dist/chunks/{worktree-mn14093j.js → workspace-d34adfd3.js} +8 -8
- package/dist/chunks/{worktree-8wgc21mb.js → workspace-d3s61q16.js} +42 -42
- package/dist/chunks/{worktree-djszqvmq.js → workspace-d4he2qe1.js} +9 -9
- package/dist/chunks/{worktree-y1ygrsmg.js → workspace-dn7ft6sh.js} +6 -6
- package/dist/chunks/{worktree-xfkkasph.js → workspace-drwq78ky.js} +4 -4
- package/dist/chunks/{worktree-75wt9k9g.js → workspace-e3jfww1d.js} +1 -1
- package/dist/chunks/{worktree-ackyxpj1.js → workspace-e9y2m1k9.js} +11 -11
- package/dist/chunks/{worktree-12egnza5.js → workspace-ea3stwpk.js} +9 -9
- package/dist/chunks/{worktree-qrq3k7hv.js → workspace-ecemc3e9.js} +38 -38
- package/dist/chunks/{worktree-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-f40tx9v5.js → workspace-ehxvdgv8.js} +7 -7
- package/dist/chunks/{worktree-ja2xmr49.js → workspace-ejb8p0fe.js} +47 -47
- package/dist/chunks/{worktree-28zap5n3.js → workspace-ekqe8bgq.js} +24 -24
- package/dist/chunks/{worktree-erw5rpbs.js → workspace-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-3n1pthd2.js → workspace-evp5cbst.js} +9 -9
- package/dist/chunks/{worktree-cejdfrv6.js → workspace-ez1k2efz.js} +15 -15
- package/dist/chunks/{worktree-pydpba5n.js → workspace-f0cggr8e.js} +135 -135
- package/dist/chunks/{worktree-e63kay3b.js → workspace-f46kx12j.js} +32 -32
- package/dist/chunks/{worktree-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-gzhks085.js → workspace-f870ndqn.js} +14 -14
- package/dist/chunks/{worktree-nwwa308c.js → workspace-fee2r8da.js} +7 -7
- package/dist/chunks/{worktree-44ke2mar.js → workspace-fkjmw100.js} +6 -6
- package/dist/chunks/{worktree-bk3tsm7g.js → workspace-fq0zj7p6.js} +5 -5
- package/dist/chunks/{worktree-mc5yagq3.js → workspace-fqqtw36s.js} +16 -16
- package/dist/chunks/{worktree-1gjr3geq.js → workspace-fsx0v75m.js} +14 -14
- package/dist/chunks/{worktree-ax36eyar.js → workspace-ftdzjz2b.js} +6 -6
- package/dist/chunks/{worktree-z2cyrkj5.js → workspace-fwyfeg68.js} +16 -16
- package/dist/chunks/{worktree-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-9hn6k4tm.js → workspace-g0445xdp.js} +8 -8
- package/dist/chunks/{worktree-2k4q641w.js → workspace-g64y4927.js} +3 -3
- package/dist/chunks/{worktree-y9854d0h.js → workspace-g9snjwbm.js} +3 -3
- package/dist/chunks/{worktree-d737nyfv.js → workspace-gat4z9ax.js} +9 -9
- package/dist/chunks/{worktree-k78r674t.js → workspace-gbt3acfc.js} +30 -30
- package/dist/chunks/{worktree-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-qpx06cdk.js → workspace-gdm1m1nd.js} +27 -27
- package/dist/chunks/{worktree-ef1sz92s.js → workspace-gdzrvykb.js} +20 -20
- package/dist/chunks/{worktree-2sz976k1.js → workspace-gqdw07cd.js} +46 -46
- package/dist/chunks/{worktree-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-xzbq4t52.js → workspace-h33b861t.js} +35 -35
- package/dist/chunks/{worktree-h6r3nrb9.js → workspace-h6r3nrb9.js} +1 -1
- package/dist/chunks/{worktree-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-tjedn1bk.js → workspace-h90v2x9d.js} +4 -4
- package/dist/chunks/{worktree-nq9nxgcr.js → workspace-h9fjvtgb.js} +20 -20
- package/dist/chunks/{worktree-xk8j9t28.js → workspace-h9kkq3gw.js} +25 -25
- package/dist/chunks/{worktree-ntn63d0h.js → workspace-habg3xh9.js} +24 -24
- package/dist/chunks/{worktree-hkfg6fzm.js → workspace-hkfg6fzm.js} +2 -2
- package/dist/chunks/{worktree-rr217x4v.js → workspace-hqxy7w3z.js} +26 -26
- package/dist/chunks/{worktree-49efg6hh.js → workspace-htw1ycyk.js} +7 -7
- package/dist/chunks/{worktree-m183j3hp.js → workspace-hvse0yze.js} +1 -1
- package/dist/chunks/workspace-hxa7m5za.js +4 -0
- package/dist/chunks/{worktree-rc43q7gj.js → workspace-hyetwb3r.js} +15 -15
- package/dist/chunks/{worktree-r5ec8tk0.js → workspace-j1tmabxy.js} +4 -4
- package/dist/chunks/{worktree-pnv527nz.js → workspace-j3s2z371.js} +9 -9
- package/dist/chunks/{worktree-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-wkt0yqpq.js → workspace-j5jgtn81.js} +1 -1
- package/dist/chunks/{worktree-5j6r72e5.js → workspace-j7apm612.js} +1 -1
- package/dist/chunks/{worktree-c8a4jtjn.js → workspace-j7vmjvz2.js} +11 -11
- package/dist/chunks/{worktree-92frf9bc.js → workspace-j9hsr5q7.js} +19 -19
- package/dist/chunks/{worktree-xxynqx5z.js → workspace-jexxy024.js} +2 -2
- package/dist/chunks/{worktree-6e4g0mmd.js → workspace-jhw3tax7.js} +6 -6
- package/dist/chunks/{worktree-dk764wf3.js → workspace-jsq6a141.js} +24 -24
- package/dist/chunks/{worktree-v3n2aj7f.js → workspace-jv6grhmz.js} +32 -32
- package/dist/chunks/{worktree-mtthj00s.js → workspace-k2y3et8s.js} +37 -37
- package/dist/chunks/{worktree-k3c624dm.js → workspace-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-knhmpdmt.js → workspace-kmxpeyjb.js} +8 -8
- package/dist/chunks/{worktree-d0mt1vja.js → workspace-kyat6mcg.js} +12 -12
- package/dist/chunks/{worktree-f2da3tzf.js → workspace-kz0hyxfv.js} +18 -18
- package/dist/chunks/{worktree-f0svag7k.js → workspace-m0884n7j.js} +52 -52
- package/dist/chunks/{worktree-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-1rpj62d2.js → workspace-m8mrc67f.js} +13 -13
- package/dist/chunks/{worktree-jvdmeb00.js → workspace-m8r6z6zn.js} +14 -14
- package/dist/chunks/{worktree-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-jhyw6xje.js → workspace-mc4fxygv.js} +22 -22
- package/dist/chunks/{worktree-1ygqh575.js → workspace-mfqp6xfm.js} +6 -6
- package/dist/chunks/{worktree-nrdmrqsx.js → workspace-mjymc32g.js} +4 -4
- package/dist/chunks/{worktree-smyb6yf6.js → workspace-mmtx9bta.js} +21 -21
- package/dist/chunks/{worktree-yjmcsphm.js → workspace-mtmnqesv.js} +26 -26
- package/dist/chunks/{worktree-2tk7wazy.js → workspace-mvmfaxqs.js} +13 -13
- package/dist/chunks/{worktree-nye5f74f.js → workspace-mzkfzb9e.js} +11 -11
- package/dist/chunks/{worktree-rvemz3qf.js → workspace-n01n2rer.js} +6 -6
- package/dist/chunks/{worktree-530x511h.js → workspace-n624v759.js} +11 -11
- package/dist/chunks/{worktree-pd8tqg4h.js → workspace-n8xbtczc.js} +22 -22
- package/dist/chunks/{worktree-z5z5sd66.js → workspace-nmxvyzm3.js} +23 -23
- package/dist/chunks/{worktree-0029brse.js → workspace-p1c58hcx.js} +3 -3
- package/dist/chunks/{worktree-p28j5sbe.js → workspace-p28j5sbe.js} +2 -2
- package/dist/chunks/workspace-p2h6zvwc.js +18 -0
- package/dist/chunks/{worktree-nmb2jxzm.js → workspace-p3dn7th8.js} +24 -24
- package/dist/chunks/{worktree-d7m6g9v6.js → workspace-p4tc3cb6.js} +4 -4
- package/dist/chunks/{worktree-37zv03r8.js → workspace-p76fyj4y.js} +13 -13
- package/dist/chunks/{worktree-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-ydg01c3p.js → workspace-pmjbhseb.js} +15 -15
- package/dist/chunks/{worktree-bct739vz.js → workspace-pmr4s4kc.js} +4 -4
- package/dist/chunks/{worktree-3bvwqdfr.js → workspace-pp7vavzt.js} +4 -4
- package/dist/chunks/{worktree-r4v7sw5j.js → workspace-ptjqpx56.js} +3 -3
- package/dist/chunks/{worktree-47rg4hp1.js → workspace-q3xw2crg.js} +14 -14
- package/dist/chunks/{worktree-7dqw4kz8.js → workspace-qgn6gcr1.js} +5 -5
- package/dist/chunks/{worktree-q7hnyx62.js → workspace-qnkbfq4a.js} +11 -11
- package/dist/chunks/{worktree-nnc51gs2.js → workspace-qpnhjb69.js} +9 -9
- package/dist/chunks/{worktree-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-mdpcq19b.js → workspace-r03g5xpg.js} +11 -11
- package/dist/chunks/{worktree-mnzq238h.js → workspace-r43562hj.js} +12 -12
- package/dist/chunks/{worktree-an1ythzp.js → workspace-r4wezeg5.js} +10 -10
- package/dist/chunks/{worktree-wv5sfath.js → workspace-r9ytktpp.js} +9 -9
- package/dist/chunks/{worktree-8c185vwj.js → workspace-rd906qww.js} +8 -8
- package/dist/chunks/{worktree-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-rhjbct0v.js → workspace-rhjbct0v.js} +1 -1
- package/dist/chunks/{worktree-pnd0g9pf.js → workspace-rtcmmca7.js} +5 -5
- package/dist/chunks/{worktree-shh6fz4q.js → workspace-s0hza5ac.js} +4 -4
- package/dist/chunks/{worktree-5pj5yv8y.js → workspace-s121vsj8.js} +19 -19
- package/dist/chunks/workspace-s43a7vsr.js +252 -0
- package/dist/chunks/{worktree-w5npym6y.js → workspace-sdsrhnhg.js} +4 -4
- package/dist/chunks/{worktree-qd60702v.js → workspace-sk9ksbs2.js} +15 -15
- package/dist/chunks/{worktree-baaqp4zd.js → workspace-t2az9yje.js} +4 -4
- package/dist/chunks/{worktree-xrm9dfb1.js → workspace-t78sbhk0.js} +7 -7
- package/dist/chunks/{worktree-mhyqqp67.js → workspace-t85sgt19.js} +22 -22
- package/dist/chunks/{worktree-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-2a2ncbm6.js → workspace-tb34wgbf.js} +20 -20
- package/dist/chunks/{worktree-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-6skacn9s.js → workspace-tch7kx0e.js} +34 -34
- package/dist/chunks/{worktree-a68v6zx7.js → workspace-tdhe5xga.js} +8 -8
- package/dist/chunks/{worktree-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-x2eykcsk.js → workspace-tfxyxzq3.js} +32 -32
- package/dist/chunks/{worktree-1rqq8hq9.js → workspace-tn5jqbt1.js} +2 -2
- package/dist/chunks/{worktree-ncv4r2bp.js → workspace-tpgy2yy7.js} +16 -16
- package/dist/chunks/{worktree-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-w4ppdpd0.js → workspace-v0dk4zmw.js} +16 -16
- package/dist/chunks/{worktree-m81pe42t.js → workspace-v1pfr9ds.js} +16 -16
- package/dist/chunks/{worktree-ep7dn8jk.js → workspace-v1spkxxj.js} +17 -17
- package/dist/chunks/{worktree-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-m2g4r6ez.js → workspace-vjbbtvxb.js} +8 -8
- package/dist/chunks/{worktree-9724qm49.js → workspace-vjpz43gy.js} +21 -21
- package/dist/chunks/{worktree-3ckfe0gn.js → workspace-vn84xtv1.js} +3 -3
- package/dist/chunks/{worktree-56400ha2.js → workspace-vw3vmw4j.js} +14 -14
- package/dist/chunks/{worktree-8hcfs6jd.js → workspace-vwbfz043.js} +25 -25
- package/dist/chunks/{worktree-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-k7zs4xcs.js → workspace-w6mrc2hv.js} +5 -5
- package/dist/chunks/{worktree-n4efq2p3.js → workspace-w8hedpe6.js} +20 -20
- package/dist/chunks/{worktree-1gvkbw2g.js → workspace-w8jkwtgt.js} +68 -68
- package/dist/chunks/{worktree-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-83xp5e3e.js → workspace-wzd35x4r.js} +2 -2
- package/dist/chunks/{worktree-4jv7e9dq.js → workspace-wzz0kxab.js} +6 -6
- package/dist/chunks/{worktree-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-90j31e8f.js → workspace-xa3hwzcs.js} +28 -28
- package/dist/chunks/{worktree-ng12e52f.js → workspace-xc23dxn4.js} +3 -3
- package/dist/chunks/{worktree-n48a3wtd.js → workspace-xf7akdj3.js} +9 -9
- package/dist/chunks/{worktree-6dpcvaj3.js → workspace-xfbvawkv.js} +33 -33
- package/dist/chunks/{worktree-qvb4r7jj.js → workspace-xtxqqyyy.js} +36 -36
- package/dist/chunks/{worktree-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-18j04j79.js → workspace-y3gpcn7q.js} +21 -21
- package/dist/chunks/{worktree-8jgc84wx.js → workspace-y4n65h4x.js} +10 -10
- package/dist/chunks/{worktree-m2zz6rv6.js → workspace-y5df08dr.js} +12 -12
- package/dist/chunks/{worktree-ba2a1zxc.js → workspace-y60ttyad.js} +47 -47
- package/dist/chunks/{worktree-dje2ev5t.js → workspace-y6hmj301.js} +4 -4
- package/dist/chunks/{worktree-dpkg50ah.js → workspace-y71avatq.js} +4 -4
- package/dist/chunks/{worktree-cs064az4.js → workspace-y7q3kmd2.js} +10 -10
- package/dist/chunks/{worktree-wxffcvth.js → workspace-ybhbtxjg.js} +3 -3
- package/dist/chunks/{worktree-6snte3jf.js → workspace-ybjzvgkv.js} +3 -3
- package/dist/chunks/{worktree-7h6v3mqz.js → workspace-ycrpfg4y.js} +84 -84
- package/dist/chunks/{worktree-1acjjqhc.js → workspace-yp2x3t23.js} +4 -4
- package/dist/chunks/{worktree-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-smzykshb.js → workspace-yv3kt0hr.js} +6 -6
- package/dist/chunks/{worktree-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-5xzwezzv.js → workspace-z3nmskby.js} +37 -37
- package/dist/chunks/{worktree-srq7twvs.js → workspace-z5680xyc.js} +27 -27
- package/dist/chunks/{worktree-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-bz85s9hh.js → workspace-zhq6vg7a.js} +1 -1
- package/dist/chunks/{worktree-zdfdg6f3.js → workspace-zjd4nskf.js} +322 -322
- package/dist/chunks/{worktree-gg184eje.js → workspace-zqnq95c4.js} +12 -12
- package/dist/chunks/{worktree-x96eb595.js → workspace-zqy44jh8.js} +26 -26
- package/dist/chunks/{worktree-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-x9wq683r.js → workspace-zt9b931x.js} +10 -10
- package/dist/chunks/{worktree-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- 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 +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +103 -103
- 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 +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +98 -98
- 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 +86 -86
- package/dist/instructions/index.js +1 -1
- 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 +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- 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 +5 -5
- 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 +121 -121
- 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 +71 -71
- 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 +6 -6
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- 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 +3 -3
- 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 +152 -152
- package/dist/session/history.js +13 -13
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- 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 +84 -84
- 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 +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +88 -88
- 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 +124 -124
- 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 +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +92 -92
- 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 +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/worktree-6a3y69ev.js +0 -26
- package/dist/chunks/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-gqqsgceb.js +0 -252
- package/dist/chunks/worktree-jqh9b0xq.js +0 -18
- /package/dist/chunks/{worktree-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-p1c58hcx.js";
|
|
8
8
|
import {
|
|
9
9
|
Service82,
|
|
10
10
|
node86
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-j1tmabxy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./workspace-y5df08dr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info34,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./workspace-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./workspace-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info33,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info33 = Info34;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service81;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service82;
|
|
101
101
|
const db = (yield* Service83).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID17.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event21.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID17.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID17.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID17.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID17.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service80.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node84 = makeGlobalNode({
|
|
276
|
+
service: Service80,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node86, node87, FSUtil.node,
|
|
278
|
+
deps: [node86, node87, FSUtil.node, node85, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-tpgy2yy7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service65,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node68,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service65 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service65, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node68 = LayerNode.unbound(Service65, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service65;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service65, node68, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-p1c58hcx.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-j1tmabxy.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-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
23
|
Event: () => Event20,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service77,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node81
|
|
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 ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
41
|
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service77, 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 Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service77.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(Service79, 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 Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -193,6 +193,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service77, node81, exports_credential };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-j1tmabxy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./workspace-tpgy2yy7.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service28
|
|
10
|
+
} from "./workspace-61fxnknp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin34
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin34 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service79;
|
|
200
|
+
const mcp = yield* Service28;
|
|
201
201
|
const bus = yield* Service82;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin34, exports_command2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./workspace-k2y3et8s.js";
|
|
4
4
|
import {
|
|
5
5
|
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service62
|
|
10
|
+
} from "./workspace-c4fbdzkc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin46,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
31
|
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin46 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service62;
|
|
51
|
+
const permission = yield* Service67;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin18 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output7, description4, toModelOutput2, Plugin46, exports_skill3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info17 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info11 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info17, exports_provider2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event21,
|
|
13
|
+
ID: () => ID18,
|
|
14
|
+
Info: () => Info34,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info34 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event21 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID18, Current3, Info34, UpdateInput4, Event21, Vcs3, exports_schema };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info23,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info23 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info23, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|