@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
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make33,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-8rt25ezk.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
lookup2,
|
|
11
11
|
namespaceLine2,
|
|
12
12
|
cost2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-85jq8dht.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/codemode/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
CodeModeInstructions: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
22
22
|
make: () => make25,
|
|
23
|
-
render: () =>
|
|
23
|
+
render: () => render2,
|
|
24
24
|
update: () => update3
|
|
25
25
|
});
|
|
26
26
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -38,7 +38,7 @@ var searchNote = `You can also look up tools that aren't listed with the global
|
|
|
38
38
|
|
|
39
39
|
- ${searchSignature}`;
|
|
40
40
|
var UPDATE_BUDGET = 1000;
|
|
41
|
-
function
|
|
41
|
+
function render2(catalog) {
|
|
42
42
|
if (catalog.total === 0)
|
|
43
43
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
44
44
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -52,7 +52,7 @@ ${tools.join(`
|
|
|
52
52
|
function update3(previous, current, lookup) {
|
|
53
53
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
54
54
|
|
|
55
|
-
${
|
|
55
|
+
${render2(current)}`;
|
|
56
56
|
if (current.total === 0 || previous.total === 0)
|
|
57
57
|
return replacement;
|
|
58
58
|
const namespaces = diffByKey2(previous.namespaces, current.namespaces, (namespace) => namespace.name, (before, after) => before.description !== after.description);
|
|
@@ -125,12 +125,12 @@ var key = Key3.make("core/codemode");
|
|
|
125
125
|
var codec = Schema.toCodecJson(Summary2);
|
|
126
126
|
var make25 = (inventory) => {
|
|
127
127
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
128
|
-
return
|
|
128
|
+
return make33({
|
|
129
129
|
key,
|
|
130
130
|
codec,
|
|
131
131
|
read: Effect.succeed(catalog),
|
|
132
132
|
render: {
|
|
133
|
-
initial:
|
|
133
|
+
initial: render2,
|
|
134
134
|
changed: (previous, current) => update3(previous, current, inventory === undefined ? () => {
|
|
135
135
|
return;
|
|
136
136
|
} : lookup2(inventory)),
|
|
@@ -139,4 +139,4 @@ var make25 = (inventory) => {
|
|
|
139
139
|
});
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { render2, update3, make25, exports_instructions4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID18,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service86,
|
|
4
|
+
node88
|
|
5
|
+
} from "./model-retry-ywb0hxgs.js";
|
|
6
6
|
import {
|
|
7
7
|
isAISDK2,
|
|
8
8
|
packageName2,
|
|
9
9
|
mergeOverlay2,
|
|
10
10
|
mergeHeaders2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-m90tx7mw.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
loadPackage2,
|
|
@@ -17,24 +17,24 @@ import {
|
|
|
17
17
|
timeout2,
|
|
18
18
|
timeouts2,
|
|
19
19
|
encoding2,
|
|
20
|
-
Service86,
|
|
21
|
-
node88
|
|
22
|
-
} from "./instance-fhn6v8vb.js";
|
|
23
|
-
import {
|
|
24
20
|
Service85,
|
|
25
21
|
node87
|
|
26
|
-
} from "./
|
|
22
|
+
} from "./model-retry-g1m8att5.js";
|
|
23
|
+
import {
|
|
24
|
+
Service84,
|
|
25
|
+
node86
|
|
26
|
+
} from "./model-retry-phy3xrma.js";
|
|
27
27
|
import {
|
|
28
28
|
ID16,
|
|
29
29
|
VariantID2,
|
|
30
30
|
Ref3,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
Service83,
|
|
32
|
+
node85,
|
|
33
33
|
supportsText2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-cx8yve48.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/model-resolver.ts
|
|
40
40
|
var exports_model_resolver = {};
|
|
@@ -43,15 +43,15 @@ __export(exports_model_resolver, {
|
|
|
43
43
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
44
44
|
ModelInitializationError: () => ModelInitializationError2,
|
|
45
45
|
ModelResolver: () => exports_model_resolver,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service82,
|
|
47
47
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
48
48
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
49
49
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
50
50
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
51
51
|
fromCatalogModel: () => fromCatalogModel2,
|
|
52
52
|
hasPackage: () => hasPackage2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer29,
|
|
54
|
+
node: () => node84,
|
|
55
55
|
resolveModel: () => resolveModel3,
|
|
56
56
|
withVariant: () => withVariant2
|
|
57
57
|
});
|
|
@@ -131,7 +131,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
class
|
|
134
|
+
class Service82 extends Context.Service()("@opencode/ModelResolver") {
|
|
135
135
|
}
|
|
136
136
|
var withVariant2 = (model, variantID) => {
|
|
137
137
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -310,12 +310,12 @@ var causeMessage = (cause) => {
|
|
|
310
310
|
};
|
|
311
311
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
312
312
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
313
|
-
var
|
|
314
|
-
const providers = yield*
|
|
315
|
-
const models = yield*
|
|
316
|
-
const integrations = yield*
|
|
313
|
+
var layer29 = Layer.effect(Service82, Effect.gen(function* () {
|
|
314
|
+
const providers = yield* Service85;
|
|
315
|
+
const models = yield* Service83;
|
|
316
|
+
const integrations = yield* Service86;
|
|
317
317
|
const npm = yield* Npm.Service;
|
|
318
|
-
const aisdk = yield*
|
|
318
|
+
const aisdk = yield* Service84;
|
|
319
319
|
const dependencies = {
|
|
320
320
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
321
321
|
loadAISDK: (model) => aisdk.model(model)
|
|
@@ -365,7 +365,7 @@ var layer26 = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
365
365
|
return model;
|
|
366
366
|
return (yield* models.available()).find((model) => hasPackage2(model) && supportsText2(model));
|
|
367
367
|
});
|
|
368
|
-
return
|
|
368
|
+
return Service82.of({
|
|
369
369
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
370
370
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* fallback();
|
|
371
371
|
if (!selected)
|
|
@@ -431,10 +431,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
431
431
|
return false;
|
|
432
432
|
return API_KEY_AUTH_PACKAGES.has(name) || name.startsWith("@opencode/ai/providers/openai/") || name.startsWith("@opencode/ai/providers/azure/");
|
|
433
433
|
}
|
|
434
|
-
var
|
|
435
|
-
service:
|
|
436
|
-
layer:
|
|
437
|
-
deps: [
|
|
434
|
+
var node84 = makeLocationNode({
|
|
435
|
+
service: Service82,
|
|
436
|
+
layer: layer29,
|
|
437
|
+
deps: [node87, node85, node88, Npm.node, node86]
|
|
438
438
|
});
|
|
439
439
|
|
|
440
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
440
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service82, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer29, node84, exports_model_resolver };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-93sddvhm.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/ollama.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -34,7 +34,7 @@ var ShowResponse = Schema.Struct({
|
|
|
34
34
|
model_info: Schema.Record(Schema.String, Schema.Unknown).pipe(Schema.optional)
|
|
35
35
|
});
|
|
36
36
|
var shows = new Map;
|
|
37
|
-
var
|
|
37
|
+
var make16 = createLocalProviderPlugin2({
|
|
38
38
|
id: "opencode.provider.ollama",
|
|
39
39
|
providerID: "ollama",
|
|
40
40
|
name: "Ollama",
|
|
@@ -67,6 +67,6 @@ var make15 = createLocalProviderPlugin2({
|
|
|
67
67
|
context: Object.entries(item.show.model_info ?? {}).flatMap(([key, value]) => key.endsWith(".context_length") && typeof value === "number" && value > 0 ? [value] : [])[0]
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
var OllamaPlugin2 =
|
|
70
|
+
var OllamaPlugin2 = make16();
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { make16, OllamaPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/integration.ts
|
|
6
6
|
var exports_integration2 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_integration2, {
|
|
|
10
10
|
Policies: () => Policies2,
|
|
11
11
|
Remote: () => Remote3,
|
|
12
12
|
WellKnownDocument: () => WellKnownDocument2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make34,
|
|
14
14
|
suppliers: () => suppliers2
|
|
15
15
|
});
|
|
16
16
|
import { Option, Schema, SchemaGetter } from "effect";
|
|
@@ -51,7 +51,7 @@ class WellKnownDocument2 extends Config.Document.extend("Config.WellKnownDocumen
|
|
|
51
51
|
function suppliers2(entries) {
|
|
52
52
|
return new Map(entries.filter((entry) => entry instanceof WellKnownDocument2).flatMap((document) => Object.keys(document.info.providers ?? {}).map((id) => [id, document.integrationID])));
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function make34(input) {
|
|
55
55
|
const servers = input.info.mcp?.servers;
|
|
56
56
|
return new Document3({
|
|
57
57
|
type: "document",
|
|
@@ -90,4 +90,4 @@ function withoutCredentials(settings) {
|
|
|
90
90
|
return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2,
|
|
93
|
+
export { Policies2, Remote3, Document3, WellKnownDocument2, suppliers2, make34, exports_integration2 };
|
|
@@ -1,63 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./model-retry-kxamksb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service83
|
|
7
|
+
} from "./model-retry-cx8yve48.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./model-retry-0dy226kc.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-g1x3338p.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service76
|
|
17
|
+
} from "./model-retry-aq6k3cf3.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service64
|
|
22
|
+
} from "./model-retry-n4chev15.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
notify2,
|
|
25
|
+
withNotify2,
|
|
26
|
+
update4
|
|
27
|
+
} from "./model-retry-tn2h78aa.js";
|
|
26
28
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
29
|
+
Service25
|
|
30
|
+
} from "./model-retry-7bgajff9.js";
|
|
29
31
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
32
|
+
Service8
|
|
33
|
+
} from "./model-retry-ge0z7z6r.js";
|
|
32
34
|
import {
|
|
33
35
|
__export
|
|
34
|
-
} from "./
|
|
36
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
35
37
|
|
|
36
38
|
// src/tool/plugin/subagent.ts
|
|
37
39
|
var exports_subagent = {};
|
|
38
40
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Input: () => Input3,
|
|
42
|
+
Output: () => Output2,
|
|
43
|
+
Plugin: () => Plugin23,
|
|
42
44
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
45
|
+
description: () => description4,
|
|
46
|
+
name: () => name3
|
|
45
47
|
});
|
|
46
48
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
49
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
49
|
-
var backgroundResult = (sessionID) => ({
|
|
50
|
+
var name3 = "subagent";
|
|
51
|
+
var backgroundResult = (sessionID, notify) => ({
|
|
50
52
|
sessionID,
|
|
51
53
|
status: "running",
|
|
52
|
-
output: [
|
|
53
|
-
`The subagent is working in the background (sessionID: ${sessionID}). You will
|
|
54
|
+
output: notify ? [
|
|
55
|
+
`The subagent is working in the background (sessionID: ${sessionID}). You will receive a <subagent> message when it goes idle, and again after each later round of work.`,
|
|
54
56
|
"DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.",
|
|
55
57
|
"Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
|
|
56
58
|
"To send it follow-ups or change its instructions while it runs, call subagent again with this sessionID."
|
|
57
59
|
].join(`
|
|
58
|
-
`)
|
|
60
|
+
`) : `The subagent is working in the background (sessionID: ${sessionID}) and will not notify you when it finishes, so you won't receive its result. Only use notify=false for work whose result you don't need. To send it more work, call subagent again with this sessionID.`
|
|
59
61
|
});
|
|
60
|
-
var
|
|
62
|
+
var Input3 = Schema.Struct({
|
|
61
63
|
agent: Schema.String.annotate({
|
|
62
64
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
65
|
}),
|
|
@@ -69,34 +71,34 @@ var Input4 = Schema.Struct({
|
|
|
69
71
|
sessionID: Schema.optionalKey(SessionSchema2.ID).annotate({
|
|
70
72
|
description: "Send a follow-up to an existing subagent, running or finished. Omit to start a new one."
|
|
71
73
|
}),
|
|
72
|
-
|
|
73
|
-
description: "
|
|
74
|
+
notify: Schema.optionalKey(Schema.Boolean).annotate({
|
|
75
|
+
description: "Send you a `<subagent>` message each time this subagent goes idle. Defaults to true for new subagents. On follow-ups (sessionID), keeps the subagent's current setting unless you pass it."
|
|
74
76
|
})
|
|
75
77
|
});
|
|
76
|
-
var
|
|
78
|
+
var Output2 = Schema.Struct({
|
|
77
79
|
sessionID: SessionSchema2.ID,
|
|
78
|
-
status: Schema.
|
|
80
|
+
status: Schema.Literal("running"),
|
|
79
81
|
output: Schema.String
|
|
80
82
|
});
|
|
81
|
-
var
|
|
83
|
+
var description4 = [
|
|
82
84
|
"Spawns an agent in a child session to work on the specified task.",
|
|
83
|
-
"
|
|
85
|
+
"Subagents always run in the background: the call returns immediately with a sessionID, and you receive a `<subagent>` message each time the child goes idle, including after later work.",
|
|
86
|
+
"Keep working on non-overlapping tasks, or briefly tell the user what you launched and end your response. Do not sleep, poll for progress, or ask the child for status.",
|
|
84
87
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
|
+
"Pass the returned sessionID to continue that specific child conversation. A follow-up to a running child joins its current run.",
|
|
89
|
+
"Pass notify=false for a new subagent only if you don't need its results: you won't receive its idle reports."
|
|
88
90
|
].join(`
|
|
89
91
|
`);
|
|
90
|
-
var
|
|
92
|
+
var Plugin23 = {
|
|
91
93
|
id: "opencode.tool.subagent",
|
|
92
94
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
|
-
const sessions = yield*
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
95
|
+
const sessions = yield* Service25;
|
|
96
|
+
const jobs = yield* Service76;
|
|
97
|
+
const agents = yield* Service67;
|
|
98
|
+
const config = yield* Service71;
|
|
99
|
+
const permission = yield* Service64;
|
|
100
|
+
const models = yield* Service83;
|
|
101
|
+
const subagents = yield* Service8;
|
|
100
102
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
103
|
const ref = yield* Effect.try({
|
|
102
104
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +120,11 @@ var Plugin25 = {
|
|
|
118
120
|
return ref;
|
|
119
121
|
});
|
|
120
122
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
123
|
+
name: name3,
|
|
122
124
|
options: { codemode: false },
|
|
123
|
-
description:
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
125
|
+
description: description4,
|
|
126
|
+
input: Input3,
|
|
127
|
+
output: Output2,
|
|
126
128
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
129
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
130
|
let current = parent;
|
|
@@ -142,7 +144,7 @@ var Plugin25 = {
|
|
|
142
144
|
if (agent.mode === "primary")
|
|
143
145
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
146
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
147
|
+
action: name3,
|
|
146
148
|
resources: [agent.id],
|
|
147
149
|
save: [agent.id],
|
|
148
150
|
...invocation2(context)
|
|
@@ -156,9 +158,11 @@ var Plugin25 = {
|
|
|
156
158
|
if (existing !== undefined) {
|
|
157
159
|
const switched = existing.agent !== agent.id;
|
|
158
160
|
const model = override ?? (switched ? agent.model : undefined);
|
|
161
|
+
const metadata = input.notify === undefined ? undefined : update4(existing.metadata, input.notify);
|
|
159
162
|
yield* Effect.all([
|
|
160
163
|
switched ? sessions.switchAgent({ sessionID: existing.id, agent: agent.id }) : Effect.void,
|
|
161
|
-
model === undefined ? Effect.void : sessions.switchModel({ sessionID: existing.id, model })
|
|
164
|
+
model === undefined ? Effect.void : sessions.switchModel({ sessionID: existing.id, model }),
|
|
165
|
+
metadata === undefined ? Effect.void : sessions.setMetadata({ sessionID: existing.id, metadata })
|
|
162
166
|
]).pipe(Effect.mapError((error) => new ToolFailure({ message: `Failed to switch subagent session: ${existing.id}`, error })));
|
|
163
167
|
}
|
|
164
168
|
const model = override ?? agent.model ?? parent.model;
|
|
@@ -166,15 +170,17 @@ var Plugin25 = {
|
|
|
166
170
|
parentID: context.sessionID,
|
|
167
171
|
title: input.description,
|
|
168
172
|
agent: agent.id,
|
|
169
|
-
model
|
|
173
|
+
model,
|
|
174
|
+
metadata: withNotify2(parent.metadata, input.notify !== false)
|
|
170
175
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
171
|
-
const
|
|
176
|
+
const notify = input.notify ?? notify2(child.metadata);
|
|
177
|
+
const running = existing !== undefined && ((yield* sessions.active).has(existing.id) || (yield* jobs.get(existing.id))?.status === "running");
|
|
172
178
|
yield* context.progress({ sessionID: child.id, status: "running" });
|
|
173
179
|
yield* sessions.prompt({
|
|
174
180
|
sessionID: child.id,
|
|
175
181
|
text: existing === undefined ? ["You are a subagent spawned by another session.", input.prompt].join(`
|
|
176
182
|
`) : input.prompt,
|
|
177
|
-
...
|
|
183
|
+
...running ? {} : { resume: false }
|
|
178
184
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Failed to prompt subagent: ${child.id}`, error })));
|
|
179
185
|
const recovery = {
|
|
180
186
|
kind: "subagent",
|
|
@@ -184,38 +190,15 @@ var Plugin25 = {
|
|
|
184
190
|
description: input.description
|
|
185
191
|
};
|
|
186
192
|
yield* subagents.start(recovery);
|
|
187
|
-
|
|
188
|
-
yield* subagents.background(recovery);
|
|
189
|
-
return backgroundResult(child.id);
|
|
190
|
-
}
|
|
191
|
-
const result = yield* jobs.block({ id: child.id, sessionID: context.sessionID }).pipe(Effect.onInterrupt(() => Effect.all([sessions.interrupt(child.id), jobs.cancel(child.id)], {
|
|
192
|
-
discard: true
|
|
193
|
-
})));
|
|
194
|
-
if (result?.type === "backgrounded") {
|
|
195
|
-
yield* subagents.notify(recovery, result.info.started_at);
|
|
196
|
-
return backgroundResult(child.id);
|
|
197
|
-
}
|
|
198
|
-
if (result?.info.status === "error")
|
|
199
|
-
return yield* new ToolFailure({
|
|
200
|
-
message: `Subagent failed (sessionID: ${child.id}): ${result.info.error ?? "unknown error"}`
|
|
201
|
-
});
|
|
202
|
-
if (result?.info.status === "cancelled")
|
|
203
|
-
return yield* new ToolFailure({ message: `Subagent cancelled (sessionID: ${child.id})` });
|
|
204
|
-
return {
|
|
205
|
-
sessionID: child.id,
|
|
206
|
-
status: "completed",
|
|
207
|
-
output: result?.info.output ?? NO_TEXT2
|
|
208
|
-
};
|
|
193
|
+
return backgroundResult(child.id, notify);
|
|
209
194
|
}).pipe(Effect.map((output) => ({
|
|
210
195
|
output,
|
|
211
|
-
content: output.
|
|
212
|
-
${output.output}
|
|
213
|
-
</subagent>` : output.output,
|
|
196
|
+
content: output.output,
|
|
214
197
|
metadata: { sessionID: output.sessionID, status: output.status }
|
|
215
198
|
})))
|
|
216
199
|
})).pipe(Effect.orDie);
|
|
217
200
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
201
|
+
if (event.tool !== name3 || !Predicate.isObject(event.input))
|
|
219
202
|
return;
|
|
220
203
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
204
|
return;
|
|
@@ -227,13 +210,13 @@ ${output.output}
|
|
|
227
210
|
event.input = input;
|
|
228
211
|
}));
|
|
229
212
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
213
|
+
const tool = event.tools[name3];
|
|
231
214
|
if (!tool)
|
|
232
215
|
return;
|
|
233
216
|
const selected = yield* agents.resolve(event.agent);
|
|
234
217
|
if (!selected)
|
|
235
218
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
219
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
220
|
if (available.length === 0)
|
|
238
221
|
return;
|
|
239
222
|
tool.description = [
|
|
@@ -250,4 +233,4 @@ ${output.output}
|
|
|
250
233
|
})
|
|
251
234
|
};
|
|
252
235
|
|
|
253
|
-
export {
|
|
236
|
+
export { name3, Input3, Output2, description4, Plugin23, exports_subagent };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-retry-v5w4jpez.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthorizationError2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-retry-ywb0hxgs.js";
|
|
8
8
|
import {
|
|
9
9
|
CorrectedError2,
|
|
10
10
|
BlockedError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-n4chev15.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-retry-x19yfq7e.js";
|
|
20
20
|
import {
|
|
21
21
|
isUnreachable2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-retry-2fc7eemy.js";
|
|
23
23
|
import {
|
|
24
24
|
ModelNotSelectedError2,
|
|
25
25
|
ModelUnavailableError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-retry-0a8xczw5.js";
|
|
27
27
|
|
|
28
28
|
// src/session/to-session-error.ts
|
|
29
29
|
import { AIError, ToolFailure } from "@opencode/ai/effect";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/websearch/provider.ts
|
|
6
6
|
var exports_provider = {};
|
|
7
7
|
__export(exports_provider, {
|
|
8
8
|
WebSearchProvider: () => exports_provider,
|
|
9
|
-
register: () =>
|
|
9
|
+
register: () => register2
|
|
10
10
|
});
|
|
11
11
|
import { Effect } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var register2 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider) {
|
|
13
13
|
yield* ctx.integration.transform((editor) => {
|
|
14
14
|
editor.update(provider.id, (integration) => integration.name = provider.name);
|
|
15
15
|
editor.method.update({
|
|
@@ -34,4 +34,4 @@ var register3 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider
|
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { register2, exports_provider };
|