@geravant/sinain 1.18.3 → 1.20.0

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/cli.js CHANGED
@@ -81,6 +81,13 @@ switch (cmd) {
81
81
  await import("./install.js");
82
82
  break;
83
83
 
84
+ case "mcp": {
85
+ const sub = process.argv[3]; // install | list | remove
86
+ const { runMcpCli } = await import("./mcp-register.js");
87
+ await runMcpCli(sub, process.argv.slice(4));
88
+ break;
89
+ }
90
+
84
91
  case "export-knowledge":
85
92
  await exportKnowledge();
86
93
  break;
@@ -396,6 +403,9 @@ Usage:
396
403
  sinain export-knowledge Export knowledge for transfer to another machine
397
404
  sinain import-knowledge <file> Import knowledge from export file
398
405
  sinain install Install OpenClaw plugin (server-side)
406
+ sinain mcp install Register sinain MCP for your agents (Claude, Cursor, Codex, Goose, Junie)
407
+ sinain mcp list Show MCP registration status across agents
408
+ sinain mcp remove <agent> Unregister sinain MCP from one agent
399
409
 
400
410
  Start options:
401
411
  --no-sense Skip screen capture (sense_client)
package/onboard.js CHANGED
@@ -12,6 +12,7 @@ import {
12
12
  stepApiKey, stepTranscription, stepGateway, stepPrivacy, stepModel,
13
13
  HOME, SINAIN_DIR, ENV_PATH, PKG_DIR, IS_WINDOWS, IS_MAC,
14
14
  } from "./config-shared.js";
15
+ import { stepMcpInstall, detectMcpAgents } from "./mcp-register.js";
15
16
 
16
17
  // ── Header ──────────────────────────────────────────────────────────────────
17
18
 
@@ -138,7 +139,7 @@ export async function runOnboard(args = {}) {
138
139
  initialValue: "quickstart",
139
140
  }));
140
141
 
141
- const totalSteps = flow === "quickstart" ? 2 : 5;
142
+ const totalSteps = flow === "quickstart" ? 2 : 6;
142
143
 
143
144
  // ── Collect vars ────────────────────────────────────────────────────────
144
145
 
@@ -211,9 +212,28 @@ export async function runOnboard(args = {}) {
211
212
  ].join("\n"),
212
213
  "QuickStart defaults",
213
214
  );
