@opencode/core 0.0.0-dev-19966 → 0.0.0-dev-19968
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{location-activity-vcrpr27f.js → filesystem-03qp45f7.js} +7 -7
- package/dist/chunks/{location-activity-necq5sqq.js → filesystem-07cknprf.js} +86 -86
- package/dist/chunks/{location-activity-qgn6gcr1.js → filesystem-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-activity-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-activity-jnpbcqbr.js → filesystem-0zn36fza.js} +5 -5
- package/dist/chunks/{location-activity-m8adjd7d.js → filesystem-13fp0ry5.js} +22 -22
- package/dist/chunks/{location-activity-d2xbn67s.js → filesystem-15jj1v8s.js} +4 -4
- package/dist/chunks/{location-activity-rstaab4h.js → filesystem-16k897g6.js} +84 -84
- package/dist/chunks/{location-activity-bz85s9hh.js → filesystem-19w9qk9n.js} +1 -1
- package/dist/chunks/{location-activity-yp2x3t23.js → filesystem-1acjjqhc.js} +4 -4
- package/dist/chunks/{location-activity-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-bw0mz1cr.js → filesystem-1sj6h7by.js} +9 -9
- package/dist/chunks/filesystem-1spfb7yw.js +26 -0
- package/dist/chunks/{location-activity-n7pfn8fg.js → filesystem-1vr7vy9f.js} +5 -5
- package/dist/chunks/{location-activity-gfhhve88.js → filesystem-1x75wf9g.js} +5 -5
- package/dist/chunks/{location-activity-f93zs92n.js → filesystem-1yx9ccg8.js} +13 -13
- package/dist/chunks/{location-activity-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-p2dbm1qh.js → filesystem-22fs68yw.js} +3 -3
- package/dist/chunks/{location-activity-ewvnzxgd.js → filesystem-2427g10n.js} +15 -15
- package/dist/chunks/{location-activity-m28tfe1w.js → filesystem-2a4f6v5q.js} +8 -8
- package/dist/chunks/{location-activity-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-e45g41n6.js → filesystem-2m0fmnh7.js} +18 -18
- package/dist/chunks/{location-activity-wd3324vj.js → filesystem-2rvjwpf0.js} +9 -9
- package/dist/chunks/{location-activity-0t9sw6ta.js → filesystem-2yvcjg7x.js} +30 -30
- package/dist/chunks/{location-activity-frrdfdsa.js → filesystem-2yx30dk6.js} +13 -13
- package/dist/chunks/{location-activity-c9hx6mxd.js → filesystem-315q9sqw.js} +13 -13
- package/dist/chunks/{location-activity-sw28s2zx.js → filesystem-367n4pkp.js} +9 -9
- package/dist/chunks/{location-activity-y831yg5m.js → filesystem-36j95q9q.js} +32 -32
- package/dist/chunks/{location-activity-vkfdnwpx.js → filesystem-3ewed21c.js} +4 -4
- package/dist/chunks/{location-activity-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-rrqzmcgk.js → filesystem-3fvwfshq.js} +21 -21
- package/dist/chunks/{location-activity-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-pg8yagnw.js → filesystem-3q78x1dv.js} +47 -47
- package/dist/chunks/{location-activity-3f5nmdag.js → filesystem-3sfkgk8j.js} +8 -8
- package/dist/chunks/{location-activity-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-c4c5wrfd.js → filesystem-40n4jky6.js} +1 -1
- package/dist/chunks/{location-activity-5mtzsd3b.js → filesystem-44h5tttr.js} +4 -4
- package/dist/chunks/{location-activity-p32exs5s.js → filesystem-46ayrqc0.js} +23 -23
- package/dist/chunks/{location-activity-d00zhmv9.js → filesystem-48zn05f2.js} +5 -5
- package/dist/chunks/{location-activity-87hh6c44.js → filesystem-4d658vbe.js} +29 -29
- package/dist/chunks/{location-activity-dgdgq2se.js → filesystem-4f6fk8j7.js} +40 -40
- package/dist/chunks/{location-activity-1ygqh575.js → filesystem-56gdpj1q.js} +9 -9
- package/dist/chunks/{location-activity-q3q4fawj.js → filesystem-57ez7d0k.js} +7 -7
- package/dist/chunks/filesystem-598yv1c4.js +252 -0
- package/dist/chunks/{location-activity-k57ztc8f.js → filesystem-5cavj4mt.js} +12 -12
- package/dist/chunks/{location-activity-88knr5tg.js → filesystem-5crjye1b.js} +1 -1
- package/dist/chunks/{location-activity-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-s8jxmwkb.js → filesystem-5fe2effp.js} +23 -23
- package/dist/chunks/{location-activity-xg68pk23.js → filesystem-5g1dwb5p.js} +30 -30
- package/dist/chunks/{location-activity-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/filesystem-619r8v3y.js +18 -0
- package/dist/chunks/{location-activity-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-mgwbaczv.js → filesystem-66v3shg0.js} +17 -17
- package/dist/chunks/{location-activity-6h73sxmp.js → filesystem-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-activity-mgqp7pn2.js → filesystem-6m3ppzzx.js} +28 -28
- package/dist/chunks/{location-activity-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-pxbvervf.js → filesystem-6pz80v41.js} +5 -5
- package/dist/chunks/{location-activity-yhhtd0mx.js → filesystem-6qr3rp4k.js} +8 -8
- package/dist/chunks/{location-activity-gpg1z2ms.js → filesystem-6v7g53sy.js} +12 -12
- package/dist/chunks/{location-activity-rrg1b84m.js → filesystem-71yfdm4g.js} +8 -8
- package/dist/chunks/{location-activity-74b1gxmk.js → filesystem-726ec35f.js} +28 -28
- package/dist/chunks/{location-activity-73tb2d7t.js → filesystem-73tb2d7t.js} +1 -1
- package/dist/chunks/{location-activity-0kma5a8y.js → filesystem-77dd9v53.js} +21 -21
- package/dist/chunks/{location-activity-bdwd8h8p.js → filesystem-794cfd8q.js} +26 -26
- package/dist/chunks/{location-activity-0x61by6w.js → filesystem-7a4kky8k.js} +19 -19
- package/dist/chunks/{location-activity-5vx93dh4.js → filesystem-7bg29hqq.js} +40 -40
- package/dist/chunks/{location-activity-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-4fpwt8ta.js → filesystem-7e47eksq.js} +18 -18
- package/dist/chunks/{location-activity-0h44qevd.js → filesystem-7m52tntm.js} +33 -33
- package/dist/chunks/{location-activity-bm7dfz13.js → filesystem-7n1bffd1.js} +39 -39
- package/dist/chunks/{location-activity-7rrn560x.js → filesystem-818pfwc9.js} +8 -8
- package/dist/chunks/{location-activity-06dxphr1.js → filesystem-81czwxpn.js} +4 -4
- package/dist/chunks/{location-activity-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{location-activity-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-5ta7kmbn.js → filesystem-8hvwwpmz.js} +9 -9
- package/dist/chunks/{location-activity-s9s5kndh.js → filesystem-8jvadsa9.js} +8 -8
- package/dist/chunks/{location-activity-rkmhcdte.js → filesystem-8mwr3tr3.js} +24 -24
- package/dist/chunks/{location-activity-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-activity-5xtgfte3.js → filesystem-8v6pyhej.js} +8 -8
- package/dist/chunks/{location-activity-re6kvswk.js → filesystem-93cj6zmr.js} +9 -9
- package/dist/chunks/{location-activity-mmshjfez.js → filesystem-984jxsb2.js} +8 -8
- package/dist/chunks/{location-activity-6n4sqj4c.js → filesystem-9a9gf2p8.js} +11 -11
- package/dist/chunks/{location-activity-fz9f6y6m.js → filesystem-9ggrt063.js} +13 -13
- package/dist/chunks/{location-activity-8a9ak2a1.js → filesystem-9zdp25nh.js} +61 -61
- package/dist/chunks/{location-activity-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-activity-rg5gf8j5.js → filesystem-a9j7mz3k.js} +12 -12
- package/dist/chunks/{location-activity-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-2afpqfcc.js → filesystem-awwr15q3.js} +41 -41
- package/dist/chunks/{location-activity-7nmerndg.js → filesystem-b0b9rar1.js} +3 -3
- package/dist/chunks/{location-activity-q0dccbys.js → filesystem-b24zw4yy.js} +3 -3
- package/dist/chunks/{location-activity-qpbm2wwc.js → filesystem-b5wjsjny.js} +2 -2
- package/dist/chunks/{location-activity-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-2xm1176w.js → filesystem-b8xkcadc.js} +34 -34
- package/dist/chunks/{location-activity-vkxpz7g2.js → filesystem-bajakh74.js} +4 -4
- package/dist/chunks/{location-activity-4gycnsfp.js → filesystem-bcb5hys9.js} +6 -6
- package/dist/chunks/{location-activity-p0675ysq.js → filesystem-bf42px1p.js} +37 -37
- package/dist/chunks/{location-activity-g4g8wjxm.js → filesystem-bgg2t0gn.js} +11 -11
- package/dist/chunks/{location-activity-qx52armk.js → filesystem-bmtrff8t.js} +18 -18
- package/dist/chunks/{location-activity-g0514tmd.js → filesystem-brwjxhej.js} +49 -49
- package/dist/chunks/{location-activity-e9wvc5tf.js → filesystem-ccfvz9bx.js} +3 -3
- package/dist/chunks/{location-activity-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-activity-esvw65zg.js → filesystem-d0g5vkrh.js} +16 -16
- package/dist/chunks/{location-activity-c765mh8b.js → filesystem-d4he2qe1.js} +9 -9
- package/dist/chunks/{location-activity-6zh2fff5.js → filesystem-db81embj.js} +27 -27
- package/dist/chunks/{location-activity-stadf1mh.js → filesystem-dq0v80fr.js} +12 -12
- package/dist/chunks/{location-activity-3t053gqa.js → filesystem-dxath9w1.js} +24 -24
- package/dist/chunks/{location-activity-05k3a4yp.js → filesystem-dxwm750g.js} +2 -2
- package/dist/chunks/{location-activity-0en0hh3r.js → filesystem-dz8x4rxg.js} +4 -4
- package/dist/chunks/{location-activity-e2hjzebn.js → filesystem-e2hjzebn.js} +1 -1
- package/dist/chunks/{location-activity-8sab53zw.js → filesystem-e3tgbcs4.js} +3 -3
- package/dist/chunks/{location-activity-ec87kc5z.js → filesystem-ec8389mk.js} +4 -4
- package/dist/chunks/{location-activity-d69cn2ce.js → filesystem-edh3qeam.js} +15 -15
- package/dist/chunks/{location-activity-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-0tb0sqpq.js → filesystem-eftxckxc.js} +8 -8
- package/dist/chunks/{location-activity-erw5rpbs.js → filesystem-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-activity-7q54jehf.js → filesystem-ese628mp.js} +31 -31
- package/dist/chunks/{location-activity-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-tz2bjj40.js → filesystem-evbgk2k8.js} +5 -5
- package/dist/chunks/{location-activity-er0a8zyk.js → filesystem-f5gy8qwh.js} +8 -8
- package/dist/chunks/{location-activity-f828m53h.js → filesystem-f828m53h.js} +2 -2
- package/dist/chunks/{location-activity-stfbk6ps.js → filesystem-f88yg6e4.js} +11 -11
- package/dist/chunks/{location-activity-h3e36btf.js → filesystem-fchff7g2.js} +19 -19
- package/dist/chunks/{location-activity-7c2cwqmg.js → filesystem-fe2qydnk.js} +6 -6
- package/dist/chunks/{location-activity-07w59vex.js → filesystem-fpq9acqp.js} +6 -6
- package/dist/chunks/{location-activity-5nbxmt09.js → filesystem-fr7p31gg.js} +32 -32
- package/dist/chunks/{location-activity-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-activity-50mzsvk4.js → filesystem-g190xswt.js} +4 -4
- package/dist/chunks/{location-activity-9vkry030.js → filesystem-g3kw94se.js} +6 -6
- package/dist/chunks/{location-activity-y8kae3m5.js → filesystem-g5hy5kmy.js} +9 -9
- package/dist/chunks/{location-activity-apz0sk26.js → filesystem-g7qez7ar.js} +3 -3
- package/dist/chunks/{location-activity-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-45y3f5x8.js → filesystem-gg9gwaxk.js} +11 -11
- package/dist/chunks/{location-activity-5v04zsy2.js → filesystem-gkek2rvn.js} +3 -3
- package/dist/chunks/{location-activity-wxsqr37q.js → filesystem-grac4bzh.js} +21 -21
- package/dist/chunks/{location-activity-dxkafq5h.js → filesystem-grmnzeke.js} +12 -12
- package/dist/chunks/{location-activity-szayepbj.js → filesystem-gsky0jx5.js} +8 -8
- package/dist/chunks/{location-activity-gv6a8nnw.js → filesystem-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-cvn8c5gv.js → filesystem-h3w2pzs8.js} +13 -13
- package/dist/chunks/{location-activity-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-mjgr905w.js → filesystem-hahrk1qf.js} +33 -33
- package/dist/chunks/{location-activity-49e1djhj.js → filesystem-hm7q9217.js} +10 -10
- package/dist/chunks/{location-activity-bmygn95q.js → filesystem-hp7p304c.js} +10 -10
- package/dist/chunks/{location-activity-fhd5vvx4.js → filesystem-hxtyzbxe.js} +16 -16
- package/dist/chunks/{location-activity-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-ky1j7ajc.js → filesystem-j6ye8ttg.js} +8 -8
- package/dist/chunks/{location-activity-seh9ffq3.js → filesystem-j710vash.js} +12 -12
- package/dist/chunks/{location-activity-s2zysay1.js → filesystem-j797beme.js} +29 -29
- package/dist/chunks/{location-activity-pmr4s4kc.js → filesystem-j83byb14.js} +4 -4
- package/dist/chunks/{location-activity-r1hwdygv.js → filesystem-jaqhawhw.js} +26 -26
- package/dist/chunks/{location-activity-sc0bqx63.js → filesystem-jd17btx7.js} +16 -16
- package/dist/chunks/{location-activity-wtnvd0b9.js → filesystem-jpg3dfx2.js} +173 -173
- package/dist/chunks/{location-activity-wcpje083.js → filesystem-jyjec5pm.js} +11 -11
- package/dist/chunks/{location-activity-s1hbhqh6.js → filesystem-k6w0f24y.js} +12 -12
- package/dist/chunks/{location-activity-pe0kw1mp.js → filesystem-kc9c06qf.js} +32 -32
- package/dist/chunks/{location-activity-yftss56g.js → filesystem-kepwjj04.js} +9 -9
- package/dist/chunks/{location-activity-16dpwty9.js → filesystem-kjpvn9gz.js} +9 -9
- package/dist/chunks/{location-activity-j2ca7p5b.js → filesystem-kr1rbf8c.js} +13 -13
- package/dist/chunks/{location-activity-py1vee4n.js → filesystem-kr3cfjxs.js} +28 -28
- package/dist/chunks/{location-activity-b9v5ygz4.js → filesystem-ks2vqhf1.js} +33 -33
- package/dist/chunks/{location-activity-wsjftene.js → filesystem-ksn5d0ww.js} +21 -21
- package/dist/chunks/{location-activity-w7p4a9ft.js → filesystem-kvnpp68b.js} +7 -7
- package/dist/chunks/{location-activity-ny9411dc.js → filesystem-kxvxc5re.js} +31 -31
- package/dist/chunks/{location-activity-7gm2rg74.js → filesystem-kybncw40.js} +40 -40
- package/dist/chunks/{location-activity-rc5qbkd1.js → filesystem-kypwf0cg.js} +21 -21
- package/dist/chunks/{location-activity-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-9wtwr62z.js → filesystem-m977vtgv.js} +32 -32
- package/dist/chunks/{location-activity-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-pe2ad959.js → filesystem-mebwty07.js} +20 -20
- package/dist/chunks/{location-activity-caqxzg4c.js → filesystem-met5cert.js} +7 -7
- package/dist/chunks/{location-activity-bcymdq6g.js → filesystem-mhpg8jts.js} +8 -8
- package/dist/chunks/{location-activity-4zegrnmx.js → filesystem-mhyw0mv8.js} +5 -5
- package/dist/chunks/{location-activity-3tq5qxbk.js → filesystem-mmr7bq34.js} +2 -2
- package/dist/chunks/{location-activity-gf4ftjvh.js → filesystem-mn84faw2.js} +15 -15
- package/dist/chunks/{location-activity-65e2n8kz.js → filesystem-mnbb8qz6.js} +6 -6
- package/dist/chunks/{location-activity-nadsjwsx.js → filesystem-mnk47x55.js} +26 -26
- package/dist/chunks/{location-activity-j5ezjxs4.js → filesystem-my7dxsb1.js} +9 -9
- package/dist/chunks/{location-activity-wgbs42n1.js → filesystem-n52vytmr.js} +20 -20
- package/dist/chunks/{location-activity-wm8ndqaw.js → filesystem-nfdxhgw7.js} +10 -10
- package/dist/chunks/{location-activity-s0b7zm7v.js → filesystem-ngq841kw.js} +36 -36
- package/dist/chunks/{location-activity-abkwsy12.js → filesystem-nkwqxfa5.js} +18 -18
- package/dist/chunks/{location-activity-xd9d4fv1.js → filesystem-nt3wrqm0.js} +23 -23
- package/dist/chunks/{location-activity-t0rjwxc2.js → filesystem-nzkfsc2b.js} +8 -8
- package/dist/chunks/{location-activity-k3c624dm.js → filesystem-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-activity-6tq393t8.js → filesystem-p1yj9rea.js} +11 -11
- package/dist/chunks/{location-activity-p28j5sbe.js → filesystem-p28j5sbe.js} +2 -2
- package/dist/chunks/{location-activity-drjzqzs5.js → filesystem-pc2tjt9j.js} +12 -12
- package/dist/chunks/{location-activity-nxhqveyz.js → filesystem-pecb0brz.js} +5 -5
- package/dist/chunks/{location-activity-ezpw3wey.js → filesystem-pha35y92.js} +9 -9
- package/dist/chunks/{location-activity-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-pnv527nz.js → filesystem-pnv527nz.js} +2 -2
- package/dist/chunks/{location-activity-g75xxfmk.js → filesystem-pqcpq1re.js} +17 -17
- package/dist/chunks/{location-activity-fap7vtes.js → filesystem-q04s9zb8.js} +38 -38
- package/dist/chunks/{location-activity-edrmdtr5.js → filesystem-qa3qhgw8.js} +7 -7
- package/dist/chunks/{location-activity-h0htfqdz.js → filesystem-qd2k5aj0.js} +15 -15
- package/dist/chunks/{location-activity-q0rn26mc.js → filesystem-qehgnnt6.js} +19 -19
- package/dist/chunks/{location-activity-kmam7bkd.js → filesystem-qgahmr9f.js} +38 -38
- package/dist/chunks/{location-activity-w1jh6net.js → filesystem-qn27zvar.js} +19 -19
- package/dist/chunks/{location-activity-q8s7q4wj.js → filesystem-qpk9q6jw.js} +29 -29
- package/dist/chunks/{location-activity-57b9ws8p.js → filesystem-qqeeq2t9.js} +4 -4
- package/dist/chunks/{location-activity-1mt8x8xa.js → filesystem-qrjye5nx.js} +3 -3
- package/dist/chunks/{location-activity-4dk6xb0v.js → filesystem-qry1ksyx.js} +11 -11
- package/dist/chunks/{location-activity-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-qvb3nf84.js → filesystem-qvb3nf84.js} +1 -1
- package/dist/chunks/{location-activity-6h3wybc7.js → filesystem-r80rqf00.js} +6 -6
- package/dist/chunks/{location-activity-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-v5brsa05.js → filesystem-rf0nmp6z.js} +19 -19
- package/dist/chunks/{location-activity-39jzfr08.js → filesystem-rtz42hzw.js} +9 -9
- package/dist/chunks/{location-activity-44dr8ap3.js → filesystem-s5met55r.js} +8 -8
- package/dist/chunks/filesystem-s6v8axxj.js +503 -0
- package/dist/chunks/{location-activity-8przwqm7.js → filesystem-skzznzbs.js} +19 -19
- package/dist/chunks/{location-activity-bc7nbyv1.js → filesystem-sq3japyz.js} +9 -9
- package/dist/chunks/{location-activity-3321mtwf.js → filesystem-sthqeftk.js} +27 -27
- package/dist/chunks/{location-activity-9trsxfhz.js → filesystem-svap4v14.js} +32 -32
- package/dist/chunks/{location-activity-yk2mxwbr.js → filesystem-swkgbbmy.js} +4 -4
- package/dist/chunks/{location-activity-0gdmqesm.js → filesystem-t550f9t1.js} +4 -4
- package/dist/chunks/{location-activity-67kpawj8.js → filesystem-t8qw8ht6.js} +4 -4
- package/dist/chunks/{location-activity-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-m7va1g8x.js → filesystem-tdgd79rq.js} +2 -2
- package/dist/chunks/{location-activity-pyn5m8af.js → filesystem-tdj2jmmg.js} +25 -25
- package/dist/chunks/{location-activity-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-v4k6zf42.js → filesystem-tfrapzag.js} +32 -32
- package/dist/chunks/{location-activity-v69a094d.js → filesystem-tk02apgh.js} +16 -16
- package/dist/chunks/{location-activity-r0dtqwhh.js → filesystem-tt1k1f2x.js} +11 -11
- package/dist/chunks/{location-activity-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-vwdqgepx.js → filesystem-txhkcd96.js} +28 -28
- package/dist/chunks/{location-activity-tykyh7hs.js → filesystem-v0jz8j41.js} +22 -22
- package/dist/chunks/{location-activity-y2n7f58g.js → filesystem-v10hvdrj.js} +16 -16
- package/dist/chunks/{location-activity-nnxgta2y.js → filesystem-v321thzt.js} +4 -4
- package/dist/chunks/{location-activity-f35htakt.js → filesystem-vd0xk4sc.js} +3 -3
- package/dist/chunks/{location-activity-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-256nx13v.js → filesystem-vjnb44yt.js} +3 -3
- package/dist/chunks/{location-activity-zkgfyme5.js → filesystem-vkhk71nk.js} +22 -22
- package/dist/chunks/{location-activity-z0kys2jx.js → filesystem-vqqa88a0.js} +17 -17
- package/dist/chunks/{location-activity-t9dv3q75.js → filesystem-vrqcba6b.js} +4 -4
- package/dist/chunks/{location-activity-jfgwadmj.js → filesystem-vxacc3vd.js} +16 -16
- package/dist/chunks/{location-activity-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-hjzjqt1v.js → filesystem-vzmjqrzc.js} +19 -19
- package/dist/chunks/{location-activity-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-e6hd9jay.js → filesystem-w4arg62q.js} +4 -4
- package/dist/chunks/{location-activity-2tqb8nz6.js → filesystem-w5ce3m9w.js} +9 -9
- package/dist/chunks/{location-activity-0v1p6zj5.js → filesystem-w7zfn541.js} +10 -10
- package/dist/chunks/{location-activity-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-vnqxw9wf.js → filesystem-wjxs5s53.js} +17 -17
- package/dist/chunks/{location-activity-1gpstjz0.js → filesystem-wk5z6jzv.js} +2 -2
- package/dist/chunks/{location-activity-c53stv10.js → filesystem-wmgcd47k.js} +9 -9
- package/dist/chunks/{location-activity-35myk2vm.js → filesystem-ww56n17f.js} +29 -29
- package/dist/chunks/{location-activity-br87pbf4.js → filesystem-wwsm4ja9.js} +5 -5
- package/dist/chunks/{location-activity-8v9e3a3y.js → filesystem-wz13sdny.js} +10 -10
- package/dist/chunks/{location-activity-8k6xx22v.js → filesystem-wz3jbs46.js} +3 -3
- package/dist/chunks/{location-activity-m1w7xy22.js → filesystem-x0egy8f5.js} +18 -18
- package/dist/chunks/{location-activity-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-n03j43sk.js → filesystem-x65z75f3.js} +3 -3
- package/dist/chunks/{location-activity-d6q6zn55.js → filesystem-xb8c9x5k.js} +25 -25
- package/dist/chunks/{location-activity-z7f9qxd7.js → filesystem-xdrba4jw.js} +9 -9
- package/dist/chunks/{location-activity-qdbakdjh.js → filesystem-xjtsx636.js} +5 -5
- package/dist/chunks/{location-activity-qkhxg0tn.js → filesystem-xkvv7e7p.js} +21 -21
- package/dist/chunks/{location-activity-c1qaqgzy.js → filesystem-xnqh7ddg.js} +12 -12
- package/dist/chunks/{location-activity-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-kckkadpx.js → filesystem-y56rcaa9.js} +4 -4
- package/dist/chunks/{location-activity-f0nz223j.js → filesystem-y71avatq.js} +4 -4
- package/dist/chunks/{location-activity-frs5g27g.js → filesystem-y86nc7k9.js} +5 -5
- package/dist/chunks/{location-activity-ptyphwdt.js → filesystem-yech8yc4.js} +28 -28
- package/dist/chunks/{location-activity-hnr5yq9h.js → filesystem-yjptyezs.js} +5 -5
- package/dist/chunks/{location-activity-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-4h7hcbxh.js → filesystem-yxwwfj09.js} +10 -10
- package/dist/chunks/{location-activity-xnv1r6xc.js → filesystem-yykhtw2b.js} +20 -20
- package/dist/chunks/{location-activity-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
- package/dist/chunks/{location-activity-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-activity-endwqg6w.js → filesystem-zjnwzkxq.js} +11 -11
- package/dist/chunks/{location-activity-8tfsa19q.js → filesystem-zkhexgat.js} +27 -27
- package/dist/chunks/{location-activity-awn6hz50.js → filesystem-zpv4nz19.js} +20 -20
- package/dist/chunks/{location-activity-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-eg3zjpn3.js → filesystem-ztj62dtv.js} +21 -21
- package/dist/chunks/{location-activity-nhxk1vry.js → filesystem-zvtjwpsx.js} +13 -13
- package/dist/chunks/{location-activity-nrtdbjse.js → filesystem-zvxfwhrf.js} +20 -20
- package/dist/chunks/{location-activity-gxrhkwfr.js → filesystem-zwx65035.js} +40 -40
- package/dist/chunks/{location-activity-ctredv5q.js → filesystem-zxb2s64m.js} +14 -14
- package/dist/chunks/{location-activity-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- 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 +84 -84
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- 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 +121 -121
- 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 +119 -119
- 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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +224 -224
- 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 +7 -7
- package/dist/filesystem.js +107 -107
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +100 -100
- 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 +360 -360
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- 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 +132 -132
- 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 +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- 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 +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +96 -96
- 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 +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- 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 +1 -1
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +150 -150
- 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 +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +228 -228
- 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 +113 -113
- package/dist/session/runner/step.js +123 -123
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +135 -135
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +16 -16
- 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 +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-activity-6sf5aa39.js +0 -252
- package/dist/chunks/location-activity-atkj7gss.js +0 -26
- package/dist/chunks/location-activity-b9n5k05b.js +0 -503
- package/dist/chunks/location-activity-dxj72tfx.js +0 -18
- /package/dist/chunks/{location-activity-0mesazry.js → filesystem-0mesazry.js} +0 -0
- /package/dist/chunks/{location-activity-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → filesystem-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-g7qez7ar.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./filesystem-zxb2s64m.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
28
|
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node74
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event17 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
@@ -52,12 +52,12 @@ class Service70 extends Context.Service()("@opencode/Credential") {
|
|
|
52
52
|
}
|
|
53
53
|
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node74 = makeGlobalNode({ service: Service70, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID14, OAuth3, Key4, Value2, Event17, Info26, Service70, node74, exports_credential };
|
|
@@ -2,47 +2,47 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./filesystem-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./filesystem-tk02apgh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service51,
|
|
12
|
+
node55
|
|
13
|
+
} from "./filesystem-kc9c06qf.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry4,
|
|
25
|
+
Event: () => Event11,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput3,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError7,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service50,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node54
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content3 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput3 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -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 Event11 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service50 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service50, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service80;
|
|
95
|
+
const search = yield* Service51;
|
|
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(Service16, 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 Service50.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 NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ 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 NotFoundError7({ 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(Service16, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node54 = makeLocationNode({
|
|
144
|
+
service: Service50,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, node55]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service50, node54, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-zkhexgat.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-j797beme.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make19,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make19(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-skzznzbs.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-vjnb44yt.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service49,
|
|
17
|
+
node53
|
|
18
|
+
} from "./filesystem-xdrba4jw.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node70
|
|
22
|
+
} from "./filesystem-s5met55r.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./filesystem-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service48,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node52
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service48 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service66;
|
|
58
|
+
const image = yield* Service49;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service48.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node52 = makeLocationNode({
|
|
277
|
+
service: Service48,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node70, node53]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service48, node52, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./filesystem-dq0v80fr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./filesystem-tk02apgh.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service37,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service52, Service52.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error2, Service37, node40, noopLayer2, exports_snapshot2 };
|