@opencode/core 0.0.0-dev-767 → 0.0.0-dev-784
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 +7 -7
- package/dist/artifact.js +242 -242
- package/dist/bus.js +84 -84
- package/dist/chunks/{instruction-discovery-034tev2y.js → shared-cache-034tev2y.js} +2 -2
- package/dist/chunks/{instruction-discovery-vdt8tdvm.js → shared-cache-04yrrmn2.js} +22 -22
- package/dist/chunks/{instruction-discovery-0qdqmbmx.js → shared-cache-0anbyew7.js} +6 -6
- package/dist/chunks/{instruction-discovery-m77cdk88.js → shared-cache-0bjwfa5h.js} +16 -16
- package/dist/chunks/{instruction-discovery-sv8pe9hy.js → shared-cache-0g1raxgb.js} +7 -7
- package/dist/chunks/{instruction-discovery-tww0y5vg.js → shared-cache-0kzpd8w9.js} +18 -18
- package/dist/chunks/{instruction-discovery-0ma9gw4f.js → shared-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{instruction-discovery-a4r8wyds.js → shared-cache-0n72pxsj.js} +9 -9
- package/dist/chunks/{instruction-discovery-av0qsz7t.js → shared-cache-0rqk4qpw.js} +41 -41
- package/dist/chunks/{instruction-discovery-ng9e5b6h.js → shared-cache-15acfm9t.js} +30 -30
- package/dist/chunks/{instruction-discovery-ac642rmg.js → shared-cache-18b1hh0p.js} +9 -9
- package/dist/chunks/{instruction-discovery-km3qfa4k.js → shared-cache-194h76m6.js} +26 -26
- package/dist/chunks/{instruction-discovery-sxfd91sh.js → shared-cache-1aahdxx4.js} +27 -27
- package/dist/chunks/{instruction-discovery-1aqsckx4.js → shared-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{instruction-discovery-7wz71nc0.js → shared-cache-1b5wzfts.js} +17 -17
- package/dist/chunks/{instruction-discovery-3pbjnpev.js → shared-cache-1bp2mc9a.js} +9 -9
- package/dist/chunks/{instruction-discovery-1ep2p91f.js → shared-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{instruction-discovery-j3zdgczy.js → shared-cache-1g14se5m.js} +43 -43
- package/dist/chunks/{instruction-discovery-zgcm22tt.js → shared-cache-1k7rwq25.js} +13 -13
- package/dist/chunks/{instruction-discovery-z9caxect.js → shared-cache-1knty8bj.js} +8 -8
- package/dist/chunks/{instruction-discovery-wme2kqdk.js → shared-cache-1kz8tpz9.js} +13 -13
- package/dist/chunks/{instruction-discovery-cahzwrcw.js → shared-cache-1s9c3r6e.js} +9 -9
- package/dist/chunks/{instruction-discovery-94j5mvkx.js → shared-cache-1tdq4189.js} +31 -31
- package/dist/chunks/{instruction-discovery-1x2knyw4.js → shared-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{instruction-discovery-daa35rxe.js → shared-cache-226bftaw.js} +9 -9
- package/dist/chunks/{instruction-discovery-a7mkbf59.js → shared-cache-24wx0nq9.js} +32 -32
- package/dist/chunks/{instruction-discovery-8b3vzgkx.js → shared-cache-25h84942.js} +4 -4
- package/dist/chunks/{instruction-discovery-jjvvtnfs.js → shared-cache-26wfx3k0.js} +4 -4
- package/dist/chunks/{instruction-discovery-acntq3e6.js → shared-cache-27kpv533.js} +13 -13
- package/dist/chunks/{instruction-discovery-717jetjn.js → shared-cache-27wtn1f8.js} +20 -20
- package/dist/chunks/{instruction-discovery-2b2r7h3k.js → shared-cache-2bsm227b.js} +9 -9
- package/dist/chunks/{instruction-discovery-x150ncgg.js → shared-cache-2c6sxtb9.js} +2 -2
- package/dist/chunks/{instruction-discovery-ajjedqx9.js → shared-cache-2enxj0cb.js} +13 -13
- package/dist/chunks/{instruction-discovery-2fc7eemy.js → shared-cache-2fc7eemy.js} +1 -1
- package/dist/chunks/{instruction-discovery-7nbcbakm.js → shared-cache-2gsv526q.js} +6 -6
- package/dist/chunks/{instruction-discovery-t95ysx1g.js → shared-cache-2k5krcs7.js} +6 -6
- package/dist/chunks/{instruction-discovery-mm8gn2d0.js → shared-cache-2knskdva.js} +2 -2
- package/dist/chunks/{instruction-discovery-5y8274z2.js → shared-cache-2y7ba1aw.js} +11 -11
- package/dist/chunks/{instruction-discovery-9hjpxa5c.js → shared-cache-32xqcnen.js} +13 -13
- package/dist/chunks/{instruction-discovery-8gqn9qe6.js → shared-cache-33508cjn.js} +11 -11
- package/dist/chunks/{instruction-discovery-kephn98g.js → shared-cache-34k2es7r.js} +18 -18
- package/dist/chunks/{instruction-discovery-38aws4xb.js → shared-cache-38aws4xb.js} +1 -1
- package/dist/chunks/{instruction-discovery-859w1rtj.js → shared-cache-3adw4bt5.js} +9 -9
- package/dist/chunks/{instruction-discovery-qtf35215.js → shared-cache-3beq3wdw.js} +3 -3
- package/dist/chunks/{instruction-discovery-8qy4ndf3.js → shared-cache-3bp92sye.js} +28 -28
- package/dist/chunks/{instruction-discovery-3hepkmqq.js → shared-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{instruction-discovery-xqqxmz7g.js → shared-cache-3mrvt0mp.js} +16 -16
- package/dist/chunks/{instruction-discovery-m52p3726.js → shared-cache-3nem6ecq.js} +33 -33
- package/dist/chunks/{instruction-discovery-3nnrz6f6.js → shared-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instruction-discovery-t4m6fqdw.js → shared-cache-3r819yp1.js} +33 -33
- package/dist/chunks/{instruction-discovery-nmv3m1g3.js → shared-cache-3stnm6jc.js} +19 -19
- package/dist/chunks/{instruction-discovery-fwz1byk4.js → shared-cache-3yaf1m62.js} +5 -5
- package/dist/chunks/{instruction-discovery-egbdm13x.js → shared-cache-4034feyd.js} +11 -11
- package/dist/chunks/{instruction-discovery-40y6dtc2.js → shared-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{instruction-discovery-40za9wsf.js → shared-cache-40za9wsf.js} +2 -2
- package/dist/chunks/{instruction-discovery-y1g5tdgr.js → shared-cache-42snwakh.js} +9 -9
- package/dist/chunks/{instruction-discovery-v3sbm4k3.js → shared-cache-49dndk54.js} +5 -5
- package/dist/chunks/{instruction-discovery-1p9x1qq0.js → shared-cache-4br494q8.js} +17 -17
- package/dist/chunks/{instruction-discovery-8cg7mtm3.js → shared-cache-4d2dtj2f.js} +4 -4
- package/dist/chunks/{instruction-discovery-5zvdcz09.js → shared-cache-4d83a35b.js} +3 -3
- package/dist/chunks/{instruction-discovery-cg2z3rsg.js → shared-cache-4dtrd81n.js} +3 -3
- package/dist/chunks/{instruction-discovery-4dx1dgte.js → shared-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{instruction-discovery-jzng3bcv.js → shared-cache-4ejc1f65.js} +9 -9
- package/dist/chunks/{instruction-discovery-4f25tdd0.js → shared-cache-4f25tdd0.js} +1 -1
- package/dist/chunks/{instruction-discovery-e666edtx.js → shared-cache-4gkhbgfx.js} +11 -11
- package/dist/chunks/{instruction-discovery-d381x1c1.js → shared-cache-4h32ezym.js} +28 -28
- package/dist/chunks/{instruction-discovery-r30vc8ez.js → shared-cache-4h8czndd.js} +12 -12
- package/dist/chunks/{instruction-discovery-fpdrsnk3.js → shared-cache-4hysty8h.js} +12 -12
- package/dist/chunks/{instruction-discovery-m0wfr6nw.js → shared-cache-4pafw51t.js} +15 -15
- package/dist/chunks/{instruction-discovery-4pyp9zr9.js → shared-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-9efrdm9n.js → shared-cache-4rd053at.js} +77 -77
- package/dist/chunks/{instruction-discovery-4v008n1t.js → shared-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{instruction-discovery-pc8xh3z3.js → shared-cache-4zapkjkg.js} +37 -37
- package/dist/chunks/{instruction-discovery-3n4t15yq.js → shared-cache-4zs5jj5x.js} +9 -9
- package/dist/chunks/{instruction-discovery-h9hc66h4.js → shared-cache-539dw32x.js} +4 -4
- package/dist/chunks/{instruction-discovery-xk3ctaec.js → shared-cache-595djwzd.js} +28 -28
- package/dist/chunks/{instruction-discovery-8wpkar0s.js → shared-cache-5fanxswy.js} +16 -16
- package/dist/chunks/{instruction-discovery-5m9w47nd.js → shared-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{instruction-discovery-ppxmn150.js → shared-cache-5srhkeme.js} +8 -8
- package/dist/chunks/{instruction-discovery-xksw6ev0.js → shared-cache-67wwskyb.js} +4 -4
- package/dist/chunks/{instruction-discovery-t002fys3.js → shared-cache-6b4t3fjr.js} +16 -16
- package/dist/chunks/{instruction-discovery-wrwqm306.js → shared-cache-6bjz06db.js} +11 -11
- package/dist/chunks/{instruction-discovery-035wadpx.js → shared-cache-6cqkw5v2.js} +5 -5
- package/dist/chunks/{instruction-discovery-wh5xskkt.js → shared-cache-6dtm3460.js} +8 -8
- package/dist/chunks/{instruction-discovery-r7yxfaj3.js → shared-cache-6dtmjp15.js} +9 -9
- package/dist/chunks/{instruction-discovery-x26kjs65.js → shared-cache-6fvz08vg.js} +4 -4
- package/dist/chunks/{instruction-discovery-22nbc19w.js → shared-cache-6sw7w39w.js} +29 -29
- package/dist/chunks/{instruction-discovery-5ewwwx7d.js → shared-cache-6xcg9k02.js} +7 -7
- package/dist/chunks/{instruction-discovery-ydxw5d8e.js → shared-cache-6xjpaerm.js} +3 -3
- package/dist/chunks/{instruction-discovery-dy2svbvr.js → shared-cache-6zdx75w9.js} +15 -15
- package/dist/chunks/{instruction-discovery-775hqbnd.js → shared-cache-775hqbnd.js} +3 -3
- package/dist/chunks/{instruction-discovery-69weq0rd.js → shared-cache-77tya21q.js} +15 -15
- package/dist/chunks/{instruction-discovery-ca6pz332.js → shared-cache-79jckm12.js} +27 -27
- package/dist/chunks/{instruction-discovery-7bmhse3q.js → shared-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{instruction-discovery-thyn3qp3.js → shared-cache-7kgjq9p2.js} +39 -39
- package/dist/chunks/{instruction-discovery-9sk33afj.js → shared-cache-7nqkf5r1.js} +6 -6
- package/dist/chunks/{instruction-discovery-kmzgegqq.js → shared-cache-7tpyp9vw.js} +8 -8
- package/dist/chunks/{instruction-discovery-7w2ypzdf.js → shared-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instruction-discovery-7weczvnd.js → shared-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{instruction-discovery-8rmm2rqx.js → shared-cache-7x69dvj7.js} +19 -19
- package/dist/chunks/{instruction-discovery-f32m8sjz.js → shared-cache-82phgae0.js} +5 -5
- package/dist/chunks/{instruction-discovery-5bxp8ngb.js → shared-cache-83jh6pvp.js} +12 -12
- package/dist/chunks/{instruction-discovery-89287pr7.js → shared-cache-89287pr7.js} +1 -1
- package/dist/chunks/{instruction-discovery-kjav7hsa.js → shared-cache-89pame70.js} +32 -32
- package/dist/chunks/{instruction-discovery-28n9jjey.js → shared-cache-8bs31wsw.js} +21 -21
- package/dist/chunks/{instruction-discovery-dedadj0z.js → shared-cache-8cfwwmch.js} +33 -33
- package/dist/chunks/{instruction-discovery-ns3x0kan.js → shared-cache-8g0dr487.js} +8 -8
- package/dist/chunks/{instruction-discovery-5gd6j7v3.js → shared-cache-8mxkfc7q.js} +31 -31
- package/dist/chunks/{instruction-discovery-9vybr36a.js → shared-cache-8s7t2wnx.js} +17 -17
- package/dist/chunks/{instruction-discovery-8sxe6kv8.js → shared-cache-8sxe6kv8.js} +2 -2
- package/dist/chunks/{instruction-discovery-r17fbvme.js → shared-cache-8t99kr38.js} +4 -4
- package/dist/chunks/{instruction-discovery-fe230j03.js → shared-cache-8v4q7953.js} +7 -7
- package/dist/chunks/{instruction-discovery-8wtp7s3z.js → shared-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instruction-discovery-8zv0xmg5.js → shared-cache-8zv0xmg5.js} +1 -1
- package/dist/chunks/{instruction-discovery-r8eh9kv8.js → shared-cache-92a42esp.js} +47 -47
- package/dist/chunks/{instruction-discovery-k3yq6zb2.js → shared-cache-97vbfhw2.js} +18 -18
- package/dist/chunks/{instruction-discovery-4ctrm9nh.js → shared-cache-9dgkqg1r.js} +9 -9
- package/dist/chunks/{instruction-discovery-0mpcv619.js → shared-cache-9epsf2h5.js} +18 -18
- package/dist/chunks/{instruction-discovery-5b9g21nn.js → shared-cache-9ghyjkvz.js} +25 -25
- package/dist/chunks/{instruction-discovery-xw2458v9.js → shared-cache-9khkvzeq.js} +42 -42
- package/dist/chunks/{instruction-discovery-rv0syswy.js → shared-cache-9mv67mme.js} +13 -13
- package/dist/chunks/{instruction-discovery-fej3esqb.js → shared-cache-9t6kz4yn.js} +8 -8
- package/dist/chunks/{instruction-discovery-p61ta8ck.js → shared-cache-9x7r0cde.js} +48 -48
- package/dist/chunks/{instruction-discovery-tdc634qr.js → shared-cache-9xae94ba.js} +5 -5
- package/dist/chunks/{instruction-discovery-y2wztr85.js → shared-cache-9y6vd75w.js} +3 -3
- package/dist/chunks/{instruction-discovery-txdvyvm9.js → shared-cache-9yk4egw0.js} +10 -10
- package/dist/chunks/{instruction-discovery-h37jr7r1.js → shared-cache-9ze9m4b2.js} +42 -42
- package/dist/chunks/{instruction-discovery-x4yznxxr.js → shared-cache-a5e3brfg.js} +16 -16
- package/dist/chunks/{instruction-discovery-krg7tqdy.js → shared-cache-a5nn3n9c.js} +15 -15
- package/dist/chunks/{instruction-discovery-ggx84v7x.js → shared-cache-a6s57dw6.js} +6 -6
- package/dist/chunks/{instruction-discovery-8tz0yt11.js → shared-cache-a9k51e6w.js} +15 -15
- package/dist/chunks/{instruction-discovery-4xw3h8c0.js → shared-cache-ahajcv3w.js} +41 -41
- package/dist/chunks/{instruction-discovery-rps3t758.js → shared-cache-aps9g0y1.js} +17 -17
- package/dist/chunks/{instruction-discovery-y3fcvze3.js → shared-cache-asb0cc78.js} +20 -20
- package/dist/chunks/{instruction-discovery-g3s3ewd7.js → shared-cache-av9f6vqw.js} +5 -5
- package/dist/chunks/{instruction-discovery-ayjs7tqn.js → shared-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instruction-discovery-512az4es.js → shared-cache-ayydphw0.js} +10 -10
- package/dist/chunks/{instruction-discovery-6tdexx3t.js → shared-cache-b0yffnc5.js} +7 -7
- package/dist/chunks/{instruction-discovery-8xt5cg5t.js → shared-cache-b2je6s5v.js} +33 -33
- package/dist/chunks/{instruction-discovery-t2c2f39h.js → shared-cache-b30d3r48.js} +38 -38
- package/dist/chunks/{instruction-discovery-bdhd9h6e.js → shared-cache-bdhd9h6e.js} +1 -1
- package/dist/chunks/{instruction-discovery-bfmm6xpm.js → shared-cache-bfmm6xpm.js} +1 -1
- package/dist/chunks/{instruction-discovery-bstexjd6.js → shared-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{instruction-discovery-wnx2bwf3.js → shared-cache-bts412q5.js} +10 -10
- package/dist/chunks/{instruction-discovery-zpdbqgja.js → shared-cache-by8ty0bx.js} +4 -4
- package/dist/chunks/{instruction-discovery-1f3btcbe.js → shared-cache-c1evsqmm.js} +20 -20
- package/dist/chunks/{instruction-discovery-xga3q82e.js → shared-cache-c3s4am0x.js} +83 -83
- package/dist/chunks/{instruction-discovery-c7cw818c.js → shared-cache-c7cw818c.js} +2 -2
- package/dist/chunks/{instruction-discovery-x36gyb44.js → shared-cache-cce3w22e.js} +6 -6
- package/dist/chunks/{instruction-discovery-0ahs07zn.js → shared-cache-cpvd08na.js} +4 -4
- package/dist/chunks/{instruction-discovery-c5ra0hbm.js → shared-cache-cs0sw83s.js} +10 -10
- package/dist/chunks/{instruction-discovery-6548536y.js → shared-cache-cs2qg22c.js} +8 -8
- package/dist/chunks/{instruction-discovery-cwrgdav8.js → shared-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{instruction-discovery-d4v9tmah.js → shared-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{instruction-discovery-a6r3gw41.js → shared-cache-d7mb465w.js} +19 -19
- package/dist/chunks/{instruction-discovery-j941rw8m.js → shared-cache-dmbvfjw2.js} +183 -183
- package/dist/chunks/{instruction-discovery-n80r2426.js → shared-cache-dr4yw3c3.js} +20 -20
- package/dist/chunks/{instruction-discovery-htfjmsyg.js → shared-cache-drp5p4fw.js} +12 -12
- package/dist/chunks/{instruction-discovery-9jy39kf2.js → shared-cache-dspp7mej.js} +18 -18
- package/dist/chunks/{instruction-discovery-dt77769w.js → shared-cache-dt77769w.js} +1 -1
- package/dist/chunks/{instruction-discovery-gfkxgc8b.js → shared-cache-dye5wmr7.js} +53 -53
- package/dist/chunks/{instruction-discovery-e834z07m.js → shared-cache-e834z07m.js} +1 -1
- package/dist/chunks/{instruction-discovery-5297cjgk.js → shared-cache-ec9js1rc.js} +1 -1
- package/dist/chunks/{instruction-discovery-jzqcmzkz.js → shared-cache-ech2384w.js} +78 -78
- package/dist/chunks/{instruction-discovery-ehbk6bjx.js → shared-cache-eqvyempq.js} +9 -9
- package/dist/chunks/{instruction-discovery-eqw4pqj1.js → shared-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{instruction-discovery-914cm7tc.js → shared-cache-erjhawps.js} +6 -6
- package/dist/chunks/{instruction-discovery-vnx33sxm.js → shared-cache-et1r6awj.js} +25 -25
- package/dist/chunks/{instruction-discovery-4ygb74tw.js → shared-cache-etrnj9s7.js} +8 -8
- package/dist/chunks/{instruction-discovery-3mcj4ttv.js → shared-cache-etstp61t.js} +4 -4
- package/dist/chunks/{instruction-discovery-rc5hqdy9.js → shared-cache-ewekt513.js} +11 -11
- package/dist/chunks/{instruction-discovery-94e33dpz.js → shared-cache-f341sazs.js} +3 -3
- package/dist/chunks/{instruction-discovery-ywh3xphk.js → shared-cache-fcmxqga5.js} +4 -4
- package/dist/chunks/{instruction-discovery-gszdpdrz.js → shared-cache-ffcpbswy.js} +16 -16
- package/dist/chunks/{instruction-discovery-fffv3p7h.js → shared-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{instruction-discovery-z114bjbz.js → shared-cache-fhbtwnk5.js} +30 -30
- package/dist/chunks/{instruction-discovery-3g8webd4.js → shared-cache-fsvajjj2.js} +12 -12
- package/dist/chunks/{instruction-discovery-z28rgzeg.js → shared-cache-fyzpmjej.js} +17 -17
- package/dist/chunks/{instruction-discovery-6n9vscpz.js → shared-cache-fzvwgz0z.js} +13 -13
- package/dist/chunks/{instruction-discovery-g4txs7zc.js → shared-cache-g4txs7zc.js} +4 -4
- package/dist/chunks/{instruction-discovery-earqdz7d.js → shared-cache-g8vezaf1.js} +4 -4
- package/dist/chunks/{instruction-discovery-gbjdnr5j.js → shared-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{instruction-discovery-t4x407dt.js → shared-cache-gcqd3vjd.js} +12 -12
- package/dist/chunks/{instruction-discovery-q2pfrdzq.js → shared-cache-gd590t0n.js} +32 -32
- package/dist/chunks/{instruction-discovery-88fe8rgv.js → shared-cache-gdz74510.js} +24 -24
- package/dist/chunks/{instruction-discovery-0hh80bdf.js → shared-cache-gg539td5.js} +29 -29
- package/dist/chunks/{instruction-discovery-ghrv1g9c.js → shared-cache-ghrv1g9c.js} +1 -1
- package/dist/chunks/{instruction-discovery-prjx969k.js → shared-cache-gtgv86b6.js} +10 -10
- package/dist/chunks/{instruction-discovery-6nsxaszz.js → shared-cache-gxkc2w7d.js} +3 -3
- package/dist/chunks/{instruction-discovery-gxs71cxp.js → shared-cache-gxs71cxp.js} +1 -1
- package/dist/chunks/shared-cache-gxzd5962.js +26 -0
- package/dist/chunks/{instruction-discovery-fsg46r2q.js → shared-cache-hehz8921.js} +28 -28
- package/dist/chunks/{instruction-discovery-hgzwgvze.js → shared-cache-hgzwgvze.js} +2 -2
- package/dist/chunks/{instruction-discovery-1bty7wwh.js → shared-cache-hhxr1rnh.js} +43 -43
- package/dist/chunks/{instruction-discovery-txcq933h.js → shared-cache-hkr7x3e6.js} +47 -47
- package/dist/chunks/{instruction-discovery-ya1fv2vx.js → shared-cache-j2fr2bgb.js} +31 -31
- package/dist/chunks/{instruction-discovery-j376ae4e.js → shared-cache-j376ae4e.js} +1 -1
- package/dist/chunks/{instruction-discovery-m5brqekz.js → shared-cache-j64v0wxx.js} +9 -9
- package/dist/chunks/{instruction-discovery-j9nxzz3g.js → shared-cache-j9nxzz3g.js} +3 -3
- package/dist/chunks/{instruction-discovery-jkdcm5hg.js → shared-cache-jkdcm5hg.js} +1 -1
- package/dist/chunks/{instruction-discovery-jm70asfg.js → shared-cache-jm70asfg.js} +1 -1
- package/dist/chunks/{instruction-discovery-hh87084c.js → shared-cache-jpsqkeqj.js} +29 -29
- package/dist/chunks/{instruction-discovery-jxd6f16v.js → shared-cache-jxd6f16v.js} +2 -2
- package/dist/chunks/{instruction-discovery-bfpvn0kp.js → shared-cache-k662kb7c.js} +5 -5
- package/dist/chunks/{instruction-discovery-aharhycy.js → shared-cache-k9bj67zj.js} +3 -3
- package/dist/chunks/{instruction-discovery-w6hddjds.js → shared-cache-kax4jj8m.js} +14 -14
- package/dist/chunks/{instruction-discovery-k46dd5bg.js → shared-cache-kj9n5bvh.js} +4 -4
- package/dist/chunks/{instruction-discovery-m47m6gag.js → shared-cache-km07zzq6.js} +10 -10
- package/dist/chunks/{instruction-discovery-0k5jzv99.js → shared-cache-kn78gmhj.js} +31 -31
- package/dist/chunks/{instruction-discovery-r76pejt0.js → shared-cache-kxtd31nd.js} +38 -38
- package/dist/chunks/{instruction-discovery-492q24js.js → shared-cache-kxz3fswd.js} +5 -5
- package/dist/chunks/{instruction-discovery-mv9azg7v.js → shared-cache-kzad11fb.js} +20 -20
- package/dist/chunks/{instruction-discovery-kzczzf4v.js → shared-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{instruction-discovery-cxab28sr.js → shared-cache-kzdam8c6.js} +5 -5
- package/dist/chunks/{instruction-discovery-m1714858.js → shared-cache-m1714858.js} +1 -1
- package/dist/chunks/{instruction-discovery-h20m64bj.js → shared-cache-m19zatpp.js} +26 -26
- package/dist/chunks/{instruction-discovery-nng7zgf9.js → shared-cache-m5kjjhhw.js} +4 -4
- package/dist/chunks/{instruction-discovery-4r2png4e.js → shared-cache-m93wfvm4.js} +32 -32
- package/dist/chunks/{instruction-discovery-zqcg21hz.js → shared-cache-m9jqa78q.js} +19 -19
- package/dist/chunks/{instruction-discovery-m9w0rfyh.js → shared-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instruction-discovery-mb7mbhnz.js → shared-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/shared-cache-me8awwbv.js +265 -0
- package/dist/chunks/{instruction-discovery-889wyzdh.js → shared-cache-mkqdp8ha.js} +8 -8
- package/dist/chunks/{instruction-discovery-mm06edep.js → shared-cache-mm06edep.js} +1 -1
- package/dist/chunks/{instruction-discovery-3bnw976e.js → shared-cache-msmvb520.js} +51 -51
- package/dist/chunks/{instruction-discovery-b7nkz392.js → shared-cache-mym403hh.js} +1 -1
- package/dist/chunks/{instruction-discovery-163rckxa.js → shared-cache-n3h5h7my.js} +27 -27
- package/dist/chunks/{instruction-discovery-dg940mct.js → shared-cache-n8cnnvxa.js} +4 -4
- package/dist/chunks/{instruction-discovery-y8ngewsh.js → shared-cache-n8qp4pwc.js} +5 -5
- package/dist/chunks/{instruction-discovery-84zccxv9.js → shared-cache-njm26te9.js} +5 -5
- package/dist/chunks/{instruction-discovery-hxdnb8mc.js → shared-cache-ntyt9a7x.js} +5 -5
- package/dist/chunks/{instruction-discovery-308vj96x.js → shared-cache-nxj486q1.js} +20 -20
- package/dist/chunks/{instruction-discovery-bv5wfcwh.js → shared-cache-p31k41gx.js} +22 -22
- package/dist/chunks/{instruction-discovery-893w5axv.js → shared-cache-pdga6585.js} +11 -11
- package/dist/chunks/{instruction-discovery-6xb4rkxw.js → shared-cache-pdrsmsya.js} +23 -23
- package/dist/chunks/{instruction-discovery-rw2zjz0d.js → shared-cache-pj4z1ktm.js} +8 -8
- package/dist/chunks/{instruction-discovery-pknna89w.js → shared-cache-pknna89w.js} +1 -1
- package/dist/chunks/{instruction-discovery-db9zfs31.js → shared-cache-pmx2awgr.js} +6 -6
- package/dist/chunks/{instruction-discovery-ht3w7h50.js → shared-cache-pqgdwrn0.js} +25 -25
- package/dist/chunks/{instruction-discovery-jybfs8t0.js → shared-cache-pqyke20e.js} +16 -16
- package/dist/chunks/{instruction-discovery-prq7xxp2.js → shared-cache-prq7xxp2.js} +2 -2
- package/dist/chunks/{instruction-discovery-ejwbhcm1.js → shared-cache-pskcan91.js} +14 -14
- package/dist/chunks/{instruction-discovery-1f0vmqgz.js → shared-cache-pspt1df2.js} +23 -23
- package/dist/chunks/{instruction-discovery-mrxa64ry.js → shared-cache-pwb9n0ke.js} +9 -9
- package/dist/chunks/{instruction-discovery-rj7j5fvs.js → shared-cache-px7qpgcn.js} +4 -4
- package/dist/chunks/{instruction-discovery-6gpmvk86.js → shared-cache-pxzaa117.js} +8 -8
- package/dist/chunks/{instruction-discovery-ceq6pwch.js → shared-cache-q85rya1m.js} +6 -6
- package/dist/chunks/{instruction-discovery-cd4j7prf.js → shared-cache-q8b8m709.js} +36 -36
- package/dist/chunks/{instruction-discovery-x7de2wha.js → shared-cache-qh5g3qaw.js} +9 -9
- package/dist/chunks/{instruction-discovery-kxenwpvt.js → shared-cache-qmcdxm8v.js} +17 -17
- package/dist/chunks/shared-cache-qmh7vbk2.js +18 -0
- package/dist/chunks/{instruction-discovery-qp7r0hxv.js → shared-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{instruction-discovery-qsdghx1p.js → shared-cache-qsdghx1p.js} +1 -1
- package/dist/chunks/{instruction-discovery-a4z49w9r.js → shared-cache-qxmz40xz.js} +3 -3
- package/dist/chunks/{instruction-discovery-0ykxt0wa.js → shared-cache-r5twhbyy.js} +13 -13
- package/dist/chunks/{instruction-discovery-r96ere88.js → shared-cache-r96ere88.js} +1 -1
- package/dist/chunks/{instruction-discovery-k61t33b4.js → shared-cache-r9jywc84.js} +10 -10
- package/dist/chunks/{instruction-discovery-rb9dy4dg.js → shared-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instruction-discovery-rgc9cx3e.js → shared-cache-rgc9cx3e.js} +2 -2
- package/dist/chunks/{instruction-discovery-zx5s889k.js → shared-cache-rnq5j2vn.js} +59 -59
- package/dist/chunks/{instruction-discovery-t293pbq5.js → shared-cache-rp9gz9an.js} +15 -15
- package/dist/chunks/{instruction-discovery-3av5zfq2.js → shared-cache-rrjbac4v.js} +11 -11
- package/dist/chunks/{instruction-discovery-rt5dr6hb.js → shared-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instruction-discovery-1hxqs9hg.js → shared-cache-rzw0jne5.js} +37 -37
- package/dist/chunks/{instruction-discovery-0nzvtrgm.js → shared-cache-rzx2v6yz.js} +19 -19
- package/dist/chunks/{instruction-discovery-s1ba0vj0.js → shared-cache-s1ba0vj0.js} +2 -2
- package/dist/chunks/{instruction-discovery-svqxa2mt.js → shared-cache-s247b4df.js} +23 -23
- package/dist/chunks/{instruction-discovery-sbya78hr.js → shared-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{instruction-discovery-vxcmcr2d.js → shared-cache-se6b7c1f.js} +49 -49
- package/dist/chunks/{instruction-discovery-wt1df4k0.js → shared-cache-sjcj8p3e.js} +20 -20
- package/dist/chunks/{instruction-discovery-qwcpb394.js → shared-cache-sppt6k8y.js} +12 -12
- package/dist/chunks/{instruction-discovery-0j7gp832.js → shared-cache-sqjzf8x2.js} +4 -4
- package/dist/chunks/{instruction-discovery-svcy3p9a.js → shared-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{instruction-discovery-0y9znww5.js → shared-cache-t0cnmh76.js} +12 -12
- package/dist/chunks/{instruction-discovery-yt6fn0a1.js → shared-cache-t381e9re.js} +19 -19
- package/dist/chunks/{instruction-discovery-8bcc8xgx.js → shared-cache-t48jrnqq.js} +3 -3
- package/dist/chunks/{instruction-discovery-t8erkws8.js → shared-cache-t8erkws8.js} +2 -2
- package/dist/chunks/{instruction-discovery-tbpn7jtk.js → shared-cache-tbpn7jtk.js} +1 -1
- package/dist/chunks/{instruction-discovery-tczq8hjw.js → shared-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{instruction-discovery-70ntef35.js → shared-cache-te5k93n1.js} +4 -4
- package/dist/chunks/{instruction-discovery-pw7334sc.js → shared-cache-tgxwxg3z.js} +2 -2
- package/dist/chunks/{instruction-discovery-cvpvszrg.js → shared-cache-tn7d9rmf.js} +45 -45
- package/dist/chunks/{instruction-discovery-0j89p1fr.js → shared-cache-trmp3bn7.js} +31 -31
- package/dist/chunks/{instruction-discovery-twssxy5n.js → shared-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{instruction-discovery-t8za342m.js → shared-cache-v1fdnzwc.js} +10 -10
- package/dist/chunks/{instruction-discovery-g1kn1j67.js → shared-cache-v2n1f50q.js} +11 -11
- package/dist/chunks/{instruction-discovery-v2r1d0zg.js → shared-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instruction-discovery-2kedh6bd.js → shared-cache-vb6mr57d.js} +8 -8
- package/dist/chunks/{instruction-discovery-rpczda7v.js → shared-cache-vcrndpkg.js} +5 -5
- package/dist/chunks/{instruction-discovery-ab3p0zwj.js → shared-cache-vgn6z14m.js} +39 -39
- package/dist/chunks/{instruction-discovery-vjf35v1f.js → shared-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{instruction-discovery-83sjcvmh.js → shared-cache-vkds7dqv.js} +11 -11
- package/dist/chunks/{instruction-discovery-gwqtg3d1.js → shared-cache-vs1q8krt.js} +38 -38
- package/dist/chunks/{instruction-discovery-ky596kc3.js → shared-cache-vsnnaxjq.js} +4 -4
- package/dist/chunks/{instruction-discovery-y40jp0bf.js → shared-cache-vvy5m74d.js} +12 -12
- package/dist/chunks/{instruction-discovery-t9dna5mx.js → shared-cache-vwc7kwch.js} +18 -18
- package/dist/chunks/{instruction-discovery-w3wsvvr9.js → shared-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instruction-discovery-yvg9gqdw.js → shared-cache-w5j9ypn6.js} +9 -9
- package/dist/chunks/{instruction-discovery-mf63ygpr.js → shared-cache-w79nt68w.js} +4 -4
- package/dist/chunks/{instruction-discovery-wakvkjy4.js → shared-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{instruction-discovery-a4kw2mm5.js → shared-cache-wcag4vwh.js} +5 -5
- package/dist/chunks/{instruction-discovery-mbjf98jg.js → shared-cache-wcb0seqb.js} +5 -5
- package/dist/chunks/{instruction-discovery-wd87259q.js → shared-cache-wd87259q.js} +1 -1
- package/dist/chunks/{instruction-discovery-wegkxhrn.js → shared-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/shared-cache-wek1pbkg.js +577 -0
- package/dist/chunks/{instruction-discovery-s5zfc9yq.js → shared-cache-wnky02fj.js} +22 -22
- package/dist/chunks/{instruction-discovery-wr3re1en.js → shared-cache-wr3re1en.js} +1 -1
- package/dist/chunks/{instruction-discovery-ynje4bte.js → shared-cache-wr7fnyj9.js} +41 -41
- package/dist/chunks/{instruction-discovery-t5mbxrsy.js → shared-cache-wtbqwpvt.js} +7 -7
- package/dist/chunks/{instruction-discovery-7swydfwa.js → shared-cache-wtvh2wj8.js} +4 -4
- package/dist/chunks/{instruction-discovery-6y2b864j.js → shared-cache-wvr8xscb.js} +4 -4
- package/dist/chunks/{instruction-discovery-96wjz2c4.js → shared-cache-wwydwbka.js} +3 -3
- package/dist/chunks/{instruction-discovery-zdpv4g4w.js → shared-cache-wyrxm320.js} +15 -15
- package/dist/chunks/{instruction-discovery-53dtdpx1.js → shared-cache-wzrm8wac.js} +15 -15
- package/dist/chunks/{instruction-discovery-x598gsry.js → shared-cache-x46ggtbs.js} +23 -23
- package/dist/chunks/{instruction-discovery-gn7ew267.js → shared-cache-x7g18r6n.js} +10 -10
- package/dist/chunks/{instruction-discovery-y0xaz6f9.js → shared-cache-x7x6a94v.js} +35 -35
- package/dist/chunks/{instruction-discovery-ybws1qgk.js → shared-cache-x8vg82e7.js} +4 -4
- package/dist/chunks/{instruction-discovery-325vn2n2.js → shared-cache-xd5d1edb.js} +28 -28
- package/dist/chunks/{instruction-discovery-963hk181.js → shared-cache-xe6pezxp.js} +7 -7
- package/dist/chunks/{instruction-discovery-epekc6z1.js → shared-cache-xfb8s8r9.js} +8 -8
- package/dist/chunks/{instruction-discovery-zbe4wkn5.js → shared-cache-xh3zvdw2.js} +4 -4
- package/dist/chunks/{instruction-discovery-xjr6c8m4.js → shared-cache-xjr6c8m4.js} +1 -1
- package/dist/chunks/{instruction-discovery-sbfedy6n.js → shared-cache-xm0d14bs.js} +6 -6
- package/dist/chunks/{instruction-discovery-01vf3j65.js → shared-cache-xmzc5phe.js} +5 -5
- package/dist/chunks/{instruction-discovery-h10ep7jt.js → shared-cache-xqwwy3a8.js} +5 -5
- package/dist/chunks/{instruction-discovery-n320gsn2.js → shared-cache-xvn8mnch.js} +4 -4
- package/dist/chunks/{instruction-discovery-kbxe8y8m.js → shared-cache-y3nz9g9k.js} +24 -24
- package/dist/chunks/{instruction-discovery-kdzsn86r.js → shared-cache-yangap8x.js} +11 -11
- package/dist/chunks/{instruction-discovery-yb20nhc3.js → shared-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{instruction-discovery-3bk0cs9q.js → shared-cache-ybr44rvn.js} +16 -16
- package/dist/chunks/{instruction-discovery-yfmbdz01.js → shared-cache-yfmbdz01.js} +4 -4
- package/dist/chunks/{instruction-discovery-yr705xyq.js → shared-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{instruction-discovery-yvtc2x31.js → shared-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{instruction-discovery-5yvgq16p.js → shared-cache-yxhgvzzs.js} +24 -24
- package/dist/chunks/{instruction-discovery-daccra4s.js → shared-cache-z62x464m.js} +23 -23
- package/dist/chunks/{instruction-discovery-gg8vbga0.js → shared-cache-zdvgrne8.js} +16 -16
- package/dist/chunks/{instruction-discovery-ztekbv4n.js → shared-cache-zej528ss.js} +10 -10
- package/dist/chunks/{instruction-discovery-5zpqhmp2.js → shared-cache-zqjd7nbm.js} +6 -6
- package/dist/chunks/{instruction-discovery-y3w724ap.js → shared-cache-zsr0j9xc.js} +3 -3
- package/dist/chunks/{instruction-discovery-erjw19qw.js → shared-cache-zsr66ymz.js} +16 -16
- package/dist/chunks/{instruction-discovery-89pc8m6c.js → shared-cache-zx56srdn.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- 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 +130 -130
- 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 +131 -131
- package/dist/console-access.js +7 -7
- 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/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +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 +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- 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 +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +127 -127
- package/dist/form.js +83 -83
- 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 +112 -112
- 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 +3 -3
- 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 +431 -431
- package/dist/instruction-discovery.js +89 -89
- 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 +96 -96
- 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 +428 -428
- package/dist/location.js +100 -100
- 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 +187 -187
- 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 +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +150 -150
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- 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 +5 -5
- package/dist/plugin/internal.js +409 -409
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- 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 +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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +108 -108
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +1 -1
- 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 +135 -135
- package/dist/plugin/provider/opencode.js +159 -159
- 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 +237 -237
- package/dist/plugin/sdk.js +87 -87
- 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 +419 -419
- 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 +106 -106
- package/dist/plugin/warming.js +130 -130
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- 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 +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +110 -110
- 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 +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 +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- 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 +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +203 -203
- 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 +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- 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 +144 -144
- package/dist/session/message-updater.js +2 -2
- 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 +167 -167
- package/dist/session/projector.js +144 -144
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- 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 +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- 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 +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +245 -245
- package/dist/session/usage.js +1 -1
- package/dist/session.js +237 -237
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +159 -159
- 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 +170 -170
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- 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 +240 -240
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +156 -156
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +167 -167
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +98 -98
- 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 +3 -3
- package/dist/v1/config/mcp.js +2 -2
- 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 +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/instruction-discovery-8wxmz5d4.js +0 -577
- package/dist/chunks/instruction-discovery-a610t88q.js +0 -18
- package/dist/chunks/instruction-discovery-aecevvsy.js +0 -265
- package/dist/chunks/instruction-discovery-v49f35bs.js +0 -26
- /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → shared-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-0zkw76rk.js → shared-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-108x4f4w.js → shared-cache-108x4f4w.js} +0 -0
- /package/dist/chunks/{instruction-discovery-17cy0kzp.js → shared-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1cnp2v09.js → shared-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instruction-discovery-1kah00gy.js → shared-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-24dcb14g.js → shared-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2710q6r3.js → shared-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2bv980vf.js → shared-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → shared-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-359p4xyc.js → shared-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3af0jn4w.js → shared-cache-3af0jn4w.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3asan66x.js → shared-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3v8g72cx.js → shared-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instruction-discovery-3wcehsnq.js → shared-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instruction-discovery-43n2bw4t.js → shared-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4knz6hnm.js → shared-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4qk9sjk2.js → shared-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-4y7fprxs.js → shared-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instruction-discovery-53557ph1.js → shared-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-550bvhaj.js → shared-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-5w3e23ze.js → shared-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6agm2x70.js → shared-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6prwharc.js → shared-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → shared-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7akdwqpd.js → shared-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-7m9af43g.js → shared-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-822emrt2.js → shared-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-84wd9syh.js → shared-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{instruction-discovery-88xbtdfr.js → shared-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8n3pysct.js → shared-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{instruction-discovery-8wj87zfr.js → shared-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9a4afbnw.js → shared-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → shared-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instruction-discovery-a6k6eb26.js → shared-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instruction-discovery-af5trqkr.js → shared-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-afrmfg78.js → shared-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → shared-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instruction-discovery-atq7p7m5.js → shared-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-beh6qq61.js → shared-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bhmrqjy3.js → shared-cache-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → shared-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → shared-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cf4snx6d.js → shared-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cqv5kn06.js → shared-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → shared-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9fn303g.js → shared-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → shared-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dap0rakb.js → shared-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-df08tz66.js → shared-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{instruction-discovery-dy18nga0.js → shared-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-e5kj55wp.js → shared-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ean2d8b5.js → shared-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ec1grn59.js → shared-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{instruction-discovery-emrn6kk6.js → shared-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f0mxakyp.js → shared-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → shared-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instruction-discovery-faypxj3z.js → shared-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fd410y7t.js → shared-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{instruction-discovery-fkpq3x5p.js → shared-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g4wezp1m.js → shared-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instruction-discovery-g86h250q.js → shared-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gebd4c9n.js → shared-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instruction-discovery-gftt206x.js → shared-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hcxmzztb.js → shared-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instruction-discovery-hk9envan.js → shared-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j2ntwpah.js → shared-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → shared-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jjkms2e6.js → shared-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → shared-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → shared-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jwr30sdr.js → shared-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → shared-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instruction-discovery-m18g726c.js → shared-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-mp448xyj.js → shared-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{instruction-discovery-msx8hqn2.js → shared-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n05xt0ee.js → shared-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instruction-discovery-n3j8tn72.js → shared-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instruction-discovery-nh4v3znn.js → shared-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-njntx4h6.js → shared-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-p71gwv9c.js → shared-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q3sfg36h.js → shared-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-q74kybfr.js → shared-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qb87gjwd.js → shared-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qfa1cgps.js → shared-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qg3g05ea.js → shared-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instruction-discovery-qrg20bc0.js → shared-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → shared-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → shared-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ssg3fenm.js → shared-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instruction-discovery-syrav9an.js → shared-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{instruction-discovery-t03h4f5z.js → shared-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ty7weeps.js → shared-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ve7vex1e.js → shared-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instruction-discovery-vtarvj67.js → shared-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{instruction-discovery-w803qqfp.js → shared-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → shared-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wer8tq1h.js → shared-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instruction-discovery-wtztk69x.js → shared-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x0ckcb58.js → shared-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x4th4bpe.js → shared-cache-x4th4bpe.js} +0 -0
- /package/dist/chunks/{instruction-discovery-x61499pn.js → shared-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y44na4kk.js → shared-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{instruction-discovery-y8f7s663.js → shared-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → shared-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z0h12gs8.js → shared-cache-z0h12gs8.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → shared-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instruction-discovery-z9919s4g.js → shared-cache-z9919s4g.js} +0 -0
- /package/dist/chunks/{instruction-discovery-zxpyjp51.js → shared-cache-zxpyjp51.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./shared-cache-q85rya1m.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-qmh7vbk2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./shared-cache-msmvb520.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shared-cache-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start4 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service56;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service57), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
node83
|
|
3
|
+
} from "./shared-cache-bts412q5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shared-cache-te5k93n1.js";
|
|
8
8
|
import {
|
|
9
9
|
KVTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shared-cache-3hepkmqq.js";
|
|
11
11
|
import {
|
|
12
12
|
latest2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service76
|
|
14
|
+
} from "./shared-cache-9x7r0cde.js";
|
|
15
15
|
import {
|
|
16
16
|
DirectoryNotFoundError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shared-cache-fhbtwnk5.js";
|
|
18
18
|
import {
|
|
19
19
|
resolver2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shared-cache-xqwwy3a8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service56,
|
|
23
|
+
node59
|
|
24
|
+
} from "./shared-cache-q85rya1m.js";
|
|
25
25
|
import {
|
|
26
26
|
SessionMessage2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shared-cache-gftt206x.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shared-cache-mb7mbhnz.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service53,
|
|
33
|
+
node57
|
|
34
|
+
} from "./shared-cache-q8b8m709.js";
|
|
35
35
|
import {
|
|
36
36
|
Service31,
|
|
37
37
|
node35
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./shared-cache-ech2384w.js";
|
|
39
39
|
import {
|
|
40
40
|
validate2,
|
|
41
41
|
describe2,
|
|
42
42
|
authorize2,
|
|
43
43
|
evaluate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shared-cache-m93wfvm4.js";
|
|
45
45
|
import {
|
|
46
46
|
ScheduleTable2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./shared-cache-wegkxhrn.js";
|
|
48
48
|
import {
|
|
49
49
|
__export
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
51
51
|
|
|
52
52
|
// src/schedule.ts
|
|
53
53
|
var exports_schedule2 = {};
|
|
54
54
|
__export(exports_schedule2, {
|
|
55
55
|
Condition: () => Condition2,
|
|
56
56
|
ConditionInput: () => ConditionInput2,
|
|
57
|
-
CreateInput: () =>
|
|
57
|
+
CreateInput: () => CreateInput3,
|
|
58
58
|
DisabledError: () => DisabledError2,
|
|
59
|
-
ID: () =>
|
|
60
|
-
Info: () =>
|
|
59
|
+
ID: () => ID5,
|
|
60
|
+
Info: () => Info5,
|
|
61
61
|
InvalidError: () => InvalidError2,
|
|
62
|
-
NotFoundError: () =>
|
|
62
|
+
NotFoundError: () => NotFoundError3,
|
|
63
63
|
Outcome: () => Outcome3,
|
|
64
64
|
Request: () => Request2,
|
|
65
65
|
Schedule: () => exports_schedule2,
|
|
66
|
-
Service: () =>
|
|
66
|
+
Service: () => Service19,
|
|
67
67
|
Status: () => Status2,
|
|
68
68
|
When: () => When2,
|
|
69
|
-
node: () =>
|
|
69
|
+
node: () => node22,
|
|
70
70
|
toCreateInput: () => toCreateInput2
|
|
71
71
|
});
|
|
72
72
|
import { randomUUID } from "node:crypto";
|
|
@@ -76,18 +76,18 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
76
76
|
import {
|
|
77
77
|
Condition as Condition2,
|
|
78
78
|
ConditionInput as ConditionInput2,
|
|
79
|
-
CreateInput as
|
|
79
|
+
CreateInput as CreateInput3,
|
|
80
80
|
durationMillis,
|
|
81
|
-
ID as
|
|
82
|
-
Info as
|
|
81
|
+
ID as ID5,
|
|
82
|
+
Info as Info5,
|
|
83
83
|
Outcome as Outcome3,
|
|
84
84
|
Request as Request2,
|
|
85
85
|
Status as Status2,
|
|
86
86
|
toCreateInput as toCreateInput2,
|
|
87
87
|
When as When2
|
|
88
88
|
} from "@opencode/schema/schedule";
|
|
89
|
-
class
|
|
90
|
-
scheduleID:
|
|
89
|
+
class NotFoundError3 extends Schema.TaggedError()("Schedule.NotFoundError", {
|
|
90
|
+
scheduleID: ID5
|
|
91
91
|
}) {
|
|
92
92
|
get message() {
|
|
93
93
|
return `Schedule not found: ${this.scheduleID}`;
|
|
@@ -108,7 +108,7 @@ class DisabledError2 extends Schema.TaggedError()("Schedule.DisabledError", {})
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service19 extends Context.Service()("@opencode/Schedule") {
|
|
112
112
|
}
|
|
113
113
|
var MINUTE = 60000;
|
|
114
114
|
var HOUR = 60 * MINUTE;
|
|
@@ -194,16 +194,16 @@ var toInfo = (row, lastOutput) => ({
|
|
|
194
194
|
...lastOutput === undefined ? {} : { lastOutput },
|
|
195
195
|
time: { created: DateTime.makeUnsafe(row.time_created), updated: DateTime.makeUnsafe(row.time_updated) }
|
|
196
196
|
});
|
|
197
|
-
var layer = Layer.effect(
|
|
197
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
198
198
|
const database = yield* Service92;
|
|
199
199
|
const db = database.db;
|
|
200
200
|
const sessions = yield* Service31;
|
|
201
|
-
const instances = yield*
|
|
202
|
-
const execution = yield*
|
|
201
|
+
const instances = yield* Service56;
|
|
202
|
+
const execution = yield* Service53;
|
|
203
203
|
const doorbell = yield* Latch.make();
|
|
204
204
|
const flags = yield* resolver2;
|
|
205
205
|
const settings = (session) => Effect.gen(function* () {
|
|
206
|
-
const config = yield* Effect.serviceOption(
|
|
206
|
+
const config = yield* Effect.serviceOption(Service76);
|
|
207
207
|
if (Option.isNone(config))
|
|
208
208
|
return { enabled: false, timezone: undefined };
|
|
209
209
|
const entries = yield* config.value.entries();
|
|
@@ -212,7 +212,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
212
212
|
timezone: latest2(entries, "timezone")
|
|
213
213
|
};
|
|
214
214
|
}).pipe(instances.provide(session));
|
|
215
|
-
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new
|
|
215
|
+
const find = (id) => db.select().from(ScheduleTable2).where(eq(ScheduleTable2.id, id)).get().pipe(Effect.orDie, Effect.flatMap((row) => row ? Effect.succeed(row) : Effect.fail(new NotFoundError3({ scheduleID: id }))));
|
|
216
216
|
const update = (row, values) => db.update(ScheduleTable2).set(values).where(and(eq(ScheduleTable2.id, row.id), eq(ScheduleTable2.status, "active"))).run().pipe(Effect.orDie);
|
|
217
217
|
const pending = (id) => db.select({ id: SessionInboxTable2.id }).from(SessionInboxTable2).where(eq(SessionInboxTable2.id, id)).get().pipe(Effect.orDie, Effect.map((row) => row !== undefined));
|
|
218
218
|
const admitWake = Effect.fnUntraced(function* (row, sessionID, run, due, late, text, checkMeta) {
|
|
@@ -486,7 +486,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
486
486
|
return yield* new InvalidError2({ reason: `Invalid time: ${ends.at}` });
|
|
487
487
|
return Math.min(at.value, after ?? at.value);
|
|
488
488
|
});
|
|
489
|
-
return
|
|
489
|
+
return Service19.of({
|
|
490
490
|
create: Effect.fn("Schedule.create")(function* (input) {
|
|
491
491
|
const session = yield* sessions.get(input.sessionID);
|
|
492
492
|
const missingDirectory = () => Effect.fail(new InvalidError2({ reason: `Session directory does not exist: ${session.location.directory}` }));
|
|
@@ -505,7 +505,7 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
505
505
|
const ends = yield* endsAt(input.ends, check?.mode === "until", zone, now);
|
|
506
506
|
if (ends !== null && due > ends)
|
|
507
507
|
return yield* new InvalidError2({ reason: "The schedule ends before it first fires" });
|
|
508
|
-
const scheduleID =
|
|
508
|
+
const scheduleID = ID5.create();
|
|
509
509
|
const seeded = check === undefined ? UNSEEDED : yield* Effect.gen(function* () {
|
|
510
510
|
yield* authorize2(session, input.name, when, check).pipe(instances.provide(session), Effect.mapError((error) => typeof error === "string" ? new InvalidError2({ reason: error }) : error), Effect.catchTag("FileSystem.DirectoryNotFoundError", missingDirectory));
|
|
511
511
|
const shouldSeed = check.mode === "until" || check.condition.type === "code" || check.condition.type === "shell" && check.condition.changes === true;
|
|
@@ -598,10 +598,10 @@ ${note}`, { error: outcome.error, failures: strikes });
|
|
|
598
598
|
run
|
|
599
599
|
});
|
|
600
600
|
}));
|
|
601
|
-
var
|
|
602
|
-
service:
|
|
601
|
+
var node22 = makeGlobalNode({
|
|
602
|
+
service: Service19,
|
|
603
603
|
layer,
|
|
604
|
-
deps: [
|
|
604
|
+
deps: [node83, node96, node35, node57, node59]
|
|
605
605
|
});
|
|
606
606
|
|
|
607
|
-
export { Condition2, ConditionInput2,
|
|
607
|
+
export { Condition2, ConditionInput2, CreateInput3, ID5, Info5, Outcome3, Request2, Status2, toCreateInput2, When2, NotFoundError3, InvalidError2, DisabledError2, Service19, node22, exports_schedule2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service13
|
|
3
|
+
} from "./shared-cache-trmp3bn7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/tool/plugin/write.ts
|
|
9
9
|
var exports_write = {};
|
|
10
10
|
__export(exports_write, {
|
|
11
11
|
Input: () => Input11,
|
|
12
|
-
Output: () =>
|
|
13
|
-
Plugin: () =>
|
|
12
|
+
Output: () => Output8,
|
|
13
|
+
Plugin: () => Plugin49,
|
|
14
14
|
WriteTool: () => exports_write,
|
|
15
15
|
name: () => name11,
|
|
16
|
-
toModelContent: () =>
|
|
16
|
+
toModelContent: () => toModelContent5
|
|
17
17
|
});
|
|
18
18
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
@@ -24,17 +24,17 @@ var Input11 = Schema.Struct({
|
|
|
24
24
|
}),
|
|
25
25
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
26
26
|
});
|
|
27
|
-
var
|
|
27
|
+
var Output8 = Schema.Struct({
|
|
28
28
|
operation: Schema.Literal("write"),
|
|
29
29
|
target: Schema.String,
|
|
30
30
|
resource: Schema.String,
|
|
31
31
|
existed: Schema.Boolean
|
|
32
32
|
});
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
34
|
+
var Plugin49 = {
|
|
35
35
|
id: "opencode.tool.write",
|
|
36
36
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
37
|
-
const fileWrite = yield*
|
|
37
|
+
const fileWrite = yield* Service13;
|
|
38
38
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
39
39
|
name: name11,
|
|
40
40
|
options: { codemode: false, permission: "edit" },
|
|
@@ -44,7 +44,7 @@ Missing parent directories are created automatically.
|
|
|
44
44
|
|
|
45
45
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
46
46
|
input: Input11,
|
|
47
|
-
output:
|
|
47
|
+
output: Output8,
|
|
48
48
|
execute: (input, context) => Effect.gen(function* () {
|
|
49
49
|
const written = yield* fileWrite.write(input, context);
|
|
50
50
|
return {
|
|
@@ -53,9 +53,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
53
53
|
resource: written.resource,
|
|
54
54
|
existed: written.existed
|
|
55
55
|
};
|
|
56
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
56
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
57
57
|
})).pipe(Effect.orDie);
|
|
58
58
|
})
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
export { name11, Input11,
|
|
61
|
+
export { name11, Input11, Output8, toModelContent5, Plugin49, exports_write };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ID18
|
|
3
|
-
} from "./instruction-discovery-sxfd91sh.js";
|
|
4
1
|
import {
|
|
5
2
|
ID17
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-1aahdxx4.js";
|
|
4
|
+
import {
|
|
5
|
+
ID16
|
|
6
|
+
} from "./shared-cache-jpsqkeqj.js";
|
|
7
7
|
import {
|
|
8
8
|
onSwitch2,
|
|
9
9
|
reloadIfChanged2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shared-cache-eqvyempq.js";
|
|
11
11
|
import {
|
|
12
12
|
activeCredential2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shared-cache-cce3w22e.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/openai-context-caps.ts
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
|
-
var integrationID =
|
|
18
|
+
var integrationID = ID17.make("openai");
|
|
19
19
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
20
20
|
var legacyInput = 272000;
|
|
21
21
|
var currentInput = 500000;
|
|
@@ -33,7 +33,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
33
33
|
yield* ctx.model.transform((models) => {
|
|
34
34
|
if (!signedIn)
|
|
35
35
|
return;
|
|
36
|
-
for (const model of models.list(
|
|
36
|
+
for (const model of models.list(ID16.openai)) {
|
|
37
37
|
models.update(model.providerID, model.id, (draft) => {
|
|
38
38
|
const input = cap(draft.modelID ?? draft.id);
|
|
39
39
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service56,
|
|
3
|
+
node59
|
|
4
|
+
} from "./shared-cache-q85rya1m.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Service67,
|
|
7
|
+
node70,
|
|
8
8
|
canonical3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shared-cache-42snwakh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service26
|
|
12
|
+
} from "./shared-cache-b2je6s5v.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shared-cache-me8awwbv.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
var HELD_WARNING_AFTER = "30 seconds";
|
|
20
20
|
function buildLocationServiceMap2(replacements = []) {
|
|
21
|
-
return Layer.effect(
|
|
21
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
22
22
|
const owner = yield* Effect.scope;
|
|
23
23
|
const builds = MutableHashMap.empty();
|
|
24
24
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
const finish = Effect.suspend(() => {
|
|
29
29
|
if (Exit.isSuccess(exit)) {
|
|
30
30
|
return Effect.gen(function* () {
|
|
31
|
-
const lifecycle = Context.get(exit.value,
|
|
31
|
+
const lifecycle = Context.get(exit.value, Service26);
|
|
32
32
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
33
33
|
return yield* lifecycle.shutdown;
|
|
34
34
|
build.close = lifecycle.shutdown;
|
|
@@ -65,11 +65,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
65
65
|
}).pipe(Effect.uninterruptible)
|
|
66
66
|
};
|
|
67
67
|
const bindings = [
|
|
68
|
-
|
|
68
|
+
node59.replace(Layer.succeed(Service56, {
|
|
69
69
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
70
70
|
})),
|
|
71
71
|
...replacements,
|
|
72
|
-
|
|
72
|
+
node70.replace(Layer.succeed(Service67, map))
|
|
73
73
|
];
|
|
74
74
|
return map;
|
|
75
75
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-bts412q5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./shared-cache-9x7r0cde.js";
|
|
7
7
|
import {
|
|
8
8
|
batches2,
|
|
9
9
|
insertBatches2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shared-cache-jm70asfg.js";
|
|
11
11
|
import {
|
|
12
12
|
enabled3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shared-cache-xqwwy3a8.js";
|
|
14
14
|
import {
|
|
15
15
|
BlobTable2,
|
|
16
16
|
BlobRefTable2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./shared-cache-mb7mbhnz.js";
|
|
18
18
|
import {
|
|
19
19
|
refHash2,
|
|
20
20
|
ref2,
|
|
21
21
|
FileRef2,
|
|
22
22
|
ToolFileRef2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shared-cache-prq7xxp2.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/blob.ts
|
|
29
29
|
var exports_blob = {};
|
|
@@ -204,7 +204,7 @@ var read3 = Effect.fnUntraced(function* (db, hash) {
|
|
|
204
204
|
});
|
|
205
205
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
206
206
|
var enabled2 = Effect.gen(function* () {
|
|
207
|
-
const config = yield* Effect.serviceOption(
|
|
207
|
+
const config = yield* Effect.serviceOption(Service76);
|
|
208
208
|
if (Option.isNone(config))
|
|
209
209
|
return false;
|
|
210
210
|
return yield* enabled3("media_blob");
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-te5k93n1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service90
|
|
6
|
+
} from "./shared-cache-4h8czndd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./shared-cache-q85rya1m.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shared-cache-89287pr7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shared-cache-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError12,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shared-cache-zqjd7nbm.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shared-cache-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service70
|
|
29
|
+
} from "./shared-cache-fsvajjj2.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service55
|
|
33
|
+
} from "./shared-cache-pdrsmsya.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service53
|
|
36
|
+
} from "./shared-cache-q8b8m709.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shared-cache-zdvgrne8.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shared-cache-d7mb465w.js";
|
|
45
45
|
import {
|
|
46
46
|
start4
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./shared-cache-1bp2mc9a.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./shared-cache-9dgkqg1r.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
@@ -62,18 +62,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
var make23 = Effect.fn("Session.make")(function* () {
|
|
65
|
-
const bus = yield*
|
|
65
|
+
const bus = yield* Service90;
|
|
66
66
|
const database = yield* Service92;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service70;
|
|
68
|
+
const instances = yield* Service56;
|
|
69
|
+
const execution = yield* Service53;
|
|
70
|
+
const admission = yield* Service55;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError12({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -164,7 +164,7 @@ var make23 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service56, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
196
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service56, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service92, database), Effect.provideService(Service90, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service90, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-4ejc1f65.js";
|
|
4
4
|
import {
|
|
5
5
|
invocation2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./shared-cache-b30d3r48.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/tool/plugin/question.ts
|
|
13
13
|
var exports_question = {};
|
|
@@ -18,13 +18,13 @@ __export(exports_question, {
|
|
|
18
18
|
Plugin: () => Plugin55,
|
|
19
19
|
QuestionTool: () => exports_question,
|
|
20
20
|
description: () => description8,
|
|
21
|
-
name: () =>
|
|
21
|
+
name: () => name15,
|
|
22
22
|
toModelContent: () => toModelContent7
|
|
23
23
|
});
|
|
24
24
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
26
26
|
import { Question } from "@opencode/schema/question";
|
|
27
|
-
var
|
|
27
|
+
var name15 = "question";
|
|
28
28
|
var description8 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
29
29
|
1. Gather user preferences or requirements
|
|
30
30
|
2. Clarify ambiguous instructions
|
|
@@ -55,9 +55,9 @@ var Plugin55 = {
|
|
|
55
55
|
id: "opencode.tool.question",
|
|
56
56
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
57
57
|
const forms = yield* Service86;
|
|
58
|
-
const permission = yield*
|
|
58
|
+
const permission = yield* Service68;
|
|
59
59
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
60
|
-
name:
|
|
60
|
+
name: name15,
|
|
61
61
|
options: { codemode: false },
|
|
62
62
|
description: description8,
|
|
63
63
|
input: Input16,
|
|
@@ -116,4 +116,4 @@ function toField(question, index) {
|
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { name15, description8, Input16, Output11, CancelledError2, toModelContent7, Plugin55, exports_question };
|