@opencode/core 0.0.0-dev-1018 → 0.0.0-dev-1019
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +242 -242
- package/dist/bus.js +84 -84
- package/dist/chunks/{location-services-qthpjem4.js → job-01jsgpxt.js} +12 -12
- package/dist/chunks/{location-services-94e33dpz.js → job-04qc8z7j.js} +3 -3
- package/dist/chunks/{location-services-ca7nh339.js → job-09vkk3gc.js} +11 -11
- package/dist/chunks/{location-services-0ma9gw4f.js → job-0ma9gw4f.js} +2 -2
- package/dist/chunks/{location-services-h4b4ad4n.js → job-0qfbfcfz.js} +21 -21
- package/dist/chunks/{location-services-q1zyq82t.js → job-0rdh0d4d.js} +16 -16
- package/dist/chunks/{location-services-7dntc97d.js → job-15rvxves.js} +8 -8
- package/dist/chunks/{location-services-1aqsckx4.js → job-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-services-dhwvc2jt.js → job-1fmcbp5w.js} +5 -5
- package/dist/chunks/{location-services-tah3cnd0.js → job-1tgyr2s7.js} +25 -25
- package/dist/chunks/{location-services-ybws1qgk.js → job-1v2g13eq.js} +4 -4
- package/dist/chunks/{location-services-1x2knyw4.js → job-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-services-1yq9hg58.js → job-1yq9hg58.js} +1 -1
- package/dist/chunks/{location-services-w4wtrrm0.js → job-20z6pqrf.js} +22 -22
- package/dist/chunks/{location-services-tdeaf8zc.js → job-234jsx79.js} +29 -29
- package/dist/chunks/{location-services-1t5hb6rz.js → job-2563sbyv.js} +17 -17
- package/dist/chunks/{location-services-25h84942.js → job-25h84942.js} +1 -1
- package/dist/chunks/{location-services-zczb3ahd.js → job-26rvy0sx.js} +15 -15
- package/dist/chunks/{location-services-1ep2p91f.js → job-27w5k9zf.js} +2 -2
- package/dist/chunks/{location-services-v2kcrxmn.js → job-2am90qb5.js} +23 -23
- package/dist/chunks/job-2dkjcnxp.js +18 -0
- package/dist/chunks/{location-services-2fc7eemy.js → job-2fc7eemy.js} +1 -1
- package/dist/chunks/{location-services-0nbahg35.js → job-2h99xped.js} +8 -8
- package/dist/chunks/{location-services-t5tk8b81.js → job-2n8za01q.js} +10 -10
- package/dist/chunks/{location-services-s1ba0vj0.js → job-2p60zmnr.js} +2 -2
- package/dist/chunks/{location-services-dp72kpfz.js → job-2r147aej.js} +41 -41
- package/dist/chunks/{location-services-gwyytpcj.js → job-2s9mae96.js} +6 -6
- package/dist/chunks/{location-services-n1dex2d7.js → job-2sa0chf7.js} +8 -8
- package/dist/chunks/{location-services-vgkznsbx.js → job-34gq35j8.js} +27 -27
- package/dist/chunks/{location-services-fyx96w05.js → job-37vh9x9d.js} +20 -20
- package/dist/chunks/{location-services-ayjs7tqn.js → job-3cbjf1nt.js} +2 -2
- package/dist/chunks/{location-services-38ebvk59.js → job-3cpmgrm5.js} +19 -19
- package/dist/chunks/{location-services-crvpqcw1.js → job-3cpsk67c.js} +35 -35
- package/dist/chunks/{location-services-95ch3ng8.js → job-3fb4qv8n.js} +33 -33
- package/dist/chunks/{location-services-3hepkmqq.js → job-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-3nnrz6f6.js → job-3nnrz6f6.js} +1 -1
- package/dist/chunks/{location-services-18b1hh0p.js → job-3qevzq3v.js} +11 -11
- package/dist/chunks/{location-services-v6k8h06f.js → job-3zm1qdqf.js} +10 -10
- package/dist/chunks/{location-services-40y6dtc2.js → job-40y6dtc2.js} +1 -1
- package/dist/chunks/{location-services-40za9wsf.js → job-40za9wsf.js} +2 -2
- package/dist/chunks/{location-services-jxd6f16v.js → job-44pmzq9c.js} +2 -2
- package/dist/chunks/{location-services-qxd8xqpm.js → job-46qa44d0.js} +5 -5
- package/dist/chunks/{location-services-532aw9k5.js → job-4ck67xwr.js} +2 -2
- package/dist/chunks/{location-services-4dx1dgte.js → job-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-services-4f25tdd0.js → job-4f25tdd0.js} +1 -1
- package/dist/chunks/{location-services-2kyj86a2.js → job-4farxxta.js} +46 -46
- package/dist/chunks/{location-services-gyv4b0r8.js → job-4fchvhz0.js} +9 -9
- package/dist/chunks/{location-services-kf574bvz.js → job-4fqz5449.js} +10 -10
- package/dist/chunks/{location-services-xqcc833w.js → job-4j8z3z0n.js} +60 -60
- package/dist/chunks/{location-services-4pyp9zr9.js → job-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-services-4v008n1t.js → job-4v008n1t.js} +1 -1
- package/dist/chunks/{location-services-c9bjbb3k.js → job-4v7qkt58.js} +19 -19
- package/dist/chunks/{location-services-942rfr41.js → job-4xyjnezy.js} +9 -9
- package/dist/chunks/{location-services-dnb086dv.js → job-4zwmx4m5.js} +26 -26
- package/dist/chunks/{location-services-wjw9jc70.js → job-595h4sm6.js} +5 -5
- package/dist/chunks/{location-services-my1apsf8.js → job-5azf7efg.js} +18 -18
- package/dist/chunks/{location-services-5m9w47nd.js → job-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-x1actg1q.js → job-5sgfg9b8.js} +4 -4
- package/dist/chunks/{location-services-dzvgyemd.js → job-5tpr8wfq.js} +14 -14
- package/dist/chunks/{location-services-5whx36p1.js → job-5whx36p1.js} +1 -1
- package/dist/chunks/{location-services-sbk1er59.js → job-5wyysyga.js} +13 -13
- package/dist/chunks/{location-services-qs2j0e81.js → job-5zpqhmp2.js} +6 -6
- package/dist/chunks/{location-services-4c7e6jzd.js → job-60d6676s.js} +3 -3
- package/dist/chunks/{location-services-br0kkpnn.js → job-63xym3gh.js} +7 -7
- package/dist/chunks/{location-services-9rqhy0gk.js → job-6cqkw5v2.js} +7 -7
- package/dist/chunks/{location-services-08j34ytv.js → job-6gnm4vzm.js} +21 -21
- package/dist/chunks/{location-services-g18g3d01.js → job-6hjcg0sq.js} +28 -28
- package/dist/chunks/{location-services-j1hxdwg7.js → job-6hyy3jcw.js} +13 -13
- package/dist/chunks/{location-services-pkqeagea.js → job-6mdjvhjq.js} +8 -8
- package/dist/chunks/{location-services-grvjd2tp.js → job-6nyyxy27.js} +16 -16
- package/dist/chunks/{location-services-ppay2prz.js → job-6wd058an.js} +7 -7
- package/dist/chunks/{location-services-6y2b864j.js → job-6y2b864j.js} +1 -1
- package/dist/chunks/{location-services-tes7x7rh.js → job-6z0rd575.js} +51 -51
- package/dist/chunks/{location-services-3ee1s2ra.js → job-730mc0b3.js} +6 -6
- package/dist/chunks/{location-services-ej1mycq3.js → job-73e1ctmt.js} +14 -14
- package/dist/chunks/{location-services-96pyep5q.js → job-73s8wcwr.js} +6 -6
- package/dist/chunks/{location-services-4n202ep1.js → job-79d57351.js} +28 -28
- package/dist/chunks/{location-services-0mp8jrhf.js → job-7b60q6w8.js} +39 -39
- package/dist/chunks/{location-services-7bmhse3q.js → job-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-js1t2t7e.js → job-7h0dbtcp.js} +3 -3
- package/dist/chunks/{location-services-qq922x6n.js → job-7n8m323d.js} +11 -11
- package/dist/chunks/{location-services-8sxe6kv8.js → job-7qrph824.js} +2 -2
- package/dist/chunks/{location-services-7w2ypzdf.js → job-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-services-7weczvnd.js → job-7weczvnd.js} +1 -1
- package/dist/chunks/{location-services-78p2h4ex.js → job-7yhqj3pz.js} +5 -5
- package/dist/chunks/{location-services-80mg3ag8.js → job-80mg3ag8.js} +3 -3
- package/dist/chunks/{location-services-80pdk984.js → job-80pdk984.js} +1 -1
- package/dist/chunks/{location-services-7hgnn06b.js → job-81aw4772.js} +9 -9
- package/dist/chunks/{location-services-85jq8dht.js → job-85jq8dht.js} +1 -1
- package/dist/chunks/{location-services-6pyp58fx.js → job-8c5qsp9x.js} +15 -15
- package/dist/chunks/{location-services-wrtnm9rp.js → job-8ejj5xh0.js} +33 -33
- package/dist/chunks/{location-services-10pn4eb5.js → job-8mbxwdvs.js} +2 -2
- package/dist/chunks/{location-services-4mqvkt3j.js → job-8rfgw4x1.js} +35 -35
- package/dist/chunks/{location-services-c9zsax4s.js → job-8wsffgs1.js} +19 -19
- package/dist/chunks/{location-services-8wtp7s3z.js → job-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-services-mb7mbhnz.js → job-8z6m94af.js} +3 -3
- package/dist/chunks/{location-services-55p921qz.js → job-8z8m4h67.js} +7 -7
- package/dist/chunks/{location-services-8zv0xmg5.js → job-8zv0xmg5.js} +1 -1
- package/dist/chunks/{location-services-38aws4xb.js → job-90ct6wq4.js} +4 -4
- package/dist/chunks/{location-services-grhec5r6.js → job-96g2m7qy.js} +37 -37
- package/dist/chunks/{location-services-vh9vtdzr.js → job-9d3dry9k.js} +14 -14
- package/dist/chunks/{location-services-kem0mawp.js → job-9f28g62z.js} +4 -4
- package/dist/chunks/{location-services-0hqdgkh5.js → job-9fqkc68m.js} +5 -5
- package/dist/chunks/{location-services-kj3m9s0k.js → job-9k2g0ym6.js} +8 -8
- package/dist/chunks/{location-services-y0rmysmd.js → job-9p8epqe5.js} +15 -15
- package/dist/chunks/{location-services-9sk33afj.js → job-9sk33afj.js} +2 -2
- package/dist/chunks/{location-services-2kpjs9hs.js → job-9yw2zfdt.js} +7 -7
- package/dist/chunks/{location-services-cqk8mjmt.js → job-9yych0px.js} +13 -13
- package/dist/chunks/{location-services-k8ezxhnc.js → job-a8x4srn0.js} +12 -12
- package/dist/chunks/{location-services-vwf14hkv.js → job-ad08z8h0.js} +3 -3
- package/dist/chunks/{location-services-nm9w8qa9.js → job-aed2zd65.js} +4 -4
- package/dist/chunks/{location-services-034tev2y.js → job-aj7mw0zk.js} +2 -2
- package/dist/chunks/{location-services-t7htycx0.js → job-amhwfkyh.js} +15 -15
- package/dist/chunks/{location-services-h1bq840x.js → job-amx41ryk.js} +46 -46
- package/dist/chunks/job-aqczazaa.js +16 -0
- package/dist/chunks/{location-services-g4txs7zc.js → job-b26ddj6h.js} +4 -4
- package/dist/chunks/{location-services-gnkmn8c6.js → job-b7nkz392.js} +1 -1
- package/dist/chunks/{location-services-rgs6xe9s.js → job-b7q750se.js} +6 -6
- package/dist/chunks/{location-services-4qvkk0dz.js → job-bpvn26st.js} +6 -6
- package/dist/chunks/{location-services-9mzt2h69.js → job-bretmgv2.js} +17 -17
- package/dist/chunks/{location-services-bstexjd6.js → job-bstexjd6.js} +1 -1
- package/dist/chunks/{location-services-ks3nrd9n.js → job-btggkr0x.js} +15 -15
- package/dist/chunks/{location-services-krc440de.js → job-bvcm9a6c.js} +31 -31
- package/dist/chunks/{location-services-apncw8nq.js → job-c0k5s85a.js} +5 -5
- package/dist/chunks/{location-services-266325jp.js → job-c1sfsxsr.js} +8 -8
- package/dist/chunks/{location-services-z1gwm4ht.js → job-c2njpneg.js} +14 -14
- package/dist/chunks/{location-services-rj7j5fvs.js → job-c5zvymhv.js} +4 -4
- package/dist/chunks/{location-services-wt99tj4q.js → job-c7cw818c.js} +5 -5
- package/dist/chunks/{location-services-r3cge2w6.js → job-c9ggfbja.js} +16 -16
- package/dist/chunks/{location-services-wjhreaqv.js → job-cevzq8fg.js} +4 -4
- package/dist/chunks/{location-services-b7xf5rs7.js → job-cgebvf4a.js} +24 -24
- package/dist/chunks/{location-services-rjg4ptcj.js → job-cjqsf6bw.js} +9 -9
- package/dist/chunks/{location-services-q2ggqmww.js → job-ckbyfzfm.js} +28 -28
- package/dist/chunks/{location-services-hm74t5nv.js → job-cnjns8zn.js} +3 -3
- package/dist/chunks/{location-services-2zdv0xg6.js → job-cqh1qeq1.js} +11 -11
- package/dist/chunks/{location-services-cwrgdav8.js → job-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-services-0z8g566h.js → job-d37jc8tx.js} +2 -2
- package/dist/chunks/{location-services-zaa1z54d.js → job-d3shecky.js} +34 -34
- package/dist/chunks/{location-services-11m1jm16.js → job-d97evh6t.js} +11 -11
- package/dist/chunks/{location-services-8cx4xjy0.js → job-ddshqt7v.js} +6 -6
- package/dist/chunks/{location-services-fw8b407a.js → job-dkavysgt.js} +24 -24
- package/dist/chunks/{location-services-ha0ssc2n.js → job-dq6bxyck.js} +8 -8
- package/dist/chunks/{location-services-dt77769w.js → job-dt77769w.js} +1 -1
- package/dist/chunks/{location-services-br8ehxr1.js → job-dy7habzx.js} +18 -18
- package/dist/chunks/{location-services-cpyfbe5h.js → job-dy929f6w.js} +30 -30
- package/dist/chunks/{location-services-1w10j92s.js → job-dzkstqpn.js} +12 -12
- package/dist/chunks/{location-services-xznh71wt.js → job-e8prnk14.js} +43 -43
- package/dist/chunks/{location-services-3yq8hmjy.js → job-ea40x3ma.js} +13 -13
- package/dist/chunks/{location-services-b5ptbrza.js → job-ek2041z9.js} +16 -16
- package/dist/chunks/{location-services-ewwxda2t.js → job-ep6snxvm.js} +5 -5
- package/dist/chunks/{location-services-eqw4pqj1.js → job-eqw4pqj1.js} +2 -2
- package/dist/chunks/{location-services-7z1bdsh3.js → job-et3vp9xn.js} +10 -10
- package/dist/chunks/{location-services-770fvbnk.js → job-etpjmxxk.js} +20 -20
- package/dist/chunks/{location-services-rhnttm5v.js → job-f0c7frwc.js} +27 -27
- package/dist/chunks/{location-services-g2nd8s5g.js → job-f1bcq9pf.js} +6 -6
- package/dist/chunks/{location-services-8ksznzzn.js → job-f39dh122.js} +20 -20
- package/dist/chunks/{location-services-m752f6cs.js → job-f3ph0vjv.js} +25 -25
- package/dist/chunks/{location-services-fg9p65nk.js → job-fg9p65nk.js} +2 -2
- package/dist/chunks/{location-services-1z3p9jpq.js → job-fkdkswvk.js} +36 -36
- package/dist/chunks/{location-services-wxtac8m4.js → job-fr916e7r.js} +14 -14
- package/dist/chunks/{location-services-bvtd3b63.js → job-fwwxp6ws.js} +12 -12
- package/dist/chunks/{location-services-rn1qbw8h.js → job-fwxg1bah.js} +9 -9
- package/dist/chunks/job-fz8qqh8b.js +273 -0
- package/dist/chunks/{location-services-fznmdakp.js → job-fznmdakp.js} +1 -1
- package/dist/chunks/{location-services-gq4r58bj.js → job-g11z392p.js} +9 -9
- package/dist/chunks/{location-services-gbjdnr5j.js → job-gbjdnr5j.js} +2 -2
- package/dist/chunks/{location-services-36zd8q63.js → job-gc49jk8z.js} +21 -21
- package/dist/chunks/{location-services-ghrv1g9c.js → job-ghrv1g9c.js} +1 -1
- package/dist/chunks/{location-services-26wfx3k0.js → job-gmemj5zs.js} +4 -4
- package/dist/chunks/{location-services-d4v9tmah.js → job-gn8tkhbf.js} +2 -2
- package/dist/chunks/{location-services-jnq8ctsk.js → job-gq0c62h7.js} +11 -11
- package/dist/chunks/{location-services-gxs71cxp.js → job-gxs71cxp.js} +1 -1
- package/dist/chunks/{location-services-d69g7qpe.js → job-gydq14sx.js} +41 -41
- package/dist/chunks/{location-services-539dw32x.js → job-h9hc66h4.js} +4 -4
- package/dist/chunks/{location-services-19y9ca77.js → job-ha258zqz.js} +12 -12
- package/dist/chunks/{location-services-hgzwgvze.js → job-hgzwgvze.js} +2 -2
- package/dist/chunks/{location-services-c348qrfn.js → job-hmst77v7.js} +10 -10
- package/dist/chunks/{location-services-vyy9a248.js → job-hnktkp4a.js} +10 -10
- package/dist/chunks/{location-services-j668sn39.js → job-hpwmd5tr.js} +17 -17
- package/dist/chunks/{location-services-8crbrjbr.js → job-hqcky5tr.js} +28 -28
- package/dist/chunks/{location-services-9mmamjmw.js → job-hvgbk3pa.js} +40 -40
- package/dist/chunks/{location-services-ccp6j38y.js → job-hx3mz2q2.js} +8 -8
- package/dist/chunks/{location-services-fxjk1bjs.js → job-hxhmq5vv.js} +39 -39
- package/dist/chunks/{location-services-hy8c1z76.js → job-hy8c1z76.js} +1 -1
- package/dist/chunks/{location-services-8qm44xvf.js → job-hz16gwxf.js} +18 -18
- package/dist/chunks/{location-services-vb80gn4g.js → job-j0a0jr2v.js} +11 -11
- package/dist/chunks/{location-services-8e7ggcjp.js → job-j2zh9mkb.js} +12 -12
- package/dist/chunks/{location-services-qd74dc1z.js → job-j51768r1.js} +16 -16
- package/dist/chunks/{location-services-7yn9f8h5.js → job-jdg1m67t.js} +11 -11
- package/dist/chunks/{location-services-9sw2rrc1.js → job-jg05jkna.js} +5 -5
- package/dist/chunks/{location-services-bhfd478d.js → job-jkdcm5hg.js} +4 -4
- package/dist/chunks/{location-services-jm70asfg.js → job-jm70asfg.js} +1 -1
- package/dist/chunks/{location-services-hx42m0sk.js → job-jsx2411v.js} +41 -41
- package/dist/chunks/{location-services-ngm86eak.js → job-jw428at2.js} +15 -15
- package/dist/chunks/{location-services-e36d7ha4.js → job-jy1653bt.js} +8 -8
- package/dist/chunks/{location-services-8n666mwk.js → job-jy6fzk8y.js} +11 -11
- package/dist/chunks/{location-services-4c0app9d.js → job-k0p3pv3w.js} +5 -5
- package/dist/chunks/{location-services-g8vy647v.js → job-k98fh1fc.js} +42 -42
- package/dist/chunks/{location-services-z8qvzaw8.js → job-ka42rd5f.js} +27 -27
- package/dist/chunks/{location-services-q708e1j4.js → job-kcqd3zv6.js} +31 -31
- package/dist/chunks/{location-services-ktp098y0.js → job-kdsqfnft.js} +42 -42
- package/dist/chunks/{location-services-kj9n5bvh.js → job-kj9n5bvh.js} +1 -1
- package/dist/chunks/{location-services-rn6817b0.js → job-kp2338hr.js} +9 -9
- package/dist/chunks/{location-services-0ac2k0jg.js → job-kpcw4jmy.js} +19 -19
- package/dist/chunks/{location-services-kt3bjfbg.js → job-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-services-t872w7xh.js → job-kx7y19tj.js} +3 -3
- package/dist/chunks/{location-services-kzczzf4v.js → job-kzczzf4v.js} +1 -1
- package/dist/chunks/{location-services-93xmyh8q.js → job-kzdam8c6.js} +5 -5
- package/dist/chunks/{location-services-mkqdp8ha.js → job-m0gp9a08.js} +6 -6
- package/dist/chunks/{location-services-m1714858.js → job-m1714858.js} +1 -1
- package/dist/chunks/{location-services-v24zwr61.js → job-m1qweb33.js} +20 -20
- package/dist/chunks/{location-services-7peaj6gv.js → job-m2qqaf2k.js} +15 -15
- package/dist/chunks/{location-services-7y58fzyq.js → job-m7tzbdbq.js} +8 -8
- package/dist/chunks/{location-services-7gg9f32q.js → job-m833md3a.js} +43 -43
- package/dist/chunks/{location-services-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-e4xndj1f.js → job-mab9ts6h.js} +28 -28
- package/dist/chunks/{location-services-dq1p2qgy.js → job-macacgc7.js} +45 -45
- package/dist/chunks/{location-services-dzxny3rz.js → job-mgjw7jnt.js} +5 -5
- package/dist/chunks/{location-services-qnsd7j7p.js → job-mh5f0dyq.js} +29 -29
- package/dist/chunks/{location-services-etwnht5y.js → job-mkyerqc8.js} +31 -31
- package/dist/chunks/{location-services-p6p70pmf.js → job-mnhjeksd.js} +5 -5
- package/dist/chunks/{location-services-7pmvrtj8.js → job-mtqk74df.js} +19 -19
- package/dist/chunks/{location-services-hd3apvyx.js → job-mwq811z3.js} +12 -12
- package/dist/chunks/{location-services-kq4fnwb1.js → job-n320gsn2.js} +4 -4
- package/dist/chunks/{location-services-ppv0q14k.js → job-n5ebyfeh.js} +20 -20
- package/dist/chunks/{location-services-5j68pf7y.js → job-n81r3968.js} +17 -17
- package/dist/chunks/{location-services-9589yjf4.js → job-nknw0m4x.js} +6 -6
- package/dist/chunks/{location-services-v3s4bj3j.js → job-nv9tsjma.js} +6 -6
- package/dist/chunks/{location-services-wegkxhrn.js → job-nx4vzyjd.js} +2 -2
- package/dist/chunks/{location-services-04whjz6n.js → job-nxxmtyhx.js} +9 -9
- package/dist/chunks/{location-services-je3gn0yt.js → job-p1cw6w3z.js} +18 -18
- package/dist/chunks/{location-services-qrwn5q0j.js → job-p4x3aab7.js} +4 -4
- package/dist/chunks/{location-services-wy2y7272.js → job-p76me67c.js} +4 -4
- package/dist/chunks/{location-services-0php2d2a.js → job-p7zzvas5.js} +4 -4
- package/dist/chunks/{location-services-anxm212y.js → job-ph26h72z.js} +96 -96
- package/dist/chunks/{location-services-h0qxp3tm.js → job-pjt20gm5.js} +34 -34
- package/dist/chunks/{location-services-pknna89w.js → job-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-dn27waz6.js → job-pndxj06h.js} +25 -25
- package/dist/chunks/{location-services-vw0tjj1n.js → job-q2dszzab.js} +5 -5
- package/dist/chunks/{location-services-y1vxsnye.js → job-q3cmqq6a.js} +32 -32
- package/dist/chunks/{location-services-q42tzrxa.js → job-q42tzrxa.js} +1 -1
- package/dist/chunks/{location-services-v6fxhkcf.js → job-qbbg3whj.js} +7 -7
- package/dist/chunks/{location-services-w70mdzqv.js → job-qc17021m.js} +14 -14
- package/dist/chunks/{location-services-y66q23bf.js → job-qd99pqrw.js} +15 -15
- package/dist/chunks/{location-services-57hexvt2.js → job-qfpany67.js} +29 -29
- package/dist/chunks/{location-services-06gdz5re.js → job-qfvxyfmv.js} +21 -21
- package/dist/chunks/{location-services-h2zn2r51.js → job-qjv8dy0k.js} +4 -4
- package/dist/chunks/{location-services-qp7r0hxv.js → job-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-services-8zknyrh4.js → job-qrf1hyfb.js} +10 -10
- package/dist/chunks/{location-services-wfdx5ztx.js → job-qsdghx1p.js} +4 -4
- package/dist/chunks/{location-services-fyfzbt3s.js → job-qtf35215.js} +3 -3
- package/dist/chunks/{location-services-2jvs10sm.js → job-r2v8mcqb.js} +5 -5
- package/dist/chunks/{location-services-567596kv.js → job-r7mx2059.js} +19 -19
- package/dist/chunks/{location-services-p32hhzbk.js → job-r968s0rb.js} +7 -7
- package/dist/chunks/{location-services-tx91wa5k.js → job-r96ere88.js} +4 -4
- package/dist/chunks/{location-services-8rhxnahr.js → job-ra7p7501.js} +7 -7
- package/dist/chunks/{location-services-rb9dy4dg.js → job-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-services-ghckvrg0.js → job-reqe8rfv.js} +25 -25
- package/dist/chunks/{location-services-rgc9cx3e.js → job-rgc9cx3e.js} +2 -2
- package/dist/chunks/{location-services-nswamck1.js → job-rggag59n.js} +5 -5
- package/dist/chunks/{location-services-aaybcdk7.js → job-rmgntj4z.js} +11 -11
- package/dist/chunks/{location-services-z6qjrsxc.js → job-rr9v8qwt.js} +13 -13
- package/dist/chunks/{location-services-rt5dr6hb.js → job-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-services-24han2b5.js → job-ry0aa9ee.js} +52 -52
- package/dist/chunks/{location-services-ek05gm53.js → job-s5dwqe97.js} +31 -31
- package/dist/chunks/{location-services-sbya78hr.js → job-sbya78hr.js} +1 -1
- package/dist/chunks/{location-services-6wjndty1.js → job-sfem51c5.js} +18 -18
- package/dist/chunks/{location-services-sqjzf8x2.js → job-sqjzf8x2.js} +1 -1
- package/dist/chunks/{location-services-gncemv6d.js → job-sqtwqbeh.js} +12 -12
- package/dist/chunks/{location-services-1rfapbvb.js → job-sswv9qa9.js} +13 -13
- package/dist/chunks/{location-services-t2ysygqw.js → job-sv58r2zt.js} +28 -28
- package/dist/chunks/{location-services-svcy3p9a.js → job-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-services-9rqfe4ad.js → job-t48jrnqq.js} +3 -3
- package/dist/chunks/job-t523rrrb.js +26 -0
- package/dist/chunks/{location-services-r8h0t1w2.js → job-t5pn4vw6.js} +7 -7
- package/dist/chunks/{location-services-n3j33rb6.js → job-t62dywgn.js} +4 -4
- package/dist/chunks/{location-services-tbpn7jtk.js → job-tbpn7jtk.js} +1 -1
- package/dist/chunks/{location-services-tczq8hjw.js → job-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-services-f3kdy67z.js → job-tjhktz65.js} +29 -29
- package/dist/chunks/{location-services-7xf080vp.js → job-tjj8826m.js} +29 -29
- package/dist/chunks/{location-services-y7n6mfpt.js → job-tnr6aynw.js} +58 -58
- package/dist/chunks/{location-services-j376ae4e.js → job-tr8x705m.js} +5 -5
- package/dist/chunks/{location-services-tvtps2q9.js → job-tvtps2q9.js} +1 -1
- package/dist/chunks/{location-services-twssxy5n.js → job-twssxy5n.js} +2 -2
- package/dist/chunks/{location-services-g3x8pyyq.js → job-txn3rjy6.js} +6 -6
- package/dist/chunks/{location-services-tz8eqr11.js → job-tz8eqr11.js} +2 -2
- package/dist/chunks/{location-services-yfmjk2nz.js → job-v1nyay4k.js} +10 -10
- package/dist/chunks/{location-services-v2r1d0zg.js → job-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-services-vjf35v1f.js → job-vjf35v1f.js} +1 -1
- package/dist/chunks/{location-services-9db2vg26.js → job-vp2zkqmg.js} +37 -37
- package/dist/chunks/{location-services-vt4r9rmy.js → job-vt4r9rmy.js} +2 -2
- package/dist/chunks/{location-services-p7qcaf5b.js → job-w032t8yd.js} +11 -11
- package/dist/chunks/{location-services-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-9q8g9sv8.js → job-w79nt68w.js} +4 -4
- package/dist/chunks/{location-services-wakvkjy4.js → job-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-services-g5gdmhh6.js → job-wbhme62q.js} +21 -21
- package/dist/chunks/{location-services-wd87259q.js → job-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-nxqh83cm.js → job-wfq8trx9.js} +27 -27
- package/dist/chunks/{location-services-sqqp85ca.js → job-wp0jzfxn.js} +10 -10
- package/dist/chunks/{location-services-z0c26qk4.js → job-x150ncgg.js} +2 -2
- package/dist/chunks/{location-services-68hs0k9s.js → job-x1fn6jqn.js} +31 -31
- package/dist/chunks/{location-services-aeg6pysx.js → job-x1v3mtmz.js} +11 -11
- package/dist/chunks/{location-services-q4e77hz1.js → job-x3x05f0f.js} +18 -18
- package/dist/chunks/{location-services-e4a27gkz.js → job-x8q2jyxe.js} +28 -28
- package/dist/chunks/{location-services-r17fbvme.js → job-xacrkbdt.js} +4 -4
- package/dist/chunks/{location-services-75ebkg3j.js → job-xb4rv1dn.js} +194 -194
- package/dist/chunks/{location-services-43dkd884.js → job-xe5s1vjx.js} +11 -11
- package/dist/chunks/{location-services-et0e1evp.js → job-xekd43ht.js} +6 -6
- package/dist/chunks/{location-services-xjr6c8m4.js → job-xjr6c8m4.js} +1 -1
- package/dist/chunks/{location-services-p8hhbr1v.js → job-xk7ykez1.js} +23 -23
- package/dist/chunks/{location-services-xksw6ev0.js → job-xksw6ev0.js} +1 -1
- package/dist/chunks/{location-services-kj76qnrb.js → job-xnsgptj7.js} +2 -2
- package/dist/chunks/{location-services-sx0w8rs7.js → job-xqtyfpm8.js} +12 -12
- package/dist/chunks/{location-services-55dthnq9.js → job-xvnsr0ax.js} +12 -12
- package/dist/chunks/{location-services-fwzf50ze.js → job-xxqxw64f.js} +59 -59
- package/dist/chunks/{location-services-xxdnanm7.js → job-y7pdxv6f.js} +19 -19
- package/dist/chunks/{location-services-zjrfncxe.js → job-y98ntqs1.js} +79 -79
- package/dist/chunks/{location-services-ejpxyj8k.js → job-y9apzmy8.js} +11 -11
- package/dist/chunks/{location-services-yb20nhc3.js → job-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-services-3g6amnkk.js → job-yf0tmnpd.js} +1 -1
- package/dist/chunks/{location-services-m9xxttth.js → job-yhn1ytbx.js} +4 -4
- package/dist/chunks/{location-services-m8zx2yvr.js → job-yk4ram99.js} +3 -3
- package/dist/chunks/{location-services-azn13hyn.js → job-ynm1gqch.js} +12 -12
- package/dist/chunks/{location-services-yr705xyq.js → job-yr705xyq.js} +1 -1
- package/dist/chunks/{location-services-95ag31st.js → job-yrmm06py.js} +15 -15
- package/dist/chunks/{location-services-7r3f8kp7.js → job-ys9nqdkd.js} +9 -9
- package/dist/chunks/{location-services-2sk6hk3v.js → job-ysb1hsty.js} +39 -39
- package/dist/chunks/job-ytaewhqz.js +577 -0
- package/dist/chunks/{location-services-yvtc2x31.js → job-yvtc2x31.js} +1 -1
- package/dist/chunks/{location-services-wbwnvjw7.js → job-ywz04p9a.js} +45 -45
- package/dist/chunks/{location-services-yrpsd8ep.js → job-z0hnzwwy.js} +12 -12
- package/dist/chunks/{location-services-tzcbr6cy.js → job-z28rgcsc.js} +11 -11
- package/dist/chunks/{location-services-przvah75.js → job-z6h260aa.js} +13 -13
- package/dist/chunks/{location-services-47k3myws.js → job-z8w4dhtj.js} +80 -80
- package/dist/chunks/{location-services-ze75qvmd.js → job-ze75qvmd.js} +3 -3
- package/dist/chunks/{location-services-spge2s6b.js → job-zf0dneg2.js} +20 -20
- package/dist/chunks/{location-services-cpj4vd2a.js → job-zfzykcwe.js} +20 -20
- package/dist/chunks/{location-services-jjzwh8sv.js → job-zjygvxkj.js} +12 -12
- package/dist/chunks/{location-services-m764bqcb.js → job-zmf3apxt.js} +12 -12
- package/dist/chunks/{location-services-zpdbqgja.js → job-zpdbqgja.js} +1 -1
- package/dist/chunks/{location-services-4nzmwxgf.js → job-zpyavcpt.js} +3 -3
- package/dist/chunks/{location-services-3wy79f45.js → job-zq96bstz.js} +8 -8
- package/dist/chunks/{location-services-wp5pv6d7.js → job-zwg9k01d.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- 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 +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +109 -109
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -110
- package/dist/flag.js +133 -133
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +11 -11
- 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 +104 -104
- 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/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 +432 -432
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +185 -185
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +4 -4
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -416
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +255 -255
- 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 +105 -105
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +251 -251
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- 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 +250 -250
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +250 -250
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- 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 +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +154 -154
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +116 -116
- 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/usage-limits.js +100 -100
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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 +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/location-services-0t4nwps0.js +0 -16
- package/dist/chunks/location-services-8x060fmy.js +0 -18
- package/dist/chunks/location-services-d3jdhg57.js +0 -577
- package/dist/chunks/location-services-hqeqqmh6.js +0 -26
- package/dist/chunks/location-services-jwc600br.js +0 -273
- /package/dist/chunks/{location-services-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → job-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-108x4f4w.js → job-108x4f4w.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → job-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → job-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kah00gy.js → job-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → job-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → job-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2bv980vf.js → job-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → job-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3af0jn4w.js → job-3af0jn4w.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → job-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → job-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → job-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → job-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → job-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4qk9sjk2.js → job-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → job-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → job-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → job-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5w3e23ze.js → job-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-services-6agm2x70.js → job-6agm2x70.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → job-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → job-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → job-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → job-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → job-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-84wd9syh.js → job-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → job-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → job-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → job-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → job-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → job-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → job-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → job-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-beh6qq61.js → job-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-services-bhmrqjy3.js → job-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → job-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cqv5kn06.js → job-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → job-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → job-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → job-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → job-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → job-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-ean2d8b5.js → job-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → job-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → job-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → job-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → job-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → job-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fkpq3x5p.js → job-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → job-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → job-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → job-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → job-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hcxmzztb.js → job-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → job-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → job-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → job-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jwr30sdr.js → job-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-m18g726c.js → job-m18g726c.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → job-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → job-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → job-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → job-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-nh4v3znn.js → job-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → job-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-p71gwv9c.js → job-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → job-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → job-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → job-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → job-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → job-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → job-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → job-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-syrav9an.js → job-syrav9an.js} +0 -0
- /package/dist/chunks/{location-services-t03h4f5z.js → job-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-services-ty7weeps.js → job-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-services-ve7vex1e.js → job-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-services-vtarvj67.js → job-vtarvj67.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → job-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → job-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → job-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → job-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x4th4bpe.js → job-x4th4bpe.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → job-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → job-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → job-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-z0h12gs8.js → job-z0h12gs8.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → job-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → job-z9919s4g.js} +0 -0
- /package/dist/chunks/{location-services-zxpyjp51.js → job-zxpyjp51.js} +0 -0
- /package/dist/chunks/{location-services-zz5vv3aq.js → job-zz5vv3aq.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service94,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./job-cevzq8fg.js";
|
|
8
|
+
import {
|
|
9
|
+
Service91,
|
|
10
|
+
node93
|
|
11
|
+
} from "./job-a8x4srn0.js";
|
|
8
12
|
import {
|
|
9
13
|
Service93,
|
|
10
14
|
node95
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service84,
|
|
14
|
-
node85
|
|
15
|
-
} from "./location-services-55dthnq9.js";
|
|
15
|
+
} from "./job-xvnsr0ax.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./job-kp2338hr.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./job-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./job-7qrph824.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./job-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./job-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service90,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node92,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service90 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service93;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service91;
|
|
120
120
|
const db = (yield* Service94).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service90.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service90,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node93, node96, FSUtil.node, node95, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node92 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service90;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node92]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service90, configured12, node92, sweepNode2, exports_project };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service91,
|
|
3
|
+
node93
|
|
4
|
+
} from "./job-a8x4srn0.js";
|
|
1
5
|
import {
|
|
2
6
|
Service93,
|
|
3
7
|
node95
|
|
4
|
-
} from "./
|
|
8
|
+
} from "./job-xvnsr0ax.js";
|
|
5
9
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
10
|
+
Service89,
|
|
11
|
+
node91
|
|
12
|
+
} from "./job-n81r3968.js";
|
|
9
13
|
import {
|
|
10
14
|
Service82,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service77,
|
|
15
|
-
node78
|
|
16
|
-
} from "./location-services-my1apsf8.js";
|
|
15
|
+
node84
|
|
16
|
+
} from "./job-5azf7efg.js";
|
|
17
17
|
import {
|
|
18
18
|
awaitActivation2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-2dkjcnxp.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node25
|
|
22
|
+
} from "./job-kpcw4jmy.js";
|
|
23
23
|
import {
|
|
24
24
|
Service12,
|
|
25
25
|
node14
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./job-vt4r9rmy.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service5,
|
|
36
|
+
node: () => node6
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service89;
|
|
47
|
+
const watcher = yield* Service82;
|
|
48
|
+
const bus = yield* Service91;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service93;
|
|
51
51
|
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service5.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node6 = makeLocationNode({
|
|
106
|
+
service: Service5,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node84, FSUtil.node, node91, node95, node93, node25, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service5, node6, exports_location_watcher };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-hnktkp4a.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-xk7ykez1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID18,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-mh5f0dyq.js";
|
|
11
11
|
import {
|
|
12
12
|
success2,
|
|
13
13
|
error2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./job-yb20nhc3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID17,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./job-bvcm9a6c.js";
|
|
20
20
|
import {
|
|
21
21
|
get5
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./job-3nnrz6f6.js";
|
|
23
23
|
import {
|
|
24
24
|
configuredSettings2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./job-xekd43ht.js";
|
|
26
26
|
import {
|
|
27
27
|
onSwitch2,
|
|
28
28
|
reloadIfChanged2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./job-6wd058an.js";
|
|
30
30
|
import {
|
|
31
31
|
activeCredential2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./job-73s8wcwr.js";
|
|
33
33
|
|
|
34
34
|
// src/plugin/provider/openai.ts
|
|
35
35
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,7 +53,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
53
53
|
}));
|
|
54
54
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
55
55
|
var browser = (app) => ({
|
|
56
|
-
integrationID:
|
|
56
|
+
integrationID: ID18.make("openai"),
|
|
57
57
|
method: {
|
|
58
58
|
id: browserMethodID,
|
|
59
59
|
type: "oauth",
|
|
@@ -126,7 +126,7 @@ function addressInUse(error) {
|
|
|
126
126
|
return "code" in error && error.code === "EADDRINUSE";
|
|
127
127
|
}
|
|
128
128
|
var headless = (app) => ({
|
|
129
|
-
integrationID:
|
|
129
|
+
integrationID: ID18.make("openai"),
|
|
130
130
|
method: {
|
|
131
131
|
id: headlessMethodID,
|
|
132
132
|
type: "oauth",
|
|
@@ -184,9 +184,9 @@ var OpenAIPlugin3 = define({
|
|
|
184
184
|
editor.method.update(headless(ctx.app));
|
|
185
185
|
});
|
|
186
186
|
yield* load();
|
|
187
|
-
const configured = yield* configuredSettings2(
|
|
187
|
+
const configured = yield* configuredSettings2(ID17.openai);
|
|
188
188
|
yield* ctx.provider.transform((providers) => {
|
|
189
|
-
const item = providers.get(
|
|
189
|
+
const item = providers.get(ID17.openai);
|
|
190
190
|
if (!item)
|
|
191
191
|
return;
|
|
192
192
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -206,7 +206,7 @@ var OpenAIPlugin3 = define({
|
|
|
206
206
|
});
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.model.transform((models) => {
|
|
209
|
-
for (const model of models.list(
|
|
209
|
+
for (const model of models.list(ID17.openai)) {
|
|
210
210
|
models.update(model.providerID, model.id, (draft) => {
|
|
211
211
|
if (!chatgpt)
|
|
212
212
|
return;
|
|
@@ -243,12 +243,12 @@ var OpenAIPlugin3 = define({
|
|
|
243
243
|
}));
|
|
244
244
|
evt.headers.originator = "opencode";
|
|
245
245
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID17.openai });
|
|
247
247
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
248
248
|
delete evt.options.maxTokens;
|
|
249
249
|
});
|
|
250
250
|
for (const name of ["context", "compaction"])
|
|
251
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
251
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID17.openai });
|
|
252
252
|
yield* onSwitch2("openai", loading.withPermit(reloadIfChanged2(load(), ctx.provider.reload())));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service91
|
|
3
|
+
} from "./job-a8x4srn0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
Event15
|
|
7
|
+
} from "./job-f39dh122.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin19,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin19 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service91;
|
|
24
|
+
const wellknown = yield* Service83;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin54 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin19, exports_plugin };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./job-hnktkp4a.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./job-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./job-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
12
|
register2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./job-xjr6c8m4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./job-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/websearch/tinyfish.ts
|
|
19
19
|
var exports_tinyfish = {};
|
|
20
20
|
__export(exports_tinyfish, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin5,
|
|
22
22
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
23
|
-
endpoint: () =>
|
|
23
|
+
endpoint: () => endpoint5
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
27
27
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
28
|
-
var
|
|
28
|
+
var endpoint5 = "https://agent.tinyfish.ai/mcp";
|
|
29
29
|
var McpInput = Schema.Struct({
|
|
30
30
|
query: Schema.String
|
|
31
31
|
});
|
|
@@ -54,7 +54,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
54
54
|
jsonrpc: Schema.Literal("2.0"),
|
|
55
55
|
method: Schema.Literal("notifications/initialized")
|
|
56
56
|
});
|
|
57
|
-
var
|
|
57
|
+
var Plugin5 = define({
|
|
58
58
|
id: "opencode.websearch.tinyfish",
|
|
59
59
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
60
60
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -68,7 +68,7 @@ var Plugin8 = define({
|
|
|
68
68
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
69
69
|
};
|
|
70
70
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
71
|
-
const result = yield* call2(http,
|
|
71
|
+
const result = yield* call2(http, endpoint5, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
72
72
|
const content = result?.content.find((item) => item.text);
|
|
73
73
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
74
74
|
return response?.results.map((item) => ({
|
|
@@ -83,7 +83,7 @@ var Plugin8 = define({
|
|
|
83
83
|
});
|
|
84
84
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
85
85
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
86
|
-
const request = yield* HttpClientRequest.post(
|
|
86
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
87
87
|
jsonrpc: "2.0",
|
|
88
88
|
id: 1,
|
|
89
89
|
method: "initialize",
|
|
@@ -98,7 +98,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
98
98
|
const session = response.headers["mcp-session-id"];
|
|
99
99
|
if (session === undefined)
|
|
100
100
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
101
|
-
const notification = yield* HttpClientRequest.post(
|
|
101
|
+
const notification = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
102
102
|
jsonrpc: "2.0",
|
|
103
103
|
method: "notifications/initialized"
|
|
104
104
|
}));
|
|
@@ -109,4 +109,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
110
110
|
}));
|
|
111
111
|
|
|
112
|
-
export {
|
|
112
|
+
export { endpoint5, Plugin5, exports_tinyfish };
|