@freecallai/pro 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/README.md +1 -1
- package/dist/{FkpRichText.vue_vue_type_script_setup_true_lang-D-SOdFra.js → FkpRichText.vue_vue_type_script_setup_true_lang-DaSKjAe7.js} +246 -244
- package/dist/{KnowledgeArea-ClZoLiaZ.js → KnowledgeArea-BV2T5ecq.js} +1 -1
- package/dist/{KnowledgeArea.vue_vue_type_script_setup_true_lang-CoFF-WCe.js → KnowledgeArea.vue_vue_type_script_setup_true_lang-QJZNyAnH.js} +221 -223
- package/dist/{ToolForm-BK9epxdr.js → ToolForm-CJRw9QhZ.js} +1 -1
- package/dist/agent-prompt-editor/index.js +198 -179
- package/dist/agent-prompt-editor/legacy-converter/index.js +188 -162
- package/dist/{choice-UgePgrSl.js → choice-BZa68Gpl.js} +1 -1
- package/dist/{guard-DPwe4mCm.js → guard-CZOoBb3d.js} +271 -213
- package/dist/index-9-vUHS0W.js +15 -0
- package/dist/index-B4oT1Q9u.js +5 -0
- package/dist/index-BHgHsPrz.js +5 -0
- package/dist/index-Bd2S6qOP.js +19 -0
- package/dist/{index-CaA13lC9.js → index-BdSClCaD.js} +1 -1
- package/dist/{index-BIi3k45j.js → index-BwkcWrL6.js} +1 -1
- package/dist/{index-ChuzFuNm.js → index-Cn_sllKh.js} +1 -1
- package/dist/{index-DiLMgNEe.js → index-DvDbrMvv.js} +1 -1
- package/dist/{index-DfKH-RZq.js → index-OMoExOaa.js} +2 -2
- package/dist/{index-RHu4JIw7.js → index-WExTogRL.js} +1 -1
- package/dist/{index-v1UD08i6.js → index-w2M63UAJ.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{inline-CVF1zEsG.js → inline-BJJy0svW.js} +1 -1
- package/dist/{knowledge-DWM6tWnP.js → knowledge-B3aTxExW.js} +1 -1
- package/dist/media-extensions-CpwsEWCD.js +338 -0
- package/dist/{media-migration-BctCLEuT.js → media-migration-3-xnOp0T.js} +1 -1
- package/dist/{media-policy-B1UuSN2e.js → media-policy-BqquGDH1.js} +36 -36
- package/dist/{media-upload-DtH-oCtw.js → media-upload-AunEWyNv.js} +1 -1
- package/dist/{model-VLLhEQfn.js → model-aED-32GY.js} +10 -6
- package/dist/rich-text/index.js +6 -6
- package/dist/rich-text/legacy-converter/index.js +905 -842
- package/dist/style.css +1 -1
- package/dist/types/agent-prompt-editor/model.d.ts +1 -1
- package/dist/types/rich-text/config/descriptor.d.ts +2 -0
- package/dist/types/rich-text/model/qianniu-video.d.ts +1 -0
- package/dist/types/rich-text/plugins/noFollow/descriptor.d.ts +2 -0
- package/dist/types/rich-text/plugins/noFollow/index.d.ts +2 -0
- package/dist/types/rich-text/plugins/noFollow/token.d.ts +2 -0
- package/dist/types/rich-text/plugins/reasoningMarker/descriptor.d.ts +2 -0
- package/dist/types/rich-text/plugins/reasoningMarker/index.d.ts +2 -0
- package/dist/types/rich-text/plugins/reasoningMarker/token.d.ts +2 -0
- package/dist/types/rich-text/plugins/token-catalog.d.ts +2 -0
- package/dist/types/rich-text/public/types.d.ts +1 -1
- package/dist/types/rich-text/ui/MediaSourceControls.vue.d.ts +6 -6
- package/package.json +3 -3
- package/dist/index-BMHUPL5x.js +0 -5
- package/dist/index-DJLfgC4v.js +0 -5
- package/dist/media-extensions-YYbGuUQa.js +0 -341
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { e as k } from "./types-PvYB5e85.js";
|
|
2
|
-
import { a as $, b as S, c as T } from "./guard-
|
|
2
|
+
import { a as $, b as S, c as T } from "./guard-CZOoBb3d.js";
|
|
3
3
|
const I = [
|
|
4
4
|
"variable",
|
|
5
5
|
"todo",
|
|
@@ -10,6 +10,8 @@ const I = [
|
|
|
10
10
|
"video",
|
|
11
11
|
"originalReply",
|
|
12
12
|
"separator",
|
|
13
|
+
"noFollow",
|
|
14
|
+
"reasoningMarker",
|
|
13
15
|
"smallPayment"
|
|
14
16
|
], x = () => ({
|
|
15
17
|
schemaVersion: 1,
|
|
@@ -51,6 +53,8 @@ function P(s) {
|
|
|
51
53
|
"tableKnowledge",
|
|
52
54
|
"attribute",
|
|
53
55
|
"separator",
|
|
56
|
+
"noFollow",
|
|
57
|
+
"reasoningMarker",
|
|
54
58
|
"tool"
|
|
55
59
|
].includes(String(n)) || n === "tool" && ((u = t.attrs) == null ? void 0 : u.key) !== "small_payment")
|
|
56
60
|
return `${e}.attrs.kind`;
|
|
@@ -107,7 +111,7 @@ function _(s) {
|
|
|
107
111
|
};
|
|
108
112
|
return t(s.doc), r;
|
|
109
113
|
}
|
|
110
|
-
function
|
|
114
|
+
function M(s, r = 1e4) {
|
|
111
115
|
const t = C(s);
|
|
112
116
|
if (t)
|
|
113
117
|
return [
|
|
@@ -118,8 +122,8 @@ function O(s, r = 1e4) {
|
|
|
118
122
|
const a = [], u = (i, n) => {
|
|
119
123
|
var f, m;
|
|
120
124
|
if (i.type === "text" && (i.text || "").trim() && (l = !0), i.type === "agentSizeChart" && (e.add(String((f = i.attrs) == null ? void 0 : f.name).trim()), l = !0), i.type === "businessToken") {
|
|
121
|
-
const { kind:
|
|
122
|
-
|
|
125
|
+
const { kind: g, key: y, label: b, params: h } = i.attrs || {};
|
|
126
|
+
g === "tableKnowledge" && c.add(String(b).trim()), g === "tool" && y === "small_payment" && (o++, T(h == null ? void 0 : h.amount) || a.push(
|
|
123
127
|
p(
|
|
124
128
|
"PAYMENT_INVALID",
|
|
125
129
|
"小额打款金额必须为 1–99 整数元",
|
|
@@ -128,7 +132,7 @@ function O(s, r = 1e4) {
|
|
|
128
132
|
)), l = !0;
|
|
129
133
|
}
|
|
130
134
|
(i.type === "mediaBlock" || i.type === "originalReply") && (l = !0), (m = i.content) == null || m.forEach(
|
|
131
|
-
(
|
|
135
|
+
(g, y) => u(g, `${n}.content[${y}]`)
|
|
132
136
|
);
|
|
133
137
|
};
|
|
134
138
|
return u(s.doc, "doc"), l || a.push(p("PROMPT_EMPTY", "请填写提示词", "doc")), _(s) > r && a.push(
|
|
@@ -142,5 +146,5 @@ export {
|
|
|
142
146
|
_ as c,
|
|
143
147
|
x as e,
|
|
144
148
|
C as f,
|
|
145
|
-
|
|
149
|
+
M as v
|
|
146
150
|
};
|
package/dist/rich-text/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { p as S, v as C, d as E } from "../FkpRichText.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as G, _ as H, r as V } from "../FkpRichText.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { p as S, v as C, d as E } from "../FkpRichText.vue_vue_type_script_setup_true_lang-DaSKjAe7.js";
|
|
2
|
+
import { _ as G, _ as H, r as V } from "../FkpRichText.vue_vue_type_script_setup_true_lang-DaSKjAe7.js";
|
|
3
3
|
import { _ as X } from "../FkpKnowledgeTypePicker.vue_vue_type_script_setup_true_lang--MPtqZY_.js";
|
|
4
4
|
import { e as Z, a as ee } from "../types-PvYB5e85.js";
|
|
5
|
-
import { a as m, j as x } from "../guard-
|
|
6
|
-
import { s as te, e as oe } from "../guard-
|
|
7
|
-
import { d as O } from "../media-policy-
|
|
8
|
-
import { a as ie, b as re } from "../media-migration-
|
|
5
|
+
import { a as m, j as x } from "../guard-CZOoBb3d.js";
|
|
6
|
+
import { s as te, e as oe } from "../guard-CZOoBb3d.js";
|
|
7
|
+
import { d as O } from "../media-policy-BqquGDH1.js";
|
|
8
|
+
import { a as ie, b as re } from "../media-migration-3-xnOp0T.js";
|
|
9
9
|
const b = (e) => !!e && typeof e == "object" && !Array.isArray(e);
|
|
10
10
|
function v(e) {
|
|
11
11
|
let n;
|