@glodon-aiot/bot-client-sdk 3.26.0-alpha.19 → 3.26.0-alpha.21

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.
@@ -1,15 +1,15 @@
1
- var S = Object.defineProperty, b = Object.defineProperties;
1
+ var _ = Object.defineProperty, b = Object.defineProperties;
2
2
  var C = Object.getOwnPropertyDescriptors;
3
- var _ = Object.getOwnPropertySymbols;
3
+ var k = Object.getOwnPropertySymbols;
4
4
  var R = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
5
- var p = (r, e, t) => e in r ? S(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e) => {
5
+ var p = (r, e, t) => e in r ? _(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, u = (r, e) => {
6
6
  for (var t in e || (e = {}))
7
7
  R.call(e, t) && p(r, t, e[t]);
8
- if (_)
9
- for (var t of _(e))
8
+ if (k)
9
+ for (var t of k(e))
10
10
  H.call(e, t) && p(r, t, e[t]);
11
11
  return r;
12
- }, k = (r, e) => b(r, C(e));
12
+ }, P = (r, e) => b(r, C(e));
13
13
  var s = (r, e, t) => (p(r, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  var d = (r, e, t) => new Promise((i, n) => {
15
15
  var a = (o) => {
@@ -28,7 +28,7 @@ var d = (r, e, t) => new Promise((i, n) => {
28
28
  l((t = t.apply(r, e)).next());
29
29
  });
30
30
  import T from "../../EventBus.mjs";
31
- import { FileSystemAccessAdapter as P } from "../adapters/FileSystemAccessAdapter.mjs";
31
+ import { FileSystemAccessAdapter as S } from "../adapters/FileSystemAccessAdapter.mjs";
32
32
  import { FileSnapshotAdapter as F } from "../adapters/FileSnapshotAdapter.mjs";
33
33
  import { getNativeDirectoryPicker as D } from "../adapters/fsaTypes.mjs";
34
34
  import { LOCAL_FILES_FUNCTION_CODES as W } from "../constants.mjs";
@@ -143,8 +143,11 @@ class te {
143
143
  displayName: t
144
144
  }));
145
145
  }
146
+ replaceAdapter(e) {
147
+ this._adapter !== e && this.files.releaseAllUrls(), this._adapter = e;
148
+ }
146
149
  attachHandle(e) {
147
- this.cancelFilesChanged(), this.pendingHandle = e, this._adapter = new P(e), this.setStatus("granted", e.name), this.unwatchDirectory(), this.stopWatching = U(e, (t) => this.notifyFilesChanged(t));
150
+ this.cancelFilesChanged(), this.pendingHandle = e, this.replaceAdapter(new S(e)), this.setStatus("granted", e.name), this.unwatchDirectory(), this.stopWatching = U(e, (t) => this.notifyFilesChanged(t));
148
151
  }
149
152
  // -------------------------------------------------------------------------
150
153
  // 授权
@@ -196,7 +199,7 @@ class te {
196
199
  if (e !== this.epoch)
197
200
  return;
198
201
  if (!(t != null && t.handle)) {
199
- this.pendingHandle = null, this._adapter = null, this.setStatus("none", void 0);
202
+ this.pendingHandle = null, this.replaceAdapter(null), this.setStatus("none", void 0);
200
203
  return;
201
204
  }
202
205
  let i;
@@ -212,14 +215,14 @@ class te {
212
215
  this.attachHandle(t.handle);
213
216
  return;
214
217
  }
215
- this.pendingHandle = t.handle, this._adapter = null, this.setStatus(i === "denied" ? "denied" : "prompt", t.displayName);
218
+ this.pendingHandle = t.handle, this.replaceAdapter(null), this.setStatus(i === "denied" ? "denied" : "prompt", t.displayName);
216
219
  }
217
220
  });
218
221
  }
219
222
  /** queryPermission 仍可能是 prompt,但选择框留下的句柄其实列得出目录。 */
