@opencode/core 0.0.0-dev-20930 → 0.0.0-dev-20932
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{vcs-d9jtx293.js → app-06tsrf37.js} +6 -6
- package/dist/chunks/{vcs-em3yhwbg.js → app-075b0h4m.js} +19 -19
- package/dist/chunks/{vcs-0emb60td.js → app-0emb60td.js} +2 -2
- package/dist/chunks/{vcs-srv0gx85.js → app-0ksqmnxq.js} +10 -10
- package/dist/chunks/{vcs-h3jhj2xa.js → app-0pgaa6v4.js} +20 -20
- package/dist/chunks/{vcs-fx0f4b0e.js → app-0vynxfm9.js} +28 -28
- package/dist/chunks/{vcs-e65qf95s.js → app-0w0atn8d.js} +11 -11
- package/dist/chunks/{vcs-2egm12cz.js → app-0xe2hg08.js} +5 -5
- package/dist/chunks/{vcs-jk9hw03k.js → app-15z4n718.js} +18 -18
- package/dist/chunks/{vcs-yp2x3t23.js → app-1acjjqhc.js} +4 -4
- package/dist/chunks/{vcs-k6pj38bh.js → app-1ahdgg21.js} +15 -15
- package/dist/chunks/{vcs-05en277q.js → app-1c3hmgns.js} +7 -7
- package/dist/chunks/{vcs-sfsey46c.js → app-1f3hwm7j.js} +23 -23
- package/dist/chunks/{vcs-085246bx.js → app-1j6szzgj.js} +67 -67
- package/dist/chunks/{vcs-axxpgx3s.js → app-1jredeff.js} +41 -41
- package/dist/chunks/{vcs-6qtegkg3.js → app-1yd7h3h8.js} +11 -11
- package/dist/chunks/{vcs-pzfxmw7k.js → app-206a5b9t.js} +8 -8
- package/dist/chunks/{vcs-ntkdha38.js → app-20xkk2gr.js} +9 -9
- package/dist/chunks/{vcs-fphvadrz.js → app-25w0dfvn.js} +11 -11
- package/dist/chunks/{vcs-9fm9zjg3.js → app-2jw57bnr.js} +33 -33
- package/dist/chunks/{vcs-2k8khapm.js → app-2k8khapm.js} +1 -1
- package/dist/chunks/{vcs-ewkyd3xf.js → app-2rx8zczj.js} +1 -1
- package/dist/chunks/{vcs-drbpyr92.js → app-2t2hn040.js} +8 -8
- package/dist/chunks/{vcs-h7s7r6s9.js → app-31xfzrxg.js} +5 -5
- package/dist/chunks/{vcs-sxzvkvgj.js → app-321x2wtd.js} +6 -6
- package/dist/chunks/{vcs-4tjr60b8.js → app-394kxefd.js} +5 -5
- package/dist/chunks/{vcs-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-1sh9vfpc.js → app-3ft6jn2j.js} +20 -20
- package/dist/chunks/{vcs-6xcvt31d.js → app-3g8j9he4.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3hwn7j4h.js → app-3hwn7j4h.js} +2 -2
- package/dist/chunks/{vcs-fdjnkqp0.js → app-3jmxswwj.js} +7 -7
- package/dist/chunks/{vcs-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-g7rd7fyk.js → app-3smzbyen.js} +29 -29
- package/dist/chunks/{vcs-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → app-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-6c6pn2sh.js → app-41vrjm3g.js} +27 -27
- package/dist/chunks/{vcs-8c5w71gj.js → app-46h7srqs.js} +4 -4
- package/dist/chunks/{vcs-h691v7v0.js → app-4dryy7gt.js} +15 -15
- package/dist/chunks/{vcs-yq797vpt.js → app-4g77rj02.js} +311 -311
- package/dist/chunks/{vcs-04p8m0tj.js → app-4hcb5h9g.js} +9 -9
- package/dist/chunks/{vcs-wb2x3bfx.js → app-4j7rv99v.js} +23 -23
- package/dist/chunks/{vcs-nd2cwz73.js → app-4m5tstab.js} +25 -25
- package/dist/chunks/{vcs-202vsb7e.js → app-4nhqdaht.js} +5 -5
- package/dist/chunks/{vcs-6cb0k5fs.js → app-4nybayqf.js} +8 -8
- package/dist/chunks/{vcs-4ts7tf6z.js → app-4ts7tf6z.js} +2 -2
- package/dist/chunks/{vcs-a2rpfkac.js → app-4v7ngy20.js} +4 -4
- package/dist/chunks/{vcs-fe2tea80.js → app-4vew1nxq.js} +8 -8
- package/dist/chunks/{vcs-ymsb3n01.js → app-4x20jssq.js} +14 -14
- package/dist/chunks/{vcs-63g8n8e9.js → app-52krgrnh.js} +28 -28
- package/dist/chunks/{vcs-54ma36ye.js → app-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-r18p0vf7.js → app-64xbrstx.js} +12 -12
- package/dist/chunks/{vcs-nr27fqtv.js → app-6g88h8tq.js} +11 -11
- package/dist/chunks/{vcs-82rhge12.js → app-6hjx5zpb.js} +9 -9
- package/dist/chunks/{vcs-p8x5jtpv.js → app-6s2xa942.js} +8 -8
- package/dist/chunks/{vcs-6xb47vfp.js → app-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-c86xa7f1.js → app-6yvc00p7.js} +25 -25
- package/dist/chunks/{vcs-mj8fnwpt.js → app-7096kxah.js} +34 -34
- package/dist/chunks/{vcs-775gj3j1.js → app-775gj3j1.js} +2 -2
- package/dist/chunks/{vcs-113dr2ww.js → app-79dzcknw.js} +24 -24
- package/dist/chunks/{vcs-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-a5wxatek.js → app-7c8bqxqs.js} +5 -5
- package/dist/chunks/{vcs-ycdqq8zj.js → app-7d01hxhz.js} +26 -26
- package/dist/chunks/{vcs-cw35edym.js → app-7mz429at.js} +11 -11
- package/dist/chunks/{vcs-hthv5jgd.js → app-7qggzfr4.js} +2 -2
- package/dist/chunks/{vcs-jwa44fjy.js → app-7qxxfz1s.js} +18 -18
- package/dist/chunks/{vcs-dtk1yfnn.js → app-7s6mfhxz.js} +17 -17
- package/dist/chunks/{vcs-0sqvq5f5.js → app-7sg3efhr.js} +4 -4
- package/dist/chunks/{vcs-shd9e764.js → app-7y1kt33k.js} +9 -9
- package/dist/chunks/{vcs-640qxpd1.js → app-8090mfnp.js} +29 -29
- package/dist/chunks/{vcs-84txncab.js → app-84txncab.js} +1 -1
- package/dist/chunks/{vcs-gw8g3a8n.js → app-87c2dmar.js} +9 -9
- package/dist/chunks/{vcs-x04y3h7q.js → app-8hfgq23n.js} +16 -16
- package/dist/chunks/{vcs-8m6m0r52.js → app-8m6m0r52.js} +1 -1
- package/dist/chunks/{vcs-tapzysky.js → app-8mq0f7d6.js} +22 -22
- package/dist/chunks/{vcs-hzrfc1p4.js → app-8n9x2wf6.js} +2 -2
- package/dist/chunks/{vcs-dvzj1xmf.js → app-8ra6m1eq.js} +12 -12
- package/dist/chunks/{vcs-43x15q73.js → app-8tfw67qp.js} +5 -5
- package/dist/chunks/{vcs-7pfe8y1s.js → app-8vwr0kv2.js} +30 -30
- package/dist/chunks/{vcs-91qna3x0.js → app-91qna3x0.js} +3 -3
- package/dist/chunks/{vcs-8deh7c6q.js → app-98kf8pf8.js} +7 -7
- package/dist/chunks/{vcs-6fzpscvt.js → app-98q3jtnf.js} +45 -45
- package/dist/chunks/{vcs-8aaqm6qj.js → app-9c3np669.js} +8 -8
- package/dist/chunks/{vcs-ggz4hs15.js → app-9e402gr3.js} +8 -8
- package/dist/chunks/{vcs-pa8pe2x7.js → app-9hn6k4tm.js} +8 -8
- package/dist/chunks/{vcs-mrjwzkn5.js → app-9qhp2c7y.js} +141 -141
- package/dist/chunks/{vcs-snpb5q77.js → app-9r716ba7.js} +11 -11
- package/dist/chunks/{vcs-d4ra3eqj.js → app-9ya8rqmz.js} +9 -9
- package/dist/chunks/{vcs-f0y3hrmm.js → app-9yj1abes.js} +6 -6
- package/dist/chunks/{vcs-tf45wne3.js → app-a1r4fzdz.js} +13 -13
- package/dist/chunks/{vcs-2haft7pr.js → app-a7fam1e2.js} +7 -7
- package/dist/chunks/{vcs-hr1xc807.js → app-ab2t1dtp.js} +48 -48
- package/dist/chunks/{vcs-mxvxcxwy.js → app-addxnjmp.js} +4 -4
- package/dist/chunks/{vcs-2p0vx0df.js → app-ahmp80x8.js} +27 -27
- package/dist/chunks/{vcs-50x795jv.js → app-amp8j8pr.js} +12 -12
- package/dist/chunks/{vcs-959n08kb.js → app-aprfpfra.js} +21 -21
- package/dist/chunks/{vcs-zh36sqcy.js → app-b1zzbc3b.js} +32 -32
- package/dist/chunks/{vcs-hdkng2sj.js → app-b3f8fkhc.js} +5 -5
- package/dist/chunks/{vcs-66enaw2c.js → app-b52w3eve.js} +4 -4
- package/dist/chunks/{vcs-1x73a69w.js → app-b8pbb0pt.js} +10 -10
- package/dist/chunks/{vcs-f2rv6855.js → app-bd2d2fyk.js} +41 -41
- package/dist/chunks/{vcs-hf9zz0cr.js → app-beagraae.js} +43 -43
- package/dist/chunks/{vcs-ywt8jp22.js → app-bjx1sjef.js} +9 -9
- package/dist/chunks/{vcs-txm3e8qz.js → app-bmr56wjg.js} +4 -4
- package/dist/chunks/{vcs-0tccdhza.js → app-c03pjh90.js} +12 -12
- package/dist/chunks/{vcs-wb44jxr9.js → app-c3ygfgpc.js} +12 -12
- package/dist/chunks/{vcs-c41wscbt.js → app-c41wscbt.js} +2 -2
- package/dist/chunks/{vcs-c8ax2afj.js → app-c8ax2afj.js} +2 -2
- package/dist/chunks/{vcs-c07ssfks.js → app-c9jm02cr.js} +34 -34
- package/dist/chunks/{vcs-z7k5sp21.js → app-caxa2972.js} +24 -24
- package/dist/chunks/{vcs-jjwt9gb5.js → app-cfp06q6p.js} +9 -9
- package/dist/chunks/{vcs-yd2v78na.js → app-cfw4348y.js} +13 -13
- package/dist/chunks/{vcs-hyr8tqae.js → app-cgc5rfg9.js} +20 -20
- package/dist/chunks/{vcs-z7g9232g.js → app-cz6hf250.js} +15 -15
- package/dist/chunks/{vcs-tmwxzkc5.js → app-db0xxnph.js} +11 -11
- package/dist/chunks/{vcs-8h8yzxqj.js → app-dcy4tesk.js} +4 -4
- package/dist/chunks/{vcs-pp3afwvg.js → app-de5e1pd0.js} +25 -25
- package/dist/chunks/{vcs-2sejkfem.js → app-djszqvmq.js} +9 -9
- package/dist/chunks/{vcs-3ag8ase7.js → app-dkd3r0qk.js} +9 -9
- package/dist/chunks/{vcs-kb66r164.js → app-dqavy2be.js} +9 -9
- package/dist/chunks/{vcs-dqxsqydv.js → app-dqxsqydv.js} +1 -1
- package/dist/chunks/{vcs-xhsv9n96.js → app-dsp8ce2r.js} +12 -12
- package/dist/chunks/{vcs-prg9xvqw.js → app-dvq678aa.js} +11 -11
- package/dist/chunks/{vcs-wp94metk.js → app-e1zfsj3q.js} +50 -50
- package/dist/chunks/{vcs-bjfb5pqm.js → app-eebrnx85.js} +44 -44
- package/dist/chunks/{vcs-eej6y6fw.js → app-eej6y6fw.js} +2 -2
- package/dist/chunks/app-eeyb3kb4.js +26 -0
- package/dist/chunks/{vcs-ef5x83kb.js → app-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-es1vcfrp.js → app-es1vcfrp.js} +3 -3
- package/dist/chunks/{vcs-mng7gjgz.js → app-ew1z5sec.js} +42 -36
- package/dist/chunks/{vcs-ajsx4q8w.js → app-ewkj75rr.js} +28 -28
- package/dist/chunks/{vcs-e7yzyp2p.js → app-f2ft21ck.js} +10 -10
- package/dist/chunks/{vcs-shhyvxrq.js → app-f4acqtff.js} +13 -13
- package/dist/chunks/{vcs-h4txjgx3.js → app-f4esc38z.js} +21 -21
- package/dist/chunks/{vcs-0ybbsf06.js → app-f5qq0z73.js} +6 -6
- package/dist/chunks/{vcs-fb8ejb83.js → app-fb8ejb83.js} +2 -2
- package/dist/chunks/{vcs-ps8k6c3y.js → app-ft4twj61.js} +25 -22
- package/dist/chunks/{vcs-6r0vq68t.js → app-g2y3xem8.js} +8 -8
- package/dist/chunks/{vcs-t781ex0h.js → app-g3jb9vbz.js} +5 -5
- package/dist/chunks/{vcs-avkamz5m.js → app-g524tknc.js} +3 -3
- package/dist/chunks/{vcs-7rzsvbkj.js → app-g98q3q0z.js} +5 -5
- package/dist/chunks/{vcs-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-pn3cc07s.js → app-gs3s1a1g.js} +8 -8
- package/dist/chunks/{vcs-2fassr37.js → app-gwaqpvd3.js} +21 -21
- package/dist/chunks/{vcs-qwhbyzhp.js → app-gyp319fn.js} +9 -9
- package/dist/chunks/{vcs-4jy3z28a.js → app-h594728p.js} +40 -40
- package/dist/chunks/{vcs-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-j9mp9csx.js → app-hgbrfrgh.js} +31 -31
- package/dist/chunks/{vcs-hgz4x7wa.js → app-hgz4x7wa.js} +1 -1
- package/dist/chunks/{vcs-drw8pd7a.js → app-hns1z3c7.js} +13 -13
- package/dist/chunks/{vcs-7zrk7djy.js → app-hsj3w1wy.js} +25 -25
- package/dist/chunks/app-ht5y0zrb.js +18 -0
- package/dist/chunks/{vcs-xsqeaj90.js → app-j8cq26a0.js} +166 -166
- package/dist/chunks/{vcs-61tjv46k.js → app-jb61p9mr.js} +9 -9
- package/dist/chunks/{vcs-8xc0ff7b.js → app-jczc6vns.js} +43 -43
- package/dist/chunks/{vcs-339z2p0x.js → app-jhbf14tp.js} +30 -30
- package/dist/chunks/{vcs-mf6tqe69.js → app-jv6mm5r1.js} +11 -11
- package/dist/chunks/{vcs-khmqacep.js → app-khmqacep.js} +1 -1
- package/dist/chunks/{vcs-d688a3nx.js → app-kmhdg12v.js} +5 -5
- package/dist/chunks/{vcs-vjjaysxc.js → app-kvycfk4x.js} +2 -2
- package/dist/chunks/{vcs-fz2076pd.js → app-m339f9ts.js} +12 -12
- package/dist/chunks/{vcs-9kyabpxr.js → app-m8c5na8n.js} +29 -29
- package/dist/chunks/{vcs-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-maspj1v3.js → app-maspj1v3.js} +1 -1
- package/dist/chunks/{vcs-mx61yyya.js → app-mbqhpway.js} +34 -34
- package/dist/chunks/{vcs-npb06z3t.js → app-mdq09p9n.js} +28 -28
- package/dist/chunks/{vcs-j3k7xgch.js → app-mgnzszw4.js} +18 -18
- package/dist/chunks/{vcs-q6yya7b3.js → app-mtrbqqrq.js} +5 -5
- package/dist/chunks/{vcs-w5a76q94.js → app-mtx19441.js} +40 -40
- package/dist/chunks/{vcs-w14c85af.js → app-myt7gyg8.js} +25 -25
- package/dist/chunks/{vcs-z4zy5fwe.js → app-mz1gwbmy.js} +32 -32
- package/dist/chunks/{vcs-z2qhp8mt.js → app-mzv8fsd3.js} +9 -9
- package/dist/chunks/{vcs-nxe4pcap.js → app-n1n192bv.js} +4 -4
- package/dist/chunks/{vcs-06x8he3q.js → app-n4r3xatb.js} +4 -4
- package/dist/chunks/{vcs-z67m2mck.js → app-nmyzmte7.js} +9 -9
- package/dist/chunks/{vcs-4j5c83jz.js → app-nn5r88dg.js} +27 -27
- package/dist/chunks/{vcs-ec9rznf1.js → app-nwf09bmb.js} +23 -23
- package/dist/chunks/{vcs-73hq82r2.js → app-nwkxhzdw.js} +3 -3
- package/dist/chunks/{vcs-5paa9ef2.js → app-p0szy2by.js} +22 -22
- package/dist/chunks/{vcs-v1c3gq9j.js → app-p9j4m5kb.js} +39 -39
- package/dist/chunks/{vcs-1y283654.js → app-pct1c8gm.js} +4 -4
- package/dist/chunks/{vcs-tc4g7eq4.js → app-pfqb00sy.js} +26 -26
- package/dist/chunks/{vcs-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-p6p0ds8a.js → app-ppztqrvt.js} +4 -4
- package/dist/chunks/{vcs-k351gqed.js → app-pw9017y3.js} +10 -10
- package/dist/chunks/{vcs-1vv4j6r1.js → app-pxactvkc.js} +24 -24
- package/dist/chunks/{vcs-k5stwhrj.js → app-py2zmy8a.js} +9 -9
- package/dist/chunks/{vcs-0r5qpn88.js → app-py3aq9mf.js} +8 -8
- package/dist/chunks/{vcs-8sze2n9a.js → app-py3kkmfq.js} +6 -6
- package/dist/chunks/{vcs-q0xm7vwc.js → app-q0xm7vwc.js} +2 -2
- package/dist/chunks/{vcs-v854f2p9.js → app-qckt8r3e.js} +53 -53
- package/dist/chunks/{vcs-c3wxzxxt.js → app-qfshw0gf.js} +16 -16
- package/dist/chunks/{vcs-qnc92qwc.js → app-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-31z5wm9z.js → app-r0tzxxam.js} +13 -13
- package/dist/chunks/{vcs-xn2dpj90.js → app-r20pc6jk.js} +18 -18
- package/dist/chunks/{vcs-ed1g29hy.js → app-r2z489rp.js} +3 -3
- package/dist/chunks/{vcs-3y45vew5.js → app-r3c0wznm.js} +4 -4
- package/dist/chunks/{vcs-a4sqqhtm.js → app-rcc9h87s.js} +77 -77
- package/dist/chunks/{vcs-dn8cvzj6.js → app-rccqpthc.js} +21 -21
- package/dist/chunks/{vcs-rdw6cm16.js → app-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-0gdmqesm.js → app-rhjbct0v.js} +4 -4
- package/dist/chunks/{vcs-dc9sh8np.js → app-s09achy7.js} +11 -11
- package/dist/chunks/{vcs-jspk3b6b.js → app-s3s74cy0.js} +12 -12
- package/dist/chunks/{vcs-g8n2q3ca.js → app-s4frcz2y.js} +3 -3
- package/dist/chunks/{vcs-kxtwbv1b.js → app-s9ynav7r.js} +6 -6
- package/dist/chunks/{vcs-0nx0j33j.js → app-sh3ppxw7.js} +18 -18
- package/dist/chunks/{vcs-vpycaasy.js → app-sp3ra5c3.js} +24 -24
- package/dist/chunks/{vcs-syv4x271.js → app-syv4x271.js} +1 -1
- package/dist/chunks/{vcs-eghc6w1b.js → app-szqhjf28.js} +2 -2
- package/dist/chunks/{vcs-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-sragp8dr.js → app-tbxn6vr2.js} +5 -5
- package/dist/chunks/{vcs-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{vcs-9qt0ajd2.js → app-tfxdznec.js} +4 -4
- package/dist/chunks/{vcs-tkb22qbm.js → app-tkb22qbm.js} +2 -2
- package/dist/chunks/{vcs-tm0kqsz3.js → app-tm0kqsz3.js} +1 -1
- package/dist/chunks/{vcs-2sbm49xc.js → app-tppyp9pb.js} +10 -10
- package/dist/chunks/{vcs-xc6sx546.js → app-tsn6bzsd.js} +10 -10
- package/dist/chunks/{vcs-kdezk8ga.js → app-twa3mmh2.js} +1 -1
- package/dist/chunks/{vcs-tyytaxap.js → app-tyytaxap.js} +1 -1
- package/dist/chunks/{vcs-edrmdtr5.js → app-v5dkyp31.js} +7 -7
- package/dist/chunks/{vcs-6x89tf4f.js → app-v7grjy9x.js} +4 -4
- package/dist/chunks/{vcs-v7p4zvkq.js → app-v7p4zvkq.js} +2 -2
- package/dist/chunks/{vcs-s14a018q.js → app-v8aakqbc.js} +15 -15
- package/dist/chunks/{vcs-4myngvt6.js → app-vbkq08fs.js} +28 -28
- package/dist/chunks/{vcs-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-0r7t0cpv.js → app-vga3q6rs.js} +22 -22
- package/dist/chunks/{vcs-f3q0mxg4.js → app-vhg2fda3.js} +16 -16
- package/dist/chunks/{vcs-jqrmqyhf.js → app-vm6z5n2a.js} +3 -3
- package/dist/chunks/{vcs-v2z9amn0.js → app-vmnv22r9.js} +3 -3
- package/dist/chunks/{vcs-cebgx87p.js → app-vnfp1bqh.js} +6 -6
- package/dist/chunks/{vcs-7t1q934f.js → app-vppcbm3y.js} +11 -11
- package/dist/chunks/{vcs-dcw3vkc0.js → app-vptyv5c1.js} +14 -14
- package/dist/chunks/{vcs-qjx1ax0j.js → app-vrzt526f.js} +5 -5
- package/dist/chunks/{vcs-a881zpfh.js → app-vynmvp9h.js} +9 -9
- package/dist/chunks/{vcs-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-qjh2dgdf.js → app-w0g0fbcz.js} +75 -75
- package/dist/chunks/{vcs-17svp89c.js → app-w3p166cb.js} +6 -6
- package/dist/chunks/{vcs-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-8qg5srkn.js → app-wegtz2nd.js} +11 -11
- package/dist/chunks/{vcs-zwjz4pbc.js → app-wgbesqx0.js} +3 -3
- package/dist/chunks/{vcs-8714avm2.js → app-wpt2yr69.js} +4 -4
- package/dist/chunks/{vcs-g7x33k41.js → app-ws3tjcf8.js} +23 -23
- package/dist/chunks/{vcs-2f2kky6g.js → app-wvfxqbgn.js} +27 -27
- package/dist/chunks/{vcs-8xwc2may.js → app-wymv97xa.js} +19 -19
- package/dist/chunks/{vcs-xecxzrdp.js → app-xecxzrdp.js} +2 -2
- package/dist/chunks/{vcs-xfkkasph.js → app-xfkkasph.js} +1 -1
- package/dist/chunks/{vcs-hsv4me1j.js → app-xp096d3h.js} +9 -9
- package/dist/chunks/{vcs-g3et1r9g.js → app-xpagxnxm.js} +16 -16
- package/dist/chunks/{vcs-ekzq6bp1.js → app-xrbzmab8.js} +21 -21
- package/dist/chunks/{vcs-tam2w0b0.js → app-xs4mtx3k.js} +18 -18
- package/dist/chunks/{vcs-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-1qjaf7q9.js → app-y66qpnmq.js} +11 -11
- package/dist/chunks/{vcs-y71avatq.js → app-y71avatq.js} +1 -1
- package/dist/chunks/{vcs-trtty4av.js → app-yf6sbkfw.js} +23 -23
- package/dist/chunks/{vcs-9t99p3cv.js → app-yfwk2dbq.js} +14 -14
- package/dist/chunks/{vcs-1tadxgh6.js → app-yhw0gftb.js} +23 -23
- package/dist/chunks/{vcs-x640gzss.js → app-yhzecjmw.js} +28 -28
- package/dist/chunks/{vcs-4gx4de6d.js → app-ymkmw3p0.js} +14 -14
- package/dist/chunks/{vcs-13d0fw4d.js → app-ynypmsgx.js} +3 -3
- package/dist/chunks/{vcs-9g0h0kex.js → app-yqrs8n94.js} +45 -45
- package/dist/chunks/{vcs-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-2p1hpqj8.js → app-z2ywks3e.js} +13 -13
- package/dist/chunks/{vcs-qvdcjn92.js → app-z34vb90q.js} +16 -16
- package/dist/chunks/{vcs-b4a4df0m.js → app-z4h5nb4t.js} +9 -9
- package/dist/chunks/{vcs-19xes010.js → app-zdg8fsxg.js} +50 -50
- package/dist/chunks/{vcs-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-mz89zh3j.js → app-zw2ke1at.js} +5 -5
- package/dist/chunks/{vcs-ffjarpe8.js → app-zwa8p87b.js} +4 -4
- package/dist/chunks/{vcs-42wenp1t.js → app-zwpqkbw2.js} +10 -10
- package/dist/chunks/{vcs-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-01h1cd23.js → app-zybhphgb.js} +17 -17
- package/dist/chunks/{vcs-e6xzsx93.js → app-zyghg2rr.js} +9 -9
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- 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 +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +85 -85
- 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 +124 -124
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/vcs-kvsxepmb.js +0 -26
- package/dist/chunks/vcs-qc068m1q.js +0 -18
- /package/dist/chunks/{vcs-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → app-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → app-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{vcs-pyv0edze.js → app-pyv0edze.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wjj7prxr.js → app-wjj7prxr.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-addxnjmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./app-64xbrstx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./app-wvfxqbgn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-41vrjm3g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./app-7d01hxhz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./app-pfqb00sy.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-0w0atn8d.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-tsn6bzsd.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID10
|
|
33
|
+
} from "./app-sp3ra5c3.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./app-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID13.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service75;
|
|
167
|
+
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,7 +180,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
185
|
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
@@ -202,7 +202,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID12.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
@@ -230,17 +230,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
230
230
|
}
|
|
231
231
|
});
|
|
232
232
|
yield* ctx.model.transform((models) => {
|
|
233
|
-
if (models.get(
|
|
234
|
-
models.update(
|
|
233
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
234
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
235
235
|
model.enabled = false;
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
});
|
|
239
239
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
240
|
-
yield* bus.subscribe(
|
|
240
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
241
241
|
yield* refresh().pipe(Effect.forkScoped);
|
|
242
242
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
243
|
-
if (evt.model.providerID !==
|
|
243
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
244
244
|
return;
|
|
245
245
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
246
246
|
return;
|
|
@@ -249,7 +249,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
250
|
}));
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
|
-
if (evt.model.providerID !==
|
|
252
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
253
253
|
return;
|
|
254
254
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
255
255
|
return;
|
|
@@ -259,13 +259,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
259
259
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
260
260
|
if (interaction !== "conversation-agent")
|
|
261
261
|
evt.headers["x-initiator"] = "agent";
|
|
262
|
-
}), { providerID:
|
|
262
|
+
}), { providerID: ID12.githubCopilot });
|
|
263
263
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
264
|
-
if (evt.model.providerID !==
|
|
264
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
265
265
|
return;
|
|
266
266
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
267
267
|
return;
|
|
268
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
268
|
+
const agent = yield* ctx.agent.get({ agentID: ID10.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
271
|
if (agent?.data.model)
|
|
@@ -276,9 +276,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
276
276
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
277
277
|
return;
|
|
278
278
|
}));
|
|
279
|
-
}), { providerID:
|
|
279
|
+
}), { providerID: ID12.githubCopilot });
|
|
280
280
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
281
|
-
if (evt.model.providerID !==
|
|
281
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
282
282
|
return;
|
|
283
283
|
const token = evt.request.headers.get("x-api-key");
|
|
284
284
|
if (!token)
|
|
@@ -286,9 +286,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
286
286
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
287
287
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
288
288
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
289
|
-
}), { providerID:
|
|
289
|
+
}), { providerID: ID12.githubCopilot });
|
|
290
290
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
292
292
|
return;
|
|
293
293
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
294
294
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service85,
|
|
9
9
|
node89
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-ynypmsgx.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node58
|
|
18
|
+
} from "./app-s9ynav7r.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID5,
|
|
31
|
+
Info: () => Info14,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service54,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node57
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID5 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info14 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID5,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID5,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service54 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service54,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node89,
|
|
70
|
+
deps: [node89, node58]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service85).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info14({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service54.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID5.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node57 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID5, Info14, NotFound2, CreateConflict2, Service54, configured9, node57, exports_workspace };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service45,
|
|
8
|
+
node48
|
|
9
|
+
} from "./app-f4esc38z.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service21,
|
|
24
|
+
node: () => node23
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service21 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service45;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service21.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node23 = makeLocationNode({ service: Service21, layer, deps: [node48, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service21, node23, exports_ripgrep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
6
|
Service51
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-98q3jtnf.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service45
|
|
13
|
+
} from "./app-f4esc38z.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service63
|
|
16
|
+
} from "./app-vptyv5c1.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./app-e1zfsj3q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-1ahdgg21.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service49,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-p0szy2by.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service41
|
|
37
|
+
} from "./app-1jredeff.js";
|
|
38
38
|
import {
|
|
39
39
|
Service26
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./app-w0g0fbcz.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-7sg3efhr.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./app-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin38,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name3 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input3 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,18 +117,18 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin38 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
123
|
const sessions = yield* Service26;
|
|
124
|
-
const jobs = yield*
|
|
124
|
+
const jobs = yield* Service63;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service45;
|
|
127
|
+
const access = yield* Service19;
|
|
128
|
+
const shell = yield* Service41;
|
|
129
|
+
const shellSelect = yield* Service49;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
131
|
+
const permission = yield* Service66;
|
|
132
132
|
const config = yield* Service51;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
@@ -148,7 +148,7 @@ var Plugin8 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name3,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin8 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name3,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input3,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name3,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name3];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin38, exports_shell2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
node67
|
|
7
|
+
} from "./app-beagraae.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service23,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
|
+
layer: () => layer11,
|
|
20
|
+
node: () => node26
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service23 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer11 = Layer.effect(Service23, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service64;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer23 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError2({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service23.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node26 = makeLocationNode({
|
|
74
|
+
service: Service23,
|
|
75
|
+
layer: layer11,
|
|
76
|
+
deps: [node67, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError2, Service23, layer11, node26, exports_generate };
|