@opencode/core 2.0.4 → 2.0.5
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-h6nxw0pd.js → instruction-discovery-029er0hp.js} +6 -6
- package/dist/chunks/{location-qx4vf964.js → instruction-discovery-0a3qk1rf.js} +26 -26
- package/dist/chunks/{location-2h5hbqz0.js → instruction-discovery-0a90bcv0.js} +8 -8
- package/dist/chunks/{location-t44e5ekz.js → instruction-discovery-0e92bpf8.js} +8 -8
- package/dist/chunks/{location-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-t08nxc7z.js → instruction-discovery-0r7xxs81.js} +23 -23
- package/dist/chunks/{location-xgwrkgz7.js → instruction-discovery-0yy4b7d0.js} +33 -33
- package/dist/chunks/{location-9e4sgp44.js → instruction-discovery-1829bv76.js} +11 -11
- package/dist/chunks/{location-v955qpq7.js → instruction-discovery-18steed6.js} +18 -18
- package/dist/chunks/{location-zhq6vg7a.js → instruction-discovery-19w9qk9n.js} +1 -1
- package/dist/chunks/{location-bwan06ag.js → instruction-discovery-1az6fcmj.js} +11 -11
- package/dist/chunks/{location-4ndgv5gc.js → instruction-discovery-1c2y5bma.js} +11 -11
- package/dist/chunks/{location-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-fvezrss0.js → instruction-discovery-1mr1eyme.js} +12 -12
- package/dist/chunks/{location-d4h3m1fk.js → instruction-discovery-1nm9pcrp.js} +21 -21
- package/dist/chunks/{location-mraxsbbc.js → instruction-discovery-1r7c63ym.js} +3 -3
- package/dist/chunks/{location-gap281sm.js → instruction-discovery-1sj4msk3.js} +14 -14
- package/dist/chunks/{location-jnj7tv4d.js → instruction-discovery-1z146pd3.js} +16 -16
- package/dist/chunks/{location-ma15yhyh.js → instruction-discovery-207ajt2h.js} +5 -5
- package/dist/chunks/{location-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{location-ha607pgt.js → instruction-discovery-23wpwp1k.js} +6 -6
- package/dist/chunks/{location-0n6bmg1f.js → instruction-discovery-24p6mxem.js} +13 -13
- package/dist/chunks/{location-mg9k7fh1.js → instruction-discovery-26zmf1pq.js} +22 -22
- package/dist/chunks/{location-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-z9037jhe.js → instruction-discovery-2j4ac2f1.js} +11 -11
- package/dist/chunks/{location-genz7rm5.js → instruction-discovery-2jh18hkm.js} +4 -4
- package/dist/chunks/{location-57ez7d0k.js → instruction-discovery-2w6fc0zt.js} +7 -7
- package/dist/chunks/{location-4gw20jm7.js → instruction-discovery-32nwpadc.js} +11 -11
- package/dist/chunks/{location-16fm13tn.js → instruction-discovery-338yd3q8.js} +5 -5
- package/dist/chunks/{location-z0ahgr69.js → instruction-discovery-33msecec.js} +27 -27
- package/dist/chunks/{location-56gdpj1q.js → instruction-discovery-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-g6kf84zp.js → instruction-discovery-36m7pkzw.js} +6 -6
- package/dist/chunks/{location-fkrjvdfc.js → instruction-discovery-378zzhja.js} +31 -31
- package/dist/chunks/{location-k9matq9w.js → instruction-discovery-3bnvp3y0.js} +15 -15
- package/dist/chunks/{location-4y7mzcta.js → instruction-discovery-3c8gbk9s.js} +17 -17
- package/dist/chunks/{location-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-fzkvtrkw.js → instruction-discovery-3nwqm4xm.js} +5 -5
- package/dist/chunks/{location-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-m3dp0h2h.js → instruction-discovery-3vhfgt92.js} +8 -8
- package/dist/chunks/{location-b6f6n79x.js → instruction-discovery-3zj26zxs.js} +9 -9
- package/dist/chunks/{location-aqxshtk7.js → instruction-discovery-444wcx0m.js} +33 -33
- package/dist/chunks/{location-h6r3nrb9.js → instruction-discovery-44h5tttr.js} +4 -4
- package/dist/chunks/{location-80pk4fcb.js → instruction-discovery-45zz8fdq.js} +5 -5
- package/dist/chunks/{location-54nm7ze4.js → instruction-discovery-466w7y98.js} +10 -10
- package/dist/chunks/{location-p6k0w3ef.js → instruction-discovery-48pbfrvk.js} +9 -9
- package/dist/chunks/{location-6qx63egk.js → instruction-discovery-4edzycq9.js} +79 -79
- package/dist/chunks/{location-xg60yd56.js → instruction-discovery-4jdqb6vt.js} +20 -20
- package/dist/chunks/{location-z83nn3gv.js → instruction-discovery-4jq0495n.js} +18 -18
- package/dist/chunks/{location-bccdc2z8.js → instruction-discovery-4jww6vkh.js} +17 -17
- package/dist/chunks/{location-wv7pem94.js → instruction-discovery-4kvj1wzz.js} +10 -10
- package/dist/chunks/{location-njhqdk9p.js → instruction-discovery-4nj4bn9q.js} +2 -2
- package/dist/chunks/instruction-discovery-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-71yarwtx.js → instruction-discovery-56w11rj3.js} +4 -4
- package/dist/chunks/{location-1gfezbxs.js → instruction-discovery-58ka6e3j.js} +30 -30
- package/dist/chunks/{location-ynp65gvm.js → instruction-discovery-5a7yz907.js} +7 -7
- package/dist/chunks/{location-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{location-71zsbp9a.js → instruction-discovery-5p6pg4tj.js} +20 -20
- package/dist/chunks/{location-2qbra9xj.js → instruction-discovery-5rtcdtd1.js} +19 -19
- package/dist/chunks/{location-4gbwy2e3.js → instruction-discovery-5rz2hsq0.js} +7 -7
- package/dist/chunks/{location-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-p84dsdfh.js → instruction-discovery-64s65d1n.js} +8 -8
- package/dist/chunks/{location-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{location-x3589ane.js → instruction-discovery-6a9734zn.js} +29 -29
- package/dist/chunks/{location-d6b8948v.js → instruction-discovery-6bp9km5f.js} +5 -5
- package/dist/chunks/instruction-discovery-6cqkcgv0.js +478 -0
- package/dist/chunks/{location-6h73sxmp.js → instruction-discovery-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-mvfsc1pv.js → instruction-discovery-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-53nms1ph.js → instruction-discovery-77m2hw5c.js} +32 -32
- package/dist/chunks/{location-tmq9efvy.js → instruction-discovery-78hbjvp7.js} +18 -18
- package/dist/chunks/{location-pe4p6r2b.js → instruction-discovery-78rb030m.js} +33 -33
- package/dist/chunks/{location-37s12vcn.js → instruction-discovery-78v47nsk.js} +5 -5
- package/dist/chunks/instruction-discovery-7aagt1ep.js +247 -0
- package/dist/chunks/{location-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-4q5m965g.js → instruction-discovery-7j3fq2cw.js} +9 -9
- package/dist/chunks/{location-tsjh32me.js → instruction-discovery-7kvy0jtg.js} +12 -12
- package/dist/chunks/{location-5c0f1prt.js → instruction-discovery-81czwxpn.js} +4 -4
- package/dist/chunks/{location-zyx4eyj3.js → instruction-discovery-88dkmhka.js} +2 -2
- package/dist/chunks/{location-qb3a001x.js → instruction-discovery-88z92y6j.js} +41 -41
- package/dist/chunks/{location-t73kfpst.js → instruction-discovery-8actpy02.js} +13 -13
- package/dist/chunks/{location-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-9ykb5v1y.js → instruction-discovery-8hdgcmvp.js} +5 -5
- package/dist/chunks/{location-8p4f9s12.js → instruction-discovery-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-dc94v6gx.js → instruction-discovery-92f49rtq.js} +20 -20
- package/dist/chunks/{location-bkpqdbf1.js → instruction-discovery-9g3d7f2z.js} +26 -26
- package/dist/chunks/{location-n2apd2zv.js → instruction-discovery-9hjja45j.js} +9 -9
- package/dist/chunks/{location-p37cw4rj.js → instruction-discovery-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-sqjb25rk.js → instruction-discovery-9kyabea7.js} +11 -11
- package/dist/chunks/{location-rvenhx9v.js → instruction-discovery-9n0dsy51.js} +166 -166
- package/dist/chunks/{location-t9tr543n.js → instruction-discovery-9pv03zpw.js} +79 -45
- package/dist/chunks/{location-wpt2rh6k.js → instruction-discovery-9rkevmgk.js} +26 -26
- package/dist/chunks/{location-ejrd0ctn.js → instruction-discovery-9v8385ms.js} +5 -5
- package/dist/chunks/{location-5f0yx823.js → instruction-discovery-9y32njdq.js} +25 -25
- package/dist/chunks/{location-a1bz86dw.js → instruction-discovery-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-r62y7mfn.js → instruction-discovery-a87mck0n.js} +25 -25
- package/dist/chunks/{location-g190xswt.js → instruction-discovery-a8bn8zg0.js} +4 -4
- package/dist/chunks/{location-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{location-y7wqy8pr.js → instruction-discovery-ab258zec.js} +19 -19
- package/dist/chunks/{location-ze4b80hv.js → instruction-discovery-aebc7qpb.js} +32 -32
- package/dist/chunks/{location-a6ntkr4w.js → instruction-discovery-ak3nc98z.js} +4 -4
- package/dist/chunks/{location-a8d2vvnh.js → instruction-discovery-ampvn4qt.js} +6 -6
- package/dist/chunks/{location-g1sxm558.js → instruction-discovery-aq5y8b9e.js} +8 -8
- package/dist/chunks/{location-sr0mbv75.js → instruction-discovery-ay615zsc.js} +12 -12
- package/dist/chunks/{location-yvny6rkw.js → instruction-discovery-b1746fgd.js} +24 -24
- package/dist/chunks/{location-q3fve2xg.js → instruction-discovery-b3y784v2.js} +17 -17
- package/dist/chunks/{location-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-xr0yzbqe.js → instruction-discovery-c6nzkrcz.js} +4 -4
- package/dist/chunks/{location-pnbc4b3j.js → instruction-discovery-cbgr23ns.js} +11 -11
- package/dist/chunks/{location-55rvc5qv.js → instruction-discovery-cckk8bsw.js} +28 -28
- package/dist/chunks/{location-cfpkc3c9.js → instruction-discovery-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-4v7ac2af.js → instruction-discovery-cksv5s6r.js} +26 -26
- package/dist/chunks/{location-cdbvkm1j.js → instruction-discovery-cpaj0n15.js} +5 -5
- package/dist/chunks/{location-ngacfpxr.js → instruction-discovery-cvnk88jx.js} +21 -21
- package/dist/chunks/{location-84fnhy9b.js → instruction-discovery-d7930f8j.js} +10 -10
- package/dist/chunks/{location-etryyd25.js → instruction-discovery-dcjwzqtv.js} +32 -32
- package/dist/chunks/{location-c488s98d.js → instruction-discovery-df9eyrmy.js} +12 -12
- package/dist/chunks/{location-d4he2qe1.js → instruction-discovery-djszqvmq.js} +9 -9
- package/dist/chunks/{location-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-xfkkasph.js → instruction-discovery-drwq78ky.js} +4 -4
- package/dist/chunks/{location-ppnykba5.js → instruction-discovery-dw8937wj.js} +11 -11
- package/dist/chunks/{location-ge2f9a94.js → instruction-discovery-dwd00071.js} +19 -19
- package/dist/chunks/{location-j311gd59.js → instruction-discovery-dwvzh0g2.js} +9 -9
- package/dist/chunks/{location-k9avtbwf.js → instruction-discovery-e17z8zpc.js} +6 -6
- package/dist/chunks/{location-0cchtpr4.js → instruction-discovery-e4nq6v23.js} +8 -8
- package/dist/chunks/{location-s8367sdj.js → instruction-discovery-eebc2rt6.js} +15 -15
- package/dist/chunks/{location-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-czd7j84z.js → instruction-discovery-em05np38.js} +8 -8
- package/dist/chunks/{location-tcddack9.js → instruction-discovery-emkjygpb.js} +18 -18
- package/dist/chunks/{location-k624arf9.js → instruction-discovery-emzgf0hj.js} +3 -3
- package/dist/chunks/{location-qn4ba14w.js → instruction-discovery-eq23s0y6.js} +5 -5
- package/dist/chunks/{location-t5fxxz44.js → instruction-discovery-etcptmad.js} +26 -26
- package/dist/chunks/{location-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-4kqwnkpq.js → instruction-discovery-f2kqmm63.js} +8 -8
- package/dist/chunks/{location-1bc7s31c.js → instruction-discovery-f7n6j563.js} +17 -17
- package/dist/chunks/{location-f828m53h.js → instruction-discovery-f828m53h.js} +2 -2
- package/dist/chunks/{location-1e34zb65.js → instruction-discovery-fbaqdnvp.js} +20 -20
- package/dist/chunks/{location-shtmkj1w.js → instruction-discovery-fqww2hbw.js} +23 -23
- package/dist/chunks/{location-2jfw170m.js → instruction-discovery-fw3v8b4w.js} +9 -9
- package/dist/chunks/{location-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-7cgd0b8x.js → instruction-discovery-g35x6qc6.js} +22 -22
- package/dist/chunks/{location-eqa8eaaa.js → instruction-discovery-g479j9dz.js} +11 -11
- package/dist/chunks/{location-cwwe0xn7.js → instruction-discovery-g8tp2ddb.js} +78 -78
- package/dist/chunks/{location-mf4knkt4.js → instruction-discovery-g9cpt5ca.js} +30 -30
- package/dist/chunks/{location-s8d7rejh.js → instruction-discovery-gbt6w4kb.js} +8 -8
- package/dist/chunks/{location-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-cjdwydd7.js → instruction-discovery-gm9abxbg.js} +13 -13
- package/dist/chunks/{location-6xbxg5de.js → instruction-discovery-gq5rp1wh.js} +6 -6
- package/dist/chunks/{location-rp6d2jqx.js → instruction-discovery-gqt4q109.js} +24 -24
- package/dist/chunks/{location-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-cshhrmft.js → instruction-discovery-gwm2cjfp.js} +17 -17
- package/dist/chunks/{location-h03wrkyp.js → instruction-discovery-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-pb8g46v2.js → instruction-discovery-h2vfddx5.js} +42 -42
- package/dist/chunks/{location-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-h6qd4a95.js → instruction-discovery-h7dw0jnp.js} +44 -44
- package/dist/chunks/{location-0ekdksbx.js → instruction-discovery-h9vg4cc6.js} +24 -24
- package/dist/chunks/{location-y16p1w2y.js → instruction-discovery-hes1j7ga.js} +9 -9
- package/dist/chunks/{location-2073epbj.js → instruction-discovery-hj4jgbr8.js} +9 -9
- package/dist/chunks/{location-e8xyxekr.js → instruction-discovery-hnpkfvtv.js} +47 -47
- package/dist/chunks/{location-h896pcm5.js → instruction-discovery-hq8zt1th.js} +4 -4
- package/dist/chunks/{location-k74qzmgf.js → instruction-discovery-hzzav9z2.js} +14 -14
- package/dist/chunks/{location-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{location-41h561sc.js → instruction-discovery-j5rxtxht.js} +7 -8
- package/dist/chunks/{location-6yk9v5a8.js → instruction-discovery-jcehjjw3.js} +4 -4
- package/dist/chunks/{location-v63zasnn.js → instruction-discovery-jg7s3n8r.js} +20 -20
- package/dist/chunks/{location-cyt4mzy8.js → instruction-discovery-jgf81bvk.js} +66 -66
- package/dist/chunks/{location-e4z3td0h.js → instruction-discovery-jk6a9ave.js} +30 -30
- package/dist/chunks/{location-s1tbsnwf.js → instruction-discovery-jyfph6m6.js} +22 -22
- package/dist/chunks/{location-2cg15w2x.js → instruction-discovery-k14vmcg0.js} +13 -13
- package/dist/chunks/{location-jppvw2tx.js → instruction-discovery-k3gnzxs0.js} +5 -5
- package/dist/chunks/{location-1pjkgqc1.js → instruction-discovery-k6rzxkd3.js} +11 -11
- package/dist/chunks/{location-txrndw2w.js → instruction-discovery-k9w3fgz4.js} +25 -25
- package/dist/chunks/{location-44ke2mar.js → instruction-discovery-knb7evpn.js} +2 -2
- package/dist/chunks/{location-vyy93js0.js → instruction-discovery-kqjw8gv6.js} +37 -37
- package/dist/chunks/{location-gvqzdcce.js → instruction-discovery-krxgz8mr.js} +22 -22
- package/dist/chunks/instruction-discovery-m3fdjcah.js +46 -0
- package/dist/chunks/{location-fb7w7frq.js → instruction-discovery-m4cf4vvt.js} +15 -15
- package/dist/chunks/{location-4zwsjqnv.js → instruction-discovery-m837a38g.js} +19 -19
- package/dist/chunks/{location-jpkvw2np.js → instruction-discovery-m8pwhfnp.js} +37 -37
- package/dist/chunks/{location-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-z0e3fq4k.js → instruction-discovery-mbrtjw0c.js} +6 -6
- package/dist/chunks/{location-htqn1cqw.js → instruction-discovery-mjqn40ac.js} +11 -11
- package/dist/chunks/{location-7w99qc9d.js → instruction-discovery-mn7hgmyj.js} +3 -3
- package/dist/chunks/instruction-discovery-mqvgb463.js +26 -0
- package/dist/chunks/{location-c5gn303e.js → instruction-discovery-mqy0jkn2.js} +4 -4
- package/dist/chunks/{location-7d92myjq.js → instruction-discovery-mx7b5mce.js} +39 -39
- package/dist/chunks/{location-26vh48er.js → instruction-discovery-n0tdmknn.js} +7 -7
- package/dist/chunks/{location-st4yk5kb.js → instruction-discovery-n1xefwxf.js} +11 -11
- package/dist/chunks/{location-jrr2ndyj.js → instruction-discovery-n81wkjqj.js} +3 -3
- package/dist/chunks/{location-eshsynjd.js → instruction-discovery-n9bg66xr.js} +28 -28
- package/dist/chunks/{location-weh21y9w.js → instruction-discovery-nn3w8ya3.js} +11 -11
- package/dist/chunks/{location-pnv527nz.js → instruction-discovery-nscznvay.js} +9 -9
- package/dist/chunks/{location-r9mregkx.js → instruction-discovery-nzks3jc8.js} +44 -27
- package/dist/chunks/{location-a1a50ys5.js → instruction-discovery-p44d8wdy.js} +5 -5
- package/dist/chunks/{location-3egkyh9x.js → instruction-discovery-p6hhdbp1.js} +8 -8
- package/dist/chunks/{location-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{location-485fr60v.js → instruction-discovery-pyp2rmkt.js} +16 -16
- package/dist/chunks/{location-5x09agpp.js → instruction-discovery-q2bxhs6b.js} +51 -51
- package/dist/chunks/{location-8n64cbn2.js → instruction-discovery-q581keqr.js} +2 -2
- package/dist/chunks/{location-qc69v8fs.js → instruction-discovery-q60qfh9s.js} +6 -6
- package/dist/chunks/{location-m8dm7px8.js → instruction-discovery-q76b2ped.js} +22 -22
- package/dist/chunks/{location-t5j6jz0m.js → instruction-discovery-qcb68cv5.js} +20 -20
- package/dist/chunks/{location-z188jmp0.js → instruction-discovery-qewbq6bc.js} +13 -13
- package/dist/chunks/{location-607tc6va.js → instruction-discovery-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-d4091zmr.js → instruction-discovery-qh96k4k1.js} +11 -11
- package/dist/chunks/{location-mz8r4wev.js → instruction-discovery-qjpk9dge.js} +7 -7
- package/dist/chunks/{location-fqb2p7cx.js → instruction-discovery-qm0v3jhh.js} +7 -7
- package/dist/chunks/{location-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{location-snypfz89.js → instruction-discovery-qwy8h0yc.js} +7 -7
- package/dist/chunks/{location-kf09gset.js → instruction-discovery-r1p3dd79.js} +14 -14
- package/dist/chunks/{location-k3rr10ns.js → instruction-discovery-rb6z2mdp.js} +28 -28
- package/dist/chunks/{location-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-2y4tf7d9.js → instruction-discovery-rw15cjs6.js} +7 -7
- package/dist/chunks/{location-9ar5c0cq.js → instruction-discovery-rwk055kb.js} +3 -3
- package/dist/chunks/{location-rzs3gq0x.js → instruction-discovery-rzs3gq0x.js} +1 -1
- package/dist/chunks/{location-d2tce9ap.js → instruction-discovery-s2br5vfy.js} +1 -1
- package/dist/chunks/{location-fe5yr6he.js → instruction-discovery-s84t8sre.js} +20 -20
- package/dist/chunks/{location-eevr0wqz.js → instruction-discovery-ssbpaa97.js} +3 -3
- package/dist/chunks/{location-r54z1mhc.js → instruction-discovery-sxqcr6wk.js} +12 -12
- package/dist/chunks/{location-t9zs3egg.js → instruction-discovery-t9zs3egg.js} +1 -1
- package/dist/chunks/{location-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-s9p11epj.js → instruction-discovery-tbrsbcaz.js} +12 -12
- package/dist/chunks/{location-89znhe33.js → instruction-discovery-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-4wv5y4sh.js → instruction-discovery-td2t4wzh.js} +41 -41
- package/dist/chunks/{location-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{location-9djwnjxj.js → instruction-discovery-tm6j2b42.js} +35 -35
- package/dist/chunks/{location-t56ztj25.js → instruction-discovery-tmp7mf59.js} +24 -24
- package/dist/chunks/{location-ed36h9sa.js → instruction-discovery-tr16pgkv.js} +27 -27
- package/dist/chunks/{location-bd0ss37q.js → instruction-discovery-ts9rs282.js} +15 -15
- package/dist/chunks/{location-7yhrjmqc.js → instruction-discovery-ttdfrrk2.js} +11 -11
- package/dist/chunks/{location-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{location-gbxnzk38.js → instruction-discovery-v5w6sppg.js} +32 -32
- package/dist/chunks/{location-72ewdht9.js → instruction-discovery-vcye14pz.js} +40 -32
- package/dist/chunks/{location-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{location-me799xqk.js → instruction-discovery-vx97awvm.js} +31 -31
- package/dist/chunks/{location-ycjgd44k.js → instruction-discovery-vxf6g7p6.js} +5 -5
- package/dist/chunks/{location-z6y26n19.js → instruction-discovery-vyxzcs45.js} +4 -4
- package/dist/chunks/{location-hfdr1yjj.js → instruction-discovery-vyy6cxw9.js} +4 -4
- package/dist/chunks/{location-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-bjs2yq5f.js → instruction-discovery-w4arg62q.js} +6 -6
- package/dist/chunks/instruction-discovery-wd3es6t1.js +4 -0
- package/dist/chunks/{location-8qwcecfd.js → instruction-discovery-wd3qynhg.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{location-yq2q1mjm.js → instruction-discovery-wjck36vb.js} +3 -3
- package/dist/chunks/{location-1ajyz94d.js → instruction-discovery-wmttgrd3.js} +11 -11
- package/dist/chunks/{location-4pdtgr8m.js → instruction-discovery-x12gwff2.js} +24 -24
- package/dist/chunks/{location-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-ckz6mm57.js → instruction-discovery-x33k6nf3.js} +21 -21
- package/dist/chunks/{location-typ6ybs4.js → instruction-discovery-x4hh2yva.js} +27 -27
- package/dist/chunks/{location-zn93437f.js → instruction-discovery-x4ytj6pq.js} +29 -29
- package/dist/chunks/{location-0g8qpgb7.js → instruction-discovery-x83qg319.js} +5 -5
- package/dist/chunks/{location-pg4czqbe.js → instruction-discovery-x9hq217q.js} +33 -33
- package/dist/chunks/{location-x1war47d.js → instruction-discovery-xdbx4t5e.js} +10 -10
- package/dist/chunks/{location-pht46j1j.js → instruction-discovery-xxx2a5sq.js} +8 -8
- package/dist/chunks/{location-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/instruction-discovery-y35sf2j4.js +164 -0
- package/dist/chunks/{location-pfcfnkqj.js → instruction-discovery-y3w6sw4s.js} +5 -5
- package/dist/chunks/{location-x1fxwrpv.js → instruction-discovery-y55yjzpr.js} +51 -51
- package/dist/chunks/{location-nng2ktcm.js → instruction-discovery-y6pbk9jp.js} +2 -2
- package/dist/chunks/{location-818pfwc9.js → instruction-discovery-y7x142mt.js} +8 -8
- package/dist/chunks/{location-b1ppdmtk.js → instruction-discovery-ydzd8ct0.js} +20 -20
- package/dist/chunks/{location-p3qxne8d.js → instruction-discovery-yhj6r7vt.js} +23 -23
- package/dist/chunks/{location-1acjjqhc.js → instruction-discovery-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{location-y2bp1sda.js → instruction-discovery-ytfea4mt.js} +14 -14
- package/dist/chunks/{location-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-t7gx2zvx.js → instruction-discovery-z3tdms7e.js} +21 -21
- package/dist/chunks/{location-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
- package/dist/chunks/{location-embw8kgh.js → instruction-discovery-zav06jzw.js} +4 -4
- package/dist/chunks/{location-phz9ppdn.js → instruction-discovery-zdpte8cy.js} +13 -13
- package/dist/chunks/{location-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-nb0t3kxz.js → instruction-discovery-zhv99wwk.js} +14 -14
- package/dist/chunks/{location-7x9k4znd.js → instruction-discovery-zmz7rfv6.js} +49 -49
- package/dist/chunks/{location-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -2
- package/dist/codemode/web.js +10 -0
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -212
- package/dist/config/plugin/compaction.js +159 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -360
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +93 -93
- 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 +220 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +100 -100
- 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 +98 -98
- 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 +3 -3
- package/dist/instance.js +354 -353
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +74 -74
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +68 -68
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -352
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -124
- package/dist/mcp/oauth.js +81 -78
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -342
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -130
- package/dist/session/context.js +151 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -221
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -113
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -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 +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +122 -121
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +5 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +116 -116
- package/dist/tool/plugin/shell.js +214 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -13
- package/dist/types/codemode/web.d.ts +8 -0
- package/dist/types/plugin/identity.d.ts +0 -1
- package/dist/types/tool/plugin/opencode.d.ts +7 -0
- package/dist/types/tool/plugin/subagent.d.ts +3 -1
- 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 +5 -5
- 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 +2 -2
- 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 +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-0mesazry.js +0 -4
- package/dist/chunks/location-15k3fnp5.js +0 -478
- package/dist/chunks/location-az2ykr48.js +0 -26
- package/dist/chunks/location-by5v678g.js +0 -18
- package/dist/chunks/location-xj85r64f.js +0 -247
- package/dist/chunks/location-z2nspjwn.js +0 -80
- /package/dist/chunks/{location-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./instruction-discovery-7kvy0jtg.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-g35x6qc6.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Options: () => Options8,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
22
|
+
Service: () => Service42,
|
|
23
|
+
UnavailableError: () => UnavailableError3,
|
|
24
|
+
configured: () => configured8,
|
|
25
|
+
layer: () => layer19,
|
|
26
|
+
node: () => node46
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError5 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service42 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service42, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service81;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
56
56
|
const runFork = Effect.runForkWith(context);
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError5({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
162
162
|
});
|
|
163
163
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
164
164
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
165
|
-
return yield* new
|
|
165
|
+
return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
|
|
166
166
|
const id = current.get(sessionID);
|
|
167
167
|
if (!id)
|
|
168
168
|
return null;
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service42.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
262
|
-
deps: [
|
|
258
|
+
var layer19 = makeLayer();
|
|
259
|
+
var configured8 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service42,
|
|
261
|
+
layer: options === undefined ? layer19 : makeLayer(options),
|
|
262
|
+
deps: [node85, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node46 = configured8();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
|
-
var unexpected = (response) => Effect.fail(new
|
|
268
|
-
var unavailable = (error) => new
|
|
267
|
+
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
268
|
+
var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
|
|
269
269
|
var runtimeDirectory = () => {
|
|
270
270
|
const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
|
|
271
271
|
return path.join(root, crypto.randomUUID());
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options8, UnavailableError3, NotFoundError5, Service42, layer19, configured8, node46, exports_persistent_pty, Handoff2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-b1746fgd.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-zmz7rfv6.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin26
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin26 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin43 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID7.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID7.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin43 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID7.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID7.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID7.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin43 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin26, exports_agent };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-wmttgrd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./instruction-discovery-7kvy0jtg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./instruction-discovery-444wcx0m.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-v5w6sppg.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID9,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-58ka6e3j.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID10.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
var OpenAIPlugin2 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service81;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.provider.transform((providers) => {
|
|
181
|
-
const item = providers.get(
|
|
181
|
+
const item = providers.get(ID9.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
if (!chatgpt)
|
|
@@ -194,7 +194,7 @@ var OpenAIPlugin2 = define({
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.model.transform((models) => {
|
|
197
|
-
for (const model of models.list(
|
|
197
|
+
for (const model of models.list(ID9.openai)) {
|
|
198
198
|
models.update(model.providerID, model.id, (draft) => {
|
|
199
199
|
draft.transport = "websocket";
|
|
200
200
|
if (!chatgpt)
|
|
@@ -223,9 +223,9 @@ var OpenAIPlugin2 = define({
|
|
|
223
223
|
evt.baseURL = codexBaseURL;
|
|
224
224
|
evt.headers.originator = "opencode";
|
|
225
225
|
evt.headers["session-id"] = evt.sessionID;
|
|
226
|
-
}), { providerID:
|
|
226
|
+
}), { providerID: ID9.openai });
|
|
227
227
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
228
|
-
yield* bus.subscribe(
|
|
228
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
function headers(contentType, app) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./instruction-discovery-58ka6e3j.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-q60qfh9s.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID9.make("cloudflare-ai-gateway");
|
|
16
16
|
var CloudflareAIGatewayPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-88dkmhka.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service69,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node72
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service69 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service69, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node72 = LayerNode.unbound(Service69, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service69, node72, canonical3, exports_location_service_map };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service32,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node35
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -359,11 +359,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
359
359
|
}, { discard: true });
|
|
360
360
|
});
|
|
361
361
|
yield* Effect.addFinalizer(() => closeAll);
|
|
362
|
-
return
|
|
362
|
+
return Service32.of({ bind, close, closeAll });
|
|
363
363
|
}));
|
|
364
364
|
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
365
365
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
366
366
|
})));
|
|
367
|
-
var
|
|
367
|
+
var node35 = makeGlobalNode({ service: Service32, layer: layer14, deps: [webSocketConstructor2] });
|
|
368
368
|
|
|
369
|
-
export {
|
|
369
|
+
export { Service32, makeLayer2, layer14, node35, exports_model_transport };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-wjck36vb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./instruction-discovery-7kvy0jtg.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info27,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service64,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service64 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service82).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info27({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service64.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info27({
|
|
80
|
+
id: ID12.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node67 = makeGlobalNode({ service: Service64, layer, deps: [node86, node85] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key3, Value2, Event16, Info27, Service64, node67, exports_credential };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info24 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };
|