215
+
216
+ // QuickStart MCP install: a single confirm gated on at least one
217
+ // detected agent. Avoids interrupting users who don't have any
218
+ // MCP-aware agent installed. Re-runnable later via `sinain mcp install`.
219
+ try {
220
+ const detected = (await detectMcpAgents()).filter((a) => a.present);
221
+ if (detected.length > 0) {
222
+ const labels = detected.map((a) => a.label).join(", ");
223
+ const wantMcp = guard(await p.confirm({
224
+ message: `Detected ${labels} — register sinain MCP for them?`,
225
+ initialValue: true,
226
+ }));
227
+ if (wantMcp) {
228
+ await stepMcpInstall(base, "Connect MCP agents");
229
+ }
230
+ }
231
+ } catch (err) {
232
+ p.log.info(`Skipping MCP setup: ${err.message}`);
233
+ }
214
234
  } else {
215
- // Advanced flow: steps 2-5
216
- const transcription = await stepTranscription(base, "[2/5] Audio transcription");
235
+ // Advanced flow: steps 2-6 (MCP install is step 6)
236
+ const transcription = await stepTranscription(base, "[2/6] Audio transcription");
217
237
  vars.TRANSCRIPTION_BACKEND = transcription;
218
238
  p.log.success(`Using ${transcription === "openrouter" ? "cloud" : "local"} transcription.`);
219
239
 
@@ -249,7 +269,7 @@ export async function runOnboard(args = {}) {
249
269
 
250
270
  // stepGateway returns { envVars, agentsPatch }: tokens go to .env,
251
271
  // URLs + session + escalation mode go to agents.json's openclaw profile.
252
- const gatewayResult = await stepGateway(base, "[3/5] OpenClaw gateway");
272
+ const gatewayResult = await stepGateway(base, "[3/6] OpenClaw gateway");
253
273
  Object.assign(vars, gatewayResult.envVars);
254
274
  Object.assign(agentsPatch, gatewayResult.agentsPatch);
255
275
  if (gatewayResult.agentsPatch.escalationMode === "off") {
@@ -258,17 +278,23 @@ export async function runOnboard(args = {}) {
258
278
  p.log.success("Gateway configured.");
259
279
  }
260
280
 
261
- const privacy = await stepPrivacy(base, "[4/5] Privacy mode");
281
+ const privacy = await stepPrivacy(base, "[4/6] Privacy mode");
262
282
  vars.PRIVACY_MODE = privacy;
263
283
  p.log.success(`Privacy: ${privacy}.`);
264
284
 
265
- const model = await stepModel(base, "[5/5] AI model for HUD analysis");
285
+ const model = await stepModel(base, "[5/6] AI model for HUD analysis");
266
286
  vars.AGENT_MODEL = model;
267
287
  p.log.success(`Model: ${model}.`);
268
288
 
269
289
  // Default agent goes into agents.json `default` field (was SINAIN_AGENT
270
290
  // env var). Overlay's chip selector lets the user switch at runtime.
271
291
  agentsPatch.default = base.SINAIN_AGENT || "claude";
292
+
293
+ // Step 6: register sinain MCP with locally-installed MCP-aware agents
294
+ // (Claude Code, Cursor, Codex, Goose, Junie, Claude Desktop). Detection
295
+ // is non-destructive — if no agents are installed, the step prints a
296
+ // skip note and returns. Idempotent across re-runs.
297
+ await stepMcpInstall(base, "[6/6] Connect MCP agents");
272
298
  }
273
299
 
274
300
  // ── Common defaults ───────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geravant/sinain",
3
- "version": "1.18.3",
3
+ "version": "1.20.0",
4
4
  "description": "Ambient intelligence that sees what you see, hears what you hear, and acts on your behalf",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,8 +9,10 @@
9
9
  "version": "1.0.0",
10
10
  "dependencies": {
11
11
  "@huggingface/transformers": "^4.0.1",
12
+ "@types/better-sqlite3": "^7.6.13",
12
13
  "@types/node": "^22.19.7",
13
14
  "@types/ws": "^8.18.1",
15
+ "better-sqlite3": "^11.7.0",
14
16
  "tsx": "^4.21.0",
15
17
  "typescript": "^5.9.3",
16
18
  "ws": "^8.18.0"
@@ -973,6 +975,15 @@
973
975
  "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==",
974
976
  "license": "BSD-3-Clause"
975
977
  },
978
+ "node_modules/@types/better-sqlite3": {
979
+ "version": "7.6.13",
980
+ "resolved": "https://registry.npmjs.org/@types/better-sqlite3/-/better-sqlite3-7.6.13.tgz",
981
+ "integrity": "sha512-NMv9ASNARoKksWtsq/SHakpYAYnhBrQgGD8zkLYk/jaK8jUGn08CfEdTRgYhMypUQAfzSP8W6gNLe0q19/t4VA==",
982
+ "license": "MIT",
983
+ "dependencies": {
984
+ "@types/node": "*"
985
+ }
986
+ },
976
987
  "node_modules/@types/node": {
977
988
  "version": "22.19.11",
978
989
  "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.11.tgz",
@@ -998,6 +1009,57 @@
998
1009
  "node": ">=12.0"
999
1010
  }
1000
1011
  },
1012
+ "node_modules/base64-js": {
1013
+ "version": "1.5.1",
1014
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
1015
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
1016
+ "funding": [
1017
+ {
1018
+ "type": "github",
1019
+ "url": "https://github.com/sponsors/feross"
1020
+ },
1021
+ {
1022
+ "type": "patreon",
1023
+ "url": "https://www.patreon.com/feross"
1024
+ },
1025
+ {
1026
+ "type": "consulting",
1027
+ "url": "https://feross.org/support"
1028
+ }
1029
+ ],
1030
+ "license": "MIT"
1031
+ },
1032
+ "node_modules/better-sqlite3": {
1033
+ "version": "11.10.0",
1034
+ "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-11.10.0.tgz",
1035
+ "integrity": "sha512-EwhOpyXiOEL/lKzHz9AW1msWFNzGc/z+LzeB3/jnFJpxu+th2yqvzsSWas1v9jgs9+xiXJcD5A8CJxAG2TaghQ==",
1036
+ "hasInstallScript": true,
1037
+ "license": "MIT",
1038
+ "dependencies": {
1039
+ "bindings": "^1.5.0",
1040
+ "prebuild-install": "^7.1.1"
1041
+ }
1042
+ },
1043
+ "node_modules/bindings": {
1044
+ "version": "1.5.0",
1045
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
1046
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
1047
+ "license": "MIT",
1048
+ "dependencies": {
1049
+ "file-uri-to-path": "1.0.0"
1050
+ }
1051
+ },
1052
+ "node_modules/bl": {
1053
+ "version": "4.1.0",
1054
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
1055
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
1056
+ "license": "MIT",
1057
+ "dependencies": {
1058
+ "buffer": "^5.5.0",
1059
+ "inherits": "^2.0.4",
1060
+ "readable-stream": "^3.4.0"
1061
+ }
1062
+ },
1001
1063
  "node_modules/boolean": {
1002
1064
  "version": "3.2.0",
1003
1065
  "resolved": "https://registry.npmjs.org/boolean/-/boolean-3.2.0.tgz",
@@ -1005,6 +1067,60 @@
1005
1067
  "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",
1006
1068
  "license": "MIT"
1007
1069
  },
1070
+ "node_modules/buffer": {
1071
+ "version": "5.7.1",
1072
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
1073
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
1074
+ "funding": [
1075
+ {
1076
+ "type": "github",
1077
+ "url": "https://github.com/sponsors/feross"
1078
+ },
1079
+ {
1080
+ "type": "patreon",
1081
+ "url": "https://www.patreon.com/feross"
1082
+ },
1083
+ {
1084
+ "type": "consulting",
1085
+ "url": "https://feross.org/support"
1086
+ }
1087
+ ],
1088
+ "license": "MIT",
1089
+ "dependencies": {
1090
+ "base64-js": "^1.3.1",
1091
+ "ieee754": "^1.1.13"
1092
+ }
1093
+ },
1094
+ "node_modules/chownr": {
1095
+ "version": "1.1.4",
1096
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
1097
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
1098
+ "license": "ISC"
1099
+ },
1100
+ "node_modules/decompress-response": {
1101
+ "version": "6.0.0",
1102
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
1103
+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
1104
+ "license": "MIT",
1105
+ "dependencies": {
1106
+ "mimic-response": "^3.1.0"
1107
+ },
1108
+ "engines": {
1109
+ "node": ">=10"
1110
+ },
1111
+ "funding": {
1112
+ "url": "https://github.com/sponsors/sindresorhus"
1113
+ }
1114
+ },
1115
+ "node_modules/deep-extend": {
1116
+ "version": "0.6.0",
1117
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
1118
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==",
1119
+ "license": "MIT",
1120
+ "engines": {
1121
+ "node": ">=4.0.0"
1122
+ }
1123
+ },
1008
1124
  "node_modules/define-data-property": {
1009
1125
  "version": "1.1.4",
1010
1126
  "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
@@ -1054,6 +1170,15 @@
1054
1170
  "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==",
1055
1171
  "license": "MIT"
1056
1172
  },
1173
+ "node_modules/end-of-stream": {
1174
+ "version": "1.4.5",
1175
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
1176
+ "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
1177
+ "license": "MIT",
1178
+ "dependencies": {
1179
+ "once": "^1.4.0"
1180
+ }
1181
+ },
1057
1182
  "node_modules/es-define-property": {
1058
1183
  "version": "1.0.1",
1059
1184
  "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
@@ -1130,12 +1255,33 @@
1130
1255
  "url": "https://github.com/sponsors/sindresorhus"
1131
1256
  }
1132
1257
  },
