@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./location-lifecycle-06w9ffrv.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -434,7 +434,7 @@ function make(id, optimize, mode = "override") {
|
|
|
434
434
|
const system = event.system[0];
|
|
435
435
|
if (!system)
|
|
436
436
|
return;
|
|
437
|
-
const rendered =
|
|
437
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
438
438
|
const text = mode === "append" ? `${system.text}
|
|
439
439
|
|
|
440
440
|
${rendered}` : rendered;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-bzngcnd3.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-f9m5snxj.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./location-lifecycle-x3ghg34s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-xd9cc171.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service83,
|
|
17
|
+
node87
|
|
18
|
+
} from "./location-lifecycle-1ddtv1wh.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-lifecycle-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event20,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info30,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service82,
|
|
36
|
+
Source: () => Source5,
|
|
37
|
+
node: () => node86
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event20 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source5 = Reference.Source;
|
|
47
|
+
var Info30 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service82 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
|
-
const bus = yield*
|
|
54
|
-
const cache = yield*
|
|
53
|
+
const bus = yield* Service86;
|
|
54
|
+
const cache = yield* Service83;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,8 +61,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
65
|
-
const repository =
|
|
64
|
+
return [Info30.make({ ...info, path: source.path })];
|
|
65
|
+
const repository = parse5(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
68
68
|
if (source.branch) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info30.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service82.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node86 = makeLocationNode({
|
|
117
|
+
service: Service82,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node,
|
|
119
|
+
deps: [Global.node, node90, node87]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source5, Info30, Service82, node86, exports_reference2, Event20 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WorktreeError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-wtjwwyta.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./location-lifecycle-16tr01kr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service20
|
|
9
|
+
} from "./location-lifecycle-3v6zwrj6.js";
|
|
10
10
|
import {
|
|
11
11
|
DirectoryUnavailableError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-d4v9tmah.js";
|
|
13
13
|
import {
|
|
14
14
|
Info6,
|
|
15
15
|
List2,
|
|
16
16
|
InvalidDirectoryError2,
|
|
17
17
|
StrategyUnavailableError2,
|
|
18
18
|
OperationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-lifecycle-m811wkh8.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/tool/plugin/opencode.ts
|
|
25
25
|
var exports_opencode = {};
|
|
@@ -27,7 +27,7 @@ __export(exports_opencode, {
|
|
|
27
27
|
ModelsInput: () => ModelsInput2,
|
|
28
28
|
MoveInput: () => MoveInput2,
|
|
29
29
|
OpenCodeTools: () => exports_opencode,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin48,
|
|
31
31
|
RenameInput: () => RenameInput2,
|
|
32
32
|
WorktreeCreateInput: () => WorktreeCreateInput2,
|
|
33
33
|
WorktreeRemoveInput: () => WorktreeRemoveInput2
|
|
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
|
|
|
97
97
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
98
98
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Plugin48 = {
|
|
101
101
|
id: "opencode.tools",
|
|
102
102
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
103
|
-
const access = yield*
|
|
104
|
-
const permission = yield*
|
|
103
|
+
const access = yield* Service20;
|
|
104
|
+
const permission = yield* Service64;
|
|
105
105
|
const hook = (event) => Effect.sync(() => {
|
|
106
106
|
event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
|
|
107
107
|
});
|
|
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
|
|
|
250
250
|
return `Unable to remove worktree ${directory}.`;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2,
|
|
253
|
+
export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin48, exports_opencode };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-bzngcnd3.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service54,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node56
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service54 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service54.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node56 = makeLocationNode({
|
|
143
|
+
service: Service54,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service54, node56, exports_tool_output2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./location-lifecycle-x3ghg34s.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-3kep9b6s.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-204s3925.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-rrad2nt9.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-lifecycle-cr3d5jmh.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
27
|
var exports_integration2 = {};
|
|
@@ -38,16 +38,16 @@ __export(exports_integration2, {
|
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
39
|
Event: () => Event17,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
41
|
+
ID: () => ID16,
|
|
42
|
+
Info: () => Info26,
|
|
43
43
|
Integration: () => exports_integration2,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
|
-
Ref: () =>
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
48
|
+
Ref: () => Ref5,
|
|
49
|
+
Service: () => Service76,
|
|
50
|
+
node: () => node80
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -70,7 +70,7 @@ import { Integration } from "@opencode/schema/integration";
|
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
72
|
import { Event as Event17 } from "@opencode/schema/integration";
|
|
73
|
-
var
|
|
73
|
+
var ID16 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
76
76
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info26 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -102,20 +102,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
105
|
-
integrationID:
|
|
105
|
+
integrationID: ID16,
|
|
106
106
|
attemptID: AttemptID2
|
|
107
107
|
}) {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Ref5 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
116
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
117
117
|
const credentials = yield* Service81;
|
|
118
|
-
const bus = yield*
|
|
118
|
+
const bus = yield* Service86;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
121
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -215,7 +215,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
215
215
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
216
216
|
return [...credentials, ...env];
|
|
217
217
|
};
|
|
218
|
-
const project = (entry, connections) =>
|
|
218
|
+
const project = (entry, connections) => Info26.make({
|
|
219
219
|
id: entry.ref.id,
|
|
220
220
|
name: entry.ref.name,
|
|
221
221
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -448,7 +448,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
448
448
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
449
449
|
return CommandAttempt2.make({ attemptID, time });
|
|
450
450
|
});
|
|
451
|
-
return
|
|
451
|
+
return Service76.of({
|
|
452
452
|
transform: state.transform,
|
|
453
453
|
reload: state.reload,
|
|
454
454
|
revision: state.revision,
|
|
@@ -630,10 +630,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
630
630
|
}
|
|
631
631
|
});
|
|
632
632
|
}));
|
|
633
|
-
var
|
|
634
|
-
service:
|
|
633
|
+
var node80 = makeLocationNode({
|
|
634
|
+
service: Service76,
|
|
635
635
|
layer,
|
|
636
|
-
deps: [node85,
|
|
636
|
+
deps: [node85, node90, AppProcess.node]
|
|
637
637
|
});
|
|
638
638
|
|
|
639
|
-
export {
|
|
639
|
+
export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref5, Service76, node80, exports_integration2, Event17 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node73
|
|
4
|
+
} from "./location-lifecycle-qfdpe5ja.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service49,
|
|
7
|
+
node51
|
|
8
|
+
} from "./location-lifecycle-mj21cn9n.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-my4zabxr.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/session/runner/model.ts
|
|
17
17
|
var exports_model = {};
|
|
18
18
|
__export(exports_model, {
|
|
19
19
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
20
20
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service47,
|
|
22
22
|
SessionRunnerModel: () => exports_model,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node49,
|
|
24
24
|
resolved: () => resolved2
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
47
47
|
}
|
|
48
48
|
var resolved2 = (model, options) => ({
|
|
49
49
|
model,
|
|
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
|
|
|
58
58
|
compaction: options.compaction,
|
|
59
59
|
transport: options.transport
|
|
60
60
|
});
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const resolver = yield*
|
|
63
|
-
const agents = yield*
|
|
64
|
-
return
|
|
61
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
62
|
+
const resolver = yield* Service49;
|
|
63
|
+
const agents = yield* Service69;
|
|
64
|
+
return Service47.of({
|
|
65
65
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
66
66
|
if (!session.model) {
|
|
67
67
|
const agent = (yield* agents.select(session.agent)).info?.model;
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node51, node73] });
|
|
85
85
|
|
|
86
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
86
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service47, resolved2, node49, exports_model };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load5
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-e3qxr5gk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service68,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
18
|
configured: () => configured11,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer27,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node72,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service68 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer27 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service68.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer27().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service68).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,9 +156,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}));
|
|
157
157
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
158
158
|
function configured11(options) {
|
|
159
|
-
return makeGlobalNode({ service:
|
|
159
|
+
return makeGlobalNode({ service: Service68, layer: layer27(options), deps: [nativeNode] });
|
|
160
160
|
}
|
|
161
|
-
var
|
|
161
|
+
var node72 = configured11();
|
|
162
162
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
163
163
|
if (!native || !backend) {
|
|
164
164
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
178
178
|
}).pipe(Effect.as(undefined))));
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export { hasNativeBinding2, Native3,
|
|
181
|
+
export { hasNativeBinding2, Native3, Service68, Test3, layer27, testLayer3, nativeLayer2, configured11, node72, exports_watcher };
|