@opencode/core 0.0.0-dev-20581 → 0.0.0-dev-20586
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{managed-policy-cc75tkym.js → schema-0brrbz7a.js} +16 -16
- package/dist/chunks/{managed-policy-nepz78e5.js → schema-0jm58kyp.js} +9 -9
- package/dist/chunks/{managed-policy-57kx76x8.js → schema-0knh1j5d.js} +18 -18
- package/dist/chunks/{managed-policy-h4v137tq.js → schema-0nrdtycv.js} +47 -47
- package/dist/chunks/{managed-policy-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-j74g7mqr.js → schema-0tjvnj70.js} +9 -9
- package/dist/chunks/{managed-policy-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{managed-policy-d6bttsxy.js → schema-1279vwrw.js} +5 -5
- package/dist/chunks/{managed-policy-nrrmpm3c.js → schema-15h6fegf.js} +13 -13
- package/dist/chunks/{managed-policy-jr3bj4y0.js → schema-15s9b7tq.js} +13 -13
- package/dist/chunks/{managed-policy-q6w467xr.js → schema-18a3shtt.js} +16 -16
- package/dist/chunks/{managed-policy-rhraev7y.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{managed-policy-5q13c62c.js → schema-1dangqhw.js} +7 -7
- package/dist/chunks/{managed-policy-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-1dvck2a7.js → schema-1dvck2a7.js} +2 -2
- package/dist/chunks/{managed-policy-x2ntk5yv.js → schema-1j43e8h9.js} +20 -20
- package/dist/chunks/{managed-policy-bqb67z36.js → schema-1x37w07y.js} +17 -17
- package/dist/chunks/{managed-policy-33w4ejhs.js → schema-1ygqh575.js} +6 -6
- package/dist/chunks/{managed-policy-jqjzdtvy.js → schema-1z8bakdw.js} +11 -11
- package/dist/chunks/{managed-policy-df8jaf6d.js → schema-1zf23djs.js} +4 -4
- package/dist/chunks/{managed-policy-k08ezkqp.js → schema-21z0btgx.js} +8 -8
- package/dist/chunks/{managed-policy-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-e4vaeb0t.js → schema-2aajs87z.js} +26 -26
- package/dist/chunks/{managed-policy-t9zqd86n.js → schema-2s93m5wx.js} +24 -24
- package/dist/chunks/{managed-policy-c10q7bwq.js → schema-2ty9snxt.js} +23 -23
- package/dist/chunks/{managed-policy-wq3m38jw.js → schema-34tsw91e.js} +15 -15
- package/dist/chunks/schema-35668my4.js +26 -0
- package/dist/chunks/{managed-policy-tekbgh3x.js → schema-3757zhg2.js} +10 -10
- package/dist/chunks/{managed-policy-p1yfc9a8.js → schema-398sja33.js} +22 -22
- package/dist/chunks/{managed-policy-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-wxj2pshp.js → schema-3jqk5x8p.js} +69 -69
- package/dist/chunks/{managed-policy-pt0zkbkz.js → schema-3k1ktder.js} +4 -4
- package/dist/chunks/{managed-policy-nf65gqd5.js → schema-3rjzkyns.js} +16 -16
- package/dist/chunks/{managed-policy-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-3zbwexce.js → schema-3zbwexce.js} +3 -3
- package/dist/chunks/{managed-policy-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-dm99yka6.js → schema-461mwfvs.js} +32 -32
- package/dist/chunks/{managed-policy-4ts7tf6z.js → schema-4ts7tf6z.js} +2 -2
- package/dist/chunks/{managed-policy-n9axn9y3.js → schema-4xxxtaen.js} +8 -8
- package/dist/chunks/{managed-policy-4hh2xy14.js → schema-4ytb3748.js} +3 -3
- package/dist/chunks/{managed-policy-r94pvvab.js → schema-54ma36ye.js} +4 -4
- package/dist/chunks/{managed-policy-j7v3c1ew.js → schema-55m450pe.js} +11 -11
- package/dist/chunks/{managed-policy-5md23d48.js → schema-5ccwcxf7.js} +14 -14
- package/dist/chunks/{managed-policy-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-enpcsfks.js → schema-5f5fdjjg.js} +33 -33
- package/dist/chunks/{managed-policy-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-89c57hn9.js → schema-5xbqt2y0.js} +22 -22
- package/dist/chunks/{managed-policy-ncj4p4na.js → schema-5zeh3nq2.js} +45 -45
- package/dist/chunks/{managed-policy-9jrdkbpa.js → schema-609c7rjf.js} +8 -8
- package/dist/chunks/{managed-policy-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-4q8xb7vk.js → schema-66f72jf0.js} +24 -24
- package/dist/chunks/{managed-policy-py9kw9tn.js → schema-6je3rcen.js} +16 -16
- package/dist/chunks/{managed-policy-k8k12ca3.js → schema-6p0hs1pc.js} +13 -13
- package/dist/chunks/{managed-policy-vsbamy9h.js → schema-6v4rkqn9.js} +20 -20
- package/dist/chunks/{managed-policy-6xb47vfp.js → schema-6xb47vfp.js} +1 -1
- package/dist/chunks/{managed-policy-dryhn22b.js → schema-6xg4x7p4.js} +27 -27
- package/dist/chunks/{managed-policy-71az546q.js → schema-71az546q.js} +2 -2
- package/dist/chunks/{managed-policy-nhnhrcwq.js → schema-71v7metp.js} +27 -27
- package/dist/chunks/{managed-policy-03qxw8pz.js → schema-785emzww.js} +20 -20
- package/dist/chunks/{managed-policy-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-qgn6gcr1.js → schema-7dqw4kz8.js} +5 -5
- package/dist/chunks/{managed-policy-8s59b704.js → schema-7gewva0j.js} +3 -3
- package/dist/chunks/{managed-policy-zgww0ypy.js → schema-7k951zm2.js} +11 -11
- package/dist/chunks/{managed-policy-txzjavxp.js → schema-7nfz7vry.js} +6 -6
- package/dist/chunks/{managed-policy-xs81jx4r.js → schema-7vv0vsc5.js} +10 -10
- package/dist/chunks/{managed-policy-psy48106.js → schema-84c5kt73.js} +4 -4
- package/dist/chunks/{managed-policy-955wy3qr.js → schema-892k6z1j.js} +11 -11
- package/dist/chunks/{managed-policy-4c2df9zx.js → schema-89bb6baa.js} +8 -8
- package/dist/chunks/{managed-policy-m64xvjj1.js → schema-89vjf07m.js} +5 -5
- package/dist/chunks/{managed-policy-6m3tp8mj.js → schema-8c6aeth0.js} +29 -29
- package/dist/chunks/{managed-policy-9dgpp9cn.js → schema-8d5nx7er.js} +183 -183
- package/dist/chunks/{managed-policy-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-y2x5y4w5.js → schema-8gn32dwp.js} +87 -87
- package/dist/chunks/{managed-policy-zggnq27k.js → schema-8j43q005.js} +7 -7
- package/dist/chunks/{managed-policy-d8ck81wr.js → schema-8xgppe8x.js} +8 -8
- package/dist/chunks/{managed-policy-9e5bzkjp.js → schema-9e5bzkjp.js} +3 -3
- package/dist/chunks/{managed-policy-hspec0h6.js → schema-9gjfbdts.js} +26 -26
- package/dist/chunks/{managed-policy-thxbv41p.js → schema-9kwc633n.js} +21 -21
- package/dist/chunks/{managed-policy-1epzdntc.js → schema-9swdtjav.js} +11 -11
- package/dist/chunks/{managed-policy-fqtvmpfq.js → schema-9y0w708y.js} +8 -8
- package/dist/chunks/{managed-policy-zy43x3f1.js → schema-a3c7ahw6.js} +4 -4
- package/dist/chunks/{managed-policy-02wmet1s.js → schema-a8rjsjfn.js} +25 -25
- package/dist/chunks/{managed-policy-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-2b2w1tdt.js → schema-aczmxqpc.js} +8 -8
- package/dist/chunks/{managed-policy-d8mxbdrt.js → schema-aff3a7hd.js} +19 -19
- package/dist/chunks/{managed-policy-acnatzrp.js → schema-an2v7pwn.js} +4 -4
- package/dist/chunks/{managed-policy-pkqb68ka.js → schema-as7cf5zz.js} +4 -4
- package/dist/chunks/{managed-policy-x49sb692.js → schema-ate656c3.js} +11 -11
- package/dist/chunks/{managed-policy-0eb613mk.js → schema-ayqs46pg.js} +20 -20
- package/dist/chunks/schema-ayx7vafe.js +507 -0
- package/dist/chunks/{managed-policy-qygbw77c.js → schema-b3f8fkhc.js} +5 -5
- package/dist/chunks/{managed-policy-h07qkwg0.js → schema-b5pm0qd4.js} +8 -8
- package/dist/chunks/{managed-policy-wxyynt4w.js → schema-b69jv39p.js} +1 -1
- package/dist/chunks/{managed-policy-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-yp4vs6at.js → schema-b7a8j68b.js} +8 -8
- package/dist/chunks/{managed-policy-g8ytx0e6.js → schema-bdpzzc2x.js} +11 -11
- package/dist/chunks/{managed-policy-kf13yp2f.js → schema-bv266yyp.js} +7 -7
- package/dist/chunks/{managed-policy-xsjbfs7s.js → schema-bvbtfhva.js} +12 -12
- package/dist/chunks/{managed-policy-1rjc8rx3.js → schema-bw8pdnvy.js} +23 -23
- package/dist/chunks/{managed-policy-pyfrz2yp.js → schema-c81ezzqg.js} +11 -11
- package/dist/chunks/{managed-policy-kqjv8prj.js → schema-c8k34h4t.js} +19 -19
- package/dist/chunks/{managed-policy-cavr175a.js → schema-cavr175a.js} +1 -1
- package/dist/chunks/{managed-policy-rkprpv83.js → schema-cfsekr6v.js} +2 -2
- package/dist/chunks/{managed-policy-4awagc8g.js → schema-cjw2sxyz.js} +54 -54
- package/dist/chunks/{managed-policy-zam9eh49.js → schema-cnnankxx.js} +10 -10
- package/dist/chunks/{managed-policy-dbc1qc54.js → schema-czxrm6cp.js} +15 -15
- package/dist/chunks/{managed-policy-e8vwfchq.js → schema-d8mep6qx.js} +6 -6
- package/dist/chunks/{managed-policy-5qwkxp89.js → schema-de52ckkz.js} +4 -4
- package/dist/chunks/{managed-policy-zs5zztja.js → schema-df0ykk77.js} +9 -9
- package/dist/chunks/{managed-policy-weagkh0e.js → schema-dnxygc0x.js} +9 -9
- package/dist/chunks/{managed-policy-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{managed-policy-721zw7bm.js → schema-dr6jkw1e.js} +33 -33
- package/dist/chunks/{managed-policy-xmvy0rzp.js → schema-drda7tq8.js} +33 -33
- package/dist/chunks/{managed-policy-459mc33k.js → schema-dtmn9m2k.js} +22 -22
- package/dist/chunks/schema-dxj72tfx.js +18 -0
- package/dist/chunks/{managed-policy-ct2a7kbt.js → schema-e3gj9zxp.js} +45 -45
- package/dist/chunks/{managed-policy-dnge0aqq.js → schema-e7kdnfv2.js} +35 -35
- package/dist/chunks/{managed-policy-dzh8x6fa.js → schema-e8v72fmy.js} +17 -17
- package/dist/chunks/{managed-policy-93hnm8e8.js → schema-e98kd4sq.js} +30 -30
- package/dist/chunks/{managed-policy-qqcbs79k.js → schema-ecpsh8rg.js} +3 -3
- package/dist/chunks/{managed-policy-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-eq1pz5kg.js → schema-eq1pz5kg.js} +1 -1
- package/dist/chunks/{managed-policy-c9863qqk.js → schema-espr1ah5.js} +5 -5
- package/dist/chunks/{managed-policy-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-2ysad2y1.js → schema-f2030xt1.js} +36 -32
- package/dist/chunks/{managed-policy-ms8a7pq0.js → schema-f5gz5swa.js} +14 -14
- package/dist/chunks/{managed-policy-abx012e0.js → schema-f6zdzjx0.js} +51 -51
- package/dist/chunks/{managed-policy-csdd969s.js → schema-f7m4gqsr.js} +31 -31
- package/dist/chunks/{managed-policy-1rw4rg9z.js → schema-fbhsdg98.js} +40 -40
- package/dist/chunks/{managed-policy-jmhp3g8p.js → schema-fe7qsfpk.js} +15 -15
- package/dist/chunks/{managed-policy-vsywyjzm.js → schema-fhh3yeyh.js} +24 -24
- package/dist/chunks/{managed-policy-qvreyy9g.js → schema-fhz5gfgy.js} +5 -5
- package/dist/chunks/{managed-policy-a2zd3k2n.js → schema-fjb35128.js} +46 -46
- package/dist/chunks/{managed-policy-d9gc1nmt.js → schema-fk3men0g.js} +35 -35
- package/dist/chunks/{managed-policy-vvmfhg21.js → schema-fkhfs56y.js} +28 -28
- package/dist/chunks/{managed-policy-sz0fczdy.js → schema-fq9618wy.js} +6 -6
- package/dist/chunks/{managed-policy-azks30c4.js → schema-g4ec7k1p.js} +21 -21
- package/dist/chunks/{managed-policy-drwq78ky.js → schema-g5w8qwbj.js} +4 -4
- package/dist/chunks/{managed-policy-x9xhcyxb.js → schema-g8j2n5ph.js} +9 -9
- package/dist/chunks/{managed-policy-kmgavk04.js → schema-ga0tfepk.js} +3 -3
- package/dist/chunks/{managed-policy-kc20gndt.js → schema-ga67qtkk.js} +16 -16
- package/dist/chunks/{managed-policy-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-eq6gwms1.js → schema-ggdj6b59.js} +20 -20
- package/dist/chunks/{managed-policy-5snyeemy.js → schema-ghpd4fr7.js} +34 -34
- package/dist/chunks/{managed-policy-9hwaqfsw.js → schema-gj71zhbs.js} +5 -5
- package/dist/chunks/{managed-policy-9x8tc8sp.js → schema-gtmvshrw.js} +11 -11
- package/dist/chunks/{managed-policy-e315ch6h.js → schema-gwm757wf.js} +17 -17
- package/dist/chunks/{managed-policy-fzrjnfb3.js → schema-gzh3bm7x.js} +5 -5
- package/dist/chunks/{managed-policy-h2b79v29.js → schema-h2b79v29.js} +2 -2
- package/dist/chunks/{managed-policy-chss3y4s.js → schema-h52xp8p4.js} +10 -7
- package/dist/chunks/{managed-policy-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-p4qmxczc.js → schema-he39p88c.js} +12 -12
- package/dist/chunks/{managed-policy-v0es1rhs.js → schema-hg3614cy.js} +9 -9
- package/dist/chunks/{managed-policy-9web0d32.js → schema-hj5fbf02.js} +9 -9
- package/dist/chunks/{managed-policy-78ymhwc6.js → schema-hmv4j20b.js} +11 -11
- package/dist/chunks/{managed-policy-w7066q4p.js → schema-hvywv52v.js} +5 -5
- package/dist/chunks/{managed-policy-ckgc4dc5.js → schema-j129swd2.js} +15 -15
- package/dist/chunks/{managed-policy-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-91wpvk88.js → schema-j75c4hzg.js} +25 -25
- package/dist/chunks/{managed-policy-0ge1h6kx.js → schema-jba7mbpp.js} +5 -5
- package/dist/chunks/{managed-policy-2qx31yc6.js → schema-jyxk3ed8.js} +18 -18
- package/dist/chunks/{managed-policy-5tcm9639.js → schema-k70p9jzb.js} +9 -9
- package/dist/chunks/{managed-policy-w973dr2w.js → schema-kbm049ab.js} +13 -13
- package/dist/chunks/{managed-policy-a3fmd72w.js → schema-kcn8d4wf.js} +10 -10
- package/dist/chunks/{managed-policy-xkhn0stb.js → schema-kg6ewcnz.js} +5 -5
- package/dist/chunks/{managed-policy-d8kjn5t6.js → schema-kjhtpa86.js} +3 -3
- package/dist/chunks/{managed-policy-18ztmhep.js → schema-kp7w4w0c.js} +18 -18
- package/dist/chunks/{managed-policy-sxjxh3g8.js → schema-kzsy6v0s.js} +11 -11
- package/dist/chunks/{managed-policy-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-nedqmk46.js → schema-m761qzqs.js} +12 -12
- package/dist/chunks/{managed-policy-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-db0nhp4v.js → schema-mpyv0gjv.js} +15 -15
- package/dist/chunks/{managed-policy-t6ck8tem.js → schema-msjz9fyp.js} +35 -35
- package/dist/chunks/{managed-policy-9qhqs605.js → schema-mt9f3aka.js} +26 -26
- package/dist/chunks/{managed-policy-4qqmwkqx.js → schema-mxfx3p70.js} +23 -23
- package/dist/chunks/{managed-policy-gqtdsdt7.js → schema-mxvxcxwy.js} +4 -4
- package/dist/chunks/{managed-policy-zt43srwq.js → schema-mygtg7h0.js} +22 -22
- package/dist/chunks/{managed-policy-2qqgyr6a.js → schema-n3q2c8vm.js} +22 -22
- package/dist/chunks/{managed-policy-2kea3y2w.js → schema-nhzfetse.js} +13 -13
- package/dist/chunks/{managed-policy-g4my6z3y.js → schema-nqee14cx.js} +15 -15
- package/dist/chunks/{managed-policy-bkwdfw9d.js → schema-nsjtt5er.js} +23 -23
- package/dist/chunks/{managed-policy-g0445xdp.js → schema-p37cw4rj.js} +8 -8
- package/dist/chunks/{managed-policy-dnt2jfde.js → schema-p7f50jp2.js} +10 -10
- package/dist/chunks/{managed-policy-d3y08a9a.js → schema-pgb4114y.js} +6 -6
- package/dist/chunks/{managed-policy-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-xvdg8f15.js → schema-pkdmza6n.js} +5 -5
- package/dist/chunks/{managed-policy-hmgnztse.js → schema-pkn3rqad.js} +18 -18
- package/dist/chunks/{managed-policy-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-gws45dxs.js → schema-pkqfn6w5.js} +10 -10
- package/dist/chunks/{managed-policy-y0mc46pw.js → schema-pnkbpv6t.js} +9 -9
- package/dist/chunks/{managed-policy-r9w3djhf.js → schema-prq7hedt.js} +9 -9
- package/dist/chunks/{managed-policy-jw2zym28.js → schema-pt6d7ckw.js} +14 -14
- package/dist/chunks/{managed-policy-06yeazan.js → schema-pvxscb8w.js} +1 -1
- package/dist/chunks/{managed-policy-q0xm7vwc.js → schema-q0xm7vwc.js} +2 -2
- package/dist/chunks/{managed-policy-q335xte2.js → schema-q7cgqs0q.js} +26 -26
- package/dist/chunks/{managed-policy-nkcpd5b2.js → schema-qdgd7pts.js} +34 -34
- package/dist/chunks/{managed-policy-zxyy8bfe.js → schema-qj8bvm0v.js} +57 -57
- package/dist/chunks/{managed-policy-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{managed-policy-145xw1zc.js → schema-qnpbp7f6.js} +3 -3
- package/dist/chunks/{managed-policy-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-zjxbxdfv.js → schema-qsmpxerm.js} +12 -12
- package/dist/chunks/{managed-policy-xyafkbt0.js → schema-qxjc9qry.js} +3 -3
- package/dist/chunks/{managed-policy-qmqgtz8f.js → schema-r2m716tb.js} +9 -9
- package/dist/chunks/{managed-policy-g17w5wg1.js → schema-r3q6pmcz.js} +6 -6
- package/dist/chunks/{managed-policy-6gvgb8cz.js → schema-r51ygcfp.js} +46 -45
- package/dist/chunks/{managed-policy-e2p1qpzc.js → schema-rb8mch2y.js} +31 -31
- package/dist/chunks/{managed-policy-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-wv396vej.js → schema-rhjbct0v.js} +8 -8
- package/dist/chunks/{managed-policy-w677k9fj.js → schema-rhms3hdd.js} +16 -16
- package/dist/chunks/{managed-policy-r9d9xsbb.js → schema-rhxwzm2w.js} +32 -32
- package/dist/chunks/{managed-policy-j1rkkxtq.js → schema-rjt6kdv6.js} +11 -11
- package/dist/chunks/{managed-policy-qqrjxc2w.js → schema-rttzrg3r.js} +12 -12
- package/dist/chunks/{managed-policy-65jde4my.js → schema-rxsn8x9d.js} +21 -21
- package/dist/chunks/{managed-policy-k7y67xhs.js → schema-ry4cmxgm.js} +10 -10
- package/dist/chunks/{managed-policy-6xn9vhwr.js → schema-rypd5ndp.js} +2 -2
- package/dist/chunks/{managed-policy-t2fc4mz5.js → schema-ryr25ayn.js} +4 -4
- package/dist/chunks/{managed-policy-ykty1417.js → schema-s0yv6qk4.js} +11 -11
- package/dist/chunks/{managed-policy-qwz8cpda.js → schema-sbdntvmw.js} +25 -25
- package/dist/chunks/{managed-policy-ss358qx3.js → schema-sd9a6snf.js} +3 -3
- package/dist/chunks/{managed-policy-63db42yp.js → schema-sdsbj08z.js} +2 -2
- package/dist/chunks/{managed-policy-wy8gm8jj.js → schema-shny27f7.js} +38 -38
- package/dist/chunks/{managed-policy-phtj4jat.js → schema-skzfdnfe.js} +5 -5
- package/dist/chunks/{managed-policy-zjb991y7.js → schema-srdpzyxc.js} +10 -10
- package/dist/chunks/{managed-policy-t1ettrb7.js → schema-sy8hwy21.js} +15 -15
- package/dist/chunks/{managed-policy-ckf8nxjz.js → schema-t7n9q6bq.js} +4 -4
- package/dist/chunks/{managed-policy-4j20dbk1.js → schema-taw4b7j9.js} +17 -17
- package/dist/chunks/{managed-policy-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-eqkxs06z.js → schema-tcay1cqt.js} +6 -6
- package/dist/chunks/{managed-policy-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{managed-policy-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-gear7qnb.js → schema-tg9q7e94.js} +48 -48
- package/dist/chunks/{managed-policy-7a12vqq0.js → schema-th268h5n.js} +21 -21
- package/dist/chunks/{managed-policy-j5rxtxht.js → schema-tjedn1bk.js} +4 -4
- package/dist/chunks/{managed-policy-975ebawg.js → schema-tqk33c0s.js} +3 -3
- package/dist/chunks/{managed-policy-dw835dm2.js → schema-tra9m5aj.js} +39 -39
- package/dist/chunks/{managed-policy-k34ckbn9.js → schema-tz8q98pd.js} +3 -3
- package/dist/chunks/{managed-policy-8xkqg01v.js → schema-v3cgeczt.js} +3 -3
- package/dist/chunks/{managed-policy-x8v70qwz.js → schema-vejndnrc.js} +19 -19
- package/dist/chunks/{managed-policy-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-k15k6vrr.js → schema-vjmmbq9h.js} +88 -88
- package/dist/chunks/{managed-policy-k0w7mqt4.js → schema-vmx43xs3.js} +15 -15
- package/dist/chunks/{managed-policy-exstxen9.js → schema-vtt0yr3x.js} +13 -13
- package/dist/chunks/{managed-policy-29garr4v.js → schema-vwk1vad2.js} +1 -1
- package/dist/chunks/{managed-policy-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-w1eejvng.js → schema-w1eejvng.js} +1 -1
- package/dist/chunks/{managed-policy-w39jehkq.js → schema-w39jehkq.js} +2 -2
- package/dist/chunks/{managed-policy-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{managed-policy-3mentpw2.js → schema-w65mgvd1.js} +26 -26
- package/dist/chunks/{managed-policy-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-yj382vm2.js → schema-wdhp2wqx.js} +18 -18
- package/dist/chunks/{managed-policy-6ba3xpax.js → schema-wrqwmc22.js} +36 -36
- package/dist/chunks/{managed-policy-ty7z4jb0.js → schema-x0m3x8cn.js} +43 -43
- package/dist/chunks/{managed-policy-89nr6wfj.js → schema-x68tzkrm.js} +11 -11
- package/dist/chunks/{managed-policy-d6qjz85w.js → schema-x9300pb6.js} +15 -15
- package/dist/chunks/{managed-policy-r3d0j56v.js → schema-xb9ezq08.js} +26 -26
- package/dist/chunks/{managed-policy-vzfpntg8.js → schema-xgam4qj3.js} +29 -29
- package/dist/chunks/{managed-policy-xkntkrq7.js → schema-xkntkrq7.js} +2 -2
- package/dist/chunks/{managed-policy-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-5dpktnqk.js → schema-y3739sk3.js} +4 -4
- package/dist/chunks/{managed-policy-b15vkqsx.js → schema-y5k41zqf.js} +10 -10
- package/dist/chunks/{managed-policy-5j1v3jqf.js → schema-y5t28hz6.js} +30 -30
- package/dist/chunks/{managed-policy-fw3mavjd.js → schema-y730841x.js} +24 -24
- package/dist/chunks/{managed-policy-46v0s1hp.js → schema-yk45h2rs.js} +15 -15
- package/dist/chunks/{managed-policy-119h30qy.js → schema-yk5nserk.js} +4 -4
- package/dist/chunks/{managed-policy-dq17f564.js → schema-ykjpaak5.js} +15 -15
- package/dist/chunks/{managed-policy-gw7cjrad.js → schema-yrcj3v3g.js} +4 -4
- package/dist/chunks/schema-ywtmtjc3.js +253 -0
- package/dist/chunks/{managed-policy-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-7avdme9t.js → schema-z2nx0y2v.js} +10 -10
- package/dist/chunks/{managed-policy-npkdjxyy.js → schema-z71avzk1.js} +27 -27
- package/dist/chunks/{managed-policy-t1xnf4e5.js → schema-z8x71xh1.js} +5 -5
- package/dist/chunks/{managed-policy-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-xe69web5.js → schema-zw122828.js} +34 -34
- package/dist/chunks/{managed-policy-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- 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 +363 -363
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- 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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +103 -101
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +114 -114
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +87 -87
- 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 +128 -128
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- 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 +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/model.d.ts +1 -0
- 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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- 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/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 +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/managed-policy-619r8v3y.js +0 -18
- package/dist/chunks/managed-policy-ewksh3kr.js +0 -26
- package/dist/chunks/managed-policy-shrpyp41.js +0 -253
- package/dist/chunks/managed-policy-y5760nfk.js +0 -507
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3t0ybcrp.js → schema-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID17,
|
|
3
|
+
Info29,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-sd9a6snf.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-tqk33c0s.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service82,
|
|
16
16
|
node86
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-y3739sk3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service78,
|
|
20
|
+
node82
|
|
21
|
+
} from "./schema-tra9m5aj.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service48,
|
|
24
|
+
node50
|
|
25
|
+
} from "./schema-tcay1cqt.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-9e5bzkjp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node49
|
|
34
|
+
} from "./schema-1x37w07y.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./schema-as7cf5zz.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./schema-nqee14cx.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node32
|
|
47
|
+
} from "./schema-rhms3hdd.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node72
|
|
51
|
+
} from "./schema-p7f50jp2.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
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 "./schema-d8mep6qx.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service63,
|
|
68
|
+
node66
|
|
69
|
+
} from "./schema-he39p88c.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service80,
|
|
72
|
+
node84
|
|
73
|
+
} from "./schema-ga67qtkk.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service44,
|
|
76
|
+
node47
|
|
77
|
+
} from "./schema-ghpd4fr7.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./schema-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service34,
|
|
83
|
+
node37
|
|
84
|
+
} from "./schema-9swdtjav.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./schema-3rjzkyns.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./schema-aczmxqpc.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service49,
|
|
93
|
+
node51
|
|
94
|
+
} from "./schema-0jm58kyp.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service28,
|
|
100
|
+
node31
|
|
101
|
+
} from "./schema-cjw2sxyz.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service54,
|
|
104
|
+
node56
|
|
105
|
+
} from "./schema-89bb6baa.js";
|
|
106
106
|
import {
|
|
107
107
|
make15
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./schema-rb8mch2y.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./schema-21z0btgx.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./schema-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: () => ID17,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info29,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service27,
|
|
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: () => node30
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput5;
|
|
152
|
-
class
|
|
152
|
+
class Service27 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service27, 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* Service82;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service78;
|
|
160
|
+
const execution = yield* Service44;
|
|
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*
|
|
162
|
+
const transport = yield* Service34;
|
|
163
|
+
const store = yield* Service63;
|
|
164
|
+
const instances = yield* Service48;
|
|
165
|
+
const moves = yield* Service28;
|
|
166
|
+
const jobs = yield* Service80;
|
|
167
|
+
const environments = yield* Service54;
|
|
168
|
+
const locations = yield* Service49;
|
|
169
169
|
const sessions = yield* make15();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service27.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(Service24, 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 NotFoundError9({ 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(Service24, 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(Service48, 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(Service48, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node30 = Node.makeGlobalNode({
|
|
331
|
+
service: Service27,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node84,
|
|
335
|
+
node56,
|
|
336
336
|
node88,
|
|
337
337
|
node86,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node82,
|
|
339
|
+
node47,
|
|
340
|
+
node37,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node66,
|
|
343
|
+
node50,
|
|
344
|
+
node49,
|
|
345
|
+
node31,
|
|
346
|
+
node32,
|
|
347
|
+
node51,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node72
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service27, node30, exports_session };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-sd9a6snf.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-d8mep6qx.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-rhjbct0v.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./schema-as7cf5zz.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./schema-yrcj3v3g.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./schema-0brrbz7a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./schema-y730841x.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service22,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./schema-kbm049ab.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./schema-x9300pb6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service61
|
|
17
|
+
} from "./schema-qj8bvm0v.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service16,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-pkn3rqad.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
33
|
Input: () => Input10,
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Output: () => Output6,
|
|
35
|
+
Plugin: () => Plugin47,
|
|
36
36
|
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -50,7 +50,7 @@ var Input10 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output6 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin47 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service16;
|
|
110
|
+
const fileMutation = yield* Service22;
|
|
111
|
+
const environment = yield* Service58;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
|
+
const location = yield* Service77;
|
|
114
|
+
const permission = yield* Service61;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
116
|
name: name10,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
119
|
input: Input10,
|
|
120
|
-
output:
|
|
120
|
+
output: Output6,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin13 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export { name10, Input10,
|
|
197
|
+
export { name10, Input10, Output6, Plugin47, exports_edit };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node83
|
|
6
|
+
} from "./schema-rttzrg3r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./schema-0brrbz7a.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make13
|
|
16
|
+
} from "./schema-609c7rjf.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service19,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node22
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ 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 Service19 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service77;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make13;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service19.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node22 = makeLocationNode({
|
|
61
|
+
service: Service19,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node81, Global.node, node83, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service19, node22, exports_strategies };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service34,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node37
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service34.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node37 = makeGlobalNode({ service: Service34, layer: layer13, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service34, makeLayer2, layer13, node37, exports_model_transport };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service65,
|
|
10
|
+
node: () => node68
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service65 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service65.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service65, node68, exports_hooks };
|