1258
+ "node_modules/expand-template": {
1259
+ "version": "2.0.3",
1260
+ "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
1261
+ "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==",
1262
+ "license": "(MIT OR WTFPL)",
1263
+ "engines": {
1264
+ "node": ">=6"
1265
+ }
1266
+ },
1267
+ "node_modules/file-uri-to-path": {
1268
+ "version": "1.0.0",
1269
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
1270
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
1271
+ "license": "MIT"
1272
+ },
1133
1273
  "node_modules/flatbuffers": {
1134
1274
  "version": "25.9.23",
1135
1275
  "resolved": "https://registry.npmjs.org/flatbuffers/-/flatbuffers-25.9.23.tgz",
1136
1276
  "integrity": "sha512-MI1qs7Lo4Syw0EOzUl0xjs2lsoeqFku44KpngfIduHBYvzm8h2+7K8YMQh1JtVVVrUvhLpNwqVi4DERegUJhPQ==",
1137
1277
  "license": "Apache-2.0"
1138
1278
  },
1279
+ "node_modules/fs-constants": {
1280
+ "version": "1.0.0",
1281
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
1282
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
1283
+ "license": "MIT"
1284
+ },
1139
1285
  "node_modules/fsevents": {
1140
1286
  "version": "2.3.3",
1141
1287
  "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -1160,6 +1306,12 @@
1160
1306
  "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
1161
1307
  }
