@opencode/core 0.0.0-dev-1284 → 0.0.0-dev-1286
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 +94 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +256 -256
- package/dist/bus.js +80 -80
- package/dist/chunks/{aisdk-034tev2y.js → state-034tev2y.js} +2 -2
- package/dist/chunks/{aisdk-p6ptthry.js → state-08v7z8bj.js} +4 -4
- package/dist/chunks/{aisdk-mv4qm2s4.js → state-0btzqa1f.js} +28 -28
- package/dist/chunks/state-0gdrrj59.js +16 -0
- package/dist/chunks/{aisdk-0ma9gw4f.js → state-0ma9gw4f.js} +2 -2
- package/dist/chunks/{aisdk-r9z26v6p.js → state-0mtp185z.js} +9 -9
- package/dist/chunks/{aisdk-e8gak9bx.js → state-0nvgnn62.js} +17 -17
- package/dist/chunks/{aisdk-mbhm97dq.js → state-0pp75b2b.js} +5 -5
- package/dist/chunks/{aisdk-w37wwrqm.js → state-0tvmk5mj.js} +14 -14
- package/dist/chunks/{aisdk-hj0xet7m.js → state-10pn4eb5.js} +5 -5
- package/dist/chunks/{aisdk-jc512s3p.js → state-12a87htm.js} +8 -8
- package/dist/chunks/{aisdk-enezt5d6.js → state-16b7m4j8.js} +26 -26
- package/dist/chunks/{aisdk-1aqsckx4.js → state-1aqsckx4.js} +1 -1
- package/dist/chunks/{aisdk-1aryjtsy.js → state-1aryjtsy.js} +1 -1
- package/dist/chunks/{aisdk-1ep2p91f.js → state-1ep2p91f.js} +2 -2
- package/dist/chunks/{aisdk-gsyv4rf3.js → state-1qr77ex7.js} +17 -17
- package/dist/chunks/{aisdk-5wyjxme5.js → state-1v2g13eq.js} +7 -7
- package/dist/chunks/{aisdk-1x2knyw4.js → state-1x2knyw4.js} +1 -1
- package/dist/chunks/{aisdk-1yq9hg58.js → state-1yq9hg58.js} +1 -1
- package/dist/chunks/{aisdk-4h02zwvv.js → state-21wmys07.js} +5 -5
- package/dist/chunks/{aisdk-qakab0ph.js → state-221vya3t.js} +34 -34
- package/dist/chunks/{aisdk-amxb1pax.js → state-228vay93.js} +4 -4
- package/dist/chunks/{aisdk-r0g4qhb1.js → state-28rkn4bn.js} +8 -8
- package/dist/chunks/{aisdk-g4hmqmty.js → state-2a60241h.js} +8 -8
- package/dist/chunks/{aisdk-q9zjhx43.js → state-2e1nwkkm.js} +60 -60
- package/dist/chunks/{aisdk-p201jne6.js → state-2ehwevqc.js} +6 -6
- package/dist/chunks/{aisdk-2fc7eemy.js → state-2fc7eemy.js} +1 -1
- package/dist/chunks/{aisdk-0ns6cc2e.js → state-2j6t1azn.js} +24 -24
- package/dist/chunks/{aisdk-78zhyyfk.js → state-2jekdept.js} +85 -85
- package/dist/chunks/{aisdk-f3qdxw07.js → state-2jj6dqfj.js} +48 -48
- package/dist/chunks/{aisdk-87ah2vf6.js → state-2ndqwwwr.js} +21 -21
- package/dist/chunks/{aisdk-s1ba0vj0.js → state-2p60zmnr.js} +2 -2
- package/dist/chunks/{aisdk-w2xfegj1.js → state-2pfdjs0f.js} +16 -16
- package/dist/chunks/{aisdk-2prt43t7.js → state-2prt43t7.js} +1 -1
- package/dist/chunks/{aisdk-5asgddgx.js → state-2s9mae96.js} +6 -6
- package/dist/chunks/{aisdk-ax1yvpgm.js → state-2xak8dj5.js} +14 -14
- package/dist/chunks/{aisdk-s47rahr7.js → state-2ytp0tvq.js} +4 -4
- package/dist/chunks/{aisdk-3ms7wh5c.js → state-31spynen.js} +26 -26
- package/dist/chunks/{aisdk-ew00j23b.js → state-32b106kb.js} +16 -16
- package/dist/chunks/{aisdk-6e9j1y6c.js → state-3ay4v82t.js} +21 -21
- package/dist/chunks/{aisdk-qkv3pk5p.js → state-3bkc2eyb.js} +26 -26
- package/dist/chunks/{aisdk-hvsxw0jd.js → state-3crmp3j0.js} +25 -25
- package/dist/chunks/{aisdk-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
- package/dist/chunks/{aisdk-3sf4a8wt.js → state-3pf22dca.js} +20 -20
- package/dist/chunks/{aisdk-je31fw81.js → state-3rv7akfg.js} +2 -2
- package/dist/chunks/{aisdk-40y6dtc2.js → state-40y6dtc2.js} +1 -1
- package/dist/chunks/{aisdk-w2eysc6j.js → state-40za9wsf.js} +9 -9
- package/dist/chunks/{aisdk-er9d18x6.js → state-41pgy3sf.js} +31 -31
- package/dist/chunks/{aisdk-jxd6f16v.js → state-44pmzq9c.js} +2 -2
- package/dist/chunks/{aisdk-xjf932n8.js → state-44y9hb78.js} +6 -6
- package/dist/chunks/{aisdk-503rnqqm.js → state-46r9x6z8.js} +13 -13
- package/dist/chunks/{aisdk-4pr198gw.js → state-4bpc2t1s.js} +38 -38
- package/dist/chunks/{aisdk-4dx1dgte.js → state-4dx1dgte.js} +1 -1
- package/dist/chunks/{aisdk-4f25tdd0.js → state-4f25tdd0.js} +1 -1
- package/dist/chunks/{aisdk-kmpykya8.js → state-4j3ga8y9.js} +7 -7
- package/dist/chunks/state-4ne7e05f.js +35 -0
- package/dist/chunks/{aisdk-4pyp9zr9.js → state-4pyp9zr9.js} +1 -1
- package/dist/chunks/{aisdk-e451z2y6.js → state-4q9x5zz6.js} +3 -3
- package/dist/chunks/{aisdk-kxnmw1dp.js → state-4sdfsr7r.js} +7 -7
- package/dist/chunks/{aisdk-begbag3g.js → state-4txybgt8.js} +23 -23
- package/dist/chunks/{aisdk-4v008n1t.js → state-4v008n1t.js} +1 -1
- package/dist/chunks/{aisdk-nxfqjndq.js → state-54rczas7.js} +3 -3
- package/dist/chunks/{aisdk-57kvbh9f.js → state-55g2q5p5.js} +2 -2
- package/dist/chunks/{aisdk-e8qhv52p.js → state-5cnce3zv.js} +27 -27
- package/dist/chunks/{aisdk-t69jc1z4.js → state-5dnztkma.js} +5 -5
- package/dist/chunks/{aisdk-m1jf72ck.js → state-5gqyfzh0.js} +39 -39
- package/dist/chunks/{aisdk-qm9pt90z.js → state-5hyn47a2.js} +11 -11
- package/dist/chunks/{aisdk-87z6x2pe.js → state-5jcnyvfa.js} +88 -88
- package/dist/chunks/{aisdk-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{aisdk-6esk6jxx.js → state-5mmm03tc.js} +13 -13
- package/dist/chunks/{aisdk-qmvdf6k5.js → state-5nm4b389.js} +11 -11
- package/dist/chunks/{aisdk-vszn7bs3.js → state-5wsvgjfj.js} +9 -9
- package/dist/chunks/{aisdk-f053wwz5.js → state-5yydhn6j.js} +11 -11
- package/dist/chunks/{aisdk-0tq2d6dg.js → state-65zzbc8y.js} +6 -6
- package/dist/chunks/{aisdk-qtd7mr94.js → state-6dtts35a.js} +32 -32
- package/dist/chunks/{aisdk-0yqc1rax.js → state-6fq6hckr.js} +29 -29
- package/dist/chunks/{aisdk-ag9se77v.js → state-6j5g81c1.js} +19 -19
- package/dist/chunks/{aisdk-grbgb1th.js → state-6j5y94xc.js} +22 -22
- package/dist/chunks/{aisdk-91fv2z8c.js → state-6knn97w4.js} +36 -36
- package/dist/chunks/{aisdk-6y2b864j.js → state-6y2b864j.js} +1 -1
- package/dist/chunks/{aisdk-trmh86bb.js → state-6z1a0r6z.js} +35 -35
- package/dist/chunks/{aisdk-hc4gekvm.js → state-73s9mjcb.js} +33 -33
- package/dist/chunks/{aisdk-q6169bpd.js → state-7578v1yb.js} +12 -12
- package/dist/chunks/{aisdk-7ryf1ztn.js → state-79yc02xr.js} +8 -8
- package/dist/chunks/{aisdk-n70wf70b.js → state-7ahvbyep.js} +12 -12
- package/dist/chunks/{aisdk-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-t307fb60.js → state-7de2dsgr.js} +3 -3
- package/dist/chunks/{aisdk-sseh985f.js → state-7f2gtd9q.js} +9 -9
- package/dist/chunks/{aisdk-94tqjq71.js → state-7jpv224f.js} +18 -18
- package/dist/chunks/{aisdk-16tg2mvn.js → state-7mb3cxhd.js} +10 -10
- package/dist/chunks/{aisdk-w0bvmzjm.js → state-7sxfp0fs.js} +5 -5
- package/dist/chunks/{aisdk-xsj5ak6x.js → state-7t268gtf.js} +13 -13
- package/dist/chunks/{aisdk-39njpq4v.js → state-7vtcx4hk.js} +21 -21
- package/dist/chunks/{aisdk-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
- package/dist/chunks/{aisdk-7weczvnd.js → state-7weczvnd.js} +1 -1
- package/dist/chunks/{aisdk-31avdb49.js → state-80m5xgxj.js} +11 -11
- package/dist/chunks/{aisdk-775hqbnd.js → state-80mg3ag8.js} +3 -3
- package/dist/chunks/{aisdk-80pdk984.js → state-80pdk984.js} +1 -1
- package/dist/chunks/{aisdk-0xem9e8e.js → state-81qpdbwx.js} +25 -25
- package/dist/chunks/{aisdk-pq0zk47q.js → state-84rzjcq0.js} +36 -36
- package/dist/chunks/{aisdk-xjbsd7zy.js → state-859w1rtj.js} +9 -9
- package/dist/chunks/{aisdk-85jq8dht.js → state-85jq8dht.js} +1 -1
- package/dist/chunks/{aisdk-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
- package/dist/chunks/{aisdk-xz5n7eyq.js → state-8bzbvxx5.js} +8 -8
- package/dist/chunks/{aisdk-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
- package/dist/chunks/{aisdk-2ghe1sdb.js → state-8qbjba5v.js} +8 -8
- package/dist/chunks/{aisdk-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
- package/dist/chunks/{aisdk-1f74jjjb.js → state-8w7sx7k6.js} +20 -20
- package/dist/chunks/{aisdk-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
- package/dist/chunks/{aisdk-ptjgxvm7.js → state-8wz4tvme.js} +9 -9
- package/dist/chunks/{aisdk-1tz3hwqh.js → state-8y7sp9bt.js} +43 -43
- package/dist/chunks/{aisdk-96dhar22.js → state-8ykt8gh4.js} +30 -30
- package/dist/chunks/{aisdk-8zv0xmg5.js → state-8zv0xmg5.js} +1 -1
- package/dist/chunks/{aisdk-6gc9tp6s.js → state-902ym8qp.js} +13 -13
- package/dist/chunks/{aisdk-dsv0mf57.js → state-97c87fwj.js} +16 -16
- package/dist/chunks/{aisdk-erpgh78q.js → state-97jbfc4v.js} +4 -4
- package/dist/chunks/{aisdk-ytfr5x0q.js → state-9ayb9m9h.js} +14 -14
- package/dist/chunks/{aisdk-6h8vcvjm.js → state-9f3jsh1d.js} +9 -9
- package/dist/chunks/{aisdk-dbddn8gk.js → state-9pp8gm3k.js} +27 -27
- package/dist/chunks/{aisdk-v0t96s7a.js → state-9q8g9sv8.js} +4 -4
- package/dist/chunks/{aisdk-4ktpdd8g.js → state-9rvyqq0m.js} +11 -11
- package/dist/chunks/{aisdk-xz07m27x.js → state-9sk33afj.js} +6 -6
- package/dist/chunks/{aisdk-h2aspcra.js → state-a0w85qt3.js} +13 -13
- package/dist/chunks/{aisdk-dn6vvjkq.js → state-a4c2by28.js} +4 -4
- package/dist/chunks/{aisdk-7jznsbvf.js → state-ae0qdtqr.js} +18 -18
- package/dist/chunks/{aisdk-ce3tf4ne.js → state-aj1gh5b1.js} +18 -18
- package/dist/chunks/{aisdk-3b9ngwn6.js → state-ax38ah6s.js} +31 -31
- package/dist/chunks/{aisdk-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
- package/dist/chunks/{aisdk-g4txs7zc.js → state-b26ddj6h.js} +4 -4
- package/dist/chunks/{aisdk-a1btkhwz.js → state-b8rtg17t.js} +20 -20
- package/dist/chunks/{aisdk-1x6cp2ns.js → state-bnwq6b4w.js} +5 -5
- package/dist/chunks/{aisdk-2jadq5d6.js → state-brr7mgwg.js} +43 -43
- package/dist/chunks/{aisdk-t7xjw7j2.js → state-bsdnr4ba.js} +10 -10
- package/dist/chunks/{aisdk-xd9cc171.js → state-bstexjd6.js} +5 -5
- package/dist/chunks/{aisdk-sk2v7ve7.js → state-c04pxy3w.js} +34 -34
- package/dist/chunks/{aisdk-4kfaajce.js → state-c2r3rtm4.js} +18 -18
- package/dist/chunks/{aisdk-nm4fzak7.js → state-c5jv50pm.js} +8 -8
- package/dist/chunks/{aisdk-t13qr1dd.js → state-c9jqgsxy.js} +4 -4
- package/dist/chunks/{aisdk-j6t60dp0.js → state-ca49h5yy.js} +32 -32
- package/dist/chunks/{aisdk-8tdp8cw8.js → state-cch1wthv.js} +23 -23
- package/dist/chunks/{aisdk-sq5fdpmn.js → state-cdhj0d8w.js} +32 -32
- package/dist/chunks/{aisdk-rb0e2ctr.js → state-cjn9ha1p.js} +10 -10
- package/dist/chunks/state-cm2e08f9.js +26 -0
- package/dist/chunks/{aisdk-9s0zd0nr.js → state-cnn53cg0.js} +8 -8
- package/dist/chunks/{aisdk-7m22mtww.js → state-cs44c0ny.js} +22 -22
- package/dist/chunks/{aisdk-cwrgdav8.js → state-cwrgdav8.js} +2 -2
- package/dist/chunks/{aisdk-qaf33g9m.js → state-d3bts39x.js} +21 -21
- package/dist/chunks/{aisdk-d4v9tmah.js → state-d4v9tmah.js} +2 -2
- package/dist/chunks/{aisdk-pdyy7gz9.js → state-d5c35vpx.js} +14 -14
- package/dist/chunks/{aisdk-4qfcgkge.js → state-d95z56xb.js} +16 -16
- package/dist/chunks/{aisdk-nq1mg43n.js → state-dbatw319.js} +3 -3
- package/dist/chunks/{aisdk-3v50s0nm.js → state-ddwaa558.js} +4 -4
- package/dist/chunks/{aisdk-s0zpw7pd.js → state-dh7g0jpy.js} +14 -14
- package/dist/chunks/{aisdk-mex3sg7w.js → state-dmjzkk9b.js} +12 -12
- package/dist/chunks/{aisdk-n6tvvmnw.js → state-dmz93jpt.js} +10 -10
- package/dist/chunks/{aisdk-4q7m519v.js → state-dp37kwn9.js} +7 -7
- package/dist/chunks/{aisdk-4b72pw7k.js → state-dq3zm9p4.js} +5 -5
- package/dist/chunks/{aisdk-dt77769w.js → state-dt77769w.js} +1 -1
- package/dist/chunks/{aisdk-9288bp88.js → state-dtsdfz56.js} +10 -10
- package/dist/chunks/{aisdk-586sxvqv.js → state-dvnqv6yn.js} +4 -4
- package/dist/chunks/{aisdk-rwqkr5yq.js → state-dwqgav80.js} +15 -15
- package/dist/chunks/{aisdk-5nrbea71.js → state-e42rf4nr.js} +22 -22
- package/dist/chunks/{aisdk-w9y1k97s.js → state-e75ef818.js} +21 -21
- package/dist/chunks/{aisdk-jv4h3f2w.js → state-e96z2m6v.js} +7 -7
- package/dist/chunks/{aisdk-nkzb5f1v.js → state-eam2557n.js} +8 -8
- package/dist/chunks/{aisdk-22jsjh4w.js → state-ekapvd9j.js} +23 -23
- package/dist/chunks/{aisdk-7vhwyy1h.js → state-emvz8vsx.js} +16 -16
- package/dist/chunks/{aisdk-xmdz2ynj.js → state-en8b60np.js} +5 -5
- package/dist/chunks/state-en94qyvq.js +273 -0
- package/dist/chunks/{aisdk-esg5xb2a.js → state-eq2t258h.js} +8 -8
- package/dist/chunks/{aisdk-wq62csb0.js → state-eqfz6x7d.js} +17 -17
- package/dist/chunks/{aisdk-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
- package/dist/chunks/{aisdk-4nbkseap.js → state-esagctk2.js} +12 -12
- package/dist/chunks/{aisdk-2fge76wm.js → state-etyevypf.js} +15 -15
- package/dist/chunks/{aisdk-vt36y783.js → state-ev9rrvkp.js} +18 -18
- package/dist/chunks/{aisdk-q5bk3gvt.js → state-f2zjpyt5.js} +5 -5
- package/dist/chunks/{aisdk-s2rqz5wb.js → state-f3f0kyhw.js} +26 -26
- package/dist/chunks/{aisdk-2e4egsra.js → state-f6btcd27.js} +19 -19
- package/dist/chunks/{aisdk-zkc29vwy.js → state-fecrtxp5.js} +11 -11
- package/dist/chunks/{aisdk-fg9p65nk.js → state-fg9p65nk.js} +2 -2
- package/dist/chunks/{aisdk-a3hr2qm9.js → state-fgsa38ay.js} +28 -28
- package/dist/chunks/{aisdk-yvj3tegn.js → state-fk9abcws.js} +16 -16
- package/dist/chunks/{aisdk-1qskw9ds.js → state-fnyc052x.js} +11 -11
- package/dist/chunks/{aisdk-vajpn6aq.js → state-fsyps2wb.js} +24 -24
- package/dist/chunks/{aisdk-z080rjh6.js → state-g5ajqn12.js} +4 -4
- package/dist/chunks/{aisdk-00natry1.js → state-gakp7x89.js} +1 -1
- package/dist/chunks/{aisdk-qc7j8vb7.js → state-gatg4ajq.js} +5 -5
- package/dist/chunks/{aisdk-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
- package/dist/chunks/{aisdk-sdt5j0rm.js → state-ghrv1g9c.js} +4 -4
- package/dist/chunks/{aisdk-v4bj6baw.js → state-gmemj5zs.js} +4 -4
- package/dist/chunks/{aisdk-tg7s7b5t.js → state-gxs71cxp.js} +4 -4
- package/dist/chunks/{aisdk-bd4afk93.js → state-gzfw1v14.js} +20 -20
- package/dist/chunks/{aisdk-v23hhw89.js → state-gzykt30c.js} +3 -3
- package/dist/chunks/{aisdk-sn77dt8p.js → state-h5arkge6.js} +55 -55
- package/dist/chunks/{aisdk-4vzr2b15.js → state-h5chy42v.js} +3 -3
- package/dist/chunks/{aisdk-56143vs8.js → state-ha4eeywz.js} +6 -6
- package/dist/chunks/{aisdk-hgzwgvze.js → state-hgzwgvze.js} +2 -2
- package/dist/chunks/{aisdk-g7bzs5g0.js → state-hr8ev4ht.js} +3 -3
- package/dist/chunks/{aisdk-3wd3705a.js → state-hrevqrsg.js} +1 -1
- package/dist/chunks/{aisdk-3gkz7q01.js → state-hwpy7xqd.js} +10 -10
- package/dist/chunks/{aisdk-wta6202z.js → state-hxcs36a8.js} +18 -18
- package/dist/chunks/{aisdk-n1z7dayf.js → state-hz5xsw53.js} +12 -12
- package/dist/chunks/{aisdk-684z6gka.js → state-j3kztysk.js} +39 -39
- package/dist/chunks/{aisdk-mhdwvfsv.js → state-jah69v2r.js} +49 -49
- package/dist/chunks/{aisdk-mr3xrd1g.js → state-jc6fdbwr.js} +53 -53
- package/dist/chunks/{aisdk-vbzkhvdq.js → state-jdpteqf8.js} +35 -35
- package/dist/chunks/{aisdk-jm70asfg.js → state-jm70asfg.js} +1 -1
- package/dist/chunks/{aisdk-kc45z3h4.js → state-jmcp7p6t.js} +48 -48
- package/dist/chunks/{aisdk-bbazfr9j.js → state-jw31swa9.js} +34 -31
- package/dist/chunks/{aisdk-kv781v4h.js → state-jztnqbkb.js} +28 -28
- package/dist/chunks/{aisdk-fzenvpj1.js → state-k0hkm9yt.js} +30 -30
- package/dist/chunks/{aisdk-ghw2q90v.js → state-k1d7vaz9.js} +25 -25
- package/dist/chunks/{aisdk-1naekne1.js → state-k1e8gd0x.js} +17 -17
- package/dist/chunks/{aisdk-gpvcxtjg.js → state-k4sg6xcd.js} +6 -6
- package/dist/chunks/{aisdk-y398vq4b.js → state-k6sdea1r.js} +5 -5
- package/dist/chunks/{aisdk-ww6xxge1.js → state-k81s7xrj.js} +21 -21
- package/dist/chunks/{aisdk-rj7j5fvs.js → state-kb7357nt.js} +4 -4
- package/dist/chunks/{aisdk-fqtyqcmx.js → state-kg3j2jy8.js} +47 -47
- package/dist/chunks/{aisdk-rf5xdxz2.js → state-khzy4wg3.js} +6 -6
- package/dist/chunks/{aisdk-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
- package/dist/chunks/{aisdk-h4m7yyn3.js → state-kt9t7ezs.js} +28 -28
- package/dist/chunks/{aisdk-kzczzf4v.js → state-kzczzf4v.js} +1 -1
- package/dist/chunks/{aisdk-rjd4ght5.js → state-m16enckk.js} +46 -46
- package/dist/chunks/{aisdk-m1714858.js → state-m1714858.js} +1 -1
- package/dist/chunks/{aisdk-p76me67c.js → state-m7xh3h0x.js} +4 -4
- package/dist/chunks/{aisdk-9gezy0ta.js → state-m8kfdq53.js} +31 -31
- package/dist/chunks/{aisdk-m90tx7mw.js → state-m90tx7mw.js} +1 -1
- package/dist/chunks/{aisdk-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
- package/dist/chunks/{aisdk-gnm9zfyf.js → state-mdgen25f.js} +5 -5
- package/dist/chunks/{aisdk-mfaczyzq.js → state-mgm7q8zj.js} +16 -16
- package/dist/chunks/{aisdk-pfjryf1x.js → state-mjhe4g2h.js} +7 -7
- package/dist/chunks/{aisdk-a621n4f6.js → state-mm2c6967.js} +11 -11
- package/dist/chunks/{aisdk-7vk7czv3.js → state-mp1w26g9.js} +12 -12
- package/dist/chunks/{aisdk-0xfehysn.js → state-mr226q9g.js} +15 -15
- package/dist/chunks/{aisdk-rrym2d7k.js → state-mz3s4az1.js} +9 -9
- package/dist/chunks/{aisdk-cm0vzj2n.js → state-mzspv93g.js} +196 -196
- package/dist/chunks/{aisdk-3fevqy49.js → state-n0qwh0ed.js} +17 -17
- package/dist/chunks/{aisdk-fxf50664.js → state-n2xzmb0r.js} +13 -13
- package/dist/chunks/{aisdk-44w9n9s7.js → state-n320gsn2.js} +4 -4
- package/dist/chunks/{aisdk-8hfctyyf.js → state-nn2nd58t.js} +7 -7
- package/dist/chunks/{aisdk-htk0ea2j.js → state-nntz0wdb.js} +7 -7
- package/dist/chunks/{aisdk-ny24wdce.js → state-nva44atn.js} +41 -41
- package/dist/chunks/{aisdk-nfhv1t94.js → state-nw5eecxx.js} +1 -1
- package/dist/chunks/{aisdk-gmhw82g6.js → state-p41ppky5.js} +9 -9
- package/dist/chunks/{aisdk-nd60m3ta.js → state-p4rh8hdf.js} +24 -24
- package/dist/chunks/{aisdk-85yc0hq8.js → state-p9scnkse.js} +5 -5
- package/dist/chunks/{aisdk-m4p4r8nc.js → state-pd7cqnhq.js} +4 -4
- package/dist/chunks/{aisdk-s3jc10rj.js → state-pezsvsz0.js} +22 -22
- package/dist/chunks/{aisdk-bd49trsz.js → state-ph1k6042.js} +11 -11
- package/dist/chunks/{aisdk-ase39p5q.js → state-pja45re6.js} +12 -12
- package/dist/chunks/{aisdk-7j05p5xv.js → state-pk8qaaqs.js} +11 -11
- package/dist/chunks/{aisdk-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-5ejd13wg.js → state-ppchzq00.js} +12 -12
- package/dist/chunks/{aisdk-jmd7tb51.js → state-pqcc506g.js} +378 -378
- package/dist/chunks/{aisdk-d2jxnkqd.js → state-prjyz4d4.js} +21 -21
- package/dist/chunks/{aisdk-tzzrxahk.js → state-q3gf3dr6.js} +18 -18
- package/dist/chunks/{aisdk-36qzrbfm.js → state-q963thn8.js} +9 -5
- package/dist/chunks/{aisdk-7jebtk0t.js → state-qf0cspkh.js} +32 -32
- package/dist/chunks/{aisdk-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
- package/dist/chunks/{aisdk-nv9tsjma.js → state-qvtwmp4v.js} +6 -6
- package/dist/chunks/{aisdk-3c35xw7m.js → state-qxzadwmc.js} +5 -5
- package/dist/chunks/{aisdk-kfge3pfm.js → state-r11nrgf9.js} +4 -4
- package/dist/chunks/{aisdk-xacrkbdt.js → state-r17fbvme.js} +4 -4
- package/dist/chunks/{aisdk-7bsvr981.js → state-r67bjwx7.js} +40 -40
- package/dist/chunks/{aisdk-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
- package/dist/chunks/{aisdk-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
- package/dist/chunks/{aisdk-m4pn5tm0.js → state-rzz7nxm9.js} +48 -48
- package/dist/chunks/{aisdk-f5w7jr2y.js → state-s2y7fbda.js} +36 -36
- package/dist/chunks/{aisdk-mt7tkt1k.js → state-s5wncjg7.js} +19 -19
- package/dist/chunks/{aisdk-ggzxzwph.js → state-s6edbn2q.js} +15 -15
- package/dist/chunks/{aisdk-td1c14kr.js → state-sak0c658.js} +2 -2
- package/dist/chunks/{aisdk-sbya78hr.js → state-sbya78hr.js} +1 -1
- package/dist/chunks/{aisdk-61qraad9.js → state-scmk72rv.js} +5 -5
- package/dist/chunks/{aisdk-56gmx9a6.js → state-skcgq5k4.js} +13 -11
- package/dist/chunks/{aisdk-1s033asv.js → state-skhaphad.js} +6 -6
- package/dist/chunks/{aisdk-a4qaryjt.js → state-sqdzwneh.js} +13 -13
- package/dist/chunks/{aisdk-7rwrrcn2.js → state-sswhfsb9.js} +13 -13
- package/dist/chunks/{aisdk-svcy3p9a.js → state-svcy3p9a.js} +1 -1
- package/dist/chunks/{aisdk-076bfny5.js → state-t2g4t1z5.js} +6 -6
- package/dist/chunks/{aisdk-xbbbq08w.js → state-takjgrvq.js} +16 -16
- package/dist/chunks/{aisdk-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
- package/dist/chunks/{aisdk-n35t2vgz.js → state-tcbqm7hf.js} +4 -4
- package/dist/chunks/{aisdk-tczq8hjw.js → state-tczq8hjw.js} +1 -1
- package/dist/chunks/{aisdk-mtxnd1fj.js → state-tf4gkfkx.js} +25 -25
- package/dist/chunks/{aisdk-rsvhexnm.js → state-tpven54p.js} +7 -7
- package/dist/chunks/{aisdk-j376ae4e.js → state-tr8x705m.js} +5 -5
- package/dist/chunks/{aisdk-92tssc24.js → state-ts958vmh.js} +29 -29
- package/dist/chunks/{aisdk-0fvxehme.js → state-ttz31trp.js} +5 -5
- package/dist/chunks/{aisdk-tvtps2q9.js → state-tvtps2q9.js} +1 -1
- package/dist/chunks/{aisdk-twssxy5n.js → state-twssxy5n.js} +2 -2
- package/dist/chunks/{aisdk-7t2bcrk5.js → state-v02smd4g.js} +18 -18
- package/dist/chunks/{aisdk-s0b19rzj.js → state-v2jzqrdt.js} +23 -23
- package/dist/chunks/{aisdk-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
- package/dist/chunks/{aisdk-qza0cy21.js → state-v6hn2ggr.js} +15 -15
- package/dist/chunks/{aisdk-y33bhg8s.js → state-vhqqbzfv.js} +27 -27
- package/dist/chunks/{aisdk-vjf35v1f.js → state-vjf35v1f.js} +1 -1
- package/dist/chunks/{aisdk-ysqr8c6t.js → state-vjvy004v.js} +22 -22
- package/dist/chunks/{aisdk-ra5zg4y5.js → state-vnnncvva.js} +14 -14
- package/dist/chunks/{aisdk-tx7xfjek.js → state-vpd4yg5b.js} +34 -34
- package/dist/chunks/{aisdk-2rzewps1.js → state-vqp5kk37.js} +11 -11
- package/dist/chunks/{aisdk-gehd6x6y.js → state-vtadsekr.js} +93 -93
- package/dist/chunks/{aisdk-2j6pyb0n.js → state-vwc6mpbq.js} +24 -24
- package/dist/chunks/{aisdk-qy94z0q3.js → state-vwjpa1de.js} +11 -11
- package/dist/chunks/{aisdk-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-wr3re1en.js → state-w687dnns.js} +4 -4
- package/dist/chunks/{aisdk-s3rv10yp.js → state-w7p25t36.js} +28 -28
- package/dist/chunks/{aisdk-wakvkjy4.js → state-wakvkjy4.js} +1 -1
- package/dist/chunks/{aisdk-6j2z21mn.js → state-wc0ykp6e.js} +11 -11
- package/dist/chunks/{aisdk-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-wegkxhrn.js → state-wegkxhrn.js} +2 -2
- package/dist/chunks/{aisdk-721tb84k.js → state-weqc7sb9.js} +2 -2
- package/dist/chunks/{aisdk-37fbk07p.js → state-wngs052d.js} +22 -22
- package/dist/chunks/{aisdk-n6c0ry9n.js → state-wq0p6jrb.js} +3 -3
- package/dist/chunks/{aisdk-a4z5kqp5.js → state-wt34pdjg.js} +20 -20
- package/dist/chunks/{aisdk-20pht57w.js → state-wzfa06mn.js} +4 -4
- package/dist/chunks/{aisdk-3a27dgsk.js → state-x5kxn1qq.js} +20 -20
- package/dist/chunks/{aisdk-pymb48n1.js → state-x7vt7y55.js} +3 -3
- package/dist/chunks/{aisdk-n7p5aby2.js → state-x9wwrnek.js} +44 -44
- package/dist/chunks/{aisdk-vfzbs16a.js → state-xa5zzh3s.js} +4 -4
- package/dist/chunks/{aisdk-wq08meq6.js → state-xcwbz96d.js} +9 -9
- package/dist/chunks/{aisdk-z54rs5r9.js → state-xdq19q9p.js} +14 -14
- package/dist/chunks/{aisdk-xxschbft.js → state-xjr6c8m4.js} +4 -4
- package/dist/chunks/{aisdk-q47m729n.js → state-xmc7taf5.js} +59 -59
- package/dist/chunks/{aisdk-3ryz99p0.js → state-xmx7xj34.js} +4 -4
- package/dist/chunks/{aisdk-f48g45vp.js → state-y0p25td2.js} +18 -18
- package/dist/chunks/{aisdk-ek4mh5pg.js → state-y2v2ewvc.js} +17 -17
- package/dist/chunks/{aisdk-1zavewex.js → state-y7zqb3rj.js} +26 -26
- package/dist/chunks/{aisdk-79w4g2qb.js → state-y8z9jktj.js} +15 -15
- package/dist/chunks/{aisdk-yb20nhc3.js → state-yb20nhc3.js} +1 -1
- package/dist/chunks/{aisdk-v5hpj9dd.js → state-ydsespw1.js} +8 -8
- package/dist/chunks/{aisdk-btz4vdf2.js → state-ykqyz08a.js} +9 -9
- package/dist/chunks/{aisdk-yr705xyq.js → state-yr705xyq.js} +1 -1
- package/dist/chunks/{aisdk-8729dcdd.js → state-yt39c6df.js} +11 -11
- package/dist/chunks/{aisdk-yvtc2x31.js → state-yvtc2x31.js} +1 -1
- package/dist/chunks/{aisdk-kbgs7tyr.js → state-yybgvvmq.js} +4 -4
- package/dist/chunks/{aisdk-b01wwvxe.js → state-yyemckek.js} +11 -11
- package/dist/chunks/{aisdk-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
- package/dist/chunks/state-z355x5yr.js +18 -0
- package/dist/chunks/{aisdk-snmv5tc2.js → state-z4zj0bd2.js} +7 -7
- package/dist/chunks/{aisdk-wfkcbjb5.js → state-z5adr5vh.js} +8 -8
- package/dist/chunks/{aisdk-ddyyp427.js → state-z63nefpx.js} +5 -5
- package/dist/chunks/{aisdk-j9nxzz3g.js → state-ze75qvmd.js} +3 -3
- package/dist/chunks/{aisdk-cr4rfj9z.js → state-zyq2pv4t.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +10 -10
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +150 -150
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +117 -117
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +441 -441
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +187 -187
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +116 -116
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +160 -160
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +116 -116
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +111 -111
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +142 -142
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -137
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +258 -258
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +113 -113
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +100 -100
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +258 -258
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +133 -133
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +272 -272
- package/dist/session/execution/subagent-report.js +145 -145
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +11 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +257 -257
- package/dist/session/usage.js +1 -1
- package/dist/session.js +249 -249
- package/dist/shared-cache.js +5 -5
- 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 +149 -149
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +104 -104
- 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 +187 -187
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +249 -249
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +251 -251
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/types/session/instruction-state.d.ts +4 -0
- package/dist/usage-limits.js +98 -98
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +103 -103
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +107 -107
- package/package.json +8 -8
- package/dist/chunks/aisdk-b9bbch9d.js +0 -273
- package/dist/chunks/aisdk-ev660z6k.js +0 -18
- package/dist/chunks/aisdk-qg5d3qey.js +0 -26
- package/dist/chunks/aisdk-we9eewdm.js +0 -35
- package/dist/chunks/aisdk-ywh3xphk.js +0 -16
- /package/dist/chunks/{aisdk-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-1kah00gy.js → state-1kah00gy.js} +0 -0
- /package/dist/chunks/{aisdk-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{aisdk-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-5w3e23ze.js → state-5w3e23ze.js} +0 -0
- /package/dist/chunks/{aisdk-6agm2x70.js → state-6agm2x70.js} +0 -0
- /package/dist/chunks/{aisdk-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{aisdk-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{aisdk-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{aisdk-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-9ceax7yg.js → state-9ceax7yg.js} +0 -0
- /package/dist/chunks/{aisdk-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-ade8csyh.js → state-ade8csyh.js} +0 -0
- /package/dist/chunks/{aisdk-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-beh6qq61.js → state-beh6qq61.js} +0 -0
- /package/dist/chunks/{aisdk-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-cqv5kn06.js → state-cqv5kn06.js} +0 -0
- /package/dist/chunks/{aisdk-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-ean2d8b5.js → state-ean2d8b5.js} +0 -0
- /package/dist/chunks/{aisdk-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{aisdk-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{aisdk-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-jwr30sdr.js → state-jwr30sdr.js} +0 -0
- /package/dist/chunks/{aisdk-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{aisdk-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-nh4v3znn.js → state-nh4v3znn.js} +0 -0
- /package/dist/chunks/{aisdk-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-p71gwv9c.js → state-p71gwv9c.js} +0 -0
- /package/dist/chunks/{aisdk-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-syrav9an.js → state-syrav9an.js} +0 -0
- /package/dist/chunks/{aisdk-t03h4f5z.js → state-t03h4f5z.js} +0 -0
- /package/dist/chunks/{aisdk-ty7weeps.js → state-ty7weeps.js} +0 -0
- /package/dist/chunks/{aisdk-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{aisdk-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{aisdk-vtarvj67.js → state-vtarvj67.js} +0 -0
- /package/dist/chunks/{aisdk-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-x4th4bpe.js → state-x4th4bpe.js} +0 -0
- /package/dist/chunks/{aisdk-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{aisdk-z9919s4g.js → state-z9919s4g.js} +0 -0
- /package/dist/chunks/{aisdk-zxpyjp51.js → state-zxpyjp51.js} +0 -0
- /package/dist/chunks/{aisdk-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service91,
|
|
9
9
|
node93
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-p9scnkse.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service89,
|
|
13
|
+
node91
|
|
14
|
+
} from "./state-n0qwh0ed.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-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: () => Error4,
|
|
26
|
+
ID: () => ID10,
|
|
27
|
+
Service: () => Service70,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node71,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, 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 ID10 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 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 Service70 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service91;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service89;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service78, 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 Error4({ 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(Service78, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID10.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service70.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node71 = makeLocationNode({
|
|
159
|
+
service: Service70,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node, node93, Global.node,
|
|
161
|
+
deps: [FSUtil.node, node93, Global.node, node91]
|
|
162
162
|
});
|
|
163
|
-
var noopLayer3 = Layer.succeed(
|
|
163
|
+
var noopLayer3 = Layer.succeed(Service70, Service70.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service78, Service78.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error4({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID10, Error4, Service70, node71, noopLayer3, exports_snapshot2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./state-e42rf4nr.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./state-80m5xgxj.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-c9jqgsxy.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./state-rzz7nxm9.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-80pdk984.js";
|
|
20
20
|
import {
|
|
21
21
|
observeSources2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-tvtps2q9.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/config/plugin/agent.ts
|
|
28
|
-
var
|
|
29
|
-
__export(
|
|
30
|
-
ConfigAgentPlugin: () =>
|
|
28
|
+
var exports_agent2 = {};
|
|
29
|
+
__export(exports_agent2, {
|
|
30
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
31
31
|
Plugin: () => Plugin23
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,7 +43,7 @@ var legacySources = [
|
|
|
43
43
|
];
|
|
44
44
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
45
45
|
var decodeAgent = SchemaParser.decodeUnknownResult(ConfigAgent.Info);
|
|
46
|
-
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(
|
|
46
|
+
var decodeLegacyAgent = SchemaParser.decodeUnknownResult(Info18);
|
|
47
47
|
var formatIssue = SchemaIssue.makeFormatterDefault();
|
|
48
48
|
var pathActions = ["external_directory", "read", "edit"];
|
|
49
49
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
@@ -51,7 +51,7 @@ var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
|
51
51
|
var Plugin23 = define({
|
|
52
52
|
id: "opencode.config.agent",
|
|
53
53
|
effect: Effect.fn(function* (ctx) {
|
|
54
|
-
const config = yield*
|
|
54
|
+
const config = yield* Service77;
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
57
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -78,13 +78,13 @@ var Plugin23 = define({
|
|
|
78
78
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
79
79
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
80
80
|
if (configuredDefault !== undefined)
|
|
81
|
-
editor.default(
|
|
81
|
+
editor.default(ID14.make(configuredDefault));
|
|
82
82
|
for (const current of editor.list()) {
|
|
83
83
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
84
84
|
}
|
|
85
85
|
for (const document of loaded.documents) {
|
|
86
86
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
87
|
-
const agentID =
|
|
87
|
+
const agentID = ID14.make(id);
|
|
88
88
|
if (item.disabled) {
|
|
89
89
|
editor.remove(agentID);
|
|
90
90
|
continue;
|
|
@@ -171,4 +171,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
171
171
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
172
172
|
});
|
|
173
173
|
|
|
174
|
-
export { Plugin23,
|
|
174
|
+
export { Plugin23, exports_agent2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node87
|
|
8
|
+
} from "./state-jdpteqf8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node59
|
|
12
|
+
} from "./state-m16enckk.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-2fc7eemy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate = {};
|
|
@@ -25,11 +25,11 @@ __export(exports_generate, {
|
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service18,
|
|
29
29
|
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer12,
|
|
32
|
+
node: () => node21
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service18 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer12 = Layer.effect(Service18, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service58;
|
|
89
|
+
const models = yield* Service85;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer13 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service18.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node21 = makeLocationNode({
|
|
219
|
+
service: Service18,
|
|
220
|
+
layer: layer12,
|
|
221
|
+
deps: [node59, node87, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2,
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service18, layer12, node21, exports_generate };
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-97jbfc4v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node83
|
|
8
|
+
} from "./state-bsdnr4ba.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-40y6dtc2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
|
-
DisabledError: () =>
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Input: () =>
|
|
24
|
-
Provider: () =>
|
|
20
|
+
DisabledError: () => DisabledError3,
|
|
21
|
+
Event: () => Event4,
|
|
22
|
+
ID: () => ID7,
|
|
23
|
+
Input: () => Input15,
|
|
24
|
+
Provider: () => Provider2,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
26
|
-
ProviderNotFoundError: () =>
|
|
26
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
27
27
|
ProviderRequiredError: () => ProviderRequiredError2,
|
|
28
|
-
RequestError: () =>
|
|
28
|
+
RequestError: () => RequestError2,
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service17,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node20
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
41
|
+
import { Event as Event4 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID7 = WebSearch.ID;
|
|
43
|
+
var Provider2 = WebSearch.Provider;
|
|
44
|
+
var Input15 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID7, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
54
|
-
providerID:
|
|
53
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
+
providerID: ID7
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
62
|
-
providerID:
|
|
61
|
+
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
+
providerID: ID7,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service17 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
69
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
70
70
|
const bus = yield* Service93;
|
|
71
|
-
const kv = yield*
|
|
71
|
+
const kv = yield* Service82;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -95,7 +95,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
95
95
|
});
|
|
96
96
|
const requireProvider = (providers, providerID) => {
|
|
97
97
|
const provider = providers.get(providerID);
|
|
98
|
-
return provider ? Effect.succeed(provider) : Effect.fail(new
|
|
98
|
+
return provider ? Effect.succeed(provider) : Effect.fail(new ProviderNotFoundError2({ providerID }));
|
|
99
99
|
};
|
|
100
100
|
const selection = Effect.fn("WebSearch.selection")(function* () {
|
|
101
101
|
const data = state.get();
|
|
@@ -124,14 +124,14 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
124
124
|
};
|
|
125
125
|
const defaultProvider = Effect.fn("WebSearch.default")(function* (choice) {
|
|
126
126
|
if (choice === false)
|
|
127
|
-
return yield* new
|
|
127
|
+
return yield* new DisabledError3;
|
|
128
128
|
if (choice === "random") {
|
|
129
129
|
const active = preferred.get(undefined)?.provider;
|
|
130
130
|
return (active === undefined ? undefined : state.get().providers.get(active)) ?? state.get().providers.values().next().value;
|
|
131
131
|
}
|
|
132
132
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
transform: state.transform,
|
|
136
136
|
reload: state.reload,
|
|
137
137
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
|
165
165
|
if (result._tag === "Success")
|
|
166
166
|
return new Response2({ providerID: provider.id, results: result.success });
|
|
167
167
|
const cause = result.failure;
|
|
168
|
-
const error = new
|
|
168
|
+
const error = new RequestError2({ providerID: provider.id, cause });
|
|
169
169
|
if (choice !== "random" || !HttpClientError.isHttpClientError(cause) || cause.response?.status !== 429)
|
|
170
170
|
return yield* error;
|
|
171
171
|
const now = yield* Clock.currentTimeMillis;
|
|
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
|
|
|
188
188
|
const date = Date.parse(value);
|
|
189
189
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
service:
|
|
191
|
+
var node20 = makeLocationNode({
|
|
192
|
+
service: Service17,
|
|
193
193
|
layer,
|
|
194
|
-
deps: [node95,
|
|
194
|
+
deps: [node95, node83]
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { ID7, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service17, node20, exports_websearch3, Event4 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-p9scnkse.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service94,
|
|
12
12
|
node96
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-xa5zzh3s.js";
|
|
14
14
|
import {
|
|
15
15
|
Service93,
|
|
16
16
|
node95
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-97jbfc4v.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID20,
|
|
26
|
+
NotFoundError14
|
|
27
|
+
} from "./state-x9wwrnek.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref5
|
|
30
|
+
} from "./state-n0qwh0ed.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service63,
|
|
33
|
+
node64
|
|
34
|
+
} from "./state-pk8qaaqs.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./state-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service24
|
|
41
|
+
} from "./state-c2r3rtm4.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./state-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -50,18 +50,18 @@ __export(exports_worktree2, {
|
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
52
|
Event: () => Event6,
|
|
53
|
-
Info: () =>
|
|
53
|
+
Info: () => Info9,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service23,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node26
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput5 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info9 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry2 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID20, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -92,19 +92,19 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
92
92
|
}
|
|
93
93
|
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service23 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service94;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service93;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service63;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError14({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,9 +113,9 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service24).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service23.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node26 = Node.makeGlobalNode({
|
|
260
|
+
service: Service23,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node95, node96, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node95, node96, AppProcess.node, node64]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput5, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput5, RemoveInput2, Info9, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service23, node26, exports_worktree2, OperationError2 };
|