@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,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./location-lifecycle-t69v77pd.js";
|
|
4
4
|
import {
|
|
5
5
|
Service18,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-mdbwqbd5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service21
|
|
11
|
+
} from "./location-lifecycle-m2pqg79r.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./location-lifecycle-16tr01kr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./location-lifecycle-3v6zwrj6.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-lifecycle-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin41,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name7,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin41 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
55
|
+
const access = yield* Service20;
|
|
56
56
|
const fileMutation = yield* Service18;
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
57
|
+
const environment = yield* Service60;
|
|
58
|
+
const formatter = yield* Service21;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output5, toModelContent5, Plugin41, exports_write };
|
|
@@ -1,138 +1,138 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node66
|
|
4
|
+
} from "./location-lifecycle-jsfpeb17.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service86,
|
|
7
|
+
node90
|
|
8
|
+
} from "./location-lifecycle-x3ghg34s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID11,
|
|
11
|
+
Service69,
|
|
12
|
+
node73
|
|
13
|
+
} from "./location-lifecycle-qfdpe5ja.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID18,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-3kep9b6s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID16,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service76,
|
|
24
|
+
node80
|
|
25
|
+
} from "./location-lifecycle-7hbdkq5s.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
30
|
+
Info23,
|
|
31
|
+
Ref4,
|
|
32
|
+
Service74,
|
|
33
|
+
node78
|
|
34
|
+
} from "./location-lifecycle-1p4af9gz.js";
|
|
35
35
|
import {
|
|
36
36
|
ID13,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service73,
|
|
38
|
+
node77
|
|
39
|
+
} from "./location-lifecycle-5vdys53c.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service72,
|
|
42
|
+
node76
|
|
43
|
+
} from "./location-lifecycle-nrn62vfk.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service56,
|
|
46
|
+
node58
|
|
47
|
+
} from "./location-lifecycle-py29rsp7.js";
|
|
48
48
|
import {
|
|
49
49
|
Service85,
|
|
50
50
|
node89
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-lifecycle-vatj3r5q.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service63,
|
|
54
|
+
node67
|
|
55
|
+
} from "./location-lifecycle-gszga537.js";
|
|
56
56
|
import {
|
|
57
57
|
ID12,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service70,
|
|
59
|
+
node74
|
|
60
|
+
} from "./location-lifecycle-kghfnwjy.js";
|
|
61
61
|
import {
|
|
62
62
|
ID7
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./location-lifecycle-pzmg9zam.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service41,
|
|
66
|
+
node44
|
|
67
|
+
} from "./location-lifecycle-ge6s3szb.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service79,
|
|
70
|
+
node83
|
|
71
|
+
} from "./location-lifecycle-m7ee3x5c.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service64,
|
|
74
|
+
node68
|
|
75
|
+
} from "./location-lifecycle-16tr01kr.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
Service78,
|
|
78
|
+
node82,
|
|
79
79
|
Error5
|
|
80
|
-
} from "./
|
|
81
|
-
import {
|
|
82
|
-
Source3,
|
|
83
|
-
Service41,
|
|
84
|
-
node45
|
|
85
|
-
} from "./image-r93dx0pk.js";
|
|
80
|
+
} from "./location-lifecycle-2j3fw42e.js";
|
|
86
81
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
82
|
+
Source5,
|
|
83
|
+
Service82,
|
|
84
|
+
node86
|
|
85
|
+
} from "./location-lifecycle-6p997nz8.js";
|
|
91
86
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
Info11,
|
|
88
|
+
Service58,
|
|
89
|
+
node60
|
|
90
|
+
} from "./location-lifecycle-8g590t18.js";
|
|
95
91
|
import {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
} from "./
|
|
92
|
+
Service29,
|
|
93
|
+
node32
|
|
94
|
+
} from "./location-lifecycle-9fjcqh5g.js";
|
|
99
95
|
import {
|
|
100
96
|
Service23,
|
|
101
97
|
node26
|
|
102
|
-
} from "./
|
|
98
|
+
} from "./location-lifecycle-1xr6d57w.js";
|
|
103
99
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
100
|
+
Service28,
|
|
101
|
+
node31
|
|
102
|
+
} from "./location-lifecycle-dtezmnpk.js";
|
|
103
|
+
import {
|
|
104
|
+
Service13,
|
|
105
|
+
node16
|
|
106
|
+
} from "./location-lifecycle-2y038ase.js";
|
|
107
107
|
import {
|
|
108
108
|
ID4,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
109
|
+
Service19,
|
|
110
|
+
node22
|
|
111
|
+
} from "./location-lifecycle-cfgbj1es.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./
|
|
113
|
+
Service17,
|
|
114
|
+
node20
|
|
115
|
+
} from "./location-lifecycle-0dac8qyv.js";
|
|
116
116
|
import {
|
|
117
117
|
StrategyID2,
|
|
118
118
|
Info6,
|
|
119
119
|
ListEntry2,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service16,
|
|
121
|
+
node19
|
|
122
|
+
} from "./location-lifecycle-m811wkh8.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
124
|
+
Service14,
|
|
125
|
+
node17
|
|
126
|
+
} from "./location-lifecycle-2htwejxb.js";
|
|
127
127
|
import {
|
|
128
128
|
__export
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
130
130
|
|
|
131
131
|
// src/plugin/host.ts
|
|
132
132
|
var exports_host = {};
|
|
133
133
|
__export(exports_host, {
|
|
134
134
|
PluginHost: () => exports_host,
|
|
135
|
-
make: () =>
|
|
135
|
+
make: () => make12,
|
|
136
136
|
requirements: () => requirements3,
|
|
137
137
|
storage: () => storage2
|
|
138
138
|
});
|
|
@@ -142,39 +142,39 @@ import { Effect, Schema, Stream } from "effect";
|
|
|
142
142
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
143
143
|
var mutable = (value) => value;
|
|
144
144
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
145
|
-
var
|
|
145
|
+
var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const agents = yield*
|
|
148
|
-
const aisdk = yield*
|
|
149
|
-
const providers = yield*
|
|
150
|
-
const models = yield*
|
|
151
|
-
const commands = yield*
|
|
152
|
-
const bus = yield*
|
|
153
|
-
const integration = yield*
|
|
147
|
+
const agents = yield* Service69;
|
|
148
|
+
const aisdk = yield* Service72;
|
|
149
|
+
const providers = yield* Service73;
|
|
150
|
+
const models = yield* Service70;
|
|
151
|
+
const commands = yield* Service56;
|
|
152
|
+
const bus = yield* Service86;
|
|
153
|
+
const integration = yield* Service76;
|
|
154
154
|
const kv = yield* Service85;
|
|
155
|
-
const mcp = yield*
|
|
156
|
-
const location = yield*
|
|
157
|
-
const reference = yield*
|
|
158
|
-
const rpc = yield*
|
|
159
|
-
const skill = yield*
|
|
160
|
-
const tools = yield*
|
|
161
|
-
const vcs = yield*
|
|
162
|
-
const websearch = yield*
|
|
163
|
-
const generate = yield*
|
|
164
|
-
const permission = yield*
|
|
165
|
-
const hooks = yield*
|
|
166
|
-
const sessions = yield*
|
|
167
|
-
const persistentPty = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const worktrees = yield*
|
|
170
|
-
const worktreeStrategies = yield*
|
|
155
|
+
const mcp = yield* Service41;
|
|
156
|
+
const location = yield* Service74;
|
|
157
|
+
const reference = yield* Service82;
|
|
158
|
+
const rpc = yield* Service28;
|
|
159
|
+
const skill = yield* Service58;
|
|
160
|
+
const tools = yield* Service78;
|
|
161
|
+
const vcs = yield* Service13;
|
|
162
|
+
const websearch = yield* Service19;
|
|
163
|
+
const generate = yield* Service14;
|
|
164
|
+
const permission = yield* Service64;
|
|
165
|
+
const hooks = yield* Service79;
|
|
166
|
+
const sessions = yield* Service29;
|
|
167
|
+
const persistentPty = yield* Service23;
|
|
168
|
+
const locations = yield* Service63;
|
|
169
|
+
const worktrees = yield* Service16;
|
|
170
|
+
const worktreeStrategies = yield* Service17;
|
|
171
171
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
172
|
-
const locationInfo = () => new
|
|
172
|
+
const locationInfo = () => new Info23({
|
|
173
173
|
directory: location.directory,
|
|
174
174
|
workspaceID: location.workspaceID,
|
|
175
175
|
project: location.project
|
|
176
176
|
});
|
|
177
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
177
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
178
178
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
179
179
|
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
|
|
180
180
|
});
|
|
@@ -183,10 +183,10 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
183
183
|
const decodeWorktree = Schema.decodeUnknownEffect(Info6);
|
|
184
184
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
|
|
185
185
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
186
|
-
const location = yield*
|
|
187
|
-
const agents = yield*
|
|
186
|
+
const location = yield* Service74;
|
|
187
|
+
const agents = yield* Service69;
|
|
188
188
|
return {
|
|
189
|
-
location: new
|
|
189
|
+
location: new Info23({
|
|
190
190
|
directory: location.directory,
|
|
191
191
|
workspaceID: location.workspaceID,
|
|
192
192
|
project: location.project
|
|
@@ -218,10 +218,10 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
218
218
|
transform: (callback) => agents.transform((editor) => {
|
|
219
219
|
callback({
|
|
220
220
|
list: editor.list,
|
|
221
|
-
get: (id) => editor.get(
|
|
222
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
223
|
-
update: (id, update) => editor.update(
|
|
224
|
-
remove: (id) => editor.remove(
|
|
221
|
+
get: (id) => editor.get(ID11.make(id)),
|
|
222
|
+
default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
|
|
223
|
+
update: (id, update) => editor.update(ID11.make(id), update),
|
|
224
|
+
remove: (id) => editor.remove(ID11.make(id))
|
|
225
225
|
});
|
|
226
226
|
})
|
|
227
227
|
},
|
|
@@ -263,7 +263,7 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
263
263
|
get: (id) => editor.get(ID13.make(id)),
|
|
264
264
|
add: (definition) => editor.add({
|
|
265
265
|
...definition,
|
|
266
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
266
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID18.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
267
267
|
}),
|
|
268
268
|
update: (id, update) => editor.update(ID13.make(id), update),
|
|
269
269
|
remove: (id) => editor.remove(ID13.make(id)),
|
|
@@ -316,20 +316,20 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
316
316
|
integration: {
|
|
317
317
|
list: () => response(integration.list()),
|
|
318
318
|
get: Effect.fn(function* (input) {
|
|
319
|
-
const item = yield* integration.get(
|
|
319
|
+
const item = yield* integration.get(ID16.make(input.integrationID));
|
|
320
320
|
if (!item)
|
|
321
321
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
322
322
|
return yield* response(Effect.succeed(item));
|
|
323
323
|
}),
|
|
324
324
|
connect: {
|
|
325
325
|
key: (input) => integration.connection.key({
|
|
326
|
-
integrationID:
|
|
326
|
+
integrationID: ID16.make(input.integrationID),
|
|
327
327
|
key: input.key,
|
|
328
328
|
answer: input.answer,
|
|
329
329
|
label: input.label
|
|
330
330
|
}),
|
|
331
331
|
external: (input) => integration.connection.external({
|
|
332
|
-
integrationID:
|
|
332
|
+
integrationID: ID16.make(input.integrationID),
|
|
333
333
|
methodID: MethodID2.make(input.methodID),
|
|
334
334
|
answer: input.answer,
|
|
335
335
|
label: input.label
|
|
@@ -337,60 +337,60 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
337
337
|
},
|
|
338
338
|
oauth: {
|
|
339
339
|
connect: (input) => response(integration.oauth.connect({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID16.make(input.integrationID),
|
|
341
341
|
methodID: MethodID2.make(input.methodID),
|
|
342
342
|
answer: input.answer,
|
|
343
343
|
label: input.label
|
|
344
344
|
})),
|
|
345
345
|
status: (input) => response(integration.oauth.status({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID16.make(input.integrationID),
|
|
347
347
|
attemptID: AttemptID2.make(input.attemptID)
|
|
348
348
|
})),
|
|
349
349
|
complete: (input) => integration.oauth.complete({
|
|
350
|
-
integrationID:
|
|
350
|
+
integrationID: ID16.make(input.integrationID),
|
|
351
351
|
attemptID: AttemptID2.make(input.attemptID),
|
|
352
352
|
code: input.code
|
|
353
353
|
}),
|
|
354
354
|
cancel: (input) => integration.oauth.cancel({
|
|
355
|
-
integrationID:
|
|
355
|
+
integrationID: ID16.make(input.integrationID),
|
|
356
356
|
attemptID: AttemptID2.make(input.attemptID)
|
|
357
357
|
})
|
|
358
358
|
},
|
|
359
359
|
command: {
|
|
360
360
|
connect: (input) => response(integration.command.connect({
|
|
361
|
-
integrationID:
|
|
361
|
+
integrationID: ID16.make(input.integrationID),
|
|
362
362
|
methodID: MethodID2.make(input.methodID),
|
|
363
363
|
label: input.label
|
|
364
364
|
})),
|
|
365
365
|
status: (input) => response(integration.command.status({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID16.make(input.integrationID),
|
|
367
367
|
attemptID: AttemptID2.make(input.attemptID)
|
|
368
368
|
})),
|
|
369
369
|
cancel: (input) => integration.command.cancel({
|
|
370
|
-
integrationID:
|
|
370
|
+
integrationID: ID16.make(input.integrationID),
|
|
371
371
|
attemptID: AttemptID2.make(input.attemptID)
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
reload: integration.reload,
|
|
375
375
|
connection: {
|
|
376
|
-
active: (id) => integration.connection.active(
|
|
377
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
376
|
+
active: (id) => integration.connection.active(ID16.make(id)),
|
|
377
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection),
|
|
378
378
|
status: (input) => integration.connection.status({
|
|
379
|
-
integrationID:
|
|
380
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
379
|
+
integrationID: ID16.make(input.integrationID),
|
|
380
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID18.make(input.connection.id) } : input.connection,
|
|
381
381
|
status: input.status
|
|
382
382
|
})
|
|
383
383
|
},
|
|
384
384
|
transform: (callback) => integration.transform((editor) => {
|
|
385
385
|
callback({
|
|
386
386
|
list: editor.list,
|
|
387
|
-
get: (id) => editor.get(
|
|
388
|
-
update: (id, update) => editor.update(
|
|
389
|
-
remove: (id) => editor.remove(
|
|
387
|
+
get: (id) => editor.get(ID16.make(id)),
|
|
388
|
+
update: (id, update) => editor.update(ID16.make(id), update),
|
|
389
|
+
remove: (id) => editor.remove(ID16.make(id)),
|
|
390
390
|
method: {
|
|
391
|
-
list: (id) => editor.method.list(
|
|
391
|
+
list: (id) => editor.method.list(ID16.make(id)),
|
|
392
392
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
393
|
-
remove: (id, method) => editor.method.remove(
|
|
393
|
+
remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
})
|
|
@@ -400,10 +400,10 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
400
400
|
const ref = locationRef(input);
|
|
401
401
|
if (ref && !isCurrentLocation(ref))
|
|
402
402
|
return Effect.gen(function* () {
|
|
403
|
-
const location = yield*
|
|
404
|
-
const mcp = yield*
|
|
403
|
+
const location = yield* Service74;
|
|
404
|
+
const mcp = yield* Service41;
|
|
405
405
|
return {
|
|
406
|
-
location: new
|
|
406
|
+
location: new Info23({
|
|
407
407
|
directory: location.directory,
|
|
408
408
|
workspaceID: location.workspaceID,
|
|
409
409
|
project: location.project
|
|
@@ -443,7 +443,7 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
443
443
|
reload: reference.reload,
|
|
444
444
|
transform: (callback) => reference.transform((editor) => {
|
|
445
445
|
callback({
|
|
446
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
446
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
|
|
447
447
|
remove: editor.remove,
|
|
448
448
|
list: editor.list,
|
|
449
449
|
get: editor.get
|
|
@@ -457,7 +457,7 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
callback({
|
|
458
458
|
list: () => mutable(editor.list()),
|
|
459
459
|
get: editor.get,
|
|
460
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
460
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info11)(value)),
|
|
461
461
|
update: editor.update,
|
|
462
462
|
remove: editor.remove
|
|
463
463
|
});
|
|
@@ -531,7 +531,7 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
531
531
|
metadata: input?.metadata,
|
|
532
532
|
permissions: input?.permissions,
|
|
533
533
|
...input?.parentID === undefined ? {
|
|
534
|
-
location: input?.location ??
|
|
534
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
535
535
|
} : { parentID: input.parentID }
|
|
536
536
|
}),
|
|
537
537
|
get: (input) => sessions.get(input.sessionID),
|
|
@@ -561,31 +561,31 @@ var make13 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
561
561
|
return context;
|
|
562
562
|
});
|
|
563
563
|
var requirements3 = LayerNode.group([
|
|
564
|
-
|
|
565
|
-
|
|
564
|
+
node66,
|
|
565
|
+
node73,
|
|
566
|
+
node76,
|
|
567
|
+
node77,
|
|
568
|
+
node74,
|
|
569
|
+
node58,
|
|
570
|
+
node90,
|
|
566
571
|
node80,
|
|
567
|
-
node82,
|
|
568
|
-
node81,
|
|
569
|
-
node51,
|
|
570
|
-
node88,
|
|
571
|
-
node83,
|
|
572
572
|
node89,
|
|
573
|
-
|
|
573
|
+
node44,
|
|
574
|
+
node78,
|
|
574
575
|
node86,
|
|
575
|
-
|
|
576
|
-
node26,
|
|
577
|
-
node50,
|
|
576
|
+
node31,
|
|
578
577
|
node60,
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
578
|
+
node82,
|
|
579
|
+
node16,
|
|
580
|
+
node22,
|
|
581
|
+
node19,
|
|
582
|
+
node20,
|
|
583
|
+
node17,
|
|
584
|
+
node68,
|
|
585
|
+
node83,
|
|
586
|
+
node32,
|
|
587
|
+
node26,
|
|
588
|
+
node67
|
|
589
589
|
]);
|
|
590
590
|
function storage2(kv, pluginID) {
|
|
591
591
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -612,7 +612,7 @@ function methodImplementation(input) {
|
|
|
612
612
|
if ("authorize" in input) {
|
|
613
613
|
const refresh = input.refresh;
|
|
614
614
|
return {
|
|
615
|
-
integrationID:
|
|
615
|
+
integrationID: ID16.make(input.integrationID),
|
|
616
616
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
617
617
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
618
618
|
if (authorization.mode === "auto") {
|
|
@@ -632,24 +632,24 @@ function methodImplementation(input) {
|
|
|
632
632
|
}
|
|
633
633
|
if (input.method.type === "env") {
|
|
634
634
|
return {
|
|
635
|
-
integrationID:
|
|
635
|
+
integrationID: ID16.make(input.integrationID),
|
|
636
636
|
method: input.method
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
639
|
if (input.method.type === "command") {
|
|
640
640
|
return {
|
|
641
|
-
integrationID:
|
|
641
|
+
integrationID: ID16.make(input.integrationID),
|
|
642
642
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
if (input.method.type === "external") {
|
|
646
646
|
return {
|
|
647
|
-
integrationID:
|
|
647
|
+
integrationID: ID16.make(input.integrationID),
|
|
648
648
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
651
|
return {
|
|
652
|
-
integrationID:
|
|
652
|
+
integrationID: ID16.make(input.integrationID),
|
|
653
653
|
method: input.method
|
|
654
654
|
};
|
|
655
655
|
}
|
|
@@ -657,4 +657,4 @@ function credential(value) {
|
|
|
657
657
|
return OAuth3.make({ ...value, methodID: MethodID2.make(value.methodID) });
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
export {
|
|
660
|
+
export { make12, requirements3, storage2, exports_host };
|