@opencode/core 0.0.0-dev-20039 → 0.0.0-dev-20040
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{persistent-pty-g1mth37h.js → location-activity-0es2tfcw.js} +2 -2
- package/dist/chunks/{persistent-pty-3zwwaknr.js → location-activity-0j679ben.js} +4 -4
- package/dist/chunks/{persistent-pty-d9s573fh.js → location-activity-0ke265bw.js} +5 -5
- package/dist/chunks/{persistent-pty-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-qvb3nf84.js → location-activity-0t9wd588.js} +8 -8
- package/dist/chunks/{persistent-pty-0rdt631y.js → location-activity-10v2dx42.js} +21 -21
- package/dist/chunks/{persistent-pty-ragc7st3.js → location-activity-13av61qt.js} +11 -11
- package/dist/chunks/{persistent-pty-jva4mgym.js → location-activity-179189h4.js} +4 -4
- package/dist/chunks/{persistent-pty-rdecwvm0.js → location-activity-18s9r5gn.js} +4 -4
- package/dist/chunks/{persistent-pty-hz84tk5e.js → location-activity-1956heqa.js} +5 -5
- package/dist/chunks/{persistent-pty-2gc9tj0a.js → location-activity-1a7h7hg6.js} +29 -29
- package/dist/chunks/{persistent-pty-d3v66745.js → location-activity-1cdj6zap.js} +10 -10
- package/dist/chunks/{persistent-pty-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-95ct4mzm.js → location-activity-1pfr489z.js} +9 -9
- package/dist/chunks/{persistent-pty-2qmn5bfe.js → location-activity-1y2fmgax.js} +6 -6
- package/dist/chunks/{persistent-pty-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2c3gf4hg.js → location-activity-21t5c11y.js} +15 -15
- package/dist/chunks/{persistent-pty-h3z0pqmp.js → location-activity-236f1e7r.js} +36 -36
- package/dist/chunks/{persistent-pty-2402vzrj.js → location-activity-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-x5w4k6wc.js → location-activity-24p15wdw.js} +14 -14
- package/dist/chunks/{persistent-pty-kmpsdvkf.js → location-activity-2731mek4.js} +8 -8
- package/dist/chunks/{persistent-pty-z63w68vq.js → location-activity-29x78va6.js} +6 -6
- package/dist/chunks/{persistent-pty-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-qvfh85cq.js → location-activity-2aah0fvx.js} +14 -14
- package/dist/chunks/{persistent-pty-q3qrmh0v.js → location-activity-2chqx9tr.js} +3 -3
- package/dist/chunks/{persistent-pty-gj7rap3q.js → location-activity-2dmagjrf.js} +25 -25
- package/dist/chunks/{persistent-pty-7rjejn76.js → location-activity-2f36c7m0.js} +17 -17
- package/dist/chunks/{persistent-pty-c7tt9wkp.js → location-activity-2q4nfkpe.js} +4 -4
- package/dist/chunks/{persistent-pty-wkpqecqd.js → location-activity-2t0rn8nh.js} +22 -22
- package/dist/chunks/{persistent-pty-56gdpj1q.js → location-activity-33w4ejhs.js} +6 -6
- package/dist/chunks/{persistent-pty-p0b4ytnr.js → location-activity-35agz59w.js} +6 -6
- package/dist/chunks/{persistent-pty-1xpex35t.js → location-activity-3emrmdpg.js} +4 -4
- package/dist/chunks/{persistent-pty-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-4y303w9z.js → location-activity-3hdyanjz.js} +4 -4
- package/dist/chunks/{persistent-pty-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-dqkpw5fd.js → location-activity-3z846x89.js} +27 -27
- package/dist/chunks/{persistent-pty-haq7tc4w.js → location-activity-3zk2k76a.js} +17 -17
- package/dist/chunks/{persistent-pty-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-j2r8stxx.js → location-activity-4230str2.js} +25 -25
- package/dist/chunks/{persistent-pty-8dzh1cd7.js → location-activity-493zbn00.js} +42 -42
- package/dist/chunks/{persistent-pty-0ryd0fps.js → location-activity-4a6jpjer.js} +5 -5
- package/dist/chunks/{persistent-pty-gzyn60n2.js → location-activity-4cnppghp.js} +11 -11
- package/dist/chunks/{persistent-pty-h0np5xxv.js → location-activity-4gfv9z2y.js} +9 -9
- package/dist/chunks/{persistent-pty-5nqt8hga.js → location-activity-4kzk2qdr.js} +17 -17
- package/dist/chunks/{persistent-pty-ve2hxe32.js → location-activity-4pm2eye7.js} +11 -11
- package/dist/chunks/{persistent-pty-qy83mrsx.js → location-activity-4qc8dj0j.js} +35 -35
- package/dist/chunks/{persistent-pty-zkrvy30v.js → location-activity-4qyk6q1w.js} +33 -33
- package/dist/chunks/{persistent-pty-pg9p756q.js → location-activity-4rqhqvft.js} +14 -14
- package/dist/chunks/{persistent-pty-fpgew61y.js → location-activity-4y53dyn7.js} +23 -23
- package/dist/chunks/{persistent-pty-tgcnk5sw.js → location-activity-4y72ap3v.js} +12 -12
- package/dist/chunks/{persistent-pty-r70v011a.js → location-activity-53n6qt1p.js} +18 -18
- package/dist/chunks/{persistent-pty-qjgk3hk8.js → location-activity-543ww53a.js} +18 -18
- package/dist/chunks/{persistent-pty-9naypetk.js → location-activity-582sg9fj.js} +41 -41
- package/dist/chunks/{persistent-pty-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-k11tdke4.js → location-activity-5e61802n.js} +35 -35
- package/dist/chunks/{persistent-pty-5ekn9679.js → location-activity-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-h67gkhys.js → location-activity-5s7bfqn7.js} +9 -9
- package/dist/chunks/{persistent-pty-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-8v6pyhej.js → location-activity-5xtgfte3.js} +8 -8
- package/dist/chunks/{persistent-pty-5bjmhyyh.js → location-activity-5xym3mwn.js} +11 -11
- package/dist/chunks/{persistent-pty-tx323b0h.js → location-activity-615m6gz1.js} +14 -14
- package/dist/chunks/{persistent-pty-rsdvdc68.js → location-activity-64m0avh9.js} +33 -33
- package/dist/chunks/{persistent-pty-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-93fybsct.js → location-activity-6daacke9.js} +30 -30
- package/dist/chunks/{persistent-pty-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-avm76bfr.js → location-activity-6qvk4nmc.js} +9 -9
- package/dist/chunks/{persistent-pty-rs345c40.js → location-activity-6v8y8vbs.js} +5 -5
- package/dist/chunks/{persistent-pty-gfstbejf.js → location-activity-70drtr9c.js} +9 -9
- package/dist/chunks/{persistent-pty-b50cy11c.js → location-activity-71js08rb.js} +1 -1
- package/dist/chunks/{persistent-pty-y16p1w2y.js → location-activity-76ymgwed.js} +9 -9
- package/dist/chunks/{persistent-pty-vncycja5.js → location-activity-7atngb88.js} +4 -4
- package/dist/chunks/{persistent-pty-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-f3pajhn5.js → location-activity-7gzctjdj.js} +21 -21
- package/dist/chunks/{persistent-pty-h8y73a77.js → location-activity-7nyb19rs.js} +1 -1
- package/dist/chunks/{persistent-pty-761rsftx.js → location-activity-7w3erdpc.js} +16 -16
- package/dist/chunks/{persistent-pty-r0cp9c3a.js → location-activity-834a0b17.js} +9 -9
- package/dist/chunks/{persistent-pty-hb9mtrsd.js → location-activity-836zhf6d.js} +39 -39
- package/dist/chunks/{persistent-pty-w64kqnqf.js → location-activity-88d8aeh9.js} +19 -19
- package/dist/chunks/{persistent-pty-9syv1v4t.js → location-activity-8cw10g1v.js} +26 -26
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-ph2thkmn.js → location-activity-8g42ar4x.js} +16 -16
- package/dist/chunks/{persistent-pty-n18pptkj.js → location-activity-8mq0chcy.js} +9 -9
- package/dist/chunks/{persistent-pty-mqr4rx34.js → location-activity-8q9aqt0m.js} +20 -20
- package/dist/chunks/{persistent-pty-23k7adzm.js → location-activity-8spfb2yq.js} +11 -11
- package/dist/chunks/{persistent-pty-v8jkds5f.js → location-activity-8wx2ggwz.js} +61 -61
- package/dist/chunks/{persistent-pty-gfvb90ym.js → location-activity-94ek1h2f.js} +2 -2
- package/dist/chunks/{persistent-pty-kdvbsvbn.js → location-activity-98mpfdcc.js} +26 -26
- package/dist/chunks/{persistent-pty-97k8mqqv.js → location-activity-9dgd24xm.js} +41 -41
- package/dist/chunks/{persistent-pty-9w4ppqge.js → location-activity-9eh6sf6d.js} +5 -5
- package/dist/chunks/{persistent-pty-8h8zbh46.js → location-activity-9kgxvbx6.js} +24 -24
- package/dist/chunks/{persistent-pty-hq8zt1th.js → location-activity-9r15s34d.js} +6 -6
- package/dist/chunks/{persistent-pty-9xxvhx1n.js → location-activity-a6hfmrft.js} +20 -20
- package/dist/chunks/{persistent-pty-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-nq1pkwqs.js → location-activity-afvc2aky.js} +23 -23
- package/dist/chunks/{persistent-pty-kxf5mmhn.js → location-activity-akrp5h4r.js} +9 -9
- package/dist/chunks/{persistent-pty-6qfwct6s.js → location-activity-atw64qz3.js} +10 -10
- package/dist/chunks/{persistent-pty-p6m6n2kf.js → location-activity-b3px220g.js} +35 -35
- package/dist/chunks/{persistent-pty-k5cpcgxv.js → location-activity-b3whdk3k.js} +20 -20
- package/dist/chunks/{persistent-pty-te34bjm9.js → location-activity-b506axvz.js} +13 -13
- package/dist/chunks/{persistent-pty-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-1ywjfj99.js → location-activity-b7xsxr4n.js} +18 -18
- package/dist/chunks/{persistent-pty-vay5kkzq.js → location-activity-b8nppxcr.js} +6 -6
- package/dist/chunks/{persistent-pty-8vp3gjhy.js → location-activity-behw3bfa.js} +36 -36
- package/dist/chunks/{persistent-pty-wfdd4dw9.js → location-activity-bkea2amk.js} +3 -3
- package/dist/chunks/{persistent-pty-m8qv6hfv.js → location-activity-bq1sg432.js} +15 -15
- package/dist/chunks/{persistent-pty-4ssabby3.js → location-activity-brv2v0r4.js} +5 -5
- package/dist/chunks/{persistent-pty-qr8yt3hn.js → location-activity-bz3rqwbw.js} +6 -6
- package/dist/chunks/{persistent-pty-mnvesx1a.js → location-activity-bz5cs7hb.js} +22 -22
- package/dist/chunks/{persistent-pty-d7xkg5ac.js → location-activity-c053cp3c.js} +9 -9
- package/dist/chunks/{persistent-pty-s1njw3xh.js → location-activity-c0m6b5gc.js} +14 -14
- package/dist/chunks/{persistent-pty-sqgn58gm.js → location-activity-c28zwy7s.js} +28 -28
- package/dist/chunks/{persistent-pty-ny0wv14t.js → location-activity-c70bb0pa.js} +3 -3
- package/dist/chunks/{persistent-pty-1nfy4m2r.js → location-activity-c7aysx03.js} +9 -9
- package/dist/chunks/{persistent-pty-y6440ej8.js → location-activity-ccvbdpnn.js} +48 -48
- package/dist/chunks/{persistent-pty-54tcyq79.js → location-activity-ckecvw8r.js} +2 -2
- package/dist/chunks/{persistent-pty-178h7bcz.js → location-activity-ckr90mrx.js} +8 -8
- package/dist/chunks/{persistent-pty-hv7wtjqq.js → location-activity-cqpk6xxc.js} +7 -7
- package/dist/chunks/{persistent-pty-2mq1h16s.js → location-activity-cwa6csj7.js} +9 -9
- package/dist/chunks/{persistent-pty-v2thg54p.js → location-activity-d24dxd8m.js} +6 -6
- package/dist/chunks/{persistent-pty-7tgakezr.js → location-activity-dagkn99r.js} +1 -1
- package/dist/chunks/{persistent-pty-1s9w9x7p.js → location-activity-db9xwh8k.js} +3 -3
- package/dist/chunks/{persistent-pty-gckqvg4d.js → location-activity-dk7v1p9q.js} +12 -12
- package/dist/chunks/{persistent-pty-dj7qp1vz.js → location-activity-drpjnptc.js} +29 -29
- package/dist/chunks/{persistent-pty-xfkkasph.js → location-activity-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-k3vs3y4h.js → location-activity-dwf44vgg.js} +11 -11
- package/dist/chunks/{persistent-pty-5hvymspb.js → location-activity-e0gazxnh.js} +1 -1
- package/dist/chunks/{persistent-pty-5qd3pb7m.js → location-activity-e3qxr5gk.js} +2 -2
- package/dist/chunks/{persistent-pty-09r2qp1t.js → location-activity-e3sczd6z.js} +24 -24
- package/dist/chunks/{persistent-pty-vc5d3pth.js → location-activity-e51gfbmq.js} +6 -6
- package/dist/chunks/{persistent-pty-p1y2rvb9.js → location-activity-ecnjayst.js} +30 -30
- package/dist/chunks/{persistent-pty-ee954pm5.js → location-activity-eea4kyvf.js} +8 -8
- package/dist/chunks/{persistent-pty-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-152c24g9.js → location-activity-emkcdvnd.js} +15 -15
- package/dist/chunks/{persistent-pty-erw5rpbs.js → location-activity-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-eb46v86n.js → location-activity-ev34xyh9.js} +44 -44
- package/dist/chunks/{persistent-pty-kwkpr234.js → location-activity-ewfmd3bq.js} +20 -20
- package/dist/chunks/{persistent-pty-nne8jnth.js → location-activity-f1w9krrt.js} +10 -10
- package/dist/chunks/{persistent-pty-66v7kmb1.js → location-activity-f5rzxhen.js} +18 -18
- package/dist/chunks/{persistent-pty-rczq51rp.js → location-activity-f7vbsmz3.js} +8 -8
- package/dist/chunks/{persistent-pty-31jp5918.js → location-activity-fatpadhw.js} +15 -15
- package/dist/chunks/{persistent-pty-f73djwtn.js → location-activity-fax74jbg.js} +26 -26
- package/dist/chunks/{persistent-pty-xxc173qm.js → location-activity-fbn87bkw.js} +24 -24
- package/dist/chunks/{persistent-pty-1d4pa8k8.js → location-activity-fcq6s37t.js} +18 -18
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → location-activity-fcrkznn8.js} +5 -5
- package/dist/chunks/{persistent-pty-kej12pt8.js → location-activity-fjbdgyv0.js} +15 -15
- package/dist/chunks/{persistent-pty-34rkz0x9.js → location-activity-fm2qvscf.js} +5 -5
- package/dist/chunks/{persistent-pty-qxw86d5h.js → location-activity-fmrhw7fr.js} +2 -2
- package/dist/chunks/{persistent-pty-jvv91we3.js → location-activity-fqgb9929.js} +27 -27
- package/dist/chunks/{persistent-pty-vvetkfbd.js → location-activity-fs03v6a5.js} +26 -26
- package/dist/chunks/{persistent-pty-jc6epbw5.js → location-activity-g16x7bb3.js} +17 -17
- package/dist/chunks/{persistent-pty-tyqkzprt.js → location-activity-g2yz86wh.js} +2 -2
- package/dist/chunks/{persistent-pty-chfqtgk8.js → location-activity-g3nmkaqw.js} +4 -4
- package/dist/chunks/{persistent-pty-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-ps64rfj0.js → location-activity-gjr1xpp3.js} +1 -1
- package/dist/chunks/{persistent-pty-ng6c26h7.js → location-activity-gmqzj66m.js} +11 -11
- package/dist/chunks/{persistent-pty-vd1ke7dk.js → location-activity-gn52kpv9.js} +17 -17
- package/dist/chunks/{persistent-pty-yn1bvpb4.js → location-activity-gr18qpj6.js} +22 -22
- package/dist/chunks/{persistent-pty-yyb7tjpc.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → location-activity-h6r3nrb9.js} +1 -1
- package/dist/chunks/{persistent-pty-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-3d7gjx2p.js → location-activity-h7v2zywf.js} +18 -18
- package/dist/chunks/{persistent-pty-epz0536n.js → location-activity-hdqhacf5.js} +13 -13
- package/dist/chunks/{persistent-pty-fx5d5dst.js → location-activity-hqkys46v.js} +3 -3
- package/dist/chunks/{persistent-pty-nbbm23k4.js → location-activity-hqn4xgxr.js} +33 -33
- package/dist/chunks/{persistent-pty-6ffyb2hm.js → location-activity-hr4prybc.js} +22 -22
- package/dist/chunks/{persistent-pty-8kjkx24x.js → location-activity-hzd2kh5p.js} +22 -22
- package/dist/chunks/{persistent-pty-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-x8e1q2wf.js → location-activity-j97cmbc7.js} +1 -1
- package/dist/chunks/{persistent-pty-mpc99crn.js → location-activity-jjq37edr.js} +21 -21
- package/dist/chunks/{persistent-pty-5x17qhbs.js → location-activity-jkwzgkr9.js} +13 -13
- package/dist/chunks/{persistent-pty-sa41km02.js → location-activity-jp0nqjf8.js} +21 -21
- package/dist/chunks/{persistent-pty-7sz88z04.js → location-activity-jrz4qx78.js} +15 -15
- package/dist/chunks/{persistent-pty-r5ae9j8d.js → location-activity-k0ghhshk.js} +9 -9
- package/dist/chunks/{persistent-pty-3fbhsscp.js → location-activity-k8htk317.js} +2 -2
- package/dist/chunks/{persistent-pty-91mzt8hr.js → location-activity-ka24zez0.js} +8 -8
- package/dist/chunks/{persistent-pty-g190xswt.js → location-activity-kk00bynn.js} +21 -21
- package/dist/chunks/{persistent-pty-k9kj6xed.js → location-activity-knb7evpn.js} +6 -6
- package/dist/chunks/{persistent-pty-gv8cj7t2.js → location-activity-kptkb6ms.js} +11 -11
- package/dist/chunks/{persistent-pty-4bm5ja14.js → location-activity-kzc3h1h3.js} +4 -4
- package/dist/chunks/{persistent-pty-4prhbtb1.js → location-activity-m38x0mzz.js} +13 -13
- package/dist/chunks/{persistent-pty-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-kpdf6701.js → location-activity-m5r6ggzy.js} +14 -14
- package/dist/chunks/{persistent-pty-zhc2jp5c.js → location-activity-m7mqfst7.js} +12 -12
- package/dist/chunks/{persistent-pty-40xjt1qy.js → location-activity-m8cr24be.js} +87 -87
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → location-activity-mhkvc446.js} +3 -3
- package/dist/chunks/{persistent-pty-485sy19s.js → location-activity-mk16tyfn.js} +16 -16
- package/dist/chunks/{persistent-pty-tdph6ben.js → location-activity-mrmfm4jn.js} +45 -45
- package/dist/chunks/{persistent-pty-t4mbtemh.js → location-activity-mtft99cd.js} +5 -5
- package/dist/chunks/{persistent-pty-b0vhkd8y.js → location-activity-mvksx64m.js} +4 -4
- package/dist/chunks/{persistent-pty-vww9cphx.js → location-activity-mvp8b34f.js} +15 -15
- package/dist/chunks/{persistent-pty-6netbxjb.js → location-activity-n12hd8kc.js} +11 -11
- package/dist/chunks/{persistent-pty-swsp7ypn.js → location-activity-n5yedvcc.js} +13 -13
- package/dist/chunks/{persistent-pty-as71pn4z.js → location-activity-ngqyks8r.js} +12 -12
- package/dist/chunks/{persistent-pty-9bmaysqm.js → location-activity-nx97ad9f.js} +22 -22
- package/dist/chunks/{persistent-pty-k3c624dm.js → location-activity-nzks3jc8.js} +3 -3
- package/dist/chunks/{persistent-pty-4bdz3rrf.js → location-activity-p4482zcq.js} +11 -11
- package/dist/chunks/{persistent-pty-0z8vjex2.js → location-activity-p57dvf2n.js} +9 -9
- package/dist/chunks/{persistent-pty-7en68zcv.js → location-activity-p88bkwqe.js} +6 -6
- package/dist/chunks/{persistent-pty-5a8mqqmd.js → location-activity-pbt2wvc2.js} +89 -89
- package/dist/chunks/location-activity-pf31ssb9.js +18 -0
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-evbwcqsm.js → location-activity-q3rms5qe.js} +29 -29
- package/dist/chunks/{persistent-pty-x8etfcjj.js → location-activity-q3y0zzya.js} +10 -10
- package/dist/chunks/{persistent-pty-zav06jzw.js → location-activity-q5asdkn4.js} +4 -4
- package/dist/chunks/{persistent-pty-s5met55r.js → location-activity-qby9dwvd.js} +4 -4
- package/dist/chunks/{persistent-pty-tmx59f2z.js → location-activity-qeknf5da.js} +13 -13
- package/dist/chunks/{persistent-pty-0evkspfq.js → location-activity-qg0jgkcp.js} +9 -9
- package/dist/chunks/{persistent-pty-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/location-activity-qshf7d4c.js +26 -0
- package/dist/chunks/{persistent-pty-t3swkhbg.js → location-activity-qte5z7bc.js} +5 -5
- package/dist/chunks/{persistent-pty-1acjjqhc.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/{persistent-pty-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-s8d7rejh.js → location-activity-rhjbct0v.js} +4 -4
- package/dist/chunks/{persistent-pty-5wcec76y.js → location-activity-rjnk40k0.js} +15 -15
- package/dist/chunks/{persistent-pty-kkf5t9v2.js → location-activity-rysvp39z.js} +3 -3
- package/dist/chunks/{persistent-pty-yrznvahk.js → location-activity-s4enseaf.js} +2 -2
- package/dist/chunks/{persistent-pty-sgmsychm.js → location-activity-s7vga7rn.js} +8 -8
- package/dist/chunks/{persistent-pty-khxsha55.js → location-activity-sj2a84n4.js} +9 -9
- package/dist/chunks/{persistent-pty-nj40d921.js → location-activity-smw2y8vg.js} +37 -37
- package/dist/chunks/{persistent-pty-k7jk5gbc.js → location-activity-svbv6gmn.js} +3 -3
- package/dist/chunks/location-activity-t6wa9c33.js +252 -0
- package/dist/chunks/{persistent-pty-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-3eye3e08.js → location-activity-tp7kn0et.js} +10 -10
- package/dist/chunks/{persistent-pty-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-e9p00fqr.js → location-activity-v62btqwb.js} +11 -11
- package/dist/chunks/{persistent-pty-77r8rc3a.js → location-activity-vejw0ste.js} +1 -1
- package/dist/chunks/{persistent-pty-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-erg9a3bf.js → location-activity-vjgkn69w.js} +14 -14
- package/dist/chunks/{persistent-pty-vtxr0yy2.js → location-activity-vtxr0yy2.js} +2 -2
- package/dist/chunks/{persistent-pty-v8vgje16.js → location-activity-vyrd71eq.js} +11 -11
- package/dist/chunks/{persistent-pty-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-1g3wfhvf.js → location-activity-w5rfyqxq.js} +14 -14
- package/dist/chunks/{persistent-pty-9vvedye8.js → location-activity-w9b3ew9f.js} +16 -16
- package/dist/chunks/{persistent-pty-xw4y9se0.js → location-activity-wb3pxeca.js} +14 -14
- package/dist/chunks/{persistent-pty-exft5dyr.js → location-activity-wcr2hm3t.js} +16 -16
- package/dist/chunks/{persistent-pty-psazpmmj.js → location-activity-wd3x2cqz.js} +2 -2
- package/dist/chunks/{persistent-pty-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-9t3ensh9.js → location-activity-whxkn9za.js} +10 -10
- package/dist/chunks/{persistent-pty-b0dgvpy7.js → location-activity-wk5z6jzv.js} +9 -9
- package/dist/chunks/{persistent-pty-nf5zeerk.js → location-activity-wsbrqcns.js} +19 -19
- package/dist/chunks/{persistent-pty-ep9py3fj.js → location-activity-wstqg5we.js} +8 -8
- package/dist/chunks/{persistent-pty-a507s7rw.js → location-activity-wzyd5y3m.js} +10 -10
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-q7t2zg9s.js → location-activity-x2089t7a.js} +12 -12
- package/dist/chunks/{persistent-pty-fker3sdp.js → location-activity-x823bvzs.js} +22 -22
- package/dist/chunks/location-activity-xayf782d.js +503 -0
- package/dist/chunks/{persistent-pty-93wh6as2.js → location-activity-xc4478q7.js} +32 -32
- package/dist/chunks/{persistent-pty-csdaj16z.js → location-activity-xkhfjrgz.js} +2 -2
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-641h1r3m.js → location-activity-y67btz6y.js} +28 -28
- package/dist/chunks/{persistent-pty-y71avatq.js → location-activity-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-zxc6d5jg.js → location-activity-y97tby9y.js} +24 -24
- package/dist/chunks/{persistent-pty-c3836xxs.js → location-activity-ycc3exec.js} +35 -35
- package/dist/chunks/{persistent-pty-k1qrnqst.js → location-activity-yf10kn3d.js} +8 -8
- package/dist/chunks/{persistent-pty-wnys78fq.js → location-activity-yhbwansw.js} +8 -8
- package/dist/chunks/{persistent-pty-4bp47sa2.js → location-activity-yhj4pxny.js} +6 -6
- package/dist/chunks/{persistent-pty-757kp7m4.js → location-activity-yjxstg5v.js} +134 -134
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-1za7na14.js → location-activity-yxk4vk0s.js} +14 -14
- package/dist/chunks/{persistent-pty-bjtzbw4r.js → location-activity-z07pqspn.js} +3 -3
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-302vxrt0.js → location-activity-z1ejvfb6.js} +3 -3
- package/dist/chunks/{persistent-pty-f71as8r2.js → location-activity-z3gabhqc.js} +4 -4
- package/dist/chunks/{persistent-pty-fpym893h.js → location-activity-z3n139g0.js} +11 -11
- package/dist/chunks/{persistent-pty-gqchpbtd.js → location-activity-z3pw5915.js} +5 -5
- package/dist/chunks/{persistent-pty-ajzsbz6h.js → location-activity-z4ygwn82.js} +11 -11
- package/dist/chunks/{persistent-pty-rq775frq.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-a2dnpcep.js → location-activity-zftsjsr0.js} +22 -22
- package/dist/chunks/{persistent-pty-yde6vznn.js → location-activity-zknqefwg.js} +4 -4
- package/dist/chunks/{persistent-pty-8ttcxa5h.js → location-activity-znzhbqc9.js} +20 -20
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-sqt5xxjz.js → location-activity-zs63jsch.js} +20 -20
- package/dist/chunks/{persistent-pty-zs8c84j9.js → location-activity-zwsg1sj6.js} +23 -23
- package/dist/chunks/{persistent-pty-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-nevrz7qv.js → location-activity-zybvm9at.js} +54 -54
- package/dist/chunks/{persistent-pty-qynyj9jq.js → location-activity-zz3jq8bj.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- 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 +102 -102
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +361 -361
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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/cloudflare-ai-gateway.js +121 -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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -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 +94 -94
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -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 +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- 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 +92 -92
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- 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 +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- 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 +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- 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/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +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 +93 -93
- 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 +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-39c607zz.js +0 -252
- package/dist/chunks/persistent-pty-619r8v3y.js +0 -18
- package/dist/chunks/persistent-pty-ddnkdez9.js +0 -503
- package/dist/chunks/persistent-pty-fddeqz3x.js +0 -26
- /package/dist/chunks/{persistent-pty-0mesazry.js → location-activity-0mesazry.js} +0 -0
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-db9xwh8k.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-z3gabhqc.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-18s9r5gn.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load4
|
|
23
|
+
} from "./location-activity-kptkb6ms.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-dagkn99r.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-c28zwy7s.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./location-activity-0j679ben.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./location-activity-d24dxd8m.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-activity-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./location-activity-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service11,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node13,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
301
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -377,7 +377,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service11.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
620
|
-
layer:
|
|
618
|
+
var node13 = makeLocationNode({
|
|
619
|
+
service: Service11,
|
|
620
|
+
layer: layer7,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-z3gabhqc.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info6,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service35,
|
|
21
|
+
layer: () => layer14,
|
|
22
|
+
node: () => node38
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
|
+
var Info6 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service35 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer14 = Layer.effect(Service35, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer22 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info6.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service35.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer22 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node38 = makeLocationNode({
|
|
75
|
+
service: Service35,
|
|
76
|
+
layer: layer14,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info6, NotFoundError6, ExecutionError2, Service35, layer14, node38, exports_command4, Event6 };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-z3gabhqc.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./location-activity-atw64qz3.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event21,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service81,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node85,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service81 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event21 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service82;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event21.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service81.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event21.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event21.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [httpClient, node86, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service81, Event21, inspect2, resolve4, node85, exports_wellknown };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options10,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options10 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options10]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options10, Spec2, exports_plugin3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./location-activity-atw64qz3.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-xkhfjrgz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service58,
|
|
23
23
|
make: () => make19,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node61
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service58 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -87,7 +87,7 @@ function decrementSession(input, sessionID) {
|
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
89
|
var make19 = Effect.gen(function* () {
|
|
90
|
-
const kv = yield*
|
|
90
|
+
const kv = yield* Service82;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service58.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service58, make19);
|
|
362
|
+
var node61 = makeGlobalNode({ service: Service58, layer, deps: [node86] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service58, make19, node61, exports_job };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
9
|
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export { Info17,
|
|
21
|
+
export { Info17, exports_command5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-cqpk6xxc.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-activity-615m6gz1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-activity-543ww53a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./location-activity-88d8aeh9.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./location-activity-emkcdvnd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Plugin: () => Plugin13,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin13 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
|
+
const access = yield* Service48;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin22 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name12, Input12, Plugin13, toModelContent6, exports_read };
|