1162
1308
  },
1309
+ "node_modules/github-from-package": {
1310
+ "version": "0.0.0",
1311
+ "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
1312
+ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==",
1313
+ "license": "MIT"
1314
+ },
1163
1315
  "node_modules/global-agent": {
1164
1316
  "version": "3.0.0",
1165
1317
  "resolved": "https://registry.npmjs.org/global-agent/-/global-agent-3.0.0.tgz",
@@ -1223,6 +1375,38 @@
1223
1375
  "url": "https://github.com/sponsors/ljharb"
1224
1376
  }
1225
1377
  },
1378
+ "node_modules/ieee754": {
1379
+ "version": "1.2.1",
1380
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
1381
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
1382
+ "funding": [
1383
+ {
1384
+ "type": "github",
1385
+ "url": "https://github.com/sponsors/feross"
1386
+ },
1387
+ {
1388
+ "type": "patreon",
1389
+ "url": "https://www.patreon.com/feross"
1390
+ },
1391
+ {
1392
+ "type": "consulting",
1393
+ "url": "https://feross.org/support"
1394
+ }
1395
+ ],
1396
+ "license": "BSD-3-Clause"
1397
+ },
1398
+ "node_modules/inherits": {
1399
+ "version": "2.0.4",
1400
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
1401
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
1402
+ "license": "ISC"
1403
+ },
1404
+ "node_modules/ini": {
1405
+ "version": "1.3.8",
1406
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
1407
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
1408
+ "license": "ISC"
1409
+ },
1226
1410
  "node_modules/json-stringify-safe": {
1227
1411
  "version": "5.0.1",
1228
1412
  "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
@@ -1247,6 +1431,51 @@
1247
1431
  "node": ">=10"
1248
1432
  }
1249
1433
  },
1434
+ "node_modules/mimic-response": {
1435
+ "version": "3.1.0",
1436
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
1437
+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==",
1438
+ "license": "MIT",
1439
+ "engines": {
1440
+ "node": ">=10"
1441
+ },
1442
+ "funding": {
1443
+ "url": "https://github.com/sponsors/sindresorhus"
1444
+ }
1445
+ },
1446
+ "node_modules/minimist": {
1447
+ "version": "1.2.8",
1448
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
1449
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
1450
+ "license": "MIT",
1451
+ "funding": {
1452
+ "url": "https://github.com/sponsors/ljharb"
1453
+ }
1454
+ },
1455
+ "node_modules/mkdirp-classic": {
1456
+ "version": "0.5.3",
1457
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
1458
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
1459
+ "license": "MIT"
1460
+ },
1461
+ "node_modules/napi-build-utils": {
1462
+ "version": "2.0.0",
1463
+ "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz",
1464
+ "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==",
1465
+ "license": "MIT"
1466
+ },
1467
+ "node_modules/node-abi": {
1468
+ "version": "3.92.0",
1469
+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.92.0.tgz",
1470
+ "integrity": "sha512-KdHvFWZjEKDf0cakgFjebl371GPsISX2oZHcuyKqM7DtogIsHrqKeLTo8wBHxaXRAQlY2PsPlZmfo+9ZCxEREQ==",
1471
+ "license": "MIT",
1472
+ "dependencies": {
1473
+ "semver": "^7.3.5"
1474
+ },
1475
+ "engines": {
1476
+ "node": ">=10"
1477
+ }
1478
+ },
1250
1479
  "node_modules/object-keys": {
1251
1480
  "version": "1.1.1",
1252
1481
  "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
@@ -1256,6 +1485,15 @@
1256
1485
  "node": ">= 0.4"
1257
1486
  }
1258
1487
  },
