@opencode/core 0.0.0-dev-19973 → 0.0.0-dev-19974
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-xrtgkc4g.js → command-0601qg4c.js} +11 -11
- package/dist/chunks/{file-z6wymv09.js → command-0dtckawb.js} +13 -13
- package/dist/chunks/{file-jhmep02j.js → command-0fxyxxca.js} +11 -11
- package/dist/chunks/{file-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-31g0t493.js → command-0repjh3r.js} +147 -147
- package/dist/chunks/{file-0cv69rnt.js → command-12ppvwww.js} +11 -11
- package/dist/chunks/{file-xx275nmg.js → command-15ecbz73.js} +15 -15
- package/dist/chunks/{file-w29rsy53.js → command-18fjrjyv.js} +17 -17
- package/dist/chunks/{file-k0hsyzpz.js → command-19wqcg6g.js} +29 -29
- package/dist/chunks/{file-g50hb2qv.js → command-1dard8rw.js} +11 -11
- package/dist/chunks/{file-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-apamx443.js → command-1fmn7nca.js} +29 -29
- package/dist/chunks/{file-kyhsppsx.js → command-1jqpcwdd.js} +13 -13
- package/dist/chunks/{file-9b3xwcj2.js → command-1vc7h4bf.js} +17 -17
- package/dist/chunks/{file-tq3e67kz.js → command-1wnwcw7r.js} +11 -11
- package/dist/chunks/{file-1ygqh575.js → command-1ygqh575.js} +2 -2
- package/dist/chunks/{file-sf73ykr8.js → command-21bs846c.js} +17 -17
- package/dist/chunks/{file-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{file-dfrxsycg.js → command-29ebz4cy.js} +21 -21
- package/dist/chunks/{file-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-2evyaa68.js → command-2evyaa68.js} +1 -1
- package/dist/chunks/{file-95tjqs8s.js → command-2m0t44q9.js} +17 -17
- package/dist/chunks/{file-rp8jz6x1.js → command-35agz59w.js} +4 -4
- package/dist/chunks/{file-4n607a2z.js → command-3801kdgp.js} +5 -5
- package/dist/chunks/{file-f2tc9nf8.js → command-395exzp5.js} +35 -35
- package/dist/chunks/{file-a1mse3js.js → command-3f7xan5b.js} +4 -4
- package/dist/chunks/{file-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-b97kwyb9.js → command-3gafegkz.js} +6 -6
- package/dist/chunks/{file-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-vbcz9h2j.js → command-3ktbe3hf.js} +9 -9
- package/dist/chunks/{file-hwe7x4em.js → command-3ppptnan.js} +6 -6
- package/dist/chunks/{file-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-r81z0f2d.js → command-3x4n1p4b.js} +11 -11
- package/dist/chunks/{file-mmr7bq34.js → command-44ke2mar.js} +8 -8
- package/dist/chunks/{file-8r9at6cd.js → command-44ksrw62.js} +13 -13
- package/dist/chunks/{file-2n16nqjf.js → command-4dkr59gj.js} +3 -3
- package/dist/chunks/{file-7xyrrtj6.js → command-4drgpw32.js} +5 -5
- package/dist/chunks/{file-5v4jjjtv.js → command-4gv05ame.js} +11 -11
- package/dist/chunks/{file-ryt7pzqc.js → command-4jc5c4h4.js} +1 -1
- package/dist/chunks/{file-40n69t94.js → command-4qm7m3m6.js} +26 -26
- package/dist/chunks/{file-6ktwvsfe.js → command-57aypccr.js} +3 -3
- package/dist/chunks/{file-1vh0nr0y.js → command-5arbc4sb.js} +50 -50
- package/dist/chunks/{file-a1bz86dw.js → command-5c4hm403.js} +3 -3
- package/dist/chunks/{file-nes099kr.js → command-5cry9dbs.js} +43 -43
- package/dist/chunks/{file-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{file-1b58hg41.js → command-5esk5nf6.js} +17 -17
- package/dist/chunks/{file-p84jq1z2.js → command-5fygez4p.js} +5 -5
- package/dist/chunks/{file-rhxny31y.js → command-5mjt82ds.js} +24 -24
- package/dist/chunks/{file-e3qxr5gk.js → command-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-dps3wts7.js → command-5qmpb97a.js} +6 -6
- package/dist/chunks/{file-h1jwkh9k.js → command-5r8re7cq.js} +5 -5
- package/dist/chunks/{file-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-ch7awch3.js → command-5v6q8ws3.js} +28 -28
- package/dist/chunks/{file-vkt5fbj2.js → command-5we7r0eg.js} +5 -5
- package/dist/chunks/{file-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{file-d72r6y07.js → command-69zdqv0e.js} +9 -9
- package/dist/chunks/{file-xw79ec0z.js → command-6axvzsm7.js} +21 -21
- package/dist/chunks/{file-p6zm9yar.js → command-6bnbyxfg.js} +9 -9
- package/dist/chunks/{file-tzxd4jrh.js → command-6dbd9kfr.js} +4 -4
- package/dist/chunks/{file-6h73sxmp.js → command-6h73sxmp.js} +1 -1
- package/dist/chunks/{file-61ngkm40.js → command-6jt6hkba.js} +25 -25
- package/dist/chunks/{file-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mfg2tgr6.js → command-6pj7x9ww.js} +12 -12
- package/dist/chunks/{file-xejrq3dz.js → command-6yd319e0.js} +46 -46
- package/dist/chunks/{file-6144aq34.js → command-76vyv3fa.js} +12 -12
- package/dist/chunks/{file-ebz4tpb1.js → command-77hk7r89.js} +6 -6
- package/dist/chunks/{file-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-ty8hjbwp.js → command-7nvpgp18.js} +26 -26
- package/dist/chunks/{file-fw4wab6g.js → command-7rx5b338.js} +9 -9
- package/dist/chunks/{file-gvjzk8t4.js → command-7s37cbtz.js} +10 -10
- package/dist/chunks/{file-wf2yx5re.js → command-7y0fda1f.js} +10 -10
- package/dist/chunks/{file-x4zvqetd.js → command-80agk8qd.js} +35 -35
- package/dist/chunks/{file-kv5v901h.js → command-85gr95dm.js} +59 -59
- package/dist/chunks/{file-tjedn1bk.js → command-86qzxe6p.js} +4 -4
- package/dist/chunks/{file-tcezcvh9.js → command-89znhe33.js} +4 -4
- package/dist/chunks/{file-tsf2j8dc.js → command-8a6kxmc8.js} +43 -43
- package/dist/chunks/{file-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-t13qry64.js → command-8gxjxfk7.js} +25 -25
- package/dist/chunks/{file-9k9rc8dk.js → command-8qby4p94.js} +47 -47
- package/dist/chunks/{file-4s6t339e.js → command-92rkebfh.js} +19 -19
- package/dist/chunks/{file-ahd542yp.js → command-97w5rk9e.js} +8 -8
- package/dist/chunks/{file-fh0r6x4j.js → command-98r14yx2.js} +13 -13
- package/dist/chunks/{file-y98520v9.js → command-9bh1kbwm.js} +37 -37
- package/dist/chunks/{file-5nqjkrmw.js → command-9jyavp4h.js} +8 -8
- package/dist/chunks/{file-93gey591.js → command-9ksxqh2k.js} +2 -2
- package/dist/chunks/{file-q5n1ccmn.js → command-9tb5hr0v.js} +20 -20
- package/dist/chunks/{file-65ttj00x.js → command-9xv0kghy.js} +4 -4
- package/dist/chunks/{file-agqdc7j7.js → command-a16afrr2.js} +3 -3
- package/dist/chunks/{file-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{file-av1qv8sp.js → command-aht6b1gw.js} +11 -11
- package/dist/chunks/{file-zbfspryx.js → command-azsbfkqj.js} +20 -20
- package/dist/chunks/{file-t5h7y91k.js → command-b3h4hk8s.js} +170 -170
- package/dist/chunks/{file-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-90h6t2z6.js → command-b91y5b0n.js} +20 -20
- package/dist/chunks/{file-phh6ekdg.js → command-bbn46np6.js} +37 -37
- package/dist/chunks/{file-vh1ek12h.js → command-bc7r1051.js} +8 -8
- package/dist/chunks/{file-yzsh5ekf.js → command-beq4zdab.js} +11 -11
- package/dist/chunks/{file-nc8ss6ew.js → command-bkt6pkzv.js} +25 -25
- package/dist/chunks/{file-kzbpe9h1.js → command-bp02r99k.js} +4 -4
- package/dist/chunks/{file-w5tatzgg.js → command-brmtm7cf.js} +11 -11
- package/dist/chunks/{file-vp6gs366.js → command-bvrm6sd3.js} +16 -16
- package/dist/chunks/{file-w310ddjz.js → command-c27g0cwe.js} +16 -16
- package/dist/chunks/{file-6cnxk7mx.js → command-c68rk66j.js} +8 -8
- package/dist/chunks/{file-m4b5czg0.js → command-ca4wybjn.js} +6 -6
- package/dist/chunks/{file-3w1rnthq.js → command-cb9ss0ge.js} +9 -9
- package/dist/chunks/{file-k1qrnqst.js → command-cd0z4qvb.js} +8 -8
- package/dist/chunks/{file-1w6hh1p9.js → command-ceer43ev.js} +6 -6
- package/dist/chunks/{file-xqrmy91b.js → command-cnkj3bkk.js} +6 -6
- package/dist/chunks/{file-rpnnp4qr.js → command-csmtma2g.js} +16 -16
- package/dist/chunks/{file-qmqgtz8f.js → command-cwa6csj7.js} +9 -9
- package/dist/chunks/{file-cxqahwfd.js → command-d4kvcxbh.js} +17 -17
- package/dist/chunks/{file-x5117sxm.js → command-d8vs3fz8.js} +25 -25
- package/dist/chunks/{file-57ez7d0k.js → command-d9s573fh.js} +2 -2
- package/dist/chunks/{file-8p4f9s12.js → command-dj2t23y0.js} +2 -2
- package/dist/chunks/{file-d50t6vt6.js → command-dj7ydz2q.js} +1 -1
- package/dist/chunks/{file-h8bbzknd.js → command-dm0bbnwt.js} +12 -12
- package/dist/chunks/{file-v5bym671.js → command-dnm7xxeh.js} +5 -5
- package/dist/chunks/{file-dbv4bwgz.js → command-dtyshr95.js} +20 -20
- package/dist/chunks/{file-gs3psw06.js → command-e0378qy6.js} +9 -9
- package/dist/chunks/{file-293f31c0.js → command-e23rwaaf.js} +30 -30
- package/dist/chunks/{file-ekrar7jz.js → command-e64hjbz6.js} +10 -10
- package/dist/chunks/{file-tesavvmz.js → command-eac26f80.js} +29 -29
- package/dist/chunks/{file-t550f9t1.js → command-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-s96a3jht.js → command-ejhgf7w3.js} +13 -13
- package/dist/chunks/{file-mvka64fw.js → command-en452bs7.js} +24 -24
- package/dist/chunks/{file-yg9zx5fs.js → command-eqbz22z4.js} +35 -35
- package/dist/chunks/{file-erw5rpbs.js → command-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-2k8khapm.js → command-esafk7q3.js} +5 -5
- package/dist/chunks/{file-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-tn0aqsam.js → command-ez47arx5.js} +5 -5
- package/dist/chunks/{file-q4td18zp.js → command-f2wfspan.js} +6 -6
- package/dist/chunks/{file-43d7fjw1.js → command-f3t28nxc.js} +7 -7
- package/dist/chunks/{file-kk9q0gyc.js → command-f41ena25.js} +9 -9
- package/dist/chunks/{file-6v1qfv2f.js → command-fb3kqv53.js} +42 -42
- package/dist/chunks/{file-4nj4bn9q.js → command-fdms3n6w.js} +9 -9
- package/dist/chunks/{file-25m4ah6t.js → command-fdv30zvt.js} +4 -4
- package/dist/chunks/{file-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-gj2nqsbr.js → command-fxjzx9zk.js} +2 -2
- package/dist/chunks/{file-qa9wg7wp.js → command-fyxvyc63.js} +16 -16
- package/dist/chunks/{file-tt15avaa.js → command-g2aavtfc.js} +3 -3
- package/dist/chunks/{file-4ze6gm64.js → command-gb73r5q4.js} +30 -30
- package/dist/chunks/{file-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-45vp9cex.js → command-gezbrf6h.js} +6 -6
- package/dist/chunks/{file-jvf3yq6v.js → command-gst7axd9.js} +4 -4
- package/dist/chunks/{file-y4jyg05x.js → command-gzk0z5t1.js} +43 -43
- package/dist/chunks/{file-sfpvnmyj.js → command-h47e2fat.js} +22 -22
- package/dist/chunks/{file-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-xjnjfb63.js → command-ha7xgv60.js} +32 -32
- package/dist/chunks/{file-f828m53h.js → command-hdnk95c8.js} +2 -2
- package/dist/chunks/{file-ax6pb1z3.js → command-hm4csw6w.js} +15 -15
- package/dist/chunks/{file-vhv9mknt.js → command-hng4xen5.js} +29 -29
- package/dist/chunks/{file-sq0f3j6x.js → command-hqn1z470.js} +18 -18
- package/dist/chunks/{file-43d6rre2.js → command-hvf8bzx3.js} +15 -15
- package/dist/chunks/{file-d6sz2yz3.js → command-j1h0x3qm.js} +4 -4
- package/dist/chunks/{file-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{file-szgvf7b7.js → command-j84y35zg.js} +1 -1
- package/dist/chunks/{file-5nb2d01r.js → command-jca4demv.js} +2 -2
- package/dist/chunks/{file-zzqh9mjf.js → command-jm23qt55.js} +18 -18
- package/dist/chunks/{file-37es8sy9.js → command-jndgkwdf.js} +9 -9
- package/dist/chunks/{file-8emmqy2y.js → command-js89hyr4.js} +76 -76
- package/dist/chunks/{file-18gsyhex.js → command-jshnnbm0.js} +3 -3
- package/dist/chunks/{file-6m42r3np.js → command-jw80jp6b.js} +21 -21
- package/dist/chunks/{file-af04s6ss.js → command-jwbqhvyy.js} +5 -5
- package/dist/chunks/{file-mx5etkqw.js → command-k0gxj95r.js} +33 -33
- package/dist/chunks/{file-8yaymg6a.js → command-k409y6k1.js} +5 -5
- package/dist/chunks/{file-bf79bfp2.js → command-k6jsebqw.js} +16 -16
- package/dist/chunks/{file-ewjewney.js → command-k6w958j5.js} +8 -8
- package/dist/chunks/{file-wtfd7wae.js → command-kkf65y6a.js} +27 -27
- package/dist/chunks/{file-1qxb3sk8.js → command-kw5v92fn.js} +20 -20
- package/dist/chunks/{file-f3rghsp8.js → command-kz87xe09.js} +26 -26
- package/dist/chunks/{file-cfpkc3c9.js → command-m0jqrx5p.js} +2 -2
- package/dist/chunks/{file-jmpfrrst.js → command-m2k7mg07.js} +11 -11
- package/dist/chunks/{file-m3fdjcah.js → command-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-ns454he7.js → command-m4j94d0w.js} +13 -13
- package/dist/chunks/{file-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-gdt4cbd6.js → command-m9wnxg74.js} +26 -26
- package/dist/chunks/{file-mhkvc446.js → command-mhkvc446.js} +1 -1
- package/dist/chunks/{file-naj50rvz.js → command-mqzwkyay.js} +8 -8
- package/dist/chunks/{file-arr0yzrh.js → command-mt1xf8xq.js} +4 -4
- package/dist/chunks/{file-qg0jgkcp.js → command-mvn2r3z4.js} +9 -9
- package/dist/chunks/{file-k3ahcn2y.js → command-mwch1h7x.js} +26 -26
- package/dist/chunks/{file-xc5qzd8z.js → command-n80jc431.js} +17 -17
- package/dist/chunks/{file-feb7qkw1.js → command-ngne8dfe.js} +2 -2
- package/dist/chunks/{file-0jt3tb20.js → command-njkzccyn.js} +7 -7
- package/dist/chunks/{file-jbw7zkpy.js → command-nnbzrd8n.js} +22 -22
- package/dist/chunks/{file-6yjt3wjz.js → command-np4grtax.js} +21 -21
- package/dist/chunks/{file-hh8ms2yj.js → command-ny7zsgxc.js} +10 -10
- package/dist/chunks/{file-k3c624dm.js → command-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-h6r3nrb9.js → command-nzyhnfxz.js} +4 -4
- package/dist/chunks/{file-p28j5sbe.js → command-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-p37cw4rj.js → command-p37cw4rj.js} +1 -1
- package/dist/chunks/{file-sjr3sdb5.js → command-p504gj3f.js} +8 -8
- package/dist/chunks/{file-1s2a2y7p.js → command-pdhkkygs.js} +11 -11
- package/dist/chunks/{file-m7kehd4x.js → command-ph5q8xzv.js} +10 -10
- package/dist/chunks/{file-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{file-3vc4dk59.js → command-pm3aw8jw.js} +25 -25
- package/dist/chunks/{file-e0rvsnry.js → command-pn2fvd3j.js} +12 -12
- package/dist/chunks/{file-hj28bw27.js → command-q0r7cvmx.js} +14 -14
- package/dist/chunks/{file-38bdef71.js → command-q29a3mzv.js} +15 -15
- package/dist/chunks/{file-rj6d5p5e.js → command-q3t37ft6.js} +3 -3
- package/dist/chunks/{file-wnmqtqbz.js → command-q5nw5m1n.js} +9 -9
- package/dist/chunks/{file-kxfr8scb.js → command-qbznwwr3.js} +5 -5
- package/dist/chunks/{file-agnfd28k.js → command-qcqngy56.js} +20 -20
- package/dist/chunks/{file-whx7epc8.js → command-qmawctgv.js} +11 -11
- package/dist/chunks/{file-dt2zx11c.js → command-qmk2rxp5.js} +5 -5
- package/dist/chunks/{file-mt9jjf2t.js → command-qnv6wqrn.js} +88 -88
- package/dist/chunks/{file-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{file-rbh1x862.js → command-qsmad8q5.js} +25 -25
- package/dist/chunks/{file-tfm34hws.js → command-qv6qez6w.js} +11 -11
- package/dist/chunks/{file-npr18s3r.js → command-qvx74awb.js} +7 -7
- package/dist/chunks/{file-e8qn9sht.js → command-r5b2g718.js} +33 -33
- package/dist/chunks/{file-cqymy0yn.js → command-r60jn89m.js} +17 -17
- package/dist/chunks/{file-hrnxc6yg.js → command-rahj5xg6.js} +11 -11
- package/dist/chunks/{file-q0y6x0zh.js → command-rc2rdsk3.js} +12 -12
- package/dist/chunks/{file-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-ywxvr4rb.js → command-rgbassad.js} +23 -23
- package/dist/chunks/{file-hsr3srte.js → command-rkwepmqr.js} +12 -12
- package/dist/chunks/{file-zeh9ct20.js → command-rq775frq.js} +2 -2
- package/dist/chunks/{file-rj3kjn4t.js → command-rqmc9bz6.js} +4 -4
- package/dist/chunks/{file-ryrq8653.js → command-rsnh7qyx.js} +5 -5
- package/dist/chunks/{file-0dvw3k89.js → command-rtbgd8vv.js} +12 -12
- package/dist/chunks/{file-607q5haz.js → command-s2ynmxvy.js} +5 -5
- package/dist/chunks/{file-jyjec5pm.js → command-sds13m34.js} +15 -15
- package/dist/chunks/{file-djr0a131.js → command-sf8s250z.js} +27 -27
- package/dist/chunks/{file-apyffp7r.js → command-st8d6rzm.js} +43 -43
- package/dist/chunks/{file-52sgb6yw.js → command-svt8e23h.js} +30 -30
- package/dist/chunks/{file-6fhr0pkt.js → command-szncdaef.js} +6 -6
- package/dist/chunks/{file-0r7yqxbf.js → command-t3swkhbg.js} +5 -5
- package/dist/chunks/{file-ve4pfa0n.js → command-t9zs3egg.js} +4 -4
- package/dist/chunks/{file-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{file-14fc18qr.js → command-tg765z21.js} +9 -9
- package/dist/chunks/{file-03ddm2ac.js → command-tqnd21xx.js} +24 -24
- package/dist/chunks/{file-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{file-d2c2nyzk.js → command-tx9w5tca.js} +8 -8
- package/dist/chunks/{file-xba06r7e.js → command-v5g5v3ws.js} +18 -18
- package/dist/chunks/{file-4fr18w13.js → command-v7bs4fwn.js} +14 -14
- package/dist/chunks/{file-ttfkrrt2.js → command-vbaxqaky.js} +10 -10
- package/dist/chunks/{file-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/command-vnkjks7b.js +18 -0
- package/dist/chunks/{file-2xcgp7gj.js → command-vtpa8adt.js} +29 -29
- package/dist/chunks/{file-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-va8zjbfm.js → command-w0825h81.js} +321 -321
- package/dist/chunks/{file-13dfa88x.js → command-w0cjdr4y.js} +26 -26
- package/dist/chunks/{file-bccb6npm.js → command-w1k39n5e.js} +4 -4
- package/dist/chunks/{file-k95xev6m.js → command-w1kts72e.js} +7 -7
- package/dist/chunks/{file-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{file-hvkdp02p.js → command-wgzvszfr.js} +24 -24
- package/dist/chunks/{file-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-wf34z6h5.js → command-x6k8vawk.js} +14 -14
- package/dist/chunks/{file-qqeeq2t9.js → command-xfkkasph.js} +7 -7
- package/dist/chunks/{file-fhjb7rt8.js → command-xh0mn2db.js} +4 -4
- package/dist/chunks/{file-wzm9vhk7.js → command-xydhn12a.js} +3 -3
- package/dist/chunks/{file-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-3ez6024g.js → command-y1q6eyqb.js} +16 -16
- package/dist/chunks/{file-bajakh74.js → command-y31b318c.js} +4 -4
- package/dist/chunks/{file-frz1fex2.js → command-y32hsvj3.js} +26 -26
- package/dist/chunks/{file-ye3wrgze.js → command-y64kjv5k.js} +21 -21
- package/dist/chunks/{file-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{file-eq5e5q4h.js → command-y91g1rqk.js} +5 -5
- package/dist/chunks/{file-pcz5gy8z.js → command-ycrff0sc.js} +14 -14
- package/dist/chunks/{file-m0v7jzh4.js → command-ycytvwgt.js} +28 -28
- package/dist/chunks/{file-1acjjqhc.js → command-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-wqq4yjck.js → command-ypwyy9wb.js} +13 -13
- package/dist/chunks/{file-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-s4enseaf.js → command-yrznvahk.js} +2 -2
- package/dist/chunks/{file-kdx6w3mz.js → command-ytjd48j9.js} +16 -16
- package/dist/chunks/{file-xksa7wvh.js → command-yx0qkvav.js} +59 -59
- package/dist/chunks/{file-gv6a8nnw.js → command-yyb7tjpc.js} +2 -2
- package/dist/chunks/{file-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-ayqs356k.js → command-z0pamjge.js} +48 -48
- package/dist/chunks/{file-3kdhhx66.js → command-z3qta96q.js} +5 -5
- package/dist/chunks/{file-29x78va6.js → command-z63w68vq.js} +6 -6
- package/dist/chunks/{file-85h6gxgt.js → command-z7t8qwge.js} +5 -5
- package/dist/chunks/{file-sp7z2078.js → command-zg4hrway.js} +17 -17
- package/dist/chunks/{file-j30jdxv7.js → command-zqcfqxpy.js} +24 -24
- package/dist/chunks/{file-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/command-zyyeags5.js +26 -0
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- package/dist/git.js +6 -6
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-j1yvacg2.js +0 -26
- package/dist/chunks/file-pf31ssb9.js +0 -18
- /package/dist/chunks/{file-0mesazry.js → command-0mesazry.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-57aypccr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-5c4hm403.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node26,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service23 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service23.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node26 = makeLocationNode({ service: Service23, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service23, node26, exports_instruction_entry };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info30 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info30, SessionSchema2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
+
Entry: () => Entry2,
|
|
10
|
+
Info: () => Info12
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry2 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry2, Info12, exports_formatter3 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./command-tqnd21xx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service48;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-xh0mn2db.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-fxjzx9zk.js";
|
|
9
9
|
import {
|
|
10
10
|
ID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service51,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node53
|
|
16
|
+
} from "./command-92rkebfh.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./command-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
30
|
Info: () => Info2,
|
|
31
31
|
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service13,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node15
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service13 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
62
|
const location = yield* Service80;
|
|
63
|
-
const shell = yield*
|
|
63
|
+
const shell = yield* Service51;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service13.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node15 = makeLocationNode({
|
|
274
|
+
service: Service13,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87, node84,
|
|
276
|
+
deps: [node87, node84, node53]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2,
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node15, exports_pty, Event2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID6,
|
|
6
|
+
Service52
|
|
7
|
+
} from "./command-qsmad8q5.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-3ktbe3hf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service52;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID6.make(from),
|
|
91
|
+
to: ID6.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./command-vtpa8adt.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID15,
|
|
3
|
+
Info30,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-q3t37ft6.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-57aypccr.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-xh0mn2db.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-c68rk66j.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service40,
|
|
24
|
+
node42
|
|
25
|
+
} from "./command-3ppptnan.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./command-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node40
|
|
34
|
+
} from "./command-9tb5hr0v.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./command-y31b318c.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./command-q29a3mzv.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./command-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node24
|
|
47
|
+
} from "./command-csmtma2g.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node59
|
|
51
|
+
} from "./command-4gv05ame.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./command-3ktbe3hf.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service76,
|
|
68
|
+
node80
|
|
69
|
+
} from "./command-c27g0cwe.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
node49
|
|
73
|
-
} from "./file-xx275nmg.js";
|
|
74
|
-
import {
|
|
75
|
-
Service41,
|
|
71
|
+
Service43,
|
|
76
72
|
node45
|
|
77
|
-
} from "./
|
|
73
|
+
} from "./command-15ecbz73.js";
|
|
74
|
+
import {
|
|
75
|
+
Service36,
|
|
76
|
+
node39
|
|
77
|
+
} from "./command-bbn46np6.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./command-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service29,
|
|
83
|
+
node32
|
|
84
|
+
} from "./command-6bnbyxfg.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./command-rtbgd8vv.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./command-p504gj3f.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service41,
|
|
93
|
+
node43
|
|
94
|
+
} from "./command-f41ena25.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service20,
|
|
100
|
+
node23
|
|
101
|
+
} from "./command-5arbc4sb.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service45,
|
|
104
|
+
node47
|
|
105
|
+
} from "./command-97w5rk9e.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./command-k0gxj95r.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./command-qmawctgv.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./command-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID15,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info30,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service19,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node22
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput2 = ListInput4;
|
|
152
|
+
class Service19 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
159
|
const projects = yield* Service81;
|
|
160
|
-
const execution = yield*
|
|
160
|
+
const execution = yield* Service36;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service29;
|
|
163
|
+
const store = yield* Service76;
|
|
164
|
+
const instances = yield* Service40;
|
|
165
|
+
const moves = yield* Service20;
|
|
166
|
+
const jobs = yield* Service43;
|
|
167
|
+
const environments = yield* Service45;
|
|
168
|
+
const locations = yield* Service41;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service19.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node22 = Node.makeGlobalNode({
|
|
330
|
+
service: Service19,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node45,
|
|
334
|
+
node47,
|
|
335
335
|
node88,
|
|
336
336
|
node87,
|
|
337
337
|
node85,
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
node39,
|
|
339
|
+
node32,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node80,
|
|
342
|
+
node42,
|
|
343
|
+
node40,
|
|
344
|
+
node23,
|
|
345
|
+
node24,
|
|
346
|
+
node43,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node59
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2,
|
|
352
|
+
export { ListAnchor2, ListInput2, Service19, node22, exports_session };
|