@opencode/core 0.0.0-dev-1180 → 0.0.0-dev-1216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +257 -253
- package/dist/bus.js +80 -80
- package/dist/chunks/{instance-z2t5bq98.js → model-retry-02fhhstm.js} +8 -8
- package/dist/chunks/{instance-034tev2y.js → model-retry-034tev2y.js} +2 -2
- package/dist/chunks/{instance-7vjscx46.js → model-retry-09rceteh.js} +7 -7
- package/dist/chunks/{instance-gg96ja28.js → model-retry-0a8xczw5.js} +23 -23
- package/dist/chunks/{instance-d5chd28k.js → model-retry-0ddtt1rb.js} +16 -16
- package/dist/chunks/{instance-bq73e4br.js → model-retry-0dy226kc.js} +41 -41
- package/dist/chunks/{instance-bg1wv99j.js → model-retry-0ext5n9t.js} +11 -11
- package/dist/chunks/{instance-c7cw818c.js → model-retry-0fvxehme.js} +8 -2
- package/dist/chunks/{instance-1ch7sqbe.js → model-retry-0gx6fzah.js} +6 -6
- package/dist/chunks/{instance-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
- package/dist/chunks/model-retry-0qyw66gp.js +273 -0
- package/dist/chunks/{instance-s77qrx8k.js → model-retry-0zvwhvr5.js} +10 -10
- package/dist/chunks/{instance-4ajra63f.js → model-retry-1abx79xn.js} +10 -10
- package/dist/chunks/{instance-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
- package/dist/chunks/{instance-0j7gp832.js → model-retry-1aryjtsy.js} +22 -5
- package/dist/chunks/{instance-801enpa2.js → model-retry-1b2cxmga.js} +22 -22
- package/dist/chunks/{instance-1ep2p91f.js → model-retry-1ep2p91f.js} +2 -2
- package/dist/chunks/{instance-atqrmyhp.js → model-retry-1k2wffy4.js} +8 -8
- package/dist/chunks/{instance-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{instance-w687dnns.js → model-retry-1yped5qa.js} +4 -4
- package/dist/chunks/{instance-kpa09rhw.js → model-retry-20px12h8.js} +4 -4
- package/dist/chunks/{instance-ant8s0m4.js → model-retry-2cc0zt21.js} +20 -20
- package/dist/chunks/{instance-c6j4mpqd.js → model-retry-2cnxsjyc.js} +16 -16
- package/dist/chunks/{instance-x7jjzhf0.js → model-retry-2e32zktp.js} +4 -4
- package/dist/chunks/{instance-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
- package/dist/chunks/{instance-jnrfdc60.js → model-retry-2fp0jt6s.js} +32 -32
- package/dist/chunks/{instance-cedg8p6b.js → model-retry-2jk2eaf8.js} +8 -8
- package/dist/chunks/{instance-3k17hp5t.js → model-retry-2prt43t7.js} +6 -4
- package/dist/chunks/{instance-5mysncq6.js → model-retry-2v3capeq.js} +10 -10
- package/dist/chunks/{instance-yjm3z17a.js → model-retry-30qkek6h.js} +6 -6
- package/dist/chunks/{instance-7g9mj4xg.js → model-retry-30swr9rt.js} +13 -13
- package/dist/chunks/{instance-e7ymkg80.js → model-retry-31c9mc6y.js} +24 -24
- package/dist/chunks/{instance-nfmb9mbn.js → model-retry-329aeaw0.js} +47 -47
- package/dist/chunks/{instance-pmr4zg21.js → model-retry-35xwmx6k.js} +12 -12
- package/dist/chunks/{instance-xshmb9w3.js → model-retry-380f7ky3.js} +8 -8
- package/dist/chunks/{instance-y8x5n6sr.js → model-retry-3adw4bt5.js} +9 -9
- package/dist/chunks/{instance-x1wf0nx8.js → model-retry-3gjensde.js} +17 -13
- package/dist/chunks/{instance-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-sn26z8tj.js → model-retry-3j862yd2.js} +4 -4
- package/dist/chunks/{instance-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instance-e0nd6rg0.js → model-retry-3qevzq3v.js} +11 -11
- package/dist/chunks/{instance-3mpwhmm1.js → model-retry-3r1ydfdn.js} +12 -12
- package/dist/chunks/{instance-7ffybbfj.js → model-retry-3ryz99p0.js} +7 -7
- package/dist/chunks/{instance-cb2y7pgv.js → model-retry-3syj8115.js} +19 -19
- package/dist/chunks/{instance-w2eysc6j.js → model-retry-40za9wsf.js} +9 -9
- package/dist/chunks/{instance-be5vg1t5.js → model-retry-42je62vc.js} +3 -3
- package/dist/chunks/{instance-6ck6771w.js → model-retry-432cy2ab.js} +23 -15
- package/dist/chunks/{instance-kkx4wk6n.js → model-retry-47q1swan.js} +22 -22
- package/dist/chunks/{instance-s1xc4ekk.js → model-retry-48sb3xry.js} +11 -11
- package/dist/chunks/{instance-245wmc8j.js → model-retry-48vkv2zp.js} +29 -29
- package/dist/chunks/{instance-esm8mf6f.js → model-retry-4dk3ggh9.js} +4 -4
- package/dist/chunks/{instance-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
- package/dist/chunks/{instance-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
- package/dist/chunks/{instance-9w3gj65q.js → model-retry-4jyt793m.js} +2 -2
- package/dist/chunks/{instance-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
- package/dist/chunks/{instance-g2c6yhad.js → model-retry-4rx53fa9.js} +51 -51
- package/dist/chunks/{instance-f7hq32m0.js → model-retry-4sp0pwej.js} +19 -19
- package/dist/chunks/{instance-wye9xsyk.js → model-retry-4tmv59f3.js} +20 -20
- package/dist/chunks/{instance-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{instance-rj7jtxy8.js → model-retry-4vzr2b15.js} +3 -3
- package/dist/chunks/{instance-sgdepe2s.js → model-retry-4wxtepaa.js} +3 -3
- package/dist/chunks/{instance-8s01pjdv.js → model-retry-50380zjw.js} +14 -14
- package/dist/chunks/{instance-jcjb5z6s.js → model-retry-56zc6607.js} +12 -12
- package/dist/chunks/{instance-jdecztzq.js → model-retry-5cgn0v09.js} +15 -15
- package/dist/chunks/{instance-3sz5vjsj.js → model-retry-5g9v6hdw.js} +11 -11
- package/dist/chunks/{instance-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-t0tr59sz.js → model-retry-5x3grz7y.js} +12 -12
- package/dist/chunks/{instance-9153ypvn.js → model-retry-5xadkbnd.js} +23 -23
- package/dist/chunks/{instance-1yq9hg58.js → model-retry-5zrxpy3q.js} +5 -5
- package/dist/chunks/{instance-9jneya3b.js → model-retry-5zzzgtm0.js} +12 -12
- package/dist/chunks/{instance-m7r6jz38.js → model-retry-630f57dr.js} +15 -15
- package/dist/chunks/{instance-bys6f9s7.js → model-retry-67zhfnr5.js} +5 -5
- package/dist/chunks/{instance-8ed81smd.js → model-retry-6ab8246z.js} +14 -14
- package/dist/chunks/{instance-n5jpthfj.js → model-retry-6e4ngh43.js} +22 -22
- package/dist/chunks/{instance-y2cjaz0t.js → model-retry-6h8nkgjb.js} +11 -11
- package/dist/chunks/{instance-5nn1tcck.js → model-retry-6wvdj9kp.js} +19 -19
- package/dist/chunks/{instance-49s3zfc2.js → model-retry-7bgajff9.js} +96 -93
- package/dist/chunks/{instance-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-v7hbk1t3.js → model-retry-7cf5w11a.js} +5 -5
- package/dist/chunks/model-retry-7enabm5z.js +26 -0
- package/dist/chunks/{instance-1v5rhnq5.js → model-retry-7mxcsx9x.js} +11 -11
- package/dist/chunks/{instance-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instance-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
- package/dist/chunks/{instance-hr6qxdqm.js → model-retry-7zxbyqhz.js} +18 -18
- package/dist/chunks/{instance-80mg3ag8.js → model-retry-80mg3ag8.js} +3 -3
- package/dist/chunks/{instance-80pdk984.js → model-retry-80pdk984.js} +1 -1
- package/dist/chunks/{instance-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
- package/dist/chunks/{instance-tqaa5gkw.js → model-retry-881fy3d8.js} +17 -17
- package/dist/chunks/{instance-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
- package/dist/chunks/{instance-3arc8jc6.js → model-retry-8cja266h.js} +19 -19
- package/dist/chunks/{instance-8kjyvwy5.js → model-retry-8kjyvwy5.js} +1 -1
- package/dist/chunks/{instance-t62dywgn.js → model-retry-8rt25ezk.js} +6 -6
- package/dist/chunks/{instance-8sxe6kv8.js → model-retry-8sxe6kv8.js} +2 -2
- package/dist/chunks/{instance-d51n70vn.js → model-retry-8vb53tx0.js} +35 -35
- package/dist/chunks/{instance-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instance-hq0f89q4.js → model-retry-8xvx9gbc.js} +21 -21
- package/dist/chunks/{instance-6qgt4c1d.js → model-retry-8zqzm5np.js} +5 -5
- package/dist/chunks/{instance-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
- package/dist/chunks/{instance-fca0ht54.js → model-retry-90bxm3w0.js} +25 -25
- package/dist/chunks/{instance-38aws4xb.js → model-retry-90ct6wq4.js} +4 -4
- package/dist/chunks/{instance-5dfshqfk.js → model-retry-93fz3ark.js} +11 -11
- package/dist/chunks/{instance-faeg2djs.js → model-retry-93sddvhm.js} +10 -10
- package/dist/chunks/{instance-963hk181.js → model-retry-963hk181.js} +2 -2
- package/dist/chunks/{instance-89p7632h.js → model-retry-96j1qp1j.js} +33 -33
- package/dist/chunks/{instance-2y8q1569.js → model-retry-9907wfrv.js} +9 -9
- package/dist/chunks/{instance-1nvk7vcw.js → model-retry-99z197m3.js} +3 -3
- package/dist/chunks/{instance-s7kyse9r.js → model-retry-9q8g9sv8.js} +4 -4
- package/dist/chunks/{instance-v827tagj.js → model-retry-9rqfe4ad.js} +3 -3
- package/dist/chunks/{instance-kqpnf7xq.js → model-retry-9wc9780e.js} +5 -5
- package/dist/chunks/{instance-fjwkbb1x.js → model-retry-9wp8fvve.js} +5 -5
- package/dist/chunks/{instance-z6cftxwr.js → model-retry-a0pwz2ja.js} +16 -16
- package/dist/chunks/{instance-6m18wczj.js → model-retry-a0vpc40p.js} +146 -146
- package/dist/chunks/{instance-vphasnz4.js → model-retry-a1832zrw.js} +47 -50
- package/dist/chunks/{instance-vj50rhab.js → model-retry-a1qwck5h.js} +8 -8
- package/dist/chunks/{instance-7h0xs0hp.js → model-retry-a3dc5jdz.js} +5 -5
- package/dist/chunks/{instance-kjx557te.js → model-retry-a4fgwpxr.js} +27 -27
- package/dist/chunks/{instance-a9gr5w5f.js → model-retry-a52bkq65.js} +79 -79
- package/dist/chunks/{instance-2p60zmnr.js → model-retry-ad21tgm2.js} +4 -4
- package/dist/chunks/{instance-spe18341.js → model-retry-adg8bb2p.js} +19 -19
- package/dist/chunks/{instance-gc8t5na7.js → model-retry-aemyyd40.js} +7 -7
- package/dist/chunks/{instance-79k544d0.js → model-retry-agje4kmn.js} +7 -7
- package/dist/chunks/{instance-4265tj9f.js → model-retry-aq5rdsap.js} +81 -57
- package/dist/chunks/{instance-8bhy31nw.js → model-retry-aq6k3cf3.js} +146 -47
- package/dist/chunks/{instance-ayjs7tqn.js → model-retry-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instance-kg226ns3.js → model-retry-azmzce5q.js} +11 -11
- package/dist/chunks/{instance-xgh5a4mc.js → model-retry-b8gjcvbw.js} +2 -2
- package/dist/chunks/{instance-fy56txwz.js → model-retry-b9902ptq.js} +16 -3
- package/dist/chunks/{instance-5vc26m93.js → model-retry-baefqw34.js} +1 -1
- package/dist/chunks/{instance-k9hdmkpm.js → model-retry-bb3pv0r8.js} +7 -7
- package/dist/chunks/{instance-jkdcm5hg.js → model-retry-bhfd478d.js} +4 -4
- package/dist/chunks/{instance-syc2my4y.js → model-retry-bhrptrfq.js} +19 -19
- package/dist/chunks/{instance-bz4wh0y9.js → model-retry-brz3f9n9.js} +18 -18
- package/dist/chunks/{instance-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{instance-yfsjc66k.js → model-retry-c6fbha32.js} +12 -12
- package/dist/chunks/{instance-np06tg3q.js → model-retry-c8xv9zc0.js} +11 -11
- package/dist/chunks/{instance-x7r36z6a.js → model-retry-caeva7y1.js} +16 -12
- package/dist/chunks/{instance-3pq4v287.js → model-retry-cb67h20a.js} +6 -6
- package/dist/chunks/{instance-5n0hxdr1.js → model-retry-cc6s66e5.js} +13 -13
- package/dist/chunks/{instance-wf80xz5e.js → model-retry-cerajcym.js} +4 -4
- package/dist/chunks/{instance-98d6yky8.js → model-retry-cj2zr1px.js} +12 -12
- package/dist/chunks/{instance-ch819tj3.js → model-retry-cn285h91.js} +8 -8
- package/dist/chunks/{instance-6wz2e538.js → model-retry-cvht37xw.js} +21 -21
- package/dist/chunks/{instance-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
- package/dist/chunks/{instance-4jwxvp8p.js → model-retry-cx8yve48.js} +18 -18
- package/dist/chunks/{instance-vt4r9rmy.js → model-retry-d28v9scs.js} +9 -9
- package/dist/chunks/{instance-90nzw1ff.js → model-retry-d3q9v104.js} +1 -1
- package/dist/chunks/{instance-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{instance-w7pq0wsq.js → model-retry-d5z41q63.js} +1 -1
- package/dist/chunks/model-retry-d77dj7jw.js +18 -0
- package/dist/chunks/{instance-dtnn69z2.js → model-retry-dc3sk665.js} +59 -59
- package/dist/chunks/{instance-w8217685.js → model-retry-denh2jb2.js} +8 -6
- package/dist/chunks/{instance-dt77769w.js → model-retry-dt77769w.js} +1 -1
- package/dist/chunks/{instance-1sed8t76.js → model-retry-dv57xqt1.js} +14 -14
- package/dist/chunks/{instance-56t85pva.js → model-retry-dvjpmffy.js} +18 -23
- package/dist/chunks/{instance-1qpse3kw.js → model-retry-e2fbpykw.js} +24 -24
- package/dist/chunks/{instance-0hydfbmz.js → model-retry-e3qgsftg.js} +14 -14
- package/dist/chunks/{instance-s918xf0d.js → model-retry-e6h0js2y.js} +8 -8
- package/dist/chunks/{instance-qa8wq1bx.js → model-retry-e8xb975w.js} +9 -9
- package/dist/chunks/{instance-116nxpgg.js → model-retry-ea4xbpys.js} +2 -2
- package/dist/chunks/{instance-5zj1e96r.js → model-retry-ebqkfy2r.js} +9 -9
- package/dist/chunks/{instance-baah4y26.js → model-retry-ec77n7yf.js} +15 -15
- package/dist/chunks/{instance-gpkk1cvs.js → model-retry-edapz20f.js} +5 -5
- package/dist/chunks/{instance-es3e1tax.js → model-retry-eg34w9c3.js} +4 -4
- package/dist/chunks/{instance-85s0z2wh.js → model-retry-ejazfhce.js} +5 -5
- package/dist/chunks/{instance-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
- package/dist/chunks/{instance-vdfjdqtv.js → model-retry-esn0ce8j.js} +14 -14
- package/dist/chunks/{instance-gy2999xp.js → model-retry-evbf0h8n.js} +4 -4
- package/dist/chunks/{instance-zpjtzyq9.js → model-retry-evy3hmsj.js} +12 -12
- package/dist/chunks/{instance-m06qa9cv.js → model-retry-exwhc5hz.js} +8 -8
- package/dist/chunks/{instance-f3bg7yfz.js → model-retry-f761xza1.js} +34 -34
- package/dist/chunks/{instance-ezfbat2v.js → model-retry-f7bpy73v.js} +20 -25
- package/dist/chunks/{instance-e5d320mb.js → model-retry-fcskamac.js} +9 -9
- package/dist/chunks/model-retry-ff9rbk43.js +144 -0
- package/dist/chunks/{instance-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
- package/dist/chunks/{instance-6tdz0wx0.js → model-retry-fjr1tg8h.js} +27 -27
- package/dist/chunks/{instance-d0pmvwgf.js → model-retry-fkqnmv7m.js} +9 -9
- package/dist/chunks/{instance-2w765we9.js → model-retry-fm88cqwd.js} +10 -10
- package/dist/chunks/{instance-sjk7jrpb.js → model-retry-fng6r8ys.js} +17 -17
- package/dist/chunks/{instance-fhn6v8vb.js → model-retry-g1m8att5.js} +21 -20
- package/dist/chunks/{instance-yd37hfn2.js → model-retry-g1x3338p.js} +3 -3
- package/dist/chunks/{instance-0b61wrfe.js → model-retry-g5cw3qgb.js} +7 -7
- package/dist/chunks/{instance-a1fb2a23.js → model-retry-g6fhsb58.js} +11 -11
- package/dist/chunks/{instance-h59yzhhv.js → model-retry-g8n6nxn7.js} +35 -35
- package/dist/chunks/{instance-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
- package/dist/chunks/{instance-a9a6mwsr.js → model-retry-gbm37efj.js} +10 -10
- package/dist/chunks/{instance-yrcywdqn.js → model-retry-gdq3b2dw.js} +31 -31
- package/dist/chunks/model-retry-ge0z7z6r.js +54 -0
- package/dist/chunks/{instance-b3ny1w86.js → model-retry-ggq1y9n4.js} +28 -28
- package/dist/chunks/{instance-ggx84v7x.js → model-retry-ggx84v7x.js} +3 -3
- package/dist/chunks/{instance-v876xee0.js → model-retry-gh5gjszb.js} +36 -36
- package/dist/chunks/{instance-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
- package/dist/chunks/{instance-26wfx3k0.js → model-retry-gmemj5zs.js} +4 -4
- package/dist/chunks/{instance-er5j98fp.js → model-retry-gny4fw8g.js} +2 -2
- package/dist/chunks/{instance-tg7s7b5t.js → model-retry-gxs71cxp.js} +4 -4
- package/dist/chunks/{instance-yt9cj8c5.js → model-retry-gyfe4a17.js} +20 -20
- package/dist/chunks/{instance-4e7xy1yt.js → model-retry-gzet49gd.js} +28 -28
- package/dist/chunks/{instance-69mphjqq.js → model-retry-h0nvnzve.js} +17 -17
- package/dist/chunks/{instance-99eawj82.js → model-retry-h7mck9ey.js} +74 -40
- package/dist/chunks/{instance-4ba3czjr.js → model-retry-h99kpe06.js} +15 -15
- package/dist/chunks/{instance-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
- package/dist/chunks/{instance-8tvvez7v.js → model-retry-hjs6kb92.js} +35 -35
- package/dist/chunks/{instance-h3f5k4xv.js → model-retry-hq1yfezb.js} +6 -6
- package/dist/chunks/{instance-ydsespw1.js → model-retry-hy8c1z76.js} +8 -8
- package/dist/chunks/{instance-w3ym8wyt.js → model-retry-j1aj7ka8.js} +15 -15
- package/dist/chunks/{instance-hkmmagrb.js → model-retry-j3n8xjy6.js} +7 -7
- package/dist/chunks/{instance-782pvxav.js → model-retry-j6vesw1n.js} +11 -11
- package/dist/chunks/model-retry-jaq18jgp.js +16 -0
- package/dist/chunks/{instance-msd2a3qm.js → model-retry-jcz74541.js} +6 -6
- package/dist/chunks/{instance-kw76mj88.js → model-retry-jfvyzykx.js} +16 -16
- package/dist/chunks/{instance-tr8x705m.js → model-retry-jht64jd1.js} +4 -4
- package/dist/chunks/{instance-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
- package/dist/chunks/{instance-pw5jc9q3.js → model-retry-jn02p7w8.js} +27 -27
- package/dist/chunks/{instance-w76xjer3.js → model-retry-jns4gqy7.js} +4 -4
- package/dist/chunks/{instance-3rph647x.js → model-retry-jx75pjbb.js} +12 -12
- package/dist/chunks/{instance-0erfcbxq.js → model-retry-jzyf28t6.js} +28 -28
- package/dist/chunks/{instance-k5mavme4.js → model-retry-k08th43v.js} +8 -8
- package/dist/chunks/{instance-q558kfb7.js → model-retry-k28r1t9f.js} +30 -26
- package/dist/chunks/{instance-hc401pc4.js → model-retry-k2w93ba9.js} +33 -33
- package/dist/chunks/{instance-24878mnr.js → model-retry-k34er33s.js} +20 -20
- package/dist/chunks/{instance-6ssgn520.js → model-retry-ke6ptzrg.js} +3 -3
- package/dist/chunks/{instance-b7djxcmj.js → model-retry-kpjr6knp.js} +12 -12
- package/dist/chunks/{instance-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{instance-q8r5ktmh.js → model-retry-kxamksb3.js} +17 -17
- package/dist/chunks/{instance-tc6z5s9r.js → model-retry-kyc0r0ht.js} +7 -7
- package/dist/chunks/{instance-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
- package/dist/chunks/{instance-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{instance-zpdbqgja.js → model-retry-m4p4r8nc.js} +26 -3
- package/dist/chunks/model-retry-m8prejn4.js +35 -0
- package/dist/chunks/{instance-m90tx7mw.js → model-retry-m90tx7mw.js} +1 -1
- package/dist/chunks/{instance-swyq773a.js → model-retry-m91bny15.js} +13 -13
- package/dist/chunks/{instance-j2g410ns.js → model-retry-m998j73k.js} +8 -8
- package/dist/chunks/{instance-p3dvk7tw.js → model-retry-m9a9fe6f.js} +25 -12
- package/dist/chunks/{instance-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-mb7mbhnz.js → model-retry-mb7mbhnz.js} +3 -3
- package/dist/chunks/{instance-3qbvs0a3.js → model-retry-mesdejg4.js} +26 -26
- package/dist/chunks/{instance-ec60ya00.js → model-retry-mrjhcth0.js} +2 -2
- package/dist/chunks/{instance-m4n9kcyr.js → model-retry-mzj1qzjq.js} +25 -25
- package/dist/chunks/{instance-s615qp07.js → model-retry-n0q6v9g9.js} +6 -6
- package/dist/chunks/{instance-n320gsn2.js → model-retry-n320gsn2.js} +1 -1
- package/dist/chunks/{instance-d4qb2rc3.js → model-retry-n3na61j9.js} +4 -4
- package/dist/chunks/{instance-gqsbgj66.js → model-retry-n4chev15.js} +39 -39
- package/dist/chunks/{instance-6edbc7zm.js → model-retry-nn2nd58t.js} +7 -7
- package/dist/chunks/{instance-eet5ftjn.js → model-retry-nq3gw3nz.js} +23 -23
- package/dist/chunks/{instance-mv3k10m3.js → model-retry-nw314s9d.js} +2 -2
- package/dist/chunks/{instance-6yakppr8.js → model-retry-p9jvgf3w.js} +6 -6
- package/dist/chunks/{instance-xfk7s2rd.js → model-retry-phy3xrma.js} +11 -11
- package/dist/chunks/{instance-bneqzcg2.js → model-retry-pkbe14me.js} +32 -32
- package/dist/chunks/{instance-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{instance-vm2714gw.js → model-retry-pm5952we.js} +34 -34
- package/dist/chunks/{instance-8ykqf5wm.js → model-retry-pnwsrq7c.js} +8 -8
- package/dist/chunks/{instance-qdvd3swc.js → model-retry-pqr3184k.js} +13 -13
- package/dist/chunks/{instance-jq33a8bt.js → model-retry-pr9etnbc.js} +17 -17
- package/dist/chunks/{instance-rbmv0qrb.js → model-retry-pv9k69qc.js} +81 -81
- package/dist/chunks/{instance-50zs15hr.js → model-retry-pvjmct39.js} +13 -6
- package/dist/chunks/{instance-32x9r523.js → model-retry-pwjd9d5z.js} +27 -28
- package/dist/chunks/{instance-rj7j5fvs.js → model-retry-px7qpgcn.js} +4 -4
- package/dist/chunks/{instance-epa10x1h.js → model-retry-pzj8t5rk.js} +11 -11
- package/dist/chunks/{instance-zs8mchrd.js → model-retry-q8hw2skb.js} +9 -9
- package/dist/chunks/{instance-azxn0vfy.js → model-retry-qacp188h.js} +8 -8
- package/dist/chunks/{instance-vq06w5cr.js → model-retry-qbqyqs78.js} +10 -10
- package/dist/chunks/{instance-1844ecb2.js → model-retry-qdc1w9ks.js} +26 -26
- package/dist/chunks/{instance-qdxk7dqv.js → model-retry-qeg6dv9a.js} +25 -25
- package/dist/chunks/{instance-kj9n5bvh.js → model-retry-qfz6bxfd.js} +4 -4
- package/dist/chunks/{instance-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
- package/dist/chunks/{instance-8wqgh9dj.js → model-retry-qpqdpqrv.js} +14 -14
- package/dist/chunks/{instance-1zeqvgkp.js → model-retry-qv7g05k4.js} +7 -7
- package/dist/chunks/{instance-hbk0hwen.js → model-retry-r61v17gv.js} +43 -43
- package/dist/chunks/{instance-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instance-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
- package/dist/chunks/{instance-9wptakxf.js → model-retry-rhg4046s.js} +17 -17
- package/dist/chunks/{instance-s2yjk1ar.js → model-retry-rja7p7xq.js} +3 -3
- package/dist/chunks/{instance-dkpvrnfv.js → model-retry-rmfzdfxf.js} +13 -13
- package/dist/chunks/{instance-cb7z7gjr.js → model-retry-rpqdece5.js} +4 -4
- package/dist/chunks/{instance-30b05xge.js → model-retry-rv31kkjr.js} +4 -4
- package/dist/chunks/{instance-5whx36p1.js → model-retry-s47rahr7.js} +4 -4
- package/dist/chunks/{instance-tgtbxz93.js → model-retry-s5g14t6y.js} +6 -6
- package/dist/chunks/{instance-6rkx64xd.js → model-retry-s70c1f4z.js} +18 -18
- package/dist/chunks/{instance-vxz9zfh4.js → model-retry-s9xvbj60.js} +4 -4
- package/dist/chunks/{instance-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
- package/dist/chunks/{instance-axvxv4yy.js → model-retry-sd1es34h.js} +3 -3
- package/dist/chunks/{instance-40y6dtc2.js → model-retry-sh9dx4s1.js} +4 -4
- package/dist/chunks/{instance-q55m01sh.js → model-retry-sp5gfv0g.js} +34 -34
- package/dist/chunks/{instance-s6mcjv72.js → model-retry-srb5ekkn.js} +18 -18
- package/dist/chunks/{instance-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
- package/dist/chunks/{instance-wz4dy3mx.js → model-retry-t84ct0bh.js} +6 -6
- package/dist/chunks/{instance-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
- package/dist/chunks/{instance-gbggqar9.js → model-retry-tck9nc1r.js} +31 -31
- package/dist/chunks/{instance-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{instance-vqnrv5ss.js → model-retry-tenwd8mx.js} +11 -11
- package/dist/chunks/model-retry-tn2h78aa.js +40 -0
- package/dist/chunks/{instance-b26ddj6h.js → model-retry-tp1jb13k.js} +7 -7
- package/dist/chunks/{instance-bxt8he58.js → model-retry-tv9fhf77.js} +6 -6
- package/dist/chunks/{instance-e2mg8vga.js → model-retry-tve6atr2.js} +31 -36
- package/dist/chunks/{instance-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
- package/dist/chunks/{instance-44pmzq9c.js → model-retry-twhtcdx9.js} +4 -4
- package/dist/chunks/{instance-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
- package/dist/chunks/{instance-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instance-13td3p00.js → model-retry-v32atjwq.js} +21 -21
- package/dist/chunks/{instance-95zgn1f9.js → model-retry-v5w4jpez.js} +6 -6
- package/dist/chunks/{instance-3f3z22em.js → model-retry-vb8zbt9n.js} +7 -7
- package/dist/chunks/{instance-3kfexme8.js → model-retry-vfy39f1m.js} +23 -23
- package/dist/chunks/{instance-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
- package/dist/chunks/{instance-10pn4eb5.js → model-retry-vjhrddsw.js} +5 -5
- package/dist/chunks/{instance-px00hf90.js → model-retry-vrkt2gzc.js} +18 -18
- package/dist/chunks/{instance-yyd8mswt.js → model-retry-vzep8vzj.js} +12 -12
- package/dist/chunks/{instance-yz6tk0cp.js → model-retry-w03ds3y6.js} +8 -8
- package/dist/chunks/{instance-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-hmhcwfpk.js → model-retry-w4xw9ac5.js} +8 -8
- package/dist/chunks/{instance-xmxh6hrv.js → model-retry-w5v5zxbk.js} +6 -6
- package/dist/chunks/{instance-racjgfee.js → model-retry-w6sqcs8d.js} +27 -27
- package/dist/chunks/{instance-tgjrgwnv.js → model-retry-w71w1vyw.js} +48 -48
- package/dist/chunks/{instance-8vb0va39.js → model-retry-w89hjt3b.js} +19 -15
- package/dist/chunks/{instance-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{instance-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{instance-yn770g8s.js → model-retry-weexxn37.js} +5 -5
- package/dist/chunks/{instance-wegkxhrn.js → model-retry-wegkxhrn.js} +2 -2
- package/dist/chunks/{instance-8h741rz1.js → model-retry-wha2430v.js} +3 -3
- package/dist/chunks/{instance-89f6sgg9.js → model-retry-wnyqvj32.js} +18 -18
- package/dist/chunks/{instance-xnw4kvm5.js → model-retry-wsy64217.js} +15 -15
- package/dist/chunks/{instance-9g2hcbat.js → model-retry-wt8qw9kc.js} +13 -13
- package/dist/chunks/{instance-g0ptqx7f.js → model-retry-x19yfq7e.js} +28 -28
- package/dist/chunks/{instance-rbh2bs3a.js → model-retry-x2vkwk6x.js} +4 -4
- package/dist/chunks/{instance-3qgwywyc.js → model-retry-xacrkbdt.js} +4 -4
- package/dist/chunks/{instance-v4h87rkc.js → model-retry-xd5qa272.js} +67 -84
- package/dist/chunks/{instance-qyxvc8bz.js → model-retry-xg7gtsp9.js} +6 -6
- package/dist/chunks/{instance-xxschbft.js → model-retry-xjr6c8m4.js} +4 -4
- package/dist/chunks/{instance-6cxvesht.js → model-retry-xxf442y8.js} +33 -33
- package/dist/chunks/{instance-qec9wkq8.js → model-retry-xxfjb0zd.js} +10 -10
- package/dist/chunks/{instance-a1z8ky6b.js → model-retry-y2wfh8nz.js} +7 -7
- package/dist/chunks/{instance-hm3m1sdj.js → model-retry-y3jkqygv.js} +41 -41
- package/dist/chunks/{instance-y4gv9tc7.js → model-retry-y9dg44tb.js} +20 -20
- package/dist/chunks/{instance-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{instance-pppfy90j.js → model-retry-ybv2sjse.js} +26 -26
- package/dist/chunks/{instance-b1yhtaba.js → model-retry-ye051wpe.js} +3 -3
- package/dist/chunks/{instance-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
- package/dist/chunks/{instance-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
- package/dist/chunks/{instance-gzbweqa7.js → model-retry-ywb0hxgs.js} +21 -21
- package/dist/chunks/{instance-xksw6ev0.js → model-retry-yybgvvmq.js} +4 -4
- package/dist/chunks/{instance-4pw98qd4.js → model-retry-yydqqga9.js} +4 -4
- package/dist/chunks/model-retry-z0wbgq7s.js +30 -0
- package/dist/chunks/{instance-6ke2x4rr.js → model-retry-zdty93sz.js} +4 -4
- package/dist/chunks/{instance-ze75qvmd.js → model-retry-ze75qvmd.js} +3 -3
- package/dist/chunks/{instance-4crq3wsj.js → model-retry-zgxh77gy.js} +364 -364
- package/dist/chunks/{instance-ge5ycmax.js → model-retry-zkybrta7.js} +8 -8
- package/dist/chunks/{instance-yp6q9tde.js → model-retry-zmmx3t8v.js} +9 -9
- package/dist/chunks/{instance-eaaqrmje.js → model-retry-zr3s1x67.js} +37 -37
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +149 -149
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +156 -156
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +248 -245
- package/dist/config/plugin/compaction.js +174 -174
- package/dist/config/plugin/compatibility.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +131 -131
- package/dist/config/plugin/location-watcher.js +133 -133
- package/dist/config/plugin/mcp.js +148 -148
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +133 -133
- package/dist/config/plugin/skill-file.js +150 -150
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +157 -157
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +136 -136
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -90
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +79 -79
- 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 +78 -78
- 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 +98 -98
- package/dist/effect/app-node-builder.js +449 -446
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +161 -161
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +165 -165
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +259 -255
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +134 -134
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +117 -117
- package/dist/git.js +7 -7
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +440 -437
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +94 -94
- package/dist/job/list.js +7 -7
- 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 +187 -183
- package/dist/location-lifecycle.js +154 -154
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +437 -434
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +159 -159
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +145 -145
- package/dist/mcp/instructions.js +190 -190
- package/dist/mcp/oauth.js +97 -107
- package/dist/mcp/pool.js +108 -108
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +160 -160
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +10 -0
- 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 +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +250 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +417 -413
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +150 -150
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -134
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +7 -7
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -110
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +137 -136
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +162 -162
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -132
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +241 -240
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +153 -153
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +425 -421
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +261 -257
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- 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 +255 -251
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +261 -257
- 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 +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +174 -174
- package/dist/session/context.js +206 -206
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +375 -319
- package/dist/session/execution/subagent-report.js +152 -0
- package/dist/session/execution.js +176 -172
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +140 -140
- package/dist/session/inbox.js +151 -151
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -86
- package/dist/session/instruction-state.js +10 -10
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +172 -172
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -172
- package/dist/session/projector.js +148 -147
- package/dist/session/prompt.js +152 -152
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +143 -143
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +260 -257
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +154 -154
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +167 -167
- package/dist/session/runner/to-llm-message.js +141 -141
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -192
- package/dist/session/shell.js +151 -151
- package/dist/session/skill.js +151 -151
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +146 -146
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -1
- package/dist/session/subagent-job.js +175 -242
- package/dist/session/subagent-metadata.js +18 -0
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +210 -210
- package/dist/session/to-session-error.js +153 -153
- package/dist/session/transfer.js +253 -249
- package/dist/session/usage.js +1 -1
- package/dist/session.js +250 -246
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +151 -151
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +155 -155
- package/dist/skill.js +160 -160
- package/dist/snapshot.js +104 -104
- package/dist/state.js +3 -3
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +189 -189
- package/dist/tool/plugin/artifact.js +245 -241
- package/dist/tool/plugin/edit.js +171 -171
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +175 -175
- package/dist/tool/plugin/grep.js +174 -174
- package/dist/tool/plugin/image-generate.js +256 -252
- package/dist/tool/plugin/mcp-events.js +166 -166
- package/dist/tool/plugin/mcp-resource.js +170 -170
- package/dist/tool/plugin/opencode.js +165 -165
- package/dist/tool/plugin/patch.js +168 -168
- package/dist/tool/plugin/question.js +152 -152
- package/dist/tool/plugin/read.js +176 -176
- package/dist/tool/plugin/schedule.js +259 -255
- package/dist/tool/plugin/shell.js +252 -248
- package/dist/tool/plugin/skill.js +159 -159
- package/dist/tool/plugin/subagent.js +252 -249
- package/dist/tool/plugin/todo.js +157 -157
- package/dist/tool/plugin/webfetch.js +159 -159
- package/dist/tool/plugin/websearch.js +159 -159
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +166 -166
- package/dist/types/codemode/tool.d.ts +2 -3
- package/dist/types/flag.d.ts +2 -2
- package/dist/types/job/list.d.ts +2 -0
- package/dist/types/job.d.ts +30 -0
- package/dist/types/mcp/oauth.d.ts +1 -1
- package/dist/types/oauth/redirect.d.ts +26 -0
- package/dist/types/session/background.d.ts +26 -31
- package/dist/types/session/blob.d.ts +6 -0
- package/dist/types/session/execution/subagent-report.d.ts +45 -0
- package/dist/types/session/execution.d.ts +2 -1
- package/dist/types/session/history.d.ts +14 -0
- package/dist/types/session/run-coordinator.d.ts +2 -0
- package/dist/types/session/store.d.ts +9 -0
- package/dist/types/session/subagent-completion.d.ts +16 -4
- package/dist/types/session/subagent-job.d.ts +5 -4
- package/dist/types/session/subagent-metadata.d.ts +22 -0
- package/dist/types/session/transfer.d.ts +1 -0
- package/dist/types/tool/plugin/shell.d.ts +1 -2
- package/dist/types/tool/plugin/subagent.d.ts +2 -2
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +97 -97
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -89
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/instance-4a3ph93e.js +0 -273
- package/dist/chunks/instance-adzz9gjd.js +0 -35
- package/dist/chunks/instance-da71jhpv.js +0 -73
- package/dist/chunks/instance-g8xjta2p.js +0 -26
- package/dist/chunks/instance-me0dhgxs.js +0 -18
- package/dist/chunks/instance-qwz12hkq.js +0 -16
- /package/dist/chunks/{instance-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
- /package/dist/chunks/{instance-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-7rvsyqjv.js → model-retry-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-syrav9an.js → model-retry-syrav9an.js} +0 -0
- /package/dist/chunks/{instance-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
- /package/dist/chunks/{instance-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
- /package/dist/chunks/{instance-v2dnd5dt.js → model-retry-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
- /package/dist/chunks/{instance-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
- /package/dist/chunks/{instance-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service93,
|
|
4
4
|
node95
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-4dk3ggh9.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service93;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {}, { global: true })), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node95] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-1abx79xn.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service93,
|
|
8
8
|
node95
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-4dk3ggh9.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-0ma9gw4f.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-35xwmx6k.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service65,
|
|
21
|
+
node67
|
|
22
|
+
} from "./model-retry-m9a9fe6f.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service28,
|
|
25
|
+
node31
|
|
26
|
+
} from "./model-retry-a52bkq65.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-4f25tdd0.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service6,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer5,
|
|
42
|
+
node: () => node8
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai/effect";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service6 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var layer5 = Layer.effect(Service6, Effect.gen(function* () {
|
|
76
76
|
const bus = yield* Service93;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service28;
|
|
79
|
+
const store = yield* Service65;
|
|
80
80
|
const db = (yield* Service94).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -167,12 +167,12 @@ Recent conversation:
|
|
|
167
167
|
title: truncate(title)
|
|
168
168
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
169
169
|
});
|
|
170
|
-
return
|
|
170
|
+
return Service6.of({ generate });
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
174
|
-
layer:
|
|
175
|
-
deps: [node95, llmClient2,
|
|
172
|
+
var node8 = makeLocationNode({
|
|
173
|
+
service: Service6,
|
|
174
|
+
layer: layer5,
|
|
175
|
+
deps: [node95, llmClient2, node31, node67, node96]
|
|
176
176
|
});
|
|
177
177
|
|
|
178
|
-
export {
|
|
178
|
+
export { Service6, isUntitled2, layer5, node8, exports_title };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
invocation2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service64
|
|
4
|
+
} from "./model-retry-n4chev15.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID9,
|
|
7
7
|
Name2,
|
|
8
8
|
toModelOutput3,
|
|
9
9
|
prepare3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service45
|
|
11
|
+
} from "./model-retry-5xadkbnd.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/tool/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
|
+
Output: () => Output4,
|
|
21
|
+
Plugin: () => Plugin25,
|
|
22
22
|
SkillTool: () => exports_skill2,
|
|
23
|
-
description: () =>
|
|
24
|
-
name: () =>
|
|
23
|
+
description: () => description5,
|
|
24
|
+
name: () => name5,
|
|
25
25
|
toModelOutput: () => toModelOutput2
|
|
26
26
|
});
|
|
27
27
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
28
28
|
import { Effect, Schema } from "effect";
|
|
29
29
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
id:
|
|
30
|
+
var name5 = "skill";
|
|
31
|
+
var Input5 = Schema.Struct({
|
|
32
|
+
id: ID9.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
33
33
|
});
|
|
34
|
-
var
|
|
34
|
+
var Output4 = Schema.Struct({
|
|
35
35
|
name: Name2,
|
|
36
36
|
directory: Schema.String,
|
|
37
37
|
output: Schema.String
|
|
38
38
|
});
|
|
39
|
-
var
|
|
39
|
+
var description5 = [
|
|
40
40
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
41
41
|
"",
|
|
42
42
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -44,25 +44,25 @@ var description3 = [
|
|
|
44
44
|
`);
|
|
45
45
|
var toModelOutput2 = toModelOutput3;
|
|
46
46
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
47
|
-
var
|
|
47
|
+
var Plugin25 = {
|
|
48
48
|
id: "opencode.tool.skill",
|
|
49
49
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
50
50
|
const fs = yield* FSUtil.Service;
|
|
51
|
-
const skills = yield*
|
|
52
|
-
const permission = yield*
|
|
51
|
+
const skills = yield* Service45;
|
|
52
|
+
const permission = yield* Service64;
|
|
53
53
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
54
|
-
name:
|
|
54
|
+
name: name5,
|
|
55
55
|
options: { codemode: false },
|
|
56
|
-
description:
|
|
57
|
-
input:
|
|
58
|
-
output:
|
|
56
|
+
description: description5,
|
|
57
|
+
input: Input5,
|
|
58
|
+
output: Output4,
|
|
59
59
|
execute: (input, context) => Effect.gen(function* () {
|
|
60
60
|
const skill = yield* skills.get(input.id);
|
|
61
61
|
if (!skill)
|
|
62
62
|
return yield* unableToLoad(input.id);
|
|
63
63
|
return yield* Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name5,
|
|
66
66
|
resources: [skill.id],
|
|
67
67
|
save: [skill.id],
|
|
68
68
|
...invocation2(context)
|
|
@@ -79,4 +79,4 @@ var Plugin27 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name5, Input5, Output4, description5, toModelOutput2, Plugin25, exports_skill2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/claude-agent/language-model/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_system_prompt, {
|
|
|
8
8
|
AGENT_OPTION: () => AGENT_OPTION2,
|
|
9
9
|
ClaudeSystemPrompt: () => exports_system_prompt,
|
|
10
10
|
INSTRUCTIONS_OPTION: () => INSTRUCTIONS_OPTION2,
|
|
11
|
-
make: () =>
|
|
11
|
+
make: () => make10,
|
|
12
12
|
utility: () => utility2
|
|
13
13
|
});
|
|
14
14
|
var AGENT_OPTION2 = "claudeCodeAgent";
|
|
@@ -19,7 +19,7 @@ var primary = {
|
|
|
19
19
|
snapshot: false,
|
|
20
20
|
append: "<runtime_info>You are running in OpenCode through the Claude Code harness. Mention this only when asked.</runtime_info>"
|
|
21
21
|
};
|
|
22
|
-
function
|
|
22
|
+
function make10(role, instructions) {
|
|
23
23
|
const blocks = [primary.append];
|
|
24
24
|
if (role)
|
|
25
25
|
blocks.push(`# Agent role (from OpenCode)
|
|
@@ -37,4 +37,4 @@ function utility2(prompt) {
|
|
|
37
37
|
`) || "You are a text generation helper. Return only the requested output.";
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2,
|
|
40
|
+
export { AGENT_OPTION2, INSTRUCTIONS_OPTION2, make10, utility2, exports_system_prompt };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./model-retry-0dy226kc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./model-retry-d28v9scs.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-tvtps2q9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin47
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin47 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service71;
|
|
26
|
+
const policy = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin18 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin47, exports_location_watcher2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-4dk3ggh9.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-cx8yve48.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service19,
|
|
9
|
+
Event2
|
|
10
|
+
} from "./model-retry-ggq1y9n4.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service19;
|
|
42
42
|
const bus = yield* Service93;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service93,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-4dk3ggh9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service90,
|
|
7
7
|
node92
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-gny4fw8g.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create4
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-retry-sh9dx4s1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node76
|
|
16
|
+
} from "./model-retry-gbm37efj.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service68,
|
|
19
|
+
node70
|
|
20
|
+
} from "./model-retry-90bxm3w0.js";
|
|
21
21
|
import {
|
|
22
22
|
detect2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-4pyp9zr9.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service25,
|
|
26
|
+
node28
|
|
27
|
+
} from "./model-retry-7bgajff9.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/artifact.ts
|
|
33
33
|
var exports_artifact2 = {};
|
|
@@ -36,22 +36,22 @@ __export(exports_artifact2, {
|
|
|
36
36
|
Capability: () => Capability2,
|
|
37
37
|
Content: () => Content2,
|
|
38
38
|
CreateInput: () => CreateInput4,
|
|
39
|
-
DisabledError: () =>
|
|
40
|
-
Event: () =>
|
|
39
|
+
DisabledError: () => DisabledError4,
|
|
40
|
+
Event: () => Event6,
|
|
41
41
|
FileMissingError: () => FileMissingError2,
|
|
42
42
|
ID: () => ID7,
|
|
43
43
|
Info: () => Info6,
|
|
44
44
|
InvalidError: () => InvalidError3,
|
|
45
45
|
LocalProviderID: () => LocalProviderID2,
|
|
46
|
-
NotFoundError: () =>
|
|
47
|
-
Provider: () =>
|
|
46
|
+
NotFoundError: () => NotFoundError3,
|
|
47
|
+
Provider: () => Provider3,
|
|
48
48
|
ProviderError: () => ProviderError2,
|
|
49
49
|
ProviderID: () => ProviderID2,
|
|
50
|
-
ProviderNotFoundError: () =>
|
|
51
|
-
Service: () =>
|
|
52
|
-
UpdateInput: () =>
|
|
50
|
+
ProviderNotFoundError: () => ProviderNotFoundError3,
|
|
51
|
+
Service: () => Service24,
|
|
52
|
+
UpdateInput: () => UpdateInput2,
|
|
53
53
|
locate: () => locate2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node27
|
|
55
55
|
});
|
|
56
56
|
import { randomUUID } from "node:crypto";
|
|
57
57
|
import fs from "node:fs/promises";
|
|
@@ -61,12 +61,12 @@ import {
|
|
|
61
61
|
Capability as Capability2,
|
|
62
62
|
Content as Content2,
|
|
63
63
|
CreateInput as CreateInput4,
|
|
64
|
-
Event as
|
|
64
|
+
Event as Event6,
|
|
65
65
|
ID as ID7,
|
|
66
66
|
Info as Info6,
|
|
67
|
-
Provider as
|
|
67
|
+
Provider as Provider3,
|
|
68
68
|
ProviderID as ProviderID2,
|
|
69
|
-
UpdateInput as
|
|
69
|
+
UpdateInput as UpdateInput2
|
|
70
70
|
} from "@opencode/schema/artifact";
|
|
71
71
|
import { Global } from "@opencode/util/global";
|
|
72
72
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -74,13 +74,13 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
74
74
|
var LocalProviderID2 = ProviderID2.make("local");
|
|
75
75
|
var ItemPrefix = "artifact:item:";
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class DisabledError4 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
|
|
78
78
|
get message() {
|
|
79
79
|
return "Artifacts are disabled; set experimental.artifacts in config";
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class NotFoundError3 extends Schema.TaggedError()("Artifact.NotFoundError", {
|
|
84
84
|
artifactID: ID7
|
|
85
85
|
}) {
|
|
86
86
|
get message() {
|
|
@@ -97,7 +97,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
class
|
|
100
|
+
class ProviderNotFoundError3 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
|
|
101
101
|
providerID: ProviderID2
|
|
102
102
|
}) {
|
|
103
103
|
get message() {
|
|
@@ -123,7 +123,7 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
class
|
|
126
|
+
class Service24 extends Context.Service()("@opencode/Artifact") {
|
|
127
127
|
}
|
|
128
128
|
var StoredRecord = Schema.Struct({
|
|
129
129
|
info: Info6,
|
|
@@ -139,16 +139,16 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
139
139
|
const decoded = decodeStoredRecord(stored);
|
|
140
140
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
141
141
|
}));
|
|
142
|
-
var layer = Layer.effect(
|
|
142
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
143
143
|
const bus = yield* Service93;
|
|
144
|
-
const flags = yield*
|
|
144
|
+
const flags = yield* Service68;
|
|
145
145
|
const global = yield* Global.Service;
|
|
146
|
-
const kv = yield*
|
|
146
|
+
const kv = yield* Service74;
|
|
147
147
|
const location = yield* Service90;
|
|
148
|
-
const sessions = yield*
|
|
148
|
+
const sessions = yield* Service25;
|
|
149
149
|
const rootDir = path.join(global.data, "artifacts");
|
|
150
150
|
const itemDir = (id) => path.join(rootDir, id);
|
|
151
|
-
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new
|
|
151
|
+
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError3({ artifactID: id }))));
|
|
152
152
|
const localProvider = {
|
|
153
153
|
id: LocalProviderID2,
|
|
154
154
|
name: "Local",
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
}),
|
|
190
|
-
notify: changes2(snapshotProviders, () => bus.publish(
|
|
190
|
+
notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
|
|
191
191
|
});
|
|
192
192
|
const isEnabled = Effect.fn("Artifact.enabled")(() => flags.enabled("artifacts"));
|
|
193
|
-
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new
|
|
193
|
+
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError4)));
|
|
194
194
|
const activeDefaultID = () => {
|
|
195
195
|
const data = state.get();
|
|
196
196
|
return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
|
|
@@ -199,17 +199,17 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
199
199
|
const data = state.get();
|
|
200
200
|
const target = requested ?? activeDefaultID();
|
|
201
201
|
const found = data.providers.get(target);
|
|
202
|
-
return found ? Effect.succeed(found) : Effect.fail(new
|
|
202
|
+
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError3({ providerID: target }));
|
|
203
203
|
};
|
|
204
204
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
205
|
-
return
|
|
205
|
+
return Service24.of({
|
|
206
206
|
transform: state.transform,
|
|
207
207
|
reload: state.reload,
|
|
208
208
|
enabled: isEnabled,
|
|
209
209
|
providers: Effect.fn("Artifact.providers")(function* () {
|
|
210
210
|
yield* requireEnabled();
|
|
211
211
|
const defaultID = activeDefaultID();
|
|
212
|
-
return Array.from(state.get().providers.values(), (provider) =>
|
|
212
|
+
return Array.from(state.get().providers.values(), (provider) => Provider3.make({
|
|
213
213
|
id: provider.id,
|
|
214
214
|
name: provider.name,
|
|
215
215
|
capabilities: [...provider.capabilities],
|
|
@@ -337,10 +337,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
337
337
|
})
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
341
|
-
service:
|
|
340
|
+
var node27 = makeLocationNode({
|
|
341
|
+
service: Service24,
|
|
342
342
|
layer,
|
|
343
|
-
deps: [node95,
|
|
343
|
+
deps: [node95, node70, Global.node, node76, node92, node28]
|
|
344
344
|
});
|
|
345
345
|
function encodeStringFiles(files) {
|
|
346
346
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -481,4 +481,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
481
481
|
});
|
|
482
482
|
}
|
|
483
483
|
|
|
484
|
-
export { Capability2, Content2, CreateInput4,
|
|
484
|
+
export { Capability2, Content2, CreateInput4, Event6, ID7, Info6, Provider3, ProviderID2, UpdateInput2, LocalProviderID2, DisabledError4, NotFoundError3, FileMissingError2, ProviderNotFoundError3, InvalidError3, ProviderError2, Service24, locate2, node27, exports_artifact2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-retry-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|