@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.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. 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
  3. package/dist/{KnowledgeArea-ClZoLiaZ.js → KnowledgeArea-BV2T5ecq.js} +1 -1
  4. 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
  5. package/dist/{ToolForm-BK9epxdr.js → ToolForm-CJRw9QhZ.js} +1 -1
  6. package/dist/agent-prompt-editor/index.js +198 -179
  7. package/dist/agent-prompt-editor/legacy-converter/index.js +188 -162
  8. package/dist/{choice-UgePgrSl.js → choice-BZa68Gpl.js} +1 -1
  9. package/dist/{guard-DPwe4mCm.js → guard-CZOoBb3d.js} +271 -213
  10. package/dist/index-9-vUHS0W.js +15 -0
  11. package/dist/index-B4oT1Q9u.js +5 -0
  12. package/dist/index-BHgHsPrz.js +5 -0
  13. package/dist/index-Bd2S6qOP.js +19 -0
  14. package/dist/{index-CaA13lC9.js → index-BdSClCaD.js} +1 -1
  15. package/dist/{index-BIi3k45j.js → index-BwkcWrL6.js} +1 -1
  16. package/dist/{index-ChuzFuNm.js → index-Cn_sllKh.js} +1 -1
  17. package/dist/{index-DiLMgNEe.js → index-DvDbrMvv.js} +1 -1
  18. package/dist/{index-DfKH-RZq.js → index-OMoExOaa.js} +2 -2
  19. package/dist/{index-RHu4JIw7.js → index-WExTogRL.js} +1 -1
  20. package/dist/{index-v1UD08i6.js → index-w2M63UAJ.js} +1 -1
  21. package/dist/index.js +3 -3
  22. package/dist/{inline-CVF1zEsG.js → inline-BJJy0svW.js} +1 -1
  23. package/dist/{knowledge-DWM6tWnP.js → knowledge-B3aTxExW.js} +1 -1
  24. package/dist/media-extensions-CpwsEWCD.js +338 -0
  25. package/dist/{media-migration-BctCLEuT.js → media-migration-3-xnOp0T.js} +1 -1
  26. package/dist/{media-policy-B1UuSN2e.js → media-policy-BqquGDH1.js} +36 -36
  27. package/dist/{media-upload-DtH-oCtw.js → media-upload-AunEWyNv.js} +1 -1
  28. package/dist/{model-VLLhEQfn.js → model-aED-32GY.js} +10 -6
  29. package/dist/rich-text/index.js +6 -6
  30. package/dist/rich-text/legacy-converter/index.js +905 -842
  31. package/dist/style.css +1 -1
  32. package/dist/types/agent-prompt-editor/model.d.ts +1 -1
  33. package/dist/types/rich-text/config/descriptor.d.ts +2 -0
  34. package/dist/types/rich-text/model/qianniu-video.d.ts +1 -0
  35. package/dist/types/rich-text/plugins/noFollow/descriptor.d.ts +2 -0
  36. package/dist/types/rich-text/plugins/noFollow/index.d.ts +2 -0
  37. package/dist/types/rich-text/plugins/noFollow/token.d.ts +2 -0
  38. package/dist/types/rich-text/plugins/reasoningMarker/descriptor.d.ts +2 -0
  39. package/dist/types/rich-text/plugins/reasoningMarker/index.d.ts +2 -0
  40. package/dist/types/rich-text/plugins/reasoningMarker/token.d.ts +2 -0
  41. package/dist/types/rich-text/plugins/token-catalog.d.ts +2 -0
  42. package/dist/types/rich-text/public/types.d.ts +1 -1
  43. package/dist/types/rich-text/ui/MediaSourceControls.vue.d.ts +6 -6
  44. package/package.json +3 -3
  45. package/dist/index-BMHUPL5x.js +0 -5
  46. package/dist/index-DJLfgC4v.js +0 -5
  47. package/dist/media-extensions-YYbGuUQa.js +0 -341
@@ -1,4 +1,4 @@
1
- import { p as l, i as c } from "./FkpRichText.vue_vue_type_script_setup_true_lang-D-SOdFra.js";
1
+ import { p as l, i as c } from "./FkpRichText.vue_vue_type_script_setup_true_lang-DaSKjAe7.js";
2
2
  function u(o) {
3
3
  return {
4
4
  id: o,
@@ -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-DPwe4mCm.js";
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 O(s, r = 1e4) {
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: y, key: g, label: b, params: h } = i.attrs || {};
122
- y === "tableKnowledge" && c.add(String(b).trim()), y === "tool" && g === "small_payment" && (o++, T(h == null ? void 0 : h.amount) || a.push(
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
- (y, g) => u(y, `${n}.content[${g}]`)
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
- O as v
149
+ M as v
146
150
  };
@@ -1,11 +1,11 @@
1
- import { p as S, v as C, d as E } from "../FkpRichText.vue_vue_type_script_setup_true_lang-D-SOdFra.js";
2
- import { _ as G, _ as H, r as V } from "../FkpRichText.vue_vue_type_script_setup_true_lang-D-SOdFra.js";
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-DPwe4mCm.js";
6
- import { s as te, e as oe } from "../guard-DPwe4mCm.js";
7
- import { d as O } from "../media-policy-B1UuSN2e.js";
8
- import { a as ie, b as re } from "../media-migration-BctCLEuT.js";
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;