@glodon-aiot/bot-client-sdk 3.26.0-alpha.23 → 3.26.0-alpha.26

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 (83) hide show
  1. package/README.md +180 -130
  2. package/dist/es/AgentSession.mjs +148 -129
  3. package/dist/es/BotClient.mjs +154 -136
  4. package/dist/es/Config.mjs +56 -89
  5. package/dist/es/Session.mjs +35 -23
  6. package/dist/es/builtinTools/browserRuntime/BrowserCommandRunner.mjs +201 -0
  7. package/dist/es/builtinTools/browserRuntime/PythonRunner.mjs +356 -0
  8. package/dist/es/builtinTools/browserRuntime/WorkspaceBashFs.mjs +350 -0
  9. package/dist/es/builtinTools/browserRuntime/assets.mjs +9 -0
  10. package/dist/es/builtinTools/browserRuntime/loadBash.mjs +17 -0
  11. package/dist/es/builtinTools/browserRuntime/pyodideRunner.py.mjs +96 -0
  12. package/dist/es/builtinTools/browserRuntime/pyodideWorker.mjs +242 -0
  13. package/dist/es/builtinTools/command.mjs +56 -0
  14. package/dist/es/builtinTools/constants.mjs +10 -0
  15. package/dist/es/builtinTools/createBuiltinToolsPlugin.mjs +262 -0
  16. package/dist/es/builtinTools/overview.mjs +77 -0
  17. package/dist/es/builtinTools/paths.mjs +69 -0
  18. package/dist/es/builtinTools/platformSkills.mjs +210 -0
  19. package/dist/es/builtinTools/schemas.mjs +216 -0
  20. package/dist/es/builtinTools/tools.mjs +494 -0
  21. package/dist/es/index.mjs +66 -64
  22. package/dist/es/localFiles/adapters/FileSnapshotAdapter.mjs +160 -0
  23. package/dist/es/localFiles/adapters/FileSystemAccessAdapter.mjs +185 -113
  24. package/dist/es/localFiles/adapters/HostBridgeAdapter.mjs +127 -137
  25. package/dist/es/localFiles/adapters/MemoryWorkspaceAdapter.mjs +132 -97
  26. package/dist/es/localFiles/adapters/WorkspaceFileAdapter.mjs +32 -28
  27. package/dist/es/localFiles/constants.mjs +24 -29
  28. package/dist/es/localFiles/errors.mjs +21 -19
  29. package/dist/es/localFiles/host/connectHostBridge.mjs +37 -34
  30. package/dist/es/localFiles/host/protocol.mjs +27 -13
  31. package/dist/es/localFiles/host/sandboxClient.mjs +476 -0
  32. package/dist/es/localFiles/host/sandboxFrames.mjs +21 -0
  33. package/dist/es/localFiles/preview.mjs +33 -0
  34. package/dist/es/localFiles/schemas.mjs +40 -86
  35. package/dist/es/localFiles/validate.mjs +37 -37
  36. package/dist/es/localFiles/workspace/LocalWorkspace.mjs +167 -86
  37. package/dist/es/localFiles/workspace/WorkspaceFiles.mjs +246 -0
  38. package/dist/es/localMcp/client.mjs +223 -0
  39. package/dist/es/localMcp/register.mjs +155 -0
  40. package/dist/es/localMcp/registry.mjs +39 -0
  41. package/dist/es/package.json.mjs +38 -29
  42. package/dist/es/sessionUpload.mjs +49 -0
  43. package/dist/lib/index.js +379 -10
  44. package/dist/src/AgentSession.d.ts +2 -0
  45. package/dist/src/Config.d.ts +5 -7
  46. package/dist/src/Session.d.ts +6 -0
  47. package/dist/src/builtinTools/browserRuntime/BrowserCommandRunner.d.ts +26 -0
  48. package/dist/src/builtinTools/browserRuntime/PythonRunner.d.ts +67 -0
  49. package/dist/src/builtinTools/browserRuntime/WorkspaceBashFs.d.ts +51 -0
  50. package/dist/src/builtinTools/browserRuntime/assets.d.ts +13 -0
  51. package/dist/src/builtinTools/browserRuntime/loadBash.d.ts +3 -0
  52. package/dist/src/builtinTools/browserRuntime/pyodideWorker.d.ts +44 -0
  53. package/dist/src/builtinTools/command.d.ts +35 -0
  54. package/dist/src/builtinTools/constants.d.ts +17 -0
  55. package/dist/src/builtinTools/createBuiltinToolsPlugin.d.ts +11 -0
  56. package/dist/src/builtinTools/overview.d.ts +5 -0
  57. package/dist/src/builtinTools/paths.d.ts +16 -0
  58. package/dist/src/builtinTools/platformSkills.d.ts +67 -0
  59. package/dist/src/builtinTools/schemas.d.ts +3 -0
  60. package/dist/src/builtinTools/tools.d.ts +64 -0
  61. package/dist/src/index.d.ts +2 -1
  62. package/dist/src/localFiles/adapters/FileSnapshotAdapter.d.ts +24 -0
  63. package/dist/src/localFiles/adapters/FileSystemAccessAdapter.d.ts +4 -1
  64. package/dist/src/localFiles/adapters/HostBridgeAdapter.d.ts +30 -14
  65. package/dist/src/localFiles/adapters/MemoryWorkspaceAdapter.d.ts +4 -1
  66. package/dist/src/localFiles/adapters/WorkspaceFileAdapter.d.ts +22 -0
  67. package/dist/src/localFiles/adapters/fsaTypes.d.ts +2 -0
  68. package/dist/src/localFiles/constants.d.ts +3 -13
  69. package/dist/src/localFiles/host/protocol.d.ts +34 -16
  70. package/dist/src/localFiles/host/sandboxClient.d.ts +104 -0
  71. package/dist/src/localFiles/host/sandboxFrames.d.ts +9 -0
  72. package/dist/src/localFiles/index.d.ts +11 -6
  73. package/dist/src/localFiles/preview.d.ts +2 -0
  74. package/dist/src/localFiles/schemas.d.ts +2 -5
  75. package/dist/src/localFiles/types.d.ts +16 -23
  76. package/dist/src/localFiles/workspace/LocalWorkspace.d.ts +35 -1
  77. package/dist/src/localFiles/workspace/WorkspaceFiles.d.ts +63 -0
  78. package/dist/src/localMcp/client.d.ts +11 -0
  79. package/dist/src/localMcp/register.d.ts +32 -0
  80. package/dist/src/localMcp/registry.d.ts +26 -0
  81. package/dist/src/sessionUpload.d.ts +14 -0
  82. package/package.json +13 -4
  83. package/dist/es/localFiles/createLocalPythonPlugin.mjs +0 -196
