@opencode/core 0.0.0-dev-1039 → 0.0.0-dev-1063
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +90 -90
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +239 -238
- package/dist/bus.js +84 -84
- package/dist/chunks/model-retry-00ve6mdn.js +18 -0
- package/dist/chunks/{workspace-4vzr2b15.js → model-retry-04qc8z7j.js} +3 -3
- package/dist/chunks/{workspace-h5m2cdyb.js → model-retry-073yw6wc.js} +344 -344
- package/dist/chunks/{workspace-qpb35ste.js → model-retry-0ab3knej.js} +8 -8
- package/dist/chunks/{workspace-8bjrjs1n.js → model-retry-0c7bpw4e.js} +4 -4
- package/dist/chunks/{workspace-0j7gp832.js → model-retry-0j7gp832.js} +1 -1
- package/dist/chunks/{workspace-6mmwetw0.js → model-retry-0jzm810r.js} +32 -32
- package/dist/chunks/{workspace-brpyjdqe.js → model-retry-0m9mnr46.js} +27 -27
- package/dist/chunks/{workspace-0ma9gw4f.js → model-retry-0ma9gw4f.js} +2 -2
- package/dist/chunks/{workspace-2y8q1569.js → model-retry-0mgprbja.js} +4 -4
- package/dist/chunks/{workspace-9wjcjbgb.js → model-retry-0wqvtycd.js} +6 -6
- package/dist/chunks/{workspace-8fjjqcvw.js → model-retry-0x3qq8ad.js} +32 -32
- package/dist/chunks/{workspace-b6fks4eb.js → model-retry-0z5xst4r.js} +17 -17
- package/dist/chunks/{workspace-z6ggcv4j.js → model-retry-10bttd1c.js} +26 -26
- package/dist/chunks/{workspace-4wjkxzaf.js → model-retry-12yrhvkt.js} +11 -11
- package/dist/chunks/{workspace-0gpzbbmj.js → model-retry-18fchrwq.js} +35 -35
- package/dist/chunks/{workspace-7pg86t1t.js → model-retry-19avat12.js} +31 -31
- package/dist/chunks/{workspace-1aqsckx4.js → model-retry-1aqsckx4.js} +1 -1
- package/dist/chunks/{workspace-4e1tqqbe.js → model-retry-1cect6gc.js} +39 -39
- package/dist/chunks/{workspace-bh40pkda.js → model-retry-1gpv500n.js} +27 -27
- package/dist/chunks/{workspace-kh53kjvg.js → model-retry-1j97zecb.js} +18 -18
- package/dist/chunks/{workspace-5ga3qt8n.js → model-retry-1tz2kwyc.js} +6 -6
- package/dist/chunks/{workspace-tt91mykf.js → model-retry-1wtrt63p.js} +15 -15
- package/dist/chunks/{workspace-a1tswj55.js → model-retry-1wyx1g33.js} +12 -12
- package/dist/chunks/{workspace-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
- package/dist/chunks/{workspace-1yq9hg58.js → model-retry-1yq9hg58.js} +1 -1
- package/dist/chunks/{workspace-9cvebhsv.js → model-retry-224tp79f.js} +12 -12
- package/dist/chunks/{workspace-px7qpgcn.js → model-retry-229tvxdn.js} +4 -4
- package/dist/chunks/{workspace-4ygb74tw.js → model-retry-233argac.js} +8 -8
- package/dist/chunks/{workspace-26wfx3k0.js → model-retry-26wfx3k0.js} +1 -1
- package/dist/chunks/{workspace-1ep2p91f.js → model-retry-27w5k9zf.js} +2 -2
- package/dist/chunks/{workspace-6edbc7zm.js → model-retry-2bswbpgz.js} +5 -5
- package/dist/chunks/{workspace-4pc8k6ps.js → model-retry-2btjqdw9.js} +13 -13
- package/dist/chunks/{workspace-vq5ktqnp.js → model-retry-2cjfgabw.js} +25 -25
- package/dist/chunks/{workspace-2fc7eemy.js → model-retry-2fc7eemy.js} +1 -1
- package/dist/chunks/{workspace-2p60zmnr.js → model-retry-2p60zmnr.js} +2 -2
- package/dist/chunks/{workspace-bqfp32qw.js → model-retry-2q020x4j.js} +16 -16
- package/dist/chunks/{workspace-444r3w2c.js → model-retry-2xavcrc6.js} +7 -7
- package/dist/chunks/{workspace-6km18sfr.js → model-retry-2y341b5t.js} +5 -5
- package/dist/chunks/{workspace-jjx6aha5.js → model-retry-3c7qpzd7.js} +8 -8
- package/dist/chunks/{workspace-ayjs7tqn.js → model-retry-3cbjf1nt.js} +2 -2
- package/dist/chunks/{workspace-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-tmc7xdjs.js → model-retry-3nnrz6f6.js} +4 -4
- package/dist/chunks/{workspace-sfamv88v.js → model-retry-3t0ff0x5.js} +20 -20
- package/dist/chunks/{workspace-mfme2p3f.js → model-retry-3w00zpq8.js} +78 -78
- package/dist/chunks/{workspace-40y6dtc2.js → model-retry-40y6dtc2.js} +1 -1
- package/dist/chunks/model-retry-41hkj30d.js +273 -0
- package/dist/chunks/{workspace-44pmzq9c.js → model-retry-44pmzq9c.js} +2 -2
- package/dist/chunks/{workspace-y3drsnph.js → model-retry-461vpj4m.js} +3 -3
- package/dist/chunks/{workspace-q05kpyda.js → model-retry-49astqp4.js} +128 -128
- package/dist/chunks/{workspace-4dx1dgte.js → model-retry-4dx1dgte.js} +1 -1
- package/dist/chunks/{workspace-4f25tdd0.js → model-retry-4f25tdd0.js} +1 -1
- package/dist/chunks/{workspace-qqdmrqfx.js → model-retry-4k2c81k4.js} +6 -6
- package/dist/chunks/{workspace-p440r897.js → model-retry-4m67jbdm.js} +6 -6
- package/dist/chunks/{workspace-4pyp9zr9.js → model-retry-4pyp9zr9.js} +1 -1
- package/dist/chunks/{workspace-pn22hexz.js → model-retry-4qbyyyq5.js} +9 -9
- package/dist/chunks/{workspace-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
- package/dist/chunks/{workspace-27mf3p81.js → model-retry-4wsjjvd5.js} +6 -6
- package/dist/chunks/{workspace-dqjf3rq4.js → model-retry-4z989wmk.js} +3 -3
- package/dist/chunks/{workspace-xkaydag2.js → model-retry-58ng2s68.js} +20 -20
- package/dist/chunks/{workspace-serj3vts.js → model-retry-590xyfdn.js} +43 -43
- package/dist/chunks/{workspace-5azf7efg.js → model-retry-5azf7efg.js} +3 -3
- package/dist/chunks/{workspace-v08f8bae.js → model-retry-5bbgghc1.js} +15 -15
- package/dist/chunks/{workspace-d7ghtrxv.js → model-retry-5cr30h4q.js} +8 -8
- package/dist/chunks/{workspace-e1qt2fr5.js → model-retry-5jjvx7xx.js} +21 -21
- package/dist/chunks/{workspace-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-f1ta10aj.js → model-retry-62064eay.js} +41 -41
- package/dist/chunks/{workspace-k33wsh8d.js → model-retry-622r6tfd.js} +1 -1
- package/dist/chunks/{workspace-rtbk02r0.js → model-retry-64997449.js} +9 -9
- package/dist/chunks/{workspace-m2wjx6q0.js → model-retry-6ckxc65a.js} +6 -6
- package/dist/chunks/{workspace-wcsde1k8.js → model-retry-6cspqxjw.js} +17 -17
- package/dist/chunks/{workspace-qbyvray2.js → model-retry-6cyzbmrv.js} +47 -47
- package/dist/chunks/{workspace-sndvtvh7.js → model-retry-6rm3fwry.js} +10 -10
- package/dist/chunks/{workspace-zh4hvapz.js → model-retry-6z91hwt5.js} +4 -4
- package/dist/chunks/{workspace-80mg3ag8.js → model-retry-775hqbnd.js} +3 -3
- package/dist/chunks/{workspace-3gtxmydm.js → model-retry-78wx5tja.js} +33 -33
- package/dist/chunks/{workspace-wpevp5sd.js → model-retry-7ad9y1ne.js} +26 -26
- package/dist/chunks/{workspace-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
- package/dist/chunks/model-retry-7cabzjh9.js +201 -0
- package/dist/chunks/{workspace-520zv1z0.js → model-retry-7jevyppt.js} +3 -3
- package/dist/chunks/{workspace-9kqkq9ey.js → model-retry-7knzxrdv.js} +4 -4
- package/dist/chunks/{workspace-7nb8tm12.js → model-retry-7nb8tm12.js} +2 -2
- package/dist/chunks/{workspace-p82nen0h.js → model-retry-7tgwceks.js} +5 -5
- package/dist/chunks/{workspace-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
- package/dist/chunks/{workspace-7weczvnd.js → model-retry-7weczvnd.js} +1 -1
- package/dist/chunks/{workspace-ynwsyvmh.js → model-retry-7x320ssa.js} +8 -8
- package/dist/chunks/{workspace-49hgasep.js → model-retry-7yv514tw.js} +7 -7
- package/dist/chunks/{workspace-80pdk984.js → model-retry-80pdk984.js} +1 -1
- package/dist/chunks/{workspace-aj4f24z5.js → model-retry-82e4q3jm.js} +1 -1
- package/dist/chunks/{workspace-85jq8dht.js → model-retry-85jq8dht.js} +1 -1
- package/dist/chunks/{workspace-8b3vzgkx.js → model-retry-8b3vzgkx.js} +1 -1
- package/dist/chunks/{workspace-p43pvj3x.js → model-retry-8bwrafk7.js} +26 -26
- package/dist/chunks/{workspace-ge0ya7h8.js → model-retry-8d82pbhg.js} +18 -18
- package/dist/chunks/{workspace-ncbjb39v.js → model-retry-8f8gk5ce.js} +21 -21
- package/dist/chunks/{workspace-62kjwa3q.js → model-retry-8fdmasbt.js} +34 -34
- package/dist/chunks/{workspace-598a2sf2.js → model-retry-8h105pm2.js} +12 -12
- package/dist/chunks/{workspace-qysx7kqw.js → model-retry-8jzb4pp6.js} +18 -18
- package/dist/chunks/{workspace-8v3h3pkr.js → model-retry-8nqscmn3.js} +6 -6
- package/dist/chunks/{workspace-daaa7x5w.js → model-retry-8qdr79jy.js} +11 -11
- package/dist/chunks/{workspace-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
- package/dist/chunks/{workspace-00884c5c.js → model-retry-8yz9yxv8.js} +29 -29
- package/dist/chunks/{workspace-mb7mbhnz.js → model-retry-8z6m94af.js} +3 -3
- package/dist/chunks/{workspace-8zv0xmg5.js → model-retry-8zv0xmg5.js} +1 -1
- package/dist/chunks/{workspace-963hk181.js → model-retry-963hk181.js} +2 -2
- package/dist/chunks/{workspace-55edmcdq.js → model-retry-9a186w2s.js} +28 -28
- package/dist/chunks/{workspace-5fhr4sz1.js → model-retry-9amjngmr.js} +26 -26
- package/dist/chunks/{workspace-yqx33qse.js → model-retry-9b5pg85y.js} +10 -10
- package/dist/chunks/{workspace-b8y2jd3x.js → model-retry-9d7e85zn.js} +10 -10
- package/dist/chunks/{workspace-751vknd9.js → model-retry-9eeh18t4.js} +9 -9
- package/dist/chunks/{workspace-g175b8z9.js → model-retry-9g1enhg0.js} +16 -16
- package/dist/chunks/{workspace-cbabmgan.js → model-retry-9wpdsx26.js} +22 -22
- package/dist/chunks/{workspace-kej1jtpy.js → model-retry-9x6a782r.js} +4 -4
- package/dist/chunks/{workspace-71jx2zh9.js → model-retry-9xatmekb.js} +33 -33
- package/dist/chunks/{workspace-9z7m8h5t.js → model-retry-9zce04t0.js} +27 -27
- package/dist/chunks/{workspace-w4xw9ac5.js → model-retry-a0f8fvmt.js} +6 -6
- package/dist/chunks/{workspace-cb11h7rh.js → model-retry-a3ma3nbh.js} +3 -3
- package/dist/chunks/{workspace-dnq8553e.js → model-retry-a5zgnkhc.js} +29 -29
- package/dist/chunks/{workspace-jxbvx59w.js → model-retry-a8s6gz3j.js} +18 -18
- package/dist/chunks/{workspace-agje4kmn.js → model-retry-agje4kmn.js} +1 -1
- package/dist/chunks/{workspace-034tev2y.js → model-retry-aj7mw0zk.js} +2 -2
- package/dist/chunks/{workspace-2z817b9w.js → model-retry-ak2xzpqz.js} +17 -17
- package/dist/chunks/{workspace-anvcme1c.js → model-retry-anvcme1c.js} +1 -1
- package/dist/chunks/{workspace-aqczazaa.js → model-retry-aqczazaa.js} +1 -1
- package/dist/chunks/{workspace-q6n41c1v.js → model-retry-avtca5ff.js} +13 -13
- package/dist/chunks/{workspace-ktjdgvwb.js → model-retry-ayjza53k.js} +23 -23
- package/dist/chunks/{workspace-nk8ra572.js → model-retry-az51r80s.js} +16 -16
- package/dist/chunks/{workspace-b26ddj6h.js → model-retry-b26ddj6h.js} +4 -4
- package/dist/chunks/{workspace-nggsj8ja.js → model-retry-b30tdb24.js} +2 -2
- package/dist/chunks/{workspace-f927gtrb.js → model-retry-b49a18dh.js} +21 -21
- package/dist/chunks/{workspace-me215f18.js → model-retry-b7nkz392.js} +1 -1
- package/dist/chunks/{workspace-8sxe6kv8.js → model-retry-bb3mmwvh.js} +2 -2
- package/dist/chunks/{workspace-78s6qfrs.js → model-retry-bbagp5t9.js} +21 -21
- package/dist/chunks/{workspace-nbg8wmvj.js → model-retry-bcdsa9nj.js} +9 -9
- package/dist/chunks/{workspace-k97dz2de.js → model-retry-bd8h3vex.js} +9 -9
- package/dist/chunks/{workspace-za1h6cmh.js → model-retry-bh8z3mjv.js} +5 -5
- package/dist/chunks/{workspace-0n720z3p.js → model-retry-bhpk62b9.js} +5 -5
- package/dist/chunks/{workspace-d3tnx52b.js → model-retry-bqnf2xa3.js} +14 -14
- package/dist/chunks/{workspace-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
- package/dist/chunks/{workspace-9dm5ycx5.js → model-retry-bw0fa95q.js} +10 -10
- package/dist/chunks/{workspace-y455wd3s.js → model-retry-bwf07z9j.js} +19 -19
- package/dist/chunks/{workspace-6tc549z2.js → model-retry-bz3jd329.js} +11 -11
- package/dist/chunks/{workspace-xtyxcf1m.js → model-retry-c036fsx9.js} +12 -12
- package/dist/chunks/{workspace-22fm032a.js → model-retry-c1njvmmr.js} +28 -28
- package/dist/chunks/{workspace-9nkjg9qd.js → model-retry-c4970w7t.js} +6 -6
- package/dist/chunks/{workspace-c6x7d2ts.js → model-retry-c6x7d2ts.js} +1 -1
- package/dist/chunks/{workspace-wt99tj4q.js → model-retry-c7cw818c.js} +5 -5
- package/dist/chunks/{workspace-ma9gvec9.js → model-retry-cavny3st.js} +13 -13
- package/dist/chunks/{workspace-06hfc2zm.js → model-retry-ce0nvsd2.js} +3 -3
- package/dist/chunks/{workspace-dhsyh00d.js → model-retry-cgemq9va.js} +18 -18
- package/dist/chunks/{workspace-cmwbrth2.js → model-retry-che3sqdn.js} +85 -85
- package/dist/chunks/{workspace-agy7b3sy.js → model-retry-cjqsf6bw.js} +9 -9
- package/dist/chunks/{workspace-51khm69f.js → model-retry-cnxvbybj.js} +25 -25
- package/dist/chunks/{workspace-rbh1nbw6.js → model-retry-cq9ym2th.js} +4 -4
- package/dist/chunks/{workspace-cwrgdav8.js → model-retry-cwrgdav8.js} +2 -2
- package/dist/chunks/{workspace-w5vb9bn8.js → model-retry-cxmgqsjv.js} +7 -7
- package/dist/chunks/{workspace-4d93v9kz.js → model-retry-d4cn1j0j.js} +20 -20
- package/dist/chunks/{workspace-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
- package/dist/chunks/{workspace-p7tz0n1m.js → model-retry-daqw37vd.js} +24 -24
- package/dist/chunks/{workspace-2shrqbn8.js → model-retry-dbmdnf83.js} +10 -10
- package/dist/chunks/{workspace-wzksmcjn.js → model-retry-dc81jdms.js} +10 -10
- package/dist/chunks/{workspace-r4ck78gy.js → model-retry-dcd3jvzc.js} +9 -9
- package/dist/chunks/{workspace-2cdz0hxw.js → model-retry-dfbf8dz5.js} +13 -13
- package/dist/chunks/{workspace-kan1xajj.js → model-retry-dh5k9yhz.js} +34 -34
- package/dist/chunks/{workspace-dt77769w.js → model-retry-dt77769w.js} +1 -1
- package/dist/chunks/{workspace-694y1dy8.js → model-retry-e05q9fj3.js} +20 -20
- package/dist/chunks/{workspace-rht8amak.js → model-retry-e1pw9yh5.js} +9 -9
- package/dist/chunks/{workspace-2g4hvwna.js → model-retry-ecysc0gb.js} +24 -24
- package/dist/chunks/{workspace-530xg6vw.js → model-retry-edm37t96.js} +6 -6
- package/dist/chunks/{workspace-snh4mdm1.js → model-retry-ej3jbyd9.js} +15 -15
- package/dist/chunks/{workspace-eqw4pqj1.js → model-retry-eqw4pqj1.js} +2 -2
- package/dist/chunks/{workspace-2c7rmx2w.js → model-retry-f13bcax6.js} +23 -23
- package/dist/chunks/{workspace-sbzezcpx.js → model-retry-fc93665r.js} +8 -8
- package/dist/chunks/{workspace-fg9p65nk.js → model-retry-fg9p65nk.js} +2 -2
- package/dist/chunks/{workspace-xjfsy72k.js → model-retry-fj34de5z.js} +37 -37
- package/dist/chunks/{workspace-mwvy6k0c.js → model-retry-fkqdcdp4.js} +14 -14
- package/dist/chunks/{workspace-yzj6na13.js → model-retry-fmbmyz0a.js} +11 -11
- package/dist/chunks/{workspace-w687dnns.js → model-retry-fznmdakp.js} +4 -4
- package/dist/chunks/{workspace-gbjdnr5j.js → model-retry-gbjdnr5j.js} +2 -2
- package/dist/chunks/{workspace-2qe45pye.js → model-retry-gd8a3j2q.js} +1 -1
- package/dist/chunks/{workspace-zk4m0wc5.js → model-retry-ggrpzgdq.js} +22 -22
- package/dist/chunks/{workspace-cdxvzye2.js → model-retry-ghc68wmr.js} +10 -10
- package/dist/chunks/{workspace-ghrv1g9c.js → model-retry-ghrv1g9c.js} +1 -1
- package/dist/chunks/{workspace-6kfvc88n.js → model-retry-gkjtf6r3.js} +5 -5
- package/dist/chunks/{workspace-sha8wjrn.js → model-retry-gn9y5s18.js} +32 -32
- package/dist/chunks/{workspace-vg3zfqzq.js → model-retry-gvg2rszq.js} +8 -8
- package/dist/chunks/{workspace-ner56pww.js → model-retry-gy98380h.js} +45 -45
- package/dist/chunks/{workspace-34eceh7a.js → model-retry-gzr3e3k6.js} +2 -2
- package/dist/chunks/{workspace-hf9m9cmn.js → model-retry-h0d0h288.js} +15 -15
- package/dist/chunks/{workspace-2merx6cy.js → model-retry-h56sm60v.js} +11 -11
- package/dist/chunks/{workspace-h9xvjfqn.js → model-retry-h9xvjfqn.js} +4 -4
- package/dist/chunks/{workspace-hgzwgvze.js → model-retry-hgzwgvze.js} +2 -2
- package/dist/chunks/{workspace-xmfbe4bd.js → model-retry-hj9qde8t.js} +11 -11
- package/dist/chunks/{workspace-m4yj4656.js → model-retry-hk0m197d.js} +11 -11
- package/dist/chunks/{workspace-wb5wsb2j.js → model-retry-hnktkp4a.js} +8 -8
- package/dist/chunks/{workspace-stybskzm.js → model-retry-hsxn8vdk.js} +3 -3
- package/dist/chunks/{workspace-ze75qvmd.js → model-retry-j9nxzz3g.js} +3 -3
- package/dist/chunks/{workspace-etp2nyx7.js → model-retry-je02mesb.js} +17 -17
- package/dist/chunks/{workspace-vmxsyvj6.js → model-retry-jkdcm5hg.js} +4 -4
- package/dist/chunks/{workspace-cxrpq2vw.js → model-retry-jkxe4gm6.js} +3 -3
- package/dist/chunks/{workspace-jm70asfg.js → model-retry-jm70asfg.js} +1 -1
- package/dist/chunks/{workspace-xc664b6w.js → model-retry-jqydmcqv.js} +37 -37
- package/dist/chunks/{workspace-efxjnt5q.js → model-retry-jv1c2mep.js} +12 -12
- package/dist/chunks/{workspace-e8pm465n.js → model-retry-jy2czfqv.js} +4 -4
- package/dist/chunks/{workspace-qfz6bxfd.js → model-retry-k46dd5bg.js} +4 -4
- package/dist/chunks/{workspace-bh6934t1.js → model-retry-k57jes72.js} +15 -15
- package/dist/chunks/{workspace-6vpwybh1.js → model-retry-k6hvxyqk.js} +16 -16
- package/dist/chunks/{workspace-76atc448.js → model-retry-kcmrw9d0.js} +26 -26
- package/dist/chunks/{workspace-srt9fcc5.js → model-retry-khsc2avm.js} +32 -32
- package/dist/chunks/{workspace-kpd6fkkz.js → model-retry-kkme10mv.js} +5 -5
- package/dist/chunks/{workspace-xypfb8jg.js → model-retry-krd6ac7h.js} +9 -9
- package/dist/chunks/{workspace-kt3bjfbg.js → model-retry-kt3bjfbg.js} +1 -1
- package/dist/chunks/{workspace-kzczzf4v.js → model-retry-kzczzf4v.js} +1 -1
- package/dist/chunks/{workspace-m1714858.js → model-retry-m1714858.js} +1 -1
- package/dist/chunks/{workspace-p2y69mfz.js → model-retry-m6mdme7q.js} +19 -19
- package/dist/chunks/{workspace-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-859w1rtj.js → model-retry-mjrcsjpa.js} +9 -9
- package/dist/chunks/{workspace-vs7eet1f.js → model-retry-mq0bmx9g.js} +18 -18
- package/dist/chunks/{workspace-z6nad2b9.js → model-retry-mr46kq96.js} +13 -13
- package/dist/chunks/{workspace-msd2a3qm.js → model-retry-msd2a3qm.js} +4 -4
- package/dist/chunks/{workspace-n320gsn2.js → model-retry-n320gsn2.js} +1 -1
- package/dist/chunks/{workspace-00tw5qc0.js → model-retry-n42snndf.js} +14 -14
- package/dist/chunks/{workspace-twhmf8m6.js → model-retry-n92nzxqg.js} +7 -7
- package/dist/chunks/{workspace-da7vv5qs.js → model-retry-nbbn0k3v.js} +19 -19
- package/dist/chunks/{workspace-5618vcn8.js → model-retry-ngcw1c4b.js} +3 -3
- package/dist/chunks/{workspace-c0df41yj.js → model-retry-nh2stm5b.js} +12 -12
- package/dist/chunks/{workspace-hggwr7g8.js → model-retry-nm5vnkcb.js} +9 -9
- package/dist/chunks/{workspace-wegkxhrn.js → model-retry-nx4vzyjd.js} +2 -2
- package/dist/chunks/{workspace-zc7vahjk.js → model-retry-p664yqdp.js} +32 -32
- package/dist/chunks/{workspace-yqveydy6.js → model-retry-p76me67c.js} +4 -4
- package/dist/chunks/{workspace-s22zvc49.js → model-retry-p8cqk0fa.js} +10 -10
- package/dist/chunks/{workspace-23r89wcg.js → model-retry-pc99nv90.js} +8 -8
- package/dist/chunks/{workspace-afvmwxsa.js → model-retry-pdaj8qbc.js} +14 -14
- package/dist/chunks/{workspace-fxpbvz8b.js → model-retry-pebyzz0n.js} +8 -8
- package/dist/chunks/{workspace-pknna89w.js → model-retry-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-fzc9baxt.js → model-retry-ppjw42km.js} +10 -10
- package/dist/chunks/{workspace-q42tzrxa.js → model-retry-q42tzrxa.js} +1 -1
- package/dist/chunks/{workspace-1q451vc1.js → model-retry-q4fknq7x.js} +17 -17
- package/dist/chunks/{workspace-9qvnmhte.js → model-retry-q84jkp8z.js} +7 -7
- package/dist/chunks/{workspace-tsbzkan4.js → model-retry-qamgg21g.js} +13 -13
- package/dist/chunks/{workspace-0aqgkge0.js → model-retry-qnad5zz9.js} +27 -27
- package/dist/chunks/{workspace-qp7r0hxv.js → model-retry-qp7r0hxv.js} +1 -1
- package/dist/chunks/{workspace-2n444ktb.js → model-retry-qtf35215.js} +3 -3
- package/dist/chunks/{workspace-e29emhj5.js → model-retry-qy10zj0h.js} +18 -18
- package/dist/chunks/{workspace-2vch0phr.js → model-retry-qyfpzaft.js} +28 -28
- package/dist/chunks/{workspace-vgf4z6ys.js → model-retry-qzts29w1.js} +12 -12
- package/dist/chunks/{workspace-w2eysc6j.js → model-retry-r41sfy63.js} +6 -6
- package/dist/chunks/{workspace-61prxpw3.js → model-retry-r45nfa48.js} +9 -9
- package/dist/chunks/{workspace-sesyp2g9.js → model-retry-r58y11b8.js} +4 -4
- package/dist/chunks/{workspace-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
- package/dist/chunks/{workspace-rgc9cx3e.js → model-retry-rgc9cx3e.js} +2 -2
- package/dist/chunks/{workspace-s05hbgh9.js → model-retry-rgpfeh79.js} +11 -11
- package/dist/chunks/{workspace-h80ecpt5.js → model-retry-rhqr3vhx.js} +17 -17
- package/dist/chunks/{workspace-ht9qex5w.js → model-retry-rj0s2vsp.js} +7 -7
- package/dist/chunks/{workspace-r599gh2z.js → model-retry-rj3e5mt0.js} +4 -4
- package/dist/chunks/{workspace-j7r5vxqc.js → model-retry-rpchbzyn.js} +7 -7
- package/dist/chunks/{workspace-z7y810kk.js → model-retry-rscs01kg.js} +2 -2
- package/dist/chunks/{workspace-67wwskyb.js → model-retry-rt5qjrvj.js} +4 -4
- package/dist/chunks/{workspace-rbwyy842.js → model-retry-rz6d6my6.js} +3 -3
- package/dist/chunks/{workspace-5whx36p1.js → model-retry-s47rahr7.js} +4 -4
- package/dist/chunks/{workspace-aecmbawk.js → model-retry-s97gw63z.js} +3 -3
- package/dist/chunks/{workspace-sbya78hr.js → model-retry-sbya78hr.js} +1 -1
- package/dist/chunks/{workspace-tpxy298n.js → model-retry-se84e5kf.js} +38 -38
- package/dist/chunks/{workspace-hn4qxmk3.js → model-retry-see60j9q.js} +9 -9
- package/dist/chunks/{workspace-1qbjy8pk.js → model-retry-shqxbeh8.js} +4 -4
- package/dist/chunks/{workspace-wgcy5ye5.js → model-retry-shsabhn6.js} +14 -14
- package/dist/chunks/{workspace-pwt4cxzm.js → model-retry-sq79gphe.js} +20 -20
- package/dist/chunks/{workspace-sccyzqgr.js → model-retry-st73djt4.js} +6 -6
- package/dist/chunks/{workspace-svcy3p9a.js → model-retry-svcy3p9a.js} +1 -1
- package/dist/chunks/{workspace-tpxq49sd.js → model-retry-sw24ze7h.js} +2 -2
- package/dist/chunks/{workspace-syazfkbr.js → model-retry-sw9vjmch.js} +13 -13
- package/dist/chunks/{workspace-74x45bv1.js → model-retry-sz25a87n.js} +16 -16
- package/dist/chunks/{workspace-9rqfe4ad.js → model-retry-t48jrnqq.js} +3 -3
- package/dist/chunks/{workspace-t62dywgn.js → model-retry-t62dywgn.js} +1 -1
- package/dist/chunks/{workspace-8fjs3r6w.js → model-retry-t6nqp9vg.js} +6 -6
- package/dist/chunks/{workspace-9wkfvd86.js → model-retry-t8npn5et.js} +2 -2
- package/dist/chunks/{workspace-x449xwqz.js → model-retry-ta92nb8a.js} +56 -56
- package/dist/chunks/{workspace-tbpn7jtk.js → model-retry-tbpn7jtk.js} +1 -1
- package/dist/chunks/{workspace-jgcas92x.js → model-retry-tc3psh6n.js} +2 -2
- package/dist/chunks/{workspace-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
- package/dist/chunks/{workspace-aedwt843.js → model-retry-tg1vr1qt.js} +8 -8
- package/dist/chunks/{workspace-tg7s7b5t.js → model-retry-tg7s7b5t.js} +1 -1
- package/dist/chunks/{workspace-4sv1z4wq.js → model-retry-th79ewyv.js} +12 -12
- package/dist/chunks/{workspace-rdnxe97n.js → model-retry-tmr9yjpj.js} +12 -12
- package/dist/chunks/{workspace-tr8x705m.js → model-retry-tr8x705m.js} +1 -1
- package/dist/chunks/{workspace-tvtps2q9.js → model-retry-tvtps2q9.js} +1 -1
- package/dist/chunks/{workspace-twssxy5n.js → model-retry-twssxy5n.js} +2 -2
- package/dist/chunks/{workspace-8nk240wm.js → model-retry-v1wmg1k9.js} +16 -16
- package/dist/chunks/{workspace-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
- package/dist/chunks/{workspace-hrpg1pdd.js → model-retry-v2x06h94.js} +7 -7
- package/dist/chunks/{workspace-p191jbjh.js → model-retry-v40cwbah.js} +8 -8
- package/dist/chunks/{workspace-x26g66pj.js → model-retry-v6xc68wk.js} +6 -6
- package/dist/chunks/{workspace-xfk79g22.js → model-retry-v8drvm06.js} +3 -3
- package/dist/chunks/{workspace-25h9cy8f.js → model-retry-vgs3tmp3.js} +11 -11
- package/dist/chunks/{workspace-vjf35v1f.js → model-retry-vjf35v1f.js} +1 -1
- package/dist/chunks/{workspace-zk3m7qs8.js → model-retry-vpgfvngc.js} +19 -19
- package/dist/chunks/{workspace-9f3jsh1d.js → model-retry-vq0qa3sh.js} +9 -9
- package/dist/chunks/{workspace-tet8ratn.js → model-retry-vr8z95kg.js} +20 -20
- package/dist/chunks/{workspace-mrnsy1sb.js → model-retry-vw3yn5a4.js} +13 -13
- package/dist/chunks/{workspace-73e0dtrh.js → model-retry-w0avypsn.js} +24 -15
- package/dist/chunks/{workspace-nma40609.js → model-retry-w2xbgb7q.js} +26 -26
- package/dist/chunks/{workspace-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-gwyytpcj.js → model-retry-w75qynz4.js} +6 -6
- package/dist/chunks/{workspace-mf63ygpr.js → model-retry-w79nt68w.js} +4 -4
- package/dist/chunks/{workspace-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-7spdfq8c.js → model-retry-wcfpfg7y.js} +15 -15
- package/dist/chunks/{workspace-wd87259q.js → model-retry-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-wfdx5ztx.js → model-retry-wfdx5ztx.js} +1 -1
- package/dist/chunks/{workspace-hvwpt1mk.js → model-retry-wggzmsjz.js} +24 -24
- package/dist/chunks/{workspace-res4w25d.js → model-retry-wjnrxsxy.js} +12 -12
- package/dist/chunks/{workspace-5sbm6tnp.js → model-retry-wk1wsz78.js} +7 -7
- package/dist/chunks/{workspace-4v01986m.js → model-retry-wpj3mq6t.js} +5 -5
- package/dist/chunks/{workspace-59qf6w8q.js → model-retry-wy8qrs1m.js} +5 -5
- package/dist/chunks/{workspace-nc0bh77k.js → model-retry-wytbxtva.js} +16 -16
- package/dist/chunks/{workspace-a3fn0gmm.js → model-retry-x150ncgg.js} +2 -2
- package/dist/chunks/{workspace-41hgxd3n.js → model-retry-x7dr9wtp.js} +18 -18
- package/dist/chunks/{workspace-jcq84z9d.js → model-retry-x9ns6bvg.js} +17 -17
- package/dist/chunks/{workspace-xacrkbdt.js → model-retry-xacrkbdt.js} +1 -1
- package/dist/chunks/{workspace-xsk74dna.js → model-retry-xd8gvm55.js} +16 -16
- package/dist/chunks/{workspace-skc22c6z.js → model-retry-xhdzxv2d.js} +12 -12
- package/dist/chunks/{workspace-xxschbft.js → model-retry-xjr6c8m4.js} +4 -4
- package/dist/chunks/{workspace-a1ytbjbv.js → model-retry-xx2bks1j.js} +93 -93
- package/dist/chunks/{workspace-gf4twwwe.js → model-retry-xya7ctxy.js} +22 -20
- package/dist/chunks/{workspace-jv5ccajn.js → model-retry-y3p3hzkr.js} +5 -5
- package/dist/chunks/{workspace-m6tdssjc.js → model-retry-y7qawec5.js} +16 -16
- package/dist/chunks/{workspace-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
- package/dist/chunks/{workspace-9j9hzbb5.js → model-retry-yc146ktt.js} +4 -4
- package/dist/chunks/{workspace-ctqn5xr2.js → model-retry-yf4f4ny8.js} +59 -59
- package/dist/chunks/{workspace-x8wd2r05.js → model-retry-yfm9gxzx.js} +8 -8
- package/dist/chunks/{workspace-4krr2nde.js → model-retry-yk4ram99.js} +3 -3
- package/dist/chunks/{workspace-b5bw7g94.js → model-retry-ypybfkk0.js} +19 -19
- package/dist/chunks/model-retry-yqwbdse8.js +26 -0
- package/dist/chunks/{workspace-yr705xyq.js → model-retry-yr705xyq.js} +1 -1
- package/dist/chunks/{workspace-yvtc2x31.js → model-retry-yvtc2x31.js} +1 -1
- package/dist/chunks/{workspace-72sb0qx7.js → model-retry-yyv178x8.js} +4 -4
- package/dist/chunks/{workspace-24h02a6m.js → model-retry-z9r4pa4x.js} +32 -32
- package/dist/chunks/{workspace-zpdbqgja.js → model-retry-zpdbqgja.js} +1 -1
- package/dist/chunks/{workspace-rh0qb0sj.js → model-retry-zq70c3fj.js} +17 -17
- package/dist/chunks/{workspace-pty7ddkk.js → model-retry-zrnr92js.js} +13 -13
- package/dist/chunks/{workspace-1rpp84ap.js → model-retry-zvrv6acg.js} +6 -6
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +1 -1
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +241 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- 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 +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +101 -101
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +252 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +3 -3
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +131 -131
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +104 -104
- 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 +432 -432
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +88 -88
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +86 -86
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -146
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- 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 +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +245 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +408 -408
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +8 -6
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +418 -418
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +250 -249
- 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 +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- 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 +250 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- 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 +251 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +207 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +238 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +251 -250
- package/dist/session/usage.js +1 -1
- package/dist/session.js +242 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +102 -102
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +186 -186
- package/dist/tool/plugin/artifact.js +237 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +240 -239
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +256 -255
- package/dist/tool/plugin/shell.js +244 -243
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +245 -244
- package/dist/tool/plugin/todo.js +154 -154
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +157 -157
- package/dist/types/plugin/provider/opencode-watches.d.ts +3 -2
- package/dist/types/session/generate.d.ts +10 -2
- package/dist/types/session.d.ts +1 -1
- package/dist/usage-limits.js +94 -94
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +84 -84
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +105 -105
- package/package.json +11 -11
- package/dist/chunks/workspace-dj52zamc.js +0 -273
- package/dist/chunks/workspace-grzehpz7.js +0 -18
- package/dist/chunks/workspace-h39ntvfa.js +0 -147
- package/dist/chunks/workspace-j5ahpr82.js +0 -26
- /package/dist/chunks/{workspace-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kah00gy.js → model-retry-1kah00gy.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4qk9sjk2.js → model-retry-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → model-retry-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-5w3e23ze.js → model-retry-5w3e23ze.js} +0 -0
- /package/dist/chunks/{workspace-6agm2x70.js → model-retry-6agm2x70.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → model-retry-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → model-retry-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-beh6qq61.js → model-retry-beh6qq61.js} +0 -0
- /package/dist/chunks/{workspace-bhmrqjy3.js → model-retry-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cqv5kn06.js → model-retry-cqv5kn06.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → model-retry-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-ean2d8b5.js → model-retry-ean2d8b5.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fkpq3x5p.js → model-retry-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → model-retry-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → model-retry-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → model-retry-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jwr30sdr.js → model-retry-jwr30sdr.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → model-retry-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-nh4v3znn.js → model-retry-nh4v3znn.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p71gwv9c.js → model-retry-p71gwv9c.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-syrav9an.js → model-retry-syrav9an.js} +0 -0
- /package/dist/chunks/{workspace-t03h4f5z.js → model-retry-t03h4f5z.js} +0 -0
- /package/dist/chunks/{workspace-ty7weeps.js → model-retry-ty7weeps.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-vtarvj67.js → model-retry-vtarvj67.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x4th4bpe.js → model-retry-x4th4bpe.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-z0h12gs8.js → model-retry-z0h12gs8.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
- /package/dist/chunks/{workspace-zxpyjp51.js → model-retry-zxpyjp51.js} +0 -0
- /package/dist/chunks/{workspace-zz5vv3aq.js → model-retry-zz5vv3aq.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-5azf7efg.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-cgemq9va.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-1tz2kwyc.js";
|
|
10
10
|
import {
|
|
11
11
|
ignore2,
|
|
12
12
|
scan2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-yvtc2x31.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/config/plugin/compatibility.ts
|
|
19
19
|
var exports_compatibility = {};
|
|
20
20
|
__export(exports_compatibility, {
|
|
21
21
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin39
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
26
26
|
import path from "path";
|
|
27
27
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin39 = define({
|
|
29
29
|
id: "opencode.config.compatibility",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
31
|
const config = yield* Service81;
|
|
@@ -81,4 +81,4 @@ function isCompatibilitySource(roots, file) {
|
|
|
81
81
|
return sourceDirectories.some((name) => path.basename(file) === name) || [...roots.claude, ...roots.agents].some((root) => FSUtil.contains(root, file));
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
export {
|
|
84
|
+
export { Plugin39, exports_compatibility };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin30,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin30 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin30, exports_goal };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-1wyx1g33.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service94,
|
|
12
|
-
node96
|
|
13
|
-
} from "./workspace-c0df41yj.js";
|
|
9
|
+
} from "./model-retry-gebd4c9n.js";
|
|
14
10
|
import {
|
|
15
11
|
Service93,
|
|
16
12
|
node95
|
|
17
|
-
} from "./
|
|
13
|
+
} from "./model-retry-nh2stm5b.js";
|
|
14
|
+
import {
|
|
15
|
+
Service92,
|
|
16
|
+
node94
|
|
17
|
+
} from "./model-retry-9g1enhg0.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-aj7mw0zk.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-retry-3cbjf1nt.js";
|
|
24
24
|
import {
|
|
25
25
|
ID21,
|
|
26
26
|
NotFoundError14
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-retry-xd8gvm55.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-retry-b30tdb24.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service54,
|
|
33
|
+
node56
|
|
34
|
+
} from "./model-retry-dcd3jvzc.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-retry-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service23
|
|
41
|
+
} from "./model-retry-sz25a87n.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -56,12 +56,12 @@ __export(exports_worktree2, {
|
|
|
56
56
|
ListEntry: () => ListEntry2,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service22,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node25
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -92,15 +92,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
92
92
|
}
|
|
93
93
|
var Event4 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service22 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const database = yield*
|
|
99
|
+
const database = yield* Service93;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service92;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service54;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service23).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service22.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node25 = Node.makeGlobalNode({
|
|
260
|
+
service: Service22,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node94, node95, AppProcess.node, node56]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput4, RemoveInput2, Info7, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4,
|
|
272
|
+
export { StrategyID2, CreateInput4, RemoveInput2, Info7, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service22, node25, exports_worktree2, OperationError2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./model-retry-9g1enhg0.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service59,
|
|
17
|
+
node61
|
|
18
|
+
} from "./model-retry-e05q9fj3.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-retry-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event7,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info12,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service46,
|
|
36
36
|
Source: () => Source3,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node49
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event7 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source3 = Reference.Source;
|
|
47
|
-
var
|
|
47
|
+
var Info12 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service46 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
|
-
const bus = yield*
|
|
54
|
-
const cache = yield*
|
|
53
|
+
const bus = yield* Service92;
|
|
54
|
+
const cache = yield* Service59;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info12.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info12.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service46.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node49 = makeLocationNode({
|
|
117
|
+
service: Service46,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node94, node61]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source3,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info12, Service46, node49, exports_reference2, Event7 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-syrav9an.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-retry-t62dywgn.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-retry-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-retry-8z6m94af.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-2p60zmnr.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-v2x06h94.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/status.ts
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make6
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make6 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make4 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make6, exports_status };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toolFailure2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-z0h12gs8.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service90
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-retry-b30tdb24.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./model-retry-ak2xzpqz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service65
|
|
15
|
+
} from "./model-retry-qy10zj0h.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
GlobInput2,
|
|
19
19
|
Entry2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-retry-9zce04t0.js";
|
|
21
21
|
import {
|
|
22
22
|
pathType2,
|
|
23
23
|
bounded2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-retry-ce0nvsd2.js";
|
|
25
25
|
import {
|
|
26
26
|
invocation2,
|
|
27
27
|
Service74
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-retry-8bwrafk7.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service20
|
|
31
|
+
} from "./model-retry-ypybfkk0.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/glob.ts
|
|
37
37
|
var exports_glob = {};
|
|
38
38
|
__export(exports_glob, {
|
|
39
39
|
GlobTool: () => exports_glob,
|
|
40
|
-
Input: () =>
|
|
41
|
-
Output: () =>
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
40
|
+
Input: () => Input6,
|
|
41
|
+
Output: () => Output3,
|
|
42
|
+
Plugin: () => Plugin8,
|
|
43
|
+
name: () => name6,
|
|
44
|
+
toModelContent: () => toModelContent3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import path from "path";
|
|
49
|
-
var
|
|
50
|
-
var
|
|
49
|
+
var name6 = "glob";
|
|
50
|
+
var Input6 = Schema.Struct({
|
|
51
51
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
52
52
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
53
53
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -59,34 +59,34 @@ var Input4 = Schema.Struct({
|
|
|
59
59
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
|
-
var
|
|
63
|
-
var
|
|
62
|
+
var Output3 = Schema.Array(Entry2);
|
|
63
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
64
64
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
65
65
|
if (truncated)
|
|
66
66
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
67
67
|
return lines.join(`
|
|
68
68
|
`);
|
|
69
69
|
};
|
|
70
|
-
var
|
|
70
|
+
var Plugin8 = {
|
|
71
71
|
id: "opencode.tool.glob",
|
|
72
72
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
73
|
-
const environment = yield*
|
|
74
|
-
const ripgrep = yield*
|
|
73
|
+
const environment = yield* Service66;
|
|
74
|
+
const ripgrep = yield* Service65;
|
|
75
75
|
const location = yield* Service90;
|
|
76
|
-
const access = yield*
|
|
76
|
+
const access = yield* Service20;
|
|
77
77
|
const permission = yield* Service74;
|
|
78
78
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name6,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
82
|
-
input:
|
|
83
|
-
output:
|
|
82
|
+
input: Input6,
|
|
83
|
+
output: Output3,
|
|
84
84
|
execute: (input, context) => Effect.gen(function* () {
|
|
85
85
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
86
86
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
87
87
|
yield* access.authorizeExternal([target], context);
|
|
88
88
|
yield* permission.assert({
|
|
89
|
-
action:
|
|
89
|
+
action: name6,
|
|
90
90
|
resources: [input.pattern],
|
|
91
91
|
save: ["*"],
|
|
92
92
|
metadata: {
|
|
@@ -111,11 +111,11 @@ var Plugin23 = {
|
|
|
111
111
|
};
|
|
112
112
|
}).pipe(Effect.map((result) => ({
|
|
113
113
|
output: result.entries,
|
|
114
|
-
content:
|
|
114
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
115
115
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
116
116
|
})), Effect.mapError(toolFailure2(`Unable to find files matching ${input.pattern}`)))
|
|
117
117
|
})).pipe(Effect.orDie);
|
|
118
118
|
})
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { name6, Input6, Output3, toModelContent3, Plugin8, exports_glob };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-retry-cgemq9va.js";
|
|
4
4
|
import {
|
|
5
5
|
observe2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-retry-tvtps2q9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./model-retry-x9ns6bvg.js";
|
|
10
10
|
import {
|
|
11
11
|
invocation2,
|
|
12
12
|
Service74
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-retry-8bwrafk7.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-retry-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/todo.ts
|
|
19
19
|
var exports_todo = {};
|
|
20
20
|
__export(exports_todo, {
|
|
21
21
|
Info: () => Info2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input8,
|
|
23
23
|
Output: () => Output5,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin12,
|
|
25
25
|
TodoTool: () => exports_todo,
|
|
26
|
-
name: () =>
|
|
26
|
+
name: () => name8,
|
|
27
27
|
summarize: () => summarize2
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -40,14 +40,14 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
40
40
|
`;
|
|
41
41
|
|
|
42
42
|
// src/tool/plugin/todo.ts
|
|
43
|
-
var
|
|
43
|
+
var name8 = "todowrite";
|
|
44
44
|
var Info2 = Schema.Struct({
|
|
45
45
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
46
46
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
47
47
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Input8 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
52
52
|
});
|
|
53
53
|
var Output5 = Schema.Struct({
|
|
@@ -64,25 +64,25 @@ var summarize2 = (todos) => {
|
|
|
64
64
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
65
65
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Plugin12 = {
|
|
68
68
|
id: "opencode.tool.todo",
|
|
69
69
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
70
70
|
const config = yield* Service81;
|
|
71
71
|
const permission = yield* Service74;
|
|
72
72
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
73
|
-
const flags = yield*
|
|
73
|
+
const flags = yield* Service78;
|
|
74
74
|
const enabled = () => flags.resolve(loaded.entries).todo.enabled;
|
|
75
75
|
yield* ctx.tool.transform((editor) => {
|
|
76
76
|
if (!enabled())
|
|
77
77
|
return;
|
|
78
78
|
editor.add({
|
|
79
|
-
name:
|
|
79
|
+
name: name8,
|
|
80
80
|
options: { codemode: false },
|
|
81
81
|
description: todowrite_default,
|
|
82
|
-
input:
|
|
82
|
+
input: Input8,
|
|
83
83
|
output: Output5,
|
|
84
84
|
execute: (input, context) => permission.assert({
|
|
85
|
-
action:
|
|
85
|
+
action: name8,
|
|
86
86
|
resources: ["*"],
|
|
87
87
|
save: ["*"],
|
|
88
88
|
...invocation2(context)
|
|
@@ -96,4 +96,4 @@ var Plugin26 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { name8, Info2, Input8, Output5, summarize2, Plugin12, exports_todo };
|