rhua-chatgpt-web 1.1.1 → 1.1.3
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/{api_chain-BhV6_Pmq.js → api_chain-BdfZ6btS.js} +2 -2
- package/dist/{api_chain-DVLnAgiW.cjs → api_chain-BeqsfaDz.cjs} +1 -1
- package/dist/{combine_docs_chain-B9QorZsY.js → combine_docs_chain-COuoBXN8.js} +2 -2
- package/dist/{combine_docs_chain-D8mHPBmd.cjs → combine_docs_chain-DUTKgXFP.cjs} +1 -1
- package/dist/{few_shot-CFSdacSl.js → few_shot-CXrHoFil.js} +1 -1
- package/dist/{few_shot-bRG5F-EG.cjs → few_shot-D5v-GZVm.cjs} +1 -1
- package/dist/{index-CR8ZslxC.js → index-5XRIGdCC.js} +1 -1
- package/dist/index-6S2tDoUS.js +4 -0
- package/dist/index-B2TrxU0U.js +4 -0
- package/dist/{index-DrzloHWR.cjs → index-B2xNSa5_.cjs} +1 -1
- package/dist/{index-9eExIDsS.cjs → index-B8iepdgY.cjs} +1 -1
- package/dist/{index-C0mX7ZGP.js → index-BB--QoGv.js} +679 -254
- package/dist/{index-B1Wlx-OU.cjs → index-BWUHG_4F.cjs} +1 -1
- package/dist/{index-BwGX7L-I.cjs → index-C-KTbjuY.cjs} +1 -1
- package/dist/{index-Dg40JuSw.cjs → index-C8v1v0ZB.cjs} +1 -1
- package/dist/{index-DmZ6JkXr.cjs → index-CSKkNkjZ.cjs} +9 -9
- package/dist/{index-Bz6sXppL.js → index-CZx4UvyD.js} +2 -2
- package/dist/index-Cbk2vr7P.js +4 -0
- package/dist/index-D0EbNeWR.js +4 -0
- package/dist/{index-szMPQlBb.js → index-D1-LRbik.js} +1 -1
- package/dist/{index-CM5Ei0Fe.js → index-D6OD8ywf.js} +2 -2
- package/dist/{index-BKYMy9rL.cjs → index-D6T6bzDk.cjs} +1 -1
- package/dist/{index-CiJIlOWe.cjs → index-DIvROZpA.cjs} +1 -1
- package/dist/{index-B4QG5JFW.js → index-DL9k9te9.js} +1 -1
- package/dist/{index-BxehhQJ1.js → index-DS6Ey1Z3.js} +1 -1
- package/dist/{index-Bm3Y9HAz.cjs → index-Dkt-39To.cjs} +1 -1
- package/dist/{index-B_Zc2AO-.js → index-DpM0G23h.js} +1 -1
- package/dist/{index-B9enJf5m.cjs → index-MSPGHs3d.cjs} +1 -1
- package/dist/{index-BUvzgpbD.cjs → index-iTyupZ7c.cjs} +1 -1
- package/dist/{index-BmJffSUR.cjs → index-ufFGYeSY.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/{index.es-lGV9_rDo.js → index.es-DD7ie9BT.js} +11 -11
- package/dist/{index.es-B2V8NsVE.cjs → index.es-DGO9vBB2.cjs} +2 -2
- package/dist/index.esm.js +1 -1
- package/dist/{llm_chain-1pCOifVt.js → llm_chain-BeI0W_p-.js} +1 -1
- package/dist/{llm_chain-D4IZ67iH.cjs → llm_chain-CCSE7ZH0.cjs} +1 -1
- package/dist/{sequential_chain-B9oXR3Bd.js → sequential_chain-DOfqDL23.js} +1 -1
- package/dist/{sequential_chain-DlVTyzea.cjs → sequential_chain-DPzxZkxm.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{vector_db_qa-BrELsB11.js → vector_db_qa-DQnKfZL6.js} +3 -3
- package/dist/{vector_db_qa-CYd9aCx5.cjs → vector_db_qa-DrnJyLCE.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BDLTve4Z.js +0 -4
- package/dist/index-NaKA8k_1.js +0 -4
- package/dist/index-m3hI35_N.js +0 -4
- package/dist/index-x-JUDIDN.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as minifyWhitespace, e as embedded, p as phrasing } from "./index-
|
|
2
|
-
import { v as visitParents, S as SKIP, w as whitespace } from "./index-
|
|
1
|
+
import { m as minifyWhitespace, e as embedded, p as phrasing } from "./index-DL9k9te9.js";
|
|
2
|
+
import { v as visitParents, S as SKIP, w as whitespace } from "./index-BB--QoGv.js";
|
|
3
3
|
const whitespaceSensitiveTagNames = [
|
|
4
4
|
"pre",
|
|
5
5
|
"script",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as svg, D as html, E as webNamespaces, F as s, G as h, I as find, J as ok, V as VFile, K as VFileMessage } from "./index-
|
|
1
|
+
import { A as svg, D as html, E as webNamespaces, F as s, G as h, I as find, J as ok, V as VFile, K as VFileMessage } from "./index-BB--QoGv.js";
|
|
2
2
|
function location(file) {
|
|
3
3
|
const value = String(file);
|
|
4
4
|
const indices = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as toText, Q as phrasing$2, T as structuredClone, w as whitespace, U as visit, W as EXIT, X as toString, S as SKIP, Y as position } from "./index-
|
|
2
|
-
import { m as minifyWhitespace, p as phrasing$1 } from "./index-
|
|
1
|
+
import { O as toText, Q as phrasing$2, T as structuredClone, w as whitespace, U as visit, W as EXIT, X as toString, S as SKIP, Y as position } from "./index-BB--QoGv.js";
|
|
2
|
+
import { m as minifyWhitespace, p as phrasing$1 } from "./index-DL9k9te9.js";
|
|
3
3
|
function rehypeMinifyWhitespace(options) {
|
|
4
4
|
return function(tree) {
|
|
5
5
|
minifyWhitespace(tree, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CSKkNkjZ.cjs");exports.default=e.remarkRehype,exports.defaultFootnoteBackContent=e.defaultFootnoteBackContent,exports.defaultFootnoteBackLabel=e.defaultFootnoteBackLabel,exports.defaultHandlers=e.handlers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CSKkNkjZ.cjs");exports.default=e.remarkGfm;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as convertElement, o as convert, p as isElement, w as whitespace } from "./index-
|
|
1
|
+
import { n as convertElement, o as convert, p as isElement, w as whitespace } from "./index-BB--QoGv.js";
|
|
2
2
|
const embedded = convertElement(
|
|
3
3
|
/**
|
|
4
4
|
* @param element
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./index-
|
|
1
|
+
"use strict";const e=require("./index-CSKkNkjZ.cjs"),t=e.convertElement(function(e){return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName}),r=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],n=["button","input","select","textarea"],a=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],i={},o=e.convert(["comment","doctype"]);function s(e,t){if("children"in e){const r={...t};return("root"===e.type||u(e))&&(r.before=!0,r.after=!0),r.whitespace=function(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}(e,t),function(e,t){let r=t.before;const n=t.after,a=e.children;let i=a.length,o=-1;for(;++o<i;){const e=s(a[o],{...t,after:c(a,o,n),before:r});e.remove?(a.splice(o,1),o--,i--):e.ignore||(r=e.stripAtStart),l(a[o])&&(r=!1)}return{ignore:!1,stripAtStart:Boolean(r||n),remove:!1}}(e,r)}if("text"===e.type){if("normal"===t.whitespace)return function(e,t){const r=t.collapse(e.value),n={ignore:!1,stripAtStart:!1,remove:!1};let a=0,i=r.length;t.before&&f(r.charAt(0))&&a++;a!==i&&f(r.charAt(i-1))&&(t.after?i--:n.stripAtStart=!0);a===i?n.remove=!0:e.value=r.slice(a,i);return n}(e,t);"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:o(e),stripAtStart:!1,remove:!1}}function c(e,t,r){for(;++t<e.length;){const r=e[t];let n=p(r);if(void 0===n&&"children"in r&&!m(r)&&(n=c(r.children,-1)),"boolean"==typeof n)return n}return r}function p(t){if("element"===t.type){if(l(t))return!1;if(u(t))return!0}else if("text"===t.type){if(!e.whitespace(t))return!1}else if(!o(t))return!1}function l(r){return t(r)||e.isElement(r,n)}function u(t){return e.isElement(t,r)}function m(t){return Boolean("element"===t.type&&t.properties.hidden)||o(t)||e.isElement(t,a)}function f(e){return" "===e||"\n"===e}function d(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function h(){return" "}function g(e){return function(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}const b={}.hasOwnProperty;const y=new Set(["pingback","prefetch","stylesheet"]);const v=e.convertElement(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),w=e.convertElement("meta");exports.embedded=t,exports.minifyWhitespace=function(e,t){s(e,{collapse:g((t||i).newlines?d:h),whitespace:"normal"})},exports.phrasing=function(e){return Boolean("text"===e.type||v(e)||t(e)||function(e){if("element"!==e.type||"link"!==e.tagName)return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let r=-1;if(!Array.isArray(t)||0===t.length)return!1;for(;++r<t.length;)if(!y.has(String(t[r])))return!1;return!0}(e)||w(e)&&function(e,t){const r="element"===e.type&&b.call(e.properties,t)&&e.properties[t];return null!=r&&!1!==r}(e,"itemProp"))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as whitespace, A as svg, I as find, L as stringify, M as stringify$1, N as ccount, D as html$2 } from "./index-
|
|
1
|
+
import { w as whitespace, A as svg, I as find, L as stringify, M as stringify$1, N as ccount, D as html$2 } from "./index-BB--QoGv.js";
|
|
2
2
|
import { z as zwitch } from "./index-BEZf1ZPW.js";
|
|
3
3
|
const htmlVoidElements = [
|
|
4
4
|
"area",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CSKkNkjZ.cjs");exports.default=e.remarkParse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CSKkNkjZ.cjs");exports.fromDom=e.fromDom;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CSKkNkjZ.cjs");exports.unified=e.unified;
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CSKkNkjZ.cjs");require("katex/dist/katex.min.css"),require("@semi-bot/semi-theme-xiangshuishidai/scss/index.scss"),require("@semi-bot/semi-theme-xiangshuishidai/scss/global.scss"),require("@semi-bot/semi-theme-xiangshuishidai/scss/animation.scss"),require("@semi-bot/semi-theme-xiangshuishidai/scss/local.scss"),require("@semi-bot/semi-theme-xiangshuishidai/semi.css"),exports.AgentWebIndex=e.AgentWebIndex,exports.AiBlockEdit=e.AiBlockEdit,exports.CommonUtil=e.CommonUtil,exports.MessageUtil=e.MessageUtil,exports.PluginExecutor=e.PluginExecutor,exports.Storage=e.LocalForageService;
|
|
@@ -3,7 +3,7 @@ import * as ReactDOM from "react-dom";
|
|
|
3
3
|
import ReactDOM__default, { flushSync, createPortal } from "react-dom";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import React__default, { useLayoutEffect, useEffect, useRef, useContext, createRef, memo, createContext, createElement, version, forwardRef, useMemo, useState, useCallback, useImperativeHandle, useSyncExternalStore, Fragment as Fragment$1, useId as useId$2, cloneElement, Children } from "react";
|
|
6
|
-
import { Z as getDefaultExportFromCjs, _ as jsxRuntimeExports } from "./index-
|
|
6
|
+
import { Z as getDefaultExportFromCjs, _ as jsxRuntimeExports } from "./index-BB--QoGv.js";
|
|
7
7
|
function hasWindow() {
|
|
8
8
|
return typeof window !== "undefined";
|
|
9
9
|
}
|
|
@@ -39841,16 +39841,16 @@ async function et$2() {
|
|
|
39841
39841
|
if (fe$1)
|
|
39842
39842
|
return fe$1;
|
|
39843
39843
|
const e = await Promise.all([
|
|
39844
|
-
import("./index-
|
|
39845
|
-
import("./index-
|
|
39846
|
-
import("./index-
|
|
39847
|
-
import("./index-
|
|
39848
|
-
import("./index-
|
|
39849
|
-
import("./index-
|
|
39850
|
-
import("./index-
|
|
39851
|
-
import("./index-
|
|
39852
|
-
import("./index-
|
|
39853
|
-
import("./index-
|
|
39844
|
+
import("./index-D1-LRbik.js"),
|
|
39845
|
+
import("./index-DpM0G23h.js"),
|
|
39846
|
+
import("./index-D0EbNeWR.js"),
|
|
39847
|
+
import("./index-Cbk2vr7P.js"),
|
|
39848
|
+
import("./index-D6OD8ywf.js"),
|
|
39849
|
+
import("./index-B2TrxU0U.js"),
|
|
39850
|
+
import("./index-5XRIGdCC.js"),
|
|
39851
|
+
import("./index-6S2tDoUS.js"),
|
|
39852
|
+
import("./index-DS6Ey1Z3.js"),
|
|
39853
|
+
import("./index-CZx4UvyD.js")
|
|
39854
39854
|
]);
|
|
39855
39855
|
return fe$1 = {
|
|
39856
39856
|
rehypeParse: e[0],
|