@opencode/core 2.2.0 → 2.2.1
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 +86 -85
- package/dist/aisdk-native.js +98 -97
- package/dist/aisdk.js +104 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -75
- package/dist/chunks/{tool-r8dwygj6.js → credential-010tfxz5.js} +57 -46
- package/dist/chunks/{tool-034tev2y.js → credential-034tev2y.js} +2 -2
- package/dist/chunks/{tool-hy05jz59.js → credential-0473z1ea.js} +4 -4
- package/dist/chunks/{tool-27c23e33.js → credential-05gcnbx9.js} +11 -11
- package/dist/chunks/{tool-spqj5yby.js → credential-0gmzdafk.js} +31 -31
- package/dist/chunks/{tool-rzh929cz.js → credential-0hgyyj2f.js} +13 -13
- package/dist/chunks/{tool-ayv543vf.js → credential-0hy252xp.js} +18 -18
- package/dist/chunks/credential-0yf36v3f.js +332 -0
- package/dist/chunks/{tool-q2z4k2x9.js → credential-0yrc0qsb.js} +17 -17
- package/dist/chunks/{tool-7mwfr1ya.js → credential-12dezc3d.js} +23 -23
- package/dist/chunks/{tool-gjasn01h.js → credential-14f8gty7.js} +4 -4
- package/dist/chunks/{tool-41sh1bbt.js → credential-1egdjfep.js} +9 -11
- package/dist/chunks/{tool-1ep2p91f.js → credential-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-39j6yt37.js → credential-1hayz8ad.js} +27 -19
- package/dist/chunks/credential-1mdvq69k.js +179 -0
- package/dist/chunks/{tool-28pnz6dy.js → credential-1p6bnm4j.js} +30 -42
- package/dist/chunks/{tool-dtfj6qhp.js → credential-1p97rsrw.js} +80 -80
- package/dist/chunks/{tool-1x2knyw4.js → credential-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-y7287ygs.js → credential-1x73k67a.js} +8 -8
- package/dist/chunks/{tool-204s3925.js → credential-204s3925.js} +1 -1
- package/dist/chunks/{tool-vsqvcqta.js → credential-26x8chrq.js} +6 -6
- package/dist/chunks/{tool-3k7t0q4z.js → credential-2agjkr66.js} +29 -20
- package/dist/chunks/{tool-d893c1qn.js → credential-2d25yes2.js} +17 -17
- package/dist/chunks/{tool-vvj7j8xf.js → credential-2fbmf7r0.js} +3 -3
- package/dist/chunks/{tool-3t4066nw.js → credential-2ktpft3m.js} +16 -16
- package/dist/chunks/{tool-47cq5kqw.js → credential-2r6emfn3.js} +4 -4
- package/dist/chunks/{tool-3f13jy3s.js → credential-303mq5q0.js} +21 -21
- package/dist/chunks/{tool-cnga39w3.js → credential-313ht5vg.js} +15 -15
- package/dist/chunks/{tool-3hepkmqq.js → credential-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-09bv4atg.js → credential-3j1m3tq4.js} +5 -5
- package/dist/chunks/{tool-8wc2fpae.js → credential-3kdbrncp.js} +5 -5
- package/dist/chunks/{tool-3nnrz6f6.js → credential-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-gtqjgkpw.js → credential-3sf9fkhp.js} +3 -3
- package/dist/chunks/{tool-8rk0v0nw.js → credential-3t284k5r.js} +49 -46
- package/dist/chunks/{tool-ymky0t0b.js → credential-3tcpaccq.js} +5 -5
- package/dist/chunks/{tool-w2eysc6j.js → credential-40za9wsf.js} +9 -9
- package/dist/chunks/{tool-xqxzn5yn.js → credential-44wjxh8g.js} +14 -14
- package/dist/chunks/{tool-nh9ma6fe.js → credential-491m2zwm.js} +11 -11
- package/dist/chunks/{tool-vvqzd10p.js → credential-4czk4k18.js} +35 -35
- package/dist/chunks/{tool-3jy1f5rc.js → credential-4f3e2fe5.js} +38 -38
- package/dist/chunks/{tool-39tkfg3g.js → credential-4fes9nxq.js} +9 -9
- package/dist/chunks/{tool-j3xa31ke.js → credential-4hn0zw0c.js} +5 -5
- package/dist/chunks/{tool-4pyp9zr9.js → credential-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-4v008n1t.js → credential-4v008n1t.js} +1 -1
- package/dist/chunks/credential-539dw32x.js +410 -0
- package/dist/chunks/{tool-7gm95e0b.js → credential-5e4fvpp9.js} +6 -6
- package/dist/chunks/{tool-2qgpse07.js → credential-5jandae5.js} +10 -10
- package/dist/chunks/{tool-1b236rmr.js → credential-5k74q2xq.js} +188 -188
- package/dist/chunks/{tool-5m9w47nd.js → credential-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-2nkqvy4a.js → credential-5macz2df.js} +30 -30
- package/dist/chunks/{tool-4zsrmah6.js → credential-5sc8268w.js} +42 -42
- package/dist/chunks/{tool-9e6q8a6s.js → credential-5zpj5z5z.js} +13 -13
- package/dist/chunks/{tool-jszqqvxf.js → credential-65m06x48.js} +9 -9
- package/dist/chunks/{tool-6esdw8yj.js → credential-6esdw8yj.js} +1 -1
- package/dist/chunks/{tool-d3qmtx3n.js → credential-6qh3pn8d.js} +20 -20
- package/dist/chunks/{tool-1vpe07px.js → credential-6te9kxba.js} +77 -20
- package/dist/chunks/{tool-pbwrhxm9.js → credential-6vyrcjf5.js} +18 -18
- package/dist/chunks/{tool-yzaa036j.js → credential-6xtf9y56.js} +27 -27
- package/dist/chunks/{tool-76cb1hcw.js → credential-76cb1hcw.js} +1 -1
- package/dist/chunks/{tool-7bmhse3q.js → credential-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-v6njdshh.js → credential-7dyk5r5p.js} +20 -20
- package/dist/chunks/{tool-c347jtgq.js → credential-7jad4yjq.js} +22 -22
- package/dist/chunks/{tool-7w2ypzdf.js → credential-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-012mq190.js → credential-7yt5s0f0.js} +31 -31
- package/dist/chunks/{tool-edkh5za3.js → credential-82nhjx58.js} +2 -2
- package/dist/chunks/{tool-vacfhfey.js → credential-8411r79r.js} +7 -7
- package/dist/chunks/{tool-5858b97a.js → credential-87bz1bn4.js} +12 -12
- package/dist/chunks/{tool-maq43m3m.js → credential-89bbjwma.js} +11 -11
- package/dist/chunks/{tool-xasx590j.js → credential-8ecyv6n4.js} +14 -14
- package/dist/chunks/{tool-11hfp36g.js → credential-8jztxfpf.js} +4 -4
- package/dist/chunks/{tool-18s0c7mk.js → credential-8ppy984g.js} +10 -10
- package/dist/chunks/{tool-xhrs65th.js → credential-8s8ht7fz.js} +6 -6
- package/dist/chunks/{tool-8wtp7s3z.js → credential-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-90zstvax.js → credential-90zstvax.js} +1 -1
- package/dist/chunks/{tool-r850md5t.js → credential-93e1rsjq.js} +15 -15
- package/dist/chunks/{tool-g2pxrbdf.js → credential-96zj6efe.js} +106 -75
- package/dist/chunks/{tool-9q8g9sv8.js → credential-9axz1114.js} +4 -4
- package/dist/chunks/{tool-3nr2yc9a.js → credential-9d99svmd.js} +3 -3
- package/dist/chunks/{tool-7hsh0za6.js → credential-9f8nz412.js} +40 -45
- package/dist/chunks/{tool-r9zrswe1.js → credential-9r0x1bva.js} +9 -9
- package/dist/chunks/{tool-9f3sjfep.js → credential-9z9tayqc.js} +9 -9
- package/dist/chunks/{tool-k66e5v3s.js → credential-a7vdyqvq.js} +11 -11
- package/dist/chunks/{tool-9taxa3wa.js → credential-a81capfc.js} +9 -9
- package/dist/chunks/{tool-0a2sm9cp.js → credential-acns5kb5.js} +13 -13
- package/dist/chunks/{tool-2jrrfqe1.js → credential-agqd6nxz.js} +2 -2
- package/dist/chunks/{tool-gn0hevf2.js → credential-anaq8tyr.js} +26 -26
- package/dist/chunks/{tool-yytcp89d.js → credential-apyyhtqv.js} +26 -26
- package/dist/chunks/{tool-cnh9xgcw.js → credential-arc1qckg.js} +32 -32
- package/dist/chunks/{tool-ayjs7tqn.js → credential-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-xpx0z35b.js → credential-ayq7z3yq.js} +14 -14
- package/dist/chunks/{tool-sbj9xhv5.js → credential-b2dk96k1.js} +19 -19
- package/dist/chunks/{tool-qhfm6m5r.js → credential-b5pzs38m.js} +21 -21
- package/dist/chunks/{tool-b6vsg801.js → credential-b6vsg801.js} +2 -2
- package/dist/chunks/{tool-r023m38x.js → credential-b6x8f3en.js} +20 -14
- package/dist/chunks/{tool-6wz31r82.js → credential-bgtvwfds.js} +11 -11
- package/dist/chunks/{tool-0ahs07zn.js → credential-br0kkpnn.js} +7 -7
- package/dist/chunks/credential-bs2ewjth.js +26 -0
- package/dist/chunks/{tool-f449218g.js → credential-bsefsz8j.js} +5 -5
- package/dist/chunks/{tool-6adqbtbr.js → credential-bwva959e.js} +31 -31
- package/dist/chunks/{tool-pnwsrq7c.js → credential-c0xjp2a3.js} +8 -8
- package/dist/chunks/{tool-61ennm6n.js → credential-cac0wmbb.js} +6 -6
- package/dist/chunks/{tool-sws77t7f.js → credential-cjqs9axx.js} +11 -11
- package/dist/chunks/{tool-zyqv3h6k.js → credential-cth8y227.js} +8 -8
- package/dist/chunks/{tool-cwrgdav8.js → credential-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-d4v9tmah.js → credential-d4v9tmah.js} +2 -2
- package/dist/chunks/credential-d77dj7jw.js +18 -0
- package/dist/chunks/{tool-a35byqw0.js → credential-d8q8hp8x.js} +28 -28
- package/dist/chunks/{tool-5fgj30xe.js → credential-dcgwasx3.js} +26 -26
- package/dist/chunks/{tool-d9hg8633.js → credential-dk3hpat9.js} +12 -12
- package/dist/chunks/{tool-rbhebfmq.js → credential-dkj2h5cm.js} +10 -10
- package/dist/chunks/{tool-nyw2x12k.js → credential-dkxwsr1g.js} +1 -1
- package/dist/chunks/{tool-dt77769w.js → credential-dt77769w.js} +1 -1
- package/dist/chunks/{tool-qcsk8x8g.js → credential-e14rv8n7.js} +46 -49
- package/dist/chunks/{tool-zw3yjf62.js → credential-e1n7p4ag.js} +10 -10
- package/dist/chunks/{tool-s9zns2yk.js → credential-e23z2b6q.js} +12 -12
- package/dist/chunks/{tool-kh9rt25c.js → credential-e71x36jh.js} +14 -14
- package/dist/chunks/{tool-e834z07m.js → credential-e834z07m.js} +1 -1
- package/dist/chunks/credential-etcm32bf.js +356 -0
- package/dist/chunks/{tool-5n6snyjt.js → credential-eth7w1ws.js} +42 -32
- package/dist/chunks/{tool-5k0vn9gs.js → credential-f3erva9m.js} +10 -5
- package/dist/chunks/{tool-x75vegnr.js → credential-f5ydn5fg.js} +11 -11
- package/dist/chunks/{tool-5wtqv2es.js → credential-f7s46jf6.js} +5 -5
- package/dist/chunks/{tool-kcw9vyak.js → credential-fds3jynx.js} +11 -11
- package/dist/chunks/{tool-fffv3p7h.js → credential-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-prq7xxp2.js → credential-fg9p65nk.js} +6 -6
- package/dist/chunks/{tool-pckyv4f2.js → credential-fh43wqrx.js} +30 -30
- package/dist/chunks/{tool-agmw1zcy.js → credential-fneb0zf4.js} +44 -44
- package/dist/chunks/{tool-f1kzydc9.js → credential-fpap23jy.js} +24 -24
- package/dist/chunks/{tool-qakjdagf.js → credential-fpg34aj9.js} +21 -21
- package/dist/chunks/{tool-nn3qjkhj.js → credential-fqx72tyj.js} +11 -11
- package/dist/chunks/{tool-yqveydy6.js → credential-fwp9mfc9.js} +4 -4
- package/dist/chunks/{tool-wr3re1en.js → credential-fznmdakp.js} +4 -4
- package/dist/chunks/{tool-2esqe60t.js → credential-g38vz1ag.js} +15 -15
- package/dist/chunks/{tool-j56qcejd.js → credential-g4hd4tqj.js} +348 -330
- package/dist/chunks/{tool-ds82yrjj.js → credential-g5nf4rjy.js} +22 -22
- package/dist/chunks/{tool-nfq3amnp.js → credential-g9r4jbb8.js} +23 -23
- package/dist/chunks/{tool-e4vy1v26.js → credential-ge9gsrez.js} +21 -21
- package/dist/chunks/{tool-78kz22ny.js → credential-gfk2zkvt.js} +26 -26
- package/dist/chunks/{tool-gg8p9cgs.js → credential-gg8p9cgs.js} +3 -3
- package/dist/chunks/{tool-bgs9y14h.js → credential-ghrzdqqx.js} +5 -5
- package/dist/chunks/{tool-mpvgefqy.js → credential-gkw5tmj9.js} +4 -4
- package/dist/chunks/{tool-sa46y2cf.js → credential-grghrhjz.js} +18 -18
- package/dist/chunks/{tool-8feq5yxx.js → credential-gx1r7nq1.js} +18 -18
- package/dist/chunks/{tool-bavxd7np.js → credential-gx98ktag.js} +16 -16
- package/dist/chunks/{tool-pfstxkm2.js → credential-gxz26haq.js} +14 -6
- package/dist/chunks/{tool-1qb2fn2e.js → credential-h0gszfyz.js} +11 -11
- package/dist/chunks/{tool-m89ew3ks.js → credential-hby6rmzj.js} +26 -26
- package/dist/chunks/{tool-9nkjg9qd.js → credential-hn4sj8vd.js} +5 -5
- package/dist/chunks/{tool-19y1mz66.js → credential-hpcxzwwk.js} +5 -5
- package/dist/chunks/{tool-hpg1pkwy.js → credential-hpg1pkwy.js} +1 -1
- package/dist/chunks/{tool-vb80j1wh.js → credential-hqxkkta1.js} +3 -3
- package/dist/chunks/{tool-j04c4e1z.js → credential-hw81h15x.js} +57 -28
- package/dist/chunks/{tool-jsqg4353.js → credential-j5gjnx76.js} +19 -19
- package/dist/chunks/{tool-p84syj9g.js → credential-j63f8txt.js} +26 -26
- package/dist/chunks/{tool-wz464gjx.js → credential-j71pyjxy.js} +8 -8
- package/dist/chunks/{tool-8cvc109z.js → credential-j9m7wknr.js} +20 -20
- package/dist/chunks/{tool-6twykydk.js → credential-jcqm84fr.js} +9 -9
- package/dist/chunks/{tool-jfaecv01.js → credential-jfaecv01.js} +1 -1
- package/dist/chunks/{tool-jtnps1zs.js → credential-jtnps1zs.js} +2 -2
- package/dist/chunks/{tool-1px95g66.js → credential-jyeaxm3w.js} +22 -22
- package/dist/chunks/{tool-xw4ev616.js → credential-jzyke2ba.js} +22 -22
- package/dist/chunks/{tool-k814nvkf.js → credential-k814nvkf.js} +1 -1
- package/dist/chunks/{tool-2xw2f3vf.js → credential-k8qb7q2x.js} +11 -11
- package/dist/chunks/{tool-yxjvbhxs.js → credential-k98prhpv.js} +4 -4
- package/dist/chunks/{tool-e07q2w5p.js → credential-k9zkdd2y.js} +4 -4
- package/dist/chunks/{tool-0fhbvqtr.js → credential-kaa2rt48.js} +7 -7
- package/dist/chunks/{tool-hdfrs5mg.js → credential-kcg78dnn.js} +7 -7
- package/dist/chunks/{tool-7harcha2.js → credential-kgxvfcjx.js} +5 -5
- package/dist/chunks/{tool-ra6js1h8.js → credential-kmzgegqq.js} +8 -8
- package/dist/chunks/{tool-kt3bjfbg.js → credential-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-67cvb3ht.js → credential-kyzgttvd.js} +9 -9
- package/dist/chunks/{tool-m1714858.js → credential-m1714858.js} +1 -1
- package/dist/chunks/{tool-8y4jps98.js → credential-m37sd98t.js} +4 -4
- package/dist/chunks/{tool-f8jj8vg7.js → credential-m8683jv8.js} +10 -10
- package/dist/chunks/{tool-m9w0rfyh.js → credential-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-sw5vdw2h.js → credential-mc5t9a7x.js} +11 -11
- package/dist/chunks/{tool-4t7jqkaw.js → credential-mg801ykt.js} +13 -13
- package/dist/chunks/{tool-h8wtbm19.js → credential-mpewzr3m.js} +47 -47
- package/dist/chunks/{tool-5dme8x4x.js → credential-mpsc7bv4.js} +8 -8
- package/dist/chunks/{tool-8t8mrqrh.js → credential-mqqd3hk5.js} +6 -6
- package/dist/chunks/{tool-c065g2ca.js → credential-mvd85fn1.js} +59 -55
- package/dist/chunks/credential-mxqz9txa.js +34 -0
- package/dist/chunks/{tool-4m86bj6y.js → credential-myztnk54.js} +24 -0
- package/dist/chunks/{tool-p56gnsnx.js → credential-n3gyxhch.js} +28 -28
- package/dist/chunks/{tool-780q7vq9.js → credential-n3tfvvbp.js} +5 -5
- package/dist/chunks/{tool-770pw0s1.js → credential-nah043kf.js} +4 -4
- package/dist/chunks/{tool-6rfxa98r.js → credential-ndnqagje.js} +26 -26
- package/dist/chunks/credential-nh4v3znn.js +36 -0
- package/dist/chunks/{tool-ewr5k9wg.js → credential-nm4377q9.js} +5 -5
- package/dist/chunks/{tool-tt79p4vp.js → credential-nmw1n2a0.js} +16 -16
- package/dist/chunks/{tool-nvxqht09.js → credential-np3cybhk.js} +3 -3
- package/dist/chunks/{tool-752zwhsj.js → credential-nr0dnw6m.js} +5 -5
- package/dist/chunks/{tool-12cx84te.js → credential-ntx01z7a.js} +20 -20
- package/dist/chunks/{tool-7467kx48.js → credential-nycpe6mm.js} +31 -31
- package/dist/chunks/{tool-p015t6z3.js → credential-p015t6z3.js} +2 -2
- package/dist/chunks/{tool-w08h028t.js → credential-p1njj0by.js} +9 -9
- package/dist/chunks/{tool-6mmkz41v.js → credential-p1pcd2wf.js} +12 -12
- package/dist/chunks/{tool-st7p3hwb.js → credential-p755an0a.js} +2 -2
- package/dist/chunks/{tool-p7vhpwh8.js → credential-p7vhpwh8.js} +1 -1
- package/dist/chunks/{tool-pbbktnbz.js → credential-pbbktnbz.js} +4 -4
- package/dist/chunks/{tool-pknna89w.js → credential-pknna89w.js} +1 -1
- package/dist/chunks/{tool-c1y12bqd.js → credential-pnr9fk74.js} +4 -4
- package/dist/chunks/{tool-v91xp2c8.js → credential-pnvhe9nj.js} +11 -11
- package/dist/chunks/{tool-8jkecmvj.js → credential-pqqhbn30.js} +24 -24
- package/dist/chunks/{tool-14kcwm24.js → credential-prsrv2zx.js} +12 -12
- package/dist/chunks/{tool-b7286km2.js → credential-pybyazwk.js} +9 -9
- package/dist/chunks/{tool-pfnzsr07.js → credential-q8djhvnf.js} +36 -36
- package/dist/chunks/{tool-0t332zg2.js → credential-q91aphyp.js} +6 -6
- package/dist/chunks/{tool-cwq9059v.js → credential-qbfny989.js} +21 -21
- package/dist/chunks/{tool-88degkwg.js → credential-qc3z06b5.js} +9 -9
- package/dist/chunks/{tool-nz89qvcx.js → credential-qgtmjkbw.js} +24 -24
- package/dist/chunks/{tool-mrzap57y.js → credential-qmpcwza3.js} +6 -6
- package/dist/chunks/{tool-qp7r0hxv.js → credential-qp7r0hxv.js} +1 -1
- package/dist/chunks/credential-qqvy8y24.js +45 -0
- package/dist/chunks/{tool-n0w6tq5t.js → credential-qvbj290y.js} +6 -6
- package/dist/chunks/{tool-rgmk1r1t.js → credential-qxpk38rz.js} +8 -8
- package/dist/chunks/{tool-mvzrjhep.js → credential-qyh39dz8.js} +12 -6
- package/dist/chunks/{tool-r0yr0wbs.js → credential-r0yr0wbs.js} +1 -1
- package/dist/chunks/{tool-r542h3bh.js → credential-r542h3bh.js} +1 -1
- package/dist/chunks/{tool-4pw98qd4.js → credential-r96ere88.js} +4 -4
- package/dist/chunks/{tool-rb9dy4dg.js → credential-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-y5kjjy07.js → credential-rc1hggec.js} +30 -30
- package/dist/chunks/{tool-b08y6na7.js → credential-rchdkk7p.js} +2 -2
- package/dist/chunks/credential-rgzggw2r.js +33 -0
- package/dist/chunks/{tool-02nh8ewm.js → credential-rm3qbz2f.js} +12 -12
- package/dist/chunks/{tool-rt5dr6hb.js → credential-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-jz5b6eqf.js → credential-rzd5m2bc.js} +21 -21
- package/dist/chunks/{tool-ks473cwm.js → credential-s3r7jzb8.js} +21 -21
- package/dist/chunks/{tool-zgkm4kzm.js → credential-s7gmm2q3.js} +9 -5
- package/dist/chunks/{tool-6qtsf31h.js → credential-s9fv6dbg.js} +5 -5
- package/dist/chunks/{tool-sa3fpqfw.js → credential-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-kzvqqj4g.js → credential-sar30ebp.js} +19 -19
- package/dist/chunks/{tool-4czcg6bs.js → credential-sdb9e0vb.js} +25 -17
- package/dist/chunks/{tool-vmx0pqdh.js → credential-sh6m4nea.js} +16 -16
- package/dist/chunks/{tool-dvbyh3pq.js → credential-sm0vs1nj.js} +16 -16
- package/dist/chunks/{tool-sqjzf8x2.js → credential-sqjzf8x2.js} +1 -1
- package/dist/chunks/{tool-ssfehs1z.js → credential-ssfehs1z.js} +1 -1
- package/dist/chunks/{tool-6jehphsq.js → credential-sv6qbdb8.js} +27 -27
- package/dist/chunks/{tool-svcy3p9a.js → credential-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-ks0qaf84.js → credential-svmg43vj.js} +20 -20
- package/dist/chunks/{tool-r0yvbzfa.js → credential-szazyy8v.js} +39 -39
- package/dist/chunks/{tool-pvzzwdfq.js → credential-t3wbeppe.js} +13 -13
- package/dist/chunks/{tool-w9z9y32t.js → credential-t42546yy.js} +16 -16
- package/dist/chunks/{tool-s6jj6eh0.js → credential-tc4qgq7j.js} +14 -17
- package/dist/chunks/{tool-6h9hqrxp.js → credential-tchg2t0x.js} +17 -17
- package/dist/chunks/{tool-tczq8hjw.js → credential-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-f68rfrfr.js → credential-tqnhxgm9.js} +36 -35
- package/dist/chunks/{tool-798y36pp.js → credential-tt2179fk.js} +14 -16
- package/dist/chunks/{tool-twssxy5n.js → credential-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-dwxkhmt2.js → credential-v1fpgjhe.js} +19 -19
- package/dist/chunks/{tool-r2z94j39.js → credential-v1jfr34d.js} +6 -6
- package/dist/chunks/{tool-v2r1d0zg.js → credential-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-hs9cwcgs.js → credential-v3n3vpwq.js} +27 -27
- package/dist/chunks/{tool-nfk1y8jw.js → credential-v4mmdv09.js} +28 -28
- package/dist/chunks/{tool-twcztz12.js → credential-v55n1npn.js} +43 -78
- package/dist/chunks/{tool-zdkwz0rs.js → credential-v8h33378.js} +3 -3
- package/dist/chunks/{tool-yqsmg75a.js → credential-va3vstze.js} +42 -37
- package/dist/chunks/{tool-rjf5h5f7.js → credential-vqew4rxv.js} +8 -8
- package/dist/chunks/{tool-vycsk1c7.js → credential-w1wt7qh1.js} +8 -8
- package/dist/chunks/{tool-w3wsvvr9.js → credential-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-8d9gtfa7.js → credential-wa091f1c.js} +45 -45
- package/dist/chunks/{tool-wakvkjy4.js → credential-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-wd87259q.js → credential-wd87259q.js} +1 -1
- package/dist/chunks/{tool-1dvrssaw.js → credential-we7ts2z8.js} +4 -4
- package/dist/chunks/{tool-5887ft1y.js → credential-wmzrz68n.js} +9 -9
- package/dist/chunks/{tool-wnhgecwx.js → credential-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-sc5azq8x.js → credential-wp68tbf9.js} +29 -29
- package/dist/chunks/{tool-nfga29bv.js → credential-x8c5qhdb.js} +22 -22
- package/dist/chunks/{tool-bstexjd6.js → credential-xd9cc171.js} +5 -5
- package/dist/chunks/{tool-rvy8xhsv.js → credential-xfg2wzq9.js} +28 -28
- package/dist/chunks/{tool-ge4qdnbb.js → credential-xj3m7ras.js} +13 -13
- package/dist/chunks/{tool-7tjh76vn.js → credential-xkrp785j.js} +7 -7
- package/dist/chunks/{tool-y420wvgt.js → credential-xpryanwe.js} +40 -40
- package/dist/chunks/{tool-g3b4788n.js → credential-xr858cgz.js} +28 -28
- package/dist/chunks/{tool-xt0z8zst.js → credential-xt0z8zst.js} +1 -1
- package/dist/chunks/{tool-pjtyf8t7.js → credential-xwyk9x3x.js} +27 -27
- package/dist/chunks/{tool-h0ya90rh.js → credential-xxw17ph9.js} +18 -18
- package/dist/chunks/{tool-94as0g8p.js → credential-xy0fx19g.js} +24 -24
- package/dist/chunks/{tool-jhz9911s.js → credential-y8rhj72b.js} +12 -12
- package/dist/chunks/{tool-8e0gbf5j.js → credential-yap2aqf7.js} +38 -38
- package/dist/chunks/{tool-yara3q77.js → credential-yara3q77.js} +2 -2
- package/dist/chunks/{tool-yb20nhc3.js → credential-yb20nhc3.js} +1 -1
- package/dist/chunks/credential-ymz7p2c9.js +31 -0
- package/dist/chunks/{tool-rr19gkj4.js → credential-yv7s2sp4.js} +7 -7
- package/dist/chunks/{tool-z38nccrw.js → credential-z38nccrw.js} +1 -1
- package/dist/chunks/{tool-3ewwa9eq.js → credential-z54nca32.js} +25 -25
- package/dist/chunks/{tool-bk7xq8bh.js → credential-zdn46m04.js} +8 -8
- package/dist/chunks/credential-zdy8es89.js +257 -0
- package/dist/chunks/{tool-4jw80zew.js → credential-zfad7fba.js} +82 -82
- package/dist/chunks/{tool-30wtetgq.js → credential-zgy820yb.js} +48 -48
- package/dist/chunks/{tool-ycd18cxa.js → credential-zhyc4r0c.js} +11 -11
- package/dist/chunks/{tool-q63v4kjv.js → credential-zk58pg8w.js} +14 -14
- package/dist/chunks/{tool-9t5cp16p.js → credential-zr9ea7v2.js} +29 -18
- package/dist/chunks/{tool-nq0efya9.js → credential-zxfqvegw.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +92 -91
- package/dist/config/discovery.js +91 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +108 -107
- package/dist/config/plugin/agent.js +124 -123
- package/dist/config/plugin/command.js +222 -221
- package/dist/config/plugin/compaction.js +163 -162
- package/dist/config/plugin/compatibility.js +143 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -122
- package/dist/config/plugin/image.js +122 -121
- package/dist/config/plugin/instruction.js +122 -121
- package/dist/config/plugin/location-watcher.js +124 -123
- package/dist/config/plugin/mcp.js +131 -130
- package/dist/config/plugin/policy.js +124 -123
- package/dist/config/plugin/provider.js +123 -122
- package/dist/config/plugin/reference.js +124 -123
- package/dist/config/plugin/shell.js +122 -121
- package/dist/config/plugin/skill-file.js +139 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +146 -145
- package/dist/config/plugin/snapshot.js +122 -121
- package/dist/config/plugin/source.js +123 -122
- package/dist/config/plugin/tool-output.js +123 -122
- package/dist/config/plugin/websearch.js +121 -120
- package/dist/config/plugin/worktree.js +124 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +90 -89
- package/dist/database/database.js +75 -74
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +6 -0
- package/dist/database/migration.gen.js +56 -55
- package/dist/database/migration.js +58 -57
- 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 +99 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +383 -380
- 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 +102 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +104 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +77 -76
- package/dist/file-access.js +149 -148
- package/dist/file-mutation.js +103 -102
- 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/file-watch.js +84 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +235 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +108 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +111 -110
- package/dist/form.js +93 -92
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +96 -95
- package/dist/generate.js +110 -109
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +108 -107
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +374 -371
- package/dist/instruction-discovery.js +93 -92
- package/dist/instructions/builtins.js +96 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +5 -5
- package/dist/integration.js +94 -93
- package/dist/job.js +83 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +80 -79
- package/dist/location-activity.js +164 -163
- package/dist/location-lifecycle.js +143 -142
- package/dist/location-service-map.js +95 -94
- package/dist/location-services.js +373 -370
- package/dist/location.js +92 -91
- package/dist/managed-policy.js +5 -11
- package/dist/mcp/client.js +100 -99
- package/dist/mcp/index.js +118 -117
- package/dist/mcp/instructions.js +169 -168
- package/dist/mcp/oauth.js +85 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +99 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +108 -107
- package/dist/model-resolver.js +106 -105
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +87 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +150 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +82 -81
- package/dist/plugin/agent.js +83 -82
- package/dist/plugin/command.js +111 -110
- package/dist/plugin/goal.js +16 -0
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +346 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +106 -105
- package/dist/plugin/module.js +124 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +139 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +100 -98
- package/dist/plugin/provider/azure.js +122 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +122 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -118
- package/dist/plugin/provider/configured.js +118 -117
- package/dist/plugin/provider/credential-settings.js +88 -0
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +102 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +104 -103
- package/dist/plugin/provider/gitlab.js +103 -101
- package/dist/plugin/provider/google-vertex.js +119 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +85 -84
- package/dist/plugin/provider/lmstudio.js +131 -130
- package/dist/plugin/provider/local.js +128 -127
- package/dist/plugin/provider/modal.js +101 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +131 -130
- package/dist/plugin/provider/openai-context-caps.js +99 -98
- package/dist/plugin/provider/openai.js +122 -121
- package/dist/plugin/provider/opencode.js +125 -127
- package/dist/plugin/provider/openrouter.js +100 -99
- package/dist/plugin/provider/poe.js +86 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +100 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -120
- package/dist/plugin/provider/vllm.js +131 -130
- package/dist/plugin/provider/xai.js +100 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +173 -178
- package/dist/plugin/sdk.js +83 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +142 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +364 -362
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +95 -94
- package/dist/plugin/vcs/hg.js +95 -94
- package/dist/plugin/verbosity.js +102 -101
- package/dist/plugin/warming.js +120 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +235 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +95 -94
- package/dist/provider.js +110 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -106
- package/dist/reference/instructions.js +95 -94
- package/dist/reference.js +99 -98
- package/dist/repository-cache.js +89 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +106 -105
- package/dist/rpc.js +95 -94
- package/dist/schedule/sql.js +11 -0
- package/dist/schedule.js +247 -0
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +8 -0
- package/dist/session/blob.js +121 -120
- package/dist/session/command.js +81 -80
- package/dist/session/compaction.js +163 -162
- package/dist/session/context.js +189 -188
- package/dist/session/diff.js +97 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -228
- package/dist/session/execution.js +153 -152
- package/dist/session/generate.js +189 -188
- package/dist/session/history.js +128 -127
- package/dist/session/inbox.js +137 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +86 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +133 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +156 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +157 -156
- package/dist/session/projector.js +135 -134
- package/dist/session/prompt.js +141 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +131 -130
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +240 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +107 -106
- package/dist/session/runner/publish-llm-event.js +142 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +155 -154
- package/dist/session/runner/to-llm-message.js +129 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +173 -172
- package/dist/session/shell.js +136 -135
- package/dist/session/skill.js +140 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +80 -79
- package/dist/session/store.js +134 -133
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +218 -217
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +193 -192
- package/dist/session/to-session-error.js +141 -140
- package/dist/session/transfer.js +222 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +226 -225
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +138 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +144 -143
- package/dist/skill.js +149 -148
- package/dist/snapshot.js +102 -101
- 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 +166 -165
- package/dist/tool/plugin/edit.js +157 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +159 -158
- package/dist/tool/plugin/grep.js +159 -158
- package/dist/tool/plugin/image-generate.js +238 -0
- package/dist/tool/plugin/mcp-resource.js +155 -154
- package/dist/tool/plugin/opencode.js +154 -153
- package/dist/tool/plugin/patch.js +157 -156
- package/dist/tool/plugin/question.js +147 -146
- package/dist/tool/plugin/read.js +160 -159
- package/dist/tool/plugin/schedule.js +229 -0
- package/dist/tool/plugin/shell.js +223 -222
- package/dist/tool/plugin/skill.js +150 -149
- package/dist/tool/plugin/subagent.js +227 -226
- package/dist/tool/plugin/todo.js +146 -145
- package/dist/tool/plugin/webfetch.js +152 -149
- package/dist/tool/plugin/websearch.js +146 -145
- package/dist/tool/plugin/write.js +155 -154
- package/dist/tool/read-filesystem.js +111 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/codemode/web.d.ts +23 -1
- package/dist/types/config/plugin/policy.d.ts +1 -2
- package/dist/types/database/migration/20261026223005_schedule.d.ts +3 -0
- package/dist/types/job.d.ts +7 -0
- package/dist/types/managed-policy.d.ts +2 -20
- package/dist/types/model.d.ts +3 -13
- package/dist/types/permission.d.ts +2 -0
- package/dist/types/plugin/goal.d.ts +8 -0
- package/dist/types/plugin/internal.d.ts +4 -3
- package/dist/types/plugin/module.d.ts +1 -2
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +1 -1
- package/dist/types/plugin/provider/cloudflare-ai-gateway.d.ts +1 -1
- package/dist/types/plugin/provider/cloudflare-workers-ai.d.ts +1 -1
- package/dist/types/plugin/provider/credential-settings.d.ts +33 -0
- package/dist/types/plugin/provider/gitlab.d.ts +2 -1
- package/dist/types/plugin/provider/opencode.d.ts +1 -2
- package/dist/types/schedule/sql.d.ts +298 -0
- package/dist/types/schedule.d.ts +193 -0
- package/dist/types/session/background.d.ts +40 -0
- package/dist/types/session/model-request.d.ts +1 -1
- package/dist/types/session/runner/index.d.ts +16 -0
- package/dist/types/tool/plugin/image-generate.d.ts +35 -0
- package/dist/types/tool/plugin/opencode.d.ts +1 -0
- package/dist/types/tool/plugin/schedule.d.ts +46 -0
- package/dist/types/tool/plugin/webfetch.d.ts +1 -0
- package/dist/usage-limits.js +96 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +101 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +102 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +98 -97
- package/dist/voice.js +95 -94
- package/dist/websearch.js +91 -90
- package/dist/wellknown/plugin.js +83 -82
- package/dist/wellknown.js +86 -85
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +89 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +98 -97
- package/dist/worktree.js +109 -108
- package/package.json +11 -14
- package/dist/chunks/tool-6bshxcsx.js +0 -18
- package/dist/chunks/tool-7f02p6s5.js +0 -32
- package/dist/chunks/tool-9kqcsae8.js +0 -59
- package/dist/chunks/tool-asd4mxps.js +0 -26
- package/dist/chunks/tool-j775gmwt.js +0 -171
- package/dist/chunks/tool-veqvce7d.js +0 -15
- package/dist/chunks/tool-ym463w8f.js +0 -17
- package/dist/chunks/tool-z0bkrqjs.js +0 -15
- package/dist/chunks/tool-zfjx7vmh.js +0 -257
- package/dist/plugin/provider/cohere.js +0 -7
- package/dist/plugin/provider/factory.js +0 -6
- package/dist/plugin/provider/opencode-legacy.js +0 -119
- package/dist/plugin/provider/perplexity.js +0 -7
- package/dist/plugin/provider/vercel.js +0 -103
- package/dist/types/plugin/provider/cohere.d.ts +0 -1
- package/dist/types/plugin/provider/factory.d.ts +0 -6
- package/dist/types/plugin/provider/opencode-legacy.d.ts +0 -69
- package/dist/types/plugin/provider/perplexity.d.ts +0 -1
- package/dist/types/plugin/provider/vercel.d.ts +0 -1
- /package/dist/chunks/{tool-0qkdqm5v.js → credential-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → credential-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → credential-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → credential-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1jakw16s.js → credential-1jakw16s.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → credential-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → credential-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → credential-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → credential-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → credential-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → credential-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → credential-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → credential-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → credential-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → credential-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → credential-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → credential-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → credential-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → credential-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5w3e23ze.js → credential-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → credential-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → credential-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → credential-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → credential-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → credential-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → credential-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → credential-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → credential-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → credential-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → credential-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → credential-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a058387c.js → credential-a058387c.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → credential-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → credential-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → credential-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → credential-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → credential-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-beh6qq61.js → credential-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → credential-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → credential-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → credential-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cqv5kn06.js → credential-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → credential-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → credential-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → credential-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → credential-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → credential-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → credential-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → credential-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → credential-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → credential-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → credential-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → credential-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → credential-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → credential-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → credential-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → credential-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → credential-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fkpq3x5p.js → credential-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → credential-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → credential-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → credential-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → credential-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → credential-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → credential-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → credential-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → credential-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → credential-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → credential-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → credential-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jwr30sdr.js → credential-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → credential-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → credential-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → credential-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → credential-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → credential-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → credential-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → credential-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-ncqqe42p.js → credential-ncqqe42p.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → credential-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-p71gwv9c.js → credential-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → credential-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → credential-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → credential-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → credential-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → credential-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → credential-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → credential-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → credential-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → credential-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → credential-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → credential-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → credential-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → credential-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → credential-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → credential-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → credential-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → credential-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → credential-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → credential-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → credential-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → credential-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → credential-z9919s4g.js} +0 -0
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-yv7s2sp4.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service86,
|
|
8
8
|
node90
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-pnr9fk74.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./credential-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./credential-b6vsg801.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./credential-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./credential-034tev2y.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./credential-gg8p9cgs.js";
|
|
31
31
|
import {
|
|
32
32
|
User3
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./credential-fg9p65nk.js";
|
|
34
34
|
import {
|
|
35
35
|
externalize2,
|
|
36
36
|
recordRefs2,
|
|
37
37
|
syncRefs2,
|
|
38
38
|
releaseFrom2,
|
|
39
39
|
releaseSession2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./credential-qmpcwza3.js";
|
|
41
41
|
import {
|
|
42
42
|
apply2,
|
|
43
43
|
initialize3,
|
|
44
44
|
advanceEpoch2,
|
|
45
45
|
rewind2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./credential-pbbktnbz.js";
|
|
47
47
|
import {
|
|
48
48
|
decodeMessageRowSync2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./credential-qc3z06b5.js";
|
|
50
50
|
import {
|
|
51
51
|
projectAdmitted2,
|
|
52
52
|
projectDelivered2,
|
|
53
53
|
projectCancelled2,
|
|
54
54
|
projectDeliveryChanged2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./credential-ge9gsrez.js";
|
|
56
56
|
import {
|
|
57
57
|
initialize2
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./credential-acns5kb5.js";
|
|
59
59
|
import {
|
|
60
60
|
Slug2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./credential-gebd4c9n.js";
|
|
62
62
|
import {
|
|
63
63
|
__export
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./credential-9rqn6x4v.js";
|
|
65
65
|
|
|
66
66
|
// src/session/projector.ts
|
|
67
67
|
var exports_projector = {};
|
|
68
68
|
__export(exports_projector, {
|
|
69
69
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
70
70
|
SessionProjector: () => exports_projector,
|
|
71
|
-
node: () =>
|
|
71
|
+
node: () => node30
|
|
72
72
|
});
|
|
73
73
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
74
74
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -508,6 +508,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
508
508
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
509
509
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
510
510
|
}));
|
|
511
|
-
var
|
|
511
|
+
var node30 = makeGlobalNode({ name: "session-projector", layer, deps: [node90, node91] });
|
|
512
512
|
|
|
513
|
-
export { SessionAlreadyProjected2,
|
|
513
|
+
export { SessionAlreadyProjected2, node30, exports_projector };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2,
|
|
6
6
|
exists2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-svcy3p9a.js";
|
|
8
8
|
import {
|
|
9
9
|
execDefaults2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-jtnps1zs.js";
|
|
11
11
|
import {
|
|
12
12
|
makeLocalDriver2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-cwrgdav8.js";
|
|
14
14
|
import {
|
|
15
15
|
makeMemoryDriver2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./credential-twssxy5n.js";
|
|
17
17
|
import {
|
|
18
18
|
Service83,
|
|
19
19
|
node87
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./credential-4hn0zw0c.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service57,
|
|
23
|
+
node60
|
|
24
|
+
} from "./credential-n3gyxhch.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./credential-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/environment/environment.ts
|
|
30
30
|
var exports_environment2 = {};
|
|
31
31
|
__export(exports_environment2, {
|
|
32
32
|
EnvironmentService: () => exports_environment2,
|
|
33
|
-
Service: () =>
|
|
34
|
-
node: () =>
|
|
33
|
+
Service: () => Service56,
|
|
34
|
+
node: () => node59
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
// src/environment/index.ts
|
|
@@ -40,14 +40,14 @@ __export(exports_environment3, {
|
|
|
40
40
|
Environment: () => exports_environment3,
|
|
41
41
|
Failed: () => Failed2,
|
|
42
42
|
NotFound: () => NotFound3,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service56,
|
|
44
44
|
WrongKind: () => WrongKind2,
|
|
45
45
|
execDefaults: () => execDefaults2,
|
|
46
46
|
exists: () => exists2,
|
|
47
47
|
makeFiles: () => makeFiles2,
|
|
48
48
|
makeLocalDriver: () => makeLocalDriver2,
|
|
49
49
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
50
|
-
node: () =>
|
|
50
|
+
node: () => node59,
|
|
51
51
|
typeFollowing: () => typeFollowing2
|
|
52
52
|
});
|
|
53
53
|
|
|
@@ -63,19 +63,19 @@ var makeFiles2 = (driver) => ({
|
|
|
63
63
|
});
|
|
64
64
|
|
|
65
65
|
// src/environment/environment.ts
|
|
66
|
-
class
|
|
66
|
+
class Service56 extends Context.Service()("@opencode/Environment") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
69
69
|
const spawner = yield* ChildProcessSpawner;
|
|
70
70
|
const location = yield* Service83;
|
|
71
|
-
const workspace = yield*
|
|
71
|
+
const workspace = yield* Service57;
|
|
72
72
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
73
|
-
return
|
|
73
|
+
return Service56.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
75
|
+
var node59 = makeLocationNode({
|
|
76
|
+
service: Service56,
|
|
77
77
|
layer,
|
|
78
|
-
deps: [CrossSpawnSpawner.node, node87,
|
|
78
|
+
deps: [CrossSpawnSpawner.node, node87, node60]
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
export {
|
|
81
|
+
export { Service56, node59, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node79
|
|
4
|
+
} from "./credential-8ppy984g.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-np3cybhk.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./credential-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
19
|
+
Service: () => Service74,
|
|
20
20
|
make: () => make21,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -38,6 +38,12 @@ var Background = Schema.Struct({
|
|
|
38
38
|
childSessionID: SessionSchema2.ID,
|
|
39
39
|
agent: Schema.String,
|
|
40
40
|
description: Schema.String
|
|
41
|
+
}),
|
|
42
|
+
Schema.Struct({
|
|
43
|
+
kind: Schema.Literal("image"),
|
|
44
|
+
sessionID: SessionSchema2.ID,
|
|
45
|
+
path: Schema.String,
|
|
46
|
+
model: Schema.String
|
|
41
47
|
})
|
|
42
48
|
]),
|
|
43
49
|
status: Schema.Literals(["running", "completed", "error", "cancelled"]),
|
|
@@ -48,7 +54,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
54
|
var backgroundPrefix = "job.background/";
|
|
49
55
|
var COMPLETED_LIMIT = 25;
|
|
50
56
|
|
|
51
|
-
class
|
|
57
|
+
class Service74 extends Context.Service()("@opencode/Job") {
|
|
52
58
|
}
|
|
53
59
|
function snapshot(job) {
|
|
54
60
|
return {
|
|
@@ -84,7 +90,7 @@ function decrementSession(input, sessionID) {
|
|
|
84
90
|
return next;
|
|
85
91
|
}
|
|
86
92
|
var make21 = Effect.gen(function* () {
|
|
87
|
-
const kv = yield*
|
|
93
|
+
const kv = yield* Service75;
|
|
88
94
|
const state = {
|
|
89
95
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
96
|
scope: yield* Scope.Scope
|
|
@@ -343,7 +349,7 @@ var make21 = Effect.gen(function* () {
|
|
|
343
349
|
next.delete(entry[0]);
|
|
344
350
|
return next;
|
|
345
351
|
})));
|
|
346
|
-
return
|
|
352
|
+
return Service74.of({
|
|
347
353
|
get,
|
|
348
354
|
start,
|
|
349
355
|
wait,
|
|
@@ -356,7 +362,7 @@ var make21 = Effect.gen(function* () {
|
|
|
356
362
|
completeBackground
|
|
357
363
|
});
|
|
358
364
|
});
|
|
359
|
-
var layer = Layer.effect(
|
|
360
|
-
var
|
|
365
|
+
var layer = Layer.effect(Service74, make21);
|
|
366
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node79] });
|
|
361
367
|
|
|
362
|
-
export {
|
|
368
|
+
export { Service74, make21, node78, exports_job };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./credential-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./credential-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service55,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node58
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service55 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service55.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node58 = makeLocationNode({
|
|
143
|
+
service: Service55,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service55, node58, exports_tool_output2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info16
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info16 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info20 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info16, exports_command4 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin5
|
|
3
|
+
} from "./credential-nm4377q9.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin8
|
|
6
|
+
} from "./credential-pybyazwk.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin6
|
|
9
|
+
} from "./credential-65m06x48.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin4
|
|
12
|
+
} from "./credential-cth8y227.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin7
|
|
15
|
+
} from "./credential-8ecyv6n4.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin5,
|
|
20
|
+
Plugin8,
|
|
21
|
+
Plugin6,
|
|
22
|
+
Plugin4,
|
|
23
|
+
Plugin7
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-xr858cgz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./credential-eth7w1ws.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./credential-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./credential-pnr9fk74.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./credential-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
Service83,
|
|
11
11
|
node87
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./credential-4hn0zw0c.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service69,
|
|
20
|
+
node73,
|
|
21
|
+
Event13
|
|
22
|
+
} from "./credential-va3vstze.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./credential-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,28 +30,28 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event12,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info18,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service67,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
46
|
-
parse: () =>
|
|
45
|
+
node: () => node71,
|
|
46
|
+
parse: () => parse4,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
49
49
|
import { Model } from "@opencode/schema/model";
|
|
50
50
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
|
-
import { Event as
|
|
54
|
-
var
|
|
53
|
+
import { Event as Event12 } from "@opencode/schema/model";
|
|
54
|
+
var ID11 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,12 +69,12 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info18 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service67 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const providers = yield*
|
|
76
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
77
|
+
const providers = yield* Service69;
|
|
78
78
|
const bus = yield* Service86;
|
|
79
79
|
const location = yield* Service83;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info18.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID12.opencode, ID12.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -227,8 +227,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
227
227
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
|
-
yield* bus.subscribe(
|
|
231
|
-
return
|
|
230
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
+
return Service67.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node71 = makeLocationNode({ service: Service67, layer, deps: [node73, node90, node87] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID12.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -271,12 +271,12 @@ function compatibility2(input) {
|
|
|
271
271
|
return;
|
|
272
272
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function parse4(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info18, Service67, node71, supportsText2, compatibility2, parse4, exports_model2, Event12 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info14
|
|
7
|
+
} from "./credential-9axz1114.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./credential-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent4,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info13
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info14)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info13 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info13, exports_agent4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./credential-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: () => Info21,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
|
-
Status: () =>
|
|
12
|
+
Status: () => Status4,
|
|
13
13
|
key: () => key2
|
|
14
14
|
});
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var Info21 = Connection.Info;
|
|
19
|
+
var Status4 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
22
22
|
return;
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info21, Status4, key2, exports_connection };
|