@opencode/core 0.0.0-dev-19299 → 0.0.0-dev-19301
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 +75 -75
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{shell-rhjbct0v.js → workspace-02nrjc1r.js} +6 -6
- package/dist/chunks/{shell-desah413.js → workspace-05dnp20b.js} +32 -32
- package/dist/chunks/{shell-jr1myxr3.js → workspace-09vseg8s.js} +24 -24
- package/dist/chunks/{shell-qag0q529.js → workspace-0caq5a2p.js} +18 -18
- package/dist/chunks/{shell-vvqxd921.js → workspace-0gqt70p3.js} +6 -6
- package/dist/chunks/{shell-18fyhaqr.js → workspace-0n965jn0.js} +31 -31
- package/dist/chunks/{shell-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-jap5vfbs.js → workspace-0zxft7wv.js} +10 -10
- package/dist/chunks/{shell-fad7jthp.js → workspace-1235z6h5.js} +11 -11
- package/dist/chunks/{shell-8ed5dapv.js → workspace-14encp35.js} +9 -9
- package/dist/chunks/{shell-r8xr0va3.js → workspace-1acjjqhc.js} +4 -4
- package/dist/chunks/{shell-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-0hpxrkyb.js → workspace-1dfhrqqs.js} +5 -5
- package/dist/chunks/{shell-89216gat.js → workspace-1q7njqr8.js} +8 -8
- package/dist/chunks/{shell-tvs8yzpc.js → workspace-1xx3n8by.js} +8 -8
- package/dist/chunks/{shell-21r38tys.js → workspace-21r38tys.js} +1 -1
- package/dist/chunks/{shell-6k2bypnf.js → workspace-22ncyhda.js} +15 -15
- package/dist/chunks/{shell-2402vzrj.js → workspace-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-hteb4sy5.js → workspace-285sk89s.js} +11 -11
- package/dist/chunks/{shell-c902c3h9.js → workspace-29zqcttt.js} +26 -26
- package/dist/chunks/{shell-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-6ersrjne.js → workspace-2jmaghvr.js} +6 -6
- package/dist/chunks/{shell-2k8khapm.js → workspace-2k8khapm.js} +1 -1
- package/dist/chunks/{shell-x270dfa1.js → workspace-2mfnacv9.js} +16 -16
- package/dist/chunks/{shell-zjvxgrfz.js → workspace-2r2a59vh.js} +15 -15
- package/dist/chunks/{shell-swc0pkqs.js → workspace-2rc0x19k.js} +9 -9
- package/dist/chunks/{shell-ptwhs400.js → workspace-39atg463.js} +23 -23
- package/dist/chunks/{shell-c8zh40b9.js → workspace-39yd8fs4.js} +41 -41
- package/dist/chunks/{shell-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-xdpfkwez.js → workspace-3m5pm5bg.js} +38 -38
- package/dist/chunks/{shell-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-gq0a9pv7.js → workspace-3tejw0k5.js} +13 -13
- package/dist/chunks/{shell-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-ewxvpahx.js → workspace-3xztec2w.js} +11 -11
- package/dist/chunks/{shell-mrd03y1j.js → workspace-4407emfp.js} +9 -9
- package/dist/chunks/{shell-bc9tah8j.js → workspace-481njsdn.js} +8 -8
- package/dist/chunks/{shell-20qr1f9s.js → workspace-4a1gzb1y.js} +16 -16
- package/dist/chunks/{shell-fkwrhsf7.js → workspace-4gwv5f10.js} +18 -18
- package/dist/chunks/{shell-2qab6ga2.js → workspace-4tyka3qy.js} +11 -11
- package/dist/chunks/{shell-rg4s5c95.js → workspace-512qfn16.js} +27 -27
- package/dist/chunks/{shell-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
- package/dist/chunks/{shell-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-pqqxfvch.js → workspace-5v3se96a.js} +11 -11
- package/dist/chunks/{shell-vzepkry7.js → workspace-62852zzh.js} +17 -17
- package/dist/chunks/{shell-z69s9t6b.js → workspace-62jy5cfr.js} +5 -5
- package/dist/chunks/{shell-ktqk9wm9.js → workspace-63bg78v6.js} +12 -12
- package/dist/chunks/{shell-m27pyyd3.js → workspace-63c29q5z.js} +8 -8
- package/dist/chunks/{shell-669tq793.js → workspace-669tq793.js} +1 -1
- package/dist/chunks/{shell-2hhhp258.js → workspace-6a1qkqw7.js} +15 -15
- package/dist/chunks/{shell-dkkztdya.js → workspace-6drwn6fk.js} +17 -17
- package/dist/chunks/{shell-9rh7p80v.js → workspace-6fqz5w64.js} +27 -27
- package/dist/chunks/{shell-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-h2r7bbkd.js → workspace-6n88yxkj.js} +8 -8
- package/dist/chunks/workspace-6pjhpf77.js +247 -0
- package/dist/chunks/{shell-ky97rf12.js → workspace-6prxjdtq.js} +10 -10
- package/dist/chunks/{shell-71q4at8m.js → workspace-71q4at8m.js} +1 -1
- package/dist/chunks/{shell-0v877kr8.js → workspace-71q4fb3j.js} +5 -5
- package/dist/chunks/{shell-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-xdh3xy78.js → workspace-7e5s0f2g.js} +6 -6
- package/dist/chunks/{shell-bcn7gkrj.js → workspace-7gh5mp13.js} +6 -6
- package/dist/chunks/{shell-sn3acatt.js → workspace-7xdajtbq.js} +13 -13
- package/dist/chunks/{shell-y5mrfvw4.js → workspace-81swgkk7.js} +9 -9
- package/dist/chunks/{shell-h9y0se6r.js → workspace-8734049b.js} +10 -10
- package/dist/chunks/{shell-r19qme2h.js → workspace-886z29pe.js} +8 -8
- package/dist/chunks/{shell-tcezcvh9.js → workspace-89znhe33.js} +4 -4
- package/dist/chunks/{shell-vmhtgab3.js → workspace-8cc7t6mx.js} +9 -9
- package/dist/chunks/{shell-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-zw6cm767.js → workspace-8qdvcyb6.js} +41 -41
- package/dist/chunks/{shell-bhct745e.js → workspace-8zz46eww.js} +17 -17
- package/dist/chunks/{shell-n76fdqym.js → workspace-90h7kwk9.js} +5 -5
- package/dist/chunks/{shell-70y17xeh.js → workspace-92azg307.js} +5 -5
- package/dist/chunks/{shell-va26gyj7.js → workspace-92t0khks.js} +39 -39
- package/dist/chunks/{shell-6fpr2q13.js → workspace-99tbqkcw.js} +10 -10
- package/dist/chunks/{shell-js0rm7nb.js → workspace-9e47yq11.js} +8 -8
- package/dist/chunks/{shell-54jgwn9b.js → workspace-9jdakqgh.js} +12 -12
- package/dist/chunks/{shell-hb21382w.js → workspace-9y444b6v.js} +4 -4
- package/dist/chunks/{shell-tfngb0ww.js → workspace-a0z4fccy.js} +4 -4
- package/dist/chunks/{shell-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-b4jn3br6.js → workspace-a78x0tqp.js} +17 -17
- package/dist/chunks/{shell-a76t9a7s.js → workspace-a9trz7xg.js} +9 -9
- package/dist/chunks/{shell-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-fgh0kbhd.js → workspace-aan3cyfv.js} +1 -1
- package/dist/chunks/{shell-e42zg7c9.js → workspace-am5y2yzp.js} +33 -33
- package/dist/chunks/{shell-7y1qfq25.js → workspace-an5gm3yx.js} +1 -1
- package/dist/chunks/{shell-y46htk8f.js → workspace-b2wfqz6v.js} +30 -30
- package/dist/chunks/{shell-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-qw53xxyx.js → workspace-bcatesge.js} +41 -41
- package/dist/chunks/{shell-tcaz1bq6.js → workspace-bjk09qw6.js} +11 -11
- package/dist/chunks/{shell-5ayyaxsv.js → workspace-bm3b3xby.js} +30 -30
- package/dist/chunks/{shell-d21bwxkq.js → workspace-bsdhcv6e.js} +32 -32
- package/dist/chunks/{shell-gj9xpvv3.js → workspace-bv56xrks.js} +6 -6
- package/dist/chunks/{shell-r0z2gdxb.js → workspace-bzg1m3qp.js} +8 -8
- package/dist/chunks/{shell-qka0hr3t.js → workspace-bzzbqws7.js} +5 -5
- package/dist/chunks/{shell-b6rw8h1c.js → workspace-c09967vq.js} +17 -17
- package/dist/chunks/{shell-v4wpewe9.js → workspace-c0zax72k.js} +32 -32
- package/dist/chunks/{shell-r80v4heq.js → workspace-ca6ew4kd.js} +14 -14
- package/dist/chunks/{shell-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-ke6544fm.js → workspace-cmssp0z9.js} +35 -35
- package/dist/chunks/{shell-zj136r52.js → workspace-cy127xek.js} +18 -18
- package/dist/chunks/{shell-7gvwkz6m.js → workspace-d2aac7k2.js} +5 -5
- package/dist/chunks/{shell-18e56dsp.js → workspace-d8nc1xcx.js} +4 -4
- package/dist/chunks/{shell-138zhwcg.js → workspace-d9sn21bc.js} +2 -2
- package/dist/chunks/{shell-g3nea3nn.js → workspace-dcbt4rr2.js} +28 -28
- package/dist/chunks/{shell-cmwkp3r5.js → workspace-dgj0dq1g.js} +8 -8
- package/dist/chunks/{shell-amyzqp92.js → workspace-dh49hrje.js} +4 -4
- package/dist/chunks/{shell-rpsff8a5.js → workspace-dmjeafns.js} +6 -6
- package/dist/chunks/{shell-jm9tsfw3.js → workspace-dszepm9d.js} +5 -5
- package/dist/chunks/{shell-h9gpzc29.js → workspace-e21tmfke.js} +13 -13
- package/dist/chunks/{shell-3a20re4p.js → workspace-e2crwazr.js} +15 -15
- package/dist/chunks/{shell-994aemam.js → workspace-e6451bx7.js} +22 -22
- package/dist/chunks/{shell-05w1n024.js → workspace-echv63h4.js} +10 -10
- package/dist/chunks/{shell-pmmw8deh.js → workspace-egfwjd08.js} +52 -52
- package/dist/chunks/{shell-63w78ebd.js → workspace-ep66wy90.js} +46 -46
- package/dist/chunks/{shell-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-f828m53h.js → workspace-f828m53h.js} +2 -2
- package/dist/chunks/{shell-hx84msds.js → workspace-f99k44yv.js} +3 -3
- package/dist/chunks/{shell-q59nfae1.js → workspace-f9qrme3f.js} +19 -19
- package/dist/chunks/{shell-k16ay38w.js → workspace-fb6ja2y4.js} +1 -1
- package/dist/chunks/{shell-sd7yc29c.js → workspace-fjbrq6mf.js} +11 -11
- package/dist/chunks/{shell-5f9fjpvd.js → workspace-fqghg761.js} +20 -20
- package/dist/chunks/{shell-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-cq37gk0t.js → workspace-fxqygnfa.js} +4 -4
- package/dist/chunks/{shell-b97hqjkq.js → workspace-fyjrpq2n.js} +8 -8
- package/dist/chunks/{shell-rtathh62.js → workspace-g1sb636y.js} +5 -5
- package/dist/chunks/{shell-z0kp0xfc.js → workspace-g22wb2pz.js} +4 -4
- package/dist/chunks/{shell-8pmkjsch.js → workspace-g43tytty.js} +15 -15
- package/dist/chunks/{shell-83nz3y93.js → workspace-g8475x4p.js} +10 -10
- package/dist/chunks/{shell-706y5kzp.js → workspace-g9s9j6xv.js} +24 -24
- package/dist/chunks/workspace-gap4xn4b.js +22 -0
- package/dist/chunks/{shell-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-x6n2md0c.js → workspace-gdpvacec.js} +4 -4
- package/dist/chunks/{shell-hvy5aax6.js → workspace-gh7n1bng.js} +13 -13
- package/dist/chunks/{shell-9f3htfzg.js → workspace-gj7hzhw3.js} +11 -11
- package/dist/chunks/{shell-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
- package/dist/chunks/{shell-cpk6j284.js → workspace-gxjpzw3n.js} +9 -9
- package/dist/chunks/{shell-zkhy8a1w.js → workspace-gxwzr3wg.js} +10 -10
- package/dist/chunks/{shell-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
- package/dist/chunks/{shell-ek4n1jkk.js → workspace-h26gkp4s.js} +9 -9
- package/dist/chunks/{shell-xmkt8jmy.js → workspace-h2nqgc31.js} +11 -11
- package/dist/chunks/{shell-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-96yt6zt0.js → workspace-hggyschk.js} +1 -1
- package/dist/chunks/{shell-43k15f45.js → workspace-hhvjvf8g.js} +4 -4
- package/dist/chunks/{shell-nhy5jxhy.js → workspace-hjt4xg1x.js} +4 -4
- package/dist/chunks/{shell-41kyjx1y.js → workspace-hn51r0q8.js} +6 -6
- package/dist/chunks/{shell-e2hjzebn.js → workspace-hn57h045.js} +4 -4
- package/dist/chunks/{shell-jv01nqvq.js → workspace-hnr5yq9h.js} +5 -5
- package/dist/chunks/{shell-xn4a1s6b.js → workspace-hpzydpnx.js} +2 -2
- package/dist/chunks/{shell-1awm1f41.js → workspace-hs7fbk9e.js} +12 -12
- package/dist/chunks/{shell-k1qcad96.js → workspace-j2vje5f9.js} +34 -34
- package/dist/chunks/{shell-bx7eg4z0.js → workspace-j3mqfpt8.js} +47 -47
- package/dist/chunks/{shell-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-qc6f3j7a.js → workspace-j6c7mg19.js} +5 -5
- package/dist/chunks/{shell-q19p4fn9.js → workspace-j7wq2tw5.js} +3 -3
- package/dist/chunks/{shell-x940zq77.js → workspace-jefma2gq.js} +10 -10
- package/dist/chunks/{shell-srpeewqc.js → workspace-jzcb5zg9.js} +9 -9
- package/dist/chunks/{shell-0rjzv2qt.js → workspace-jzh89m9h.js} +17 -17
- package/dist/chunks/{shell-jw80jp6b.js → workspace-k2h4r4s0.js} +4 -4
- package/dist/chunks/{shell-a08t2777.js → workspace-k2v8w9sh.js} +11 -11
- package/dist/chunks/{shell-9se2kd1x.js → workspace-k8g0aq43.js} +20 -20
- package/dist/chunks/{shell-fr8908f4.js → workspace-k9k0s8f0.js} +16 -16
- package/dist/chunks/{shell-kg06axw8.js → workspace-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-3m73xpkh.js → workspace-kg892g7f.js} +33 -33
- package/dist/chunks/{shell-5nkpcfwc.js → workspace-kq1a8t9t.js} +25 -25
- package/dist/chunks/{shell-jh9n7czd.js → workspace-m8j1vn7p.js} +15 -15
- package/dist/chunks/{shell-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-b22s170t.js → workspace-mhte6216.js} +20 -20
- package/dist/chunks/{shell-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
- package/dist/chunks/{shell-97wsckqb.js → workspace-mp5h4hzc.js} +24 -24
- package/dist/chunks/{shell-jw31rss3.js → workspace-mwkcp274.js} +26 -26
- package/dist/chunks/{shell-zcp935tq.js → workspace-n0g6fzce.js} +13 -13
- package/dist/chunks/{shell-cxmnv656.js → workspace-n5atw2w8.js} +4 -4
- package/dist/chunks/{shell-56v372ka.js → workspace-njna6xd1.js} +24 -24
- package/dist/chunks/{shell-p422xgpw.js → workspace-np51q5jj.js} +41 -41
- package/dist/chunks/{shell-qrgq40sn.js → workspace-nr02nn09.js} +9 -9
- package/dist/chunks/{shell-fygdb7h7.js → workspace-ns261efr.js} +3 -3
- package/dist/chunks/{shell-25m32m9c.js → workspace-nxpjh8w5.js} +21 -21
- package/dist/chunks/{shell-s79t7y84.js → workspace-p0xsckgp.js} +6 -6
- package/dist/chunks/{shell-b0qfk3e8.js → workspace-p16wwb4c.js} +15 -15
- package/dist/chunks/{shell-jzban73a.js → workspace-p37kmksf.js} +23 -23
- package/dist/chunks/{shell-rsdf2nvv.js → workspace-paegk39x.js} +4 -4
- package/dist/chunks/{shell-2ehqxkpw.js → workspace-pbrpfg1g.js} +12 -12
- package/dist/chunks/{shell-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{shell-0v53mg2y.js → workspace-pmr4s4kc.js} +4 -4
- package/dist/chunks/{shell-kzr6x06e.js → workspace-q5xvhvda.js} +6 -6
- package/dist/chunks/{shell-e7szzkhd.js → workspace-q5zg4735.js} +7 -7
- package/dist/chunks/{shell-aptkcqzk.js → workspace-q80jwr34.js} +41 -41
- package/dist/chunks/{shell-h6kmz9yd.js → workspace-q9jmjakx.js} +169 -169
- package/dist/chunks/{shell-qa3qhgw8.js → workspace-qa3qhgw8.js} +1 -1
- package/dist/chunks/{shell-fwwk8vbp.js → workspace-qa4rp7fn.js} +9 -9
- package/dist/chunks/{shell-x7cz8gr1.js → workspace-qavvsbzn.js} +22 -22
- package/dist/chunks/{shell-6d22mmhm.js → workspace-qdyrhweq.js} +11 -11
- package/dist/chunks/{shell-ygvd8b8c.js → workspace-qgdc71e1.js} +3 -3
- package/dist/chunks/{shell-b57s6jwk.js → workspace-qr3d7yj6.js} +32 -32
- package/dist/chunks/{shell-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-2vc21b52.js → workspace-qy5sepm7.js} +6 -6
- package/dist/chunks/{shell-ksz0h0wp.js → workspace-r0vgb2sm.js} +1 -1
- package/dist/chunks/{shell-hz8qtd9r.js → workspace-r3fv6v1m.js} +24 -24
- package/dist/chunks/{shell-ejnnja69.js → workspace-r533rs18.js} +10 -10
- package/dist/chunks/{shell-j028xdjb.js → workspace-r5x6zcsm.js} +3 -3
- package/dist/chunks/{shell-rap9a73h.js → workspace-rap9a73h.js} +1 -1
- package/dist/chunks/{shell-9y2ew1rf.js → workspace-rkqzecgv.js} +30 -30
- package/dist/chunks/{shell-7jw46hp1.js → workspace-rn192n82.js} +28 -28
- package/dist/chunks/{shell-emmyw7mw.js → workspace-rtnzfgta.js} +57 -57
- package/dist/chunks/{shell-c4tw6aft.js → workspace-rvrc2w8n.js} +20 -20
- package/dist/chunks/{shell-wqak0vb9.js → workspace-rxemfqdb.js} +27 -27
- package/dist/chunks/{shell-618mw38d.js → workspace-rzr2835t.js} +9 -9
- package/dist/chunks/{shell-w4t3nk4h.js → workspace-s9039swt.js} +34 -34
- package/dist/chunks/{shell-f8q7mv7a.js → workspace-sczgc2a3.js} +1 -1
- package/dist/chunks/{shell-ve0vypz6.js → workspace-sh3bgw0e.js} +16 -16
- package/dist/chunks/{shell-00xsej0j.js → workspace-snqjhxtt.js} +11 -11
- package/dist/chunks/{shell-vyqn3nqs.js → workspace-spt9fbav.js} +6 -6
- package/dist/chunks/{shell-vsqc0n3y.js → workspace-t0grjbht.js} +14 -14
- package/dist/chunks/{shell-zhxw6mnd.js → workspace-t7bagm3w.js} +2 -2
- package/dist/chunks/{shell-tmf5q148.js → workspace-t8f5a5hy.js} +7 -7
- package/dist/chunks/{shell-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-p2cyn4p5.js → workspace-tdn6ycjd.js} +288 -288
- package/dist/chunks/{shell-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{shell-aqxxzgb1.js → workspace-thrcthqp.js} +9 -9
- package/dist/chunks/{shell-10d00zpt.js → workspace-tjabks10.js} +21 -21
- package/dist/chunks/{shell-dj9sq318.js → workspace-tn0aqsam.js} +5 -5
- package/dist/chunks/{shell-zakbxfw5.js → workspace-tq5h294s.js} +18 -18
- package/dist/chunks/{shell-tvtrv512.js → workspace-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-t0x5rdq8.js → workspace-twy35tz0.js} +9 -9
- package/dist/chunks/{shell-7tc1bkdm.js → workspace-tx10d39y.js} +24 -24
- package/dist/chunks/{shell-4b7zwk5x.js → workspace-v9v77gq9.js} +15 -15
- package/dist/chunks/{shell-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-tettmk12.js → workspace-vg3c0nsb.js} +8 -8
- package/dist/chunks/{shell-n2cfwsx3.js → workspace-vh8m22te.js} +46 -46
- package/dist/chunks/{shell-0pkbjn6r.js → workspace-vmjwh0y2.js} +24 -24
- package/dist/chunks/{shell-yxfce51e.js → workspace-vt4mzp30.js} +18 -18
- package/dist/chunks/{shell-e9pvhpj1.js → workspace-vxpjwrg1.js} +33 -33
- package/dist/chunks/{shell-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-m3ncy77r.js → workspace-w12rp218.js} +6 -6
- package/dist/chunks/{shell-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wx9wy1qm.js → workspace-w79zsp0s.js} +1 -1
- package/dist/chunks/{shell-zr0pwyem.js → workspace-wb6pntek.js} +16 -16
- package/dist/chunks/{shell-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{shell-jygyrd66.js → workspace-wdby5any.js} +4 -4
- package/dist/chunks/{shell-tx48azwr.js → workspace-we7qc7n1.js} +35 -35
- package/dist/chunks/{shell-dmvjrdjg.js → workspace-wgdttpnq.js} +15 -15
- package/dist/chunks/{shell-fv6yey1z.js → workspace-wgnb6efq.js} +10 -10
- package/dist/chunks/{shell-y03df9yv.js → workspace-wjycmk11.js} +7 -7
- package/dist/chunks/{shell-dsst23xf.js → workspace-wpm2rk0p.js} +8 -8
- package/dist/chunks/{shell-f0hazdnn.js → workspace-wsg88bk6.js} +76 -76
- package/dist/chunks/{shell-7yef7cvy.js → workspace-wtcjs487.js} +11 -11
- package/dist/chunks/{shell-gccfn8rw.js → workspace-x0tn6qwv.js} +26 -26
- package/dist/chunks/{shell-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
- package/dist/chunks/{shell-fccy21eq.js → workspace-xaz800th.js} +25 -25
- package/dist/chunks/{shell-6hh53734.js → workspace-xekzrwwc.js} +9 -9
- package/dist/chunks/{shell-r9babyk8.js → workspace-xep7y6dg.js} +1 -1
- package/dist/chunks/{shell-x6cmkhdm.js → workspace-xgp3syj5.js} +4 -4
- package/dist/chunks/{shell-2tjgwr1s.js → workspace-xgy598e9.js} +35 -35
- package/dist/chunks/{shell-7z6sde0c.js → workspace-xn9fr5jd.js} +26 -26
- package/dist/chunks/{shell-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-t0gs96tb.js → workspace-y3wj6ntt.js} +11 -11
- package/dist/chunks/{shell-fpq9acqp.js → workspace-y5j69yad.js} +6 -6
- package/dist/chunks/{shell-dpkg50ah.js → workspace-y71avatq.js} +4 -4
- package/dist/chunks/{shell-ftdj6rwn.js → workspace-y8pp3er9.js} +20 -20
- package/dist/chunks/{shell-r4am0p4d.js → workspace-ypfgjb30.js} +22 -22
- package/dist/chunks/{shell-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-yrznvahk.js → workspace-yrznvahk.js} +2 -2
- package/dist/chunks/{shell-zxegzph2.js → workspace-ys0mtxyj.js} +23 -23
- package/dist/chunks/{shell-t8jgb82e.js → workspace-ys6344d6.js} +11 -11
- package/dist/chunks/{shell-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-z63w68vq.js → workspace-z63w68vq.js} +2 -2
- package/dist/chunks/{shell-2a9rpc71.js → workspace-z72x676g.js} +82 -82
- package/dist/chunks/{shell-yy1a830f.js → workspace-zbcg40zh.js} +11 -11
- package/dist/chunks/{shell-gv1gd9by.js → workspace-ze0f0baa.js} +25 -25
- package/dist/chunks/{shell-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-v03gdzqm.js → workspace-zg6etqwm.js} +20 -20
- package/dist/chunks/{shell-2qfg8d7s.js → workspace-zgshgwpw.js} +16 -16
- package/dist/chunks/{shell-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- 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 +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +125 -125
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- 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 +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- 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 +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +145 -145
- 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 +213 -213
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +81 -81
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- 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 +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/shell-9cbfsecp.js +0 -247
- package/dist/chunks/shell-ya8xe20p.js +0 -22
- /package/dist/chunks/{shell-0mesazry.js → workspace-0mesazry.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → workspace-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-paphc93g.js → workspace-paphc93g.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → workspace-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./workspace-09vseg8s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-7xdajtbq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service17
|
|
11
|
+
} from "./workspace-wgdttpnq.js";
|
|
12
12
|
import {
|
|
13
13
|
Service65
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-q80jwr34.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./workspace-6a1qkqw7.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input10,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin28,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name10,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name10 = "write";
|
|
39
|
+
var Input10 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin28 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service74;
|
|
58
|
+
const formatter = yield* Service17;
|
|
59
59
|
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input10,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name10, Input10, Output7, toModelContent5, Plugin28, exports_write };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-g22wb2pz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service61,
|
|
8
|
+
node65
|
|
9
|
+
} from "./workspace-bm3b3xby.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./workspace-29zqcttt.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event8,
|
|
34
|
+
ID: () => ID4,
|
|
35
|
+
Info: () => Info8,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service46,
|
|
43
|
+
node: () => node50
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event8 } from "@opencode/schema/integration";
|
|
65
|
+
var ID4 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info8 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service46 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service61;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info8.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service46.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node50 = makeLocationNode({
|
|
569
|
+
service: Service46,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node65, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID4, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info8, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service46, node50, exports_integration, Event8 };
|
|
@@ -1,116 +1,116 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-f99k44yv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-g22wb2pz.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./workspace-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMessageTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./workspace-a1bz86dw.js";
|
|
15
15
|
import {
|
|
16
16
|
prepare4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-fxqygnfa.js";
|
|
18
18
|
import {
|
|
19
19
|
llmClient2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./workspace-5t3nmthw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessage2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-gftt206x.js";
|
|
24
24
|
import {
|
|
25
25
|
StepFailedError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-w12rp218.js";
|
|
27
27
|
import {
|
|
28
28
|
provenance2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-paegk39x.js";
|
|
30
30
|
import {
|
|
31
31
|
decodeMessageRow2,
|
|
32
32
|
preview2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-886z29pe.js";
|
|
34
34
|
import {
|
|
35
35
|
Service67,
|
|
36
36
|
node71
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./workspace-vg3c0nsb.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
Service29,
|
|
40
|
+
node34
|
|
41
|
+
} from "./workspace-1235z6h5.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./workspace-05dnp20b.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
make6
|
|
47
|
+
} from "./workspace-dmjeafns.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service6,
|
|
50
|
+
node9
|
|
51
|
+
} from "./workspace-qavvsbzn.js";
|
|
52
52
|
import {
|
|
53
53
|
Service23,
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
54
|
+
node28
|
|
55
|
+
} from "./workspace-wsg88bk6.js";
|
|
56
56
|
import {
|
|
57
57
|
serialized2,
|
|
58
58
|
nextPromotable2,
|
|
59
59
|
promote2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./workspace-mp5h4hzc.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
62
|
+
Service2,
|
|
63
63
|
isUntitled2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node3
|
|
65
|
+
} from "./workspace-tjabks10.js";
|
|
66
66
|
import {
|
|
67
67
|
DrainResult2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
Service38
|
|
69
|
+
} from "./workspace-hn57h045.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
71
|
+
node54
|
|
72
|
+
} from "./workspace-bsdhcv6e.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
74
|
+
node59
|
|
75
|
+
} from "./workspace-9jdakqgh.js";
|
|
76
76
|
import {
|
|
77
77
|
Outcome2,
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
make3
|
|
79
|
+
} from "./workspace-y8pp3er9.js";
|
|
80
80
|
import {
|
|
81
81
|
Service33
|
|
82
|
-
} from "./
|
|
82
|
+
} from "./workspace-rap9a73h.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
84
|
+
node21
|
|
85
|
+
} from "./workspace-bjk09qw6.js";
|
|
86
86
|
import {
|
|
87
87
|
MAX_STEPS_PROMPT2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./workspace-y44na4kk.js";
|
|
89
89
|
import {
|
|
90
90
|
__export
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./workspace-9rqn6x4v.js";
|
|
92
92
|
|
|
93
93
|
// src/session/runner/llm.ts
|
|
94
94
|
var exports_llm = {};
|
|
95
95
|
__export(exports_llm, {
|
|
96
96
|
SessionRunnerLLM: () => exports_llm,
|
|
97
|
-
node: () =>
|
|
97
|
+
node: () => node2
|
|
98
98
|
});
|
|
99
99
|
import { Message } from "@opencode/ai";
|
|
100
100
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
101
101
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
102
102
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
103
103
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service79;
|
|
106
106
|
const store = yield* Service67;
|
|
107
107
|
const context = yield* Service23;
|
|
108
|
-
const modelTransport = yield*
|
|
108
|
+
const modelTransport = yield* Service29;
|
|
109
109
|
const db = (yield* Service80).db;
|
|
110
|
-
const compaction = yield*
|
|
110
|
+
const compaction = yield* Service6;
|
|
111
111
|
const plugins = yield* Service33;
|
|
112
|
-
const title = yield*
|
|
113
|
-
const steps = yield*
|
|
112
|
+
const title = yield* Service2;
|
|
113
|
+
const steps = yield* make3;
|
|
114
114
|
const titles = yield* FiberMap.make();
|
|
115
115
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
116
116
|
const sessionID = input.sessionID;
|
|
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
231
231
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
232
232
|
const sessionID = first.session.id;
|
|
233
233
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
234
|
-
const retry = yield*
|
|
234
|
+
const retry = yield* make6(bus, sessionID);
|
|
235
235
|
let initial = first;
|
|
236
236
|
let recoverOverflow = true;
|
|
237
237
|
let recoverContinuation = true;
|
|
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
return
|
|
354
|
+
return Service38.of({ drain });
|
|
355
355
|
}));
|
|
356
|
-
var
|
|
357
|
-
service:
|
|
356
|
+
var node2 = makeLocationNode({
|
|
357
|
+
service: Service38,
|
|
358
358
|
layer,
|
|
359
359
|
deps: [
|
|
360
360
|
node84,
|
|
361
361
|
llmClient2,
|
|
362
|
-
|
|
363
|
-
|
|
362
|
+
node28,
|
|
363
|
+
node34,
|
|
364
364
|
node71,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
365
|
+
node9,
|
|
366
|
+
node21,
|
|
367
|
+
node3,
|
|
368
|
+
node54,
|
|
369
|
+
node59,
|
|
370
370
|
node85
|
|
371
371
|
]
|
|
372
372
|
});
|
|
373
373
|
|
|
374
|
-
export {
|
|
374
|
+
export { node2, exports_llm };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-g22wb2pz.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-02nrjc1r.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./workspace-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./workspace-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
30
|
+
Service: () => Service34,
|
|
31
31
|
configured: () => configured5,
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node38
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,8 +41,8 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options5 = Schema.Struct({
|
|
@@ -50,9 +50,9 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service34 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make20({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service34.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -106,12 +106,12 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
106
106
|
}));
|
|
107
107
|
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service34,
|
|
110
|
+
layer: layer15(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node38 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options5, Service34, layer15, configured5, node38, exports_instruction_discovery };
|