1488
+ "node_modules/once": {
1489
+ "version": "1.4.0",
1490
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
1491
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
1492
+ "license": "ISC",
1493
+ "dependencies": {
1494
+ "wrappy": "1"
1495
+ }
1496
+ },
1259
1497
  "node_modules/onnxruntime-common": {
1260
1498
  "version": "1.24.3",
1261
1499
  "resolved": "https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-1.24.3.tgz",
@@ -1305,6 +1543,33 @@
1305
1543
  "integrity": "sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg==",
1306
1544
  "license": "MIT"
1307
1545
  },
1546
+ "node_modules/prebuild-install": {
1547
+ "version": "7.1.3",
1548
+ "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz",
1549
+ "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==",
1550
+ "deprecated": "No longer maintained. Please contact the author of the relevant native addon; alternatives are available.",
1551
+ "license": "MIT",
1552
+ "dependencies": {
1553
+ "detect-libc": "^2.0.0",
1554
+ "expand-template": "^2.0.3",
1555
+ "github-from-package": "0.0.0",
1556
+ "minimist": "^1.2.3",
1557
+ "mkdirp-classic": "^0.5.3",
1558
+ "napi-build-utils": "^2.0.0",
1559
+ "node-abi": "^3.3.0",
1560
+ "pump": "^3.0.0",
1561
+ "rc": "^1.2.7",
1562
+ "simple-get": "^4.0.0",
1563
+ "tar-fs": "^2.0.0",
1564
+ "tunnel-agent": "^0.6.0"
1565
+ },
1566
+ "bin": {
1567
+ "prebuild-install": "bin.js"
1568
+ },
1569
+ "engines": {
1570
+ "node": ">=10"
1571
+ }
1572
+ },
1308
1573
  "node_modules/protobufjs": {
1309
1574
  "version": "7.5.4",
1310
1575
  "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.4.tgz",
@@ -1329,6 +1594,45 @@
1329
1594
  "node": ">=12.0.0"
1330
1595
  }
1331
1596
  },
1597
+ "node_modules/pump": {
1598
+ "version": "3.0.4",
1599
+ "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.4.tgz",
1600
+ "integrity": "sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==",
1601
+ "license": "MIT",
1602
+ "dependencies": {
1603
+ "end-of-stream": "^1.1.0",
1604
+ "once": "^1.3.1"
1605
+ }
1606
+ },
1607
+ "node_modules/rc": {
1608
+ "version": "1.2.8",
1609
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
1610
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
1611
+ "license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
1612
+ "dependencies": {
1613
+ "deep-extend": "^0.6.0",
1614
+ "ini": "~1.3.0",
1615
+ "minimist": "^1.2.0",
1616
+ "strip-json-comments": "~2.0.1"
1617
+ },
1618
+ "bin": {
1619
+ "rc": "cli.js"
1620
+ }
1621
+ },
1622
+ "node_modules/readable-stream": {
1623
+ "version": "3.6.2",
1624
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
1625
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
1626
+ "license": "MIT",
1627
+ "dependencies": {
1628
+ "inherits": "^2.0.3",
1629
+ "string_decoder": "^1.1.1",
1630
+ "util-deprecate": "^1.0.1"
1631
+ },
1632
+ "engines": {
1633
+ "node": ">= 6"
1634
+ }
1635
+ },
1332
1636
  "node_modules/resolve-pkg-maps": {
1333
1637
  "version": "1.0.0",
1334
1638
  "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
@@ -1354,6 +1658,26 @@
1354
1658
  "node": ">=8.0"
1355
1659
  }
1356
1660
  },
1661
+ "node_modules/safe-buffer": {
1662
+ "version": "5.2.1",
1663
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
1664
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
1665
+ "funding": [
1666
+ {
1667
+ "type": "github",
1668
+ "url": "https://github.com/sponsors/feross"
1669
+ },
1670
+ {
1671
+ "type": "patreon",
1672
+ "url": "https://www.patreon.com/feross"
1673
+ },
1674
+ {
1675
+ "type": "consulting",
1676
+ "url": "https://feross.org/support"
1677
+ }
1678
+ ],
1679
+ "license": "MIT"
1680
+ },
1357
1681
  "node_modules/semver": {
1358
1682
  "version": "7.7.4",
1359
1683
  "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
@@ -1431,12 +1755,103 @@
1431
1755
  "@img/sharp-win32-x64": "0.34.5"
1432
1756
  }
1433
1757
  },
