@opencode/core 0.0.0-dev-20314 → 0.0.0-dev-20316
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{worktree-vncycja5.js → project-00z3vp5f.js} +4 -4
- package/dist/chunks/{worktree-5m5pvpe6.js → project-045baswh.js} +12 -12
- package/dist/chunks/{worktree-eycgq67k.js → project-048xc26x.js} +42 -42
- package/dist/chunks/{worktree-83xp5e3e.js → project-06nv7jxy.js} +2 -2
- package/dist/chunks/{worktree-4wj5hqyp.js → project-09w06n2q.js} +10 -10
- package/dist/chunks/project-0adt99ty.js +252 -0
- package/dist/chunks/{worktree-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-z16xbst3.js → project-0vfkfsvf.js} +3 -3
- package/dist/chunks/{worktree-m02w9rze.js → project-0x3qcm03.js} +21 -21
- package/dist/chunks/{worktree-4a0nv7mx.js → project-0xezjjjn.js} +8 -8
- package/dist/chunks/{worktree-tta4ne66.js → project-0z5seett.js} +17 -17
- package/dist/chunks/{worktree-xeavwtd2.js → project-128pgwnk.js} +24 -24
- package/dist/chunks/{worktree-sxwx9tkq.js → project-14wgfyw1.js} +28 -28
- package/dist/chunks/{worktree-f40tx9v5.js → project-16s6chgv.js} +7 -7
- package/dist/chunks/{worktree-37xnkr9x.js → project-17y0377r.js} +35 -35
- package/dist/chunks/{worktree-1acjjqhc.js → project-1acjjqhc.js} +1 -1
- package/dist/chunks/{worktree-xp0f2vnn.js → project-1c29hv3p.js} +10 -10
- package/dist/chunks/{worktree-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-hcvxcehv.js → project-1hskrfnt.js} +12 -12
- package/dist/chunks/{worktree-fk0r5cwe.js → project-1n2pc2hr.js} +9 -9
- package/dist/chunks/{worktree-0qy4awsn.js → project-1t90kb9x.js} +20 -20
- package/dist/chunks/{worktree-varpx0pc.js → project-1xweqgb1.js} +18 -18
- package/dist/chunks/{worktree-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-w3x9v1nk.js → project-25cs5cen.js} +8 -8
- package/dist/chunks/{worktree-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-77vpx1b6.js → project-2e8hs3n1.js} +17 -17
- package/dist/chunks/{worktree-5xn2kdjj.js → project-2jpf0fvd.js} +71 -71
- package/dist/chunks/{worktree-gsaq8s04.js → project-2mzfjhd5.js} +27 -27
- package/dist/chunks/{worktree-0xxe8pk9.js → project-2n37e6w7.js} +1 -1
- package/dist/chunks/{worktree-cac6dn0k.js → project-2tr1k1b8.js} +8 -8
- package/dist/chunks/{worktree-yg13730w.js → project-2v338a3n.js} +15 -15
- package/dist/chunks/{worktree-garp4qw6.js → project-2vfwjvt0.js} +2 -2
- package/dist/chunks/{worktree-5qpsy98w.js → project-2wnd0vm8.js} +20 -20
- package/dist/chunks/{worktree-9b00c1fb.js → project-2xwkyk0m.js} +5 -5
- package/dist/chunks/{worktree-kk69x7kr.js → project-32jw649k.js} +16 -16
- package/dist/chunks/{worktree-pnd0g9pf.js → project-339h4057.js} +3 -3
- package/dist/chunks/{worktree-evbgk2k8.js → project-37s12vcn.js} +5 -5
- package/dist/chunks/{worktree-vqhx5d1p.js → project-3by8z3q7.js} +31 -31
- package/dist/chunks/{worktree-6gx3r2kv.js → project-3c9vxe8z.js} +18 -18
- package/dist/chunks/{worktree-kztetyb1.js → project-3e15rq0w.js} +32 -32
- package/dist/chunks/{worktree-3fc6dm20.js → project-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3grjp0nz.js → project-3ff3e122.js} +10 -10
- package/dist/chunks/{worktree-b92gs9tv.js → project-3fvrem5n.js} +32 -32
- package/dist/chunks/{worktree-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3ebwcaah.js → project-3jq7hafk.js} +39 -39
- package/dist/chunks/{worktree-5cbjsbf2.js → project-3k28x0rq.js} +7 -7
- package/dist/chunks/{worktree-dqanwn8q.js → project-3sg0jw0d.js} +22 -22
- package/dist/chunks/{worktree-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-htbmzt7n.js → project-3x2h1jqq.js} +16 -16
- package/dist/chunks/{worktree-3zsf4n22.js → project-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-nwxgwzyy.js → project-403m2ss4.js} +9 -9
- package/dist/chunks/{worktree-z4ygwn82.js → project-41wzkj33.js} +9 -9
- package/dist/chunks/{worktree-kf269fqw.js → project-460prvfa.js} +36 -36
- package/dist/chunks/{worktree-4j4tgtq5.js → project-4j4tgtq5.js} +1 -1
- package/dist/chunks/{worktree-0jkw1j53.js → project-4mwpykj0.js} +6 -6
- package/dist/chunks/{worktree-dkq1mqd6.js → project-4n26wkx8.js} +4 -4
- package/dist/chunks/{worktree-fr5646w7.js → project-4tzsdqn7.js} +24 -24
- package/dist/chunks/{worktree-54ma36ye.js → project-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-5e7ha89d.js → project-563x647v.js} +15 -15
- package/dist/chunks/{worktree-1ygqh575.js → project-56gdpj1q.js} +9 -9
- package/dist/chunks/{worktree-dc6tzc5b.js → project-57ez7d0k.js} +9 -9
- package/dist/chunks/{worktree-akpb58q4.js → project-5beq9rmc.js} +15 -15
- package/dist/chunks/{worktree-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-34q1q4g3.js → project-5ejns0m0.js} +4 -4
- package/dist/chunks/{worktree-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-mvksx64m.js → project-5xpznt2d.js} +4 -4
- package/dist/chunks/{worktree-yntvrfmt.js → project-5yv68qc1.js} +18 -18
- package/dist/chunks/{worktree-4yvz2rcy.js → project-607q5haz.js} +12 -12
- package/dist/chunks/project-619r8v3y.js +18 -0
- package/dist/chunks/{worktree-brpj3swx.js → project-619t0cxh.js} +37 -37
- package/dist/chunks/{worktree-1sejb65e.js → project-624xt6we.js} +20 -20
- package/dist/chunks/{worktree-herfy2z0.js → project-65ptgm6v.js} +13 -13
- package/dist/chunks/{worktree-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{worktree-knad820t.js → project-6a8xraeq.js} +13 -13
- package/dist/chunks/{worktree-5g59cdd4.js → project-6k23k7vx.js} +48 -48
- package/dist/chunks/{worktree-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-m84c3eg8.js → project-6pwz9vdm.js} +15 -15
- package/dist/chunks/{worktree-sgemhp45.js → project-6w454pee.js} +14 -14
- package/dist/chunks/{worktree-7fp3pbdt.js → project-6wg8zrc8.js} +30 -30
- package/dist/chunks/{worktree-07ka27pw.js → project-6zsmm6dr.js} +46 -46
- package/dist/chunks/{worktree-4tg3mvfj.js → project-75mzgwkf.js} +33 -33
- package/dist/chunks/{worktree-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-ps28zk1z.js → project-7dnkkhh4.js} +16 -16
- package/dist/chunks/{worktree-hkarc3f0.js → project-7gaega4f.js} +9 -9
- package/dist/chunks/{worktree-6xk05h7s.js → project-7gfsvgty.js} +9 -9
- package/dist/chunks/{worktree-vrxaz2n4.js → project-7kb53k34.js} +8 -8
- package/dist/chunks/{worktree-s5c30328.js → project-7kjckr2c.js} +3 -3
- package/dist/chunks/{worktree-8edxm6pr.js → project-7pcrhvh4.js} +10 -10
- package/dist/chunks/{worktree-vd7rzxqf.js → project-7pr2hkwv.js} +5 -5
- package/dist/chunks/{worktree-mve018rq.js → project-7v99a3s2.js} +28 -28
- package/dist/chunks/{worktree-fnz0r7q7.js → project-7w0y71jc.js} +11 -11
- package/dist/chunks/{worktree-818pfwc9.js → project-818pfwc9.js} +3 -3
- package/dist/chunks/{worktree-rwan6hkh.js → project-83nh47t2.js} +13 -13
- package/dist/chunks/{worktree-6jn9sxf3.js → project-8496rxe5.js} +32 -32
- package/dist/chunks/{worktree-84txncab.js → project-84txncab.js} +1 -1
- package/dist/chunks/{worktree-aj9wrhbp.js → project-884bfwk0.js} +3 -3
- package/dist/chunks/{worktree-tcezcvh9.js → project-89znhe33.js} +4 -4
- package/dist/chunks/{worktree-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-fy02dvg1.js → project-8ezkp1w1.js} +24 -24
- package/dist/chunks/{worktree-qaj4vhma.js → project-8f78v9qy.js} +1 -1
- package/dist/chunks/{worktree-7f7t51gq.js → project-8fq5ayth.js} +8 -8
- package/dist/chunks/{worktree-s0sx2v9z.js → project-8fqdsx23.js} +137 -137
- package/dist/chunks/project-8nxkrca3.js +26 -0
- package/dist/chunks/{worktree-jtq10j8j.js → project-8p2pmgw9.js} +19 -19
- package/dist/chunks/{worktree-5j6r72e5.js → project-8wvrh9f5.js} +1 -1
- package/dist/chunks/{worktree-94ek1h2f.js → project-94ek1h2f.js} +2 -2
- package/dist/chunks/{worktree-t5fc0zjg.js → project-96n2ccqs.js} +3 -3
- package/dist/chunks/{worktree-gm1x238t.js → project-98eksqsr.js} +8 -8
- package/dist/chunks/{worktree-a43gst0m.js → project-9cw7v7t0.js} +3 -3
- package/dist/chunks/{worktree-6gtt5snn.js → project-9herab98.js} +33 -33
- package/dist/chunks/{worktree-hy20qw0x.js → project-9qkx95r0.js} +15 -15
- package/dist/chunks/{worktree-pb82r3ma.js → project-9qvr998c.js} +11 -11
- package/dist/chunks/{worktree-jp5y0tg6.js → project-9rybd2zw.js} +10 -10
- package/dist/chunks/{worktree-adbp0bjj.js → project-9stnwpgq.js} +8 -8
- package/dist/chunks/{worktree-df33jmy2.js → project-a1by8739.js} +18 -18
- package/dist/chunks/{worktree-pgtq6dzx.js → project-a1jns5ne.js} +16 -16
- package/dist/chunks/{worktree-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-pzjt7r8f.js → project-atjyqtyt.js} +6 -6
- package/dist/chunks/{worktree-msy23jaw.js → project-atrcd26x.js} +20 -20
- package/dist/chunks/{worktree-fhz5gfgy.js → project-axs6pdy0.js} +5 -5
- package/dist/chunks/{worktree-g36vf30t.js → project-azzr0vhd.js} +13 -13
- package/dist/chunks/{worktree-0zz42z4j.js → project-b18wbhdm.js} +11 -11
- package/dist/chunks/{worktree-a4e1tewd.js → project-b227wj0j.js} +2 -2
- package/dist/chunks/{worktree-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-y3m4vy1g.js → project-b6vdck89.js} +45 -45
- package/dist/chunks/{worktree-z4jtqfv3.js → project-b7t4d0bx.js} +6 -6
- package/dist/chunks/{worktree-mje1cxe4.js → project-b9krrcn2.js} +27 -27
- package/dist/chunks/{worktree-92dk74jt.js → project-b9ycemf2.js} +11 -11
- package/dist/chunks/{worktree-m2vze1yq.js → project-benezg7w.js} +10 -10
- package/dist/chunks/{worktree-vhqg2wpr.js → project-bn399aes.js} +32 -32
- package/dist/chunks/{worktree-ebpkp5tm.js → project-bneggmm6.js} +1 -1
- package/dist/chunks/{worktree-fa575c2x.js → project-c5bjafsp.js} +23 -23
- package/dist/chunks/{worktree-djszqvmq.js → project-c765mh8b.js} +9 -9
- package/dist/chunks/{worktree-s3b2wgtr.js → project-c874zv42.js} +11 -11
- package/dist/chunks/{worktree-h316dbp4.js → project-c8j29rkk.js} +11 -11
- package/dist/chunks/{worktree-k96bfvzz.js → project-cebq52h3.js} +12 -12
- package/dist/chunks/{worktree-ckecvw8r.js → project-ckecvw8r.js} +2 -2
- package/dist/chunks/{worktree-9hn6k4tm.js → project-cmwkp3r5.js} +8 -8
- package/dist/chunks/{worktree-pf2hb43r.js → project-cqg8v4c7.js} +5 -5
- package/dist/chunks/{worktree-vd5yy21v.js → project-cwv7yqrw.js} +28 -28
- package/dist/chunks/{worktree-6r564qq4.js → project-czg9x4h8.js} +6 -6
- package/dist/chunks/{worktree-0z5kb6hf.js → project-d3fj698k.js} +3 -3
- package/dist/chunks/{worktree-0b08qf3v.js → project-d4fbvmpv.js} +8 -8
- package/dist/chunks/{worktree-fyq3qmbb.js → project-d6dqh9nb.js} +4 -4
- package/dist/chunks/{worktree-r0s9vhwa.js → project-dbggsdn6.js} +7 -7
- package/dist/chunks/{worktree-2mxwjfq3.js → project-df7trzx9.js} +28 -28
- package/dist/chunks/{worktree-smzykshb.js → project-dnaw0pkd.js} +3 -3
- package/dist/chunks/{worktree-dnxkq42g.js → project-dnxkq42g.js} +1 -1
- package/dist/chunks/{worktree-dpkg50ah.js → project-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-c3nyckct.js → project-dryza082.js} +25 -25
- package/dist/chunks/{worktree-87temrgz.js → project-e049drp9.js} +11 -11
- package/dist/chunks/{worktree-2x11xqq5.js → project-e0t5n6h4.js} +26 -26
- package/dist/chunks/{worktree-2wmsjg7e.js → project-e2qcx340.js} +10 -10
- package/dist/chunks/{worktree-3kxsbfdd.js → project-e63gg9ae.js} +15 -15
- package/dist/chunks/{worktree-qjnxxf51.js → project-e6hmchc5.js} +5 -5
- package/dist/chunks/{worktree-ecfe7b91.js → project-ecfe7b91.js} +2 -2
- package/dist/chunks/{worktree-g8rmq192.js → project-ed2m8rt6.js} +10 -10
- package/dist/chunks/{worktree-ef5x83kb.js → project-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-m8h3g6ey.js → project-enmvcg2s.js} +5 -5
- package/dist/chunks/{worktree-e7f86dzg.js → project-erkqxs4v.js} +16 -16
- package/dist/chunks/{worktree-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-z04dqx9d.js → project-ew3ps6bh.js} +5 -5
- package/dist/chunks/{worktree-f8hpcc62.js → project-f3zdv7ej.js} +29 -29
- package/dist/chunks/{worktree-prdv2mte.js → project-far2xf0m.js} +4 -4
- package/dist/chunks/{worktree-ryr25ayn.js → project-fdv30zvt.js} +7 -7
- package/dist/chunks/{worktree-gyccd9n7.js → project-ffmtnmcc.js} +20 -20
- package/dist/chunks/{worktree-4jv7e9dq.js → project-fjvydvzm.js} +8 -8
- package/dist/chunks/{worktree-q4s4x04b.js → project-fzp769bc.js} +25 -25
- package/dist/chunks/{worktree-g190xswt.js → project-g190xswt.js} +1 -1
- package/dist/chunks/{worktree-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-swh571tt.js → project-gq19827e.js} +1 -1
- package/dist/chunks/{worktree-7twg7rgh.js → project-gq3bt1cd.js} +20 -20
- package/dist/chunks/{worktree-9x0b5x9j.js → project-gt50eczq.js} +14 -14
- package/dist/chunks/{worktree-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-6rebv3cw.js → project-gyjy55vd.js} +1 -1
- package/dist/chunks/{worktree-y019w46x.js → project-h15qk984.js} +323 -323
- package/dist/chunks/{worktree-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-8gh9vszs.js → project-h8hwphbd.js} +22 -22
- package/dist/chunks/{worktree-hd8vw2pw.js → project-hd8vw2pw.js} +1 -1
- package/dist/chunks/{worktree-z0ya5s7h.js → project-hn43hy9v.js} +9 -9
- package/dist/chunks/{worktree-7qann507.js → project-hnmy0hsy.js} +46 -46
- package/dist/chunks/{worktree-abrjz9qv.js → project-hz5p8n7r.js} +13 -13
- package/dist/chunks/{worktree-1fm7vbk4.js → project-j26sntzs.js} +12 -12
- package/dist/chunks/{worktree-n810d9f4.js → project-j50a6jve.js} +11 -11
- package/dist/chunks/{worktree-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-7627eybd.js → project-j8f5yte4.js} +18 -18
- package/dist/chunks/{worktree-bpa6zfs4.js → project-jdtykp26.js} +81 -81
- package/dist/chunks/{worktree-pnv527nz.js → project-jjs74g98.js} +9 -9
- package/dist/chunks/{worktree-k3c624dm.js → project-k3c624dm.js} +3 -3
- package/dist/chunks/{worktree-xxynqx5z.js → project-k6yq57aq.js} +2 -2
- package/dist/chunks/{worktree-z4b5t13m.js → project-kfewz56y.js} +19 -19
- package/dist/chunks/{worktree-xpjcprn4.js → project-kjkxz51n.js} +26 -26
- package/dist/chunks/{worktree-v7z2bvyd.js → project-knevfgda.js} +4 -4
- package/dist/chunks/{worktree-m3fdjcah.js → project-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-c66ced72.js → project-m6f3t844.js} +4 -4
- package/dist/chunks/{worktree-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-s7m1jgh3.js → project-mk2wn6nt.js} +41 -41
- package/dist/chunks/{worktree-zqm7km32.js → project-mksgfzgs.js} +5 -5
- package/dist/chunks/{worktree-mhkvc446.js → project-mvfsc1pv.js} +3 -3
- package/dist/chunks/{worktree-r5vpsbwz.js → project-n3csagb3.js} +18 -18
- package/dist/chunks/{worktree-t794wzvf.js → project-n5g5f6a9.js} +26 -26
- package/dist/chunks/{worktree-34nypsh0.js → project-n7kq7syy.js} +9 -9
- package/dist/chunks/{worktree-jvhjazwr.js → project-n9brwhfv.js} +11 -11
- package/dist/chunks/{worktree-59fdznsn.js → project-ncpnxt6w.js} +17 -17
- package/dist/chunks/{worktree-rvyqzb1a.js → project-nm0q2jgj.js} +29 -29
- package/dist/chunks/{worktree-hanh6chz.js → project-nm4b89zg.js} +8 -8
- package/dist/chunks/{worktree-bb5562zs.js → project-nmbqr5ec.js} +22 -22
- package/dist/chunks/{worktree-4857ee0e.js → project-nykjhsrz.js} +52 -52
- package/dist/chunks/{worktree-2wfhz1m8.js → project-pfnjx98c.js} +22 -22
- package/dist/chunks/{worktree-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-6hzy2d5p.js → project-pm3a7hnh.js} +34 -34
- package/dist/chunks/{worktree-6apn3h4b.js → project-ptf9bkze.js} +9 -9
- package/dist/chunks/{worktree-jw8n4n6p.js → project-pv66basf.js} +14 -14
- package/dist/chunks/{worktree-py3kkmfq.js → project-py3kkmfq.js} +2 -2
- package/dist/chunks/{worktree-ghxjqect.js → project-q03xkger.js} +13 -13
- package/dist/chunks/{worktree-2kba3xe6.js → project-q19fen1v.js} +27 -27
- package/dist/chunks/{worktree-kvh070sc.js → project-q9jkegzq.js} +32 -32
- package/dist/chunks/{worktree-7f76ypb7.js → project-qaqjyhfq.js} +14 -14
- package/dist/chunks/{worktree-277eer69.js → project-qbqbaz6q.js} +4 -4
- package/dist/chunks/{worktree-2k8khapm.js → project-qgn6gcr1.js} +5 -5
- package/dist/chunks/{worktree-twe926b3.js → project-qhvf56dz.js} +10 -10
- package/dist/chunks/{worktree-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-gfzbkctm.js → project-r14vm1xa.js} +19 -19
- package/dist/chunks/{worktree-rdw6cm16.js → project-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-k3dyg6dm.js → project-rfj00t6s.js} +7 -7
- package/dist/chunks/{worktree-xj9aad7z.js → project-s04yvqe9.js} +39 -39
- package/dist/chunks/{worktree-tgtk0jyg.js → project-s2fyaqj8.js} +14 -14
- package/dist/chunks/{worktree-2v3kr2zz.js → project-s825grcd.js} +43 -43
- package/dist/chunks/{worktree-rhjbct0v.js → project-s8d7rejh.js} +4 -4
- package/dist/chunks/{worktree-pecb0brz.js → project-s8zy8myc.js} +5 -5
- package/dist/chunks/{worktree-11dqjexa.js → project-sk2hk6tq.js} +9 -9
- package/dist/chunks/{worktree-9n87anw0.js → project-swk1efsm.js} +8 -8
- package/dist/chunks/{worktree-de6phzbx.js → project-t41mts01.js} +9 -9
- package/dist/chunks/{worktree-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-50fh3k1w.js → project-tr8mceaa.js} +11 -11
- package/dist/chunks/{worktree-yvyjs43v.js → project-tv78pmrq.js} +20 -20
- package/dist/chunks/{worktree-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-7sgyf0xz.js → project-tvyg9cvp.js} +6 -6
- package/dist/chunks/{worktree-x79bsykc.js → project-tzxknpb8.js} +11 -11
- package/dist/chunks/{worktree-5rpzdny6.js → project-v2gj3r6j.js} +20 -20
- package/dist/chunks/{worktree-tha3vvwn.js → project-v89ca3yf.js} +5 -5
- package/dist/chunks/{worktree-8s0ze3zt.js → project-ve8aas4y.js} +10 -10
- package/dist/chunks/{worktree-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-zqcr6gem.js → project-vf87633e.js} +20 -20
- package/dist/chunks/{worktree-m8jn794n.js → project-vf98g9bw.js} +23 -23
- package/dist/chunks/{worktree-gm0g7gcc.js → project-vhs061t7.js} +4 -4
- package/dist/chunks/{worktree-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-g3bz5gs9.js → project-w2236gjw.js} +20 -20
- package/dist/chunks/{worktree-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-8hbfdwcy.js → project-w6zk8pbt.js} +6 -6
- package/dist/chunks/{worktree-0k65zfrv.js → project-w893fnt1.js} +84 -84
- package/dist/chunks/{worktree-05xfxpq7.js → project-was7srj9.js} +8 -8
- package/dist/chunks/{worktree-0nc4skqk.js → project-wcqyh1ts.js} +9 -9
- package/dist/chunks/{worktree-wd3x2cqz.js → project-wd3x2cqz.js} +2 -2
- package/dist/chunks/{worktree-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-pa3vm0gt.js → project-wnkxv0q5.js} +16 -16
- package/dist/chunks/{worktree-wgss2cbp.js → project-wpeqwd3m.js} +11 -11
- package/dist/chunks/{worktree-ky3seynh.js → project-wqc6684y.js} +2 -2
- package/dist/chunks/{worktree-m92xhnzy.js → project-wyjk5hfb.js} +3 -3
- package/dist/chunks/{worktree-ap2tpm1x.js → project-x176zp1b.js} +19 -19
- package/dist/chunks/{worktree-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-3zm2m16b.js → project-x2y9dr9x.js} +23 -23
- package/dist/chunks/{worktree-afjydgk3.js → project-xb50yt4b.js} +4 -4
- package/dist/chunks/{worktree-93fchcwg.js → project-xbk7y0ps.js} +18 -18
- package/dist/chunks/{worktree-xfkkasph.js → project-xfkkasph.js} +1 -1
- package/dist/chunks/{worktree-xkntkrq7.js → project-xkntkrq7.js} +2 -2
- package/dist/chunks/{worktree-wd71bnwr.js → project-xzb2kbk8.js} +26 -26
- package/dist/chunks/{worktree-h5m7e0fe.js → project-y0mc46pw.js} +9 -9
- package/dist/chunks/{worktree-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-n9a5crpx.js → project-yfc128y6.js} +4 -4
- package/dist/chunks/{worktree-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-z07pqspn.js → project-z07pqspn.js} +3 -3
- package/dist/chunks/{worktree-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-w8m5q4xe.js → project-zc89qxvr.js} +18 -18
- package/dist/chunks/{worktree-baaqp4zd.js → project-zcrspsvn.js} +4 -4
- package/dist/chunks/{worktree-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-mn20a28a.js → project-zf1fk0v2.js} +11 -11
- package/dist/chunks/{worktree-senast2p.js → project-zfgkzra5.js} +15 -15
- package/dist/chunks/{worktree-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/worktree-dfjfj6f0.js +0 -252
- package/dist/chunks/worktree-qc068m1q.js +0 -18
- package/dist/chunks/worktree-t3czs8ed.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → project-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → project-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → project-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → project-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → project-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options7,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options7 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options7, Spec2, exports_plugin3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-vhs061t7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service51,
|
|
6
|
+
Event8
|
|
7
|
+
} from "./project-a1by8739.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin2,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin2 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service51;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin49 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin2, exports_plugin };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node86
|
|
6
|
+
} from "./project-607q5haz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./project-7dnkkhh4.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-mksgfzgs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service24,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node27
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service80;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service24.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node27 = makeLocationNode({
|
|
61
|
+
service: Service24,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service24, node27, exports_strategies };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-j50a6jve.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-vhs061t7.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event20
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-8p2pmgw9.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-n3csagb3.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./project-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-vf98g9bw.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-vhs061t7.js";
|
|
5
5
|
import {
|
|
6
6
|
Event20,
|
|
7
|
-
|
|
7
|
+
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./project-8p2pmgw9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service50,
|
|
12
|
+
node52
|
|
13
|
+
} from "./project-2wnd0vm8.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./project-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./project-7dnkkhh4.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-x176zp1b.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-1c29hv3p.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./project-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service51,
|
|
36
|
+
Event8,
|
|
37
|
+
node53
|
|
38
|
+
} from "./project-a1by8739.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./project-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options6,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service49,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer17,
|
|
53
|
+
node: () => node51,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options6 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service49 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service49, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer17 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service50;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service79;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service51;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -222,7 +222,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
224
|
yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
-
yield* bus.subscribe(
|
|
225
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service49.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -264,11 +264,11 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
264
264
|
}));
|
|
265
265
|
function configured6(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service49,
|
|
268
|
+
layer: layer17(options),
|
|
269
|
+
deps: [node52, node87, FSUtil.node, Global.node, node84, node83, node53]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node51 = configured6();
|
|
273
273
|
|
|
274
|
-
export { latest2, Options6,
|
|
274
|
+
export { latest2, Options6, Service49, Test2, testLayer2, layer17, configured6, node51, exports_config };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-vf98g9bw.js";
|
|
5
5
|
import {
|
|
6
6
|
ID12,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info26,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./project-nmbqr5ec.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./project-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ModalModels: () =>
|
|
19
|
-
derive: () =>
|
|
20
|
-
get: () =>
|
|
21
|
-
load: () =>
|
|
16
|
+
var exports_models = {};
|
|
17
|
+
__export(exports_models, {
|
|
18
|
+
ModalModels: () => exports_models,
|
|
19
|
+
derive: () => derive2,
|
|
20
|
+
get: () => get2,
|
|
21
|
+
load: () => load2
|
|
22
22
|
});
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Option, Schema } from "effect";
|
|
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
|
|
|
54
54
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
55
55
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
56
56
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
57
|
-
async function
|
|
58
|
-
return
|
|
57
|
+
async function get2(baseURL, apiKey, existing) {
|
|
58
|
+
return derive2(baseURL, await load2(baseURL, apiKey), existing);
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function load2(baseURL, apiKey) {
|
|
61
61
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
62
62
|
headers: {
|
|
63
63
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -71,7 +71,7 @@ async function load3(baseURL, apiKey) {
|
|
|
71
71
|
return model ? [model] : [];
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function derive2(baseURL, remote, existing) {
|
|
75
75
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
76
76
|
const result = new Map;
|
|
77
77
|
for (const item of remote) {
|
|
@@ -144,4 +144,4 @@ function variants(remote) {
|
|
|
144
144
|
return [...seen.values()];
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
export {
|
|
147
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./project-e63gg9ae.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./project-nmbqr5ec.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./project-s04yvqe9.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-k6yq57aq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service45
|
|
18
|
+
} from "./project-2v338a3n.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service66
|
|
22
|
+
} from "./project-b6vdck89.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service25
|
|
25
|
+
} from "./project-w893fnt1.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make6
|
|
31
|
+
} from "./project-wpeqwd3m.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./project-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input2,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin21,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name2
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name2 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input2 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
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."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin21 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service25;
|
|
93
|
+
const jobs = yield* Service45;
|
|
94
|
+
const agents = yield* Service70;
|
|
95
|
+
const config = yield* Service49;
|
|
96
|
+
const permission = yield* Service66;
|
|
97
|
+
const models = yield* Service75;
|
|
98
|
+
const subagents = yield* make6;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin28 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin28 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name2,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name2 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name2];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name2, Input2, Output2, description2, Plugin21, exports_subagent };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info11 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info11, exports_mcp5 };
|