@opencode/core 0.0.0-dev-20138 → 0.0.0-dev-20141
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{config-xme3ks9s.js → file-access-07cbe104.js} +11 -11
- package/dist/chunks/{config-x2aynqqh.js → file-access-0996nyz8.js} +9 -9
- package/dist/chunks/{config-zhfbyx8z.js → file-access-0pagfvqv.js} +26 -26
- package/dist/chunks/{config-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-qpedqgyv.js → file-access-0zdkw5df.js} +24 -24
- package/dist/chunks/{config-f9pg3fc2.js → file-access-11kcmn0a.js} +28 -28
- package/dist/chunks/{config-98wjttpb.js → file-access-13f708gt.js} +22 -22
- package/dist/chunks/{config-205axh8f.js → file-access-18h80hhh.js} +23 -23
- package/dist/chunks/{config-cjhfzgam.js → file-access-190fxv1k.js} +7 -7
- package/dist/chunks/{config-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-b2a4mx33.js → file-access-1ed2t66p.js} +4 -4
- package/dist/chunks/{config-2xcceyfe.js → file-access-1j1saafx.js} +2 -2
- package/dist/chunks/{config-mjfqk3dr.js → file-access-1y4m6dqp.js} +15 -15
- package/dist/chunks/{config-33w4ejhs.js → file-access-1ygqh575.js} +6 -6
- package/dist/chunks/{config-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{config-x3ccags0.js → file-access-25bkzxap.js} +5 -5
- package/dist/chunks/{config-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-909p1r3q.js → file-access-2a6rn6yr.js} +6 -6
- package/dist/chunks/{config-wazkjw19.js → file-access-2e8nnj1z.js} +32 -32
- package/dist/chunks/{config-jccb1ktz.js → file-access-2nmfhz6x.js} +25 -25
- package/dist/chunks/{config-pakm1xf4.js → file-access-2nzgwzmj.js} +31 -31
- package/dist/chunks/{config-3mn6pcm1.js → file-access-2qrkdcg2.js} +30 -30
- package/dist/chunks/{config-5t2ccrth.js → file-access-2yxwgcht.js} +32 -32
- package/dist/chunks/{config-53353pn2.js → file-access-30p3c7se.js} +6 -6
- package/dist/chunks/{config-ttj2adzt.js → file-access-32h2f5ch.js} +9 -9
- package/dist/chunks/file-access-36kt9wc7.js +26 -0
- package/dist/chunks/{config-1hcqwvs6.js → file-access-391amn2n.js} +21 -21
- package/dist/chunks/{config-h6g8qwaj.js → file-access-3c7npa91.js} +18 -18
- package/dist/chunks/{config-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-cj49wa4s.js → file-access-3gra7qqf.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/file-access-3n2cmxx3.js +507 -0
- package/dist/chunks/{config-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-vgf1xjf1.js → file-access-3w49wfs2.js} +29 -29
- package/dist/chunks/{config-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-36k1q7jk.js → file-access-45xcccy0.js} +22 -22
- package/dist/chunks/{config-tw803cw0.js → file-access-46vewfkt.js} +20 -20
- package/dist/chunks/{config-6cf04eeh.js → file-access-47h4wv9v.js} +43 -43
- package/dist/chunks/{config-rwqyj670.js → file-access-47hdw24z.js} +20 -20
- package/dist/chunks/{config-8g4bvpsm.js → file-access-47pt2zhg.js} +30 -30
- package/dist/chunks/{config-9488sd0c.js → file-access-49fksgn9.js} +48 -48
- package/dist/chunks/{config-zhrxqh9f.js → file-access-4gkaf5fk.js} +9 -9
- package/dist/chunks/{config-az5jz45q.js → file-access-4jy89vev.js} +7 -7
- package/dist/chunks/file-access-4v7qdvcn.js +18 -0
- package/dist/chunks/{config-3v887b88.js → file-access-4vv6kmkz.js} +12 -12
- package/dist/chunks/{config-26byz78p.js → file-access-54kp13cx.js} +8 -8
- package/dist/chunks/{config-54tcyq79.js → file-access-54tcyq79.js} +2 -2
- package/dist/chunks/{config-3tye9r0y.js → file-access-55e9mxrf.js} +35 -35
- package/dist/chunks/{config-d9s573fh.js → file-access-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-hhxarrq5.js → file-access-58yvn8th.js} +11 -11
- package/dist/chunks/{config-fkbgh3x8.js → file-access-595zwcr4.js} +36 -36
- package/dist/chunks/{config-2xx13dmh.js → file-access-5a6dmh0a.js} +3 -3
- package/dist/chunks/{config-qsee9sfb.js → file-access-5cmxdwv8.js} +3 -3
- package/dist/chunks/{config-cawa6q97.js → file-access-5cqfn2fs.js} +13 -13
- package/dist/chunks/{config-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{config-jx9kdz47.js → file-access-5e4ram87.js} +28 -28
- package/dist/chunks/{config-00rw73qm.js → file-access-5gj2e7w4.js} +63 -63
- package/dist/chunks/{config-khnfhz1z.js → file-access-5gp7mmx9.js} +35 -35
- package/dist/chunks/{config-0tk211ak.js → file-access-5mdn75z4.js} +10 -10
- package/dist/chunks/{config-e3qxr5gk.js → file-access-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-mzrbxmyd.js → file-access-5x6e9h63.js} +10 -10
- package/dist/chunks/{config-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{config-rq2ky6pw.js → file-access-66mzdnqe.js} +18 -18
- package/dist/chunks/{config-z5e7ett3.js → file-access-67zt5z2v.js} +19 -19
- package/dist/chunks/{config-2402vzrj.js → file-access-6h73sxmp.js} +5 -5
- package/dist/chunks/{config-5shvdct2.js → file-access-6mf606c0.js} +32 -32
- package/dist/chunks/{config-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-w6gq5z8r.js → file-access-6w5k4rwp.js} +33 -33
- package/dist/chunks/{config-13bh1knk.js → file-access-6wk4wtsq.js} +51 -51
- package/dist/chunks/{config-x3bqh1w7.js → file-access-766ntpf8.js} +19 -19
- package/dist/chunks/{config-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-wfmc8xz1.js → file-access-7k4gdncq.js} +25 -25
- package/dist/chunks/{config-r2e5sjsv.js → file-access-7q5pky5y.js} +4 -4
- package/dist/chunks/{config-bd13g03k.js → file-access-7ypkxd2v.js} +11 -11
- package/dist/chunks/{config-hehaxqkv.js → file-access-7zpeh0yx.js} +4 -4
- package/dist/chunks/{config-4kr8d4zw.js → file-access-7zt62bm8.js} +6 -6
- package/dist/chunks/{config-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-efmje13c.js → file-access-8eqr6fj6.js} +40 -40
- package/dist/chunks/{config-rtefpm2g.js → file-access-8p7k27sw.js} +28 -28
- package/dist/chunks/{config-cw2300pw.js → file-access-933rwsf9.js} +91 -91
- package/dist/chunks/{config-50dh339g.js → file-access-9akajvcf.js} +9 -9
- package/dist/chunks/{config-wz5tj16h.js → file-access-9b00c1fb.js} +5 -5
- package/dist/chunks/{config-qbzmhgd9.js → file-access-9bqgyk75.js} +12 -12
- package/dist/chunks/{config-1yztwrns.js → file-access-9d61vx02.js} +36 -36
- package/dist/chunks/{config-2a4sgpmw.js → file-access-9xvq3m7s.js} +5 -5
- package/dist/chunks/{config-2jnkp9qc.js → file-access-9xyftbwy.js} +27 -27
- package/dist/chunks/{config-fq8sxtwe.js → file-access-a604b2nh.js} +24 -24
- package/dist/chunks/{config-rm2283tq.js → file-access-a7a76khy.js} +15 -15
- package/dist/chunks/{config-w5rka97k.js → file-access-a7bcxdzj.js} +9 -9
- package/dist/chunks/{config-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{config-2d57kztd.js → file-access-ab9238g2.js} +6 -6
- package/dist/chunks/{config-90kcjg49.js → file-access-ahr3m1tq.js} +6 -6
- package/dist/chunks/{config-0ye76cet.js → file-access-awb27dyn.js} +11 -11
- package/dist/chunks/{config-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-212a4c1e.js → file-access-b8k44pcp.js} +11 -11
- package/dist/chunks/{config-xr1kbajs.js → file-access-bd8nw0ps.js} +18 -18
- package/dist/chunks/{config-f51b5zsk.js → file-access-bebqby2t.js} +75 -75
- package/dist/chunks/{config-bjtzbw4r.js → file-access-bjtzbw4r.js} +3 -3
- package/dist/chunks/{config-8hm0yd4e.js → file-access-bzj7w35t.js} +15 -15
- package/dist/chunks/{config-tgcnk5sw.js → file-access-c488s98d.js} +12 -12
- package/dist/chunks/{config-004e4gwc.js → file-access-ce52tdmr.js} +11 -11
- package/dist/chunks/{config-d1f42r35.js → file-access-cmfg05m6.js} +59 -59
- package/dist/chunks/{config-c58ws1j6.js → file-access-cmv1ehp6.js} +9 -9
- package/dist/chunks/{config-8jxztqqt.js → file-access-cr07tj7n.js} +5 -5
- package/dist/chunks/{config-tdrk3gcq.js → file-access-cv859jg1.js} +11 -11
- package/dist/chunks/{config-67jzg7n8.js → file-access-cy8k44e9.js} +9 -9
- package/dist/chunks/{config-t3158d2x.js → file-access-czkrkmgx.js} +19 -19
- package/dist/chunks/{config-hfzjbw0w.js → file-access-czmq52nr.js} +11 -11
- package/dist/chunks/{config-2pfxf1r0.js → file-access-d3rjbnfk.js} +42 -42
- package/dist/chunks/{config-nb9p6b26.js → file-access-d858xzj7.js} +4 -4
- package/dist/chunks/{config-2stn5gdx.js → file-access-d8mckcvr.js} +24 -24
- package/dist/chunks/{config-f12f4qff.js → file-access-djs2qdj1.js} +37 -37
- package/dist/chunks/{config-cpneeje0.js → file-access-djszqvmq.js} +9 -9
- package/dist/chunks/{config-dmqcgk4z.js → file-access-dmqcgk4z.js} +2 -2
- package/dist/chunks/{config-pkqn0xg2.js → file-access-dpd1wy2f.js} +3 -3
- package/dist/chunks/{config-xfkkasph.js → file-access-drwq78ky.js} +4 -4
- package/dist/chunks/{config-g0445xdp.js → file-access-dv1qgsyq.js} +8 -8
- package/dist/chunks/{config-z5h2xvpj.js → file-access-dy9gjbae.js} +22 -22
- package/dist/chunks/{config-cdqe3acw.js → file-access-dzpmeesh.js} +8 -8
- package/dist/chunks/{config-5wmg4cka.js → file-access-e5qn45cp.js} +6 -6
- package/dist/chunks/{config-8w0w8a1r.js → file-access-e6wq0pkd.js} +23 -23
- package/dist/chunks/{config-e10tdb53.js → file-access-ea7jg8gm.js} +32 -32
- package/dist/chunks/{config-t550f9t1.js → file-access-eaj1djv9.js} +8 -8
- package/dist/chunks/{config-ecfe7b91.js → file-access-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-a2ew8a62.js → file-access-edrmdtr5.js} +7 -7
- package/dist/chunks/{config-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-d9tew1bc.js → file-access-eptm0zc8.js} +17 -17
- package/dist/chunks/{config-c9gvqxyx.js → file-access-eq23s0y6.js} +5 -5
- package/dist/chunks/{config-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-wbrkq4sf.js → file-access-ezgggtab.js} +15 -15
- package/dist/chunks/{config-xf3b7ak0.js → file-access-f1vyadhg.js} +11 -11
- package/dist/chunks/{config-1acjjqhc.js → file-access-f2n192rq.js} +4 -4
- package/dist/chunks/{config-tmbebg54.js → file-access-f2qey9ff.js} +9 -9
- package/dist/chunks/{config-2xhrmdtc.js → file-access-f7zkmwwr.js} +26 -26
- package/dist/chunks/{config-413exqef.js → file-access-fd7qhhzd.js} +8 -8
- package/dist/chunks/{config-04j3qq2r.js → file-access-fjymm1jm.js} +11 -11
- package/dist/chunks/{config-x7xps62k.js → file-access-fn76qwjq.js} +26 -26
- package/dist/chunks/{config-1ta6q2er.js → file-access-fx8mct09.js} +46 -46
- package/dist/chunks/{config-49w81a06.js → file-access-fxk1dvk2.js} +16 -16
- package/dist/chunks/{config-xhzb4j7x.js → file-access-g58578sd.js} +50 -50
- package/dist/chunks/{config-9b6bzyta.js → file-access-g729f89q.js} +5 -5
- package/dist/chunks/{config-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-gfvb90ym.js → file-access-gfvb90ym.js} +2 -2
- package/dist/chunks/{config-r6596zr4.js → file-access-gj1agk6p.js} +93 -93
- package/dist/chunks/{config-y5ce77yz.js → file-access-gj4mwrts.js} +22 -22
- package/dist/chunks/{config-zwt8vk3y.js → file-access-gjyjby33.js} +24 -24
- package/dist/chunks/{config-fbrvc728.js → file-access-gkqt3r54.js} +29 -29
- package/dist/chunks/{config-yyb7tjpc.js → file-access-gv6a8nnw.js} +2 -2
- package/dist/chunks/file-access-gvcspdv1.js +252 -0
- package/dist/chunks/{config-0ebdd2th.js → file-access-h43gvtrf.js} +1 -1
- package/dist/chunks/{config-zy43x3f1.js → file-access-h6310vsd.js} +4 -4
- package/dist/chunks/{config-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-gqawmzqm.js → file-access-hcexmw40.js} +5 -5
- package/dist/chunks/{config-bdz52qe0.js → file-access-hkjcbs5m.js} +9 -9
- package/dist/chunks/{config-agz527ak.js → file-access-hqjjc0vw.js} +4 -4
- package/dist/chunks/{config-aa9qmqjd.js → file-access-hzn6jf4f.js} +11 -11
- package/dist/chunks/{config-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{config-3rbg396k.js → file-access-j8qvfw9b.js} +35 -35
- package/dist/chunks/{config-et5t4jp6.js → file-access-jh1cchk5.js} +5 -5
- package/dist/chunks/{config-yt6946d2.js → file-access-jmcf7psp.js} +15 -15
- package/dist/chunks/{config-ehbeapq9.js → file-access-jvkwgfm2.js} +5 -5
- package/dist/chunks/{config-nzks3jc8.js → file-access-k3c624dm.js} +3 -3
- package/dist/chunks/{config-mkmma686.js → file-access-k3q5jrhp.js} +11 -11
- package/dist/chunks/{config-at9nkwqq.js → file-access-k5t6ga43.js} +16 -16
- package/dist/chunks/{config-rszgb4kr.js → file-access-k7qsktv6.js} +32 -32
- package/dist/chunks/{config-fctagemx.js → file-access-k8rm5hjv.js} +18 -18
- package/dist/chunks/{config-3g33scay.js → file-access-k9d40v1y.js} +4 -4
- package/dist/chunks/{config-nddkhvbd.js → file-access-k9xr0v4k.js} +9 -9
- package/dist/chunks/{config-3pgbhc4g.js → file-access-k9zzg48m.js} +41 -41
- package/dist/chunks/{config-ww0r9w3x.js → file-access-kegq2ngb.js} +41 -41
- package/dist/chunks/{config-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-6ysrkrkr.js → file-access-m6f3t844.js} +8 -8
- package/dist/chunks/{config-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-6eqdn8ea.js → file-access-mf7yxpx6.js} +8 -8
- package/dist/chunks/{config-1bbkgx8g.js → file-access-mhkvc446.js} +3 -3
- package/dist/chunks/{config-faf0pg48.js → file-access-mjrh87mm.js} +5 -5
- package/dist/chunks/{config-s8j6jbjj.js → file-access-mjymc32g.js} +21 -21
- package/dist/chunks/{config-qpc9vtf1.js → file-access-mkk8xrh7.js} +11 -11
- package/dist/chunks/{config-fk27f4r9.js → file-access-mngkqd2a.js} +28 -28
- package/dist/chunks/{config-x4x8p45h.js → file-access-mpy9brzp.js} +4 -4
- package/dist/chunks/{config-p3q41kd4.js → file-access-n3mrvad9.js} +24 -24
- package/dist/chunks/{config-qypjb9qm.js → file-access-n6zbv0x9.js} +22 -22
- package/dist/chunks/{config-e4x26tta.js → file-access-nfz4w8nm.js} +13 -13
- package/dist/chunks/{config-nw76s6gw.js → file-access-npebw0ng.js} +25 -25
- package/dist/chunks/{config-j610zsq2.js → file-access-nqzvs0gy.js} +10 -10
- package/dist/chunks/{config-wn0ga2b8.js → file-access-nscznvay.js} +9 -9
- package/dist/chunks/{config-xj8wqazb.js → file-access-nshkm85k.js} +23 -23
- package/dist/chunks/{config-96rb8v10.js → file-access-ntzrvc4x.js} +22 -22
- package/dist/chunks/{config-n24ead33.js → file-access-nva7pgzg.js} +20 -20
- package/dist/chunks/{config-ejxcs2wf.js → file-access-ny1cvz5h.js} +27 -27
- package/dist/chunks/{config-0nga78sz.js → file-access-nzdpbg9x.js} +18 -18
- package/dist/chunks/{config-80s34xhz.js → file-access-nzkj1srn.js} +28 -28
- package/dist/chunks/{config-ehg8d8vw.js → file-access-nztvwjmq.js} +3 -3
- package/dist/chunks/{config-h6r3nrb9.js → file-access-nzyhnfxz.js} +4 -4
- package/dist/chunks/{config-e7v63qpe.js → file-access-p05jqkby.js} +11 -11
- package/dist/chunks/{config-0fgjpany.js → file-access-p3p1xf08.js} +13 -13
- package/dist/chunks/{config-52e0v1a4.js → file-access-p4pfxbsn.js} +26 -26
- package/dist/chunks/{config-31y5g5js.js → file-access-pemjscw2.js} +3 -3
- package/dist/chunks/{config-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{config-r98e92ep.js → file-access-pmr4s4kc.js} +4 -4
- package/dist/chunks/{config-7rvn196s.js → file-access-pmth3ynj.js} +13 -13
- package/dist/chunks/{config-psazpmmj.js → file-access-psazpmmj.js} +2 -2
- package/dist/chunks/{config-zwkpneev.js → file-access-pstp6bap.js} +27 -27
- package/dist/chunks/{config-02k9rrbw.js → file-access-pz73s8hm.js} +12 -12
- package/dist/chunks/{config-dmrgv427.js → file-access-qbs1n711.js} +32 -32
- package/dist/chunks/{config-yq14pbr7.js → file-access-qdbakdjh.js} +5 -5
- package/dist/chunks/{config-7dqw4kz8.js → file-access-qgn6gcr1.js} +5 -5
- package/dist/chunks/{config-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{config-wnys78fq.js → file-access-qsswvbq8.js} +8 -8
- package/dist/chunks/{config-j64qmen3.js → file-access-qxbdt9qh.js} +5 -5
- package/dist/chunks/{config-m1xmn778.js → file-access-qzvm78jf.js} +13 -13
- package/dist/chunks/{config-4qn88dn6.js → file-access-r46m9nfb.js} +7 -7
- package/dist/chunks/{config-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-py3kkmfq.js → file-access-rkprpv83.js} +2 -2
- package/dist/chunks/{config-4y7ftmx6.js → file-access-rmmx4qnr.js} +4 -4
- package/dist/chunks/{config-ayw4bpxw.js → file-access-rtt889h8.js} +3 -3
- package/dist/chunks/{config-d3mz9ebw.js → file-access-rv03vw6d.js} +21 -21
- package/dist/chunks/{config-4kpyjzdj.js → file-access-rv75j0en.js} +5 -5
- package/dist/chunks/{config-14cxpr2p.js → file-access-rybm4q9y.js} +24 -24
- package/dist/chunks/{config-aryyw1nk.js → file-access-rzs3gq0x.js} +8 -8
- package/dist/chunks/{config-ytwmzygv.js → file-access-sdgtzm3s.js} +44 -44
- package/dist/chunks/{config-wqekz7r9.js → file-access-sn9cksa8.js} +3 -3
- package/dist/chunks/{config-vtd2qwnf.js → file-access-sqy4ahhk.js} +1 -1
- package/dist/chunks/{config-4gb1bqr9.js → file-access-sybwkgw9.js} +19 -19
- package/dist/chunks/{config-58f2zejc.js → file-access-t4geqb26.js} +13 -13
- package/dist/chunks/{config-kne8f3cn.js → file-access-t7n9q6bq.js} +4 -4
- package/dist/chunks/{config-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{config-3epjzpje.js → file-access-tj40eakf.js} +10 -10
- package/dist/chunks/{config-y19y1gqp.js → file-access-tkhckq9p.js} +17 -17
- package/dist/chunks/{config-2scwtdw8.js → file-access-tm4sphte.js} +25 -25
- package/dist/chunks/{config-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{config-rawnsxr4.js → file-access-twmq3zbs.js} +13 -13
- package/dist/chunks/{config-4a0nv7mx.js → file-access-tx9w5tca.js} +8 -8
- package/dist/chunks/{config-53exhss6.js → file-access-tyy6h6br.js} +15 -15
- package/dist/chunks/{config-v4xwk8xj.js → file-access-v7frm449.js} +5 -5
- package/dist/chunks/{config-y3k2w6er.js → file-access-v9m57sg1.js} +23 -23
- package/dist/chunks/{config-zah1qvn2.js → file-access-veksm59j.js} +5 -5
- package/dist/chunks/{config-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{config-2ngk85c9.js → file-access-vjp5pnvm.js} +180 -180
- package/dist/chunks/{config-042q83f5.js → file-access-vmgq4x8b.js} +2 -2
- package/dist/chunks/{config-rn6a4jk0.js → file-access-vmwh049b.js} +9 -9
- package/dist/chunks/{config-eek1kfza.js → file-access-vpy1xq43.js} +31 -31
- package/dist/chunks/{config-xzf1sd04.js → file-access-vrqc9dc3.js} +8 -8
- package/dist/chunks/{config-74vyjc51.js → file-access-vv97ra8n.js} +11 -11
- package/dist/chunks/{config-7sd9q442.js → file-access-vyqn3nqs.js} +6 -6
- package/dist/chunks/{config-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-2djekgws.js → file-access-w7mxvcx8.js} +4 -4
- package/dist/chunks/{config-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{config-h96rd27y.js → file-access-wmxtrebc.js} +10 -10
- package/dist/chunks/{config-38haprg7.js → file-access-wq0488kp.js} +19 -19
- package/dist/chunks/{config-q2y1kkpk.js → file-access-wvtp758r.js} +12 -12
- package/dist/chunks/{config-xe2qtx1p.js → file-access-wx2kp86g.js} +29 -29
- package/dist/chunks/{config-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-91yg1g02.js → file-access-xcs0zmjn.js} +20 -20
- package/dist/chunks/{config-98skma2j.js → file-access-xhvpahqg.js} +3 -3
- package/dist/chunks/{config-mhjqvrgz.js → file-access-xvnv4z7d.js} +13 -13
- package/dist/chunks/{config-9tcjvzbq.js → file-access-xzhjvr9t.js} +40 -40
- package/dist/chunks/{config-k7dkdrek.js → file-access-xznnvs5h.js} +40 -40
- package/dist/chunks/{config-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-11krfqa0.js → file-access-y4341gk7.js} +23 -23
- package/dist/chunks/{config-07pbtsz4.js → file-access-y6kne2hc.js} +12 -11
- package/dist/chunks/{config-y71avatq.js → file-access-y71avatq.js} +1 -1
- package/dist/chunks/{config-e5nyjeqt.js → file-access-yq9bvypd.js} +12 -12
- package/dist/chunks/{config-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-s4enseaf.js → file-access-yrznvahk.js} +2 -2
- package/dist/chunks/{config-nazc1p9g.js → file-access-yvfb9t5v.js} +14 -14
- package/dist/chunks/{config-0d4c3zch.js → file-access-ywqvmpyy.js} +17 -17
- package/dist/chunks/{config-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-xg52hmzq.js → file-access-z14tw1zc.js} +12 -12
- package/dist/chunks/{config-wyde74ee.js → file-access-z4m7447n.js} +10 -10
- package/dist/chunks/{config-29x78va6.js → file-access-z63w68vq.js} +6 -6
- package/dist/chunks/{config-rq775frq.js → file-access-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-bn2k1xcd.js → file-access-zg6rgtgg.js} +17 -17
- package/dist/chunks/{config-0dgk8qw7.js → file-access-zkt1ws99.js} +11 -11
- package/dist/chunks/{config-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-4n7gsv23.js → file-access-zt47fecy.js} +10 -10
- package/dist/chunks/{config-hy3zkg50.js → file-access-zwhqmq19.js} +35 -35
- package/dist/chunks/{config-zxq2ej10.js → file-access-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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/config-etsfg370.js +0 -26
- package/dist/chunks/config-n95b3jav.js +0 -18
- package/dist/chunks/config-p72wpz3g.js +0 -252
- package/dist/chunks/config-pb86ex5e.js +0 -507
- /package/dist/chunks/{config-0mesazry.js → file-access-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → file-access-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → file-access-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → file-access-z9919s4g.js} +0 -0
package/dist/bus.js
CHANGED
|
@@ -6,89 +6,89 @@ import {
|
|
|
6
6
|
durable2,
|
|
7
7
|
ephemeral2,
|
|
8
8
|
isSynced2,
|
|
9
|
-
|
|
9
|
+
Service82,
|
|
10
10
|
configured12,
|
|
11
|
-
|
|
11
|
+
node86,
|
|
12
12
|
exports_bus
|
|
13
|
-
} from "./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
68
|
-
import"./chunks/
|
|
69
|
-
import"./chunks/
|
|
70
|
-
import"./chunks/
|
|
71
|
-
import"./chunks/
|
|
72
|
-
import"./chunks/
|
|
73
|
-
import"./chunks/
|
|
74
|
-
import"./chunks/
|
|
75
|
-
import"./chunks/
|
|
76
|
-
import"./chunks/
|
|
77
|
-
import"./chunks/
|
|
78
|
-
import"./chunks/
|
|
79
|
-
import"./chunks/
|
|
80
|
-
import"./chunks/
|
|
81
|
-
import"./chunks/
|
|
13
|
+
} from "./chunks/file-access-k5t6ga43.js";
|
|
14
|
+
import"./chunks/file-access-2710q6r3.js";
|
|
15
|
+
import"./chunks/file-access-y71avatq.js";
|
|
16
|
+
import"./chunks/file-access-mkk8xrh7.js";
|
|
17
|
+
import"./chunks/file-access-sn9cksa8.js";
|
|
18
|
+
import"./chunks/file-access-34c7v6d4.js";
|
|
19
|
+
import"./chunks/file-access-0zkw76rk.js";
|
|
20
|
+
import"./chunks/file-access-5a6dmh0a.js";
|
|
21
|
+
import"./chunks/file-access-rtt889h8.js";
|
|
22
|
+
import"./chunks/file-access-3gra7qqf.js";
|
|
23
|
+
import"./chunks/file-access-1j1saafx.js";
|
|
24
|
+
import"./chunks/file-access-r46m9nfb.js";
|
|
25
|
+
import"./chunks/file-access-822emrt2.js";
|
|
26
|
+
import"./chunks/file-access-7bmhse3q.js";
|
|
27
|
+
import"./chunks/file-access-wd87259q.js";
|
|
28
|
+
import"./chunks/file-access-w3wsvvr9.js";
|
|
29
|
+
import"./chunks/file-access-cf4snx6d.js";
|
|
30
|
+
import"./chunks/file-access-m9w0rfyh.js";
|
|
31
|
+
import"./chunks/file-access-emrn6kk6.js";
|
|
32
|
+
import"./chunks/file-access-f0mxakyp.js";
|
|
33
|
+
import"./chunks/file-access-49fksgn9.js";
|
|
34
|
+
import"./chunks/file-access-njntx4h6.js";
|
|
35
|
+
import"./chunks/file-access-17cy0kzp.js";
|
|
36
|
+
import"./chunks/file-access-wtztk69x.js";
|
|
37
|
+
import"./chunks/file-access-atq7p7m5.js";
|
|
38
|
+
import"./chunks/file-access-n05xt0ee.js";
|
|
39
|
+
import"./chunks/file-access-z9919s4g.js";
|
|
40
|
+
import"./chunks/file-access-cvy3z8tj.js";
|
|
41
|
+
import"./chunks/file-access-rcb2kzg1.js";
|
|
42
|
+
import"./chunks/file-access-53557ph1.js";
|
|
43
|
+
import"./chunks/file-access-bkyjaxrp.js";
|
|
44
|
+
import"./chunks/file-access-msx8hqn2.js";
|
|
45
|
+
import"./chunks/file-access-4knz6hnm.js";
|
|
46
|
+
import"./chunks/file-access-wer8tq1h.js";
|
|
47
|
+
import"./chunks/file-access-w803qqfp.js";
|
|
48
|
+
import"./chunks/file-access-2c3vjs8z.js";
|
|
49
|
+
import"./chunks/file-access-fd410y7t.js";
|
|
50
|
+
import"./chunks/file-access-d9jj8t3e.js";
|
|
51
|
+
import"./chunks/file-access-359p4xyc.js";
|
|
52
|
+
import"./chunks/file-access-q3sfg36h.js";
|
|
53
|
+
import"./chunks/file-access-7m9af43g.js";
|
|
54
|
+
import"./chunks/file-access-qb87gjwd.js";
|
|
55
|
+
import"./chunks/file-access-bmr6ed5q.js";
|
|
56
|
+
import"./chunks/file-access-1cnp2v09.js";
|
|
57
|
+
import"./chunks/file-access-a6k6eb26.js";
|
|
58
|
+
import"./chunks/file-access-q74kybfr.js";
|
|
59
|
+
import"./chunks/file-access-8n3pysct.js";
|
|
60
|
+
import"./chunks/file-access-y8f7s663.js";
|
|
61
|
+
import"./chunks/file-access-n3j8tn72.js";
|
|
62
|
+
import"./chunks/file-access-f6n9ztr4.js";
|
|
63
|
+
import"./chunks/file-access-j2ntwpah.js";
|
|
64
|
+
import"./chunks/file-access-jr7sbwjy.js";
|
|
65
|
+
import"./chunks/file-access-d9fn303g.js";
|
|
66
|
+
import"./chunks/file-access-df08tz66.js";
|
|
67
|
+
import"./chunks/file-access-e5kj55wp.js";
|
|
68
|
+
import"./chunks/file-access-8wj87zfr.js";
|
|
69
|
+
import"./chunks/file-access-43n2bw4t.js";
|
|
70
|
+
import"./chunks/file-access-9a4afbnw.js";
|
|
71
|
+
import"./chunks/file-access-hk9envan.js";
|
|
72
|
+
import"./chunks/file-access-mp448xyj.js";
|
|
73
|
+
import"./chunks/file-access-qrg20bc0.js";
|
|
74
|
+
import"./chunks/file-access-jwfs4k6c.js";
|
|
75
|
+
import"./chunks/file-access-7akdwqpd.js";
|
|
76
|
+
import"./chunks/file-access-g86h250q.js";
|
|
77
|
+
import"./chunks/file-access-jzg6c2d5.js";
|
|
78
|
+
import"./chunks/file-access-aqzs7mqg.js";
|
|
79
|
+
import"./chunks/file-access-ssg3fenm.js";
|
|
80
|
+
import"./chunks/file-access-ygaqb7jw.js";
|
|
81
|
+
import"./chunks/file-access-sdp7kfr6.js";
|
|
82
82
|
export {
|
|
83
83
|
exports_bus as Bus,
|
|
84
84
|
InvalidDurableEventError2 as InvalidDurableEventError,
|
|
85
|
-
|
|
85
|
+
Service82 as Service,
|
|
86
86
|
configured12 as configured,
|
|
87
87
|
durable2 as durable,
|
|
88
88
|
ephemeral2 as ephemeral,
|
|
89
89
|
isSynced2 as isSynced,
|
|
90
90
|
latestSequence2 as latestSequence,
|
|
91
|
-
|
|
91
|
+
node86 as node,
|
|
92
92
|
reserveSequence2 as reserveSequence,
|
|
93
93
|
versionedType2 as versionedType
|
|
94
94
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info11
|
|
6
|
+
} from "./file-access-mjymc32g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigAgentV1: () =>
|
|
15
|
-
Info: () =>
|
|
12
|
+
var exports_agent3 = {};
|
|
13
|
+
__export(exports_agent3, {
|
|
14
|
+
ConfigAgentV1: () => exports_agent3,
|
|
15
|
+
Info: () => Info6
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info11)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info6 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info6, exports_agent3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service4,
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service4 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service4.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service4, node6, exports_update };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-access-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service79,
|
|
8
|
+
node83
|
|
9
|
+
} from "./file-access-yvfb9t5v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service15,
|
|
12
|
+
node17
|
|
13
|
+
} from "./file-access-p4pfxbsn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event3,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError2,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service14,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node16
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event3 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service79;
|
|
95
|
+
const search = yield* Service15;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service14.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node16 = makeLocationNode({
|
|
144
|
+
service: Service14,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, node17]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-5x6e9h63.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./file-access-k5t6ga43.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./file-access-zwhqmq19.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-access-ea7jg8gm.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-access-nzyhnfxz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service18
|
|
20
|
+
} from "./file-access-m6f3t844.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
22
|
+
ID8,
|
|
23
23
|
mergeOverlay2,
|
|
24
24
|
mergeHeaders2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-access-55e9mxrf.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
ID5,
|
|
28
|
+
Input14,
|
|
29
29
|
Response2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-nzkj1srn.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/opencode.ts
|
|
33
33
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -42,7 +42,7 @@ var methodID = MethodID2.make("device");
|
|
|
42
42
|
var RemoteResponse = Schema.Struct({
|
|
43
43
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
44
44
|
websearch: Schema.Struct({
|
|
45
|
-
providerID:
|
|
45
|
+
providerID: ID5
|
|
46
46
|
}).pipe(Schema.optional),
|
|
47
47
|
experimental: Schema.Struct({
|
|
48
48
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -67,7 +67,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
67
67
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
68
68
|
function oauth(http) {
|
|
69
69
|
return {
|
|
70
|
-
integrationID:
|
|
70
|
+
integrationID: ID9.make("opencode"),
|
|
71
71
|
method: {
|
|
72
72
|
id: methodID,
|
|
73
73
|
type: "oauth",
|
|
@@ -121,10 +121,10 @@ function oauth(http) {
|
|
|
121
121
|
var OpencodePlugin2 = define({
|
|
122
122
|
id: "opencode.provider.opencode",
|
|
123
123
|
effect: Effect.fn(function* (ctx) {
|
|
124
|
-
const bus = yield*
|
|
124
|
+
const bus = yield* Service82;
|
|
125
125
|
const client = yield* HttpClient.HttpClient;
|
|
126
126
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
127
|
-
const managed = yield*
|
|
127
|
+
const managed = yield* Service18;
|
|
128
128
|
const loading = Semaphore.makeUnsafe(1);
|
|
129
129
|
let snapshot = { config: undefined, connection: undefined, organization: undefined };
|
|
130
130
|
const load = Effect.fn("OpencodePlugin.load")(function* () {
|
|
@@ -157,7 +157,7 @@ var OpencodePlugin2 = define({
|
|
|
157
157
|
providers.update(providerID, (provider) => {
|
|
158
158
|
if (source && source.provider !== provider)
|
|
159
159
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
160
|
-
provider.integrationID =
|
|
160
|
+
provider.integrationID = ID9.make("opencode");
|
|
161
161
|
if (item.canonical !== undefined)
|
|
162
162
|
provider.canonical = item.canonical;
|
|
163
163
|
if (item.name !== undefined)
|
|
@@ -227,7 +227,7 @@ var OpencodePlugin2 = define({
|
|
|
227
227
|
sourceConnection: snapshot.connection
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
|
-
const item = providers.get(
|
|
230
|
+
const item = providers.get(ID8.opencode);
|
|
231
231
|
if (!item)
|
|
232
232
|
return;
|
|
233
233
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -239,7 +239,7 @@ var OpencodePlugin2 = define({
|
|
|
239
239
|
});
|
|
240
240
|
});
|
|
241
241
|
yield* ctx.model.transform((models) => {
|
|
242
|
-
const item = models.provider.get(
|
|
242
|
+
const item = models.provider.get(ID8.opencode);
|
|
243
243
|
if (!item)
|
|
244
244
|
return;
|
|
245
245
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -273,7 +273,7 @@ var OpencodePlugin2 = define({
|
|
|
273
273
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
274
274
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
275
275
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
276
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
276
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
277
277
|
query: input.query,
|
|
278
278
|
providerID: descriptor.providerID
|
|
279
279
|
}));
|
|
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
|
|
|
295
295
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
296
296
|
});
|
|
297
297
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
298
|
-
yield* bus.subscribe(
|
|
298
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
299
299
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
300
300
|
})
|
|
301
301
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./file-access-k5t6ga43.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-access-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event18,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID12,
|
|
20
|
+
Info: () => Info27,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service72,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node76,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event18 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID12 = Form.ID;
|
|
39
|
+
var Info27 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID12
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID12
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID12
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID12,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service72 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service72, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service82;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID12.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service72.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node76 = makeLocationNode({ service: Service72, layer: layer25, deps: [node86] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID12, Info27, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer25, node76, validateAnswer2, validateFields2, exports_form, Event18 };
|