@opencode/core 0.0.0-dev-455 → 0.0.0-dev-457
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 +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/{file-retention-ba16f7j8.js → shared-cache-01qan1r0.js} +16 -16
- package/dist/chunks/{file-retention-034tev2y.js → shared-cache-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-6xwywkh7.js → shared-cache-03mpff5k.js} +13 -13
- package/dist/chunks/shared-cache-0gdrrj59.js +16 -0
- package/dist/chunks/{file-retention-hnxa655x.js → shared-cache-0j8e1req.js} +20 -20
- package/dist/chunks/{file-retention-0ma9gw4f.js → shared-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{file-retention-gj10dfeb.js → shared-cache-0q0exa15.js} +14 -14
- package/dist/chunks/{file-retention-k0kcv3gp.js → shared-cache-0r84vseg.js} +9 -9
- package/dist/chunks/{file-retention-4angwywx.js → shared-cache-0s2nyjka.js} +19 -19
- package/dist/chunks/{file-retention-0r7m7rz3.js → shared-cache-0se1q41g.js} +13 -13
- package/dist/chunks/{file-retention-snhnc0ef.js → shared-cache-0vfm4m30.js} +10 -10
- package/dist/chunks/{file-retention-200qe1b4.js → shared-cache-0wdj7mfr.js} +11 -11
- package/dist/chunks/{file-retention-hkyks9g6.js → shared-cache-0xe6vqk7.js} +14 -14
- package/dist/chunks/{file-retention-ananre62.js → shared-cache-0zrvsdva.js} +10 -10
- package/dist/chunks/{file-retention-rcw12gd3.js → shared-cache-18y3b983.js} +50 -50
- package/dist/chunks/{file-retention-1aqsckx4.js → shared-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{file-retention-1ep2p91f.js → shared-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-05aqx4at.js → shared-cache-1rfmbpcr.js} +50 -50
- package/dist/chunks/{file-retention-2cdjxzfg.js → shared-cache-1scgcwfj.js} +3 -3
- package/dist/chunks/{file-retention-30asjkfk.js → shared-cache-1ss34ysn.js} +18 -18
- package/dist/chunks/{file-retention-tgc8br6y.js → shared-cache-1sz52pcc.js} +9 -9
- package/dist/chunks/{file-retention-gbcn9d4h.js → shared-cache-1tcfse8e.js} +5 -5
- package/dist/chunks/{file-retention-94e33dpz.js → shared-cache-1vbrkdbs.js} +3 -3
- package/dist/chunks/{file-retention-1x2knyw4.js → shared-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-5zrxpy3q.js → shared-cache-1yq9hg58.js} +5 -5
- package/dist/chunks/{file-retention-9pkyxfc8.js → shared-cache-20httykd.js} +33 -33
- package/dist/chunks/{file-retention-8b3vzgkx.js → shared-cache-25h84942.js} +4 -4
- package/dist/chunks/{file-retention-jd8phrvf.js → shared-cache-28mzk8dv.js} +25 -25
- package/dist/chunks/{file-retention-5qg32bbs.js → shared-cache-29tqe9d2.js} +23 -23
- package/dist/chunks/{file-retention-cxab28sr.js → shared-cache-2bswbpgz.js} +4 -4
- package/dist/chunks/{file-retention-gh4z7wry.js → shared-cache-2hh34rxg.js} +42 -42
- package/dist/chunks/{file-retention-dkb1sx3x.js → shared-cache-2j9d56vn.js} +32 -32
- package/dist/chunks/{file-retention-2p60zmnr.js → shared-cache-2p60zmnr.js} +2 -2
- package/dist/chunks/{file-retention-5s9wkzxm.js → shared-cache-2q55fwpn.js} +17 -17
- package/dist/chunks/{file-retention-xgbgysg1.js → shared-cache-31r9ew24.js} +20 -20
- package/dist/chunks/{file-retention-m2bn1thc.js → shared-cache-335h8y1q.js} +45 -45
- package/dist/chunks/{file-retention-vh942nm4.js → shared-cache-35540211.js} +15 -15
- package/dist/chunks/{file-retention-390xskpw.js → shared-cache-390xskpw.js} +1 -1
- package/dist/chunks/{file-retention-2ydq151f.js → shared-cache-3aftw05r.js} +14 -14
- package/dist/chunks/{file-retention-g63e6h3e.js → shared-cache-3d9m6vm1.js} +35 -35
- package/dist/chunks/{file-retention-fwp9mfc9.js → shared-cache-3gv0spa2.js} +4 -4
- package/dist/chunks/{file-retention-3hepkmqq.js → shared-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-kpa09rhw.js → shared-cache-3kmrk0at.js} +8 -8
- package/dist/chunks/{file-retention-3nnrz6f6.js → shared-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-retention-hew1js5q.js → shared-cache-3sj5a19d.js} +2 -2
- package/dist/chunks/{file-retention-q5nd4tdk.js → shared-cache-3we67zyn.js} +7 -7
- package/dist/chunks/{file-retention-yx0ag50g.js → shared-cache-3wmw86pa.js} +19 -19
- package/dist/chunks/{file-retention-yfe5zj2r.js → shared-cache-40r16e5m.js} +3 -3
- package/dist/chunks/{file-retention-40y6dtc2.js → shared-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{file-retention-ynsc8wg2.js → shared-cache-44jvmyw9.js} +12 -12
- package/dist/chunks/{file-retention-44pmzq9c.js → shared-cache-44pmzq9c.js} +2 -2
- package/dist/chunks/{file-retention-5b8228w4.js → shared-cache-4908ts34.js} +19 -19
- package/dist/chunks/{file-retention-7ecjk65p.js → shared-cache-4ajefbv8.js} +11 -11
- package/dist/chunks/{file-retention-4dx1dgte.js → shared-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{file-retention-4f25tdd0.js → shared-cache-4f25tdd0.js} +1 -1
- package/dist/chunks/{file-retention-dx38te4v.js → shared-cache-4he7yfh3.js} +21 -21
- package/dist/chunks/{file-retention-4pyp9zr9.js → shared-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-4v008n1t.js → shared-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-5j4z2rnn.js → shared-cache-4wwt44bz.js} +28 -28
- package/dist/chunks/{file-retention-h5enc8pd.js → shared-cache-4zqa8vte.js} +25 -25
- package/dist/chunks/{file-retention-581r698v.js → shared-cache-53dvpje3.js} +4 -4
- package/dist/chunks/{file-retention-d4gmqgvp.js → shared-cache-53j7xvnm.js} +16 -16
- package/dist/chunks/{file-retention-xhthag0s.js → shared-cache-54kgf0t3.js} +13 -13
- package/dist/chunks/{file-retention-k9wymzdg.js → shared-cache-5e5gz891.js} +6 -6
- package/dist/chunks/{file-retention-qe6wsf1h.js → shared-cache-5hzm2a2n.js} +5 -5
- package/dist/chunks/{file-retention-5m9w47nd.js → shared-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-b6vsg801.js → shared-cache-5nnwax6m.js} +5 -5
- package/dist/chunks/{file-retention-bg3xpdpw.js → shared-cache-5sbjqqwj.js} +27 -27
- package/dist/chunks/{file-retention-fjjazzdv.js → shared-cache-5sk19c47.js} +17 -17
- package/dist/chunks/{file-retention-z7re6mpg.js → shared-cache-65zstjt1.js} +13 -13
- package/dist/chunks/{file-retention-4cqst6fr.js → shared-cache-660m4eb8.js} +3 -3
- package/dist/chunks/{file-retention-72b6x64g.js → shared-cache-6mdbkvg8.js} +5 -5
- package/dist/chunks/{file-retention-3zhtqa8b.js → shared-cache-6qqp4y7r.js} +10 -10
- package/dist/chunks/{file-retention-1phbxqt1.js → shared-cache-6v1f9b3c.js} +3 -3
- package/dist/chunks/{file-retention-av46dpsn.js → shared-cache-73czttcw.js} +11 -11
- package/dist/chunks/{file-retention-wh423nk9.js → shared-cache-73hwfq4w.js} +28 -28
- package/dist/chunks/{file-retention-0cwqm0ac.js → shared-cache-76ac2f9y.js} +43 -43
- package/dist/chunks/{file-retention-76cb1hcw.js → shared-cache-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-retention-6zvhcg4h.js → shared-cache-76pt27tc.js} +16 -16
- package/dist/chunks/{file-retention-dncts3kv.js → shared-cache-78az2fcw.js} +58 -58
- package/dist/chunks/{file-retention-0wcgapck.js → shared-cache-78c83dz3.js} +5 -5
- package/dist/chunks/{file-retention-n6xbcgna.js → shared-cache-79hsyw72.js} +12 -12
- package/dist/chunks/{file-retention-mbhkhp6q.js → shared-cache-7bdez437.js} +6 -6
- package/dist/chunks/{file-retention-7bmhse3q.js → shared-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-nmarmpt2.js → shared-cache-7e18g4px.js} +21 -21
- package/dist/chunks/{file-retention-7kr66rt3.js → shared-cache-7kr66rt3.js} +1 -1
- package/dist/chunks/{file-retention-x4mcewfn.js → shared-cache-7nqkf5r1.js} +4 -4
- package/dist/chunks/{file-retention-7w2ypzdf.js → shared-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-7weczvnd.js → shared-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{file-retention-pkq3dv06.js → shared-cache-7z7n868z.js} +13 -13
- package/dist/chunks/{file-retention-80mg3ag8.js → shared-cache-80mg3ag8.js} +3 -3
- package/dist/chunks/{file-retention-j90hxq85.js → shared-cache-82m30djg.js} +11 -11
- package/dist/chunks/{file-retention-496yft2b.js → shared-cache-83z2hrem.js} +4 -4
- package/dist/chunks/{file-retention-jmekf4r3.js → shared-cache-87dpdb9s.js} +9 -9
- package/dist/chunks/{file-retention-2dfh1hr2.js → shared-cache-8889jn16.js} +28 -28
- package/dist/chunks/{file-retention-89287pr7.js → shared-cache-89287pr7.js} +1 -1
- package/dist/chunks/{file-retention-4d2dtj2f.js → shared-cache-8cg7mtm3.js} +4 -4
- package/dist/chunks/{file-retention-rjdswr2s.js → shared-cache-8d1w7f37.js} +22 -22
- package/dist/chunks/{file-retention-0bhp1jsg.js → shared-cache-8dq44xrt.js} +13 -13
- package/dist/chunks/{file-retention-87jq36v2.js → shared-cache-8ejs04fm.js} +25 -25
- package/dist/chunks/{file-retention-fa7jqgqj.js → shared-cache-8n59df1n.js} +6 -6
- package/dist/chunks/{file-retention-8sxe6kv8.js → shared-cache-8sxe6kv8.js} +2 -2
- package/dist/chunks/{file-retention-8v7h9drr.js → shared-cache-8vbpq9va.js} +34 -34
- package/dist/chunks/{file-retention-8wtp7s3z.js → shared-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-90zstvax.js → shared-cache-90zstvax.js} +1 -1
- package/dist/chunks/{file-retention-xmm4qtr7.js → shared-cache-92etfc35.js} +19 -19
- package/dist/chunks/{file-retention-6nj48chv.js → shared-cache-956zvm58.js} +7 -7
- package/dist/chunks/{file-retention-mzm8bzzq.js → shared-cache-95sp4hdf.js} +4 -4
- package/dist/chunks/{file-retention-snjqag79.js → shared-cache-963hk181.js} +9 -9
- package/dist/chunks/{file-retention-tfhex4ds.js → shared-cache-978jgtnz.js} +82 -82
- package/dist/chunks/{file-retention-2n7mmhny.js → shared-cache-9b6r78gs.js} +22 -22
- package/dist/chunks/{file-retention-brbp1jmy.js → shared-cache-9cdcbvsm.js} +12 -12
- package/dist/chunks/{file-retention-v0t96s7a.js → shared-cache-9q8g9sv8.js} +4 -4
- package/dist/chunks/{file-retention-ay9b3rdk.js → shared-cache-9rxeyvad.js} +20 -20
- package/dist/chunks/{file-retention-55mjyme4.js → shared-cache-9x29zr15.js} +6 -6
- package/dist/chunks/{file-retention-gxe5e77w.js → shared-cache-9y752z0k.js} +11 -11
- package/dist/chunks/{file-retention-61qraad9.js → shared-cache-9zwexsxs.js} +5 -5
- package/dist/chunks/{file-retention-721agqj7.js → shared-cache-a4ejydmw.js} +28 -28
- package/dist/chunks/{file-retention-rr9v9k3b.js → shared-cache-a4tn1t8d.js} +12 -12
- package/dist/chunks/{file-retention-4whyrg43.js → shared-cache-ac0nrts2.js} +9 -9
- package/dist/chunks/{file-retention-gmnq7sxz.js → shared-cache-ahytd4qs.js} +55 -55
- package/dist/chunks/{file-retention-xe84dabc.js → shared-cache-aq5frc3d.js} +4 -4
- package/dist/chunks/{file-retention-m9js7g7m.js → shared-cache-ara4d2g6.js} +9 -9
- package/dist/chunks/{file-retention-68tn9ypg.js → shared-cache-as0mg86e.js} +18 -18
- package/dist/chunks/{file-retention-ayjs7tqn.js → shared-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-c32zfq3f.js → shared-cache-b096peb1.js} +8 -8
- package/dist/chunks/{file-retention-atscc837.js → shared-cache-b2scchx5.js} +18 -18
- package/dist/chunks/{file-retention-9dm6vsa2.js → shared-cache-b8kb0jc9.js} +18 -18
- package/dist/chunks/{file-retention-a5wpc3w3.js → shared-cache-b948jmy1.js} +51 -51
- package/dist/chunks/{file-retention-e5dmmprw.js → shared-cache-bd54nrqf.js} +10 -10
- package/dist/chunks/{file-retention-3gvmrzme.js → shared-cache-bexzbe2y.js} +40 -40
- package/dist/chunks/{file-retention-dvyrd087.js → shared-cache-bfmgkdsj.js} +32 -32
- package/dist/chunks/{file-retention-gcavn3wx.js → shared-cache-bgs9y14h.js} +5 -5
- package/dist/chunks/{file-retention-skrg2vfv.js → shared-cache-bgtfms1n.js} +32 -32
- package/dist/chunks/{file-retention-n8089wab.js → shared-cache-c322zrrb.js} +14 -14
- package/dist/chunks/{file-retention-r388hamt.js → shared-cache-c54xxfzm.js} +36 -36
- package/dist/chunks/{file-retention-e6er0smf.js → shared-cache-cb32ztw6.js} +7 -7
- package/dist/chunks/{file-retention-qxk677ch.js → shared-cache-csby1x6w.js} +31 -31
- package/dist/chunks/{file-retention-pjx7tz23.js → shared-cache-cskeh2qn.js} +5 -5
- package/dist/chunks/{file-retention-5ewy4ftf.js → shared-cache-cv3zt5fr.js} +39 -39
- package/dist/chunks/{file-retention-cwrgdav8.js → shared-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-xnc68z72.js → shared-cache-czh9y0nn.js} +12 -12
- package/dist/chunks/{file-retention-ctxsgcm2.js → shared-cache-d34c0f98.js} +8 -8
- package/dist/chunks/{file-retention-d4v9tmah.js → shared-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-tnya1cye.js → shared-cache-d9j8kz1s.js} +6 -6
- package/dist/chunks/{file-retention-s93d5mte.js → shared-cache-dbxc1608.js} +21 -21
- package/dist/chunks/{file-retention-rfhh9jbp.js → shared-cache-dmze3mc3.js} +5 -5
- package/dist/chunks/{file-retention-ymb0ygkv.js → shared-cache-dn2tbeq0.js} +20 -20
- package/dist/chunks/{file-retention-qtjtwdkb.js → shared-cache-dpfwk0f7.js} +27 -27
- package/dist/chunks/{file-retention-dt77769w.js → shared-cache-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-v37bc009.js → shared-cache-dv250zvr.js} +3 -3
- package/dist/chunks/{file-retention-ym5ftk47.js → shared-cache-dyebhzpv.js} +19 -19
- package/dist/chunks/{file-retention-1tdxr5p7.js → shared-cache-e09ngpdh.js} +32 -32
- package/dist/chunks/{file-retention-ctj276x0.js → shared-cache-e4939h50.js} +19 -19
- package/dist/chunks/shared-cache-e4dsdy5r.js +26 -0
- package/dist/chunks/{file-retention-e834z07m.js → shared-cache-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-1pq4mddz.js → shared-cache-ekkk0f4d.js} +23 -23
- package/dist/chunks/{file-retention-pmhb73dp.js → shared-cache-emjzq4az.js} +21 -21
- package/dist/chunks/{file-retention-eqw4pqj1.js → shared-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{file-retention-ewa1ec51.js → shared-cache-ewa1ec51.js} +4 -4
- package/dist/chunks/{file-retention-qbkx85ty.js → shared-cache-f3fdhana.js} +15 -15
- package/dist/chunks/{file-retention-3g1e149e.js → shared-cache-f7qhqc2m.js} +16 -16
- package/dist/chunks/{file-retention-fffv3p7h.js → shared-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-fg9p65nk.js → shared-cache-fg9p65nk.js} +2 -2
- package/dist/chunks/{file-retention-vxcj7dj3.js → shared-cache-fjae3t1k.js} +15 -15
- package/dist/chunks/{file-retention-a4ww6fpm.js → shared-cache-fpjxw46t.js} +6 -6
- package/dist/chunks/shared-cache-fsrrdggk.js +261 -0
- package/dist/chunks/{file-retention-3kr3r5pw.js → shared-cache-fv0gqzre.js} +2 -2
- package/dist/chunks/{file-retention-9s6tmzsz.js → shared-cache-fwj8chqf.js} +17 -17
- package/dist/chunks/{file-retention-w1g97wbr.js → shared-cache-g6fwdp5w.js} +11 -11
- package/dist/chunks/{file-retention-4yazknq3.js → shared-cache-g7szjcez.js} +51 -51
- package/dist/chunks/{file-retention-gbjdnr5j.js → shared-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{file-retention-rmt6m6se.js → shared-cache-gcjdgkn2.js} +9 -9
- package/dist/chunks/{file-retention-6xnqn21j.js → shared-cache-gjb13sdp.js} +5 -5
- package/dist/chunks/{file-retention-9s8ccxzp.js → shared-cache-gn6y8vzr.js} +12 -12
- package/dist/chunks/{file-retention-650f1sfx.js → shared-cache-gtsw9av3.js} +11 -11
- package/dist/chunks/{file-retention-9g6yrp67.js → shared-cache-gw99hzbq.js} +200 -200
- package/dist/chunks/{file-retention-wfnayh71.js → shared-cache-h1fsh5gg.js} +11 -11
- package/dist/chunks/{file-retention-wy0xsgxw.js → shared-cache-h4694nx1.js} +5 -5
- package/dist/chunks/{file-retention-ap8y92rr.js → shared-cache-h99ek2x4.js} +9 -9
- package/dist/chunks/{file-retention-f7rj94ae.js → shared-cache-hp5p8e88.js} +48 -48
- package/dist/chunks/{file-retention-hpg1pkwy.js → shared-cache-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-retention-abtpjz44.js → shared-cache-hs0y3m5w.js} +18 -18
- package/dist/chunks/{file-retention-bnzx9dwt.js → shared-cache-hsnq1va6.js} +5 -5
- package/dist/chunks/{file-retention-8eshswe5.js → shared-cache-hvra224z.js} +3 -3
- package/dist/chunks/{file-retention-1gep6f7s.js → shared-cache-hxjp32hp.js} +6 -6
- package/dist/chunks/{file-retention-xa716ypk.js → shared-cache-j05qjvrv.js} +14 -14
- package/dist/chunks/{file-retention-szfk6t8e.js → shared-cache-j1pth68z.js} +31 -31
- package/dist/chunks/{file-retention-4aqrmm1g.js → shared-cache-j351eg86.js} +3 -3
- package/dist/chunks/{file-retention-7etbzm9y.js → shared-cache-j5pp33gg.js} +17 -17
- package/dist/chunks/{file-retention-68qb3djy.js → shared-cache-j6r348n2.js} +8 -8
- package/dist/chunks/{file-retention-j4tx0dw9.js → shared-cache-j8q030kd.js} +33 -33
- package/dist/chunks/{file-retention-wgvnftve.js → shared-cache-jc512s3p.js} +8 -8
- package/dist/chunks/{file-retention-m2vpvwkm.js → shared-cache-jg6qty85.js} +55 -55
- package/dist/chunks/{file-retention-wr27nwte.js → shared-cache-jg9jtwr2.js} +11 -11
- package/dist/chunks/{file-retention-n3bkb5q1.js → shared-cache-jgtdwqt8.js} +8 -8
- package/dist/chunks/{file-retention-0jstpsmh.js → shared-cache-jhp78y9r.js} +22 -22
- package/dist/chunks/{file-retention-jkdcm5hg.js → shared-cache-jkdcm5hg.js} +1 -1
- package/dist/chunks/{file-retention-jtnps1zs.js → shared-cache-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-retention-5ej6fcjw.js → shared-cache-jxr5ks98.js} +6 -6
- package/dist/chunks/{file-retention-k46dd5bg.js → shared-cache-k46dd5bg.js} +1 -1
- package/dist/chunks/{file-retention-0aycggmx.js → shared-cache-k4jqjvqk.js} +21 -21
- package/dist/chunks/{file-retention-hn189zr5.js → shared-cache-kcvmrqty.js} +4 -4
- package/dist/chunks/{file-retention-s0699xsp.js → shared-cache-kfg9w0kz.js} +22 -22
- package/dist/chunks/{file-retention-f15w2kpp.js → shared-cache-kpa6mjfj.js} +6 -6
- package/dist/chunks/{file-retention-kt3bjfbg.js → shared-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-kzczzf4v.js → shared-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{file-retention-9z0qc3sg.js → shared-cache-kzw92vkv.js} +38 -38
- package/dist/chunks/{file-retention-m1714858.js → shared-cache-m1714858.js} +1 -1
- package/dist/chunks/shared-cache-m6qqtaps.js +555 -0
- package/dist/chunks/{file-retention-rpxemsgz.js → shared-cache-m7ksbpap.js} +90 -90
- package/dist/chunks/{file-retention-swwepy7r.js → shared-cache-m9622p9a.js} +15 -15
- package/dist/chunks/{file-retention-m9w0rfyh.js → shared-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-mb7mbhnz.js → shared-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/{file-retention-b1tz7g4k.js → shared-cache-mjnhe1nq.js} +29 -29
- package/dist/chunks/{file-retention-1v2g13eq.js → shared-cache-msd2a3qm.js} +4 -4
- package/dist/chunks/{file-retention-mhwtew22.js → shared-cache-mv0k3gyx.js} +24 -24
- package/dist/chunks/{file-retention-sj2s1b9m.js → shared-cache-mvvw8933.js} +32 -32
- package/dist/chunks/{file-retention-hqvhb0wh.js → shared-cache-mxxad9v0.js} +11 -11
- package/dist/chunks/{file-retention-dcybvycp.js → shared-cache-n5v7jmd6.js} +9 -9
- package/dist/chunks/{file-retention-dvnqv6yn.js → shared-cache-nemnqzpn.js} +4 -4
- package/dist/chunks/{file-retention-waxfvz31.js → shared-cache-nn1p33cp.js} +31 -31
- package/dist/chunks/{file-retention-5em2n0xv.js → shared-cache-nsr0xhep.js} +28 -28
- package/dist/chunks/{file-retention-3nfqphsz.js → shared-cache-nv64swaj.js} +24 -24
- package/dist/chunks/{file-retention-rpzwd4m9.js → shared-cache-p33kn2f3.js} +4 -4
- package/dist/chunks/{file-retention-dbhc229r.js → shared-cache-p7d7t6w3.js} +41 -41
- package/dist/chunks/{file-retention-sctph3n4.js → shared-cache-p94q8hge.js} +60 -60
- package/dist/chunks/{file-retention-x4t5xjs0.js → shared-cache-p9xrsnvg.js} +26 -26
- package/dist/chunks/{file-retention-y9hckaaa.js → shared-cache-pana0d56.js} +6 -6
- package/dist/chunks/{file-retention-68tk6k3r.js → shared-cache-pap24bzz.js} +11 -11
- package/dist/chunks/{file-retention-b4rwxy6m.js → shared-cache-pe032dms.js} +9 -9
- package/dist/chunks/{file-retention-dcdd8gp0.js → shared-cache-pf5m8b3c.js} +31 -31
- package/dist/chunks/{file-retention-yv7pt3ah.js → shared-cache-ph12y7yp.js} +3 -3
- package/dist/chunks/{file-retention-pknna89w.js → shared-cache-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-x24tvm8w.js → shared-cache-pm55fh0v.js} +24 -24
- package/dist/chunks/{file-retention-4pa2br34.js → shared-cache-pmh2kq9n.js} +39 -39
- package/dist/chunks/{file-retention-5m3xrn1j.js → shared-cache-pn1g3a6b.js} +9 -9
- package/dist/chunks/{file-retention-c0tz6aqz.js → shared-cache-pnwsrq7c.js} +11 -11
- package/dist/chunks/{file-retention-4gggmape.js → shared-cache-pp5gghwv.js} +1 -1
- package/dist/chunks/{file-retention-b8n7cma0.js → shared-cache-pvx25tzf.js} +1 -1
- package/dist/chunks/{file-retention-kkgm43pe.js → shared-cache-qc39n20q.js} +14 -14
- package/dist/chunks/{file-retention-a1j9h5sv.js → shared-cache-qgr2wv1c.js} +30 -30
- package/dist/chunks/shared-cache-qmh7vbk2.js +18 -0
- package/dist/chunks/{file-retention-qp7r0hxv.js → shared-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-5cfjc002.js → shared-cache-qpchws8n.js} +86 -86
- package/dist/chunks/{file-retention-9v7xfrsr.js → shared-cache-qqg4080p.js} +9 -9
- package/dist/chunks/{file-retention-qqvy8y24.js → shared-cache-qqvy8y24.js} +1 -1
- package/dist/chunks/{file-retention-qsdghx1p.js → shared-cache-qsdghx1p.js} +1 -1
- package/dist/chunks/{file-retention-r1fnsf7p.js → shared-cache-qw2t3dzn.js} +3 -3
- package/dist/chunks/{file-retention-weqsz73e.js → shared-cache-qwr0zwd0.js} +6 -6
- package/dist/chunks/{file-retention-wm09fakr.js → shared-cache-qx7d52zy.js} +35 -35
- package/dist/chunks/{file-retention-d1jwara1.js → shared-cache-r1xc615x.js} +29 -29
- package/dist/chunks/{file-retention-40za9wsf.js → shared-cache-r41sfy63.js} +6 -6
- package/dist/chunks/{file-retention-avaerfkj.js → shared-cache-r4gz9jm9.js} +10 -10
- package/dist/chunks/{file-retention-rb9dy4dg.js → shared-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-dhv1xx0k.js → shared-cache-rc7cmy01.js} +4 -4
- package/dist/chunks/{file-retention-4s01kztf.js → shared-cache-rd3k82cy.js} +8 -8
- package/dist/chunks/{file-retention-bjaevfq0.js → shared-cache-ree0x2as.js} +10 -10
- package/dist/chunks/{file-retention-7jen3kst.js → shared-cache-rhx7sxcq.js} +5 -5
- package/dist/chunks/{file-retention-vt2d6wap.js → shared-cache-rj7j5fvs.js} +4 -4
- package/dist/chunks/{file-retention-rt5dr6hb.js → shared-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-90gj1595.js → shared-cache-s2xjhrkd.js} +4 -4
- package/dist/chunks/{file-retention-sa3fpqfw.js → shared-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-sbya78hr.js → shared-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{file-retention-hx2h0g86.js → shared-cache-segd0erw.js} +9 -9
- package/dist/chunks/{file-retention-x59t0gss.js → shared-cache-spe6nwpw.js} +35 -35
- package/dist/chunks/{file-retention-9gczbj86.js → shared-cache-sqaq72qw.js} +13 -13
- package/dist/chunks/{file-retention-0j7gp832.js → shared-cache-sqjzf8x2.js} +4 -4
- package/dist/chunks/{file-retention-g2jbspnp.js → shared-cache-stztk7h0.js} +23 -23
- package/dist/chunks/{file-retention-svcy3p9a.js → shared-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-sqz6jy89.js → shared-cache-sykxe607.js} +59 -59
- package/dist/chunks/{file-retention-t6zxhcnm.js → shared-cache-szgw3rmb.js} +44 -44
- package/dist/chunks/{file-retention-f3efch3k.js → shared-cache-szt8as1t.js} +25 -25
- package/dist/chunks/{file-retention-szwm4crx.js → shared-cache-szwm4crx.js} +4 -4
- package/dist/chunks/{file-retention-tb2mrvc9.js → shared-cache-tb2mrvc9.js} +1 -1
- package/dist/chunks/{file-retention-tb15rp1c.js → shared-cache-tb4cnk9d.js} +4 -4
- package/dist/chunks/{file-retention-tczq8hjw.js → shared-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-gxs71cxp.js → shared-cache-tg7s7b5t.js} +4 -4
- package/dist/chunks/{file-retention-tr8x705m.js → shared-cache-tr8x705m.js} +1 -1
- package/dist/chunks/{file-retention-twssxy5n.js → shared-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-v2r1d0zg.js → shared-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-ydsespw1.js → shared-cache-v5hpj9dd.js} +8 -8
- package/dist/chunks/{file-retention-ffka7n84.js → shared-cache-vdgf3x25.js} +9 -9
- package/dist/chunks/{file-retention-hvgfddwz.js → shared-cache-vgsh18yn.js} +11 -11
- package/dist/chunks/{file-retention-wa6q08vq.js → shared-cache-vgt1abs0.js} +18 -18
- package/dist/chunks/{file-retention-vjf35v1f.js → shared-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{file-retention-9f3jsh1d.js → shared-cache-vq0qa3sh.js} +9 -9
- package/dist/chunks/{file-retention-yvchjg13.js → shared-cache-vtnm23gn.js} +12 -12
- package/dist/chunks/{file-retention-nfggrfj2.js → shared-cache-w17yb6n4.js} +6 -6
- package/dist/chunks/{file-retention-w3wsvvr9.js → shared-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-fznmdakp.js → shared-cache-w687dnns.js} +4 -4
- package/dist/chunks/{file-retention-wakvkjy4.js → shared-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-wd87259q.js → shared-cache-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-wegkxhrn.js → shared-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/{file-retention-r17fbvme.js → shared-cache-wfs84ra6.js} +4 -4
- package/dist/chunks/{file-retention-sj70yks3.js → shared-cache-wgzqyxnv.js} +12 -12
- package/dist/chunks/{file-retention-4pmefyym.js → shared-cache-wmxbp2m1.js} +35 -35
- package/dist/chunks/{file-retention-wnhgecwx.js → shared-cache-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-retention-n3ga810d.js → shared-cache-wtpcbd8x.js} +17 -17
- package/dist/chunks/{file-retention-agemttc5.js → shared-cache-wv6svstt.js} +34 -34
- package/dist/chunks/{file-retention-gbgy6ap4.js → shared-cache-wvcem29w.js} +5 -5
- package/dist/chunks/{file-retention-79k544d0.js → shared-cache-wvr8xscb.js} +7 -7
- package/dist/chunks/{file-retention-06w90rm1.js → shared-cache-ww26epb1.js} +17 -17
- package/dist/chunks/{file-retention-4xape4ax.js → shared-cache-x1138qf2.js} +21 -21
- package/dist/chunks/{file-retention-j6q7spb2.js → shared-cache-x6x1nndz.js} +31 -31
- package/dist/chunks/{file-retention-k2xygrq7.js → shared-cache-x8jx2pq0.js} +11 -11
- package/dist/chunks/{file-retention-evsac8k0.js → shared-cache-x9y7w5qr.js} +29 -29
- package/dist/chunks/{file-retention-xd9cc171.js → shared-cache-xd9cc171.js} +1 -1
- package/dist/chunks/{file-retention-xksw6ev0.js → shared-cache-xksw6ev0.js} +1 -1
- package/dist/chunks/{file-retention-3ryz99p0.js → shared-cache-xmx7xj34.js} +4 -4
- package/dist/chunks/{file-retention-ysfhhwnn.js → shared-cache-xrtd710r.js} +7 -7
- package/dist/chunks/{file-retention-hz2g8n0e.js → shared-cache-xs0w7nj3.js} +5 -5
- package/dist/chunks/{file-retention-yydqqga9.js → shared-cache-xsvq7cjt.js} +4 -4
- package/dist/chunks/{file-retention-ndksvsqq.js → shared-cache-xxh1ym0y.js} +5 -5
- package/dist/chunks/{file-retention-hmmsk6f4.js → shared-cache-xzqp8jdw.js} +22 -22
- package/dist/chunks/{file-retention-h6ejcba2.js → shared-cache-y1r4n95f.js} +5 -5
- package/dist/chunks/{file-retention-w4whnx61.js → shared-cache-y37rxwzh.js} +22 -22
- package/dist/chunks/{file-retention-5td38wnz.js → shared-cache-y4t0y6zk.js} +14 -14
- package/dist/chunks/{file-retention-hm3wjv3t.js → shared-cache-y6z0jv9h.js} +24 -24
- package/dist/chunks/{file-retention-6sg7v011.js → shared-cache-y9c350ew.js} +2 -2
- package/dist/chunks/{file-retention-yb20nhc3.js → shared-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-retention-yzde64vc.js → shared-cache-ybw2rd55.js} +13 -13
- package/dist/chunks/{file-retention-yr705xyq.js → shared-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{file-retention-d9b1e71e.js → shared-cache-ytj76p73.js} +16 -16
- package/dist/chunks/{file-retention-837bxc3c.js → shared-cache-yv1nawr6.js} +12 -12
- package/dist/chunks/{file-retention-1pd9p4zg.js → shared-cache-yvbkpmy4.js} +29 -29
- package/dist/chunks/{file-retention-yvtc2x31.js → shared-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{file-retention-v1mj0bgs.js → shared-cache-yx89v5j3.js} +29 -29
- package/dist/chunks/{file-retention-mtqqxse4.js → shared-cache-yyr882aa.js} +5 -5
- package/dist/chunks/{file-retention-z080rjh6.js → shared-cache-z080rjh6.js} +1 -1
- package/dist/chunks/{file-retention-s5vg2p0e.js → shared-cache-z0naddr1.js} +10 -10
- package/dist/chunks/{file-retention-ze75qvmd.js → shared-cache-ze75qvmd.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +90 -90
- 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 +130 -130
- package/dist/config/plugin/command.js +229 -229
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +137 -137
- 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 +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- 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 +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +427 -427
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +85 -85
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +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 +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +178 -178
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +418 -418
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- 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 +85 -85
- package/dist/plugin/command.js +113 -113
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +143 -143
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +137 -137
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +243 -243
- 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 +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +99 -99
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +110 -110
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- 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 +246 -246
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +143 -143
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- 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 +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- 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 +15 -15
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +158 -158
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +148 -148
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +151 -151
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- 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 +93 -93
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- 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 +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/file-retention-1v8gr36j.js +0 -261
- package/dist/chunks/file-retention-3aarzgek.js +0 -26
- package/dist/chunks/file-retention-3d3mj0t0.js +0 -555
- package/dist/chunks/file-retention-d77dj7jw.js +0 -18
- package/dist/chunks/file-retention-y32xxt00.js +0 -16
- /package/dist/chunks/{file-retention-0qkdqm5v.js → shared-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → shared-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → shared-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → shared-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kah00gy.js → shared-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{file-retention-1pevy3nx.js → shared-cache-1pevy3nx.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → shared-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → shared-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → shared-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → shared-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → shared-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → shared-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → shared-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → shared-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → shared-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → shared-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4qk9sjk2.js → shared-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → shared-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → shared-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → shared-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → shared-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → shared-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6agm2x70.js → shared-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → shared-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → shared-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → shared-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → shared-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → shared-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → shared-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → shared-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → shared-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → shared-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → shared-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → shared-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → shared-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → shared-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → shared-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → shared-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → shared-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → shared-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → shared-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → shared-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → shared-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → shared-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → shared-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → shared-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → shared-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → shared-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-dbht28n9.js → shared-cache-dbht28n9.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → shared-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → shared-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → shared-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → shared-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ean2d8b5.js → shared-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → shared-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → shared-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → shared-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → shared-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → shared-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → shared-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → shared-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → shared-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → shared-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → shared-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → shared-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → shared-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → shared-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → shared-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → shared-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → shared-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → shared-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → shared-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → shared-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → shared-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → shared-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → shared-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → shared-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → shared-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → shared-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → shared-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-nh4v3znn.js → shared-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → shared-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → shared-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → shared-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → shared-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → shared-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → shared-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → shared-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → shared-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → shared-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → shared-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → shared-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → shared-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-syrav9an.js → shared-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{file-retention-t03h4f5z.js → shared-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{file-retention-ty7weeps.js → shared-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → shared-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-vtarvj67.js → shared-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → shared-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → shared-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → shared-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → shared-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → shared-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → shared-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → shared-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → shared-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → shared-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → shared-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → shared-cache-z9919s4g.js} +0 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node74
|
|
3
|
+
} from "./shared-cache-92etfc35.js";
|
|
4
|
+
import {
|
|
5
|
+
node86,
|
|
6
|
+
boundNode2
|
|
7
|
+
} from "./shared-cache-j5pp33gg.js";
|
|
8
|
+
import {
|
|
9
|
+
node81
|
|
10
|
+
} from "./shared-cache-p9xrsnvg.js";
|
|
11
|
+
import {
|
|
12
|
+
node79
|
|
13
|
+
} from "./shared-cache-x6x1nndz.js";
|
|
14
|
+
import {
|
|
15
|
+
node78
|
|
16
|
+
} from "./shared-cache-8889jn16.js";
|
|
17
|
+
import {
|
|
18
|
+
node77
|
|
19
|
+
} from "./shared-cache-a4ejydmw.js";
|
|
20
|
+
import {
|
|
21
|
+
configured9,
|
|
22
|
+
node75
|
|
23
|
+
} from "./shared-cache-ahytd4qs.js";
|
|
24
|
+
import {
|
|
25
|
+
Service62,
|
|
26
|
+
node64
|
|
27
|
+
} from "./shared-cache-fpjxw46t.js";
|
|
28
|
+
import {
|
|
29
|
+
node73
|
|
30
|
+
} from "./shared-cache-d34c0f98.js";
|
|
31
|
+
import {
|
|
32
|
+
node70
|
|
33
|
+
} from "./shared-cache-hp5p8e88.js";
|
|
34
|
+
import {
|
|
35
|
+
node69
|
|
36
|
+
} from "./shared-cache-a4tn1t8d.js";
|
|
37
|
+
import {
|
|
38
|
+
node68
|
|
39
|
+
} from "./shared-cache-335h8y1q.js";
|
|
40
|
+
import {
|
|
41
|
+
node67
|
|
42
|
+
} from "./shared-cache-fjae3t1k.js";
|
|
43
|
+
import {
|
|
44
|
+
configured6,
|
|
45
|
+
node54
|
|
46
|
+
} from "./shared-cache-xzqp8jdw.js";
|
|
47
|
+
import {
|
|
48
|
+
node46
|
|
49
|
+
} from "./shared-cache-54kgf0t3.js";
|
|
50
|
+
import {
|
|
51
|
+
node59
|
|
52
|
+
} from "./shared-cache-pm55fh0v.js";
|
|
53
|
+
import {
|
|
54
|
+
node44
|
|
55
|
+
} from "./shared-cache-jg6qty85.js";
|
|
56
|
+
import {
|
|
57
|
+
node53
|
|
58
|
+
} from "./shared-cache-pn1g3a6b.js";
|
|
59
|
+
import {
|
|
60
|
+
node52
|
|
61
|
+
} from "./shared-cache-yvbkpmy4.js";
|
|
62
|
+
import {
|
|
63
|
+
node89
|
|
64
|
+
} from "./shared-cache-82m30djg.js";
|
|
65
|
+
import {
|
|
66
|
+
node57
|
|
67
|
+
} from "./shared-cache-szt8as1t.js";
|
|
68
|
+
import {
|
|
69
|
+
DirectoryNotFoundError2,
|
|
70
|
+
node56
|
|
71
|
+
} from "./shared-cache-bgtfms1n.js";
|
|
72
|
+
import {
|
|
73
|
+
node38
|
|
74
|
+
} from "./shared-cache-fwj8chqf.js";
|
|
75
|
+
import {
|
|
76
|
+
node37
|
|
77
|
+
} from "./shared-cache-kzw92vkv.js";
|
|
78
|
+
import {
|
|
79
|
+
node50
|
|
80
|
+
} from "./shared-cache-yx89v5j3.js";
|
|
81
|
+
import {
|
|
82
|
+
node41
|
|
83
|
+
} from "./shared-cache-7z7n868z.js";
|
|
84
|
+
import {
|
|
85
|
+
node60
|
|
86
|
+
} from "./shared-cache-mjnhe1nq.js";
|
|
87
|
+
import {
|
|
88
|
+
node45
|
|
89
|
+
} from "./shared-cache-31r9ew24.js";
|
|
90
|
+
import {
|
|
91
|
+
node35
|
|
92
|
+
} from "./shared-cache-qpchws8n.js";
|
|
93
|
+
import {
|
|
94
|
+
node49
|
|
95
|
+
} from "./shared-cache-vgt1abs0.js";
|
|
96
|
+
import {
|
|
97
|
+
node85
|
|
98
|
+
} from "./shared-cache-e09ngpdh.js";
|
|
99
|
+
import {
|
|
100
|
+
node51
|
|
101
|
+
} from "./shared-cache-y37rxwzh.js";
|
|
102
|
+
import {
|
|
103
|
+
node47
|
|
104
|
+
} from "./shared-cache-b948jmy1.js";
|
|
105
|
+
import {
|
|
106
|
+
node28
|
|
107
|
+
} from "./shared-cache-p94q8hge.js";
|
|
108
|
+
import {
|
|
109
|
+
node18
|
|
110
|
+
} from "./shared-cache-03mpff5k.js";
|
|
111
|
+
import {
|
|
112
|
+
node19
|
|
113
|
+
} from "./shared-cache-f3fdhana.js";
|
|
114
|
+
import {
|
|
115
|
+
node30
|
|
116
|
+
} from "./shared-cache-4zqa8vte.js";
|
|
117
|
+
import {
|
|
118
|
+
node17
|
|
119
|
+
} from "./shared-cache-8dq44xrt.js";
|
|
120
|
+
import {
|
|
121
|
+
node21
|
|
122
|
+
} from "./shared-cache-k4jqjvqk.js";
|
|
123
|
+
import {
|
|
124
|
+
node61
|
|
125
|
+
} from "./shared-cache-4he7yfh3.js";
|
|
126
|
+
import {
|
|
127
|
+
node29
|
|
128
|
+
} from "./shared-cache-y6z0jv9h.js";
|
|
129
|
+
import {
|
|
130
|
+
node27
|
|
131
|
+
} from "./shared-cache-3d9m6vm1.js";
|
|
132
|
+
import {
|
|
133
|
+
node32
|
|
134
|
+
} from "./shared-cache-dyebhzpv.js";
|
|
135
|
+
import {
|
|
136
|
+
node25
|
|
137
|
+
} from "./shared-cache-0j8e1req.js";
|
|
138
|
+
import {
|
|
139
|
+
node12
|
|
140
|
+
} from "./shared-cache-qx7d52zy.js";
|
|
141
|
+
import {
|
|
142
|
+
Service21,
|
|
143
|
+
node23
|
|
144
|
+
} from "./shared-cache-pmh2kq9n.js";
|
|
145
|
+
import {
|
|
146
|
+
node16
|
|
147
|
+
} from "./shared-cache-8ejs04fm.js";
|
|
148
|
+
import {
|
|
149
|
+
node8,
|
|
150
|
+
bound2
|
|
151
|
+
} from "./shared-cache-v5hpj9dd.js";
|
|
152
|
+
import {
|
|
153
|
+
node10
|
|
154
|
+
} from "./shared-cache-szgw3rmb.js";
|
|
155
|
+
import {
|
|
156
|
+
node7
|
|
157
|
+
} from "./shared-cache-stztk7h0.js";
|
|
158
|
+
import {
|
|
159
|
+
node4
|
|
160
|
+
} from "./shared-cache-cv3zt5fr.js";
|
|
161
|
+
import {
|
|
162
|
+
node20
|
|
163
|
+
} from "./shared-cache-28mzk8dv.js";
|
|
164
|
+
import {
|
|
165
|
+
node3
|
|
166
|
+
} from "./shared-cache-x9y7w5qr.js";
|
|
167
|
+
import {
|
|
168
|
+
node2
|
|
169
|
+
} from "./shared-cache-978jgtnz.js";
|
|
170
|
+
import {
|
|
171
|
+
__export
|
|
172
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
173
|
+
|
|
174
|
+
// src/instance.ts
|
|
175
|
+
var exports_instance = {};
|
|
176
|
+
__export(exports_instance, {
|
|
177
|
+
Instance: () => exports_instance,
|
|
178
|
+
Service: () => Service62,
|
|
179
|
+
graph: () => graph2,
|
|
180
|
+
layer: () => layer2,
|
|
181
|
+
node: () => node64
|
|
182
|
+
});
|
|
183
|
+
import { Context, Effect, Layer } from "effect";
|
|
184
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
185
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
186
|
+
var nodes = [
|
|
187
|
+
node86,
|
|
188
|
+
node23,
|
|
189
|
+
node59,
|
|
190
|
+
node75,
|
|
191
|
+
node74,
|
|
192
|
+
node28,
|
|
193
|
+
node49,
|
|
194
|
+
node50,
|
|
195
|
+
node61,
|
|
196
|
+
node27,
|
|
197
|
+
node79,
|
|
198
|
+
node78,
|
|
199
|
+
node77,
|
|
200
|
+
node68,
|
|
201
|
+
node69,
|
|
202
|
+
node25,
|
|
203
|
+
node73,
|
|
204
|
+
node8,
|
|
205
|
+
node4,
|
|
206
|
+
node32,
|
|
207
|
+
node57,
|
|
208
|
+
node56,
|
|
209
|
+
node51,
|
|
210
|
+
node20,
|
|
211
|
+
node47,
|
|
212
|
+
node60,
|
|
213
|
+
node46,
|
|
214
|
+
node54,
|
|
215
|
+
node16,
|
|
216
|
+
node18,
|
|
217
|
+
node19,
|
|
218
|
+
node44,
|
|
219
|
+
node70,
|
|
220
|
+
node52,
|
|
221
|
+
node89,
|
|
222
|
+
node53,
|
|
223
|
+
node45,
|
|
224
|
+
node41,
|
|
225
|
+
node81,
|
|
226
|
+
node30,
|
|
227
|
+
node17,
|
|
228
|
+
node21,
|
|
229
|
+
node38,
|
|
230
|
+
node37,
|
|
231
|
+
node7,
|
|
232
|
+
node67,
|
|
233
|
+
node10,
|
|
234
|
+
node3,
|
|
235
|
+
node35,
|
|
236
|
+
node85,
|
|
237
|
+
node2,
|
|
238
|
+
node29,
|
|
239
|
+
node12
|
|
240
|
+
];
|
|
241
|
+
var graph2 = LayerNode.group(nodes);
|
|
242
|
+
var vanillaReplacements = [
|
|
243
|
+
node75.replace(configured9({ project: false, global: false })),
|
|
244
|
+
node54.replace(configured6({ project: false, global: false }))
|
|
245
|
+
];
|
|
246
|
+
function layer2(ref, options = {}) {
|
|
247
|
+
const startedAt = performance.now();
|
|
248
|
+
const replacements = [
|
|
249
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
250
|
+
...options.replacements ?? [],
|
|
251
|
+
node86.replace(boundNode2(ref)),
|
|
252
|
+
node8.replace(bound2(options.plugins ?? []))
|
|
253
|
+
];
|
|
254
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service21).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
255
|
+
directory: ref.directory,
|
|
256
|
+
workspaceID: ref.workspaceID,
|
|
257
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
258
|
+
})));
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shared-cache-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node59
|
|
9
|
+
} from "./shared-cache-pm55fh0v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content4
|
|
12
|
+
} from "./shared-cache-bgtfms1n.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shared-cache-4pyp9zr9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service35,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node38,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content4.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service35 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service56;
|
|
335
|
+
return Service35.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node59] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry3, ListPage2, Service35, read2, node38, exports_read_filesystem };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-ree0x2as.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./shared-cache-nn1p33cp.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID16,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shared-cache-x6x1nndz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shared-cache-8889jn16.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
24
24
|
var pollingSafetyMargin = 3000;
|
|
25
25
|
var browserMethodID = MethodID2.make("browser");
|
|
26
26
|
var deviceMethodID = MethodID2.make("device");
|
|
27
|
-
var providerID =
|
|
27
|
+
var providerID = ID15.make("xai");
|
|
28
28
|
var Token = Schema.Struct({
|
|
29
29
|
access_token: Schema.String,
|
|
30
30
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
|
|
|
44
44
|
});
|
|
45
45
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
46
46
|
var device = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID16.make("xai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: deviceMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -69,8 +69,8 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
73
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
72
|
+
const credentials = yield* Service78;
|
|
73
|
+
yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
76
76
|
return credentials.update(credential.id, {
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-ree0x2as.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./shared-cache-44jvmyw9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID17,
|
|
9
|
+
Event18,
|
|
10
|
+
Service78
|
|
11
|
+
} from "./shared-cache-nn1p33cp.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shared-cache-95sp4hdf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shared-cache-x6x1nndz.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shared-cache-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID15,
|
|
24
|
+
Service76
|
|
25
|
+
} from "./shared-cache-8889jn16.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID14
|
|
28
|
+
} from "./shared-cache-a4ejydmw.js";
|
|
29
29
|
import {
|
|
30
30
|
interval2,
|
|
31
|
-
|
|
31
|
+
Service22,
|
|
32
32
|
fingerprint2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shared-cache-b096peb1.js";
|
|
34
34
|
import {
|
|
35
35
|
configuredSettings2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shared-cache-d9j8kz1s.js";
|
|
37
37
|
import {
|
|
38
38
|
switched2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shared-cache-qqg4080p.js";
|
|
40
40
|
|
|
41
41
|
// src/plugin/provider/azure.ts
|
|
42
42
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -71,19 +71,19 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
71
71
|
}));
|
|
72
72
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
73
73
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
74
|
-
function
|
|
74
|
+
function make16(endpoints = {
|
|
75
75
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
76
76
|
management: "https://management.azure.com"
|
|
77
77
|
}) {
|
|
78
78
|
return define({
|
|
79
79
|
id: "opencode.provider.azure",
|
|
80
80
|
effect: Effect.fn(function* (ctx) {
|
|
81
|
-
const configured = yield* configuredSettings2(
|
|
81
|
+
const configured = yield* configuredSettings2(ID15.azure);
|
|
82
82
|
const processes = yield* AppProcess.Service;
|
|
83
|
-
const bus = yield*
|
|
84
|
-
const credentials = yield*
|
|
85
|
-
const providers = yield*
|
|
86
|
-
const cache = yield*
|
|
83
|
+
const bus = yield* Service85;
|
|
84
|
+
const credentials = yield* Service78;
|
|
85
|
+
const providers = yield* Service76;
|
|
86
|
+
const cache = yield* Service22;
|
|
87
87
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
88
88
|
const tokens = new Map;
|
|
89
89
|
const resourceIDs = new Map;
|
|
@@ -109,11 +109,11 @@ function make15(endpoints = {
|
|
|
109
109
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
110
110
|
yield* ctx.integration.transform((editor) => {
|
|
111
111
|
editor.method.update({
|
|
112
|
-
integrationID:
|
|
112
|
+
integrationID: ID15.azure,
|
|
113
113
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
114
114
|
});
|
|
115
115
|
editor.method.update({
|
|
116
|
-
integrationID:
|
|
116
|
+
integrationID: ID15.azure,
|
|
117
117
|
method: {
|
|
118
118
|
type: "key",
|
|
119
119
|
label: "API key",
|
|
@@ -131,7 +131,7 @@ function make15(endpoints = {
|
|
|
131
131
|
if (!available)
|
|
132
132
|
return;
|
|
133
133
|
editor.method.update({
|
|
134
|
-
integrationID:
|
|
134
|
+
integrationID: ID15.azure,
|
|
135
135
|
method: {
|
|
136
136
|
id: methodID,
|
|
137
137
|
type: "external",
|
|
@@ -151,8 +151,8 @@ function make15(endpoints = {
|
|
|
151
151
|
});
|
|
152
152
|
});
|
|
153
153
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
154
|
-
const connection = yield* ctx.integration.connection.active(
|
|
155
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
154
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
155
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
|
|
156
156
|
return { connection, resource: credentialResource(stored?.value) };
|
|
157
157
|
});
|
|
158
158
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -191,7 +191,7 @@ function make15(endpoints = {
|
|
|
191
191
|
}));
|
|
192
192
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
193
193
|
const connection = loaded.connection;
|
|
194
|
-
const settings = (yield* providers.get(
|
|
194
|
+
const settings = (yield* providers.get(ID15.azure))?.settings;
|
|
195
195
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
196
196
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
197
197
|
if (loaded.connection !== connection)
|
|
@@ -221,11 +221,11 @@ function make15(endpoints = {
|
|
|
221
221
|
});
|
|
222
222
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
223
223
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
224
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
224
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID15.azure)))
|
|
225
225
|
return;
|
|
226
226
|
if (Equal.equals(found, loaded.deployments))
|
|
227
227
|
return;
|
|
228
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
228
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID15.azure)?.models.keys() ?? [], (id) => [
|
|
229
229
|
id.toLowerCase(),
|
|
230
230
|
id
|
|
231
231
|
]));
|
|
@@ -238,11 +238,11 @@ function make15(endpoints = {
|
|
|
238
238
|
yield* ctx.model.reload();
|
|
239
239
|
});
|
|
240
240
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
241
|
-
const resourceFor = (provider) => provider.id ===
|
|
241
|
+
const resourceFor = (provider) => provider.id === ID15.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
242
242
|
Object.assign(loaded, yield* load());
|
|
243
243
|
yield* ctx.provider.transform((evt) => {
|
|
244
244
|
for (const item of evt.list()) {
|
|
245
|
-
if (item.provider.id !==
|
|
245
|
+
if (item.provider.id !== ID15.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
246
246
|
continue;
|
|
247
247
|
const resourceName = resourceFor(item.provider);
|
|
248
248
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -257,7 +257,7 @@ function make15(endpoints = {
|
|
|
257
257
|
};
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
|
-
const item = evt.get(
|
|
260
|
+
const item = evt.get(ID15.azure);
|
|
261
261
|
if (!item)
|
|
262
262
|
return;
|
|
263
263
|
evt.add({
|
|
@@ -268,7 +268,7 @@ function make15(endpoints = {
|
|
|
268
268
|
});
|
|
269
269
|
yield* ctx.model.transform((models) => {
|
|
270
270
|
for (const item of models.provider.list()) {
|
|
271
|
-
if (item.provider.id !==
|
|
271
|
+
if (item.provider.id !== ID15.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
272
272
|
continue;
|
|
273
273
|
const resourceName = resourceFor(item.provider);
|
|
274
274
|
if (!resourceName)
|
|
@@ -287,21 +287,21 @@ function make15(endpoints = {
|
|
|
287
287
|
}
|
|
288
288
|
if (!loaded.deployments)
|
|
289
289
|
return;
|
|
290
|
-
const catalog = models.list(
|
|
290
|
+
const catalog = models.list(ID15.azure);
|
|
291
291
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
292
292
|
for (const model of catalog) {
|
|
293
293
|
if (!deployed.has(model.id))
|
|
294
|
-
models.remove(
|
|
294
|
+
models.remove(ID15.azure, model.id);
|
|
295
295
|
}
|
|
296
296
|
for (const [id, model] of deployed) {
|
|
297
|
-
models.update(
|
|
297
|
+
models.update(ID15.azure, id, (draft) => Object.assign(draft, model));
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
|
-
yield* bus.subscribe(
|
|
300
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply))))), Effect.forkScoped({ startImmediately: true }));
|
|
301
301
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
302
302
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
303
303
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
304
|
-
const connection = yield* ctx.integration.connection.active(
|
|
304
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
305
305
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
306
306
|
return;
|
|
307
307
|
})) : undefined;
|
|
@@ -313,7 +313,7 @@ function make15(endpoints = {
|
|
|
313
313
|
return `Bearer ${current.access}`;
|
|
314
314
|
});
|
|
315
315
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
316
|
-
if (evt.model.providerID !==
|
|
316
|
+
if (evt.model.providerID !== ID15.azure)
|
|
317
317
|
return;
|
|
318
318
|
const authorization = yield* bearer(evt.request.url);
|
|
319
319
|
if (!authorization)
|
|
@@ -322,9 +322,9 @@ function make15(endpoints = {
|
|
|
322
322
|
evt.request.headers.delete("x-api-key");
|
|
323
323
|
evt.request.headers.set("authorization", authorization);
|
|
324
324
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
325
|
-
}), { providerID:
|
|
325
|
+
}), { providerID: ID15.azure });
|
|
326
326
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
327
|
-
if (evt.model.providerID !==
|
|
327
|
+
if (evt.model.providerID !== ID15.azure)
|
|
328
328
|
return;
|
|
329
329
|
const authorization = yield* bearer(evt.url);
|
|
330
330
|
if (!authorization)
|
|
@@ -333,11 +333,11 @@ function make15(endpoints = {
|
|
|
333
333
|
delete evt.headers["x-api-key"];
|
|
334
334
|
evt.headers.authorization = authorization;
|
|
335
335
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
336
|
-
}), { providerID:
|
|
336
|
+
}), { providerID: ID15.azure });
|
|
337
337
|
})
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
|
-
var AzurePlugin2 =
|
|
340
|
+
var AzurePlugin2 = make16();
|
|
341
341
|
function deploymentsKey(connection, credential, url) {
|
|
342
342
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
343
343
|
return `azure:${key2(connection)}${access}:${url}`;
|
|
@@ -371,11 +371,11 @@ function deployedModels(deployments, catalog) {
|
|
|
371
371
|
const model = catalogModel(models, deployment);
|
|
372
372
|
if (!model)
|
|
373
373
|
return [];
|
|
374
|
-
const id =
|
|
374
|
+
const id = ID14.make(deployment.name.toLowerCase());
|
|
375
375
|
const info = {
|
|
376
376
|
...structuredClone(model),
|
|
377
377
|
id,
|
|
378
|
-
modelID:
|
|
378
|
+
modelID: ID14.make(deployment.name),
|
|
379
379
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
380
380
|
};
|
|
381
381
|
return [[id, info]];
|
|
@@ -397,4 +397,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
397
397
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
export {
|
|
400
|
+
export { make16, AzurePlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
groups2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-vjf35v1f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/sync/decide.ts
|
|
9
9
|
var exports_decide = {};
|