@opencode/core 0.0.0-dev-1169 → 0.0.0-dev-1176
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 +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +245 -245
- package/dist/bus.js +80 -80
- package/dist/chunks/managed-policy-00ve6mdn.js +18 -0
- package/dist/chunks/{schema-aj7mw0zk.js → managed-policy-034tev2y.js} +2 -2
- package/dist/chunks/{schema-94e33dpz.js → managed-policy-04qc8z7j.js} +3 -3
- package/dist/chunks/{schema-3adw4bt5.js → managed-policy-04whjz6n.js} +9 -9
- package/dist/chunks/{schema-0ahs07zn.js → managed-policy-0ahs07zn.js} +1 -1
- package/dist/chunks/{schema-0j7gp832.js → managed-policy-0j7gp832.js} +1 -1
- package/dist/chunks/{schema-0ma9gw4f.js → managed-policy-0ma9gw4f.js} +2 -2
- package/dist/chunks/{schema-3n8639p5.js → managed-policy-0n4v3tp6.js} +23 -23
- package/dist/chunks/{schema-qr8vfs2f.js → managed-policy-0q9ccpwk.js} +34 -34
- package/dist/chunks/{schema-h5gm5jf1.js → managed-policy-0qh3s10f.js} +7 -7
- package/dist/chunks/{schema-6a3nme33.js → managed-policy-14ne0b02.js} +12 -12
- package/dist/chunks/{schema-0khwxjqg.js → managed-policy-14r7kh9a.js} +7 -7
- package/dist/chunks/{schema-jg2ygqjd.js → managed-policy-17brhj5q.js} +10 -10
- package/dist/chunks/{schema-jpg972ga.js → managed-policy-18yrttjy.js} +5 -5
- package/dist/chunks/{schema-7tf6362t.js → managed-policy-19vsrbhp.js} +49 -49
- package/dist/chunks/{schema-1aqsckx4.js → managed-policy-1aqsckx4.js} +1 -1
- package/dist/chunks/{schema-qfbkhxhn.js → managed-policy-1d6zaada.js} +4 -4
- package/dist/chunks/{schema-27w5k9zf.js → managed-policy-1ep2p91f.js} +2 -2
- package/dist/chunks/{schema-ph6zr0my.js → managed-policy-1n4k7kcs.js} +15 -15
- package/dist/chunks/{schema-0dpgc71n.js → managed-policy-1qqg4aba.js} +11 -11
- package/dist/chunks/{schema-msd2a3qm.js → managed-policy-1v2g13eq.js} +4 -4
- package/dist/chunks/{schema-1x2knyw4.js → managed-policy-1x2knyw4.js} +1 -1
- package/dist/chunks/{schema-1yq9hg58.js → managed-policy-1yq9hg58.js} +1 -1
- package/dist/chunks/{schema-229tvxdn.js → managed-policy-229tvxdn.js} +1 -1
- package/dist/chunks/{schema-s1xc4ekk.js → managed-policy-2dq8jpdd.js} +11 -11
- package/dist/chunks/{schema-xznbj9qp.js → managed-policy-2e54a7fd.js} +25 -25
- package/dist/chunks/{schema-2fc7eemy.js → managed-policy-2fc7eemy.js} +1 -1
- package/dist/chunks/{schema-g44npge0.js → managed-policy-2hqtkkwk.js} +25 -25
- package/dist/chunks/{schema-cb9p0hr3.js → managed-policy-2j221ayx.js} +5 -5
- package/dist/chunks/{schema-2p60zmnr.js → managed-policy-2p60zmnr.js} +2 -2
- package/dist/chunks/{schema-2m6srr37.js → managed-policy-2pwqtfxg.js} +16 -16
- package/dist/chunks/{schema-1zt50wep.js → managed-policy-2xjdvcsh.js} +13 -13
- package/dist/chunks/{schema-y682mywm.js → managed-policy-3159rttq.js} +10 -10
- package/dist/chunks/{schema-4w9c1rv8.js → managed-policy-32f81rdk.js} +84 -84
- package/dist/chunks/{schema-7w972mxx.js → managed-policy-36c6gkzj.js} +28 -28
- package/dist/chunks/{schema-bq0ysetc.js → managed-policy-3bn1a0cp.js} +14 -14
- package/dist/chunks/{schema-87g0g3vw.js → managed-policy-3ehm1etg.js} +45 -45
- package/dist/chunks/{schema-3hepkmqq.js → managed-policy-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-essv7e64.js → managed-policy-3jpxq73y.js} +8 -8
- package/dist/chunks/{schema-3nnrz6f6.js → managed-policy-3nnrz6f6.js} +1 -1
- package/dist/chunks/{schema-wgtjsce3.js → managed-policy-3prnq3y3.js} +2 -2
- package/dist/chunks/{schema-34nzn3j8.js → managed-policy-3qdp2by3.js} +21 -21
- package/dist/chunks/{schema-87kxp3gn.js → managed-policy-3qevzq3v.js} +11 -11
- package/dist/chunks/{schema-1p6p0791.js → managed-policy-3sz8pzby.js} +10 -10
- package/dist/chunks/{schema-n5k4x34p.js → managed-policy-3zwzyjcn.js} +58 -58
- package/dist/chunks/{schema-40y6dtc2.js → managed-policy-40y6dtc2.js} +1 -1
- package/dist/chunks/{schema-w2eysc6j.js → managed-policy-40za9wsf.js} +9 -9
- package/dist/chunks/{schema-vgp39c3q.js → managed-policy-41tqrcfe.js} +21 -21
- package/dist/chunks/{schema-44pmzq9c.js → managed-policy-44pmzq9c.js} +2 -2
- package/dist/chunks/{schema-wrfejyj7.js → managed-policy-4aasaa3r.js} +11 -11
- package/dist/chunks/{schema-4dx1dgte.js → managed-policy-4dx1dgte.js} +1 -1
- package/dist/chunks/{schema-4f25tdd0.js → managed-policy-4f25tdd0.js} +1 -1
- package/dist/chunks/{schema-5c0ay57s.js → managed-policy-4gmbvmjy.js} +4 -4
- package/dist/chunks/{schema-wjt8g24f.js → managed-policy-4jb1jkpg.js} +40 -40
- package/dist/chunks/{schema-2s709x84.js → managed-policy-4medx3yc.js} +8 -8
- package/dist/chunks/{schema-4pyp9zr9.js → managed-policy-4pyp9zr9.js} +1 -1
- package/dist/chunks/{schema-jxw3nqfr.js → managed-policy-4qrwckg7.js} +8 -8
- package/dist/chunks/{schema-swtby07c.js → managed-policy-4tdqh39k.js} +4 -4
- package/dist/chunks/{schema-4v008n1t.js → managed-policy-4v008n1t.js} +1 -1
- package/dist/chunks/{schema-nstbetgn.js → managed-policy-4xjdjntw.js} +8 -8
- package/dist/chunks/{schema-etrnj9s7.js → managed-policy-4ygb74tw.js} +8 -8
- package/dist/chunks/{schema-2gpvmrfd.js → managed-policy-504err3w.js} +42 -42
- package/dist/chunks/{schema-r6ar04y2.js → managed-policy-54fz0c3v.js} +26 -26
- package/dist/chunks/{schema-q4bddqzm.js → managed-policy-566d9wp2.js} +14 -14
- package/dist/chunks/{schema-zded71tf.js → managed-policy-5azf7efg.js} +18 -18
- package/dist/chunks/{schema-xfk334w4.js → managed-policy-5dnztkma.js} +5 -5
- package/dist/chunks/{schema-ync0ket7.js → managed-policy-5e32hw72.js} +5 -5
- package/dist/chunks/{schema-95zwqs5c.js → managed-policy-5kxkvdh4.js} +175 -175
- package/dist/chunks/{schema-dwwyec8z.js → managed-policy-5m6a7xby.js} +6 -6
- package/dist/chunks/{schema-5m9w47nd.js → managed-policy-5m9w47nd.js} +1 -1
- package/dist/chunks/{schema-41ta799d.js → managed-policy-5skvdtbd.js} +6 -6
- package/dist/chunks/{schema-pp2hmg1m.js → managed-policy-5th8cdt5.js} +7 -7
- package/dist/chunks/{schema-5whx36p1.js → managed-policy-5whx36p1.js} +1 -1
- package/dist/chunks/{schema-pmpycxtw.js → managed-policy-61arn5c7.js} +14 -14
- package/dist/chunks/{schema-pj4g6jw6.js → managed-policy-61prxpw3.js} +9 -9
- package/dist/chunks/{schema-y3p3hzkr.js → managed-policy-61qraad9.js} +5 -5
- package/dist/chunks/{schema-yts2a8qm.js → managed-policy-67wwskyb.js} +4 -4
- package/dist/chunks/{schema-ca2kttj4.js → managed-policy-7059y97f.js} +6 -6
- package/dist/chunks/{schema-054zc0xd.js → managed-policy-71464zye.js} +15 -15
- package/dist/chunks/{schema-f0wpasqh.js → managed-policy-736edeen.js} +16 -16
- package/dist/chunks/{schema-bfmj02kq.js → managed-policy-737pj6a8.js} +16 -16
- package/dist/chunks/{schema-4m48desf.js → managed-policy-75w7zjfj.js} +23 -23
- package/dist/chunks/{schema-775hqbnd.js → managed-policy-775hqbnd.js} +3 -3
- package/dist/chunks/{schema-7bmhse3q.js → managed-policy-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-2hpjgcj7.js → managed-policy-7dz28h11.js} +17 -17
- package/dist/chunks/{schema-x150ncgg.js → managed-policy-7h7tvtg0.js} +2 -2
- package/dist/chunks/{schema-7w2ypzdf.js → managed-policy-7w2ypzdf.js} +1 -1
- package/dist/chunks/{schema-7weczvnd.js → managed-policy-7weczvnd.js} +1 -1
- package/dist/chunks/{schema-80pdk984.js → managed-policy-80pdk984.js} +1 -1
- package/dist/chunks/{schema-85jq8dht.js → managed-policy-85jq8dht.js} +1 -1
- package/dist/chunks/{schema-e36kjsvh.js → managed-policy-87cmn56m.js} +6 -6
- package/dist/chunks/{schema-92mnqtsa.js → managed-policy-87ns289x.js} +14 -14
- package/dist/chunks/{schema-sgmpg1at.js → managed-policy-88aqegeb.js} +15 -15
- package/dist/chunks/{schema-8b3vzgkx.js → managed-policy-8b3vzgkx.js} +1 -1
- package/dist/chunks/{schema-fb3jq07n.js → managed-policy-8e1tzxj0.js} +4 -4
- package/dist/chunks/{schema-egv7nm33.js → managed-policy-8fm7pyqw.js} +24 -24
- package/dist/chunks/{schema-8jv95stc.js → managed-policy-8fq2hpvp.js} +3 -3
- package/dist/chunks/{schema-8kjyvwy5.js → managed-policy-8kjyvwy5.js} +1 -1
- package/dist/chunks/{schema-4zcepfyr.js → managed-policy-8rapdqzr.js} +4 -4
- package/dist/chunks/{schema-zk8ezkjv.js → managed-policy-8rr0daw4.js} +12 -12
- package/dist/chunks/{schema-bb3mmwvh.js → managed-policy-8sxe6kv8.js} +2 -2
- package/dist/chunks/{schema-8wtp7s3z.js → managed-policy-8wtp7s3z.js} +1 -1
- package/dist/chunks/{schema-8zv0xmg5.js → managed-policy-8zv0xmg5.js} +1 -1
- package/dist/chunks/{schema-sf9y72b7.js → managed-policy-90ct6wq4.js} +4 -4
- package/dist/chunks/{schema-gy85zcy8.js → managed-policy-917f4zz3.js} +28 -21
- package/dist/chunks/managed-policy-93d9147c.js +26 -0
- package/dist/chunks/{schema-m8071f4b.js → managed-policy-99zcbwta.js} +1 -1
- package/dist/chunks/{schema-pkdvs1r0.js → managed-policy-9hwwyxc5.js} +7 -7
- package/dist/chunks/{schema-yj5p50qd.js → managed-policy-9kjpn89n.js} +5 -5
- package/dist/chunks/{schema-vtkvgxem.js → managed-policy-9mzdsb4v.js} +16 -16
- package/dist/chunks/{schema-7xwq3sd0.js → managed-policy-9pgwxk4e.js} +8 -8
- package/dist/chunks/{schema-8akjpyn6.js → managed-policy-9rqfe4ad.js} +3 -3
- package/dist/chunks/{schema-ym2hf25x.js → managed-policy-9sd1e23a.js} +11 -11
- package/dist/chunks/{schema-9sk33afj.js → managed-policy-a0f8fvmt.js} +2 -2
- package/dist/chunks/{schema-6c25bs39.js → managed-policy-a2vmqeha.js} +24 -24
- package/dist/chunks/{schema-980raww3.js → managed-policy-a4y2x12b.js} +14 -14
- package/dist/chunks/{schema-9nh708zh.js → managed-policy-aa5j5f48.js} +6 -6
- package/dist/chunks/{schema-3ew67rpx.js → managed-policy-aapf7km7.js} +28 -28
- package/dist/chunks/{schema-pstexa60.js → managed-policy-abzx2f88.js} +11 -11
- package/dist/chunks/{schema-yhy601mr.js → managed-policy-aeqcr3at.js} +11 -11
- package/dist/chunks/{schema-6y2b864j.js → managed-policy-agje4kmn.js} +4 -4
- package/dist/chunks/{schema-1awa9fg3.js → managed-policy-akgbykff.js} +9 -9
- package/dist/chunks/{schema-3cbjf1nt.js → managed-policy-ayjs7tqn.js} +2 -2
- package/dist/chunks/{schema-9zf7nxcy.js → managed-policy-az0xcthh.js} +10 -10
- package/dist/chunks/{schema-n320gsn2.js → managed-policy-azqdag7d.js} +4 -4
- package/dist/chunks/{schema-b26ddj6h.js → managed-policy-b26ddj6h.js} +4 -4
- package/dist/chunks/{schema-y5ken5vs.js → managed-policy-b2ny5vdh.js} +7 -7
- package/dist/chunks/{schema-ksd47y91.js → managed-policy-b52axs6a.js} +16 -16
- package/dist/chunks/{schema-b6cq1fvz.js → managed-policy-b6cq1fvz.js} +1 -1
- package/dist/chunks/{schema-9rtfsky6.js → managed-policy-baxz9x2w.js} +36 -36
- package/dist/chunks/{schema-jh3vmqnb.js → managed-policy-bedj42ph.js} +103 -91
- package/dist/chunks/{schema-s5jhzpr9.js → managed-policy-bf194fdb.js} +31 -31
- package/dist/chunks/{schema-2p7ww4m4.js → managed-policy-bm1dqhsx.js} +37 -37
- package/dist/chunks/{schema-bstexjd6.js → managed-policy-bstexjd6.js} +1 -1
- package/dist/chunks/{schema-hagqs1d2.js → managed-policy-bys7mz4e.js} +25 -25
- package/dist/chunks/{schema-c7cw818c.js → managed-policy-c7cw818c.js} +2 -2
- package/dist/chunks/{schema-f6aj1kd5.js → managed-policy-c8rn8tqp.js} +17 -17
- package/dist/chunks/{schema-ns3f0y8s.js → managed-policy-cfn7jfkh.js} +12 -12
- package/dist/chunks/{schema-hw67g06k.js → managed-policy-cmvbpc3c.js} +36 -23
- package/dist/chunks/{schema-qjjf83ye.js → managed-policy-crgynfav.js} +6 -6
- package/dist/chunks/{schema-65g7jm80.js → managed-policy-cvpe1wtz.js} +18 -18
- package/dist/chunks/{schema-cwrgdav8.js → managed-policy-cwrgdav8.js} +2 -2
- package/dist/chunks/{schema-1wdt4fx4.js → managed-policy-d1rzw7vv.js} +8 -8
- package/dist/chunks/{schema-7zqxd1dh.js → managed-policy-d2xpnxwx.js} +8 -8
- package/dist/chunks/{schema-ntn2vp5r.js → managed-policy-d3x7t4g6.js} +20 -20
- package/dist/chunks/{schema-d4v9tmah.js → managed-policy-d4v9tmah.js} +2 -2
- package/dist/chunks/{schema-bb65ze16.js → managed-policy-d7qcj0s1.js} +3 -3
- package/dist/chunks/{schema-xh9sbx5d.js → managed-policy-dbbc1prh.js} +31 -31
- package/dist/chunks/{schema-nvrhh2jh.js → managed-policy-dbhswpce.js} +32 -32
- package/dist/chunks/{schema-sswnp1hr.js → managed-policy-deey2yxs.js} +16 -16
- package/dist/chunks/{schema-ns5s5x7n.js → managed-policy-dhjf93np.js} +10 -10
- package/dist/chunks/{schema-9hjrmeye.js → managed-policy-dqwh66mt.js} +8 -8
- package/dist/chunks/{schema-dt77769w.js → managed-policy-dt77769w.js} +1 -1
- package/dist/chunks/{schema-txgthtwa.js → managed-policy-e3zvwgkh.js} +12 -12
- package/dist/chunks/{schema-a6kay9xz.js → managed-policy-e6fganq9.js} +8 -8
- package/dist/chunks/{schema-7a2p64p0.js → managed-policy-e9sffee3.js} +20 -20
- package/dist/chunks/{schema-7357t78n.js → managed-policy-eegk99s1.js} +7 -7
- package/dist/chunks/{schema-5sq7dtyr.js → managed-policy-ekde5x0v.js} +3 -3
- package/dist/chunks/{schema-eqw4pqj1.js → managed-policy-eqw4pqj1.js} +2 -2
- package/dist/chunks/{schema-akbak9kn.js → managed-policy-ern4h4bg.js} +10 -10
- package/dist/chunks/{schema-yrzcpjjp.js → managed-policy-ewwwc402.js} +35 -35
- package/dist/chunks/{schema-bjnxymnv.js → managed-policy-ezqkn45m.js} +18 -18
- package/dist/chunks/{schema-cd40mm2x.js → managed-policy-f2d8g437.js} +23 -23
- package/dist/chunks/{schema-t2trxbvf.js → managed-policy-f7sqztva.js} +22 -22
- package/dist/chunks/{schema-s02m1st8.js → managed-policy-fb9e8ype.js} +22 -22
- package/dist/chunks/{schema-dnern54h.js → managed-policy-fdtp6zbm.js} +11 -11
- package/dist/chunks/{schema-mkqrt9r1.js → managed-policy-fj6sg7vf.js} +17 -17
- package/dist/chunks/{schema-v8vtkzra.js → managed-policy-fxvpe31e.js} +80 -80
- package/dist/chunks/{schema-e2sh8fdv.js → managed-policy-fzh6rmhg.js} +9 -9
- package/dist/chunks/{schema-wr3re1en.js → managed-policy-fznmdakp.js} +4 -4
- package/dist/chunks/{schema-7tfjg757.js → managed-policy-g0emztk7.js} +10 -10
- package/dist/chunks/{schema-83r2q2tc.js → managed-policy-g1xhd39b.js} +31 -31
- package/dist/chunks/{schema-djbn8b3v.js → managed-policy-g6wjear5.js} +23 -23
- package/dist/chunks/{schema-gbjdnr5j.js → managed-policy-gbjdnr5j.js} +2 -2
- package/dist/chunks/{schema-g2183vvk.js → managed-policy-gbtcfh3h.js} +3 -3
- package/dist/chunks/{schema-apvw9r81.js → managed-policy-gh4rz9wq.js} +13 -13
- package/dist/chunks/{schema-ghrv1g9c.js → managed-policy-ghrv1g9c.js} +1 -1
- package/dist/chunks/{schema-ba5f9dy2.js → managed-policy-gmemj5zs.js} +4 -4
- package/dist/chunks/{schema-894qcq1y.js → managed-policy-gn255ms0.js} +59 -59
- package/dist/chunks/{schema-e5q9zwm8.js → managed-policy-gqecbrnz.js} +12 -12
- package/dist/chunks/{schema-7afn9zz1.js → managed-policy-grn57sp2.js} +21 -21
- package/dist/chunks/{schema-ktck1cjp.js → managed-policy-gwyytpcj.js} +6 -6
- package/dist/chunks/{schema-nbbfmg35.js → managed-policy-gxjexynr.js} +10 -10
- package/dist/chunks/{schema-tg7s7b5t.js → managed-policy-gxs71cxp.js} +4 -4
- package/dist/chunks/{schema-626jn072.js → managed-policy-h38bxf65.js} +18 -18
- package/dist/chunks/{schema-zz0y7mj6.js → managed-policy-hby0wfj8.js} +16 -16
- package/dist/chunks/{schema-z583g8kc.js → managed-policy-hgdb2qgy.js} +4 -4
- package/dist/chunks/{schema-hgzwgvze.js → managed-policy-hgzwgvze.js} +2 -2
- package/dist/chunks/{schema-dsgstd3d.js → managed-policy-hkme93td.js} +13 -13
- package/dist/chunks/{schema-pwm9xzc0.js → managed-policy-hm50js14.js} +23 -23
- package/dist/chunks/{schema-hatv92we.js → managed-policy-hmaqzwne.js} +11 -11
- package/dist/chunks/{schema-93f9eha0.js → managed-policy-hnt0hajt.js} +28 -28
- package/dist/chunks/{schema-35jtqnzh.js → managed-policy-hte19jtr.js} +15 -15
- package/dist/chunks/{schema-jyqxtn40.js → managed-policy-htgft1v8.js} +13 -13
- package/dist/chunks/{schema-j9nxzz3g.js → managed-policy-j9nxzz3g.js} +3 -3
- package/dist/chunks/{schema-5n0rnk8e.js → managed-policy-jkdcm5hg.js} +4 -4
- package/dist/chunks/{schema-jm70asfg.js → managed-policy-jm70asfg.js} +1 -1
- package/dist/chunks/{schema-v1nrzbej.js → managed-policy-jpazxsff.js} +4 -4
- package/dist/chunks/{schema-j8exsrxy.js → managed-policy-js8fntwc.js} +21 -21
- package/dist/chunks/{schema-kny7n17h.js → managed-policy-jzas93d4.js} +56 -56
- package/dist/chunks/{schema-7y3w56wa.js → managed-policy-jzvkdys0.js} +5 -5
- package/dist/chunks/{schema-01h9qvbn.js → managed-policy-k0rzw4bv.js} +39 -39
- package/dist/chunks/{schema-cn0khwc2.js → managed-policy-k6658xpm.js} +16 -16
- package/dist/chunks/{schema-3gt03n7r.js → managed-policy-kak1h1en.js} +22 -22
- package/dist/chunks/{schema-37rq3n90.js → managed-policy-kbj4p06g.js} +26 -26
- package/dist/chunks/{schema-7mpsrzpa.js → managed-policy-kdzjy5n5.js} +12 -12
- package/dist/chunks/{schema-1fqa7gdp.js → managed-policy-kgdvprzc.js} +3 -3
- package/dist/chunks/{schema-0jfy4hkm.js → managed-policy-kj747fph.js} +11 -11
- package/dist/chunks/{schema-vmqe41cb.js → managed-policy-kj9n5bvh.js} +4 -4
- package/dist/chunks/{schema-h1wwt2d4.js → managed-policy-kp7wd0bq.js} +32 -32
- package/dist/chunks/{schema-kt3bjfbg.js → managed-policy-kt3bjfbg.js} +1 -1
- package/dist/chunks/{schema-4vhxd4fz.js → managed-policy-kwedd6y7.js} +2 -2
- package/dist/chunks/{schema-90kfgkgm.js → managed-policy-kx10shds.js} +13 -13
- package/dist/chunks/{schema-kzczzf4v.js → managed-policy-kzczzf4v.js} +1 -1
- package/dist/chunks/{schema-ep6pe98a.js → managed-policy-kzdam8c6.js} +7 -7
- package/dist/chunks/{schema-m1714858.js → managed-policy-m1714858.js} +1 -1
- package/dist/chunks/managed-policy-m6cfdtf3.js +16 -0
- package/dist/chunks/{schema-m90tx7mw.js → managed-policy-m90tx7mw.js} +1 -1
- package/dist/chunks/{schema-m9w0rfyh.js → managed-policy-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-8z6m94af.js → managed-policy-mb7mbhnz.js} +3 -3
- package/dist/chunks/{schema-pve6n1f6.js → managed-policy-mcs7tym4.js} +20 -20
- package/dist/chunks/{schema-qqan37dg.js → managed-policy-mcvgm5d1.js} +68 -58
- package/dist/chunks/{schema-mmk0jhxb.js → managed-policy-md64vpr2.js} +18 -18
- package/dist/chunks/{schema-w79nt68w.js → managed-policy-mf63ygpr.js} +4 -4
- package/dist/chunks/managed-policy-msgp399y.js +273 -0
- package/dist/chunks/{schema-n9g0jqka.js → managed-policy-mtgks8s8.js} +36 -36
- package/dist/chunks/{schema-6y4qc4mp.js → managed-policy-n29tdpgv.js} +9 -9
- package/dist/chunks/{schema-qrnbag0z.js → managed-policy-n36xr6fr.js} +27 -27
- package/dist/chunks/{schema-nd6a1rw0.js → managed-policy-nbt192gv.js} +3 -3
- package/dist/chunks/{schema-djejg4dy.js → managed-policy-nd2qx06s.js} +9 -9
- package/dist/chunks/{schema-ngrhmx0y.js → managed-policy-nfmjxpmy.js} +36 -36
- package/dist/chunks/{schema-xneeh6s4.js → managed-policy-nwk41dz9.js} +12 -12
- package/dist/chunks/{schema-zxxfjzbm.js → managed-policy-p5kdc5xt.js} +7 -7
- package/dist/chunks/{schema-p94p4v4n.js → managed-policy-p94p4v4n.js} +1 -1
- package/dist/chunks/{schema-jpaeaxj3.js → managed-policy-pf2r60mf.js} +10 -10
- package/dist/chunks/{schema-00pd6sp3.js → managed-policy-pfhj1ww4.js} +8 -8
- package/dist/chunks/{schema-fcha702q.js → managed-policy-pjb1qqe5.js} +11 -11
- package/dist/chunks/{schema-cqmt8zzz.js → managed-policy-pkeya241.js} +3 -3
- package/dist/chunks/{schema-pknna89w.js → managed-policy-pknna89w.js} +1 -1
- package/dist/chunks/{schema-eestr1ap.js → managed-policy-pn96yf9v.js} +13 -13
- package/dist/chunks/{schema-fg9p65nk.js → managed-policy-prq7xxp2.js} +6 -6
- package/dist/chunks/{schema-ar7qhdy9.js → managed-policy-pvq7fbw5.js} +16 -16
- package/dist/chunks/managed-policy-px3t2ftd.js +145 -0
- package/dist/chunks/{schema-s5pjjcby.js → managed-policy-q2kr2vsp.js} +9 -9
- package/dist/chunks/{schema-e4shjbcy.js → managed-policy-q83jkgb8.js} +19 -19
- package/dist/chunks/{schema-m98552er.js → managed-policy-qhzk11k3.js} +2 -2
- package/dist/chunks/{schema-bszd1e77.js → managed-policy-qp2996hh.js} +5 -5
- package/dist/chunks/{schema-qp7r0hxv.js → managed-policy-qp7r0hxv.js} +1 -1
- package/dist/chunks/{schema-pfgfzn9w.js → managed-policy-qy51s8ga.js} +18 -18
- package/dist/chunks/{schema-t9vhjqng.js → managed-policy-r0qswgas.js} +16 -16
- package/dist/chunks/{schema-7c8hwk2v.js → managed-policy-r9t83yvs.js} +12 -12
- package/dist/chunks/{schema-rb9dy4dg.js → managed-policy-rb9dy4dg.js} +1 -1
- package/dist/chunks/{schema-pet7zff3.js → managed-policy-rbpjx93x.js} +18 -18
- package/dist/chunks/{schema-ynq5d5wj.js → managed-policy-re8nqfsr.js} +23 -23
- package/dist/chunks/{schema-73tv2q91.js → managed-policy-rf3g3s9j.js} +8 -8
- package/dist/chunks/{schema-rgc9cx3e.js → managed-policy-rgc9cx3e.js} +2 -2
- package/dist/chunks/{schema-yve512cx.js → managed-policy-rts2h16h.js} +11 -11
- package/dist/chunks/{schema-ed7x67as.js → managed-policy-rxreb7qw.js} +3 -3
- package/dist/chunks/{schema-sbya78hr.js → managed-policy-sbya78hr.js} +1 -1
- package/dist/chunks/{schema-1yzf0qyg.js → managed-policy-sp0fm60h.js} +27 -27
- package/dist/chunks/{schema-gvah0j30.js → managed-policy-srqj00pf.js} +11 -11
- package/dist/chunks/managed-policy-ss6cpaky.js +34 -0
- package/dist/chunks/{schema-q0cx4jd1.js → managed-policy-ssvkegec.js} +11 -11
- package/dist/chunks/{schema-svcy3p9a.js → managed-policy-svcy3p9a.js} +1 -1
- package/dist/chunks/{schema-pmpqfy7z.js → managed-policy-sw1v4027.js} +30 -30
- package/dist/chunks/{schema-040bqqk0.js → managed-policy-swsrnhx9.js} +1 -1
- package/dist/chunks/{schema-ymfq94hg.js → managed-policy-syjn2q3n.js} +27 -27
- package/dist/chunks/{schema-pe69sqjx.js → managed-policy-t40dsfh2.js} +10 -9
- package/dist/chunks/{schema-7a9m1j2x.js → managed-policy-t66zw8cy.js} +11 -11
- package/dist/chunks/{schema-cce0647p.js → managed-policy-t7bmpwk1.js} +41 -41
- package/dist/chunks/{schema-hcnkffw2.js → managed-policy-t90tqbb8.js} +13 -13
- package/dist/chunks/{schema-x2199xg7.js → managed-policy-t970vys7.js} +30 -30
- package/dist/chunks/{schema-tbpn7jtk.js → managed-policy-tbpn7jtk.js} +1 -1
- package/dist/chunks/{schema-tczq8hjw.js → managed-policy-tczq8hjw.js} +1 -1
- package/dist/chunks/{schema-53m7ep8y.js → managed-policy-tf74dwz9.js} +27 -27
- package/dist/chunks/{schema-160yv0cs.js → managed-policy-tg1vr1qt.js} +8 -8
- package/dist/chunks/{schema-5cxze2ek.js → managed-policy-tjzbpmk8.js} +28 -28
- package/dist/chunks/{schema-tr8x705m.js → managed-policy-tr8x705m.js} +1 -1
- package/dist/chunks/{schema-kad56yks.js → managed-policy-tt2b1zet.js} +19 -19
- package/dist/chunks/{schema-tvtps2q9.js → managed-policy-tvtps2q9.js} +1 -1
- package/dist/chunks/{schema-twssxy5n.js → managed-policy-twssxy5n.js} +2 -2
- package/dist/chunks/{schema-3p57dcxh.js → managed-policy-tx91wa5k.js} +4 -4
- package/dist/chunks/{schema-7k5jmvhj.js → managed-policy-v15982qx.js} +21 -21
- package/dist/chunks/{schema-5xymd101.js → managed-policy-v193vv8d.js} +12 -12
- package/dist/chunks/{schema-v2r1d0zg.js → managed-policy-v2r1d0zg.js} +1 -1
- package/dist/chunks/{schema-12t8q5ww.js → managed-policy-v44438ka.js} +25 -25
- package/dist/chunks/{schema-vz5bqa0f.js → managed-policy-v58vw3nd.js} +12 -12
- package/dist/chunks/{schema-tqwq9s5x.js → managed-policy-v7a6wp1b.js} +35 -35
- package/dist/chunks/managed-policy-vcvn1dmq.js +457 -0
- package/dist/chunks/{schema-2tkbb2hd.js → managed-policy-vd24x1m3.js} +20 -20
- package/dist/chunks/{schema-fc93665r.js → managed-policy-vj50rhab.js} +8 -8
- package/dist/chunks/{schema-vjf35v1f.js → managed-policy-vjf35v1f.js} +1 -1
- package/dist/chunks/{schema-6h8vcvjm.js → managed-policy-vt4r9rmy.js} +9 -9
- package/dist/chunks/{schema-5zpqhmp2.js → managed-policy-vtdm4xhp.js} +6 -6
- package/dist/chunks/{schema-fq23ffp0.js → managed-policy-w1jxwwm3.js} +7 -7
- package/dist/chunks/{schema-32zvh7m8.js → managed-policy-w2bzgtxc.js} +36 -36
- package/dist/chunks/{schema-w3wsvvr9.js → managed-policy-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-gsm10rjf.js → managed-policy-w9sekh6e.js} +4 -4
- package/dist/chunks/{schema-s85z3cra.js → managed-policy-w9w8mt4n.js} +4 -4
- package/dist/chunks/{schema-wakvkjy4.js → managed-policy-wakvkjy4.js} +1 -1
- package/dist/chunks/{schema-p1tqk3wj.js → managed-policy-wc9gcr2d.js} +9 -9
- package/dist/chunks/{schema-wd87259q.js → managed-policy-wd87259q.js} +1 -1
- package/dist/chunks/{schema-nx4vzyjd.js → managed-policy-wegkxhrn.js} +2 -2
- package/dist/chunks/{schema-yyb7x4q2.js → managed-policy-wh0acyfy.js} +42 -42
- package/dist/chunks/{schema-t5zz07dm.js → managed-policy-wmcke0z9.js} +28 -28
- package/dist/chunks/{schema-j9x1g365.js → managed-policy-wp511exx.js} +27 -27
- package/dist/chunks/{schema-wvp6s5r8.js → managed-policy-wt6bvrra.js} +27 -27
- package/dist/chunks/{schema-ae2hmq0b.js → managed-policy-ww1xr49f.js} +32 -32
- package/dist/chunks/{schema-82t6hvvc.js → managed-policy-wyyn0w9x.js} +4 -4
- package/dist/chunks/{schema-0vb5mjcv.js → managed-policy-x030n322.js} +11 -11
- package/dist/chunks/{schema-55a1w20j.js → managed-policy-x0w594e0.js} +20 -20
- package/dist/chunks/{schema-r17fbvme.js → managed-policy-xacrkbdt.js} +4 -4
- package/dist/chunks/{schema-xxschbft.js → managed-policy-xjr6c8m4.js} +4 -4
- package/dist/chunks/{schema-tamm6359.js → managed-policy-xk62b4p9.js} +36 -36
- package/dist/chunks/{schema-9wxzp1qr.js → managed-policy-xptk1y4r.js} +25 -25
- package/dist/chunks/managed-policy-xs9p01q1.js +35 -0
- package/dist/chunks/{schema-k278m6zw.js → managed-policy-xtnjcert.js} +38 -38
- package/dist/chunks/{schema-fqpvdrje.js → managed-policy-xvpg88az.js} +6 -6
- package/dist/chunks/{schema-ayevjdp6.js → managed-policy-xwb4d35j.js} +4 -4
- package/dist/chunks/{schema-qmqqtqcn.js → managed-policy-xxv28an4.js} +3 -3
- package/dist/chunks/{schema-tmgn3zs9.js → managed-policy-xzqqx0dd.js} +26 -26
- package/dist/chunks/{schema-zf02ae39.js → managed-policy-y13h50zn.js} +48 -48
- package/dist/chunks/{schema-q7n78wgf.js → managed-policy-y1c3ks0h.js} +10 -10
- package/dist/chunks/{schema-qtf35215.js → managed-policy-y1havdw8.js} +2 -2
- package/dist/chunks/{schema-9rwnj3cf.js → managed-policy-y1papq05.js} +21 -21
- package/dist/chunks/{schema-p021jaq0.js → managed-policy-y68qw0s1.js} +10 -10
- package/dist/chunks/{schema-yb20nhc3.js → managed-policy-yb20nhc3.js} +1 -1
- package/dist/chunks/{schema-pjf82mvf.js → managed-policy-ycn35ar7.js} +35 -35
- package/dist/chunks/{schema-yepd7x5v.js → managed-policy-yepd7x5v.js} +2 -2
- package/dist/chunks/{schema-3xnqrhgf.js → managed-policy-yg0pkppv.js} +32 -32
- package/dist/chunks/{schema-6a3yqv2r.js → managed-policy-yke64p38.js} +5 -5
- package/dist/chunks/{schema-yr705xyq.js → managed-policy-yr705xyq.js} +1 -1
- package/dist/chunks/managed-policy-yrpeh6bf.js +587 -0
- package/dist/chunks/{schema-b7nkz392.js → managed-policy-ys900tws.js} +1 -1
- package/dist/chunks/{schema-xv3aaf54.js → managed-policy-ysj2s03f.js} +15 -15
- package/dist/chunks/{schema-yvtc2x31.js → managed-policy-yvtc2x31.js} +1 -1
- package/dist/chunks/{schema-k3ggfjkb.js → managed-policy-z1ww274n.js} +2 -2
- package/dist/chunks/{schema-dszy2cs3.js → managed-policy-zaq7ym5e.js} +4 -4
- package/dist/chunks/{schema-by8ty0bx.js → managed-policy-zpdbqgja.js} +4 -4
- package/dist/chunks/{schema-knq5zpdc.js → managed-policy-zqn2cmmr.js} +8 -8
- package/dist/chunks/{schema-nfdz4xt8.js → managed-policy-zt8fc3cx.js} +18 -18
- package/dist/chunks/{schema-963hk181.js → managed-policy-zyfhsknv.js} +9 -9
- package/dist/chunks/{schema-s62h8xwa.js → managed-policy-zyfpp7nr.js} +39 -39
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +92 -92
- 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 +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +245 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- 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 +131 -131
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +148 -146
- 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 +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- 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 +134 -134
- 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 +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/effect/app-node-builder.js +446 -442
- 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 +107 -107
- 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 +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- 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 +249 -249
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- 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 +123 -123
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- 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 +437 -433
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +1 -1
- 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 +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +434 -430
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +170 -502
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +147 -120
- package/dist/mcp/instructions.js +190 -190
- 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 +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +110 -110
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- 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 +87 -87
- package/dist/plugin/command.js +146 -119
- package/dist/plugin/fork-notice.js +8 -0
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +246 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +415 -411
- 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 +2 -2
- package/dist/plugin/plan.js +150 -150
- 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 +134 -134
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- 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 +1 -1
- 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 +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 +113 -113
- 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 +1 -1
- 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 +110 -110
- 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 +144 -141
- package/dist/plugin/provider/local.js +141 -138
- 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 -141
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +134 -134
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- 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 +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +132 -132
- package/dist/plugin/provider/vllm.js +144 -141
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +240 -240
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +425 -421
- 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 +249 -249
- 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 +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +101 -101
- 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 +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +251 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +253 -253
- 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 +172 -172
- package/dist/session/context.js +206 -206
- 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 +267 -267
- package/dist/session/execution.js +172 -172
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +151 -151
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +147 -147
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +172 -172
- package/dist/session/projector.js +147 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +259 -259
- 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 +154 -154
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +192 -192
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +238 -238
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +250 -250
- package/dist/session/usage.js +1 -1
- package/dist/session.js +246 -246
- 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 +11 -11
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +162 -162
- package/dist/snapshot.js +102 -102
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +241 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +248 -248
- package/dist/tool/plugin/mcp-events.js +171 -0
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +167 -167
- package/dist/tool/plugin/patch.js +172 -172
- package/dist/tool/plugin/question.js +152 -152
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +257 -257
- package/dist/tool/plugin/shell.js +248 -248
- package/dist/tool/plugin/skill.js +159 -159
- package/dist/tool/plugin/subagent.js +245 -245
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +166 -166
- 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 +166 -166
- package/dist/types/flag.d.ts +2 -2
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/mcp/client.d.ts +78 -1
- package/dist/types/mcp/connection.d.ts +2 -0
- package/dist/types/mcp/index.d.ts +4 -1
- package/dist/types/mcp/pool.d.ts +1 -0
- package/dist/types/plugin/fork-notice.d.ts +2 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/provider/lmstudio.d.ts +2 -2
- package/dist/types/plugin/provider/local.d.ts +1 -1
- package/dist/types/plugin/provider/ollama.d.ts +2 -2
- package/dist/types/plugin/provider/vllm.d.ts +2 -2
- package/dist/types/schedule/check.d.ts +2 -2
- package/dist/types/session/prompt.d.ts +1 -1
- package/dist/types/tool/plugin/mcp-events.d.ts +10 -0
- 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 +5 -5
- package/dist/v1/config/command.js +1 -1
- 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 +2 -2
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- 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 +8 -8
- package/dist/chunks/schema-28yt5ya3.js +0 -35
- package/dist/chunks/schema-jvnqdmg7.js +0 -579
- package/dist/chunks/schema-me0dhgxs.js +0 -18
- package/dist/chunks/schema-n0yx1q4a.js +0 -26
- package/dist/chunks/schema-qp3r9mzz.js +0 -273
- package/dist/chunks/schema-y32xxt00.js +0 -16
- /package/dist/chunks/{schema-0qkdqm5v.js → managed-policy-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → managed-policy-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → managed-policy-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → managed-policy-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kah00gy.js → managed-policy-1kah00gy.js} +0 -0
- /package/dist/chunks/{schema-24dcb14g.js → managed-policy-24dcb14g.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → managed-policy-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → managed-policy-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → managed-policy-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → managed-policy-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → managed-policy-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → managed-policy-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4qk9sjk2.js → managed-policy-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → managed-policy-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-5w3e23ze.js → managed-policy-5w3e23ze.js} +0 -0
- /package/dist/chunks/{schema-6agm2x70.js → managed-policy-6agm2x70.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → managed-policy-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-6q2bdcd1.js → managed-policy-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → managed-policy-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → managed-policy-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-7rvsyqjv.js → managed-policy-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → managed-policy-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-84wd9syh.js → managed-policy-84wd9syh.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → managed-policy-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → managed-policy-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-8wj87zfr.js → managed-policy-8wj87zfr.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → managed-policy-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → managed-policy-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → managed-policy-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → managed-policy-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-beh6qq61.js → managed-policy-beh6qq61.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → managed-policy-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → managed-policy-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → managed-policy-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cqv5kn06.js → managed-policy-cqv5kn06.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → managed-policy-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → managed-policy-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → managed-policy-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → managed-policy-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → managed-policy-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → managed-policy-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-ean2d8b5.js → managed-policy-ean2d8b5.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → managed-policy-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → managed-policy-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → managed-policy-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → managed-policy-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → managed-policy-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → managed-policy-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fkpq3x5p.js → managed-policy-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → managed-policy-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → managed-policy-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → managed-policy-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hcxmzztb.js → managed-policy-hcxmzztb.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → managed-policy-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → managed-policy-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-jjkms2e6.js → managed-policy-jjkms2e6.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → managed-policy-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → managed-policy-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jwr30sdr.js → managed-policy-jwr30sdr.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → managed-policy-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-m18g726c.js → managed-policy-m18g726c.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → managed-policy-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → managed-policy-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → managed-policy-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → managed-policy-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-nh4v3znn.js → managed-policy-nh4v3znn.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → managed-policy-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-p71gwv9c.js → managed-policy-p71gwv9c.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → managed-policy-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → managed-policy-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → managed-policy-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → managed-policy-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qg3g05ea.js → managed-policy-qg3g05ea.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → managed-policy-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → managed-policy-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → managed-policy-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → managed-policy-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-syrav9an.js → managed-policy-syrav9an.js} +0 -0
- /package/dist/chunks/{schema-t03h4f5z.js → managed-policy-t03h4f5z.js} +0 -0
- /package/dist/chunks/{schema-ty7weeps.js → managed-policy-ty7weeps.js} +0 -0
- /package/dist/chunks/{schema-v2dnd5dt.js → managed-policy-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{schema-ve7vex1e.js → managed-policy-ve7vex1e.js} +0 -0
- /package/dist/chunks/{schema-vtarvj67.js → managed-policy-vtarvj67.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → managed-policy-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wc3fc9cn.js → managed-policy-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → managed-policy-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → managed-policy-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x4th4bpe.js → managed-policy-x4th4bpe.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → managed-policy-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → managed-policy-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → managed-policy-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-z5v4ffb3.js → managed-policy-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → managed-policy-z9919s4g.js} +0 -0
- /package/dist/chunks/{schema-zxpyjp51.js → managed-policy-zxpyjp51.js} +0 -0
- /package/dist/chunks/{schema-zz5vv3aq.js → managed-policy-zz5vv3aq.js} +0 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service92
|
|
3
|
+
} from "./managed-policy-75w7zjfj.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./managed-policy-zyfpp7nr.js";
|
|
8
8
|
import {
|
|
9
9
|
ID6,
|
|
10
10
|
Result2,
|
|
11
11
|
ProviderRequiredError2,
|
|
12
12
|
DisabledError3,
|
|
13
13
|
RequestError2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service18
|
|
15
|
+
} from "./managed-policy-zt8fc3cx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/plugin/websearch.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Input: () =>
|
|
21
|
+
var exports_websearch = {};
|
|
22
|
+
__export(exports_websearch, {
|
|
23
|
+
Input: () => Input2,
|
|
24
24
|
NO_RESULTS: () => NO_RESULTS2,
|
|
25
|
-
Plugin: () =>
|
|
26
|
-
WebSearchTool: () =>
|
|
27
|
-
description: () =>
|
|
28
|
-
name: () =>
|
|
25
|
+
Plugin: () => Plugin22,
|
|
26
|
+
WebSearchTool: () => exports_websearch,
|
|
27
|
+
description: () => description3,
|
|
28
|
+
name: () => name2
|
|
29
29
|
});
|
|
30
30
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
31
31
|
import { Effect, Schema, Semaphore } from "effect";
|
|
32
32
|
import { HttpClientError } from "effect/http";
|
|
33
|
-
var
|
|
33
|
+
var name2 = "websearch";
|
|
34
34
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
35
35
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
36
36
|
var httpErrors = new Map([
|
|
37
37
|
[429, "Web search rate limited (HTTP 429)"],
|
|
38
38
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
39
39
|
]);
|
|
40
|
-
var
|
|
40
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
41
41
|
|
|
42
42
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
43
|
-
var
|
|
43
|
+
var Input2 = Schema.Struct({
|
|
44
44
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
45
45
|
});
|
|
46
46
|
var Output = Schema.Struct({
|
|
47
47
|
provider: ID6,
|
|
48
48
|
results: Schema.Array(Result2)
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin22 = {
|
|
51
51
|
id: "opencode.tool.websearch",
|
|
52
52
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const websearch = yield*
|
|
53
|
+
const permission = yield* Service68;
|
|
54
|
+
const forms = yield* Service92;
|
|
55
|
+
const websearch = yield* Service18;
|
|
56
56
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
57
|
-
name:
|
|
57
|
+
name: name2,
|
|
58
58
|
options: { codemode: false },
|
|
59
|
-
description:
|
|
60
|
-
input:
|
|
59
|
+
description: description3,
|
|
60
|
+
input: Input2,
|
|
61
61
|
output: Output,
|
|
62
62
|
execute: (input, context) => Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [input.query],
|
|
66
66
|
save: ["*"],
|
|
67
67
|
metadata: input,
|
|
@@ -175,7 +175,7 @@ ${result.content}` : ""}`;
|
|
|
175
175
|
const hook = (event) => Effect.gen(function* () {
|
|
176
176
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
177
177
|
if (disabled || (yield* websearch.providers()).length === 0)
|
|
178
|
-
delete event.tools[
|
|
178
|
+
delete event.tools[name2];
|
|
179
179
|
});
|
|
180
180
|
yield* ctx.session.hook("context", hook);
|
|
181
181
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -183,4 +183,4 @@ ${result.content}` : ""}`;
|
|
|
183
183
|
})
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
export {
|
|
186
|
+
export { name2, NO_RESULTS2, description3, Input2, Plugin22, exports_websearch };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-yg0pkppv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service47,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node49
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service47 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
48
48
|
const state = create4({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service47.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service47, node49, exports_image2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./managed-policy-71464zye.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./managed-policy-0n4v3tp6.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service81
|
|
11
|
+
} from "./managed-policy-19vsrbhp.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./managed-policy-y1havdw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service58
|
|
17
|
+
} from "./managed-policy-88aqegeb.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./managed-policy-zyfpp7nr.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service20
|
|
25
|
+
} from "./managed-policy-bedj42ph.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./managed-policy-0j7gp832.js";
|
|
29
29
|
import {
|
|
30
30
|
Service11
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./managed-policy-x030n322.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
40
|
Output: () => Output8,
|
|
41
41
|
Plugin: () => Plugin33,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description7,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input10 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -78,7 +78,7 @@ var Output8 = Schema.Struct({
|
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
80
80
|
});
|
|
81
|
-
var
|
|
81
|
+
var description7 = [
|
|
82
82
|
"Spawns an agent in a child session to work on the specified task.",
|
|
83
83
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
84
84
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -90,12 +90,12 @@ var description6 = [
|
|
|
90
90
|
var Plugin33 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
|
-
const sessions = yield*
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
93
|
+
const sessions = yield* Service20;
|
|
94
|
+
const jobs = yield* Service58;
|
|
95
|
+
const agents = yield* Service71;
|
|
96
|
+
const config = yield* Service81;
|
|
97
|
+
const permission = yield* Service68;
|
|
98
|
+
const models = yield* Service83;
|
|
99
99
|
const subagents = yield* Service11;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
@@ -118,10 +118,10 @@ var Plugin33 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name10,
|
|
122
122
|
options: { codemode: false },
|
|
123
|
-
description:
|
|
124
|
-
input:
|
|
123
|
+
description: description7,
|
|
124
|
+
input: Input10,
|
|
125
125
|
output: Output8,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -142,7 +142,7 @@ var Plugin33 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name10,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name10];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name10, Input10, Output8, description7, Plugin33, exports_subagent };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-m90tx7mw.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-0n4v3tp6.js";
|
|
8
8
|
import {
|
|
9
9
|
Document3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-xacrkbdt.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./managed-policy-19vsrbhp.js";
|
|
15
15
|
import {
|
|
16
16
|
supports2,
|
|
17
17
|
resolve2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-8fq2hpvp.js";
|
|
19
19
|
import {
|
|
20
20
|
observe2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./managed-policy-tvtps2q9.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/config/plugin/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
28
28
|
__export(exports_provider3, {
|
|
29
29
|
ConfigProviderPlugin: () => exports_provider3,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin45,
|
|
31
31
|
integrate: () => integrate2
|
|
32
32
|
});
|
|
33
33
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
34
34
|
import { Money } from "@opencode/schema/money";
|
|
35
35
|
import { Effect } from "effect";
|
|
36
|
-
var
|
|
36
|
+
var Plugin45 = define({
|
|
37
37
|
id: "opencode.config.provider",
|
|
38
38
|
effect: Effect.fn(function* (ctx) {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service81;
|
|
40
40
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
41
41
|
yield* ctx.integration.transform((integrations) => {
|
|
42
42
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -251,4 +251,4 @@ function overlay(models, providerPackage, item, providerID, id, config, inherit)
|
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
export {
|
|
254
|
+
export { Plugin45, integrate2, exports_provider3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batches2,
|
|
3
3
|
insertBatches2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-jm70asfg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service72,
|
|
7
7
|
enabled3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./managed-policy-a2vmqeha.js";
|
|
9
9
|
import {
|
|
10
10
|
BlobTable2,
|
|
11
11
|
BlobRefTable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./managed-policy-mb7mbhnz.js";
|
|
13
13
|
import {
|
|
14
14
|
refHash2,
|
|
15
15
|
ref2,
|
|
16
16
|
FileRef2,
|
|
17
17
|
ToolFileRef2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./managed-policy-prq7xxp2.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/session/blob.ts
|
|
24
24
|
var exports_blob = {};
|
|
@@ -199,7 +199,7 @@ var read4 = Effect.fnUntraced(function* (db, hash) {
|
|
|
199
199
|
});
|
|
200
200
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
201
201
|
var enabled2 = Effect.gen(function* () {
|
|
202
|
-
const flag = yield* Effect.serviceOption(
|
|
202
|
+
const flag = yield* Effect.serviceOption(Service72);
|
|
203
203
|
if (Option.isNone(flag))
|
|
204
204
|
return false;
|
|
205
205
|
return yield* flag.value.enabled("media_blob");
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-hgdb2qgy.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./managed-policy-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service86,
|
|
17
|
+
node: () => node88
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service86 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service94).db;
|
|
26
|
-
return
|
|
26
|
+
return Service86.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node88 = makeGlobalNode({ service: Service86, layer, deps: [node96] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service86, node88, exports_kv };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make31,
|
|
14
|
+
node: () => node68,
|
|
15
15
|
registry: () => registry3,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make31 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry3(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node68 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make31, RegistryService2, registry3, registryNode2, node68, exports_driver };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./managed-policy-hgdb2qgy.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make33,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-p94p4v4n.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./managed-policy-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./managed-policy-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -59,7 +59,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
59
59
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service29 extends Context.Service()("@opencode/InstructionEntry") {
|
|
63
63
|
}
|
|
64
64
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
65
65
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -78,7 +78,7 @@ var source = (entry) => make33({
|
|
|
78
78
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
var layer = Layer.effect(
|
|
81
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
82
82
|
const { db } = yield* Service94;
|
|
83
83
|
const list = Effect.fn("InstructionEntry.list")(function* (sessionID) {
|
|
84
84
|
return (yield* rows(db, sessionID, false)).map((row) => ({ key: row.key, value: row.value }));
|
|
@@ -104,8 +104,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
104
104
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
105
105
|
return combine2((yield* rows(db, sessionID, true)).map(source));
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service29.of({ list, put, remove, load });
|
|
108
108
|
}));
|
|
109
|
-
var
|
|
109
|
+
var node32 = makeGlobalNode({ service: Service29, layer, deps: [node96] });
|
|
110
110
|
|
|
111
|
-
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
111
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node32, exports_instruction_entry };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./managed-policy-xwb4d35j.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./managed-policy-0n4v3tp6.js";
|
|
7
7
|
import {
|
|
8
8
|
Service13,
|
|
9
9
|
Event2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./managed-policy-b52axs6a.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|