@opencode/core 0.0.0-dev-20410 → 0.0.0-dev-20411
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 +73 -73
- package/dist/chunks/{wellknown-rzs3gq0x.js → state-00x4qneg.js} +8 -8
- package/dist/chunks/{wellknown-j5g32akq.js → state-01emmzys.js} +4 -4
- package/dist/chunks/{wellknown-fdqe7t98.js → state-080n5mh9.js} +27 -27
- package/dist/chunks/{wellknown-44mgpfzg.js → state-09vwy2yp.js} +34 -34
- package/dist/chunks/{wellknown-94xk6992.js → state-0b1r2e1j.js} +33 -33
- package/dist/chunks/{wellknown-1s1t9db3.js → state-0eb0nhrg.js} +26 -26
- package/dist/chunks/{wellknown-0rpx8wc5.js → state-0fdqm06g.js} +18 -18
- package/dist/chunks/{wellknown-vykevjvn.js → state-0gapa1rm.js} +5 -5
- package/dist/chunks/{wellknown-94sexpec.js → state-0jj8ma0e.js} +32 -32
- package/dist/chunks/{wellknown-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-0xgfr3a5.js → state-0saa9dh3.js} +5 -5
- package/dist/chunks/{wellknown-hbdbv0wt.js → state-0vpw0he7.js} +39 -39
- package/dist/chunks/{wellknown-szrbzcjd.js → state-0ydwyph9.js} +27 -27
- package/dist/chunks/{wellknown-w7bd8vdp.js → state-11jr2j0r.js} +8 -8
- package/dist/chunks/{wellknown-en2jb2v2.js → state-11z4q6e9.js} +35 -35
- package/dist/chunks/{wellknown-m76ak856.js → state-1379bkbv.js} +7 -7
- package/dist/chunks/{wellknown-vqmgxh08.js → state-14jhafnq.js} +3 -3
- package/dist/chunks/{wellknown-stk7aj9c.js → state-157c2mfw.js} +18 -18
- package/dist/chunks/{wellknown-1mbawdqw.js → state-1bj6zprj.js} +28 -28
- package/dist/chunks/{wellknown-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{wellknown-2r2n6yth.js → state-1qw2fbrj.js} +19 -19
- package/dist/chunks/{wellknown-jjfwpmnh.js → state-1syx43pj.js} +44 -44
- package/dist/chunks/{wellknown-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-etk0206k.js → state-27tmf2q1.js} +12 -12
- package/dist/chunks/{wellknown-h9k0myby.js → state-29fwyzcd.js} +41 -41
- package/dist/chunks/{wellknown-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-ggh48w3t.js → state-2bvep787.js} +58 -58
- package/dist/chunks/state-2dkqpbz0.js +26 -0
- package/dist/chunks/{wellknown-2fwvtqtm.js → state-2n2pm2hg.js} +30 -30
- package/dist/chunks/{wellknown-0zdym56s.js → state-32ymn5e1.js} +9 -9
- package/dist/chunks/{wellknown-zn5188kg.js → state-371xbacx.js} +13 -13
- package/dist/chunks/{wellknown-k88fwccj.js → state-3ajzyqzg.js} +11 -11
- package/dist/chunks/{wellknown-xp89vksz.js → state-3cp35e57.js} +11 -11
- package/dist/chunks/{wellknown-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-wz6t5by9.js → state-3p800b92.js} +13 -13
- package/dist/chunks/{wellknown-d6kf3zw4.js → state-3pkc36ya.js} +7 -7
- package/dist/chunks/{wellknown-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-d7r387ef.js → state-3wrtxrr4.js} +6 -6
- package/dist/chunks/{wellknown-rsbn0fcn.js → state-3wtbjpw0.js} +21 -21
- package/dist/chunks/{wellknown-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{wellknown-4btpfq85.js → state-475fzmnb.js} +29 -29
- package/dist/chunks/{wellknown-e7rr3zef.js → state-48bdb4sw.js} +12 -12
- package/dist/chunks/{wellknown-jkna1137.js → state-490gqbd2.js} +6 -6
- package/dist/chunks/{wellknown-vbfgae2j.js → state-4bm5ja14.js} +4 -4
- package/dist/chunks/{wellknown-4z58m4b4.js → state-4j4tgtq5.js} +4 -4
- package/dist/chunks/{wellknown-stmrx373.js → state-4md02mnq.js} +8 -8
- package/dist/chunks/{wellknown-dzbnv1y8.js → state-4phvkvd3.js} +21 -21
- package/dist/chunks/{wellknown-e7cyz2n2.js → state-4q6hdv07.js} +20 -20
- package/dist/chunks/{wellknown-j2598mjc.js → state-4s41203t.js} +8 -8
- package/dist/chunks/{wellknown-5yxxxe3w.js → state-4vby096t.js} +9 -9
- package/dist/chunks/{wellknown-afdq2nq0.js → state-4zkmk6jk.js} +35 -35
- package/dist/chunks/{wellknown-2p2ksper.js → state-54m8g82e.js} +5 -5
- package/dist/chunks/{wellknown-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{wellknown-0na27aqw.js → state-55cazk4c.js} +24 -24
- package/dist/chunks/{wellknown-1ygqh575.js → state-56gdpj1q.js} +9 -9
- package/dist/chunks/{wellknown-6qsyht78.js → state-58zcwrv5.js} +42 -42
- package/dist/chunks/{wellknown-be434b93.js → state-594yxk57.js} +46 -46
- package/dist/chunks/{wellknown-b3hxsf30.js → state-5a1vmb6m.js} +6 -6
- package/dist/chunks/{wellknown-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-v0pw3s3m.js → state-5md0szhq.js} +48 -48
- package/dist/chunks/{wellknown-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{wellknown-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{wellknown-bk7jaeqh.js → state-5xpznt2d.js} +4 -4
- package/dist/chunks/{wellknown-xmgh8e8k.js → state-5xzzmb84.js} +144 -144
- package/dist/chunks/{wellknown-vrdgc38a.js → state-62kd59t7.js} +33 -33
- package/dist/chunks/{wellknown-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{wellknown-y54hr7f3.js → state-66fqs2ya.js} +9 -9
- package/dist/chunks/{wellknown-dbv05mm3.js → state-697fm79x.js} +4 -4
- package/dist/chunks/{wellknown-zz2gve7a.js → state-69pvpxfa.js} +12 -12
- package/dist/chunks/{wellknown-rc5hc0js.js → state-69z88nvy.js} +93 -93
- package/dist/chunks/{wellknown-edfps4tk.js → state-6df92bz7.js} +2 -2
- package/dist/chunks/{wellknown-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{wellknown-dp18k49k.js → state-6qh3dda1.js} +20 -20
- package/dist/chunks/{wellknown-hs5cnsfg.js → state-6sm5cyvc.js} +43 -43
- package/dist/chunks/{wellknown-z8qjm4kc.js → state-6t7r69c0.js} +51 -51
- package/dist/chunks/{wellknown-x2qdxhwm.js → state-6ysrkrkr.js} +8 -8
- package/dist/chunks/{wellknown-pdzttwzv.js → state-72ncs47m.js} +13 -13
- package/dist/chunks/{wellknown-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
- package/dist/chunks/{wellknown-5epte933.js → state-7w99qc9d.js} +2 -2
- package/dist/chunks/{wellknown-sw4z7rqk.js → state-7wzqh5r6.js} +16 -16
- package/dist/chunks/{wellknown-w1eejvng.js → state-84txncab.js} +5 -5
- package/dist/chunks/{wellknown-fhs97t90.js → state-84zt2byv.js} +9 -9
- package/dist/chunks/{wellknown-ksgwj901.js → state-88nc53jp.js} +16 -16
- package/dist/chunks/{wellknown-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{wellknown-rys8zzfc.js → state-8hskzk87.js} +23 -23
- package/dist/chunks/{wellknown-pn2bvya9.js → state-8jrzbwwk.js} +11 -11
- package/dist/chunks/{wellknown-bbsyhe2f.js → state-8v48tazp.js} +10 -10
- package/dist/chunks/{wellknown-abjnfqr5.js → state-8wcrzxjs.js} +12 -12
- package/dist/chunks/{wellknown-mt2wpz7r.js → state-8wm6h3ms.js} +17 -17
- package/dist/chunks/{wellknown-164an6e8.js → state-8z86y1bf.js} +23 -23
- package/dist/chunks/{wellknown-dckvf469.js → state-90qzwy9b.js} +1 -1
- package/dist/chunks/{wellknown-gfvb90ym.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{wellknown-290gn2nz.js → state-96qm4nj4.js} +28 -28
- package/dist/chunks/{wellknown-z606hban.js → state-97ekwrky.js} +6 -6
- package/dist/chunks/{wellknown-vrf00v9y.js → state-9afmw3mh.js} +3 -3
- package/dist/chunks/{wellknown-4rem7hjf.js → state-9emqwk8b.js} +18 -18
- package/dist/chunks/{wellknown-w552p3va.js → state-9k8rwqaf.js} +23 -23
- package/dist/chunks/{wellknown-m8gd39et.js → state-9ktpbv2m.js} +32 -32
- package/dist/chunks/{wellknown-ybzspq0s.js → state-9p874de9.js} +49 -49
- package/dist/chunks/{wellknown-p320bp61.js → state-9rfy6ee6.js} +29 -29
- package/dist/chunks/{wellknown-14ty0bgn.js → state-9wba6fa8.js} +75 -75
- package/dist/chunks/state-9zdhvgqs.js +18 -0
- package/dist/chunks/{wellknown-f4f6dec5.js → state-a11hdz7s.js} +20 -20
- package/dist/chunks/{wellknown-92h9fms8.js → state-a9p6np1q.js} +16 -16
- package/dist/chunks/{wellknown-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-57ez7d0k.js → state-ajmg8w9c.js} +9 -9
- package/dist/chunks/{wellknown-jcrcn3k8.js → state-an09x78w.js} +5 -5
- package/dist/chunks/{wellknown-r9tj242d.js → state-an5c5367.js} +6 -6
- package/dist/chunks/{wellknown-8c9nwzfv.js → state-axbkptea.js} +2 -2
- package/dist/chunks/{wellknown-cngh3wnk.js → state-azmpc546.js} +15 -15
- package/dist/chunks/{wellknown-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-ap74y1kn.js → state-bbp8f244.js} +16 -16
- package/dist/chunks/{wellknown-6vqdytr6.js → state-bcj4p2d9.js} +48 -48
- package/dist/chunks/{wellknown-0v53mg2y.js → state-bct739vz.js} +4 -4
- package/dist/chunks/{wellknown-9b6f7ytq.js → state-bjckj4ec.js} +27 -27
- package/dist/chunks/{wellknown-p37cw4rj.js → state-br0tr5aq.js} +8 -8
- package/dist/chunks/{wellknown-zyr433b0.js → state-c1495ybz.js} +9 -9
- package/dist/chunks/{wellknown-zhr2g1ae.js → state-c38nnx5e.js} +11 -11
- package/dist/chunks/{wellknown-wh8dp25y.js → state-c5885s0q.js} +11 -11
- package/dist/chunks/{wellknown-cwkg0kwh.js → state-cbfq9x83.js} +16 -16
- package/dist/chunks/{wellknown-y8xa2k4j.js → state-cgrq38t5.js} +11 -11
- package/dist/chunks/{wellknown-t2tmd77d.js → state-ch69yfhm.js} +28 -28
- package/dist/chunks/{wellknown-54tcyq79.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{wellknown-w1d6802m.js → state-cmcrkyvs.js} +3 -3
- package/dist/chunks/{wellknown-dw1xb9j8.js → state-ctc7jsd8.js} +2 -2
- package/dist/chunks/{wellknown-wasjttrh.js → state-d5dtknkd.js} +18 -18
- package/dist/chunks/{wellknown-gq3f4pq9.js → state-d5j1ks5t.js} +26 -26
- package/dist/chunks/{wellknown-kkj1mgts.js → state-d6ypw3gd.js} +11 -11
- package/dist/chunks/{wellknown-r9qax4y8.js → state-ddv1bfz0.js} +24 -24
- package/dist/chunks/{wellknown-beebazzm.js → state-dknjrr3d.js} +8 -8
- package/dist/chunks/{wellknown-nxm207yx.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{wellknown-12zc50tf.js → state-dt9bwcd0.js} +21 -21
- package/dist/chunks/{wellknown-x65pzh39.js → state-dvd395e9.js} +10 -10
- package/dist/chunks/{wellknown-s2ew5zhm.js → state-e3cpdq35.js} +87 -87
- package/dist/chunks/{wellknown-6anwy9fs.js → state-e6hd9jay.js} +4 -4
- package/dist/chunks/{wellknown-d1khqved.js → state-e6hmchc5.js} +5 -5
- package/dist/chunks/{wellknown-t2j7eqzx.js → state-ed86crxx.js} +35 -35
- package/dist/chunks/{wellknown-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-14czrspb.js → state-ekyqktmq.js} +18 -18
- package/dist/chunks/{wellknown-bhs9pbkj.js → state-eqf7n5z7.js} +15 -15
- package/dist/chunks/{wellknown-44ak30pa.js → state-espax8zg.js} +4 -4
- package/dist/chunks/{wellknown-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{wellknown-t6e95mzg.js → state-f16bkzkb.js} +6 -6
- package/dist/chunks/{wellknown-y6mz8vze.js → state-f37sca8k.js} +1 -1
- package/dist/chunks/{wellknown-2pnhn36q.js → state-f3ngv102.js} +19 -19
- package/dist/chunks/{wellknown-7xpt23fr.js → state-fbv57nyx.js} +4 -4
- package/dist/chunks/{wellknown-zanch5yy.js → state-fgyydaws.js} +23 -23
- package/dist/chunks/{wellknown-cke2b7t7.js → state-fjmae6zs.js} +12 -12
- package/dist/chunks/{wellknown-jkxcgs8q.js → state-fpreazhg.js} +28 -28
- package/dist/chunks/{wellknown-32ndydhr.js → state-fy2929rg.js} +11 -11
- package/dist/chunks/{wellknown-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-p5hcw2cx.js → state-gdv4f4rt.js} +14 -14
- package/dist/chunks/{wellknown-nvk3p1p4.js → state-gqh620kj.js} +28 -28
- package/dist/chunks/{wellknown-eg0775ss.js → state-grhr41xh.js} +16 -16
- package/dist/chunks/{wellknown-3a83a0n4.js → state-gs3s1a1g.js} +8 -8
- package/dist/chunks/{wellknown-spev15wm.js → state-gs6ejcaj.js} +9 -9
- package/dist/chunks/{wellknown-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{wellknown-hzcr34ks.js → state-h4znbszn.js} +8 -8
- package/dist/chunks/{wellknown-g5agzp2h.js → state-h6b02349.js} +5 -5
- package/dist/chunks/{wellknown-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-khn32n8z.js → state-ha0hr9mw.js} +9 -9
- package/dist/chunks/{wellknown-qcaxezzb.js → state-hcb2f5gd.js} +43 -43
- package/dist/chunks/{wellknown-q615bh5j.js → state-hcx0m4b0.js} +17 -17
- package/dist/chunks/{wellknown-3556dn8t.js → state-hd8vw2pw.js} +1 -1
- package/dist/chunks/{wellknown-4hqqpt46.js → state-hejy09km.js} +8 -8
- package/dist/chunks/{wellknown-xswzb4kc.js → state-hwxd1aqb.js} +22 -22
- package/dist/chunks/{wellknown-tf4x7bac.js → state-hxd37nz4.js} +6 -6
- package/dist/chunks/{wellknown-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{wellknown-6b2zjn2e.js → state-j58c5xyq.js} +9 -9
- package/dist/chunks/{wellknown-hy7bhjnd.js → state-j7npn0pv.js} +11 -11
- package/dist/chunks/{wellknown-qq8x5mwt.js → state-j8zzr2am.js} +4 -4
- package/dist/chunks/{wellknown-55m9a17k.js → state-jds3se8a.js} +22 -22
- package/dist/chunks/{wellknown-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{wellknown-4y3x9j2a.js → state-k6ezk3an.js} +24 -24
- package/dist/chunks/{wellknown-hbyhqfhs.js → state-kbqjp078.js} +5 -5
- package/dist/chunks/{wellknown-we2x3x45.js → state-kqcenne1.js} +4 -4
- package/dist/chunks/{wellknown-614y8yz0.js → state-kv381fjp.js} +18 -18
- package/dist/chunks/{wellknown-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{wellknown-m58kmhef.js → state-m58kmhef.js} +2 -2
- package/dist/chunks/{wellknown-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-6hmwwa40.js → state-mdj04g53.js} +14 -14
- package/dist/chunks/{wellknown-ydqn5d54.js → state-mj0s41ck.js} +19 -19
- package/dist/chunks/{wellknown-mpk0rfs5.js → state-mpk0rfs5.js} +1 -1
- package/dist/chunks/{wellknown-kxv0pnw6.js → state-mwtfvzf0.js} +13 -13
- package/dist/chunks/{wellknown-xcqptzhp.js → state-nhr73ppe.js} +17 -17
- package/dist/chunks/{wellknown-g97bb4fb.js → state-nng2ktcm.js} +2 -2
- package/dist/chunks/{wellknown-gke7xfxw.js → state-nppa5595.js} +17 -17
- package/dist/chunks/{wellknown-909p1r3q.js → state-nzq7ck9f.js} +6 -6
- package/dist/chunks/{wellknown-yh1s390g.js → state-p6pb6myx.js} +11 -11
- package/dist/chunks/{wellknown-8zj1wa93.js → state-p9m7b0zj.js} +23 -23
- package/dist/chunks/{wellknown-72npc2f6.js → state-pc4jk262.js} +18 -18
- package/dist/chunks/{wellknown-a9w2502q.js → state-pey5f48j.js} +1 -1
- package/dist/chunks/{wellknown-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-d04jdsaz.js → state-pwf60aya.js} +24 -24
- package/dist/chunks/{wellknown-cfsekr6v.js → state-py3kkmfq.js} +2 -2
- package/dist/chunks/{wellknown-ps96thee.js → state-pyqp92e9.js} +21 -21
- package/dist/chunks/{wellknown-fppza7yp.js → state-pywk7rpr.js} +15 -15
- package/dist/chunks/{wellknown-vkfwmpk4.js → state-q56rs717.js} +325 -325
- package/dist/chunks/{wellknown-f3hqkxtk.js → state-q75415k0.js} +23 -23
- package/dist/chunks/{wellknown-cymsrqdn.js → state-qg8bk40g.js} +16 -16
- package/dist/chunks/{wellknown-cwa6csj7.js → state-qmqgtz8f.js} +9 -9
- package/dist/chunks/{wellknown-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-trdgkbgm.js → state-qvrqhjgq.js} +32 -32
- package/dist/chunks/{wellknown-1fkkc2q4.js → state-r1ehawk4.js} +17 -17
- package/dist/chunks/{wellknown-632q0zdk.js → state-r2yemdy6.js} +31 -31
- package/dist/chunks/{wellknown-w718jc0k.js → state-r5d9sft0.js} +9 -9
- package/dist/chunks/{wellknown-a1gpj94z.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{wellknown-m2bk3f14.js → state-r76kpynz.js} +15 -15
- package/dist/chunks/{wellknown-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{wellknown-sjgknyar.js → state-reeft5kf.js} +8 -8
- package/dist/chunks/{wellknown-r8xr0va3.js → state-rhraev7y.js} +4 -4
- package/dist/chunks/{wellknown-09e215wj.js → state-rrcc0zkn.js} +20 -20
- package/dist/chunks/{wellknown-2336b01z.js → state-rtathh62.js} +5 -5
- package/dist/chunks/{wellknown-nx4bp6rh.js → state-rtgrbwdh.js} +17 -17
- package/dist/chunks/{wellknown-p7vmt0vr.js → state-s3x09b44.js} +27 -27
- package/dist/chunks/{wellknown-rhjbct0v.js → state-s8d7rejh.js} +4 -4
- package/dist/chunks/{wellknown-ffhspk0h.js → state-sa3fbgnq.js} +17 -17
- package/dist/chunks/{wellknown-ssdq1t99.js → state-se6n7614.js} +10 -10
- package/dist/chunks/{wellknown-vakvjtqr.js → state-sresy5h2.js} +3 -3
- package/dist/chunks/{wellknown-haahk2j0.js → state-szmcfww1.js} +5 -5
- package/dist/chunks/{wellknown-2qp6y8xf.js → state-t0fxg8b9.js} +5 -5
- package/dist/chunks/{wellknown-6cfd75hy.js → state-t2fc4mz5.js} +7 -7
- package/dist/chunks/{wellknown-e8c7tdgy.js → state-t8eapvfw.js} +23 -23
- package/dist/chunks/{wellknown-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{wellknown-d2q97jrn.js → state-tft65gyy.js} +9 -9
- package/dist/chunks/{wellknown-rxkspqj9.js → state-th1mg51k.js} +11 -11
- package/dist/chunks/{wellknown-s7vss6zf.js → state-th7m3yq6.js} +15 -15
- package/dist/chunks/{wellknown-8ard0xnh.js → state-trhjdbdm.js} +1 -1
- package/dist/chunks/{wellknown-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{wellknown-f65gvspq.js → state-v15w9s4t.js} +1 -1
- package/dist/chunks/{wellknown-38qsazbb.js → state-v4azz40n.js} +27 -27
- package/dist/chunks/{wellknown-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-8950yhm7.js → state-vfsag6yk.js} +9 -9
- package/dist/chunks/{wellknown-n57qrn3a.js → state-vhk0cnae.js} +4 -4
- package/dist/chunks/state-vsrsd64f.js +252 -0
- package/dist/chunks/{wellknown-3hxdjh5w.js → state-vtemzate.js} +3 -3
- package/dist/chunks/{wellknown-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{wellknown-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{wellknown-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-5kcmdkc3.js → state-w5w5b0x1.js} +30 -30
- package/dist/chunks/{wellknown-7j4bmeyc.js → state-w8hqpfxz.js} +40 -40
- package/dist/chunks/{wellknown-2a9pehze.js → state-wby16mgw.js} +8 -8
- package/dist/chunks/{wellknown-psazpmmj.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{wellknown-s2hc5wjj.js → state-wd7rpvfq.js} +4 -4
- package/dist/chunks/{wellknown-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-f1vyh6xp.js → state-wsb67xeh.js} +8 -8
- package/dist/chunks/{wellknown-44w561qj.js → state-wzq06v2y.js} +1 -1
- package/dist/chunks/{wellknown-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-qk9gfppg.js → state-x5r2y95v.js} +7 -7
- package/dist/chunks/{wellknown-94cgg493.js → state-xchw37pw.js} +31 -31
- package/dist/chunks/{wellknown-g5w8qwbj.js → state-xfkkasph.js} +4 -4
- package/dist/chunks/{wellknown-xkntkrq7.js → state-xkntkrq7.js} +2 -2
- package/dist/chunks/{wellknown-jz0ehkkx.js → state-xnnxw2tq.js} +8 -8
- package/dist/chunks/{wellknown-xq9mxwgm.js → state-xnw0y567.js} +15 -15
- package/dist/chunks/{wellknown-radmxtwt.js → state-xpzvwsxq.js} +9 -9
- package/dist/chunks/{wellknown-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{wellknown-1kkt2vva.js → state-y1rn6ejs.js} +35 -35
- package/dist/chunks/{wellknown-gmf6wyfv.js → state-y98g6sym.js} +9 -9
- package/dist/chunks/{wellknown-rrxsaae4.js → state-yhnzz64j.js} +13 -13
- package/dist/chunks/{wellknown-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{wellknown-fwtnydp1.js → state-yrrz9gz0.js} +11 -11
- package/dist/chunks/{wellknown-s4enseaf.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{wellknown-ev0saa8z.js → state-ys6344d6.js} +11 -11
- package/dist/chunks/{wellknown-sra9araw.js → state-yt0fqk68.js} +5 -5
- package/dist/chunks/{wellknown-yyk7gbmy.js → state-yxveqtpd.js} +13 -13
- package/dist/chunks/{wellknown-1n8pm4fs.js → state-z060z1z6.js} +14 -14
- package/dist/chunks/{wellknown-bjtzbw4r.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{wellknown-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-6crwcbc9.js → state-z16redh0.js} +28 -28
- package/dist/chunks/{wellknown-29x78va6.js → state-z63w68vq.js} +6 -6
- package/dist/chunks/{wellknown-j70evk53.js → state-z8yngj71.js} +36 -36
- package/dist/chunks/{wellknown-zzn5c76v.js → state-za0qyzyq.js} +16 -16
- package/dist/chunks/{wellknown-g1096q0s.js → state-zapwe406.js} +28 -28
- package/dist/chunks/{wellknown-16z2jb6t.js → state-zbbpbgkb.js} +15 -15
- package/dist/chunks/{wellknown-zvt5dnpc.js → state-zee1rnkq.js} +4 -4
- package/dist/chunks/{wellknown-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{wellknown-p7yarm9w.js → state-zhqm9fer.js} +9 -9
- package/dist/chunks/{wellknown-9zj2t9wy.js → state-zj0xayy4.js} +20 -20
- package/dist/chunks/{wellknown-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{wellknown-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{wellknown-t5y73egm.js → state-zzdarrzq.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +125 -125
- 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 +83 -83
- package/dist/database/database.js +66 -66
- 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 +76 -76
- 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 +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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- 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 +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- 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 +1 -1
- package/dist/integration.js +81 -81
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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 +100 -100
- 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 +111 -111
- 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 +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- 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 +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +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 -93
- 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 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +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 -163
- 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 +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- 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 +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- 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 +120 -120
- 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 -232
- 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 +4 -4
- package/dist/session/runner/step.js +126 -126
- 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 +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- 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 +5 -5
- 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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/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 +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/wellknown-583665fb.js +0 -26
- package/dist/chunks/wellknown-pp8ac1gr.js +0 -252
- package/dist/chunks/wellknown-rap9a73h.js +0 -18
- /package/dist/chunks/{wellknown-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-cmcrkyvs.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-z07pqspn.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service26,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node30,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service26 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service26.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node30 = makeLocationNode({ service: Service26, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service26, node30, exports_instruction_entry };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./state-fjmae6zs.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make17
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make17 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make13 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make17, exports_git2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make19
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make19 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make18 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make19, exports_run_coordinator };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node75
|
|
7
|
+
} from "./state-v4azz40n.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service56,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer21,
|
|
20
|
+
node: () => node60
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service56 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer21 = Layer.effect(Service56, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service72;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service56.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node60 = makeLocationNode({
|
|
74
|
+
service: Service56,
|
|
75
|
+
layer: layer21,
|
|
76
|
+
deps: [node75, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service56, layer21, node60, exports_generate2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin34 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint2,
|
|
83
|
+
export { endpoint2, Plugin34, exports_exa };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node73
|
|
7
|
+
} from "./state-se6n7614.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-7w99qc9d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-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: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service64,
|
|
23
|
+
make: () => make20,
|
|
24
|
+
node: () => node67
|
|
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 Service64 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make20 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service70;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make21 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service64.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make21 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service64, make20);
|
|
362
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [node73] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service64, make20, node67, exports_job };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./state-za0qyzyq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service44
|
|
9
|
+
} from "./state-157c2mfw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service7
|
|
12
|
+
} from "./state-jds3se8a.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-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
|
+
Service8
|
|
27
|
+
} from "./state-azmpc546.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-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: () => Input8,
|
|
36
|
+
Plugin: () => Plugin29,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name8,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
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 name8 = "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 and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input8 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin29 = {
|
|
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* Service8;
|
|
62
|
+
const access = yield* Service44;
|
|
63
|
+
const sessionInstructions = yield* Service7;
|
|
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: name8,
|
|
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: Input8,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin24 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent4 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name8, Input8, Plugin29, toModelContent4, exports_read };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./state-bcj4p2d9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./state-fpreazhg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
|
-
Input: () =>
|
|
18
|
+
Input: () => Input2,
|
|
19
19
|
Output: () => Output2,
|
|
20
20
|
Plugin: () => Plugin20,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description2,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
@@ -47,13 +47,13 @@ var Plugin20 = {
|
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service31;
|
|
51
|
+
const permission = yield* Service65;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description2,
|
|
56
|
-
input:
|
|
56
|
+
input: Input2,
|
|
57
57
|
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
@@ -61,7 +61,7 @@ var Plugin20 = {
|
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin20 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin20, exports_skill2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-cmcrkyvs.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service70,
|
|
17
|
+
node: () => node73
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service70.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node73 = makeGlobalNode({ service: Service70, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service70, node73, exports_kv };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-5md0szhq.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-32ymn5e1.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-bcj4p2d9.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-dt9bwcd0.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-v4azz40n.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-3p800b92.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|