@opencode/core 0.0.0-dev-21894 → 0.0.0-dev-21904
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 +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{image-034tev2y.js → location-lifecycle-034tev2y.js} +2 -2
- package/dist/chunks/{image-ypfyeefr.js → location-lifecycle-06nwrmf6.js} +12 -12
- package/dist/chunks/{image-8y4jps98.js → location-lifecycle-06w9ffrv.js} +7 -7
- package/dist/chunks/{image-tbebkah3.js → location-lifecycle-07wce5wt.js} +22 -22
- package/dist/chunks/{image-n452f4c5.js → location-lifecycle-0brqqc0q.js} +14 -14
- package/dist/chunks/{image-mrpqwg29.js → location-lifecycle-0dac8qyv.js} +21 -21
- package/dist/chunks/{image-zntxr30m.js → location-lifecycle-0h5wz40x.js} +12 -12
- package/dist/chunks/{image-11hfp36g.js → location-lifecycle-11hfp36g.js} +1 -1
- package/dist/chunks/{image-zdmjncrg.js → location-lifecycle-16tr01kr.js} +42 -42
- package/dist/chunks/{image-6tq0mqqx.js → location-lifecycle-1854mtwd.js} +31 -31
- package/dist/chunks/{image-vrcsa8qx.js → location-lifecycle-18g90bpv.js} +9 -9
- package/dist/chunks/{image-cwcefvfr.js → location-lifecycle-1ddtv1wh.js} +20 -20
- package/dist/chunks/{image-1ep2p91f.js → location-lifecycle-1ep2p91f.js} +2 -2
- package/dist/chunks/{image-8f6rjm1e.js → location-lifecycle-1kvdpfxt.js} +20 -20
- package/dist/chunks/{image-hsapky1s.js → location-lifecycle-1p4af9gz.js} +17 -17
- package/dist/chunks/{image-m7pchqqv.js → location-lifecycle-1s6q89ws.js} +16 -16
- package/dist/chunks/{image-1x2knyw4.js → location-lifecycle-1x2knyw4.js} +1 -1
- package/dist/chunks/{image-5af0y8wk.js → location-lifecycle-1xr6d57w.js} +28 -28
- package/dist/chunks/{image-1yq9hg58.js → location-lifecycle-1yq9hg58.js} +1 -1
- package/dist/chunks/{image-204s3925.js → location-lifecycle-204s3925.js} +1 -1
- package/dist/chunks/{image-1ya9fna5.js → location-lifecycle-22xkwp5y.js} +13 -13
- package/dist/chunks/{image-pgtf141g.js → location-lifecycle-237ewayp.js} +16 -16
- package/dist/chunks/{image-dr9fxamp.js → location-lifecycle-2g1yfgkz.js} +14 -14
- package/dist/chunks/{image-0f33tz00.js → location-lifecycle-2gw38hjw.js} +16 -16
- package/dist/chunks/{image-9gs10211.js → location-lifecycle-2hc7n1yv.js} +84 -84
- package/dist/chunks/{image-a1s8yyjv.js → location-lifecycle-2htwejxb.js} +26 -26
- package/dist/chunks/{image-0zav5kyp.js → location-lifecycle-2j3fw42e.js} +22 -22
- package/dist/chunks/{image-p8kmn6p1.js → location-lifecycle-2nq64rp4.js} +3 -3
- package/dist/chunks/{image-85a8a4f2.js → location-lifecycle-2p698j2e.js} +14 -14
- package/dist/chunks/{image-6ac2qzqj.js → location-lifecycle-2t75stp9.js} +11 -11
- package/dist/chunks/{image-4een2pqp.js → location-lifecycle-2y038ase.js} +24 -24
- package/dist/chunks/{image-2z1j29yd.js → location-lifecycle-2z1j29yd.js} +1 -1
- package/dist/chunks/{image-hdfrs5mg.js → location-lifecycle-3bnf6a24.js} +9 -9
- package/dist/chunks/{image-b6j7grnb.js → location-lifecycle-3bq2xv80.js} +6 -6
- package/dist/chunks/{image-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-60qa52yq.js → location-lifecycle-3kep9b6s.js} +18 -18
- package/dist/chunks/{image-nwrh4nrz.js → location-lifecycle-3nftx4p7.js} +20 -20
- package/dist/chunks/{image-3nnrz6f6.js → location-lifecycle-3nnrz6f6.js} +1 -1
- package/dist/chunks/{image-j3371k5r.js → location-lifecycle-3v6zwrj6.js} +18 -18
- package/dist/chunks/{image-40za9wsf.js → location-lifecycle-40za9wsf.js} +2 -2
- package/dist/chunks/{image-ee12drxn.js → location-lifecycle-48z39wh8.js} +8 -8
- package/dist/chunks/{image-35kr33c6.js → location-lifecycle-4aszvcme.js} +6 -6
- package/dist/chunks/{image-c9haesmz.js → location-lifecycle-4h0zwv6q.js} +54 -54
- package/dist/chunks/{image-28d6a7kc.js → location-lifecycle-4k40db64.js} +40 -40
- package/dist/chunks/{image-4v008n1t.js → location-lifecycle-4v008n1t.js} +1 -1
- package/dist/chunks/{image-4xvmh7wp.js → location-lifecycle-4xvmh7wp.js} +3 -3
- package/dist/chunks/location-lifecycle-4y39y49j.js +257 -0
- package/dist/chunks/{image-7hqnhvmk.js → location-lifecycle-53v4pwz8.js} +6 -6
- package/dist/chunks/{image-p2x2ykdn.js → location-lifecycle-55ryvsjh.js} +12 -12
- package/dist/chunks/{image-2ccysd6w.js → location-lifecycle-57cc1ka1.js} +13 -13
- package/dist/chunks/{image-r9amg80d.js → location-lifecycle-5f3hpve7.js} +29 -29
- package/dist/chunks/{image-5et41axm.js → location-lifecycle-5fb4tm9p.js} +9 -9
- package/dist/chunks/{image-kpnmqdrr.js → location-lifecycle-5m9cbdv5.js} +4 -4
- package/dist/chunks/{image-5m9w47nd.js → location-lifecycle-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-15wvffc0.js → location-lifecycle-5pkyn065.js} +21 -21
- package/dist/chunks/{image-8qrjb01m.js → location-lifecycle-5v9x2mvq.js} +9 -9
- package/dist/chunks/{image-pkwadbh0.js → location-lifecycle-5vdys53c.js} +29 -29
- package/dist/chunks/{image-zgt5j0h2.js → location-lifecycle-5vzhy7nz.js} +4 -4
- package/dist/chunks/{image-nxfd4m75.js → location-lifecycle-69wtav9m.js} +3 -3
- package/dist/chunks/{image-mn2dt8ay.js → location-lifecycle-6c3j79j6.js} +1 -1
- package/dist/chunks/{image-6esdw8yj.js → location-lifecycle-6esdw8yj.js} +1 -1
- package/dist/chunks/{image-r93dx0pk.js → location-lifecycle-6p997nz8.js} +31 -31
- package/dist/chunks/{image-v9khnj00.js → location-lifecycle-6pg21tdb.js} +13 -13
- package/dist/chunks/{image-6pjqjmy2.js → location-lifecycle-6pjqjmy2.js} +1 -1
- package/dist/chunks/{image-7evmvwfr.js → location-lifecycle-6pwvh8j6.js} +2 -2
- package/dist/chunks/{image-x7hq4v6t.js → location-lifecycle-6wz31r82.js} +11 -11
- package/dist/chunks/{image-76cb1hcw.js → location-lifecycle-76cb1hcw.js} +1 -1
- package/dist/chunks/{image-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-k2zexe6b.js → location-lifecycle-7hbdkq5s.js} +26 -26
- package/dist/chunks/{image-qvm0zdhb.js → location-lifecycle-7mfqv470.js} +17 -17
- package/dist/chunks/{image-3h718rah.js → location-lifecycle-7sjxr6w7.js} +16 -16
- package/dist/chunks/{image-vha83cg2.js → location-lifecycle-7ss45wyd.js} +8 -8
- package/dist/chunks/{image-7w2ypzdf.js → location-lifecycle-7w2ypzdf.js} +1 -1
- package/dist/chunks/{image-pg8xwt5s.js → location-lifecycle-7y9hba0k.js} +2 -2
- package/dist/chunks/{image-8ycv8ygb.js → location-lifecycle-813t1ra1.js} +13 -13
- package/dist/chunks/{image-t0bc7c9c.js → location-lifecycle-88wmvp6j.js} +4 -4
- package/dist/chunks/{image-ncqafsx0.js → location-lifecycle-8g590t18.js} +25 -25
- package/dist/chunks/{image-5fxf8m1w.js → location-lifecycle-8hfx75p4.js} +38 -38
- package/dist/chunks/{image-bcpp1tvw.js → location-lifecycle-8pcgp6f5.js} +25 -25
- package/dist/chunks/{image-6y263vp8.js → location-lifecycle-8wc2fpae.js} +5 -5
- package/dist/chunks/{image-8wtp7s3z.js → location-lifecycle-8wtp7s3z.js} +1 -1
- package/dist/chunks/{image-7nxtby5e.js → location-lifecycle-8x1b5m6z.js} +8 -8
- package/dist/chunks/{image-ky8tssh9.js → location-lifecycle-8xspmfrn.js} +12 -12
- package/dist/chunks/{image-91rj84md.js → location-lifecycle-91rj84md.js} +1 -1
- package/dist/chunks/{image-rvpj35j6.js → location-lifecycle-99pbkj35.js} +11 -11
- package/dist/chunks/{image-nsjyjchz.js → location-lifecycle-9b44swh1.js} +13 -13
- package/dist/chunks/{image-9cx9sm2q.js → location-lifecycle-9cx9sm2q.js} +1 -1
- package/dist/chunks/{image-rnmnt1zv.js → location-lifecycle-9fjcqh5g.js} +90 -90
- package/dist/chunks/{image-cp9gsj1w.js → location-lifecycle-9n920ys1.js} +7 -7
- package/dist/chunks/{image-jn88007r.js → location-lifecycle-9qcg53ez.js} +9 -9
- package/dist/chunks/{image-49c735ne.js → location-lifecycle-9qhk4t0d.js} +15 -15
- package/dist/chunks/{image-kwecz68a.js → location-lifecycle-9smzgq5j.js} +5 -5
- package/dist/chunks/{image-rh4sx1pa.js → location-lifecycle-9v6xdh0r.js} +31 -35
- package/dist/chunks/{image-bdc18mvy.js → location-lifecycle-9zhpae1a.js} +9 -9
- package/dist/chunks/{image-asgc5s7p.js → location-lifecycle-a1282qv7.js} +8 -8
- package/dist/chunks/{image-vxep47rf.js → location-lifecycle-abzaa874.js} +18 -18
- package/dist/chunks/{image-zk95xct4.js → location-lifecycle-aqppgxp6.js} +1 -1
- package/dist/chunks/{image-ayjs7tqn.js → location-lifecycle-ayjs7tqn.js} +2 -2
- package/dist/chunks/{image-b0mv4wxm.js → location-lifecycle-b0mv4wxm.js} +2 -2
- package/dist/chunks/{image-1p4yt6ne.js → location-lifecycle-b2hp4c95.js} +13 -13
- package/dist/chunks/{image-p7ajhkt3.js → location-lifecycle-b55zwr2z.js} +59 -59
- package/dist/chunks/{image-b6vsg801.js → location-lifecycle-b6vsg801.js} +2 -2
- package/dist/chunks/{image-80m5xgxj.js → location-lifecycle-b9fw4xdr.js} +8 -8
- package/dist/chunks/{image-ytn8yj3j.js → location-lifecycle-b9k10sgv.js} +19 -19
- package/dist/chunks/{image-fjrrbk94.js → location-lifecycle-ba7dfhfp.js} +8 -8
- package/dist/chunks/{image-2sr7r47n.js → location-lifecycle-bajjb1bz.js} +18 -18
- package/dist/chunks/{image-2mvc8y7w.js → location-lifecycle-btpwtcsr.js} +19 -19
- package/dist/chunks/{image-7cw7v3jn.js → location-lifecycle-bzngcnd3.js} +7 -7
- package/dist/chunks/{image-h0bne5vx.js → location-lifecycle-c4d4256s.js} +32 -32
- package/dist/chunks/{image-g9j07dct.js → location-lifecycle-cdhecegn.js} +35 -35
- package/dist/chunks/{image-6mnd27wh.js → location-lifecycle-cfgbj1es.js} +16 -16
- package/dist/chunks/{image-gvpcwzxz.js → location-lifecycle-cfgywxtx.js} +30 -30
- package/dist/chunks/{image-k6ve0bec.js → location-lifecycle-cr3d5jmh.js} +24 -24
- package/dist/chunks/{image-chmh4bqg.js → location-lifecycle-ctktw2dy.js} +17 -17
- package/dist/chunks/{image-fbgksv32.js → location-lifecycle-cwcj0bkq.js} +9 -9
- package/dist/chunks/{image-d4v9tmah.js → location-lifecycle-d4v9tmah.js} +2 -2
- package/dist/chunks/{image-bs9449bv.js → location-lifecycle-dchtbch3.js} +16 -16
- package/dist/chunks/{image-djjzzs3c.js → location-lifecycle-djjzzs3c.js} +3 -3
- package/dist/chunks/{image-zdj0mree.js → location-lifecycle-dtezmnpk.js} +21 -21
- package/dist/chunks/{image-ky7xv0tv.js → location-lifecycle-dzyrc88t.js} +6 -6
- package/dist/chunks/{image-k7twgq46.js → location-lifecycle-e0prt3zy.js} +10 -10
- package/dist/chunks/{image-3fxg60jv.js → location-lifecycle-e12ev8aa.js} +17 -17
- package/dist/chunks/{image-cnj75yzs.js → location-lifecycle-e45fk36t.js} +4 -4
- package/dist/chunks/{image-0twh7x0p.js → location-lifecycle-e5geb6jf.js} +43 -43
- package/dist/chunks/{image-e834z07m.js → location-lifecycle-e834z07m.js} +1 -1
- package/dist/chunks/{image-qaxg3z3a.js → location-lifecycle-ebc3z5zc.js} +9 -9
- package/dist/chunks/{image-sx8nkve2.js → location-lifecycle-ebe124zh.js} +18 -18
- package/dist/chunks/{image-gcq7bt32.js → location-lifecycle-eckcpb9w.js} +14 -14
- package/dist/chunks/{image-br2qb96s.js → location-lifecycle-edfpqy0g.js} +24 -24
- package/dist/chunks/{image-gbbxnba2.js → location-lifecycle-emamgzcc.js} +6 -6
- package/dist/chunks/{image-pdj0m96v.js → location-lifecycle-ex3bgfye.js} +12 -12
- package/dist/chunks/{image-szn95e7f.js → location-lifecycle-exqdzs7b.js} +13 -13
- package/dist/chunks/{image-1w2zn1e5.js → location-lifecycle-f1fmm4s0.js} +4 -4
- package/dist/chunks/{image-jjshshm4.js → location-lifecycle-f78y5yfn.js} +17 -17
- package/dist/chunks/{image-a8kzmvy3.js → location-lifecycle-f9m5snxj.js} +1 -1
- package/dist/chunks/{image-fffv3p7h.js → location-lifecycle-fffv3p7h.js} +1 -1
- package/dist/chunks/{image-489czqv0.js → location-lifecycle-fftg93kk.js} +13 -13
- package/dist/chunks/location-lifecycle-fgshcksa.js +26 -0
- package/dist/chunks/{image-gkx199ke.js → location-lifecycle-ftyb4bt4.js} +5 -5
- package/dist/chunks/{image-fznmdakp.js → location-lifecycle-fznmdakp.js} +1 -1
- package/dist/chunks/{image-aa7k1xs2.js → location-lifecycle-g2xjhw2s.js} +9 -9
- package/dist/chunks/{image-w2gxr2bn.js → location-lifecycle-g4fp8y9b.js} +11 -11
- package/dist/chunks/{image-g5h9c0rr.js → location-lifecycle-g5h9c0rr.js} +2 -2
- package/dist/chunks/{image-b13kx4jn.js → location-lifecycle-g64n217e.js} +3 -3
- package/dist/chunks/{image-yn1cc37b.js → location-lifecycle-g9zc4kvp.js} +20 -20
- package/dist/chunks/{image-1eqy2zth.js → location-lifecycle-ge6s3szb.js} +41 -41
- package/dist/chunks/{image-0jq6xs6g.js → location-lifecycle-gfq2q65k.js} +28 -28
- package/dist/chunks/{image-gg8p9cgs.js → location-lifecycle-gg8p9cgs.js} +3 -3
- package/dist/chunks/{image-e89kw89p.js → location-lifecycle-ggqvht48.js} +25 -25
- package/dist/chunks/{image-3fxvhw31.js → location-lifecycle-gk6yq9ge.js} +13 -13
- package/dist/chunks/{image-dx875p31.js → location-lifecycle-grn30nfh.js} +19 -19
- package/dist/chunks/{image-grzehpz7.js → location-lifecycle-grzehpz7.js} +1 -1
- package/dist/chunks/{image-pr13x5tz.js → location-lifecycle-gszga537.js} +11 -11
- package/dist/chunks/{image-sn1fshxa.js → location-lifecycle-hfr45g07.js} +14 -14
- package/dist/chunks/{image-x2askrax.js → location-lifecycle-hjwnkcjt.js} +3 -3
- package/dist/chunks/{image-r5ef1bj7.js → location-lifecycle-hksqw4ej.js} +34 -34
- package/dist/chunks/{image-v8w1bnvx.js → location-lifecycle-hptvnvez.js} +38 -38
- package/dist/chunks/{image-j113cymg.js → location-lifecycle-j113cymg.js} +1 -1
- package/dist/chunks/{image-hz51tbbp.js → location-lifecycle-j14k6chz.js} +15 -15
- package/dist/chunks/{image-bn7x7enw.js → location-lifecycle-j5kxe7gw.js} +4 -4
- package/dist/chunks/{image-ay0zdfv2.js → location-lifecycle-j5wyeps3.js} +6 -6
- package/dist/chunks/{image-ynrq1a8k.js → location-lifecycle-jefw9j3y.js} +4 -4
- package/dist/chunks/{image-zqyt9eh5.js → location-lifecycle-jketesf9.js} +50 -50
- package/dist/chunks/{image-z3294gqc.js → location-lifecycle-jqszbypq.js} +4 -4
- package/dist/chunks/{image-npqrkmj2.js → location-lifecycle-jsfpeb17.js} +11 -11
- package/dist/chunks/{image-t0b83k8a.js → location-lifecycle-jsgb4346.js} +27 -27
- package/dist/chunks/{image-2b68dg32.js → location-lifecycle-jsrf6v1q.js} +48 -48
- package/dist/chunks/{image-94v32shx.js → location-lifecycle-jz24mbg3.js} +2 -2
- package/dist/chunks/{image-k814nvkf.js → location-lifecycle-k814nvkf.js} +1 -1
- package/dist/chunks/{image-kqrbk72r.js → location-lifecycle-kaf9q40m.js} +3 -3
- package/dist/chunks/{image-y4pr8w8r.js → location-lifecycle-kf2h4xyb.js} +23 -23
- package/dist/chunks/{image-1yefr3a7.js → location-lifecycle-kg80dk6f.js} +11 -11
- package/dist/chunks/{image-0t1h01ha.js → location-lifecycle-kghfnwjy.js} +30 -30
- package/dist/chunks/{image-kt3bjfbg.js → location-lifecycle-kt3bjfbg.js} +1 -1
- package/dist/chunks/{image-tm90js6s.js → location-lifecycle-kvey7h6c.js} +33 -33
- package/dist/chunks/{image-m1714858.js → location-lifecycle-m1714858.js} +1 -1
- package/dist/chunks/{image-e9kxjfm5.js → location-lifecycle-m2pqg79r.js} +15 -15
- package/dist/chunks/{image-15jp5dqc.js → location-lifecycle-m68ta7nv.js} +15 -15
- package/dist/chunks/{image-n7wnam13.js → location-lifecycle-m7ee3x5c.js} +8 -8
- package/dist/chunks/{image-bkjwy8k0.js → location-lifecycle-m811wkh8.js} +39 -39
- package/dist/chunks/{image-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-p6ad9m80.js → location-lifecycle-mabrever.js} +25 -25
- package/dist/chunks/{image-maspj1v3.js → location-lifecycle-maspj1v3.js} +1 -1
- package/dist/chunks/{image-pwfx9xzx.js → location-lifecycle-mdbwqbd5.js} +9 -9
- package/dist/chunks/{image-f2kgtz6y.js → location-lifecycle-mdm9skxp.js} +11 -11
- package/dist/chunks/{image-4b5nmf5q.js → location-lifecycle-mj21cn9n.js} +30 -30
- package/dist/chunks/{image-c2gwsyxf.js → location-lifecycle-mjd59fnf.js} +10 -10
- package/dist/chunks/{image-mm7a63e9.js → location-lifecycle-mm7a63e9.js} +2 -2
- package/dist/chunks/{image-qk4nhm2w.js → location-lifecycle-mxcx64r5.js} +27 -27
- package/dist/chunks/{image-ts7mkfs9.js → location-lifecycle-my4zabxr.js} +3 -3
- package/dist/chunks/{image-twd3mrfp.js → location-lifecycle-n2kj3es4.js} +15 -15
- package/dist/chunks/{image-z5zx3gz5.js → location-lifecycle-n8tdg2dn.js} +6 -6
- package/dist/chunks/{image-770pw0s1.js → location-lifecycle-nah043kf.js} +4 -4
- package/dist/chunks/{image-405jdxex.js → location-lifecycle-naqqg9by.js} +3 -3
- package/dist/chunks/{image-dyz29spx.js → location-lifecycle-ndze05mh.js} +9 -9
- package/dist/chunks/{image-4kj4gkg1.js → location-lifecycle-nrn62vfk.js} +10 -10
- package/dist/chunks/{image-9g2m2ytf.js → location-lifecycle-nz8fnnck.js} +24 -24
- package/dist/chunks/{image-p015t6z3.js → location-lifecycle-p015t6z3.js} +2 -2
- package/dist/chunks/{image-2azy8kv6.js → location-lifecycle-p0tsr9h6.js} +4 -4
- package/dist/chunks/{image-j6mefce3.js → location-lifecycle-p1fx9hna.js} +4 -4
- package/dist/chunks/{image-ee4scs67.js → location-lifecycle-pa1gb0ya.js} +2 -2
- package/dist/chunks/{image-e07q2w5p.js → location-lifecycle-pcty9z1k.js} +4 -4
- package/dist/chunks/{image-5kgs3fk1.js → location-lifecycle-pdf7y80q.js} +6 -6
- package/dist/chunks/{image-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{image-e66yb76v.js → location-lifecycle-ptne28ba.js} +23 -23
- package/dist/chunks/{image-g8nfv600.js → location-lifecycle-py29rsp7.js} +22 -22
- package/dist/chunks/{image-wb63k751.js → location-lifecycle-pzmg9zam.js} +19 -19
- package/dist/chunks/{image-465gqz21.js → location-lifecycle-qfdpe5ja.js} +19 -19
- package/dist/chunks/{image-x7a9enwj.js → location-lifecycle-qfep59d3.js} +6 -6
- package/dist/chunks/{image-xcgcy0qm.js → location-lifecycle-qnshz4c5.js} +5 -5
- package/dist/chunks/{image-gk8k4f7x.js → location-lifecycle-qswfxq0k.js} +28 -28
- package/dist/chunks/{image-yafd30nv.js → location-lifecycle-qve47703.js} +18 -18
- package/dist/chunks/{image-731keyrx.js → location-lifecycle-qvphs0ax.js} +5 -5
- package/dist/chunks/{image-mbwgdc5a.js → location-lifecycle-qvw98tg0.js} +5 -5
- package/dist/chunks/{image-qyq8h28g.js → location-lifecycle-qyq8h28g.js} +1 -1
- package/dist/chunks/{image-r0yr0wbs.js → location-lifecycle-r0yr0wbs.js} +1 -1
- package/dist/chunks/{image-r542h3bh.js → location-lifecycle-r542h3bh.js} +1 -1
- package/dist/chunks/{image-zfyb5tr4.js → location-lifecycle-r96ere88.js} +4 -4
- package/dist/chunks/{image-rb9dy4dg.js → location-lifecycle-rb9dy4dg.js} +1 -1
- package/dist/chunks/{image-8m9tyk9p.js → location-lifecycle-rbek7c3g.js} +16 -16
- package/dist/chunks/{image-ns86x0g6.js → location-lifecycle-rk9t478w.js} +31 -31
- package/dist/chunks/{image-edfcvy1j.js → location-lifecycle-rmwarvjt.js} +5 -5
- package/dist/chunks/{image-61ennm6n.js → location-lifecycle-rrad2nt9.js} +4 -4
- package/dist/chunks/{image-rt5dr6hb.js → location-lifecycle-rt5dr6hb.js} +1 -1
- package/dist/chunks/{image-0xa5r7gy.js → location-lifecycle-ry97bwag.js} +11 -11
- package/dist/chunks/{image-6xw34d25.js → location-lifecycle-s3eq6a3a.js} +11 -11
- package/dist/chunks/{image-bw2ypeg9.js → location-lifecycle-s743rp4n.js} +13 -13
- package/dist/chunks/{image-9q8g9sv8.js → location-lifecycle-s7kyse9r.js} +4 -4
- package/dist/chunks/{image-sa3fpqfw.js → location-lifecycle-sa3fpqfw.js} +2 -2
- package/dist/chunks/{image-sqjzf8x2.js → location-lifecycle-sqjzf8x2.js} +1 -1
- package/dist/chunks/{image-tfx8q2f5.js → location-lifecycle-ssfehs1z.js} +4 -4
- package/dist/chunks/{image-96h5102f.js → location-lifecycle-st704y5s.js} +12 -12
- package/dist/chunks/{image-qd1gejzd.js → location-lifecycle-t029cn95.js} +11 -11
- package/dist/chunks/{image-41b5h7kw.js → location-lifecycle-t3rn99sx.js} +8 -8
- package/dist/chunks/{image-g1pwfypw.js → location-lifecycle-t68cfdr6.js} +29 -29
- package/dist/chunks/{image-1ph64p7d.js → location-lifecycle-t69v77pd.js} +24 -24
- package/dist/chunks/{image-tczq8hjw.js → location-lifecycle-tczq8hjw.js} +1 -1
- package/dist/chunks/{image-0hhp0beb.js → location-lifecycle-tege4698.js} +41 -41
- package/dist/chunks/{image-zh8rh1nn.js → location-lifecycle-tn29j0fz.js} +8 -8
- package/dist/chunks/{image-qx8tdc9v.js → location-lifecycle-tpj5qw1d.js} +35 -35
- package/dist/chunks/{image-2tfftvad.js → location-lifecycle-trgk37n4.js} +9 -9
- package/dist/chunks/{image-5deer1e9.js → location-lifecycle-trr9m8mz.js} +9 -9
- package/dist/chunks/{image-gggcxneh.js → location-lifecycle-ttcrhsab.js} +43 -43
- package/dist/chunks/{image-twv2r8f4.js → location-lifecycle-twv2r8f4.js} +2 -2
- package/dist/chunks/{image-v2r1d0zg.js → location-lifecycle-v2r1d0zg.js} +1 -1
- package/dist/chunks/{image-h2fknb2a.js → location-lifecycle-v5aw1fp7.js} +4 -4
- package/dist/chunks/{image-4f6p1dag.js → location-lifecycle-vatj3r5q.js} +3 -3
- package/dist/chunks/{image-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{image-ge2rcvjg.js → location-lifecycle-vh0pqgtc.js} +51 -51
- package/dist/chunks/{image-nh53frcf.js → location-lifecycle-vkrmpqtr.js} +30 -30
- package/dist/chunks/{image-81a9zpe2.js → location-lifecycle-vycsk1c7.js} +8 -8
- package/dist/chunks/{image-rmk2c50f.js → location-lifecycle-vykevjvn.js} +5 -5
- package/dist/chunks/{image-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-0f57eq9f.js → location-lifecycle-w8e9wzak.js} +15 -15
- package/dist/chunks/{image-32rqdfc7.js → location-lifecycle-wa8k00xj.js} +6 -6
- package/dist/chunks/{image-wakvkjy4.js → location-lifecycle-wakvkjy4.js} +1 -1
- package/dist/chunks/{image-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{image-983qa8hr.js → location-lifecycle-wertacjf.js} +30 -30
- package/dist/chunks/{image-5w7vbjkb.js → location-lifecycle-wtjwwyta.js} +12 -12
- package/dist/chunks/{image-0chf3frg.js → location-lifecycle-wv6wx7n3.js} +12 -12
- package/dist/chunks/{image-exned2cn.js → location-lifecycle-wzk787g2.js} +4 -4
- package/dist/chunks/{image-7hbkmckc.js → location-lifecycle-wzx2z46x.js} +30 -30
- package/dist/chunks/{image-pw77mtnd.js → location-lifecycle-wzxqbjz3.js} +169 -169
- package/dist/chunks/{image-7c837hp4.js → location-lifecycle-x0pe5ps9.js} +11 -11
- package/dist/chunks/{image-82460pbt.js → location-lifecycle-x3ghg34s.js} +12 -12
- package/dist/chunks/{image-sf9d32j3.js → location-lifecycle-xbfvntd6.js} +38 -38
- package/dist/chunks/{image-bstexjd6.js → location-lifecycle-xd9cc171.js} +5 -5
- package/dist/chunks/{image-rd02mkry.js → location-lifecycle-xfe6bvep.js} +11 -11
- package/dist/chunks/{image-drh9h2fe.js → location-lifecycle-xtr1dkan.js} +70 -65
- package/dist/chunks/{image-1y5v4mkh.js → location-lifecycle-xydbrgnj.js} +7 -7
- package/dist/chunks/{image-r5x9wjg5.js → location-lifecycle-y0ny54te.js} +12 -12
- package/dist/chunks/{image-a58h53ak.js → location-lifecycle-y5ackxyr.js} +22 -22
- package/dist/chunks/{image-9ttv7pfb.js → location-lifecycle-y621d235.js} +1 -1
- package/dist/chunks/{image-28h91mdk.js → location-lifecycle-y7ne6w3s.js} +5 -5
- package/dist/chunks/{image-1x6596zm.js → location-lifecycle-yabm3p69.js} +11 -11
- package/dist/chunks/{image-yara3q77.js → location-lifecycle-yara3q77.js} +2 -2
- package/dist/chunks/{image-yb20nhc3.js → location-lifecycle-yb20nhc3.js} +1 -1
- package/dist/chunks/{image-kmzgegqq.js → location-lifecycle-ydsespw1.js} +8 -8
- package/dist/chunks/{image-s1527p4m.js → location-lifecycle-ywm21hq9.js} +5 -5
- package/dist/chunks/{image-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-z38nccrw.js → location-lifecycle-z38nccrw.js} +1 -1
- package/dist/chunks/{image-eqc3e404.js → location-lifecycle-z70rkf4v.js} +8 -8
- package/dist/chunks/{image-k2kq73jz.js → location-lifecycle-ze8dj7h4.js} +2 -2
- package/dist/chunks/{image-zh7bbm8x.js → location-lifecycle-zh7bbm8x.js} +2 -2
- package/dist/chunks/{image-zkg84ctx.js → location-lifecycle-zkg84ctx.js} +1 -1
- package/dist/chunks/{image-3rtadbmj.js → location-lifecycle-zkwnd26a.js} +27 -27
- package/dist/chunks/{image-3t73xeyv.js → location-lifecycle-zmwx25fz.js} +2 -2
- package/dist/chunks/location-lifecycle-zqbagfq4.js +517 -0
- 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 +87 -87
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +122 -122
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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.gen.js +55 -55
- package/dist/database/migration.js +57 -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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +80 -80
- package/dist/file-access.js +140 -140
- package/dist/file-mutation.js +100 -100
- 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 +86 -86
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +104 -104
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +106 -106
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +80 -80
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +359 -359
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +92 -92
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +117 -117
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +102 -102
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -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 +231 -231
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +140 -140
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +134 -134
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +153 -153
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +215 -215
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +186 -186
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +145 -145
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +145 -145
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +95 -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 +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +84 -84
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +97 -97
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/image-0namxv6m.js +0 -26
- package/dist/chunks/image-av4j8ver.js +0 -257
- package/dist/chunks/image-b9z2pmeq.js +0 -517
- /package/dist/chunks/{image-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → location-lifecycle-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4m86bj6y.js → location-lifecycle-4m86bj6y.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5fjb7ams.js → location-lifecycle-5fjb7ams.js} +0 -0
- /package/dist/chunks/{image-5w3e23ze.js → location-lifecycle-5w3e23ze.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → location-lifecycle-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → location-lifecycle-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a058387c.js → location-lifecycle-a058387c.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cqv5kn06.js → location-lifecycle-cqv5kn06.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e3qxr5gk.js → location-lifecycle-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fkpq3x5p.js → location-lifecycle-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → location-lifecycle-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jwr30sdr.js → location-lifecycle-jwr30sdr.js} +0 -0
- /package/dist/chunks/{image-jze0r7bz.js → location-lifecycle-jze0r7bz.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → location-lifecycle-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → location-lifecycle-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wjj7prxr.js → location-lifecycle-wjj7prxr.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-204s3925.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
|
-
Options: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Options: () => Options5,
|
|
15
|
+
Service: () => Service57,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured6,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
|
-
list: () =>
|
|
21
|
+
list: () => list4,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name16,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node59,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
@@ -43,11 +43,11 @@ var META = {
|
|
|
43
43
|
sh: { login: true },
|
|
44
44
|
zsh: { login: true }
|
|
45
45
|
};
|
|
46
|
-
var
|
|
46
|
+
var Options5 = Schema.Struct({
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service57 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -184,11 +184,11 @@ resolve3.reset = () => {
|
|
|
184
184
|
defaultConfigured = undefined;
|
|
185
185
|
defaultCompatible = undefined;
|
|
186
186
|
};
|
|
187
|
-
async function
|
|
187
|
+
async function list4(options, bin) {
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service57.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
|
|
206
|
-
list: () => Effect.promise(() =>
|
|
206
|
+
list: () => Effect.promise(() => list4(options, global.bin))
|
|
207
207
|
});
|
|
208
208
|
}));
|
|
209
|
-
function
|
|
210
|
-
return makeLocationNode({ service:
|
|
209
|
+
function configured6(options) {
|
|
210
|
+
return makeLocationNode({ service: Service57, layer: layer(options), deps: [Global.node] });
|
|
211
211
|
}
|
|
212
|
-
var
|
|
212
|
+
var node59 = configured6();
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Options5, Service57, gitbash2, name16, login2, ps2, args2, environment2, resolve3, list4, configured6, node59, exports_select };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote3
|
|
@@ -64,6 +64,6 @@ var Remote3 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info16 = Schema.Union([Local2, Remote3]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote3,
|
|
69
|
+
export { Local2, OAuth2, Remote3, Info16, exports_mcp5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin12 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin12, exports_tool_input_repair };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin15
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin15 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin16 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin15, exports_mcp_codemode_defaults };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-kaf9q40m.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID9,
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
17
|
+
Info: () => Info13,
|
|
18
|
+
NotFoundError: () => NotFoundError9,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service65,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,9 +26,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID9 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info13 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID9
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -40,9 +40,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service65 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service87).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service65.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node69 = makeGlobalNode({ service: Service65, layer, deps: [node91] });
|
|
94
94
|
|
|
95
|
-
export { ID9,
|
|
95
|
+
export { ID9, Info13, NotFoundError9, ConflictError2, Service65, node69, exports_saved };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-jsfpeb17.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./location-lifecycle-x3ghg34s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID18,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-3kep9b6s.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-rrad2nt9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-7hbdkq5s.js";
|
|
20
20
|
import {
|
|
21
21
|
ID13
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-lifecycle-5vdys53c.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service67
|
|
25
|
+
} from "./location-lifecycle-xbfvntd6.js";
|
|
26
26
|
import {
|
|
27
27
|
Remote2,
|
|
28
28
|
Document2,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
make14
|
|
30
|
+
} from "./location-lifecycle-pcty9z1k.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-lifecycle-wv6wx7n3.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-lifecycle-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service26
|
|
41
|
+
} from "./location-lifecycle-mdm9skxp.js";
|
|
42
42
|
import {
|
|
43
43
|
ID4,
|
|
44
44
|
Input14,
|
|
45
45
|
Response3
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-lifecycle-cfgbj1es.js";
|
|
47
47
|
import {
|
|
48
48
|
Response2,
|
|
49
|
-
|
|
49
|
+
make3,
|
|
50
50
|
statements2,
|
|
51
51
|
providerIDs2,
|
|
52
52
|
register2
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./location-lifecycle-y0ny54te.js";
|
|
54
54
|
|
|
55
55
|
// src/plugin/provider/opencode.ts
|
|
56
56
|
import {
|
|
@@ -113,7 +113,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
113
113
|
}
|
|
114
114
|
function oauth(http) {
|
|
115
115
|
return {
|
|
116
|
-
integrationID:
|
|
116
|
+
integrationID: ID16.make("opencode"),
|
|
117
117
|
method: {
|
|
118
118
|
id: methodID,
|
|
119
119
|
type: "oauth",
|
|
@@ -178,11 +178,11 @@ var OpencodePlugin2 = define({
|
|
|
178
178
|
id: "opencode.provider.opencode",
|
|
179
179
|
effect: Effect.fn(function* (ctx) {
|
|
180
180
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
181
|
-
const bus = yield*
|
|
181
|
+
const bus = yield* Service86;
|
|
182
182
|
const client = yield* HttpClient.HttpClient;
|
|
183
183
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
184
|
-
const managed = yield*
|
|
185
|
-
const config = yield*
|
|
184
|
+
const managed = yield* Service26;
|
|
185
|
+
const config = yield* Service67;
|
|
186
186
|
const scope = yield* Scope.Scope;
|
|
187
187
|
const loading = Semaphore.makeUnsafe(1);
|
|
188
188
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
if (!credential || credential.type === "external")
|
|
205
205
|
return Effect.succeed({ remote: undefined, connection, organization: undefined });
|
|
206
206
|
return fetchConfig(http, credential).pipe(Effect.map((remote) => ({
|
|
207
|
-
remote: remote?.type === "legacy" ?
|
|
207
|
+
remote: remote?.type === "legacy" ? make3(remote.response, headers2(credential)) : remote,
|
|
208
208
|
connection,
|
|
209
209
|
organization: organizationName(credential)
|
|
210
210
|
})));
|
|
@@ -218,16 +218,16 @@ var OpencodePlugin2 = define({
|
|
|
218
218
|
});
|
|
219
219
|
let integrated;
|
|
220
220
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
221
|
-
yield* config.integration?.(
|
|
222
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID ===
|
|
221
|
+
yield* config.integration?.(ID16.make("opencode"), document) ?? Effect.void;
|
|
222
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID16.make("opencode"));
|
|
223
223
|
});
|
|
224
224
|
const publish = Effect.fnUntraced(function* (next) {
|
|
225
225
|
switch (next.remote?.type) {
|
|
226
226
|
case "config":
|
|
227
227
|
yield* managed.set({ statements: [], organization: next.organization });
|
|
228
|
-
return yield* integrate(next.connection &&
|
|
229
|
-
integrationID:
|
|
230
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
228
|
+
return yield* integrate(next.connection && make14({
|
|
229
|
+
integrationID: ID16.make("opencode"),
|
|
230
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID18.make(next.connection.id) } : next.connection,
|
|
231
231
|
organization: next.organization,
|
|
232
232
|
info: next.remote.info
|
|
233
233
|
}));
|
|
@@ -361,7 +361,7 @@ var OpencodePlugin2 = define({
|
|
|
361
361
|
onlyIfMissing: true
|
|
362
362
|
});
|
|
363
363
|
});
|
|
364
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
364
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
365
365
|
yield* poll();
|
|
366
366
|
})
|
|
367
367
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./location-lifecycle-7hbdkq5s.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service76;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID16.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-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: () => Info27,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info27 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info27, Status3, key2, exports_connection };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service55
|
|
7
|
+
} from "./location-lifecycle-8pcgp6f5.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-my4zabxr.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-pdf7y80q.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-lifecycle-gg8p9cgs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service55;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./location-lifecycle-xbfvntd6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./location-lifecycle-8pcgp6f5.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin33
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin33 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const snapshot = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin48 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin33, exports_snapshot };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service86
|
|
3
|
+
} from "./location-lifecycle-x3ghg34s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./location-lifecycle-1p4af9gz.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./location-lifecycle-ge6s3szb.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
17
17
|
__export(exports_command, {
|
|
18
18
|
CommandPlugin: () => exports_command,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin10
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin10 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service74;
|
|
200
|
+
const mcp = yield* Service41;
|
|
201
|
+
const bus = yield* Service86;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin10, exports_command };
|