@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,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
ID16,
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./location-lifecycle-7hbdkq5s.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info7,
|
|
18
|
+
Service: () => Service22,
|
|
19
|
+
UnavailableError: () => UnavailableError3,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer10,
|
|
22
|
+
node: () => node25
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info7 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service22 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service76;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
|
-
const connection = yield* integrations.connection.active(
|
|
45
|
+
const connection = yield* integrations.connection.active(ID16.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError3({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,12 +66,12 @@ var layer11 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service22.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
74
|
-
deps: [
|
|
71
|
+
var node25 = makeLocationNode({
|
|
72
|
+
service: Service22,
|
|
73
|
+
layer: layer10,
|
|
74
|
+
deps: [node80, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
77
77
|
ruleID: Schema.String,
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError3({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info7, UnavailableError3, Service22, layer10, node25, exports_usage_limits };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info19 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info19, SessionSchema2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./location-lifecycle-xbfvntd6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Info11,
|
|
9
|
+
ID6,
|
|
10
10
|
Name2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-8g590t18.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill = {};
|
|
18
18
|
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin11,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
430
430
|
var ReportContent2 = report_default;
|
|
431
431
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
432
432
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
433
|
-
var
|
|
433
|
+
var Plugin11 = define({
|
|
434
434
|
id: "opencode.skill",
|
|
435
435
|
effect: Effect.fn(function* (ctx) {
|
|
436
436
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
437
437
|
yield* ctx.skill.transform((editor) => {
|
|
438
|
-
editor.add(
|
|
439
|
-
id:
|
|
438
|
+
editor.add(Info11.make({
|
|
439
|
+
id: ID6.make("opencode"),
|
|
440
440
|
name: Name2.make("OpenCode"),
|
|
441
441
|
description: OpencodeDescription2,
|
|
442
442
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
443
443
|
content: OpencodeContent2
|
|
444
444
|
}));
|
|
445
|
-
editor.add(
|
|
446
|
-
id:
|
|
445
|
+
editor.add(Info11.make({
|
|
446
|
+
id: ID6.make("report"),
|
|
447
447
|
name: Name2.make("Report"),
|
|
448
448
|
description: REPORT_DESCRIPTION,
|
|
449
449
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
472
472
|
`);
|
|
473
473
|
});
|
|
474
474
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
475
|
-
const config = yield*
|
|
475
|
+
const config = yield* Service67;
|
|
476
476
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
477
477
|
});
|
|
478
478
|
function terminal() {
|
|
@@ -486,4 +486,4 @@ function shell() {
|
|
|
486
486
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
489
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin11, exports_skill };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./location-lifecycle-xbfvntd6.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-gg8p9cgs.js";
|
|
9
9
|
import {
|
|
10
10
|
refHash2,
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-mm7a63e9.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/session/blob.ts
|
|
20
20
|
var exports_blob = {};
|
|
@@ -120,7 +120,7 @@ var hydrateInbox2 = Effect.fnUntraced(function* (db, rows) {
|
|
|
120
120
|
});
|
|
121
121
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
122
122
|
var writeEnabled = Effect.gen(function* () {
|
|
123
|
-
const config = yield* Effect.serviceOption(
|
|
123
|
+
const config = yield* Effect.serviceOption(Service67);
|
|
124
124
|
if (Option.isNone(config))
|
|
125
125
|
return false;
|
|
126
126
|
return latest2(yield* config.value.entries(), "experimental")?.media_blob === true;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-f9m5snxj.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make25,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-69wtav9m.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node39
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service37.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node39 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service37, makeLayer2, layer16, node39, exports_model_transport };
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-5vdys53c.js";
|
|
8
8
|
import {
|
|
9
9
|
stringify2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-lifecycle-5fjb7ams.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/aisdk.ts
|
|
16
16
|
var exports_aisdk = {};
|
|
17
17
|
__export(exports_aisdk, {
|
|
18
18
|
AISDK: () => exports_aisdk,
|
|
19
19
|
InitError: () => InitError2,
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
21
|
locationLayer: () => locationLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node76
|
|
23
23
|
});
|
|
24
24
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
25
25
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -164,9 +164,9 @@ function initError(providerID) {
|
|
|
164
164
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
class
|
|
167
|
+
class Service72 extends Context.Service()("@opencode/AISDK") {
|
|
168
168
|
}
|
|
169
|
-
var locationLayer2 = Layer.effect(
|
|
169
|
+
var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
|
|
170
170
|
let sdkHooks = [];
|
|
171
171
|
let languageHooks = [];
|
|
172
172
|
const languages = new Map;
|
|
@@ -204,7 +204,7 @@ var locationLayer2 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
204
204
|
}
|
|
205
205
|
return event;
|
|
206
206
|
});
|
|
207
|
-
const service =
|
|
207
|
+
const service = Service72.of({
|
|
208
208
|
hook: {
|
|
209
209
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
210
210
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -870,6 +870,6 @@ function providerErrorMessage(error) {
|
|
|
870
870
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
871
871
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var node76 = makeLocationNode({ service: Service72, layer: locationLayer2, deps: [] });
|
|
874
874
|
|
|
875
|
-
export { InitError2,
|
|
875
|
+
export { InitError2, Service72, locationLayer2, node76, exports_aisdk };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./location-lifecycle-7hbdkq5s.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service24,
|
|
18
|
+
UnavailableError: () => UnavailableError5,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer12,
|
|
21
|
+
node: () => node27
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,18 +31,18 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError5 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service24 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service76;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID16.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -67,10 +67,10 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
67
67
|
if (!engine)
|
|
68
68
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
69
69
|
const found = yield* source(engine);
|
|
70
|
-
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new
|
|
70
|
+
const credential = found ? yield* integrations.connection.resolve(found.connection).pipe(Effect.mapError((error) => new UnavailableError5({ service: found.provider, message: error.message }))) : undefined;
|
|
71
71
|
const access = found && credential && sessionAccess(found.provider, credential);
|
|
72
72
|
if (found === undefined || access === undefined)
|
|
73
|
-
return yield* new
|
|
73
|
+
return yield* new UnavailableError5({
|
|
74
74
|
service: engine.provider,
|
|
75
75
|
message: engine.id === "openai-live" ? missingLiveKeyMessage : missingKeyMessage[engine.provider]
|
|
76
76
|
});
|
|
@@ -79,14 +79,14 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
79
79
|
session: input.session,
|
|
80
80
|
transport: input.transport,
|
|
81
81
|
...access
|
|
82
|
-
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
82
|
+
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError5({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service24.of({ models, session });
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
87
|
-
service:
|
|
88
|
-
layer:
|
|
89
|
-
deps: [
|
|
86
|
+
var node27 = makeLocationNode({
|
|
87
|
+
service: Service24,
|
|
88
|
+
layer: layer12,
|
|
89
|
+
deps: [node80, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError5, Service24, layer12, node27, exports_voice };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command5 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-lifecycle-jefw9j3y.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-gg8p9cgs.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-5vdys53c.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-53v4pwz8.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/integration.ts
|
|
6
6
|
var exports_integration = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_integration, {
|
|
|
9
9
|
Document: () => Document2,
|
|
10
10
|
Policies: () => Policies2,
|
|
11
11
|
Remote: () => Remote2,
|
|
12
|
-
make: () =>
|
|
12
|
+
make: () => make14
|
|
13
13
|
});
|
|
14
14
|
import { Option, Schema, SchemaGetter } from "effect";
|
|
15
15
|
import { Config } from "@opencode/schema/config";
|
|
@@ -41,7 +41,7 @@ class Document2 extends Config.Document.extend("Config.IntegrationDocument")({
|
|
|
41
41
|
organization: Schema.optional(Schema.String)
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function make14(input) {
|
|
45
45
|
const servers = input.info.mcp?.servers;
|
|
46
46
|
return new Document2({
|
|
47
47
|
type: "document",
|
|
@@ -80,4 +80,4 @@ function withoutCredentials(settings) {
|
|
|
80
80
|
return settings && Object.fromEntries(Object.entries(settings).filter(([key]) => !["apiKey", "authToken", "accessToken"].includes(key)));
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { Policies2, Remote2, Document2,
|
|
83
|
+
export { Policies2, Remote2, Document2, make14, exports_integration };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-my4zabxr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -20,7 +20,7 @@ __export(exports_error, {
|
|
|
20
20
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
21
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
22
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
PromptConflictError: () => PromptConflictError2,
|
|
25
25
|
SessionErrors: () => exports_error,
|
|
26
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError10 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError10, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|