220
223
  canList(e) {
221
224
  return d(this, null, function* () {
222
- const t = new P(e);
225
+ const t = new S(e);
223
226
  let i;
224
227
  const n = new Promise((l) => {
225
228
  i = setTimeout(() => l(!1), 2e3);
@@ -238,12 +241,12 @@ class te {
238
241
  } catch (i) {
239
242
  return Promise.reject(i);
240
243
  }
241
- return t.then((i) => i === "granted" ? (this.attachHandle(e), !0) : (this._adapter = null, this.setStatus(i === "denied" ? "denied" : "prompt", e.name), !1));
244
+ return t.then((i) => i === "granted" ? (this.attachHandle(e), !0) : (this.replaceAdapter(null), this.setStatus(i === "denied" ? "denied" : "prompt", e.name), !1));
242
245
  }
243
246
  /** 断开工作区并删除持久化句柄。状态立即变为未授权,存储删除在其后完成。 */
244
247
  clear() {
245
248
  return d(this, null, function* () {
246
- this.epoch += 1, this.cancelAll(), this.cancelFilesChanged(), this.unwatchDirectory(), this.pendingHandle = null, this._adapter = null, this.setStatus(this.picker ? "none" : "unsupported", void 0), yield this.store.delete(this.handleKey).catch(() => {
249
+ this.epoch += 1, this.cancelAll(), this.cancelFilesChanged(), this.unwatchDirectory(), this.pendingHandle = null, this.replaceAdapter(null), this.setStatus(this.picker ? "none" : "unsupported", void 0), yield this.store.delete(this.handleKey).catch(() => {
247
250
  });
248
251
  });
249
252
  }
@@ -263,7 +266,7 @@ class te {
263
266
  }
264
267
  /** 直接挂载一个 Adapter(测试或自定义后端),视为已授权。 */
265
268
  attachAdapter(e, t = e.displayName) {
266
- this.epoch += 1, this.cancelAll(), this.cancelFilesChanged(), this.unwatchDirectory(), this.pendingHandle = null, this._adapter = e, this.setStatus("granted", t);
269
+ this.epoch += 1, this.cancelAll(), this.cancelFilesChanged(), this.unwatchDirectory(), this.pendingHandle = null, this.replaceAdapter(e), this.setStatus("granted", t);
267
270
  }
268
271
  /**
269
272
  * 通知目录树重读。`paths` 是相对工作区根的目录;省略时重读当前展开的全部目录。
@@ -297,7 +300,7 @@ class te {
297
300
  if ((i && typeof i == "object" ? i.name : void 0) !== "NotAllowedError")
298
301
  return;
299
302
  }
300
- this.cancelAll(), this.cancelFilesChanged(), this.unwatchDirectory(), this._adapter = null, this.setStatus(t === "denied" ? "denied" : "prompt", e.name);
303
+ this.cancelAll(), this.cancelFilesChanged(), this.unwatchDirectory(), this.replaceAdapter(null), this.setStatus(t === "denied" ? "denied" : "prompt", e.name);
301
304
  }
302
305
  });
303
306
  }
@@ -365,7 +368,7 @@ class te {
365
368
  const e = Object.fromEntries(W.map((t) => [t, !0]));
366
369
  return {
367
370
  protocolVersion: "1.0",
368
- capabilities: k(u({}, e), {
371
+ capabilities: P(u({}, e), {
369
372
  cancellation: !0,
370
373
  atomicWrite: !0
371
374
  }),
@@ -1,188 +1,246 @@
1
- var n = (a, s, t) => new Promise((e, i) => {
2
- var r = (c) => {
1
+ var A = Object.defineProperty;
2
+ var B = (n, t, e) => t in n ? A(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var p = (n, t, e) => (B(n, typeof t != "symbol" ? t + "" : t, e), e);
4
+ var a = (n, t, e) => new Promise((s, r) => {
5
+ var i = (c) => {
3
6
  try {
4
- l(t.next(c));
5
- } catch (d) {
6
- i(d);
7
+ h(e.next(c));
8
+ } catch (w) {
9
+ r(w);
7
10
  }
8
11
  }, o = (c) => {
9
12
  try {
10
- l(t.throw(c));
11
- } catch (d) {
12
- i(d);
13
+ h(e.throw(c));
14
+ } catch (w) {
15
+ r(w);
13
16
  }
14
- }, l = (c) => c.done ? e(c.value) : Promise.resolve(c.value).then(r, o);
15
- l((t = t.apply(a, s)).next());
17
+ }, h = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(i, o);
18
+ h((e = e.apply(n, t)).next());
16
19
  });
17
- import { ToolError as h, ToolCode as w, toToolError as F, workspaceNotGranted as A } from "../errors.mjs";
18
- import { parentPath as u } from "../security/pathPolicy.mjs";
19
- import { SensitiveFilePolicy as k } from "../security/sensitiveFiles.mjs";
20
- const C = "路径必须在工作区内,不能包含 ..、盘符或空字符。";
21
- function g() {
22
- return new h(w.Forbidden, C, {
20
+ import { ToolError as l, ToolCode as f, toToolError as F, workspaceNotGranted as E } from "../errors.mjs";
21
+ import { mediaTypeOf as k, PREVIEW_TYPE_MESSAGE as R } from "../preview.mjs";
22
+ import { parentPath as d } from "../security/pathPolicy.mjs";
23
+ import { SensitiveFilePolicy as U } from "../security/sensitiveFiles.mjs";
24
+ const b = "路径必须在工作区内,不能包含 ..、盘符或空字符。";
25
+ function m() {
26
+ return new l(f.Forbidden, b, {
23
27
  reason: "path_outside_workspace"
24
28
  });
25
29
  }
26
- function f(a, s) {
27
- if (a == null || a === "") {
28
- if (s)
30
+ function u(n, t) {
31
+ if (n == null || n === "") {
32
+ if (t)
29
33
  return "";
30
- throw new h(w.BadRequest, "缺少参数 path。");
31
- }
32
- if (typeof a != "string")
33
- throw new h(w.BadRequest, "path 必须是字符串。");
34
- if (a.includes("\0") || /%(2e|2f|5c|00)/i.test(a))
35
- throw g();
36
- const t = a.normalize("NFC").replace(/\\/g, "/").trim();
37
- if (/^[a-zA-Z]:/.test(t))
38
- throw g();
39
- const e = [];
40
- for (const r of t.split("/"))
41
- if (!(r === "" || r === ".")) {
42
- if (r === "..")
43
- throw g();
44
- e.push(r);
34
+ throw new l(f.BadRequest, "缺少参数 path。");
35
+ }
36
+ if (typeof n != "string")
37
+ throw new l(f.BadRequest, "path 必须是字符串。");
38
+ if (n.includes("\0") || /%(2e|2f|5c|00)/i.test(n))
39
+ throw m();
40
+ const e = n.normalize("NFC").replace(/\\/g, "/").trim();
41
+ if (/^[a-zA-Z]:/.test(e))
42
+ throw m();
43
+ const s = [];
44
+ for (const i of e.split("/"))
45
+ if (!(i === "" || i === ".")) {
46
+ if (i === "..")
47
+ throw m();
48
+ s.push(i);
45
49
  }
46
- const i = e.join("/");
47
- if (!i && !s)
48
- throw new h(w.BadRequest, "path 不能指向工作区根目录。");
49
- return i;
50
+ const r = s.join("/");
51
+ if (!r && !t)
52
+ throw new l(f.BadRequest, "path 不能指向工作区根目录。");
53
+ return r;
50
54
  }
51
- function v(a) {
52
- return new h(w.NotImplemented, `当前工作区不能${a}。`);
55
+ function g(n) {
56
+ return new l(f.NotImplemented, `当前工作区不能${n}。`);
53
57
  }
54
- function p(a, s, t) {
58
+ function P(n, t, e) {
55
59
  return {
56
- name: t.name,
57
- path: s,
58
- kind: t.kind,
59
- size: t.size,
60
- lastModified: t.lastModified,
61
- sensitive: t.kind === "file" && a.sensitive.isSensitive(s)
60
+ name: e.name,
61
+ path: t,
62
+ kind: e.kind,
63
+ size: e.size,
64
+ lastModified: e.lastModified,
65
+ sensitive: e.kind === "file" && n.sensitive.isSensitive(t)
62
66
  };
63
67
  }
64
- class D {
65
- constructor(s) {
66
- this.host = s;
67
- }
68
- stat(s = "") {
69
- return n(this, null, function* () {
70
- const t = f(s, !0), e = yield this.run((i) => i.stat(t));
71
- return p(this.host, t, e);
68
+ class C {
69
+ constructor(t) {
70
+ p(this, "previews", /* @__PURE__ */ new Map());
71
+ p(this, "previewByPath", /* @__PURE__ */ new Map());
72
+ this.host = t;
73
+ }
74
+ stat(t = "") {
75
+ return a(this, null, function* () {
76
+ const e = u(t, !0), s = yield this.run((r) => r.stat(e));
77
+ return P(this.host, e, s);
72
78
  });
73
79
  }
74
80
  list() {
75
- return n(this, arguments, function* (s = "", t = {}) {
76
- const e = f(s, !0);
77
- return (yield this.run((r) => r.listEntries(e, t.signal))).map((r) => {
78
- const o = e ? `${e}/${r.name}` : r.name;
79
- return p(this.host, o, r);
81
+ return a(this, arguments, function* (t = "", e = {}) {
82
+ const s = u(t, !0);
83
+ return (yield this.run((i) => i.listEntries(s, e.signal))).map((i) => {
84
+ const o = s ? `${s}/${i.name}` : i.name;
85
+ return P(this.host, o, i);
80
86
  });
81
87
  });
82
88
  }
83
- read(s) {
84
- return n(this, null, function* () {
85
- const t = f(s, !1);
86
- return this.assertAccess(t, "read"), this.run((e) => n(this, null, function* () {
87
- if ((yield e.stat(t)).kind !== "file")
88
- throw new h(w.BadRequest, "目标是目录,不是文件。");
89
- return e.readFile(t);
89
+ /**
90
+ * 给 `<img>`、`<video>`、`<audio>` 的地址。浏览器自己拉字节,调用方拿不到文件内容。
91
+ * 同一路径在大小和修改时间没变时返回同一个地址,并增加引用。用完调用 `releaseUrl`。
92
+ */
93
+ url(t) {
94
+ return a(this, null, function* () {
95
+ var c, w;
96
+ const e = u(t, !1);
97
+ if (this.assertAccess(e, "read"), !k(e))
98
+ throw new l(f.BadRequest, R);
99
+ const s = yield this.stat(e);
100
+ if (s.kind !== "file")
101
+ throw new l(f.BadRequest, "目标是目录,不是文件。");
102
+ const r = `${(c = s.size) != null ? c : ""}:${(w = s.lastModified) != null ? w : ""}`, i = this.previewByPath.get(e);
103
+ if ((i == null ? void 0 : i.stamp) === r)
104
+ return i.refs += 1, i.url;
105
+ const o = yield this.openPreview(e), h = {
106
+ url: o.url,
107
+ path: e,
108
+ stamp: r,
109
+ refs: 1,
110
+ release: o.release
111
+ };
112
+ return this.previews.set(h.url, h), this.previewByPath.set(e, h), h.url;
113
+ });
114
+ }
115
+ /** 页面不再显示这个地址时调用。引用归零后,blob 地址会撤销,沙箱票据会作废。 */
116
+ releaseUrl(t) {
117
+ const e = this.previews.get(t);
118
+ e && (e.refs -= 1, !(e.refs > 0) && this.dropPreview(e));
119
+ }
120
+ /** 工作区断开时释放还没归还的地址。 */
121
+ releaseAllUrls() {
122
+ const t = [...this.previews.values()];
123
+ this.previews.clear(), this.previewByPath.clear(), t.forEach((e) => e.release());
124
+ }
125
+ read(t) {
126
+ return a(this, null, function* () {
127
+ const e = u(t, !1);
128
+ return this.assertAccess(e, "read"), this.run((s) => a(this, null, function* () {
129
+ if ((yield s.stat(e)).kind !== "file")
130
+ throw new l(f.BadRequest, "目标是目录,不是文件。");
131
+ return s.readFile(e);
90
132
  }));
91
133
  });
92
134
  }
93
- readText(s) {
94
- return n(this, null, function* () {
95
- return (yield this.read(s)).text();
135
+ readText(t) {
136
+ return a(this, null, function* () {
137
+ return (yield this.read(t)).text();
96
138
  });
97
139
  }
98
- write(i, r) {
99
- return n(this, arguments, function* (s, t, e = {}) {
100
- const o = f(s, !1);
101
- this.assertAccess(o, "write"), yield this.run((l) => l.writeFile(o, t, {
102
- createDirectories: e.createDirectories !== !1,
103
- signal: e.signal
104
- })), this.host.notifyFilesChanged([u(o)]);
140
+ write(r, i) {
141
+ return a(this, arguments, function* (t, e, s = {}) {
142
+ const o = u(t, !1);
143
+ this.assertAccess(o, "write"), yield this.run((h) => h.writeFile(o, e, {
144
+ createDirectories: s.createDirectories !== !1,
145
+ signal: s.signal
146
+ })), this.host.notifyFilesChanged([d(o)]);
105
147
  });
106
148
  }
107
- append(i, r) {
108
- return n(this, arguments, function* (s, t, e = {}) {
109
- const o = f(s, !1);
149
+ append(r, i) {
150
+ return a(this, arguments, function* (t, e, s = {}) {
151
+ const o = u(t, !1);
110
152
  this.assertAccess(o, "write");
111
- const l = typeof t == "string" ? new TextEncoder().encode(t) : t;
112
- yield this.run((c) => n(this, null, function* () {
113
- let d = new Uint8Array();
153
+ const h = typeof e == "string" ? new TextEncoder().encode(e) : e;
154
+ yield this.run((c) => a(this, null, function* () {
155
+ let w = new Uint8Array();
114
156
  try {
115
157
  if ((yield c.stat(o)).kind !== "file")
116
- throw new h(w.BadRequest, "目标是目录,不是文件。");
117
- d = new Uint8Array(yield (yield c.readFile(o)).arrayBuffer());
158
+ throw new l(f.BadRequest, "目标是目录,不是文件。");
159
+ w = new Uint8Array(yield (yield c.readFile(o)).arrayBuffer());
118
160
  } catch (y) {
119
- if (y instanceof h || F(y).code !== w.NotFound)
161
+ if (y instanceof l || F(y).code !== f.NotFound)
120
162
  throw y;
121
163
  }
122
- const m = new Uint8Array(d.byteLength + l.byteLength);
123
- m.set(d), m.set(l, d.byteLength), yield c.writeFile(o, m, {
164
+ const v = new Uint8Array(w.byteLength + h.byteLength);
165
+ v.set(w), v.set(h, w.byteLength), yield c.writeFile(o, v, {
124
166
  createDirectories: !0,
125
- signal: e.signal
167
+ signal: s.signal
126
168
  });
127
- })), this.host.notifyFilesChanged([u(o)]);
169
+ })), this.host.notifyFilesChanged([d(o)]);
170
+ });
171
+ }
172
+ mkdir(t) {
173
+ return a(this, null, function* () {
174
+ const e = u(t, !0);
175
+ e && (yield this.run((s) => a(this, null, function* () {
176
+ if (!s.createDirectory)
177
+ throw g("创建目录");
178
+ yield s.createDirectory(e);
179
+ })), this.host.notifyFilesChanged([d(e)]));
128
180
  });
129
181
  }
130
- mkdir(s) {
131
- return n(this, null, function* () {
132
- const t = f(s, !0);
133
- t && (yield this.run((e) => n(this, null, function* () {
134
- if (!e.createDirectory)
135
- throw v("创建目录");
136
- yield e.createDirectory(t);
137
- })), this.host.notifyFilesChanged([u(t)]));
182
+ remove(s) {
183
+ return a(this, arguments, function* (t, e = {}) {
184
+ const r = u(t, !1);
185
+ this.assertAccess(r, "write"), yield this.run((i) => a(this, null, function* () {
186
+ if (!i.remove)
187
+ throw g("删除");
188
+ yield i.remove(r, e);
189
+ })), this.host.notifyFilesChanged([d(r)]);
138
190
  });
139
191
  }
140
- remove(e) {
141
- return n(this, arguments, function* (s, t = {}) {
142
- const i = f(s, !1);
143
- this.assertAccess(i, "write"), yield this.run((r) => n(this, null, function* () {
144
- if (!r.remove)
145
- throw v("删除");
146
- yield r.remove(i, t);
147
- })), this.host.notifyFilesChanged([u(i)]);
192
+ move(t, e) {
193
+ return a(this, null, function* () {
194
+ const s = u(t, !1), r = u(e, !1);
195
+ this.assertAccess(s, "write"), this.assertAccess(r, "write"), yield this.run((i) => a(this, null, function* () {
196
+ if (!i.move)
197
+ throw g("移动");
198
+ yield i.move(s, r);
199
+ })), this.host.notifyFilesChanged([d(s), d(r)]);
148
200
  });
149
201
  }
150
- move(s, t) {
151
- return n(this, null, function* () {
152
- const e = f(s, !1), i = f(t, !1);
153
- this.assertAccess(e, "write"), this.assertAccess(i, "write"), yield this.run((r) => n(this, null, function* () {
154
- if (!r.move)
155
- throw v("移动");
156
- yield r.move(e, i);
157
- })), this.host.notifyFilesChanged([u(e), u(i)]);
202
+ openPreview(t) {
203
+ return a(this, null, function* () {
204
+ return this.run((e) => a(this, null, function* () {
205
+ if (e.url)
206
+ return e.url(t);
207
+ const s = yield e.readFile(t), r = URL.createObjectURL(s);
208
+ return {
209
+ url: r,
210
+ release: () => URL.revokeObjectURL(r)
211
+ };
212
+ }));
158
213
  });
159
214
  }
160
- assertAccess(s, t) {
161
- const e = this.host.sensitive.match(s, t);
162
- if (e)
163
- throw new h(w.Forbidden, k.reasonOf(e), {
215
+ dropPreview(t) {
216
+ t.release(), this.previews.delete(t.url), this.previewByPath.get(t.path) === t && this.previewByPath.delete(t.path);
217
+ }
218
+ assertAccess(t, e) {
219
+ const s = this.host.sensitive.match(t, e);
220
+ if (s)
221
+ throw new l(f.Forbidden, U.reasonOf(s), {
164
222
  reason: "sensitive_file",
165
- ruleId: e.id
223
+ ruleId: s.id
166
224
  });
167
225
  }
168
- run(s) {
169
- return n(this, null, function* () {
170
- var e;
171
- const t = this.host.adapter;
172
- if (!t)
173
- throw A();
226
+ run(t) {
227
+ return a(this, null, function* () {
228
+ var s;
229
+ const e = this.host.adapter;
230
+ if (!e)
231
+ throw E();
174
232
  try {
175
- return yield s(t);
176
- } catch (i) {
177
- if (i instanceof h)
178
- throw i;
179
- const r = F(i);
180
- throw ((e = r.data) == null ? void 0 : e.reason) === "workspace_not_granted" && (yield this.host.handlePermissionLost()), r;
233
+ return yield t(e);
234
+ } catch (r) {
235
+ if (r instanceof l)
236
+ throw r;
237
+ const i = F(r);
238
+ throw ((s = i.data) == null ? void 0 : s.reason) === "workspace_not_granted" && (yield this.host.handlePermissionLost()), i;
181
239
  }
182
240
  });
183
241
  }
184
242
  }
185
243
  export {
186
- D as WorkspaceFiles,
187
- f as normalizeFilePath
244
+ C as WorkspaceFiles,
245
+ u as normalizeFilePath
188
246
  };
@@ -1,4 +1,4 @@
1
- const e = "@glodon-aiot/bot-client-sdk", s = "3.26.0-alpha.19", t = "glodoncv", i = "aiot bot client js sdk", n = "module", g = !1, o = [
1
+ const e = "@glodon-aiot/bot-client-sdk", s = "3.26.0-alpha.20", t = "glodoncv", i = "aiot bot client js sdk", n = "module", g = !1, o = [
2
2
  "aiot",
3
3
  "bot",
4
4
  "bot client",
@@ -68,7 +68,7 @@ const e = "@glodon-aiot/bot-client-sdk", s = "3.26.0-alpha.19", t = "glodoncv",
68
68
  access: "public",
69
69
  registry: "https://registry.npmjs.org/"
70
70
  }, y = {
71
- "@glodon-aiot/apis": "^3.26.0-alpha.19",
71
+ "@glodon-aiot/apis": "^3.26.0-alpha.20",
72
72
  axios: "0.24.0",
73
73
  buffer: "^6.0.3",
74
74
  dayjs: "^1.11.13",