@caspian2026/agent-sdk 0.0.13 → 0.0.15
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/{chunk-0vewdqr2.js → chunk-05d4nbqx.js} +3 -3
- package/dist/{chunk-p6qdjxvz.js → chunk-083agw6a.js} +4 -4
- package/dist/{chunk-46yrjrpt.js → chunk-0emm0yvn.js} +5 -5
- package/dist/{chunk-dyvrz8pf.js → chunk-0ghamvvb.js} +3 -3
- package/dist/{chunk-yxk5gqyj.js → chunk-0ns77w8v.js} +1 -1
- package/dist/{chunk-vb6811d0.js → chunk-0q33zpny.js} +2 -2
- package/dist/{chunk-k8m0scgj.js → chunk-12hq1ha7.js} +3 -3
- package/dist/{chunk-eb59rs3b.js → chunk-15g2mh9p.js} +2 -2
- package/dist/{chunk-kj12dpfk.js → chunk-16tnp97x.js} +6 -6
- package/dist/{chunk-5evd2zse.js → chunk-1ek78rsf.js} +47 -47
- package/dist/{chunk-yjg74qmp.js → chunk-29es5rq8.js} +3 -3
- package/dist/{chunk-y26haxyd.js → chunk-2ekqmqv3.js} +3 -3
- package/dist/{chunk-28zk60za.js → chunk-2j63162w.js} +3 -3
- package/dist/{chunk-1qy5fzfv.js → chunk-31bd2413.js} +2 -2
- package/dist/{chunk-3pydh5j4.js → chunk-33wa5mwn.js} +67 -67
- package/dist/{chunk-78e5yhhq.js → chunk-34mcd0qr.js} +3 -3
- package/dist/{chunk-2731ytyz.js → chunk-34xvctr4.js} +2 -2
- package/dist/{chunk-80nhm5kv.js → chunk-3gcmk93c.js} +4 -4
- package/dist/{chunk-nqen92y9.js → chunk-3wf6bqn4.js} +2 -2
- package/dist/{chunk-6napjp29.js → chunk-419x8722.js} +2 -2
- package/dist/{chunk-wgy3ajgs.js → chunk-508wvc51.js} +2 -2
- package/dist/{chunk-61s4nyrq.js → chunk-54dg6e30.js} +1 -1
- package/dist/{chunk-chyw2mbg.js → chunk-5rm8he7t.js} +2 -2
- package/dist/{chunk-214tavdv.js → chunk-5ty68mqk.js} +4 -4
- package/dist/{chunk-w22x70jh.js → chunk-5vp2v5da.js} +7 -7
- package/dist/{chunk-mn75r067.js → chunk-64qyep5d.js} +1 -1
- package/dist/{chunk-6ad9zkxx.js → chunk-6bngm91w.js} +2 -2
- package/dist/{chunk-hd4eg6kh.js → chunk-6pg8j8vx.js} +1 -1
- package/dist/{chunk-41n0ay0p.js → chunk-6v0ae1nh.js} +2 -2
- package/dist/{chunk-dag4jq4v.js → chunk-77n6cc7y.js} +3 -3
- package/dist/{chunk-prmzj577.js → chunk-790ey6rw.js} +8 -8
- package/dist/{chunk-k74dn9ed.js → chunk-7kge6zer.js} +2 -2
- package/dist/{chunk-a5xn5zcr.js → chunk-7rdye8qk.js} +1 -1
- package/dist/{chunk-0f66wzb1.js → chunk-7vjnedhb.js} +1 -1
- package/dist/{chunk-08de1bkc.js → chunk-7wezmwtb.js} +1 -1
- package/dist/{chunk-95t7bqz3.js → chunk-84qdsc71.js} +1 -1
- package/dist/{chunk-t4xsmp8v.js → chunk-89942kk1.js} +2 -2
- package/dist/{chunk-kgbz47x2.js → chunk-89f6szhy.js} +3 -3
- package/dist/{chunk-4dee9ybp.js → chunk-8csnkgj5.js} +2 -2
- package/dist/{chunk-avztt5dv.js → chunk-8gqhtswj.js} +3 -3
- package/dist/{chunk-vyc4jpmd.js → chunk-8mffwag2.js} +3 -3
- package/dist/{chunk-0kf7k9m5.js → chunk-8nw0be5v.js} +2 -2
- package/dist/{chunk-nxww6w6y.js → chunk-8qdr12kk.js} +8 -8
- package/dist/{chunk-dcmxz2jc.js → chunk-9a9721qa.js} +2 -2
- package/dist/{chunk-3nahqj60.js → chunk-9fv8x4z9.js} +1 -1
- package/dist/{chunk-04493mqv.js → chunk-9m9gda9b.js} +1 -1
- package/dist/{chunk-hv17xdf2.js → chunk-9rf5w469.js} +3 -3
- package/dist/{chunk-9v8bfqqf.js → chunk-a9pa363t.js} +13 -13
- package/dist/{chunk-92tdswr4.js → chunk-a9pj298y.js} +3 -3
- package/dist/{chunk-wbnakd1c.js → chunk-aazd62g0.js} +3 -3
- package/dist/{chunk-7m88tgnf.js → chunk-agk30cva.js} +2 -2
- package/dist/{chunk-fqeza860.js → chunk-aq40hm18.js} +2 -2
- package/dist/{chunk-ghak0k29.js → chunk-avessfjm.js} +1 -1
- package/dist/{chunk-drp374qg.js → chunk-b2944ttb.js} +2 -2
- package/dist/{chunk-nr0tf2mh.js → chunk-b2hzefb3.js} +2 -2
- package/dist/{chunk-ja27ank4.js → chunk-bk2sebs7.js} +1 -1
- package/dist/{chunk-r2rs4j2j.js → chunk-bm77yw1t.js} +2 -2
- package/dist/{chunk-d4geyzbs.js → chunk-bz1xarje.js} +1 -1
- package/dist/{chunk-7cdb1dmj.js → chunk-c7d1xq2c.js} +2 -2
- package/dist/{chunk-dh90decj.js → chunk-cbtdzn4n.js} +2 -2
- package/dist/{chunk-0kadewva.js → chunk-cejp895f.js} +4 -4
- package/dist/{chunk-zg0pfvsf.js → chunk-chrhnfm2.js} +4 -4
- package/dist/{chunk-hbjfgsq7.js → chunk-d3mqz65a.js} +3 -3
- package/dist/{chunk-janv6kzf.js → chunk-d55rhsae.js} +2 -2
- package/dist/{chunk-x0kh4peb.js → chunk-e3t1kxzw.js} +11 -11
- package/dist/{chunk-1a1vxr0c.js → chunk-e6sthm24.js} +2 -2
- package/dist/{chunk-gh9nd6cm.js → chunk-ebj6051b.js} +2 -2
- package/dist/{chunk-xzyjwk6j.js → chunk-eeap3z6b.js} +2 -2
- package/dist/{chunk-jckcqmvg.js → chunk-egfj2v2a.js} +2 -2
- package/dist/{chunk-xs51q1qa.js → chunk-f3er7pr9.js} +9 -9
- package/dist/{chunk-nyz79eye.js → chunk-f4vvjw02.js} +9 -9
- package/dist/{chunk-qt5gdpwa.js → chunk-fghry534.js} +1 -1
- package/dist/{chunk-hvd5f5h0.js → chunk-fmer4sbv.js} +2 -2
- package/dist/{chunk-45d8h5fm.js → chunk-fpm7gj3m.js} +1 -1
- package/dist/{chunk-zsm1wrwx.js → chunk-fqrvrhhq.js} +1 -1
- package/dist/{chunk-jdcbgzym.js → chunk-g28z03f9.js} +1 -1
- package/dist/{chunk-1ty5asgx.js → chunk-g4pe7bay.js} +3 -3
- package/dist/{chunk-0f6sd60f.js → chunk-g9pvzjby.js} +1 -1
- package/dist/{chunk-07hj3a7t.js → chunk-ghsrqk8m.js} +1 -1
- package/dist/{chunk-n61z171a.js → chunk-gx8kpmhv.js} +5 -5
- package/dist/{chunk-4pqjrr8y.js → chunk-h3mmevhg.js} +2 -2
- package/dist/{chunk-sj3ntw5a.js → chunk-h4jsnhjf.js} +2 -2
- package/dist/{chunk-23v0rkfx.js → chunk-hbfyv3xf.js} +2 -2
- package/dist/{chunk-v8h27d3a.js → chunk-hqpx8yrz.js} +3 -3
- package/dist/{chunk-qvvyx9ng.js → chunk-hrkpj9f6.js} +2 -2
- package/dist/{chunk-cdcdm51e.js → chunk-htzsbyg5.js} +2 -2
- package/dist/{chunk-4c622mwe.js → chunk-hvgh4jrm.js} +3 -3
- package/dist/{chunk-efw8je3h.js → chunk-hwycnsc7.js} +4 -4
- package/dist/{chunk-j74js26x.js → chunk-hz0ezmdm.js} +4 -4
- package/dist/{chunk-v0wh0bgd.js → chunk-j1knpstd.js} +2 -2
- package/dist/{chunk-43jvrt4d.js → chunk-j31pvw9j.js} +2 -2
- package/dist/{chunk-zzgpnftk.js → chunk-jawam8jk.js} +2 -2
- package/dist/{chunk-yqzy84qy.js → chunk-jf0p1r1c.js} +2 -2
- package/dist/{chunk-8r6fbt5c.js → chunk-jqdye8m8.js} +1 -1
- package/dist/{chunk-4mf6kgx2.js → chunk-js6e203p.js} +12 -12
- package/dist/{chunk-rs064jvw.js → chunk-js7s44zm.js} +8 -8
- package/dist/{chunk-expz589n.js → chunk-jses8c9v.js} +12 -12
- package/dist/{chunk-an61z5e5.js → chunk-jsjfmttc.js} +1 -1
- package/dist/{chunk-cnjjhxan.js → chunk-jtcbz8sp.js} +2 -2
- package/dist/{chunk-6ydz9pjp.js → chunk-k1q59mr6.js} +1 -1
- package/dist/{chunk-am6tqacd.js → chunk-k2ge5dx4.js} +1 -1
- package/dist/{chunk-3f5qszvs.js → chunk-k6vc8tfj.js} +5 -5
- package/dist/{chunk-f2rmgh78.js → chunk-k8dbm0a7.js} +2 -2
- package/dist/{chunk-2wks5tbp.js → chunk-kxpjg8s7.js} +1 -1
- package/dist/{chunk-aphk8j5w.js → chunk-m0xzgepc.js} +10 -10
- package/dist/{chunk-jqep56xs.js → chunk-m4pfn45q.js} +4 -4
- package/dist/{chunk-e41dxjrm.js → chunk-mfen6g48.js} +2 -2
- package/dist/{chunk-j6q4ew2b.js → chunk-mfrcqzvc.js} +2 -2
- package/dist/{chunk-546yeymz.js → chunk-mxax3zmr.js} +6 -6
- package/dist/{chunk-fv93118c.js → chunk-mxxgnbsz.js} +10 -10
- package/dist/{chunk-qybnayqm.js → chunk-n3en8vmf.js} +2 -2
- package/dist/{chunk-kkb0165y.js → chunk-n3xygbvg.js} +1 -1
- package/dist/{chunk-e0k5wevz.js → chunk-naknrbs1.js} +38 -38
- package/dist/{chunk-x3c6448d.js → chunk-nc2rrtb6.js} +4 -4
- package/dist/{chunk-mwzzqca7.js → chunk-nfy58jsw.js} +2 -2
- package/dist/{chunk-1sy6bdrv.js → chunk-ng7kq563.js} +1 -1
- package/dist/{chunk-0259ffd5.js → chunk-nhfafbej.js} +2 -2
- package/dist/{chunk-83gk1qqt.js → chunk-nhhkfxt1.js} +2 -2
- package/dist/{chunk-eh344a7h.js → chunk-nkaap81r.js} +1 -1
- package/dist/{chunk-cew3ax9k.js → chunk-pemaxw36.js} +58 -58
- package/dist/{chunk-7177yqpa.js → chunk-pf4csnkm.js} +2 -2
- package/dist/{chunk-redqdwa5.js → chunk-pgjn7b4n.js} +1 -1
- package/dist/{chunk-z3th2q62.js → chunk-pgjqafjx.js} +5 -5
- package/dist/{chunk-2jcrkn8m.js → chunk-ptrxmfcx.js} +1 -1
- package/dist/{chunk-g6bpc05g.js → chunk-q09gqme7.js} +78 -61
- package/dist/{chunk-3j2d5r8z.js → chunk-q26mw5w6.js} +5 -5
- package/dist/{chunk-vjd52x2d.js → chunk-qfkdzwpw.js} +12 -12
- package/dist/{chunk-pcz5838z.js → chunk-qj29yvdp.js} +6 -6
- package/dist/{chunk-4r5k4e1k.js → chunk-qqd2twg2.js} +21 -21
- package/dist/{chunk-sga2ay5t.js → chunk-qrjx16m7.js} +2 -2
- package/dist/{chunk-zgck4td9.js → chunk-qxv6dbef.js} +1 -1
- package/dist/{chunk-zzs0138c.js → chunk-qy4x4thf.js} +9 -9
- package/dist/{chunk-v2801hvz.js → chunk-r54ccfvf.js} +2 -2
- package/dist/{chunk-qd2ztwsc.js → chunk-r6817wsv.js} +1 -1
- package/dist/{chunk-cn646q7m.js → chunk-r6vmfgvb.js} +4 -4
- package/dist/{chunk-sqhgc03m.js → chunk-rbb8aadm.js} +1 -1
- package/dist/{chunk-ya4nc0ee.js → chunk-reekeaw0.js} +5 -5
- package/dist/{chunk-pmw1pw00.js → chunk-rgxzwbc5.js} +8 -8
- package/dist/{chunk-8s7kcstd.js → chunk-rppwqq3c.js} +2 -2
- package/dist/{chunk-e9pw9h37.js → chunk-rqb3d1ab.js} +4 -4
- package/dist/{chunk-zr18x8mm.js → chunk-rrsttgrq.js} +2 -2
- package/dist/{chunk-br16k3dc.js → chunk-s8pbd9x3.js} +1 -1
- package/dist/{chunk-bkrganba.js → chunk-sjpeqc4n.js} +2 -2
- package/dist/{chunk-txckt9ke.js → chunk-sq8qey5q.js} +6 -6
- package/dist/{chunk-50ccstzb.js → chunk-sxajcbmn.js} +1 -1
- package/dist/{chunk-qbjs0b0k.js → chunk-sxcqg6k8.js} +2 -2
- package/dist/{chunk-jnssgm4f.js → chunk-syh85y45.js} +2 -2
- package/dist/{chunk-99w11kb7.js → chunk-tsskxz6d.js} +5 -5
- package/dist/{chunk-6sf1v2cq.js → chunk-tvp4vqf3.js} +7 -7
- package/dist/{chunk-yrr9ykn9.js → chunk-v5kncmyk.js} +5 -5
- package/dist/{chunk-1py8an1f.js → chunk-vg42jd58.js} +2 -2
- package/dist/{chunk-4swpnh0b.js → chunk-vkhs95be.js} +2 -2
- package/dist/{chunk-1vzz9b06.js → chunk-w59ckbap.js} +3 -3
- package/dist/{chunk-y12r2kxd.js → chunk-w6d8vh5z.js} +1 -1
- package/dist/{chunk-4750qavh.js → chunk-wat7dk7j.js} +2 -2
- package/dist/{chunk-6j0rkk59.js → chunk-wmxe6b8n.js} +2 -2
- package/dist/{chunk-9gvm6tmk.js → chunk-wpddkjvd.js} +2 -2
- package/dist/{chunk-rasd60cv.js → chunk-x0cydsvq.js} +2 -2
- package/dist/{chunk-9ax032z9.js → chunk-x1yrt86q.js} +4 -4
- package/dist/{chunk-g1396pvw.js → chunk-x5kkaerc.js} +4 -4
- package/dist/{chunk-8rc8jtgd.js → chunk-x9tq1eew.js} +3 -3
- package/dist/{chunk-embf6hvv.js → chunk-xt2v8y2n.js} +2 -2
- package/dist/{chunk-bnyy9ktk.js → chunk-y6xwhrtg.js} +2 -2
- package/dist/{chunk-8zct692x.js → chunk-yazxcv11.js} +3 -3
- package/dist/{chunk-7zwyj3jm.js → chunk-yza03kxz.js} +3 -3
- package/dist/{chunk-0px6jj0k.js → chunk-z7kpj5vh.js} +2 -2
- package/dist/{chunk-sx1nf0bd.js → chunk-zet2vkqz.js} +48 -48
- package/dist/{chunk-cxdje86s.js → chunk-zzmt0165.js} +1 -1
- package/dist/cli.js +3 -3
- package/dist/gateway/index.js +2 -2
- package/dist/gateway/worker.js +86 -67
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
normalizeMessagesForAPI,
|
|
15
15
|
toolMatchesName,
|
|
16
16
|
toolToAPISchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-33wa5mwn.js";
|
|
18
18
|
import"./chunk-mcws22k3.js";
|
|
19
19
|
import"./chunk-jzthz1bx.js";
|
|
20
20
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -24,7 +24,7 @@ import"./chunk-ehtwnxpg.js";
|
|
|
24
24
|
import"./chunk-w9v6bd0p.js";
|
|
25
25
|
import"./chunk-0wy4ckdx.js";
|
|
26
26
|
import"./chunk-87xg6yb4.js";
|
|
27
|
-
import"./chunk-
|
|
27
|
+
import"./chunk-s8pbd9x3.js";
|
|
28
28
|
import"./chunk-2gzv8nrw.js";
|
|
29
29
|
import"./chunk-2h6f45jx.js";
|
|
30
30
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -6493,6 +6493,26 @@ var init_openai = __esm(() => {
|
|
|
6493
6493
|
});
|
|
6494
6494
|
|
|
6495
6495
|
// src/services/api/openai/client.ts
|
|
6496
|
+
function getOpenAICustomHeaders() {
|
|
6497
|
+
const customHeaders = {};
|
|
6498
|
+
const customHeadersEnv = process.env.OPENAI_CUSTOM_HEADERS;
|
|
6499
|
+
if (!customHeadersEnv)
|
|
6500
|
+
return customHeaders;
|
|
6501
|
+
const headerStrings = customHeadersEnv.split(/\n|\r\n/);
|
|
6502
|
+
for (const headerString of headerStrings) {
|
|
6503
|
+
if (!headerString.trim())
|
|
6504
|
+
continue;
|
|
6505
|
+
const colonIdx = headerString.indexOf(":");
|
|
6506
|
+
if (colonIdx === -1)
|
|
6507
|
+
continue;
|
|
6508
|
+
const name = headerString.slice(0, colonIdx).trim();
|
|
6509
|
+
const value = headerString.slice(colonIdx + 1).trim();
|
|
6510
|
+
if (name) {
|
|
6511
|
+
customHeaders[name] = value;
|
|
6512
|
+
}
|
|
6513
|
+
}
|
|
6514
|
+
return customHeaders;
|
|
6515
|
+
}
|
|
6496
6516
|
function getOpenAIClient(options) {
|
|
6497
6517
|
if (cachedClient)
|
|
6498
6518
|
return cachedClient;
|
|
@@ -6506,6 +6526,7 @@ function getOpenAIClient(options) {
|
|
|
6506
6526
|
dangerouslyAllowBrowser: true,
|
|
6507
6527
|
...process.env.OPENAI_ORG_ID && { organization: process.env.OPENAI_ORG_ID },
|
|
6508
6528
|
...process.env.OPENAI_PROJECT_ID && { project: process.env.OPENAI_PROJECT_ID },
|
|
6529
|
+
defaultHeaders: getOpenAICustomHeaders(),
|
|
6509
6530
|
fetchOptions: getProxyFetchOptions({ forAnthropicAPI: false }),
|
|
6510
6531
|
...options?.fetchOverride && { fetch: options.fetchOverride }
|
|
6511
6532
|
});
|
|
@@ -6588,8 +6609,8 @@ function convertInternalUserMessage(msg) {
|
|
|
6588
6609
|
});
|
|
6589
6610
|
} else if (Array.isArray(content)) {
|
|
6590
6611
|
const textParts = [];
|
|
6591
|
-
const toolResults = [];
|
|
6592
6612
|
const imageParts = [];
|
|
6613
|
+
const toolResults = [];
|
|
6593
6614
|
for (const block of content) {
|
|
6594
6615
|
if (typeof block === "string") {
|
|
6595
6616
|
textParts.push(block);
|
|
@@ -6598,57 +6619,76 @@ function convertInternalUserMessage(msg) {
|
|
|
6598
6619
|
} else if (block.type === "tool_result") {
|
|
6599
6620
|
toolResults.push(block);
|
|
6600
6621
|
} else if (block.type === "image") {
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6622
|
+
if (block.source.type === "base64") {
|
|
6623
|
+
imageParts.push({
|
|
6624
|
+
type: "image_url",
|
|
6625
|
+
image_url: { url: `data:${block.source.media_type};base64,${block.source.data}` }
|
|
6626
|
+
});
|
|
6627
|
+
} else if (block.source.type === "url") {
|
|
6628
|
+
imageParts.push({
|
|
6629
|
+
type: "image_url",
|
|
6630
|
+
image_url: { url: block.source.url }
|
|
6631
|
+
});
|
|
6604
6632
|
}
|
|
6605
6633
|
}
|
|
6606
6634
|
}
|
|
6635
|
+
const toolFollowUpMessages = [];
|
|
6607
6636
|
for (const tr of toolResults) {
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6637
|
+
const [toolMessage, ...followUpMessages] = convertToolResult(tr);
|
|
6638
|
+
result.push(toolMessage);
|
|
6639
|
+
toolFollowUpMessages.push(...followUpMessages);
|
|
6640
|
+
}
|
|
6641
|
+
result.push(...toolFollowUpMessages);
|
|
6642
|
+
if (textParts.length > 0 || imageParts.length > 0) {
|
|
6643
|
+
if (imageParts.length > 0) {
|
|
6644
|
+
const contentParts = [];
|
|
6645
|
+
if (textParts.length > 0) {
|
|
6646
|
+
contentParts.push({ type: "text", text: textParts.join(`
|
|
6614
6647
|
`) });
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6648
|
+
}
|
|
6649
|
+
contentParts.push(...imageParts);
|
|
6650
|
+
result.push({
|
|
6651
|
+
role: "user",
|
|
6652
|
+
content: contentParts
|
|
6653
|
+
});
|
|
6654
|
+
} else {
|
|
6655
|
+
result.push({
|
|
6656
|
+
role: "user",
|
|
6657
|
+
content: textParts.join(`
|
|
6625
6658
|
`)
|
|
6626
|
-
|
|
6659
|
+
});
|
|
6660
|
+
}
|
|
6627
6661
|
}
|
|
6628
6662
|
}
|
|
6629
6663
|
return result;
|
|
6630
6664
|
}
|
|
6631
6665
|
function convertToolResult(block) {
|
|
6632
|
-
|
|
6666
|
+
const textParts = [];
|
|
6633
6667
|
if (typeof block.content === "string") {
|
|
6634
|
-
|
|
6668
|
+
textParts.push(block.content);
|
|
6635
6669
|
} else if (Array.isArray(block.content)) {
|
|
6636
|
-
|
|
6637
|
-
if (typeof c === "string")
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6670
|
+
for (const c of block.content) {
|
|
6671
|
+
if (typeof c === "string") {
|
|
6672
|
+
textParts.push(c);
|
|
6673
|
+
continue;
|
|
6674
|
+
}
|
|
6675
|
+
if ("text" in c && typeof c.text === "string") {
|
|
6676
|
+
textParts.push(c.text);
|
|
6677
|
+
continue;
|
|
6678
|
+
}
|
|
6679
|
+
if (c.type === "image") {
|
|
6680
|
+
textParts.push("[image returned by tool]");
|
|
6681
|
+
} else if (c.type === "document") {
|
|
6682
|
+
textParts.push("[document returned by tool]");
|
|
6683
|
+
}
|
|
6684
|
+
}
|
|
6646
6685
|
}
|
|
6647
|
-
return {
|
|
6686
|
+
return [{
|
|
6648
6687
|
role: "tool",
|
|
6649
6688
|
tool_call_id: block.tool_use_id,
|
|
6650
|
-
content
|
|
6651
|
-
|
|
6689
|
+
content: textParts.filter(Boolean).join(`
|
|
6690
|
+
`) || ""
|
|
6691
|
+
}];
|
|
6652
6692
|
}
|
|
6653
6693
|
function convertInternalAssistantMessage(msg, preserveReasoning = false) {
|
|
6654
6694
|
const content = msg.message.content;
|
|
@@ -6703,29 +6743,6 @@ function convertInternalAssistantMessage(msg, preserveReasoning = false) {
|
|
|
6703
6743
|
};
|
|
6704
6744
|
return [result];
|
|
6705
6745
|
}
|
|
6706
|
-
function convertImageBlockToOpenAI(block) {
|
|
6707
|
-
const source = block.source;
|
|
6708
|
-
if (!source)
|
|
6709
|
-
return null;
|
|
6710
|
-
if (source.type === "base64" && typeof source.data === "string") {
|
|
6711
|
-
const mediaType = source.media_type || "image/png";
|
|
6712
|
-
return {
|
|
6713
|
-
type: "image_url",
|
|
6714
|
-
image_url: {
|
|
6715
|
-
url: `data:${mediaType};base64,${source.data}`
|
|
6716
|
-
}
|
|
6717
|
-
};
|
|
6718
|
-
}
|
|
6719
|
-
if (source.type === "url" && typeof source.url === "string") {
|
|
6720
|
-
return {
|
|
6721
|
-
type: "image_url",
|
|
6722
|
-
image_url: {
|
|
6723
|
-
url: source.url
|
|
6724
|
-
}
|
|
6725
|
-
};
|
|
6726
|
-
}
|
|
6727
|
-
return null;
|
|
6728
|
-
}
|
|
6729
6746
|
var init_convertMessages = () => {};
|
|
6730
6747
|
|
|
6731
6748
|
// src/services/api/openai/convertTools.ts
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
clearConversation,
|
|
4
4
|
init_conversation
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
8
|
-
import"./chunk-
|
|
5
|
+
} from "./chunk-7kge6zer.js";
|
|
6
|
+
import"./chunk-mxax3zmr.js";
|
|
7
|
+
import"./chunk-nkaap81r.js";
|
|
8
|
+
import"./chunk-33wa5mwn.js";
|
|
9
9
|
import"./chunk-mcws22k3.js";
|
|
10
10
|
import"./chunk-jzthz1bx.js";
|
|
11
11
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -15,7 +15,7 @@ import"./chunk-ehtwnxpg.js";
|
|
|
15
15
|
import"./chunk-w9v6bd0p.js";
|
|
16
16
|
import"./chunk-0wy4ckdx.js";
|
|
17
17
|
import"./chunk-87xg6yb4.js";
|
|
18
|
-
import"./chunk-
|
|
18
|
+
import"./chunk-s8pbd9x3.js";
|
|
19
19
|
import"./chunk-2gzv8nrw.js";
|
|
20
20
|
import"./chunk-2h6f45jx.js";
|
|
21
21
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Settings,
|
|
4
4
|
init_Settings
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
5
|
+
} from "./chunk-qj29yvdp.js";
|
|
6
|
+
import"./chunk-chrhnfm2.js";
|
|
7
|
+
import"./chunk-jqdye8m8.js";
|
|
8
|
+
import"./chunk-c7d1xq2c.js";
|
|
9
|
+
import"./chunk-qxv6dbef.js";
|
|
10
|
+
import"./chunk-qrjx16m7.js";
|
|
11
11
|
import"./chunk-qgzma8ky.js";
|
|
12
12
|
import"./chunk-p8na2wwp.js";
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
15
|
-
import"./chunk-
|
|
16
|
-
import"./chunk-
|
|
13
|
+
import"./chunk-sxajcbmn.js";
|
|
14
|
+
import"./chunk-ng7kq563.js";
|
|
15
|
+
import"./chunk-64qyep5d.js";
|
|
16
|
+
import"./chunk-fpm7gj3m.js";
|
|
17
17
|
import"./chunk-x7fdwq3d.js";
|
|
18
18
|
import"./chunk-t9p85zff.js";
|
|
19
19
|
import"./chunk-hqdwr6mz.js";
|
|
20
20
|
import"./chunk-0vp3wfab.js";
|
|
21
|
-
import"./chunk-
|
|
21
|
+
import"./chunk-33wa5mwn.js";
|
|
22
22
|
import"./chunk-mcws22k3.js";
|
|
23
23
|
import"./chunk-jzthz1bx.js";
|
|
24
24
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -28,7 +28,7 @@ import"./chunk-ehtwnxpg.js";
|
|
|
28
28
|
import"./chunk-w9v6bd0p.js";
|
|
29
29
|
import"./chunk-0wy4ckdx.js";
|
|
30
30
|
import"./chunk-87xg6yb4.js";
|
|
31
|
-
import"./chunk-
|
|
31
|
+
import"./chunk-s8pbd9x3.js";
|
|
32
32
|
import"./chunk-2gzv8nrw.js";
|
|
33
33
|
import"./chunk-2h6f45jx.js";
|
|
34
34
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
buildSettingSourcesProperties,
|
|
12
12
|
getModelDisplayLabel,
|
|
13
13
|
init_status
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-chrhnfm2.js";
|
|
15
15
|
import {
|
|
16
16
|
ClaudeMdExternalIncludesDialog,
|
|
17
17
|
init_ClaudeMdExternalIncludesDialog
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-jqdye8m8.js";
|
|
19
19
|
import {
|
|
20
20
|
ModelPicker,
|
|
21
21
|
init_ModelPicker,
|
|
22
22
|
init_extraUsage,
|
|
23
23
|
isBilledAsExtraUsage
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-qxv6dbef.js";
|
|
25
25
|
import {
|
|
26
26
|
ThemePicker,
|
|
27
27
|
init_ThemePicker
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-qrjx16m7.js";
|
|
29
29
|
import {
|
|
30
30
|
OverageCreditUpsell,
|
|
31
31
|
init_OverageCreditUpsell,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
init_useSearchInput,
|
|
39
39
|
useSearchInput
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-sxajcbmn.js";
|
|
41
41
|
import {
|
|
42
42
|
init_modalContext,
|
|
43
43
|
useIsInsideModal,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
useAppState,
|
|
86
86
|
useAppStateStore,
|
|
87
87
|
useSetAppState
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-33wa5mwn.js";
|
|
89
89
|
import {
|
|
90
90
|
clearCliTeammateModeOverride,
|
|
91
91
|
getCliTeammateModeOverride,
|
|
@@ -13,19 +13,19 @@ import {
|
|
|
13
13
|
permissionPromptToolResultToPermissionDecision,
|
|
14
14
|
processUserInput,
|
|
15
15
|
reconcileMarketplaces
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-reekeaw0.js";
|
|
17
17
|
import {
|
|
18
18
|
detectAndUninstallDelistedPlugins
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-g4pe7bay.js";
|
|
20
20
|
import {
|
|
21
21
|
restoreAgentFromSession,
|
|
22
22
|
restoreSessionStateFromLog,
|
|
23
23
|
skillChangeDetector
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-bm77yw1t.js";
|
|
25
25
|
import"./chunk-9t6ktd1k.js";
|
|
26
26
|
import {
|
|
27
27
|
externalMetadataToAppState
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-wpddkjvd.js";
|
|
29
29
|
import {
|
|
30
30
|
getSessionState,
|
|
31
31
|
notifySessionMetadataChanged,
|
|
@@ -33,23 +33,23 @@ import {
|
|
|
33
33
|
setPermissionModeChangedListener,
|
|
34
34
|
setSessionMetadataChangedListener,
|
|
35
35
|
setSessionStateChangedListener
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-9m9gda9b.js";
|
|
37
37
|
import {
|
|
38
38
|
init_settingsSync
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-g9pvzjby.js";
|
|
40
40
|
import {
|
|
41
41
|
init_refresh,
|
|
42
42
|
refreshActivePlugins
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-pgjn7b4n.js";
|
|
44
44
|
import {
|
|
45
45
|
init_toolPool,
|
|
46
46
|
mergeAndFilterTools
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import"./chunk-
|
|
47
|
+
} from "./chunk-wat7dk7j.js";
|
|
48
|
+
import"./chunk-6pg8j8vx.js";
|
|
49
49
|
import {
|
|
50
50
|
generateSessionTitle,
|
|
51
51
|
init_sessionTitle
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-0ns77w8v.js";
|
|
53
53
|
import {
|
|
54
54
|
init_systemTheme,
|
|
55
55
|
resolveThemeSetting
|
|
@@ -60,12 +60,12 @@ import {
|
|
|
60
60
|
toInternalMessages,
|
|
61
61
|
toSDKCompactMetadata,
|
|
62
62
|
toSDKRateLimitInfo
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-g28z03f9.js";
|
|
64
64
|
import {
|
|
65
65
|
checkGroveForNonInteractive,
|
|
66
66
|
init_grove,
|
|
67
67
|
isQualifiedForGrove
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-w6d8vh5z.js";
|
|
69
69
|
import {
|
|
70
70
|
ChannelMessageNotificationSchema,
|
|
71
71
|
findChannelEntry,
|
|
@@ -75,17 +75,17 @@ import {
|
|
|
75
75
|
init_omit,
|
|
76
76
|
omit_default,
|
|
77
77
|
wrapChannelMessage
|
|
78
|
-
} from "./chunk-
|
|
79
|
-
import"./chunk-
|
|
80
|
-
import"./chunk-
|
|
78
|
+
} from "./chunk-fghry534.js";
|
|
79
|
+
import"./chunk-31bd2413.js";
|
|
80
|
+
import"./chunk-54dg6e30.js";
|
|
81
81
|
import {
|
|
82
82
|
collectContextData,
|
|
83
83
|
init_context_noninteractive
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-bz1xarje.js";
|
|
85
85
|
import {
|
|
86
86
|
init_sideQuestion,
|
|
87
87
|
runSideQuestion
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-84qdsc71.js";
|
|
89
89
|
import"./chunk-rn0v1hk8.js";
|
|
90
90
|
import {
|
|
91
91
|
CircularBuffer,
|
|
@@ -325,7 +325,7 @@ import {
|
|
|
325
325
|
unregisterSessionActivityCallback,
|
|
326
326
|
updateUsage,
|
|
327
327
|
validateUuid
|
|
328
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-33wa5mwn.js";
|
|
329
329
|
import"./chunk-mcws22k3.js";
|
|
330
330
|
import"./chunk-jzthz1bx.js";
|
|
331
331
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -347,7 +347,7 @@ import {
|
|
|
347
347
|
removeTeammateFromTeamFile,
|
|
348
348
|
unassignTeammateTasks,
|
|
349
349
|
waitForTeammatesToBecomeIdle
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-s8pbd9x3.js";
|
|
351
351
|
import"./chunk-2gzv8nrw.js";
|
|
352
352
|
import"./chunk-2h6f45jx.js";
|
|
353
353
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -4701,7 +4701,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
4701
4701
|
}
|
|
4702
4702
|
pluginInstallPromise = null;
|
|
4703
4703
|
await refreshPluginState();
|
|
4704
|
-
const { setupPluginHookHotReload } = await import("./chunk-
|
|
4704
|
+
const { setupPluginHookHotReload } = await import("./chunk-xt2v8y2n.js");
|
|
4705
4705
|
setupPluginHookHotReload();
|
|
4706
4706
|
}
|
|
4707
4707
|
const isMainThread = (cmd) => cmd.agentId === undefined;
|
|
@@ -6376,7 +6376,7 @@ async function loadInitialMessages(setAppState, options) {
|
|
|
6376
6376
|
processMessagesForTeleportResume,
|
|
6377
6377
|
teleportResumeCodeSession,
|
|
6378
6378
|
validateGitState
|
|
6379
|
-
} = await import("./chunk-
|
|
6379
|
+
} = await import("./chunk-z7kpj5vh.js");
|
|
6380
6380
|
await validateGitState();
|
|
6381
6381
|
const teleportResult = await teleportResumeCodeSession(options.teleport);
|
|
6382
6382
|
const { branchError } = await checkOutTeleportedSessionBranch(teleportResult.branch);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
StructuredDiff,
|
|
4
4
|
init_StructuredDiff
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ng7kq563.js";
|
|
6
6
|
import {
|
|
7
7
|
Select,
|
|
8
8
|
getColorModuleUnavailableReason,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
useAppState,
|
|
19
19
|
useSetAppState,
|
|
20
20
|
useShortcutDisplay
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-33wa5mwn.js";
|
|
22
22
|
import {
|
|
23
23
|
init_useExitOnCtrlCDWithKeybindings,
|
|
24
24
|
useExitOnCtrlCDWithKeybindings
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Doctor,
|
|
4
4
|
init_Doctor
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-sq8qey5q.js";
|
|
6
6
|
import"./chunk-dm7fhe2p.js";
|
|
7
7
|
import"./chunk-qatfdxvd.js";
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-ebj6051b.js";
|
|
9
|
+
import"./chunk-rbb8aadm.js";
|
|
10
|
+
import"./chunk-9fv8x4z9.js";
|
|
11
|
+
import"./chunk-r6817wsv.js";
|
|
12
|
+
import"./chunk-64qyep5d.js";
|
|
13
|
+
import"./chunk-fpm7gj3m.js";
|
|
14
14
|
import"./chunk-x7fdwq3d.js";
|
|
15
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-33wa5mwn.js";
|
|
16
16
|
import"./chunk-mcws22k3.js";
|
|
17
17
|
import"./chunk-jzthz1bx.js";
|
|
18
18
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -22,7 +22,7 @@ import"./chunk-ehtwnxpg.js";
|
|
|
22
22
|
import"./chunk-w9v6bd0p.js";
|
|
23
23
|
import"./chunk-0wy4ckdx.js";
|
|
24
24
|
import"./chunk-87xg6yb4.js";
|
|
25
|
-
import"./chunk-
|
|
25
|
+
import"./chunk-s8pbd9x3.js";
|
|
26
26
|
import"./chunk-2gzv8nrw.js";
|
|
27
27
|
import"./chunk-2h6f45jx.js";
|
|
28
28
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
init_xml,
|
|
16
16
|
loadAllLogsFromSessionFile,
|
|
17
17
|
queryWithModel
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-33wa5mwn.js";
|
|
19
19
|
import"./chunk-mcws22k3.js";
|
|
20
20
|
import"./chunk-jzthz1bx.js";
|
|
21
21
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -25,7 +25,7 @@ import"./chunk-ehtwnxpg.js";
|
|
|
25
25
|
import"./chunk-w9v6bd0p.js";
|
|
26
26
|
import"./chunk-0wy4ckdx.js";
|
|
27
27
|
import"./chunk-87xg6yb4.js";
|
|
28
|
-
import"./chunk-
|
|
28
|
+
import"./chunk-s8pbd9x3.js";
|
|
29
29
|
import"./chunk-2gzv8nrw.js";
|
|
30
30
|
import"./chunk-2h6f45jx.js";
|
|
31
31
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ThemePicker,
|
|
4
4
|
init_ThemePicker
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
5
|
+
} from "./chunk-qrjx16m7.js";
|
|
6
|
+
import"./chunk-ng7kq563.js";
|
|
7
|
+
import"./chunk-33wa5mwn.js";
|
|
8
8
|
import"./chunk-mcws22k3.js";
|
|
9
9
|
import"./chunk-jzthz1bx.js";
|
|
10
10
|
import"./chunk-xkpb3hbc.js";
|
|
@@ -14,7 +14,7 @@ import"./chunk-ehtwnxpg.js";
|
|
|
14
14
|
import"./chunk-w9v6bd0p.js";
|
|
15
15
|
import"./chunk-0wy4ckdx.js";
|
|
16
16
|
import"./chunk-87xg6yb4.js";
|
|
17
|
-
import"./chunk-
|
|
17
|
+
import"./chunk-s8pbd9x3.js";
|
|
18
18
|
import"./chunk-2gzv8nrw.js";
|
|
19
19
|
import"./chunk-2h6f45jx.js";
|
|
20
20
|
import"./chunk-cgfdkzhb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
notifySessionStateChanged
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-9m9gda9b.js";
|
|
5
5
|
import {
|
|
6
6
|
init_slashCommandParsing,
|
|
7
7
|
parseSlashCommand
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
storeImages,
|
|
104
104
|
toArray,
|
|
105
105
|
useAppState
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-33wa5mwn.js";
|
|
107
107
|
import {
|
|
108
108
|
init_useExitOnCtrlCDWithKeybindings,
|
|
109
109
|
useExitOnCtrlCDWithKeybindings
|
|
@@ -2788,7 +2788,7 @@ async function processUserInputBase(input, mode, setToolJSX, context, pastedCont
|
|
|
2788
2788
|
if (mode === "prompt" && !context.options.isNonInteractiveSession && inputString !== null && !effectiveSkipSlash && !inputString.startsWith("/") && !context.getAppState().ultraplanSessionUrl && !context.getAppState().ultraplanLaunching && hasUltraplanKeyword(preExpansionInput ?? inputString)) {
|
|
2789
2789
|
logEvent("tengu_ultraplan_keyword", {});
|
|
2790
2790
|
const rewritten = replaceUltraplanKeyword(inputString).trim();
|
|
2791
|
-
const { processSlashCommand } = await import("./chunk-
|
|
2791
|
+
const { processSlashCommand } = await import("./chunk-htzsbyg5.js");
|
|
2792
2792
|
const slashResult = await processSlashCommand(`/ultraplan ${rewritten}`, precedingInputBlocks, imageContentBlocks, [], context, setToolJSX, uuid, isAlreadyProcessing, canUseTool);
|
|
2793
2793
|
return addImageMetadataMessage(slashResult, imageMetadataTexts);
|
|
2794
2794
|
}
|
|
@@ -2797,11 +2797,11 @@ async function processUserInputBase(input, mode, setToolJSX, context, pastedCont
|
|
|
2797
2797
|
const attachmentMessages = shouldExtractAttachments ? await toArray(getAttachmentMessages(inputString, context, ideSelection ?? null, [], messages, querySource)) : [];
|
|
2798
2798
|
queryCheckpoint("query_attachment_loading_end");
|
|
2799
2799
|
if (inputString !== null && mode === "bash") {
|
|
2800
|
-
const { processBashCommand } = await import("./chunk-
|
|
2800
|
+
const { processBashCommand } = await import("./chunk-8nw0be5v.js");
|
|
2801
2801
|
return addImageMetadataMessage(await processBashCommand(inputString, precedingInputBlocks, attachmentMessages, context, setToolJSX), imageMetadataTexts);
|
|
2802
2802
|
}
|
|
2803
2803
|
if (inputString !== null && !effectiveSkipSlash && inputString.startsWith("/")) {
|
|
2804
|
-
const { processSlashCommand } = await import("./chunk-
|
|
2804
|
+
const { processSlashCommand } = await import("./chunk-htzsbyg5.js");
|
|
2805
2805
|
const slashResult = await processSlashCommand(inputString, precedingInputBlocks, imageContentBlocks, attachmentMessages, context, setToolJSX, uuid, isAlreadyProcessing, canUseTool);
|
|
2806
2806
|
return addImageMetadataMessage(slashResult, imageMetadataTexts);
|
|
2807
2807
|
}
|
|
@@ -7,22 +7,22 @@ import {
|
|
|
7
7
|
init_validatePlugin,
|
|
8
8
|
parseMarketplaceInput,
|
|
9
9
|
validateManifest
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ghsrqk8m.js";
|
|
11
11
|
import {
|
|
12
12
|
init_MCPConnectionManager,
|
|
13
13
|
useMcpReconnect,
|
|
14
14
|
useMcpToggleEnabled
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-jf0p1r1c.js";
|
|
16
16
|
import {
|
|
17
17
|
init_pluginAutoupdate,
|
|
18
18
|
updatePluginsForMarketplaces
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-sxcqg6k8.js";
|
|
20
20
|
import {
|
|
21
21
|
getFlaggedPlugins,
|
|
22
22
|
init_pluginFlagging,
|
|
23
23
|
markFlaggedPluginsSeen,
|
|
24
24
|
removeFlaggedPlugin
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-fghry534.js";
|
|
26
26
|
import {
|
|
27
27
|
disablePluginOp,
|
|
28
28
|
enablePluginOp,
|
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
isPluginEnabledAtProjectScope,
|
|
33
33
|
uninstallPluginOp,
|
|
34
34
|
updatePluginOp
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-31bd2413.js";
|
|
36
36
|
import {
|
|
37
37
|
getPluginEditableScopes,
|
|
38
38
|
init_pluginStartupCheck
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-54dg6e30.js";
|
|
40
40
|
import {
|
|
41
41
|
init_SearchBox
|
|
42
42
|
} from "./chunk-p8na2wwp.js";
|
|
43
43
|
import {
|
|
44
44
|
init_useSearchInput,
|
|
45
45
|
useSearchInput
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-sxajcbmn.js";
|
|
47
47
|
import {
|
|
48
48
|
AuthenticationCancelledError,
|
|
49
49
|
ConfigurableShortcutHint,
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
setMarketplaceAutoUpdate,
|
|
123
123
|
useAppState,
|
|
124
124
|
useSetAppState
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-33wa5mwn.js";
|
|
126
126
|
import {
|
|
127
127
|
init_useExitOnCtrlCDWithKeybindings,
|
|
128
128
|
useExitOnCtrlCDWithKeybindings
|