1758
+ "node_modules/simple-concat": {
1759
+ "version": "1.0.1",
1760
+ "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
1761
+ "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==",
1762
+ "funding": [
1763
+ {
1764
+ "type": "github",
1765
+ "url": "https://github.com/sponsors/feross"
1766
+ },
1767
+ {
1768
+ "type": "patreon",
1769
+ "url": "https://www.patreon.com/feross"
1770
+ },
1771
+ {
1772
+ "type": "consulting",
1773
+ "url": "https://feross.org/support"
1774
+ }
1775
+ ],
1776
+ "license": "MIT"
1777
+ },
1778
+ "node_modules/simple-get": {
1779
+ "version": "4.0.1",
1780
+ "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz",
1781
+ "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==",
1782
+ "funding": [
1783
+ {
1784
+ "type": "github",
1785
+ "url": "https://github.com/sponsors/feross"
1786
+ },
1787
+ {
1788
+ "type": "patreon",
1789
+ "url": "https://www.patreon.com/feross"
1790
+ },
1791
+ {
1792
+ "type": "consulting",
1793
+ "url": "https://feross.org/support"
1794
+ }
1795
+ ],
1796
+ "license": "MIT",
1797
+ "dependencies": {
1798
+ "decompress-response": "^6.0.0",
1799
+ "once": "^1.3.1",
1800
+ "simple-concat": "^1.0.0"
1801
+ }
1802
+ },
1434
1803
  "node_modules/sprintf-js": {
1435
1804
  "version": "1.1.3",
1436
1805
  "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
1437
1806
  "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",
1438
1807
  "license": "BSD-3-Clause"
1439
1808
  },
1809
+ "node_modules/string_decoder": {
1810
+ "version": "1.3.0",
1811
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
1812
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
1813
+ "license": "MIT",
1814
+ "dependencies": {
1815
+ "safe-buffer": "~5.2.0"
1816
+ }
1817
+ },
1818
+ "node_modules/strip-json-comments": {
1819
+ "version": "2.0.1",
1820
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
1821
+ "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==",
1822
+ "license": "MIT",
1823
+ "engines": {
1824
+ "node": ">=0.10.0"
1825
+ }
1826
+ },
1827
+ "node_modules/tar-fs": {
1828
+ "version": "2.1.4",
1829
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.4.tgz",
1830
+ "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==",
1831
+ "license": "MIT",
1832
+ "dependencies": {
1833
+ "chownr": "^1.1.1",
1834
+ "mkdirp-classic": "^0.5.2",
1835
+ "pump": "^3.0.0",
1836
+ "tar-stream": "^2.1.4"
1837
+ }
1838
+ },
1839
+ "node_modules/tar-stream": {
1840
+ "version": "2.2.0",
1841
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
1842
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
1843
+ "license": "MIT",
1844
+ "dependencies": {
1845
+ "bl": "^4.0.3",
1846
+ "end-of-stream": "^1.4.1",
1847
+ "fs-constants": "^1.0.0",
1848
+ "inherits": "^2.0.3",
1849
+ "readable-stream": "^3.1.1"
1850
+ },
1851
+ "engines": {
1852
+ "node": ">=6"
1853
+ }
1854
+ },
1440
1855
  "node_modules/tslib": {
1441
1856
  "version": "2.8.1",
1442
1857
  "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
@@ -1462,6 +1877,18 @@
1462
1877
  "fsevents": "~2.3.3"
1463
1878
  }
1464
1879
  },
1880
+ "node_modules/tunnel-agent": {
1881
+ "version": "0.6.0",
1882
+ "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
1883
+ "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
1884
+ "license": "Apache-2.0",
1885
+ "dependencies": {
1886
+ "safe-buffer": "^5.0.1"
1887
+ },
1888
+ "engines": {
1889
+ "node": "*"
1890
+ }
1891
+ },
1465
1892
  "node_modules/type-fest": {
1466
1893
  "version": "0.13.1",
1467
1894
  "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz",
@@ -1491,6 +1918,18 @@
1491
1918
  "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
1492
1919
  "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="
1493
1920
  },
1921
+ "node_modules/util-deprecate": {
1922
+ "version": "1.0.2",
1923
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1924
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
1925
+ "license": "MIT"
1926
+ },
1927
+ "node_modules/wrappy": {
1928
+ "version": "1.0.2",
1929
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1930
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
1931
+ "license": "ISC"
1932
+ },
1494
1933
  "node_modules/ws": {
1495
1934
  "version": "8.19.0",
1496
1935
  "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz",