@opencode/core 2.0.18 → 2.0.20
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{config-yr87qc76.js → credential-01764t6m.js} +11 -11
- package/dist/chunks/{config-ppzgkaaq.js → credential-0ap57xmb.js} +11 -11
- package/dist/chunks/{config-zem25z6r.js → credential-0m7nkzkh.js} +8 -8
- package/dist/chunks/{config-0paq2nw3.js → credential-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-ps3c5a77.js → credential-0y2g8rq0.js} +28 -28
- package/dist/chunks/{config-119mbqs2.js → credential-17xqc022.js} +17 -17
- package/dist/chunks/{config-gk47d069.js → credential-1aavndqb.js} +11 -11
- package/dist/chunks/{config-1dazxqgg.js → credential-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-rp9m4jyb.js → credential-1hnfrh0d.js} +35 -31
- package/dist/chunks/{config-smj4rr9q.js → credential-1kkkrqff.js} +28 -28
- package/dist/chunks/{config-c716n2s3.js → credential-1qkzpzzz.js} +25 -25
- package/dist/chunks/{config-k1qb6em6.js → credential-1r1tv6v0.js} +10 -10
- package/dist/chunks/{config-21r38tys.js → credential-21r38tys.js} +1 -1
- package/dist/chunks/{config-2a5m3afh.js → credential-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-cpfpew26.js → credential-2dwnk97h.js} +18 -18
- package/dist/chunks/{config-mfj0244x.js → credential-2exk30js.js} +5 -5
- package/dist/chunks/{config-j7k7jnd5.js → credential-2z5bkz89.js} +43 -43
- package/dist/chunks/{config-pd1wrm5b.js → credential-30g65q41.js} +16 -16
- package/dist/chunks/{config-g18vhjxx.js → credential-30men631.js} +24 -24
- package/dist/chunks/{config-n6p4knm7.js → credential-320xhtpp.js} +10 -10
- package/dist/chunks/{config-7h7s3rmt.js → credential-32ymn5e1.js} +10 -17
- package/dist/chunks/{config-7b474h0v.js → credential-34vw7f1n.js} +18 -18
- package/dist/chunks/{config-569zmx9y.js → credential-35vy03by.js} +17 -17
- package/dist/chunks/{config-f390r7qs.js → credential-37axwcy6.js} +57 -35
- package/dist/chunks/{config-2k53mjpq.js → credential-3c8vhndt.js} +8 -8
- package/dist/chunks/{config-q9s91avz.js → credential-3ev070rc.js} +16 -16
- package/dist/chunks/{config-3fc6dm20.js → credential-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-7x4zjys8.js → credential-3g99d3pg.js} +6 -6
- package/dist/chunks/{config-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → credential-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → credential-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-z3pw5915.js → credential-3w2b2yj4.js} +5 -5
- package/dist/chunks/{config-3zsf4n22.js → credential-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-b2s03exd.js → credential-49dxcv90.js} +29 -29
- package/dist/chunks/{config-1rn5pcm9.js → credential-4j4tgtq5.js} +4 -4
- package/dist/chunks/{config-jshcwjky.js → credential-4mdx2368.js} +9 -9
- package/dist/chunks/{config-fk189pyz.js → credential-4pk2n38q.js} +25 -25
- package/dist/chunks/{config-nfc98c1n.js → credential-4tbg5pgg.js} +4 -4
- package/dist/chunks/credential-4v7qdvcn.js +18 -0
- package/dist/chunks/credential-54ma36ye.js +13 -0
- package/dist/chunks/{config-54tcyq79.js → credential-54tcyq79.js} +2 -2
- package/dist/chunks/{config-57ez7d0k.js → credential-57ez7d0k.js} +2 -2
- package/dist/chunks/{config-5daktx2q.js → credential-5daktx2q.js} +1 -1
- package/dist/chunks/{config-5zdms79f.js → credential-5gg7jdww.js} +11 -29
- package/dist/chunks/{config-vvzwpmq1.js → credential-5hxyj64z.js} +12 -12
- package/dist/chunks/{config-e3qxr5gk.js → credential-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-5t3nmthw.js → credential-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-ec87pa6m.js → credential-5te2f5xw.js} +35 -35
- package/dist/chunks/{config-54k57k4f.js → credential-63fq9d04.js} +11 -11
- package/dist/chunks/{config-scce0sjb.js → credential-6582e1zf.js} +29 -11
- package/dist/chunks/{config-669tq793.js → credential-669tq793.js} +1 -1
- package/dist/chunks/{config-j494hfxr.js → credential-67hdgqhw.js} +23 -23
- package/dist/chunks/{config-d9ymz6xc.js → credential-69vgqr14.js} +24 -19
- package/dist/chunks/{config-89e39zcy.js → credential-6ersrjne.js} +6 -6
- package/dist/chunks/{config-eny9hzm2.js → credential-6fmzyh88.js} +41 -38
- package/dist/chunks/{config-6msgmcgs.js → credential-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-vtnt34eh.js → credential-6n174ycw.js} +13 -13
- package/dist/chunks/{config-k35dwc4g.js → credential-6pqttx51.js} +3 -3
- package/dist/chunks/{config-8f36rj9w.js → credential-6vhy8yb4.js} +32 -32
- package/dist/chunks/{config-tp6xq29j.js → credential-6wqdzgpe.js} +11 -11
- package/dist/chunks/{config-nrp9mwhy.js → credential-6yvxz189.js} +18 -18
- package/dist/chunks/{config-fcxyj98j.js → credential-76832g3x.js} +16 -16
- package/dist/chunks/{config-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-2k8khapm.js → credential-7dqw4kz8.js} +5 -5
- package/dist/chunks/{config-48y8hbvk.js → credential-7j45yeqe.js} +22 -22
- package/dist/chunks/{config-crj6ha2h.js → credential-7mpr3p1f.js} +11 -11
- package/dist/chunks/{config-ym52mge9.js → credential-7pmn0fht.js} +22 -22
- package/dist/chunks/{config-7nwbzwwg.js → credential-7svg9qyr.js} +3 -3
- package/dist/chunks/{config-ba07h9gm.js → credential-7w99qc9d.js} +3 -3
- package/dist/chunks/{config-xg3yvpnd.js → credential-7x29ec5h.js} +5 -5
- package/dist/chunks/{config-vyrd71eq.js → credential-818pfwc9.js} +11 -11
- package/dist/chunks/{config-6h73sxmp.js → credential-84txncab.js} +6 -6
- package/dist/chunks/{config-zksvc5kg.js → credential-860w7ty6.js} +4 -4
- package/dist/chunks/{config-fkch5wba.js → credential-87kvv8a5.js} +144 -36
- package/dist/chunks/{config-9dh8p3yq.js → credential-8as63f7d.js} +11 -11
- package/dist/chunks/{config-8d7r5vzw.js → credential-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-hkzp38b2.js → credential-8rsx1zec.js} +3 -3
- package/dist/chunks/{config-jpbcpdat.js → credential-8wb366f9.js} +6 -6
- package/dist/chunks/{config-s16xw6kj.js → credential-8ytcc0ez.js} +18 -18
- package/dist/chunks/{config-b7j7903f.js → credential-965ggptx.js} +12 -12
- package/dist/chunks/{config-vyy061a2.js → credential-995e57hq.js} +6 -6
- package/dist/chunks/{config-ryg0g705.js → credential-9asmjjbg.js} +8 -8
- package/dist/chunks/{config-7tpxex51.js → credential-9eq5kwq7.js} +6 -6
- package/dist/chunks/{config-1q5awywt.js → credential-9pkkzrmj.js} +5 -5
- package/dist/chunks/{config-v9bnqwg0.js → credential-9q51rf9r.js} +13 -13
- package/dist/chunks/{config-9b1g8vzp.js → credential-9v0v5k0m.js} +44 -44
- package/dist/chunks/{config-aw9tbzfk.js → credential-9ysd9rcf.js} +9 -9
- package/dist/chunks/{config-aaet6srn.js → credential-aaet6srn.js} +2 -2
- package/dist/chunks/{config-q3yb1nc4.js → credential-akwq9tj0.js} +28 -21
- package/dist/chunks/{config-gk30pdy3.js → credential-as42p2kz.js} +10 -10
- package/dist/chunks/{config-knjpra5n.js → credential-b3rzqckw.js} +24 -24
- package/dist/chunks/{config-e4qtjjxk.js → credential-b46899qp.js} +11 -11
- package/dist/chunks/{config-b6gygkdw.js → credential-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-bjtzbw4r.js → credential-bjtzbw4r.js} +3 -3
- package/dist/chunks/{config-rxswhrhz.js → credential-bkxev147.js} +9 -9
- package/dist/chunks/{config-vhejgqwc.js → credential-bnqp8nta.js} +16 -16
- package/dist/chunks/{config-2a6rn6yr.js → credential-bw9zjykr.js} +6 -6
- package/dist/chunks/{config-gh5tebn4.js → credential-c6hr400c.js} +8 -8
- package/dist/chunks/{config-kyw5qrb7.js → credential-c86te7yw.js} +9 -9
- package/dist/chunks/credential-c9ejnn61.js +252 -0
- package/dist/chunks/{config-c67r6w9a.js → credential-ca7kmppq.js} +11 -11
- package/dist/chunks/{config-73b9b00p.js → credential-ccg1mtqe.js} +31 -31
- package/dist/chunks/{config-ns9f5mpe.js → credential-cckay3nk.js} +8 -8
- package/dist/chunks/{config-ydgy0jv4.js → credential-cfm9g534.js} +8 -8
- package/dist/chunks/{config-2et2b5t1.js → credential-cjfyp86a.js} +47 -43
- package/dist/chunks/{config-ersz45vm.js → credential-cn1v2m3x.js} +8 -8
- package/dist/chunks/{config-e8eyz9xb.js → credential-cr4nqcbv.js} +11 -11
- package/dist/chunks/{config-znr04804.js → credential-ct0b5bas.js} +51 -53
- package/dist/chunks/{config-gjwgx2c5.js → credential-cwa6csj7.js} +9 -9
- package/dist/chunks/{config-mb8kb6b0.js → credential-d7srgpft.js} +9 -9
- package/dist/chunks/{config-1a6p2twq.js → credential-dfe8djrf.js} +4 -4
- package/dist/chunks/{config-2hc37sbw.js → credential-dmr0vvsc.js} +5 -5
- package/dist/chunks/{config-s72nwfj1.js → credential-dn5d15e9.js} +3 -3
- package/dist/chunks/{config-4dgbcxzg.js → credential-dnxkq42g.js} +6 -4
- package/dist/chunks/{config-y71avatq.js → credential-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-2e655exz.js → credential-drnx3qwb.js} +32 -32
- package/dist/chunks/{config-srrn7w60.js → credential-dwrr54rh.js} +26 -26
- package/dist/chunks/{config-7stqpyhf.js → credential-dzq4rv13.js} +30 -30
- package/dist/chunks/{config-76n1dez8.js → credential-e34dw6hk.js} +183 -178
- package/dist/chunks/{config-af04s6ss.js → credential-ead3g9p8.js} +5 -5
- package/dist/chunks/{config-ecfe7b91.js → credential-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-9c3np669.js → credential-eeaf82dq.js} +8 -8
- package/dist/chunks/{config-ef5x83kb.js → credential-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-g3aybqrd.js → credential-egndxt76.js} +43 -43
- package/dist/chunks/{config-h9y7vyse.js → credential-epnck8kw.js} +22 -22
- package/dist/chunks/{config-64mjhprr.js → credential-eqpt8p1k.js} +21 -21
- package/dist/chunks/{config-etq0c3wd.js → credential-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-yds56wag.js → credential-evrr6asg.js} +28 -14
- package/dist/chunks/{config-vgpkvtp0.js → credential-eyj09mx0.js} +58 -58
- package/dist/chunks/{config-dkhzmzfr.js → credential-fgashtey.js} +10 -10
- package/dist/chunks/{config-3pe7sts8.js → credential-fhs97t90.js} +9 -9
- package/dist/chunks/{config-0jq9fyba.js → credential-fwwk8vbp.js} +9 -9
- package/dist/chunks/{config-6jrj4a7s.js → credential-fx1epf7g.js} +56 -56
- package/dist/chunks/{config-e99cgfzf.js → credential-fxtkerxr.js} +17 -17
- package/dist/chunks/{config-zs6xvgsc.js → credential-fyd2dh6z.js} +13 -13
- package/dist/chunks/{config-kk00bynn.js → credential-g190xswt.js} +21 -21
- package/dist/chunks/{config-446vgdts.js → credential-g3xec8vw.js} +41 -41
- package/dist/chunks/{config-gd4qta3r.js → credential-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-gfvb90ym.js → credential-gfvb90ym.js} +2 -2
- package/dist/chunks/{config-snayvj24.js → credential-gj6q2tkf.js} +29 -29
- package/dist/chunks/{config-e661jwrm.js → credential-gqs84h8k.js} +35 -35
- package/dist/chunks/{config-gv6a8nnw.js → credential-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-yw6qsgb4.js → credential-gv83f00q.js} +24 -24
- package/dist/chunks/{config-sd0msgcy.js → credential-gxdeyq0h.js} +19 -19
- package/dist/chunks/{config-8sg23ezv.js → credential-gygscfxn.js} +4 -4
- package/dist/chunks/{config-y3bfqnys.js → credential-h6b02349.js} +7 -52
- package/dist/chunks/{config-h6vf3j39.js → credential-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-qnzd3xnt.js → credential-h8vvrgsf.js} +18 -18
- package/dist/chunks/{config-xsfszxna.js → credential-hd8vw2pw.js} +12 -10
- package/dist/chunks/{config-8pbmndb6.js → credential-hhd7x08z.js} +5 -5
- package/dist/chunks/{config-cnpz928v.js → credential-hvpdd4sy.js} +11 -11
- package/dist/chunks/{config-az9r17tx.js → credential-hw2ff0tr.js} +12 -12
- package/dist/chunks/{config-t363gy9t.js → credential-hyq1p8wb.js} +14 -14
- package/dist/chunks/{config-jkan4wa3.js → credential-hytzprz1.js} +11 -11
- package/dist/chunks/{config-j56e64zr.js → credential-j56e64zr.js} +1 -1
- package/dist/chunks/{config-3vahvevh.js → credential-j5gmcxfs.js} +23 -23
- package/dist/chunks/{config-skwjfd4r.js → credential-j6ze8jrf.js} +18 -18
- package/dist/chunks/{config-q1x6b938.js → credential-jczj3x0w.js} +27 -27
- package/dist/chunks/{config-qte5z7bc.js → credential-jv01nqvq.js} +5 -5
- package/dist/chunks/{config-6pc27hjz.js → credential-jws6fkes.js} +4 -4
- package/dist/chunks/{config-bq62zgmk.js → credential-k4sma9mx.js} +23 -23
- package/dist/chunks/{config-9qsysn39.js → credential-k553bdtw.js} +37 -37
- package/dist/chunks/{config-191v1wnc.js → credential-k8sz2zj3.js} +45 -45
- package/dist/chunks/{config-ssnwrf24.js → credential-kq6h27xz.js} +4 -4
- package/dist/chunks/{config-30xg31xn.js → credential-kr2z21pd.js} +17 -17
- package/dist/chunks/{config-fzbr8qt8.js → credential-kyh50zn5.js} +48 -48
- package/dist/chunks/{config-esq1xh3y.js → credential-m2ddg3y2.js} +19 -19
- package/dist/chunks/{config-4xsr0mw7.js → credential-m2sn03fv.js} +17 -17
- package/dist/chunks/{config-m3fdjcah.js → credential-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-pezzyds3.js → credential-m67h27zr.js} +1 -1
- package/dist/chunks/{config-g4xer9vd.js → credential-m7eh5me1.js} +12 -12
- package/dist/chunks/{config-skyvxmsg.js → credential-m9mb90fb.js} +5 -5
- package/dist/chunks/{config-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-mfqp6xfm.js → credential-mfqp6xfm.js} +2 -2
- package/dist/chunks/{config-rvtd2wnf.js → credential-mn7chjbp.js} +9 -9
- package/dist/chunks/{config-1djsvj3f.js → credential-mpf0mq91.js} +8 -8
- package/dist/chunks/{config-prtbkahx.js → credential-mr6y2ppx.js} +8 -8
- package/dist/chunks/{config-y8cm73x9.js → credential-mt8f3a05.js} +43 -49
- package/dist/chunks/{config-m7ph8gga.js → credential-myd2tyxx.js} +15 -15
- package/dist/chunks/{config-bk7jaeqh.js → credential-mzywpf3p.js} +4 -4
- package/dist/chunks/{config-t7n9q6bq.js → credential-n4r3xatb.js} +4 -4
- package/dist/chunks/{config-qwq1eq2j.js → credential-n6rh12ap.js} +7 -7
- package/dist/chunks/{config-h552mchj.js → credential-n7q661v8.js} +25 -25
- package/dist/chunks/{config-y6mhz57t.js → credential-nb9p6b26.js} +4 -4
- package/dist/chunks/{config-rtyr3d5h.js → credential-nbajkkwv.js} +45 -37
- package/dist/chunks/{config-e2skv07x.js → credential-nfr71wq7.js} +7 -7
- package/dist/chunks/{config-cmkj70ft.js → credential-nng2ktcm.js} +2 -2
- package/dist/chunks/credential-nye1dag9.js +669 -0
- package/dist/chunks/{config-k3c624dm.js → credential-nzks3jc8.js} +3 -3
- package/dist/chunks/credential-p8vfyszn.js +26 -0
- package/dist/chunks/{config-p37cw4rj.js → credential-pa8pe2x7.js} +8 -8
- package/dist/chunks/credential-phmegyhy.js +326 -0
- package/dist/chunks/{config-pjvnvgmy.js → credential-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{config-7scxvj8s.js → credential-pkt3h2b9.js} +20 -20
- package/dist/chunks/{config-5y480sgp.js → credential-pnaxc6j9.js} +8 -8
- package/dist/chunks/{config-psazpmmj.js → credential-psazpmmj.js} +2 -2
- package/dist/chunks/{config-afx4yczm.js → credential-psr41n11.js} +10 -10
- package/dist/chunks/{config-954548m7.js → credential-pv6wngh8.js} +22 -22
- package/dist/chunks/{config-s0ehs66p.js → credential-q2hsetqa.js} +19 -19
- package/dist/chunks/{config-fm2qvscf.js → credential-qa3qhgw8.js} +4 -4
- package/dist/chunks/{config-drwq78ky.js → credential-qqeeq2t9.js} +7 -7
- package/dist/chunks/{config-qsdy395h.js → credential-qsdy395h.js} +1 -1
- package/dist/chunks/{config-n48ygd7x.js → credential-qwsb95v7.js} +58 -58
- package/dist/chunks/{config-e1e12dvt.js → credential-qzd7m72z.js} +15 -21
- package/dist/chunks/{config-rhfptez1.js → credential-r2w7cvnr.js} +10 -10
- package/dist/chunks/{config-9tndjada.js → credential-r513yfhg.js} +26 -26
- package/dist/chunks/{config-zyp346xr.js → credential-r5mfbntr.js} +95 -95
- package/dist/chunks/{config-1bbkgx8g.js → credential-r5x6zcsm.js} +3 -3
- package/dist/chunks/{config-0bywbddq.js → credential-r68z10wk.js} +6 -6
- package/dist/chunks/{config-yp2x3t23.js → credential-r8xr0va3.js} +4 -4
- package/dist/chunks/{config-hs7fxsaf.js → credential-r9f2t4hr.js} +24 -24
- package/dist/chunks/{config-6g6zqj1k.js → credential-r9m8wmbv.js} +30 -30
- package/dist/chunks/{config-c738b566.js → credential-r9pqfw3c.js} +28 -28
- package/dist/chunks/{config-rdw6cm16.js → credential-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-reg6q42h.js → credential-reg6q42h.js} +2 -2
- package/dist/chunks/{config-erqh8das.js → credential-rgq9hrpw.js} +7 -7
- package/dist/chunks/{config-hbtt76ya.js → credential-rjyw1ade.js} +47 -47
- package/dist/chunks/{config-fw2v9256.js → credential-rkmmz4cx.js} +8 -8
- package/dist/chunks/{config-2zmfhp2c.js → credential-rpjgfq5s.js} +9 -9
- package/dist/chunks/{config-w3xn08qs.js → credential-rt0y70g6.js} +22 -23
- package/dist/chunks/{config-tats7t1r.js → credential-rxfap019.js} +27 -27
- package/dist/chunks/{config-mtac1b2j.js → credential-s0mc307a.js} +11 -11
- package/dist/chunks/{config-f1cyf21v.js → credential-s5e2htb3.js} +9 -9
- package/dist/chunks/{config-5m3ds5v3.js → credential-s673kgky.js} +30 -30
- package/dist/chunks/{config-rhjbct0v.js → credential-s8d7rejh.js} +4 -4
- package/dist/chunks/{config-zrq68ahz.js → credential-sknxvkc8.js} +31 -31
- package/dist/chunks/{config-t8025hmx.js → credential-t590yz96.js} +11 -11
- package/dist/chunks/{config-tazgh4e4.js → credential-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-89znhe33.js → credential-tcezcvh9.js} +4 -4
- package/dist/chunks/{config-csak4zkz.js → credential-tcmebnch.js} +17 -17
- package/dist/chunks/{config-tdstcens.js → credential-tdstcens.js} +1 -1
- package/dist/chunks/{config-22h6bjd1.js → credential-tjtda90p.js} +2 -2
- package/dist/chunks/{config-04zc2vp5.js → credential-tky6hxra.js} +28 -28
- package/dist/chunks/{config-kcmnw9z9.js → credential-tntb81s9.js} +25 -25
- package/dist/chunks/{config-tvtrv512.js → credential-tvtrv512.js} +1 -1
- package/dist/chunks/{config-tc1k9s7e.js → credential-tzxp8tch.js} +15 -15
- package/dist/chunks/{config-8rphz8m2.js → credential-vayd7y3p.js} +23 -5
- package/dist/chunks/{config-veqvce7d.js → credential-veqvce7d.js} +1 -1
- package/dist/chunks/{config-bamqybry.js → credential-vggwrjrt.js} +19 -19
- package/dist/chunks/{config-pfdzsptj.js → credential-vh9g9snc.js} +19 -19
- package/dist/chunks/credential-vnzfaa5x.js +65 -0
- package/dist/chunks/{config-j2eqxf48.js → credential-vpqca0z9.js} +12 -12
- package/dist/chunks/{config-rx4f2zay.js → credential-vrewfqnt.js} +1 -1
- package/dist/chunks/{config-qs9wxzz9.js → credential-vsvxbsy9.js} +107 -112
- package/dist/chunks/{config-nca7p386.js → credential-vyqn3nqs.js} +4 -4
- package/dist/chunks/{config-vzcthcp8.js → credential-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → credential-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-fyxb352w.js → credential-vzwn6bjz.js} +30 -19
- package/dist/chunks/{config-vhs69wxs.js → credential-w07vsv7f.js} +32 -32
- package/dist/chunks/{config-fj89mqte.js → credential-w27cvc4j.js} +10 -10
- package/dist/chunks/{config-wc11ar0g.js → credential-w2fmgtkz.js} +32 -32
- package/dist/chunks/{config-fv2tfa25.js → credential-w3jfy4gq.js} +11 -11
- package/dist/chunks/{config-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-fy2b1gyq.js → credential-wb1prbnq.js} +24 -24
- package/dist/chunks/{config-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{config-vaz5h5qv.js → credential-wp4r7acg.js} +46 -27
- package/dist/chunks/{config-rqzxc8xy.js → credential-ws120pvh.js} +8 -8
- package/dist/chunks/credential-wtjjgayy.js +427 -0
- package/dist/chunks/{config-817kbg2h.js → credential-x01zr8y0.js} +22 -22
- package/dist/chunks/{config-x1ezjp6w.js → credential-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-2zzff5mh.js → credential-x5fprgp4.js} +5 -5
- package/dist/chunks/{config-dmqcgk4z.js → credential-xkntkrq7.js} +5 -5
- package/dist/chunks/{config-xj0fc6en.js → credential-xn3gx34d.js} +29 -29
- package/dist/chunks/{config-8t2s61hj.js → credential-xn90480x.js} +316 -320
- package/dist/chunks/{config-t8f87mm7.js → credential-xnwfhxg1.js} +27 -27
- package/dist/chunks/{config-ss8hthz7.js → credential-xqbsjtqf.js} +15 -15
- package/dist/chunks/{config-a8npfn97.js → credential-xr72vas6.js} +6 -6
- package/dist/chunks/{config-kb6gw2zp.js → credential-xxndcd6m.js} +4 -4
- package/dist/chunks/{config-y1fvbwt7.js → credential-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-ggv4pg5y.js → credential-ybqqd820.js} +20 -20
- package/dist/chunks/{config-3e63sffq.js → credential-yf64nb4f.js} +16 -16
- package/dist/chunks/{config-yrhqyw5v.js → credential-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-s4enseaf.js → credential-yrznvahk.js} +2 -2
- package/dist/chunks/{config-05bqk399.js → credential-yspm5xbj.js} +12 -12
- package/dist/chunks/{config-sf0wnj4a.js → credential-yyk0fdyr.js} +90 -90
- package/dist/chunks/{config-z0bkrqjs.js → credential-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-8tkazwjn.js → credential-z1qbwb2j.js} +11 -11
- package/dist/chunks/{config-11jgdds2.js → credential-z41nk1d3.js} +30 -30
- package/dist/chunks/{config-29x78va6.js → credential-z63w68vq.js} +6 -6
- package/dist/chunks/{config-zeh9ct20.js → credential-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-qe76k2zv.js → credential-zkahend3.js} +6 -6
- package/dist/chunks/{config-0ft8826h.js → credential-znxzs23z.js} +7 -7
- package/dist/chunks/{config-zr2ceqn5.js → credential-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → credential-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-0xqyf95c.js → credential-zy43x3f1.js} +4 -4
- package/dist/chunks/{config-n7rkyrxw.js → credential-zyh8zg28.js} +30 -31
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -212
- package/dist/config/plugin/compaction.js +161 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +93 -93
- 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 +74 -74
- package/dist/file-access.js +104 -106
- package/dist/file-mutation.js +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +5 -3
- package/dist/integration.js +85 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -110
- package/dist/mcp/instructions.js +125 -124
- 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 +108 -108
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +104 -0
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -94
- 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 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -353
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -94
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +8 -0
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +143 -144
- package/dist/session/context.js +153 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +8 -10
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +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 +232 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -110
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +5 -117
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +221 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -127
- package/dist/tool/plugin/edit.js +120 -120
- 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 +115 -114
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +220 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/credential.d.ts +6 -1
- package/dist/types/file-access.d.ts +0 -5
- package/dist/types/git.d.ts +2 -2
- package/dist/types/instructions/builtins.d.ts +1 -2
- package/dist/types/integration/connection.d.ts +42 -0
- package/dist/types/integration.d.ts +24 -0
- package/dist/types/location-services.d.ts +0 -1
- package/dist/types/location.d.ts +1 -3
- package/dist/types/mcp/index.d.ts +0 -12
- package/dist/types/plugin/provider/chatgpt.d.ts +33 -0
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/types/project.d.ts +1 -3
- package/dist/types/pty/ticket.d.ts +2 -2
- package/dist/types/pty.d.ts +11 -6
- package/dist/types/session/affinity.d.ts +4 -0
- package/dist/types/session/compaction.d.ts +35 -55
- package/dist/types/session/diff.d.ts +1 -7
- package/dist/types/session/error.d.ts +5 -4
- package/dist/types/session/history.d.ts +48 -0
- package/dist/types/session/model-request.d.ts +5 -0
- package/dist/types/session/revert.d.ts +1 -7
- package/dist/types/session/runner/index.d.ts +2 -2
- package/dist/types/session/runner/model.d.ts +0 -12
- package/dist/types/session/runner/retry.d.ts +2 -7
- package/dist/types/session/session.d.ts +1 -7
- package/dist/types/session/transfer.d.ts +30 -0
- package/dist/types/snapshot.d.ts +2 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- 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 +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +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 +9 -14
- package/dist/chunks/config-0btnvdh1.js +0 -39
- package/dist/chunks/config-2synrjax.js +0 -326
- package/dist/chunks/config-4efk9qvj.js +0 -63
- package/dist/chunks/config-htk76k1w.js +0 -26
- package/dist/chunks/config-ph8yj3s6.js +0 -252
- package/dist/chunks/config-q3782nn3.js +0 -624
- package/dist/chunks/config-qapv375x.js +0 -4
- package/dist/chunks/config-qc068m1q.js +0 -18
- package/dist/file.js +0 -16
- package/dist/location-mutation.js +0 -118
- package/dist/plugin/compaction.js +0 -136
- package/dist/pty/schema.js +0 -6
- package/dist/types/file.d.ts +0 -9
- package/dist/types/location-mutation.d.ts +0 -3
- package/dist/types/plugin/compaction.d.ts +0 -3
- package/dist/types/pty/schema.d.ts +0 -1
- package/dist/types/util/array.d.ts +0 -1
- package/dist/types/util/process-lock-ffi.bun.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.node.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.workerd.d.ts +0 -12
- package/dist/types/util/process-lock.d.ts +0 -20
- package/dist/util/array.js +0 -12
- package/dist/util/process-lock-ffi.bun.js +0 -51
- package/dist/util/process-lock-ffi.node.js +0 -44
- package/dist/util/process-lock-ffi.workerd.js +0 -10
- package/dist/util/process-lock.js +0 -121
- /package/dist/chunks/{config-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → credential-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → credential-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → credential-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → credential-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → credential-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → credential-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → credential-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → credential-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → credential-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → credential-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -7,11 +7,29 @@ export declare const CredentialInfo: import("effect/Schema").Struct<{
|
|
|
7
7
|
};
|
|
8
8
|
readonly label: import("effect/Schema").String;
|
|
9
9
|
readonly method: import("effect/Schema").Literals<readonly ["key", "oauth"]>;
|
|
10
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
11
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
12
|
+
readonly message: import("effect/Schema").String;
|
|
13
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
14
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
15
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
16
|
+
readonly message: import("effect/Schema").String;
|
|
17
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
18
|
+
}>>, never, never>;
|
|
10
19
|
}>;
|
|
11
20
|
export type CredentialInfo = Connection.CredentialInfo;
|
|
12
21
|
export declare const EnvInfo: import("effect/Schema").Struct<{
|
|
13
22
|
readonly type: import("effect/Schema").Literal<"env">;
|
|
14
23
|
readonly name: import("effect/Schema").String;
|
|
24
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
25
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
26
|
+
readonly message: import("effect/Schema").String;
|
|
27
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
28
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
29
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
30
|
+
readonly message: import("effect/Schema").String;
|
|
31
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
32
|
+
}>>, never, never>;
|
|
15
33
|
}>;
|
|
16
34
|
export type EnvInfo = Connection.EnvInfo;
|
|
17
35
|
export declare const Info: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
@@ -21,11 +39,35 @@ export declare const Info: import("effect/Schema").Union<readonly [import("effec
|
|
|
21
39
|
};
|
|
22
40
|
readonly label: import("effect/Schema").String;
|
|
23
41
|
readonly method: import("effect/Schema").Literals<readonly ["key", "oauth"]>;
|
|
42
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
43
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
44
|
+
readonly message: import("effect/Schema").String;
|
|
45
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
46
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
47
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
48
|
+
readonly message: import("effect/Schema").String;
|
|
49
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
50
|
+
}>>, never, never>;
|
|
24
51
|
}>, import("effect/Schema").Struct<{
|
|
25
52
|
readonly type: import("effect/Schema").Literal<"env">;
|
|
26
53
|
readonly name: import("effect/Schema").String;
|
|
54
|
+
readonly status: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
55
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
56
|
+
readonly message: import("effect/Schema").String;
|
|
57
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
58
|
+
}>>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
59
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
60
|
+
readonly message: import("effect/Schema").String;
|
|
61
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
62
|
+
}>>, never, never>;
|
|
27
63
|
}>]>;
|
|
28
64
|
export type Info = Connection.Info;
|
|
65
|
+
export declare const Status: import("effect/Schema").Struct<{
|
|
66
|
+
readonly status: import("effect/Schema").Literals<readonly ["needs_auth"]>;
|
|
67
|
+
readonly message: import("effect/Schema").String;
|
|
68
|
+
readonly url: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").String>>, import("effect/Schema").optionalKey<import("effect/Schema").String>, never, never>;
|
|
69
|
+
}>;
|
|
70
|
+
export type Status = Connection.Status;
|
|
29
71
|
/** Identity of an access choice; labels and refreshed token values do not identify a new connection. */
|
|
30
72
|
export declare function key(connection: {
|
|
31
73
|
readonly type: "credential";
|
|
@@ -1502,9 +1502,27 @@ export declare const Info: Schema.Struct<{
|
|
|
1502
1502
|
};
|
|
1503
1503
|
readonly label: Schema.String;
|
|
1504
1504
|
readonly method: Schema.Literals<readonly ["key", "oauth"]>;
|
|
1505
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1506
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1507
|
+
readonly message: Schema.String;
|
|
1508
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1509
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1510
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1511
|
+
readonly message: Schema.String;
|
|
1512
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1513
|
+
}>>, never, never>;
|
|
1505
1514
|
}>, Schema.Struct<{
|
|
1506
1515
|
readonly type: Schema.Literal<"env">;
|
|
1507
1516
|
readonly name: Schema.String;
|
|
1517
|
+
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1518
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1519
|
+
readonly message: Schema.String;
|
|
1520
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1521
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1522
|
+
readonly status: Schema.Literals<readonly ["needs_auth"]>;
|
|
1523
|
+
readonly message: Schema.String;
|
|
1524
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1525
|
+
}>>, never, never>;
|
|
1508
1526
|
}>]>>;
|
|
1509
1527
|
}>;
|
|
1510
1528
|
export type Info = Integration.Info;
|
|
@@ -1676,6 +1694,12 @@ export interface Interface extends State.Transformable<Editor> {
|
|
|
1676
1694
|
readonly update: (credentialID: Credential.ID, updates: Partial<Pick<Credential.Info, "label">>) => Effect.Effect<void>;
|
|
1677
1695
|
/** Removes a stored credential connection. */
|
|
1678
1696
|
readonly remove: (credentialID: Credential.ID) => Effect.Effect<void>;
|
|
1697
|
+
/** Reports or clears a runtime problem with a connection; `get` and `list` project it onto the connection. */
|
|
1698
|
+
readonly status: (input: {
|
|
1699
|
+
readonly integrationID: ID;
|
|
1700
|
+
readonly connection: IntegrationConnection.Info;
|
|
1701
|
+
readonly status: IntegrationConnection.Status | undefined;
|
|
1702
|
+
}) => Effect.Effect<void>;
|
|
1679
1703
|
};
|
|
1680
1704
|
readonly oauth: {
|
|
1681
1705
|
/** Starts a stateful OAuth attempt. */
|
|
@@ -4,5 +4,4 @@ import { Instance } from "./instance.js";
|
|
|
4
4
|
import { LocationServiceMap } from "./location-service-map.js";
|
|
5
5
|
export { LocationServiceMap } from "./location-service-map.js";
|
|
6
6
|
export type LocationServices = Instance.Services;
|
|
7
|
-
export type LocationError = Instance.Error;
|
|
8
7
|
export declare function buildLocationServiceMap(replacements?: LayerNode.Replacements): Layer.Layer<LocationServiceMap.Service>;
|
package/dist/types/location.d.ts
CHANGED
|
@@ -11,6 +11,4 @@ declare const Service_base: Context.ServiceClass<Service, "@opencode/Location",
|
|
|
11
11
|
export declare class Service extends Service_base {
|
|
12
12
|
}
|
|
13
13
|
export declare const node: LayerNode.Node<Service, never, LayerNode.Tag<"location">>;
|
|
14
|
-
export declare const boundNode: (ref: Ref,
|
|
15
|
-
readonly discovery?: boolean;
|
|
16
|
-
}) => LayerNode.Provider<Service, never, LayerNode.Tag<"location">>;
|
|
14
|
+
export declare const boundNode: (ref: Ref) => LayerNode.Provider<Service, never, LayerNode.Tag<"location">>;
|
|
@@ -118,18 +118,6 @@ export declare const ResourceCatalog: Schema.Struct<{
|
|
|
118
118
|
}>>;
|
|
119
119
|
}>;
|
|
120
120
|
export type ResourceCatalog = Mcp.ResourceCatalog;
|
|
121
|
-
export declare const ResourceContentPart: Schema.Union<readonly [Schema.Struct<{
|
|
122
|
-
readonly type: Schema.Literal<"text">;
|
|
123
|
-
readonly uri: Schema.String;
|
|
124
|
-
readonly text: Schema.String;
|
|
125
|
-
readonly mimeType: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
126
|
-
}>, Schema.Struct<{
|
|
127
|
-
readonly type: Schema.Literal<"blob">;
|
|
128
|
-
readonly uri: Schema.String;
|
|
129
|
-
readonly blob: Schema.String;
|
|
130
|
-
readonly mimeType: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
131
|
-
}>]>;
|
|
132
|
-
export type ResourceContentPart = Mcp.ResourceContentPart;
|
|
133
121
|
export declare const ResourceContent: Schema.Struct<{
|
|
134
122
|
readonly server: Schema.String;
|
|
135
123
|
readonly uri: Schema.String;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Effect, Schema } from "effect";
|
|
2
|
+
import { HttpClient } from "effect/unstable/http";
|
|
3
|
+
import { App } from "../../app.js";
|
|
4
|
+
import { Credential } from "../../credential.js";
|
|
5
|
+
import { Bus } from "../../bus.js";
|
|
6
|
+
import { Model } from "../../model.js";
|
|
7
|
+
declare const RemoteModel: Schema.Struct<{
|
|
8
|
+
readonly slug: Schema.String;
|
|
9
|
+
readonly display_name: Schema.String;
|
|
10
|
+
readonly visibility: Schema.String;
|
|
11
|
+
readonly supported_in_api: Schema.Boolean;
|
|
12
|
+
readonly context_window: Schema.Int;
|
|
13
|
+
readonly input_modalities: Schema.$Array<Schema.String>;
|
|
14
|
+
readonly supported_reasoning_levels: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
15
|
+
readonly effort: Schema.String;
|
|
16
|
+
}>>>;
|
|
17
|
+
}>;
|
|
18
|
+
type RemoteModel = typeof RemoteModel.Type;
|
|
19
|
+
export declare const ChatGPTPlugin: import("@opencode/plugin/effect/plugin").Plugin<import("effect/Scope").Scope | HttpClient.HttpClient | Bus.Service | Credential.Service>;
|
|
20
|
+
export declare function fetchModels(token: string, app: App.Info, baseURL?: string): Effect.Effect<{
|
|
21
|
+
readonly slug: string;
|
|
22
|
+
readonly input_modalities: readonly string[];
|
|
23
|
+
readonly display_name: string;
|
|
24
|
+
readonly visibility: string;
|
|
25
|
+
readonly supported_in_api: boolean;
|
|
26
|
+
readonly context_window: number;
|
|
27
|
+
readonly supported_reasoning_levels?: readonly {
|
|
28
|
+
readonly effort: string;
|
|
29
|
+
}[] | undefined;
|
|
30
|
+
}[], Error | import("effect/unstable/http/HttpClientError").HttpClientError | Schema.SchemaError, HttpClient.HttpClient>;
|
|
31
|
+
export declare function deriveModels(remote: ReadonlyArray<RemoteModel>, existing: ReadonlyArray<Model.Info>): import("@opencode/schema/model").Info[];
|
|
32
|
+
export declare function verifyIDToken(token: string, clientID: string, nonce: string, jwksURL?: URL): Effect.Effect<void, Error, never>;
|
|
33
|
+
export {};
|
package/dist/types/project.d.ts
CHANGED
|
@@ -93,9 +93,7 @@ export interface Interface {
|
|
|
93
93
|
/** Records Project activity for recency ordering, at most once per minute per Project. */
|
|
94
94
|
readonly activate: (projectID: ID) => Effect.Effect<void>;
|
|
95
95
|
/** Resolves and persists the owning Project. */
|
|
96
|
-
readonly resolve: (input: AbsolutePath
|
|
97
|
-
readonly discovery?: boolean;
|
|
98
|
-
}) => Effect.Effect<Resolved>;
|
|
96
|
+
readonly resolve: (input: AbsolutePath) => Effect.Effect<Resolved>;
|
|
99
97
|
}
|
|
100
98
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Project", Interface>;
|
|
101
99
|
export declare class Service extends Service_base {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export * as PtyTicket from "./ticket.js";
|
|
2
2
|
import type { Workspace } from "@opencode/schema/workspace";
|
|
3
|
-
import {
|
|
3
|
+
import type { Pty } from "@opencode/schema/pty";
|
|
4
4
|
import { Context, Duration, Effect } from "effect";
|
|
5
5
|
export declare const ConnectToken: import("effect/Schema").Struct<{
|
|
6
6
|
readonly ticket: import("effect/Schema").String;
|
|
7
7
|
readonly expires_in: import("effect/Schema").Int;
|
|
8
8
|
}>;
|
|
9
9
|
export type Scope = {
|
|
10
|
-
readonly ptyID:
|
|
10
|
+
readonly ptyID: Pty.ID;
|
|
11
11
|
readonly directory?: string;
|
|
12
12
|
readonly workspaceID?: Workspace.ID;
|
|
13
13
|
};
|
package/dist/types/pty.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export * as Pty from "./pty.js";
|
|
2
2
|
import { Context, Effect, Schema, Types } from "effect";
|
|
3
|
-
import {
|
|
3
|
+
import { Pty } from "@opencode/schema/pty";
|
|
4
|
+
export declare const ID: Schema.brand<Schema.String, "PtyID"> & {
|
|
5
|
+
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
6
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"PtyID">;
|
|
7
|
+
};
|
|
8
|
+
export type ID = Pty.ID;
|
|
4
9
|
export declare const Info: Schema.Struct<{
|
|
5
10
|
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
6
11
|
create: () => string & import("effect/Brand").Brand<"PtyID">;
|
|
@@ -67,12 +72,12 @@ export declare class ExitedError extends ExitedError_base {
|
|
|
67
72
|
}
|
|
68
73
|
export interface Interface {
|
|
69
74
|
readonly list: () => Effect.Effect<Info[]>;
|
|
70
|
-
readonly get: (id:
|
|
75
|
+
readonly get: (id: ID) => Effect.Effect<Info, NotFoundError>;
|
|
71
76
|
readonly create: (input: CreateInput) => Effect.Effect<Info>;
|
|
72
|
-
readonly update: (id:
|
|
73
|
-
readonly remove: (id:
|
|
74
|
-
readonly write: (id:
|
|
75
|
-
readonly attach: (id:
|
|
77
|
+
readonly update: (id: ID, input: UpdateInput) => Effect.Effect<Info, NotFoundError>;
|
|
78
|
+
readonly remove: (id: ID) => Effect.Effect<void, NotFoundError>;
|
|
79
|
+
readonly write: (id: ID, data: string) => Effect.Effect<void, NotFoundError>;
|
|
80
|
+
readonly attach: (id: ID, input: AttachInput) => Effect.Effect<Attachment, NotFoundError | ExitedError>;
|
|
76
81
|
}
|
|
77
82
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/Pty", Interface>;
|
|
78
83
|
export declare class Service extends Service_base {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * as SessionAffinity from "./affinity.js";
|
|
2
|
+
import type { SessionSchema } from "./schema.js";
|
|
3
|
+
/** The Session ID that groups model requests for provider cache routing: children share the parent's, forks the fork source's. */
|
|
4
|
+
export declare const get: (session: Pick<SessionSchema.Info, "id" | "parentID" | "fork">) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -1,79 +1,59 @@
|
|
|
1
1
|
export * as SessionCompaction from "./compaction.js";
|
|
2
|
-
import {
|
|
3
|
-
import type {
|
|
2
|
+
import { Message } from "@opencode/ai";
|
|
3
|
+
import type { SessionError } from "@opencode/schema/session-error";
|
|
4
4
|
import { Context, Effect, Layer } from "effect";
|
|
5
5
|
import { Bus } from "../bus.js";
|
|
6
6
|
import { Database } from "../database/database.js";
|
|
7
|
+
import { State } from "../state.js";
|
|
7
8
|
import type { SessionContext } from "./context.js";
|
|
8
9
|
import type { SessionMessage } from "./message.js";
|
|
9
10
|
import { SessionModelRequest } from "./model-request.js";
|
|
10
|
-
import type { SessionRunnerModel } from "./runner/model.js";
|
|
11
|
-
import { SessionSchema } from "./schema.js";
|
|
12
|
-
import { State } from "../state.js";
|
|
13
|
-
import type { AgentNotFoundError } from "./error.js";
|
|
14
|
-
import type { Instructions } from "../instructions/index.js";
|
|
15
11
|
export type Settings = {
|
|
16
12
|
auto: boolean;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
readonly request: LLMRequest;
|
|
22
|
-
readonly options: StreamOptions;
|
|
23
|
-
/** Whole, real user messages within the retained-token allowance, for checkpoint-only mechanisms. */
|
|
24
|
-
readonly retained: Effect.Effect<ReadonlyArray<Message>>;
|
|
13
|
+
/** Tokens kept free below the model's limits before compacting. Unset keeps 10% free. */
|
|
14
|
+
buffer?: number;
|
|
15
|
+
/** Tokens of recent conversation kept verbatim beside the summary. */
|
|
16
|
+
keep: number;
|
|
25
17
|
};
|
|
26
|
-
export type NativeResult = {
|
|
27
|
-
readonly replacement: ReadonlyArray<Message>;
|
|
28
|
-
readonly usage?: Usage;
|
|
29
|
-
};
|
|
30
|
-
/** Returns the provider's replacement window, or `undefined` when this strategy has no mechanism for the route. */
|
|
31
|
-
export type NativeStrategy = (input: NativeInput) => Effect.Effect<NativeResult, AIError> | undefined;
|
|
32
18
|
export type Editor = {
|
|
33
19
|
configure: (settings: Partial<Settings>) => void;
|
|
34
|
-
/** Later registrations take precedence. */
|
|
35
|
-
native: (strategy: NativeStrategy) => void;
|
|
36
20
|
};
|
|
37
|
-
export type
|
|
21
|
+
export type Trigger =
|
|
22
|
+
/** `overflow`: the provider just rejected this context as too long. */
|
|
23
|
+
{
|
|
24
|
+
readonly reason: "auto" | "overflow";
|
|
38
25
|
readonly context: SessionContext.Loaded;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
type RequiredInput = {
|
|
44
|
-
readonly messages: readonly SessionMessage.Info[];
|
|
45
|
-
readonly resolved: SessionRunnerModel.Resolved;
|
|
26
|
+
}
|
|
27
|
+
/** `inputID` is the `/compact` inbox item, whose message shows the outcome. */
|
|
28
|
+
| {
|
|
29
|
+
readonly reason: "manual";
|
|
46
30
|
readonly context: SessionContext.Loaded;
|
|
47
|
-
};
|
|
48
|
-
export type ManualInput = {
|
|
49
|
-
readonly session: SessionSchema.Info;
|
|
50
|
-
readonly messages: readonly SessionMessage.Info[];
|
|
51
31
|
readonly inputID: SessionMessage.ID;
|
|
52
|
-
readonly started?: boolean;
|
|
53
|
-
/** Empty compaction controls do not preflight model or instruction availability. */
|
|
54
|
-
readonly resolveContext: (session: SessionSchema.Info) => Effect.Effect<SessionContext.Loaded & {
|
|
55
|
-
readonly instructionUpdate: string;
|
|
56
|
-
}, SessionRunnerModel.Error | AgentNotFoundError | Instructions.InitializationBlocked>;
|
|
57
|
-
readonly prepare: SessionModelRequest.Interface["compaction"];
|
|
58
32
|
};
|
|
59
|
-
export type Outcome =
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
33
|
+
export type Outcome =
|
|
34
|
+
/** Only `auto` skips: the context fits, or automatic compaction is off. */
|
|
35
|
+
{
|
|
36
|
+
readonly status: "skipped";
|
|
37
|
+
} | {
|
|
38
|
+
readonly status: "completed";
|
|
39
|
+
} | {
|
|
40
|
+
readonly status: "failed";
|
|
41
|
+
readonly error: SessionError.Error;
|
|
42
|
+
};
|
|
63
43
|
export interface Interface extends State.Transformable<Editor> {
|
|
64
|
-
readonly
|
|
65
|
-
readonly required: (input: RequiredInput) => boolean;
|
|
66
|
-
readonly compact: (input: AutoInput) => Effect.Effect<Outcome>;
|
|
67
|
-
readonly compactManual: (input: ManualInput) => Effect.Effect<Outcome>;
|
|
44
|
+
readonly compact: (trigger: Trigger) => Effect.Effect<Outcome>;
|
|
68
45
|
}
|
|
69
46
|
declare const Service_base: Context.ServiceClass<Service, "@opencode/SessionCompaction", Interface>;
|
|
70
47
|
export declare class Service extends Service_base {
|
|
71
48
|
}
|
|
72
|
-
export declare const estimateTokens: (input: RequiredInput) => number;
|
|
73
|
-
/** Keep whole, real user messages, never synthetic guidance or half an attachment/tool exchange. */
|
|
74
|
-
export declare const retainUsers: (messages: readonly SessionMessage.Info[], model: Pick<SessionRunnerModel.Resolved, "ref" | "capabilities">, keepTokens: number) => Message[];
|
|
75
|
-
export declare const truncateToolOutput: (value: string) => string;
|
|
76
|
-
export declare const serializeToolContent: (content: SessionMessage.ToolStateCompleted["content"]) => string;
|
|
77
49
|
export declare const buildPrompt: (update: boolean, legacy?: boolean) => string;
|
|
78
|
-
export declare const layer: Layer.Layer<Service, never, Database.Service | Bus.Service | import("@opencode/ai").LLMClientService>;
|
|
50
|
+
export declare const layer: Layer.Layer<Service, never, Database.Service | Bus.Service | import("@opencode/ai").LLMClientService | SessionModelRequest.Service>;
|
|
79
51
|
export declare const node: import("@opencode/util/effect/layer-node").Provider<Service, never, import("@opencode/util/effect/layer-node").Tag<"location">>;
|
|
52
|
+
/** The newest whole, real user messages within `keep` tokens: no synthetic guidance, no half of an attachment. */
|
|
53
|
+
export declare const recentUserMessages: (messages: ReadonlyArray<SessionMessage.Info>, model: Pick<SessionContext.Loaded["model"], "ref" | "capabilities">, keep: number) => Message[];
|
|
54
|
+
export declare const estimateContext: (context: SessionContext.Loaded) => number;
|
|
55
|
+
/** The prompt size: `measured` is what the provider reported at the latest response, `estimated` is the text since. */
|
|
56
|
+
export declare const estimatePrompt: (context: SessionContext.Loaded) => {
|
|
57
|
+
measured: number;
|
|
58
|
+
estimated: number;
|
|
59
|
+
};
|
|
@@ -39,10 +39,4 @@ export declare const turn: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
39
39
|
readonly from?: SessionMessage.ID;
|
|
40
40
|
readonly to?: SessionMessage.ID;
|
|
41
41
|
readonly context?: number;
|
|
42
|
-
}) => Effect.Effect<readonly
|
|
43
|
-
readonly file: string;
|
|
44
|
-
readonly patch: string;
|
|
45
|
-
readonly additions: number;
|
|
46
|
-
readonly deletions: number;
|
|
47
|
-
readonly status: "added" | "deleted" | "modified";
|
|
48
|
-
}[], MessageNotFoundError | Snapshot.Error | TurnRangeError, never>;
|
|
42
|
+
}) => Effect.Effect<readonly import("@opencode/schema/file-diff").Info[], MessageNotFoundError | Snapshot.Error | TurnRangeError, never>;
|
|
@@ -57,15 +57,16 @@ declare const StepFailedError_base: Schema.Class<StepFailedError, Schema.TaggedS
|
|
|
57
57
|
readonly type: Schema.String;
|
|
58
58
|
readonly message: Schema.String;
|
|
59
59
|
readonly status: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
60
|
+
readonly response: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
61
|
+
readonly body: Schema.String;
|
|
62
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
63
|
+
readonly body: Schema.String;
|
|
64
|
+
}>>, never, never>;
|
|
60
65
|
}>;
|
|
61
66
|
}>, import("effect/Cause").YieldableError>;
|
|
62
67
|
export declare class StepFailedError extends StepFailedError_base {
|
|
63
68
|
get message(): string;
|
|
64
69
|
}
|
|
65
|
-
declare const UserInterruptedError_base: Schema.Class<UserInterruptedError, Schema.TaggedStruct<"Session.UserInterruptedError", {}>, import("effect/Cause").YieldableError>;
|
|
66
|
-
export declare class UserInterruptedError extends UserInterruptedError_base {
|
|
67
|
-
get message(): string;
|
|
68
|
-
}
|
|
69
70
|
declare const PromptConflictError_base: Schema.Class<PromptConflictError, Schema.TaggedStruct<"Session.PromptConflictError", {
|
|
70
71
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
71
72
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -228,6 +228,9 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
228
228
|
readonly type: string;
|
|
229
229
|
readonly message: string;
|
|
230
230
|
readonly status?: number | undefined;
|
|
231
|
+
readonly response?: {
|
|
232
|
+
readonly body: string;
|
|
233
|
+
} | undefined;
|
|
231
234
|
};
|
|
232
235
|
readonly metadata?: {
|
|
233
236
|
readonly [x: string]: Schema.Json;
|
|
@@ -288,6 +291,9 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
288
291
|
readonly type: string;
|
|
289
292
|
readonly message: string;
|
|
290
293
|
readonly status?: number | undefined;
|
|
294
|
+
readonly response?: {
|
|
295
|
+
readonly body: string;
|
|
296
|
+
} | undefined;
|
|
291
297
|
} | undefined;
|
|
292
298
|
readonly providerState?: {
|
|
293
299
|
readonly [x: string]: unknown;
|
|
@@ -315,6 +321,9 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
315
321
|
readonly type: string;
|
|
316
322
|
readonly message: string;
|
|
317
323
|
readonly status?: number | undefined;
|
|
324
|
+
readonly response?: {
|
|
325
|
+
readonly body: string;
|
|
326
|
+
} | undefined;
|
|
318
327
|
};
|
|
319
328
|
} | undefined;
|
|
320
329
|
} | {
|
|
@@ -384,6 +393,9 @@ export declare const decodeMessageRow: (row: typeof SessionMessageTable.$inferSe
|
|
|
384
393
|
readonly type: string;
|
|
385
394
|
readonly message: string;
|
|
386
395
|
readonly status?: number | undefined;
|
|
396
|
+
readonly response?: {
|
|
397
|
+
readonly body: string;
|
|
398
|
+
} | undefined;
|
|
387
399
|
};
|
|
388
400
|
readonly reason: "auto" | "manual";
|
|
389
401
|
readonly metadata?: {
|
|
@@ -626,6 +638,9 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
626
638
|
readonly type: string;
|
|
627
639
|
readonly message: string;
|
|
628
640
|
readonly status?: number | undefined;
|
|
641
|
+
readonly response?: {
|
|
642
|
+
readonly body: string;
|
|
643
|
+
} | undefined;
|
|
629
644
|
};
|
|
630
645
|
readonly metadata?: {
|
|
631
646
|
readonly [x: string]: Schema.Json;
|
|
@@ -686,6 +701,9 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
686
701
|
readonly type: string;
|
|
687
702
|
readonly message: string;
|
|
688
703
|
readonly status?: number | undefined;
|
|
704
|
+
readonly response?: {
|
|
705
|
+
readonly body: string;
|
|
706
|
+
} | undefined;
|
|
689
707
|
} | undefined;
|
|
690
708
|
readonly providerState?: {
|
|
691
709
|
readonly [x: string]: unknown;
|
|
@@ -713,6 +731,9 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
713
731
|
readonly type: string;
|
|
714
732
|
readonly message: string;
|
|
715
733
|
readonly status?: number | undefined;
|
|
734
|
+
readonly response?: {
|
|
735
|
+
readonly body: string;
|
|
736
|
+
} | undefined;
|
|
716
737
|
};
|
|
717
738
|
} | undefined;
|
|
718
739
|
} | {
|
|
@@ -782,6 +803,9 @@ export declare const load: (db: import("../database/drizzle.js").EffectSQLiteDat
|
|
|
782
803
|
readonly type: string;
|
|
783
804
|
readonly message: string;
|
|
784
805
|
readonly status?: number | undefined;
|
|
806
|
+
readonly response?: {
|
|
807
|
+
readonly body: string;
|
|
808
|
+
} | undefined;
|
|
785
809
|
};
|
|
786
810
|
readonly reason: "auto" | "manual";
|
|
787
811
|
readonly metadata?: {
|
|
@@ -1028,6 +1052,9 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1028
1052
|
readonly type: string;
|
|
1029
1053
|
readonly message: string;
|
|
1030
1054
|
readonly status?: number | undefined;
|
|
1055
|
+
readonly response?: {
|
|
1056
|
+
readonly body: string;
|
|
1057
|
+
} | undefined;
|
|
1031
1058
|
};
|
|
1032
1059
|
readonly metadata?: {
|
|
1033
1060
|
readonly [x: string]: Schema.Json;
|
|
@@ -1088,6 +1115,9 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1088
1115
|
readonly type: string;
|
|
1089
1116
|
readonly message: string;
|
|
1090
1117
|
readonly status?: number | undefined;
|
|
1118
|
+
readonly response?: {
|
|
1119
|
+
readonly body: string;
|
|
1120
|
+
} | undefined;
|
|
1091
1121
|
} | undefined;
|
|
1092
1122
|
readonly providerState?: {
|
|
1093
1123
|
readonly [x: string]: unknown;
|
|
@@ -1115,6 +1145,9 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1115
1145
|
readonly type: string;
|
|
1116
1146
|
readonly message: string;
|
|
1117
1147
|
readonly status?: number | undefined;
|
|
1148
|
+
readonly response?: {
|
|
1149
|
+
readonly body: string;
|
|
1150
|
+
} | undefined;
|
|
1118
1151
|
};
|
|
1119
1152
|
} | undefined;
|
|
1120
1153
|
} | {
|
|
@@ -1184,6 +1217,9 @@ export declare const entriesForRunner: (db: import("../database/drizzle.js").Eff
|
|
|
1184
1217
|
readonly type: string;
|
|
1185
1218
|
readonly message: string;
|
|
1186
1219
|
readonly status?: number | undefined;
|
|
1220
|
+
readonly response?: {
|
|
1221
|
+
readonly body: string;
|
|
1222
|
+
} | undefined;
|
|
1187
1223
|
};
|
|
1188
1224
|
readonly reason: "auto" | "manual";
|
|
1189
1225
|
readonly metadata?: {
|
|
@@ -1430,6 +1466,9 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1430
1466
|
readonly type: string;
|
|
1431
1467
|
readonly message: string;
|
|
1432
1468
|
readonly status?: number | undefined;
|
|
1469
|
+
readonly response?: {
|
|
1470
|
+
readonly body: string;
|
|
1471
|
+
} | undefined;
|
|
1433
1472
|
};
|
|
1434
1473
|
readonly metadata?: {
|
|
1435
1474
|
readonly [x: string]: Schema.Json;
|
|
@@ -1490,6 +1529,9 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1490
1529
|
readonly type: string;
|
|
1491
1530
|
readonly message: string;
|
|
1492
1531
|
readonly status?: number | undefined;
|
|
1532
|
+
readonly response?: {
|
|
1533
|
+
readonly body: string;
|
|
1534
|
+
} | undefined;
|
|
1493
1535
|
} | undefined;
|
|
1494
1536
|
readonly providerState?: {
|
|
1495
1537
|
readonly [x: string]: unknown;
|
|
@@ -1517,6 +1559,9 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1517
1559
|
readonly type: string;
|
|
1518
1560
|
readonly message: string;
|
|
1519
1561
|
readonly status?: number | undefined;
|
|
1562
|
+
readonly response?: {
|
|
1563
|
+
readonly body: string;
|
|
1564
|
+
} | undefined;
|
|
1520
1565
|
};
|
|
1521
1566
|
} | undefined;
|
|
1522
1567
|
} | {
|
|
@@ -1586,6 +1631,9 @@ export declare const preview: (db: import("../database/drizzle.js").EffectSQLite
|
|
|
1586
1631
|
readonly type: string;
|
|
1587
1632
|
readonly message: string;
|
|
1588
1633
|
readonly status?: number | undefined;
|
|
1634
|
+
readonly response?: {
|
|
1635
|
+
readonly body: string;
|
|
1636
|
+
} | undefined;
|
|
1589
1637
|
};
|
|
1590
1638
|
readonly reason: "auto" | "manual";
|
|
1591
1639
|
readonly metadata?: {
|
|
@@ -33,6 +33,11 @@ export interface Input {
|
|
|
33
33
|
readonly toolChoice?: LLM.RequestInput["toolChoice"];
|
|
34
34
|
/** Only the durable runner may use a stateful WebSocket. */
|
|
35
35
|
readonly webSocket?: "session";
|
|
36
|
+
/** Prompt size, measured by the provider or estimated. The default output limit leaves room for it. */
|
|
37
|
+
readonly inputTokens?: {
|
|
38
|
+
readonly measured: number;
|
|
39
|
+
readonly estimated: number;
|
|
40
|
+
};
|
|
36
41
|
}
|
|
37
42
|
export declare const baseTranscript: (input: {
|
|
38
43
|
readonly agent: Agent.Info;
|
|
@@ -15,13 +15,7 @@ export declare const stage: (input: {
|
|
|
15
15
|
}) => Effect.Effect<{
|
|
16
16
|
messageID: string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
17
17
|
snapshot: (string & import("effect/Brand").Brand<"Snapshot.ID">) | undefined;
|
|
18
|
-
files: readonly
|
|
19
|
-
readonly file: string;
|
|
20
|
-
readonly patch: string;
|
|
21
|
-
readonly additions: number;
|
|
22
|
-
readonly deletions: number;
|
|
23
|
-
readonly status: "added" | "deleted" | "modified";
|
|
24
|
-
}[];
|
|
18
|
+
files: readonly import("@opencode/schema/file-diff").Info[];
|
|
25
19
|
}, MessageNotFoundError | Snapshot.Error, Database.Service | Bus.Service | Instance.Service>;
|
|
26
20
|
export declare const clear: (session: SessionSchema.Info) => Effect.Effect<void, Snapshot.Error, Bus.Service | Instance.Service>;
|
|
27
21
|
export declare const commit: (bus: Bus.Interface, session: SessionSchema.Info) => Effect.Effect<void, never, never>;
|
|
@@ -3,10 +3,10 @@ import type { AIError } from "@opencode/ai";
|
|
|
3
3
|
import { Context, Data, Effect } from "effect";
|
|
4
4
|
import { SessionSchema } from "../schema.js";
|
|
5
5
|
import type { Promotable } from "../inbox.js";
|
|
6
|
-
import type { AgentNotFoundError, MessageDecodeError, StepFailedError
|
|
6
|
+
import type { AgentNotFoundError, MessageDecodeError, StepFailedError } from "../error.js";
|
|
7
7
|
import { SessionRunnerModel } from "./model.js";
|
|
8
8
|
import type { Instructions } from "../../instructions/index.js";
|
|
9
|
-
export type RunError = AIError | SessionRunnerModel.Error | MessageDecodeError | AgentNotFoundError | StepFailedError |
|
|
9
|
+
export type RunError = AIError | SessionRunnerModel.Error | MessageDecodeError | AgentNotFoundError | StepFailedError | Instructions.InitializationBlocked;
|
|
10
10
|
export type Continuation = {
|
|
11
11
|
readonly step: number;
|
|
12
12
|
};
|
|
@@ -33,18 +33,6 @@ declare const ModelUnavailableError_base: Schema.Class<ModelUnavailableError, Sc
|
|
|
33
33
|
export declare class ModelUnavailableError extends ModelUnavailableError_base {
|
|
34
34
|
get message(): string;
|
|
35
35
|
}
|
|
36
|
-
export declare const VariantUnavailableError: typeof ModelResolver.VariantUnavailableError;
|
|
37
|
-
export type VariantUnavailableError = ModelResolver.VariantUnavailableError;
|
|
38
|
-
export declare const UnsupportedPackageError: typeof ModelResolver.UnsupportedPackageError;
|
|
39
|
-
export type UnsupportedPackageError = ModelResolver.UnsupportedPackageError;
|
|
40
|
-
export declare const ModelConfigurationError: typeof ModelResolver.ModelConfigurationError;
|
|
41
|
-
export type ModelConfigurationError = ModelResolver.ModelConfigurationError;
|
|
42
|
-
export declare const ModelInitializationError: typeof ModelResolver.ModelInitializationError;
|
|
43
|
-
export type ModelInitializationError = ModelResolver.ModelInitializationError;
|
|
44
|
-
export declare const UnresolvedProviderVariablesError: typeof ModelResolver.UnresolvedProviderVariablesError;
|
|
45
|
-
export type UnresolvedProviderVariablesError = ModelResolver.UnresolvedProviderVariablesError;
|
|
46
|
-
export declare const UnsupportedCompactionError: typeof ModelResolver.UnsupportedCompactionError;
|
|
47
|
-
export type UnsupportedCompactionError = ModelResolver.UnsupportedCompactionError;
|
|
48
36
|
export type Error = ModelNotSelectedError | ModelUnavailableError | ModelResolver.Error;
|
|
49
37
|
export type Resolved = ModelResolver.Resolved;
|
|
50
38
|
export interface Interface {
|