@@ -9,7 +9,7 @@ var b = (l, e, t) => e in l ? T(l, e, { enumerable: !0, configurable: !0, writab
9
9
  for (var t of E(e))
10
10
  O.call(e, t) && b(l, t, e[t]);
11
11
  return l;
12
- }, I = (l, e) => C(l, M(e));
12
+ }, y = (l, e) => C(l, M(e));
13
13
  var p = (l, e, t) => (b(l, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  var c = (l, e, t) => new Promise((s, a) => {
15
15
  var n = (i) => {
@@ -35,9 +35,10 @@ import { configuration as S } from "./Config.mjs";
35
35
  import B from "./EventBus.mjs";
36
36
  import { getCVForceService as H } from "./api/index.mjs";
37
37
  import K from "dayjs";
38
+ import { uploadSessionFile as Y } from "./sessionUpload.mjs";
38
39
  const V = 100, u = new U("[Session] ");
39
- var Y = /* @__PURE__ */ ((l) => (l.DataRequestFailed = "data request error", l.SocketConnectionFailed = "socket error", l.IdUndefined = "session id is not defined", l.SendingEmptyContent = "failed at sending empty content", l.Frozen = "session is frozen", l.UserModeError = "failed at setting socket user mode", l.Inactive = "session is inactive", l))(Y || {});
40
- class te {
40
+ var D = /* @__PURE__ */ ((l) => (l.DataRequestFailed = "data request error", l.SocketConnectionFailed = "socket error", l.IdUndefined = "session id is not defined", l.SendingEmptyContent = "failed at sending empty content", l.Frozen = "session is frozen", l.UserModeError = "failed at setting socket user mode", l.Inactive = "session is inactive", l))(D || {});
41
+ class se {
41
42
  /**
42
43
  * Session 类的构造函数,用于初始化会话实例。
43
44
  * @param token - 用户的身份验证令牌,用于解析应用 ID。
@@ -100,7 +101,7 @@ class te {
100
101
  applicationId: this._applicationId
101
102
  }).then((h) => c(this, null, function* () {
102
103
  var m;
103
- this._id = h.id, this.data = I(f({}, h), {
104
+ this._id = h.id, this.data = y(f({}, h), {
104
105
  knowledges: s == null ? void 0 : s.knowledges
105
106
  }), this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, this._id);
106
107
  try {
@@ -108,19 +109,19 @@ class te {
108
109
  if (s != null && s.knowledges)
109
110
  return this.setKnowledges((s == null ? void 0 : s.knowledges) || void 0);
110
111
  }))();
111
- } catch (y) {
112
- u.error(y);
112
+ } catch (I) {
113
+ u.error(I);
113
114
  }
114
115
  yield (() => {
115
116
  if (s != null && s.promptVariables) {
116
- const y = this._promptVariables.map((v) => {
117
+ const I = this._promptVariables.map((v) => {
117
118
  var _, o;
118
119
  const w = ((o = (_ = s.promptVariables) == null ? void 0 : _.find((g) => g.key === v.key && g.type === v.type)) == null ? void 0 : o.value) || "";
119
- return I(f({}, v), {
120
+ return y(f({}, v), {
120
121
  value: w
121
122
  });
122
123
  }).sort((v, w) => v.key.localeCompare(w.key));
123
- return this.setPromptVariables(y || []);
124
+ return this.setPromptVariables(I || []);
124
125
  } else
125
126
  return;
126
127
  })(), this.event.emit("data:created", this.data), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), ((m = this.application) == null ? void 0 : m.type) !== Q.Agent && (this._ready = !0, this.event.emit("ready"));
@@ -204,12 +205,12 @@ class te {
204
205
  }
205
206
  setPromptVariables(e) {
206
207
  return c(this, null, function* () {
207
- const t = e == null ? void 0 : e.map((n) => n.type ? n : I(f({}, n), {
208
+ const t = e == null ? void 0 : e.map((n) => n.type ? n : y(f({}, n), {
208
209
  type: "instruction"
209
210
  })), s = this._promptVariables.map((n) => {
210
211
  var r;
211
212
  const d = ((r = t == null ? void 0 : t.find((i) => i.key === n.key && i.type === n.type)) == null ? void 0 : r.value) || n.value;
212
- return I(f({}, n), {
213
+ return y(f({}, n), {
213
214
  value: d
214
215
  });
215
216
  }).sort((n, d) => n.key.localeCompare(d.key));
@@ -298,10 +299,10 @@ class te {
298
299
  e = f(f({}, t), e), this.event.emit("history:loading"), u.log("history:loading"), (e.endTime || e.startTime) && (this.event.emit("history:moreloading", e), u.log("history:moreloading", e)), this._loadingMessages = !0;
299
300
  const n = yield this.cvforceApi.getChatHistorySessionId(this._applicationId, this._id, e), d = n.map((i, h) => {
300
301
  var v, w;
301
- let m = [], y;
302
- return typeof ((v = i.agentHistoryList) == null ? void 0 : v.agentList) == "string" && (m = JSON.parse(i.agentHistoryList.agentList).reduce((o, g) => (o[g.data.step - 1] || (o[g.data.step - 1] = []), o[g.data.step - 1].push(g), o), [])), h === n.length - 1 && (y = (w = this.data) == null ? void 0 : w.lastRelatedQuestion), I(f({}, i), {
302
+ let m = [], I;
303
+ return typeof ((v = i.agentHistoryList) == null ? void 0 : v.agentList) == "string" && (m = JSON.parse(i.agentHistoryList.agentList).reduce((o, g) => (o[g.data.step - 1] || (o[g.data.step - 1] = []), o[g.data.step - 1].push(g), o), [])), h === n.length - 1 && (I = (w = this.data) == null ? void 0 : w.lastRelatedQuestion), y(f({}, i), {
303
304
  actions: m,
304
- relatedQuesion: y,
305
+ relatedQuesion: I,
305
306
  fromHistory: !0
306
307
  });
307
308
  });
@@ -417,6 +418,17 @@ class te {
417
418
  get messagesLoading() {
418
419
  return this._loadingMessages;
419
420
  }
421
+ /**
422
+ * 把文件上传到当前会话的对象存储,返回可访问的地址。
423
+ * 图片地址放进 send 的 imageContent。
424
+ */
425
+ upload(e) {
426
+ return c(this, null, function* () {
427
+ if (!this._id)
428
+ throw Error("session is not avalible. id is undefined");
429
+ return Y(this.cvforceApi, this._id, e);
430
+ });
431
+ }
420
432
  send(s) {
421
433
  return c(this, arguments, function* (e, t = {
422
434
  stream: S.stream
@@ -462,7 +474,7 @@ class te {
462
474
  return u.error(o), this.event.emit("error", o), !1;
463
475
  }
464
476
  this.frozen = !0, this._stopAnswer = !1;
465
- const y = {
477
+ const I = {
466
478
  sessionId: this.id,
467
479
  role: 2,
468
480
  content: r,
@@ -480,7 +492,7 @@ class te {
480
492
  referenceFirst: n,
481
493
  imageContent: m
482
494
  };
483
- this.pushMessage(y), this.event.emit("question:content", r);
495
+ this.pushMessage(I), this.event.emit("question:content", r);
484
496
  const w = (o) => c(this, null, function* () {
485
497
  if (o.role !== A.Robot)
486
498
  return;
@@ -510,10 +522,10 @@ class te {
510
522
  this.pushMessage(o);
511
523
  this.frozen = !1;
512
524
  });
513
- return this.addEventListener("answer:finish", w), this.sendQuestion(v, I(f({}, t), {
525
+ return this.addEventListener("answer:finish", w), this.sendQuestion(v, y(f({}, t), {
514
526
  stream: a,
515
527
  referenceFirst: n
516
- })), y;
528
+ })), I;
517
529
  });
518
530
  }
519
531
  currentUserQuestion() {
@@ -537,7 +549,7 @@ class te {
537
549
  content: s
538
550
  }).catch((h) => null);
539
551
  if (!a) {
540
- const h = [], m = I(f({}, e), {
552
+ const h = [], m = y(f({}, e), {
541
553
  relatedQuesion: h,
542
554
  index: -3,
543
555
  isLoading: !1
@@ -548,7 +560,7 @@ class te {
548
560
  }
549
561
  const n = (i = a.content) == null ? void 0 : i.split("*").map(F).map(N).filter((h) => !!h);
550
562
  e.relatedQuesion = n, e.index = -3, e.isLoading = !1;
551
- const d = I(f({}, e), {
563
+ const d = y(f({}, e), {
552
564
  relatedQuesion: n,
553
565
  index: -3,
554
566
  isLoading: !1
@@ -610,7 +622,7 @@ class te {
610
622
  this.getRelatedQuesion(i), this.removeEventListener("message:content", r), this.frozen = !1;
611
623
  }
612
624
  });
613
- this.addEventListener("message:content", r), this.sendQuestion(d, I(f({}, e), {
625
+ this.addEventListener("message:content", r), this.sendQuestion(d, y(f({}, e), {
614
626
  stream: s
615
627
  }));
616
628
  });
@@ -783,6 +795,6 @@ class te {
783
795
  }
784
796
  export {
785
797
  V as MAX_KNOWLEDGES_AND_FILES_COUNT,
786
- Y as SessionErrors,
787
- te as default
798
+ D as SessionErrors,
799
+ se as default
788
800
  };
@@ -0,0 +1,201 @@
1
+ var k = Object.defineProperty;
2
+ var U = (r, t, e) => t in r ? k(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
3
+ var A = (r, t, e) => (U(r, typeof t != "symbol" ? t + "" : t, e), e);
4
+ var E = (r, t, e) => new Promise((n, i) => {
5
+ var l = (s) => {
6
+ try {
7
+ a(e.next(s));
8
+ } catch (o) {
9
+ i(o);
10
+ }
11
+ }, c = (s) => {
12
+ try {
13
+ a(e.throw(s));
14
+ } catch (o) {
15
+ i(o);
16
+ }
17
+ }, a = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, c);
18
+ a((e = e.apply(r, t)).next());
19
+ });
20
+ import { domError as y } from "../../localFiles/adapters/WorkspaceFileAdapter.mjs";
21
+ import { ToolError as x, ToolCode as W } from "../../localFiles/errors.mjs";
22
+ import { WORKSPACE_MOUNT as d } from "../constants.mjs";
23
+ import { isSyntheticCwd as L, mentionsSyntheticDir as O, SYNTHETIC_DIR_MESSAGE as T } from "../paths.mjs";
24
+ import { DEFAULT_BASH_MODULE_URL as B } from "./assets.mjs";
25
+ import { loadBash as F } from "./loadBash.mjs";
26
+ import { PythonRunner as M, NO_PIP_MESSAGE as R } from "./PythonRunner.mjs";
27
+ import { WorkspaceBashFs as N } from "./WorkspaceBashFs.mjs";
28
+ const D = `当前环境没有 Node,请改用 python3 或 shell 命令。
29
+ `, I = /* @__PURE__ */ new Set(["writeFile", "appendFile", "mkdir", "rm", "cp", "mv", "chmod", "symlink", "link", "utimes", "createExclusive"]), P = "dev|bin|usr|proc|etc|System|Library|private|var|opt|sbin|tmp|Applications|Volumes|cores|net|home", G = new RegExp(`(^|[\\s'"=(;|&<>\`:])/(?!${P}(?=$|[/\\s'"\`;|&)<>:]))(?!/)`, "g");
30
+ function H(r) {
31
+ let t = !1;
32
+ return {
33
+ fs: new Proxy(r, {
34
+ get(n, i, l) {
35
+ const c = Reflect.get(n, i, l);
36
+ return typeof c != "function" ? c : (...a) => {
37
+ var o;
38
+ const s = String((o = a[0]) != null ? o : "");
39
+ if (t && I.has(String(i)) && !s.startsWith("/dev/"))
40
+ throw Object.assign(new Error(`EROFS: 只能写入工作区下的路径, open '${s}'`), {
41
+ code: "EROFS"
42
+ });
43
+ return c.apply(n, a);
44
+ };
45
+ }
46
+ }),
47
+ lock: () => t = !0
48
+ };
49
+ }
50
+ function j(r) {
51
+ return r instanceof Uint8Array ? r : Uint8Array.from(String(r != null ? r : ""), (t) => t.charCodeAt(0) & 255);
52
+ }
53
+ function K(r) {
54
+ return r instanceof DOMException && r.name === "AbortError";
55
+ }
56
+ function V(r) {
57
+ if (!r)
58
+ return;
59
+ if (r === d)
60
+ return ".";
61
+ if (!r.startsWith(`${d}/`))
62
+ return;
63
+ const t = r.slice(d.length + 1).replace(/\/+$/, "");
64
+ if (!t)
65
+ return ".";
66
+ const e = t.split("/");
67
+ if (!e.some((n) => !n || n === "." || n === ".."))
68
+ return e.join("/");
69
+ }
70
+ function _(r) {
71
+ return !r || r === "." ? d : r === d || r.startsWith(`${d}/`) ? r : `${d}/${r.replace(/^\/+/, "")}`;
72
+ }
73
+ function Y(r) {
74
+ return r.replace(G, (t, e) => `${e}${d}/`);
75
+ }
76
+ function C(r) {
77
+ return r.replace(/\/workspace(?![\p{L}\p{N}_.\-])/gu, (t, e, n) => n[e + t.length] === "/" ? "" : "/");
78
+ }
79
+ class nt {
80
+ constructor(t) {
81
+ A(this, "python");
82
+ this.options = t, this.python = new M({
83
+ adapter: t.adapter,
84
+ sensitive: t.sensitive,
85
+ indexURL: t.pyodideIndexURL,
86
+ createWorker: t.createWorker
87
+ });
88
+ }
89
+ load() {
90
+ return E(this, null, function* () {
91
+ const t = this.options.moduleURL || B;
92
+ try {
93
+ return yield F(t);
94
+ } catch (e) {
95
+ throw new x(W.NotImplemented, `命令运行时加载失败,请确认页面能访问 ${t}(CSP 需在 script-src 放行该地址)。`);
96
+ }
97
+ });
98
+ }
99
+ create(t, e, n, i) {
100
+ const {
101
+ adapter: l,
102
+ sensitive: c
103
+ } = this.options, a = H(new t.InMemoryFs()), s = new t.MountableFs({
104
+ base: a.fs
105
+ });
106
+ s.mount(d, new N(l, "", c));
107
+ const o = (m, u, p) => t.defineCommand(m, () => E(this, null, function* () {
108
+ return {
109
+ stdout: "",
110
+ stderr: u,
111
+ exitCode: p
112
+ };
113
+ })), h = (m) => t.defineCommand(m, (u, p) => E(this, null, function* () {
114
+ var w;
115
+ try {
116
+ return yield this.python.run({
117
+ args: u,
118
+ cwd: p.cwd,
119
+ stdin: j(p.stdin),
120
+ signal: n
121
+ });
122
+ } catch (f) {
123
+ return f instanceof x || K(f) ? ((w = i.fatal) != null || (i.fatal = f), {
124
+ stdout: "",
125
+ stderr: "",
126
+ exitCode: 1
127
+ }) : {
128
+ stdout: "",
129
+ stderr: `${m}: ${f instanceof Error ? f.message : String(f)}
130
+ `,
131
+ exitCode: 1
132
+ };
133
+ }
134
+ })), g = new t.Bash({
135
+ fs: s,
136
+ cwd: e,
137
+ env: {
138
+ HOME: "/tmp",
139
+ LANG: "C.UTF-8"
140
+ },
141
+ customCommands: [o("node", D, 127), o("pip", R, 1), o("pip3", R, 1), h("python3"), h("python")],
142
+ // 默认开启时会在执行期间替换页面的 setTimeout、Function 等全局对象,影响宿主页面。
143
+ defenseInDepth: !1
144
+ });
145
+ return a.lock(), g;
146
+ }
147
+ exec(t) {
148
+ return E(this, null, function* () {
149
+ var h, g, m, u, p, w, f, b, v;
150
+ if (L(t.cwd) || O((h = t.command) != null ? h : "") || O((m = (g = t.argv) == null ? void 0 : g[1]) != null ? m : ""))
151
+ return {
152
+ exitCode: 1,
153
+ stdout: "",
154
+ stderr: `${T}
155
+ `
156
+ };
157
+ const e = yield this.load();
158
+ if ((u = t.signal) != null && u.aborted)
159
+ throw y("AbortError");
160
+ const n = _(t.cwd), i = {}, l = this.create(e, n, t.signal, i), [c, a, ...s] = (p = t.argv) != null ? p : [];
161
+ let o;
162
+ try {
163
+ o = t.argv ? yield l.exec(c, {
164
+ cwd: n,
165
+ signal: t.signal,
166
+ args: [_(a), ...s]
167
+ }) : yield l.exec(Y((w = t.command) != null ? w : ""), {
168
+ cwd: n,
169
+ signal: t.signal,
170
+ rawScript: !0
171
+ });
172
+ } catch (S) {
173
+ if (i.fatal)
174
+ throw i.fatal;
175
+ if ((f = t.signal) != null && f.aborted)
176
+ throw y("AbortError");
177
+ const $ = S instanceof Error ? S.message : String(S);
178
+ return {
179
+ exitCode: 1,
180
+ stdout: "",
181
+ stderr: `bash: ${C($)}
182
+ `
183
+ };
184
+ }
185
+ if (i.fatal)
186
+ throw i.fatal;
187
+ if ((b = t.signal) != null && b.aborted)
188
+ throw y("AbortError");
189
+ return {
190
+ exitCode: o.exitCode,
191
+ stdout: C(o.stdout),
192
+ stderr: C(o.stderr),
193
+ cwd: V((v = o.env) == null ? void 0 : v.PWD)
194
+ };
195
+ });
196
+ }
197
+ }
198
+ export {
199
+ nt as BrowserCommandRunner,
200
+ D as NO_NODE_MESSAGE
201
+ };