@opencode/core 0.0.0-dev-19925 → 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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{repository-q07kfc61.js → config-04ckjw77.js} +19 -19
- package/dist/chunks/{repository-p1e82s6y.js → config-06edwyrj.js} +11 -11
- package/dist/chunks/{repository-etj5smp4.js → config-08nn36ps.js} +53 -53
- package/dist/chunks/{repository-wnw9tw46.js → config-08w0egyc.js} +30 -30
- package/dist/chunks/{repository-78cefa2y.js → config-09cy5gpk.js} +12 -12
- package/dist/chunks/{repository-4y303w9z.js → config-0en0hh3r.js} +4 -4
- package/dist/chunks/{repository-p9chahah.js → config-0h6xm2fc.js} +13 -13
- package/dist/chunks/{repository-6hjx5zpb.js → config-0jq9fyba.js} +9 -9
- package/dist/chunks/{repository-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-w93zv9nk.js → config-0zek7svq.js} +13 -13
- package/dist/chunks/{repository-x2rw7g36.js → config-150yg2gd.js} +5 -5
- package/dist/chunks/{repository-2y3ekwe2.js → config-15802rpk.js} +5 -5
- package/dist/chunks/{repository-3q5g4b04.js → config-173p8h6h.js} +11 -11
- package/dist/chunks/{repository-jky0201x.js → config-190fx2w2.js} +10 -10
- package/dist/chunks/{repository-dfe8djrf.js → config-1a6p2twq.js} +4 -4
- package/dist/chunks/{repository-eq1pz5kg.js → config-1bbkgx8g.js} +3 -3
- package/dist/chunks/{repository-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-8gr762q3.js → config-1dqdbha6.js} +9 -9
- package/dist/chunks/{repository-21qm5hjj.js → config-1m53yep5.js} +1 -1
- package/dist/chunks/{repository-mjamd041.js → config-1vcfwyb7.js} +27 -27
- package/dist/chunks/{repository-19bkrvqm.js → config-1xycc2pn.js} +3 -3
- package/dist/chunks/{repository-fcxqvhk6.js → config-1yjwg5xg.js} +26 -26
- package/dist/chunks/{repository-hzm6ctw9.js → config-1zjrwp5x.js} +18 -18
- package/dist/chunks/{repository-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{repository-r5k04j94.js → config-221ma7bv.js} +29 -29
- package/dist/chunks/{repository-29x78va6.js → config-29x78va6.js} +2 -2
- package/dist/chunks/{repository-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-7dqw4kz8.js → config-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-3w2b2yj4.js → config-2qp6y8xf.js} +5 -5
- package/dist/chunks/{repository-s1p4125p.js → config-2v8c5gvq.js} +7 -7
- package/dist/chunks/{repository-2jmaa3b7.js → config-2w4gyvwb.js} +28 -28
- package/dist/chunks/{repository-fgej4qf0.js → config-2w8q0sft.js} +16 -16
- package/dist/chunks/{repository-qnb51md4.js → config-2x994bvn.js} +14 -14
- package/dist/chunks/{repository-v0nm7mhb.js → config-2zhqe5z4.js} +7 -7
- package/dist/chunks/{repository-adw3fvjp.js → config-3aqn1cx4.js} +28 -28
- package/dist/chunks/{repository-esjw5h14.js → config-3dfyr7pz.js} +23 -23
- package/dist/chunks/{repository-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-71wqcp91.js → config-3g42qc4d.js} +20 -20
- package/dist/chunks/{repository-fkz58nz1.js → config-3h42xwrr.js} +27 -27
- package/dist/chunks/{repository-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-pnv527nz.js → config-3pe7sts8.js} +9 -9
- package/dist/chunks/{repository-h03ecwmn.js → config-3qpny3t1.js} +170 -170
- package/dist/chunks/{repository-kxm9q0wf.js → config-3rw3svr8.js} +41 -41
- package/dist/chunks/{repository-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-e1kcw1az.js → config-3sry36ry.js} +28 -28
- package/dist/chunks/{repository-rstzpa01.js → config-3tfkds41.js} +5 -5
- package/dist/chunks/{repository-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-j33y0z99.js → config-3wew64z7.js} +5 -5
- package/dist/chunks/{repository-nqs4h0k8.js → config-3yh3z6fg.js} +3 -3
- package/dist/chunks/{repository-01srpq28.js → config-3zncv9zw.js} +25 -25
- package/dist/chunks/{repository-ewgcbr1g.js → config-414gxdxw.js} +24 -24
- package/dist/chunks/{repository-8qxc3twk.js → config-44674g4e.js} +49 -49
- package/dist/chunks/{repository-vp5d4e79.js → config-45stpd4w.js} +3 -3
- package/dist/chunks/{repository-kyktj0vd.js → config-48c763ft.js} +6 -6
- package/dist/chunks/{repository-qfh0yx8q.js → config-48cfa71b.js} +8 -8
- package/dist/chunks/{repository-4dgbcxzg.js → config-4dgbcxzg.js} +1 -1
- package/dist/chunks/{repository-5z3wwgqx.js → config-4fy34q0s.js} +29 -29
- package/dist/chunks/{repository-awvf2zjn.js → config-4mh8t5f6.js} +10 -10
- package/dist/chunks/{repository-yvshkvwv.js → config-4n5wabkh.js} +3 -3
- package/dist/chunks/{repository-e5trzkgc.js → config-4n8zy7qg.js} +4 -4
- package/dist/chunks/{repository-88m3a1j0.js → config-578ars9g.js} +23 -23
- package/dist/chunks/{repository-xtymyyez.js → config-57d5arwb.js} +13 -13
- package/dist/chunks/{repository-57ez7d0k.js → config-57ez7d0k.js} +2 -2
- package/dist/chunks/{repository-jz4rtkrq.js → config-59q269e2.js} +46 -46
- package/dist/chunks/{repository-a1bz86dw.js → config-5c4hm403.js} +3 -3
- package/dist/chunks/{repository-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-7y2n5xq6.js → config-5mfzg69w.js} +27 -27
- package/dist/chunks/{repository-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-cn9x06yp.js → config-6372hfb7.js} +6 -6
- package/dist/chunks/{repository-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{repository-hwpm8vt7.js → config-6aaw5wkp.js} +13 -13
- package/dist/chunks/{repository-fyk4pdgz.js → config-6ddjc60g.js} +90 -90
- package/dist/chunks/{repository-2402vzrj.js → config-6h73sxmp.js} +5 -5
- package/dist/chunks/{repository-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-fjfhwv23.js → config-6p2dpk8a.js} +11 -11
- package/dist/chunks/{repository-zkjm2j7v.js → config-71cj715e.js} +19 -19
- package/dist/chunks/{repository-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-wbc7ydme.js → config-7ctg4z5y.js} +26 -26
- package/dist/chunks/{repository-wb2crypr.js → config-7h7s3rmt.js} +6 -6
- package/dist/chunks/{repository-tcezcvh9.js → config-89znhe33.js} +4 -4
- package/dist/chunks/{repository-nxgrx1hd.js → config-8arhsq9v.js} +13 -13
- package/dist/chunks/{repository-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-bzdkvbj5.js → config-8drmjyr8.js} +14 -14
- package/dist/chunks/{repository-211mmdp7.js → config-8jsy6qxe.js} +11 -11
- package/dist/chunks/{repository-3n65n9br.js → config-8tnpz2sk.js} +14 -14
- package/dist/chunks/{repository-z3n8sd7x.js → config-8zkpsghb.js} +19 -19
- package/dist/chunks/{repository-jkp0d30b.js → config-909p1r3q.js} +6 -6
- package/dist/chunks/{repository-g1sxm558.js → config-92swnv4m.js} +8 -8
- package/dist/chunks/{repository-jpxh6pyg.js → config-931bsvm2.js} +11 -11
- package/dist/chunks/{repository-f9bwramw.js → config-93e91522.js} +24 -24
- package/dist/chunks/{repository-fyzb6xhz.js → config-940pdapd.js} +32 -32
- package/dist/chunks/{repository-vf77hyyh.js → config-96kdkwb7.js} +4 -4
- package/dist/chunks/{repository-5vh9te7n.js → config-9dp8xf7y.js} +26 -26
- package/dist/chunks/{repository-162s51z7.js → config-9h3nbwy9.js} +16 -16
- package/dist/chunks/{repository-ph1tfs1p.js → config-9n476q81.js} +10 -10
- package/dist/chunks/{repository-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-32rbh6wb.js → config-acan9bz7.js} +20 -20
- package/dist/chunks/{repository-1603qf85.js → config-ak9msbxp.js} +4 -4
- package/dist/chunks/{repository-hkrvrkta.js → config-as71pn4z.js} +12 -12
- package/dist/chunks/{repository-xmevcrcp.js → config-aspyrnxn.js} +10 -10
- package/dist/chunks/{repository-z5hryc26.js → config-b0cxceke.js} +44 -44
- package/dist/chunks/{repository-egxkcmfp.js → config-b0n1t7rr.js} +3 -3
- package/dist/chunks/{repository-jhd4mw7m.js → config-b231j30p.js} +9 -9
- package/dist/chunks/{repository-19vf66h0.js → config-b27vhd2z.js} +4 -4
- package/dist/chunks/{repository-d5s690h6.js → config-b4582k5t.js} +52 -52
- package/dist/chunks/{repository-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-5rnnm2b5.js → config-b6xy6jda.js} +9 -9
- package/dist/chunks/{repository-58hhxgm7.js → config-b7m59p0b.js} +35 -35
- package/dist/chunks/{repository-j4z2qnee.js → config-b8qsrfds.js} +11 -11
- package/dist/chunks/{repository-xxynqx5z.js → config-ba07h9gm.js} +3 -3
- package/dist/chunks/{repository-csf2jhsg.js → config-bccb6npm.js} +4 -4
- package/dist/chunks/{repository-3f6y2rkv.js → config-beq1mm78.js} +29 -29
- package/dist/chunks/{repository-h9c1s4qg.js → config-bssxjmn0.js} +17 -17
- package/dist/chunks/{repository-whx0ndbn.js → config-bzhd4azx.js} +9 -9
- package/dist/chunks/{repository-gxkgctst.js → config-c08p3s17.js} +24 -24
- package/dist/chunks/{repository-w8zkkrkv.js → config-c2af4gjd.js} +13 -13
- package/dist/chunks/{repository-77yeafev.js → config-cbxsd3x7.js} +4 -4
- package/dist/chunks/{repository-ky3seynh.js → config-cmkj70ft.js} +2 -2
- package/dist/chunks/{repository-1ff8zfs2.js → config-cr65h36k.js} +7 -7
- package/dist/chunks/{repository-wn50jf42.js → config-d25sxr2n.js} +17 -17
- package/dist/chunks/{repository-gqrx7was.js → config-d36z8apt.js} +26 -26
- package/dist/chunks/{repository-766n3kf0.js → config-dajkwyv8.js} +26 -26
- package/dist/chunks/{repository-e0jkkmj5.js → config-ddfrm1qp.js} +35 -35
- package/dist/chunks/{repository-8p4f9s12.js → config-dj2t23y0.js} +2 -2
- package/dist/chunks/{repository-xfkkasph.js → config-drwq78ky.js} +4 -4
- package/dist/chunks/config-e0cmv8ad.js +26 -0
- package/dist/chunks/{repository-fdty3bfe.js → config-e3nqh74b.js} +8 -8
- package/dist/chunks/{repository-ee6k5qat.js → config-e66fvnsd.js} +31 -31
- package/dist/chunks/{repository-41dpg2dz.js → config-ebbex8t4.js} +9 -9
- package/dist/chunks/{repository-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-1epfs5fg.js → config-ef9gv310.js} +9 -9
- package/dist/chunks/{repository-rd91h2ya.js → config-emtdknqp.js} +3 -3
- package/dist/chunks/{repository-2k71kv7p.js → config-ermxvwhp.js} +4 -4
- package/dist/chunks/{repository-erw5rpbs.js → config-erw5rpbs.js} +2 -2
- package/dist/chunks/{repository-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-hc7n3jk5.js → config-fab8hzt3.js} +4 -4
- package/dist/chunks/{repository-x1pm43af.js → config-fdpada3c.js} +15 -15
- package/dist/chunks/{repository-z9j8xn61.js → config-fe4vyjh1.js} +10 -10
- package/dist/chunks/{repository-xfa1mhf8.js → config-ffcx9nyn.js} +4 -4
- package/dist/chunks/{repository-89dh35pb.js → config-fjx9j9te.js} +5 -5
- package/dist/chunks/{repository-pyvd5r9m.js → config-fkvz5d6n.js} +10 -10
- package/dist/chunks/{repository-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-jjkp4fc9.js → config-g2hs3y6k.js} +24 -24
- package/dist/chunks/{repository-t13xjx4d.js → config-g6w34b37.js} +17 -17
- package/dist/chunks/{repository-yjzqxa7j.js → config-g7dqqsb3.js} +16 -16
- package/dist/chunks/{repository-ss0awb04.js → config-gb7ervf3.js} +6 -6
- package/dist/chunks/{repository-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-djszqvmq.js → config-gjwgx2c5.js} +9 -9
- package/dist/chunks/{repository-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-v8ys44m2.js → config-gy4yzk8r.js} +19 -19
- package/dist/chunks/{repository-gym5rw30.js → config-gzy8bf33.js} +16 -16
- package/dist/chunks/{repository-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-sv5y00bk.js → config-hbj3m5xw.js} +29 -29
- package/dist/chunks/{repository-f828m53h.js → config-hdnk95c8.js} +2 -2
- package/dist/chunks/{repository-s6fe5hfp.js → config-heg0z178.js} +44 -44
- package/dist/chunks/{repository-8ddgxhs2.js → config-hmkvfh4p.js} +39 -39
- package/dist/chunks/{repository-1zf2a2pg.js → config-hyrv2er6.js} +4 -4
- package/dist/chunks/{repository-4sm12gsw.js → config-j1zy4r9y.js} +13 -13
- package/dist/chunks/{repository-mgmaefw5.js → config-j268c786.js} +5 -5
- package/dist/chunks/{repository-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-3g36mm1g.js → config-j9xcs6m9.js} +3 -3
- package/dist/chunks/{repository-d0hvckm1.js → config-ja4jt1nm.js} +14 -14
- package/dist/chunks/{repository-1qs4d8rf.js → config-jgnkg8tq.js} +11 -11
- package/dist/chunks/{repository-sqwastk5.js → config-jnkwz9x8.js} +23 -23
- package/dist/chunks/{repository-jrdnbmhb.js → config-jpjb6z87.js} +19 -19
- package/dist/chunks/{repository-jqh9b0xq.js → config-jqh9b0xq.js} +1 -1
- package/dist/chunks/{repository-vmq7ehpy.js → config-jv01nqvq.js} +5 -5
- package/dist/chunks/{repository-aqwmkq51.js → config-k1kawhr0.js} +25 -25
- package/dist/chunks/{repository-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/{repository-tc4n4efz.js → config-kdyzpndw.js} +19 -19
- package/dist/chunks/{repository-gk9f066g.js → config-kgm7g42e.js} +4 -4
- package/dist/chunks/{repository-npcr6acw.js → config-kj6x128f.js} +12 -12
- package/dist/chunks/{repository-6m42r3np.js → config-kk00bynn.js} +4 -4
- package/dist/chunks/{repository-k9kj6xed.js → config-knb7evpn.js} +6 -6
- package/dist/chunks/config-kxpx8wwx.js +252 -0
- package/dist/chunks/{repository-f0v9bvs5.js → config-kyjz80j6.js} +14 -14
- package/dist/chunks/{repository-cfpkc3c9.js → config-m0jqrx5p.js} +2 -2
- package/dist/chunks/{repository-59ng6fem.js → config-m39rnvm7.js} +11 -11
- package/dist/chunks/{repository-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{repository-xt3d6zhv.js → config-m4qxebqp.js} +8 -8
- package/dist/chunks/{repository-0cgdvkbb.js → config-m6xnwrs1.js} +2 -2
- package/dist/chunks/{repository-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-q3px80ym.js → config-mczh4wfw.js} +1 -1
- package/dist/chunks/{repository-pemgcfv1.js → config-mepyk13b.js} +20 -20
- package/dist/chunks/{repository-1ygqh575.js → config-mfqp6xfm.js} +6 -6
- package/dist/chunks/{repository-6gymb6qa.js → config-mmp50qm8.js} +9 -9
- package/dist/chunks/{repository-06frcmbp.js → config-mn1f5j00.js} +8 -8
- package/dist/chunks/{repository-paztv5tv.js → config-ms7mjmxb.js} +27 -27
- package/dist/chunks/{repository-cyhsea0k.js → config-n2kah95r.js} +8 -8
- package/dist/chunks/{repository-4pbevh0n.js → config-nd8gpfv0.js} +80 -80
- package/dist/chunks/{repository-j1f20vnv.js → config-nevqtesq.js} +8 -8
- package/dist/chunks/{repository-cdgfrf78.js → config-nj0qzjff.js} +16 -16
- package/dist/chunks/{repository-afed7ext.js → config-nsarsp7q.js} +12 -12
- package/dist/chunks/{repository-bs07d2ya.js → config-nv3gs4ms.js} +17 -17
- package/dist/chunks/{repository-hj8zw9ft.js → config-nz697jhx.js} +9 -9
- package/dist/chunks/{repository-fnxmx3m1.js → config-p0zx402h.js} +24 -24
- package/dist/chunks/{repository-p28j5sbe.js → config-p28j5sbe.js} +2 -2
- package/dist/chunks/{repository-g0445xdp.js → config-p37cw4rj.js} +8 -8
- package/dist/chunks/{repository-z3k2zkqw.js → config-p83fc5ph.js} +27 -27
- package/dist/chunks/{repository-gzbkpp9m.js → config-pjedbq3k.js} +4 -4
- package/dist/chunks/{repository-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{repository-an5e9wjw.js → config-pvfx0zah.js} +27 -27
- package/dist/chunks/{repository-y0e9rkdj.js → config-pvg6p1wa.js} +20 -20
- package/dist/chunks/{repository-yzb9p9f6.js → config-pz7z57gx.js} +20 -20
- package/dist/chunks/{repository-5w667tvy.js → config-qa393g2j.js} +4 -4
- package/dist/chunks/config-qapv375x.js +4 -0
- package/dist/chunks/{repository-x6gh6e3d.js → config-qazh4pg4.js} +11 -11
- package/dist/chunks/{repository-5sh0jgnp.js → config-qn4dpy0x.js} +2 -2
- package/dist/chunks/{repository-a98ph9h2.js → config-qpcr28f2.js} +9 -9
- package/dist/chunks/{repository-bbdjnh0v.js → config-qqj9e2dc.js} +47 -47
- package/dist/chunks/{repository-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-2n295dmf.js → config-qvb3nf84.js} +8 -8
- package/dist/chunks/{repository-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-d4sp9rf7.js → config-reqevd7p.js} +9 -9
- package/dist/chunks/{repository-1zvvrxys.js → config-rfb6m91s.js} +7 -7
- package/dist/chunks/{repository-m94vb4p0.js → config-rfn4rx8v.js} +20 -20
- package/dist/chunks/{repository-rhjbct0v.js → config-rhjbct0v.js} +1 -1
- package/dist/chunks/{repository-cmstpayk.js → config-rhp3r2pq.js} +30 -30
- package/dist/chunks/{repository-sszcxcjt.js → config-rjg0edk8.js} +8 -8
- package/dist/chunks/{repository-72d8zngs.js → config-rjkv0b50.js} +15 -15
- package/dist/chunks/{repository-pppjd97s.js → config-rm5fy541.js} +35 -35
- package/dist/chunks/{repository-hpqp1x35.js → config-rtqqy8pm.js} +9 -9
- package/dist/chunks/{repository-b913ee5s.js → config-rvd36zpv.js} +35 -35
- package/dist/chunks/{repository-2kv50p2g.js → config-rwq3efnb.js} +19 -19
- package/dist/chunks/{repository-ts2x07a1.js → config-ryt7pzqc.js} +1 -1
- package/dist/chunks/{repository-s4enseaf.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-ar3j96as.js → config-s7j2z84t.js} +5 -5
- package/dist/chunks/{repository-skyxzy1a.js → config-sdpn6dgk.js} +5 -5
- package/dist/chunks/{repository-fjyrgdsf.js → config-sewqahfv.js} +3 -3
- package/dist/chunks/{repository-af04s6ss.js → config-sra9araw.js} +5 -5
- package/dist/chunks/{repository-6q8fzhmn.js → config-syyjt392.js} +22 -22
- package/dist/chunks/{repository-2030z9ed.js → config-t2cdsbj3.js} +46 -46
- package/dist/chunks/{repository-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{repository-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-05122696.js → config-ty2s10zc.js} +18 -18
- package/dist/chunks/{repository-txrkrrfy.js → config-v691478h.js} +43 -43
- package/dist/chunks/{repository-ex20gda7.js → config-va31982j.js} +8 -8
- package/dist/chunks/{repository-8yfe6b0v.js → config-va6ka2nw.js} +6 -6
- package/dist/chunks/{repository-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-hsneh1vn.js → config-vh0h4tgp.js} +14 -14
- package/dist/chunks/{repository-6s6av44s.js → config-vm7dkzb5.js} +7 -7
- package/dist/chunks/{repository-p06rs703.js → config-vny486p7.js} +21 -21
- package/dist/chunks/{repository-aw4fq485.js → config-vxzf1d5a.js} +25 -25
- package/dist/chunks/{repository-qth74v4j.js → config-vyrd71eq.js} +8 -8
- package/dist/chunks/{repository-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-3ypa69gd.js → config-w3q4rksf.js} +15 -15
- package/dist/chunks/{repository-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{repository-q7g37xjg.js → config-wdzaa0j7.js} +320 -320
- package/dist/chunks/{repository-147at2rg.js → config-wgr1r92k.js} +13 -13
- package/dist/chunks/{repository-k8vv74j4.js → config-wj5bjavg.js} +11 -11
- package/dist/chunks/{repository-s56qxvxr.js → config-wqw1azkj.js} +23 -23
- package/dist/chunks/{repository-t71v2ka4.js → config-wr7ps67x.js} +5 -5
- package/dist/chunks/{repository-v144frcm.js → config-x1ct6jbt.js} +33 -33
- package/dist/chunks/{repository-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-r5a408f1.js → config-x57hqxeb.js} +9 -9
- package/dist/chunks/{repository-9se1cb8f.js → config-x9ys62m7.js} +14 -14
- package/dist/chunks/{repository-ge8q68vb.js → config-xevcky50.js} +13 -13
- package/dist/chunks/{repository-msq9d40j.js → config-xvq159hs.js} +70 -70
- package/dist/chunks/{repository-c7m10r4j.js → config-xw4134ww.js} +20 -20
- package/dist/chunks/{repository-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-p83z16b4.js → config-y28jhgqt.js} +24 -24
- package/dist/chunks/{repository-y71avatq.js → config-y71avatq.js} +1 -1
- package/dist/chunks/{repository-rzsta14b.js → config-y7dg3279.js} +40 -40
- package/dist/chunks/{repository-1acjjqhc.js → config-yp2x3t23.js} +4 -4
- package/dist/chunks/{repository-8n1skxjn.js → config-ypr867c1.js} +4 -4
- package/dist/chunks/{repository-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-fvjq2vmb.js → config-z88pgsf5.js} +3 -3
- package/dist/chunks/{repository-f548qsqb.js → config-z9v13r6b.js} +16 -16
- package/dist/chunks/{repository-vcexxsm0.js → config-zb385sre.js} +5 -5
- package/dist/chunks/{repository-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-dw9d69vh.js → config-zhezwzg9.js} +15 -15
- package/dist/chunks/{repository-v4jw97dc.js → config-zj09a0ew.js} +4 -4
- package/dist/chunks/{repository-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-psc708qt.js → config-zshtfjeh.js} +13 -13
- package/dist/chunks/{repository-dhmh7aw6.js → config-zvt5dnpc.js} +4 -4
- package/dist/chunks/{repository-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-bewc9j1f.js → config-zxwm5ksn.js} +20 -20
- package/dist/chunks/{repository-yjexp1xg.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 +80 -80
- 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 +125 -125
- 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 +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 +73 -73
- 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 +3 -3
- 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 +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +102 -102
- 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 +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 +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- 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 +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +125 -125
- 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 +99 -99
- package/dist/models-dev.js +94 -94
- 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 +110 -110
- 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 +7 -7
- 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 +1 -1
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +96 -96
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +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 +5 -5
- 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 +207 -207
- 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 +216 -216
- 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 +92 -92
- 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 +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- 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 +3 -3
- 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 +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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- 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 +77 -77
- 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/repository-0mesazry.js +0 -4
- package/dist/chunks/repository-4nh0y7tg.js +0 -252
- package/dist/chunks/repository-taj71pe1.js +0 -26
- /package/dist/chunks/{repository-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e3qxr5gk.js → config-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./config-kj6x128f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./config-p83fc5ph.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service64,
|
|
12
|
+
node67
|
|
13
|
+
} from "./config-3g42qc4d.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service79,
|
|
19
19
|
node83
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./config-qn4dpy0x.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-414gxdxw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./config-nevqtesq.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service65,
|
|
36
|
+
Event13,
|
|
37
|
+
node68
|
|
38
|
+
} from "./config-wqw1azkj.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./config-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service63,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured7,
|
|
51
51
|
latest: () => latest2,
|
|
52
52
|
layer: () => layer21,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node66,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options6 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service63 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service63, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var layer21 = (options) => Layer.effect(
|
|
94
|
+
var layer21 = (options) => Layer.effect(Service63, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service79;
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
97
|
+
const watcher = yield* Service64;
|
|
98
|
+
const bus = yield* Service82;
|
|
99
|
+
const credentials = yield* Service72;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service65;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer21 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer21 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer21 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service63.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured7(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
267
|
+
service: Service63,
|
|
268
268
|
layer: layer21(options),
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node67, node86, FSUtil.node, Global.node, node83, node75, node68]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node66 = configured7();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options6, Service63, Test2, testLayer2, layer21, configured7, node66, exports_config };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service61
|
|
4
|
+
} from "./config-c08p3s17.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service67
|
|
8
|
+
} from "./config-beq1mm78.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./config-heg0z178.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-ba07h9gm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service55
|
|
18
|
+
} from "./config-g6w34b37.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service48
|
|
22
|
+
} from "./config-b4582k5t.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./config-6ddjc60g.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./config-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
30
|
make10
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./config-va31982j.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./config-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input9,
|
|
40
|
+
Output: () => Output6,
|
|
41
|
+
Plugin: () => Plugin45,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description5,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name9
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name9 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input9 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input12 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output6 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,15 +86,15 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin45 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service55;
|
|
94
|
+
const agents = yield* Service61;
|
|
95
|
+
const config = yield* Service63;
|
|
96
|
+
const permission = yield* Service48;
|
|
97
|
+
const models = yield* Service67;
|
|
98
98
|
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
@@ -115,11 +115,11 @@ var Plugin30 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description5,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin30 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name9,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin30 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name9];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name9, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name9, Input9, Output6, description5, Plugin45, exports_subagent };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./config-vny486p7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service77;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service62,
|
|
9
|
+
node65
|
|
10
|
+
} from "./config-b0cxceke.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-ba07h9gm.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service47,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node49,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service62;
|
|
77
|
+
return Service47.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node65] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service47, resolved2, node49, exports_model };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./config-nsarsp7q.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service81;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-vm7dkzb5.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-mczh4wfw.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
Service60
|
|
4
|
-
} from "./repository-s6fe5hfp.js";
|
|
5
|
-
import {
|
|
6
3
|
Service63
|
|
7
|
-
} from "./
|
|
4
|
+
} from "./config-heg0z178.js";
|
|
5
|
+
import {
|
|
6
|
+
Service52
|
|
7
|
+
} from "./config-gy4yzk8r.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/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin7
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin7 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service63;
|
|
27
|
+
const shell = yield* Service52;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin43 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin7, exports_shell };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID8,
|
|
6
|
+
Service53
|
|
7
|
+
} from "./config-rhp3r2pq.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-ba07h9gm.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-7h7s3rmt.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service53;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID8.make(from),
|
|
91
|
+
to: ID8.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|