@tunnelbox/cursor 0.1.6 → 0.1.7
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/dist/index.mjs +21 -33
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -10,12 +10,14 @@ import { existsSync as existsSync3, statSync as statSync2 } from "node:fs";
|
|
|
10
10
|
import { hostname } from "node:os";
|
|
11
11
|
import { resolve } from "node:path";
|
|
12
12
|
|
|
13
|
-
// ../core/
|
|
13
|
+
// ../core/dist/index.js
|
|
14
|
+
import { randomBytes } from "crypto";
|
|
15
|
+
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
16
|
+
import { homedir } from "os";
|
|
17
|
+
import { dirname, join } from "path";
|
|
14
18
|
function envelope(type, payload, id) {
|
|
15
19
|
return { id, type, payload, ts: Date.now() };
|
|
16
20
|
}
|
|
17
|
-
|
|
18
|
-
// ../core/src/relay.ts
|
|
19
21
|
var BASE_DELAY = 1e3;
|
|
20
22
|
var MAX_DELAY = 15e3;
|
|
21
23
|
var RelayClient = class {
|
|
@@ -98,14 +100,6 @@ var RelayClient = class {
|
|
|
98
100
|
this.timer = setTimeout(() => this.open(), delay);
|
|
99
101
|
}
|
|
100
102
|
};
|
|
101
|
-
|
|
102
|
-
// ../core/src/state.ts
|
|
103
|
-
import { randomBytes } from "node:crypto";
|
|
104
|
-
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
105
|
-
import { homedir } from "node:os";
|
|
106
|
-
import { dirname, join } from "node:path";
|
|
107
|
-
|
|
108
|
-
// ../core/locales/zh-CN.json
|
|
109
103
|
var zh_CN_default = {
|
|
110
104
|
"agent.err.createSession": "\u521B\u5EFA\u4F1A\u8BDD\u5931\u8D25",
|
|
111
105
|
"agent.err.httpClient": "\u65E0\u6CD5\u8BBF\u95EE opencode HTTP client",
|
|
@@ -129,6 +123,8 @@ var zh_CN_default = {
|
|
|
129
123
|
"index.log.disconnected": "\u4E0E\u4E2D\u7EE7\u65AD\u5F00\uFF0C\u6B63\u5728\u81EA\u52A8\u91CD\u8FDE\u2026",
|
|
130
124
|
"index.log.exit": "\u5DF2\u9000\u51FA",
|
|
131
125
|
"index.log.pairCode": "\u751F\u6210\u914D\u5BF9\u7801: {code}",
|
|
126
|
+
"index.log.pairingStillClaimed": "\u6B64\u914D\u5BF9\u7801\u4EC5\u4F9B\u540C\u8D26\u53F7\u7684\u65B0\u624B\u673A\u91CD\u65B0\u914D\u5BF9\uFF1B\u672C\u673A\u5DF2\u7ED1\u5B9A\uFF0C\u4ECD\u53EF\u4ECE\u624B\u673A\u300C\u6211\u7684\u7535\u8111\u300D\u76F4\u63A5\u8FDE\u63A5\u3002",
|
|
127
|
+
"index.log.pairingPreparing": "\u6B63\u5728\u8FDE\u63A5\u4E2D\u7EE7\u5E76\u751F\u6210\u914D\u5BF9\u7801\u2026",
|
|
132
128
|
"index.log.permissionToPhone": "\u6743\u9650\u8BF7\u6C42 \u2192 \u624B\u673A\u5BA1\u6279 (id={id} tool={tool})",
|
|
133
129
|
"index.log.permissionTuiFallback": "app \u79BB\u7EBF\uFF0C\u6743\u9650\u8BF7\u6C42\u7531 opencode TUI \u515C\u5E95 (id={id} tool={tool})",
|
|
134
130
|
"index.log.relayError": "\u4E2D\u7EE7\u9519\u8BEF: {msg}",
|
|
@@ -265,8 +261,6 @@ var zh_CN_default = {
|
|
|
265
261
|
"hermes.errToolStatus": "tunnelbox_status \u5931\u8D25: {err}",
|
|
266
262
|
"hermes.cliUsage": "\u7528\u6CD5: /tunnelbox <pair|status>\n pair \u5411\u4E2D\u7EE7\u7533\u8BF7\u624B\u673A\u914D\u5BF9\u7801\u5E76\u6253\u5370\n status \u663E\u793A\u4E2D\u7EE7/\u7ED1\u5B9A/\u8FDE\u63A5\u72B6\u6001"
|
|
267
263
|
};
|
|
268
|
-
|
|
269
|
-
// ../core/locales/zh-TW.json
|
|
270
264
|
var zh_TW_default = {
|
|
271
265
|
"agent.err.createSession": "\u5EFA\u7ACB\u6703\u8A71\u5931\u6557",
|
|
272
266
|
"agent.err.httpClient": "\u7121\u6CD5\u5B58\u53D6 opencode HTTP client",
|
|
@@ -290,6 +284,8 @@ var zh_TW_default = {
|
|
|
290
284
|
"index.log.disconnected": "\u8207\u4E2D\u7E7C\u65B7\u7DDA\uFF0C\u6B63\u5728\u81EA\u52D5\u91CD\u9023\u2026",
|
|
291
285
|
"index.log.exit": "\u5DF2\u9000\u51FA",
|
|
292
286
|
"index.log.pairCode": "\u7522\u751F\u914D\u5C0D\u78BC: {code}",
|
|
287
|
+
"index.log.pairingStillClaimed": "\u6B64\u914D\u5C0D\u78BC\u50C5\u4F9B\u540C\u5E33\u865F\u7684\u65B0\u624B\u6A5F\u91CD\u65B0\u914D\u5C0D\uFF1B\u672C\u6A5F\u5DF2\u7D81\u5B9A\uFF0C\u4ECD\u53EF\u5F9E\u624B\u6A5F\u300C\u6211\u7684\u96FB\u8166\u300D\u76F4\u63A5\u9023\u63A5\u3002",
|
|
288
|
+
"index.log.pairingPreparing": "\u6B63\u5728\u9023\u7DDA\u4E2D\u7E7C\u4E26\u7522\u751F\u914D\u5C0D\u78BC\u2026",
|
|
293
289
|
"index.log.permissionToPhone": "\u6B0A\u9650\u8ACB\u6C42 \u2192 \u624B\u6A5F\u5BE9\u6279 (id={id} tool={tool})",
|
|
294
290
|
"index.log.permissionTuiFallback": "app \u96E2\u7DDA\uFF0C\u6B0A\u9650\u8ACB\u6C42\u7531 opencode TUI \u4EE3\u7BA1 (id={id} tool={tool})",
|
|
295
291
|
"index.log.relayError": "\u4E2D\u7E7C\u932F\u8AA4: {msg}",
|
|
@@ -426,8 +422,6 @@ var zh_TW_default = {
|
|
|
426
422
|
"hermes.errToolStatus": "tunnelbox_status \u5931\u6557: {err}",
|
|
427
423
|
"hermes.cliUsage": "\u7528\u6CD5: /tunnelbox <pair|status>\n pair \u5411\u4E2D\u7E7C\u7533\u8ACB\u624B\u6A5F\u914D\u5C0D\u78BC\u4E26\u5217\u5370\n status \u986F\u793A\u4E2D\u7E7C/\u7D81\u5B9A/\u9023\u7DDA\u72C0\u614B"
|
|
428
424
|
};
|
|
429
|
-
|
|
430
|
-
// ../core/locales/en-US.json
|
|
431
425
|
var en_US_default = {
|
|
432
426
|
"agent.err.createSession": "Failed to create session",
|
|
433
427
|
"agent.err.httpClient": "Cannot access the opencode HTTP client",
|
|
@@ -451,6 +445,8 @@ var en_US_default = {
|
|
|
451
445
|
"index.log.disconnected": "Disconnected from relay, reconnecting automatically\u2026",
|
|
452
446
|
"index.log.exit": "Exited",
|
|
453
447
|
"index.log.pairCode": "Generated pairing code: {code}",
|
|
448
|
+
"index.log.pairingStillClaimed": "This pairing code is for re-pairing a new phone under the same account. This computer is already linked and stays reachable from \u201CMy Computers\u201D on your phone.",
|
|
449
|
+
"index.log.pairingPreparing": "Connecting to the relay and generating a pairing code\u2026",
|
|
454
450
|
"index.log.permissionToPhone": "Permission request \u2192 phone approval (id={id} tool={tool})",
|
|
455
451
|
"index.log.permissionTuiFallback": "App offline; permission request handled by the opencode TUI (id={id} tool={tool})",
|
|
456
452
|
"index.log.relayError": "Relay error: {msg}",
|
|
@@ -587,8 +583,6 @@ var en_US_default = {
|
|
|
587
583
|
"hermes.errToolStatus": "tunnelbox_status failed: {err}",
|
|
588
584
|
"hermes.cliUsage": "Usage: /tunnelbox <pair|status>\n pair request and print a phone pairing code\n status show relay/binding/connection status"
|
|
589
585
|
};
|
|
590
|
-
|
|
591
|
-
// ../core/locales/ja-JP.json
|
|
592
586
|
var ja_JP_default = {
|
|
593
587
|
"agent.err.createSession": "\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
594
588
|
"agent.err.httpClient": "opencode HTTP client \u306B\u30A2\u30AF\u30BB\u30B9\u3067\u304D\u307E\u305B\u3093",
|
|
@@ -612,6 +606,8 @@ var ja_JP_default = {
|
|
|
612
606
|
"index.log.disconnected": "\u30EA\u30EC\u30FC\u304B\u3089\u5207\u65AD\u3001\u81EA\u52D5\u7684\u306B\u518D\u63A5\u7D9A\u3057\u3066\u3044\u307E\u3059\u2026",
|
|
613
607
|
"index.log.exit": "\u7D42\u4E86\u3057\u307E\u3057\u305F",
|
|
614
608
|
"index.log.pairCode": "\u30DA\u30A2\u30EA\u30F3\u30B0\u30B3\u30FC\u30C9\u3092\u751F\u6210: {code}",
|
|
609
|
+
"index.log.pairingStillClaimed": "\u3053\u306E\u30DA\u30A2\u30EA\u30F3\u30B0\u30B3\u30FC\u30C9\u306F\u540C\u4E00\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u65B0\u3057\u3044\u30B9\u30DE\u30FC\u30C8\u30D5\u30A9\u30F3\u3068\u306E\u518D\u30DA\u30A2\u30EA\u30F3\u30B0\u5C02\u7528\u3067\u3059\u3002\u3053\u306E PC \u306F\u65E2\u306B\u9023\u643A\u6E08\u307F\u3067\u3001\u30B9\u30DE\u30FC\u30C8\u30D5\u30A9\u30F3\u306E\u300C\u30DE\u30A4 \u30B3\u30F3\u30D4\u30E5\u30FC\u30BF\u30FC\u300D\u304B\u3089\u5F15\u304D\u7D9A\u304D\u63A5\u7D9A\u3067\u304D\u307E\u3059\u3002",
|
|
610
|
+
"index.log.pairingPreparing": "\u30EA\u30EC\u30FC\u3078\u63A5\u7D9A\u3057\u3066\u30DA\u30A2\u30EA\u30F3\u30B0\u30B3\u30FC\u30C9\u3092\u751F\u6210\u3057\u3066\u3044\u307E\u3059\u2026",
|
|
615
611
|
"index.log.permissionToPhone": "\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8 \u2192 \u30B9\u30DE\u30DB\u3067\u627F\u8A8D (id={id} tool={tool})",
|
|
616
612
|
"index.log.permissionTuiFallback": "App \u304C\u30AA\u30D5\u30E9\u30A4\u30F3\u306E\u305F\u3081\u3001\u6A29\u9650\u30EA\u30AF\u30A8\u30B9\u30C8\u306F opencode TUI \u3067\u5BFE\u5FDC (id={id} tool={tool})",
|
|
617
613
|
"index.log.relayError": "\u30EA\u30EC\u30FC\u30A8\u30E9\u30FC: {msg}",
|
|
@@ -748,8 +744,6 @@ var ja_JP_default = {
|
|
|
748
744
|
"hermes.errToolStatus": "tunnelbox_status \u5931\u6557: {err}",
|
|
749
745
|
"hermes.cliUsage": "\u4F7F\u7528\u65B9\u6CD5: /tunnelbox <pair|status>\n pair \u30DA\u30A2\u30EA\u30F3\u30B0\u30B3\u30FC\u30C9\u3092\u53D6\u5F97\u3057\u3066\u8868\u793A\n status \u30EA\u30EC\u30FC/\u30D0\u30A4\u30F3\u30C9/\u63A5\u7D9A\u72B6\u614B\u3092\u8868\u793A"
|
|
750
746
|
};
|
|
751
|
-
|
|
752
|
-
// ../core/locales/ko-KR.json
|
|
753
747
|
var ko_KR_default = {
|
|
754
748
|
"agent.err.createSession": "\uC138\uC158 \uC0DD\uC131 \uC2E4\uD328",
|
|
755
749
|
"agent.err.httpClient": "opencode HTTP client\uC5D0 \uC811\uADFC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
@@ -773,6 +767,8 @@ var ko_KR_default = {
|
|
|
773
767
|
"index.log.disconnected": "\uB9B4\uB808\uC774 \uC5F0\uACB0\uC774 \uB04A\uACA8 \uC790\uB3D9\uC73C\uB85C \uC7AC\uC5F0\uACB0 \uC911\u2026",
|
|
774
768
|
"index.log.exit": "\uC885\uB8CC\uB428",
|
|
775
769
|
"index.log.pairCode": "\uD398\uC5B4\uB9C1 \uCF54\uB4DC \uC0DD\uC131: {code}",
|
|
770
|
+
"index.log.pairingStillClaimed": "\uC774 \uD398\uC5B4\uB9C1 \uCF54\uB4DC\uB294 \uAC19\uC740 \uACC4\uC815\uC758 \uC0C8 \uD734\uB300\uD3F0 \uC7AC\uC5F0\uACB0 \uC804\uC6A9\uC785\uB2C8\uB2E4. \uC774 PC\uB294 \uC774\uBBF8 \uC5F0\uACB0\uB418\uC5B4 \uD734\uB300\uD3F0\uC758 '\uB0B4 \uCEF4\uD4E8\uD130'\uC5D0\uC11C \uACC4\uC18D \uC811\uC18D\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",
|
|
771
|
+
"index.log.pairingPreparing": "\uB9B4\uB808\uC774\uC5D0 \uC5F0\uACB0\uD558\uC5EC \uD398\uC5B4\uB9C1 \uCF54\uB4DC\uB97C \uC0DD\uC131\uD558\uB294 \uC911\uC785\uB2C8\uB2E4\u2026",
|
|
776
772
|
"index.log.permissionToPhone": "\uAD8C\uD55C \uC694\uCCAD \u2192 \uD734\uB300\uD3F0 \uC2B9\uC778 (id={id} tool={tool})",
|
|
777
773
|
"index.log.permissionTuiFallback": "\uC571 \uC624\uD504\uB77C\uC778, \uAD8C\uD55C \uC694\uCCAD\uC740 opencode TUI\uAC00 \uCC98\uB9AC (id={id} tool={tool})",
|
|
778
774
|
"index.log.relayError": "\uB9B4\uB808\uC774 \uC624\uB958: {msg}",
|
|
@@ -909,8 +905,6 @@ var ko_KR_default = {
|
|
|
909
905
|
"hermes.errToolStatus": "tunnelbox_status \uC2E4\uD328: {err}",
|
|
910
906
|
"hermes.cliUsage": "\uC0AC\uC6A9\uBC95: /tunnelbox <pair|status>\n pair \uD734\uB300\uD3F0 \uD398\uC5B4\uB9C1 \uCF54\uB4DC \uC694\uCCAD/\uCD9C\uB825\n status \uB9B4\uB808\uC774/\uBC14\uC778\uB529/\uC5F0\uACB0 \uC0C1\uD0DC \uD45C\uC2DC"
|
|
911
907
|
};
|
|
912
|
-
|
|
913
|
-
// ../core/locales/fr-FR.json
|
|
914
908
|
var fr_FR_default = {
|
|
915
909
|
"agent.err.createSession": "\xC9chec de la cr\xE9ation de la session",
|
|
916
910
|
"agent.err.httpClient": "Impossible d'acc\xE9der au client HTTP d'opencode",
|
|
@@ -934,6 +928,8 @@ var fr_FR_default = {
|
|
|
934
928
|
"index.log.disconnected": "D\xE9connect\xE9 du relais, reconnexion automatique\u2026",
|
|
935
929
|
"index.log.exit": "Arr\xEAt\xE9",
|
|
936
930
|
"index.log.pairCode": "Code d'appairage g\xE9n\xE9r\xE9 : {code}",
|
|
931
|
+
"index.log.pairingStillClaimed": "Ce code d'appairage sert uniquement \xE0 r\xE9-appairer un nouveau t\xE9l\xE9phone du m\xEAme compte ; cet ordinateur est d\xE9j\xE0 li\xE9 et reste accessible depuis \xAB Mes ordinateurs \xBB sur votre t\xE9l\xE9phone.",
|
|
932
|
+
"index.log.pairingPreparing": "Connexion au relais et g\xE9n\xE9ration du code d'appairage\u2026",
|
|
937
933
|
"index.log.permissionToPhone": "Demande d'autorisation \u2192 approbation sur t\xE9l\xE9phone (id={id} tool={tool})",
|
|
938
934
|
"index.log.permissionTuiFallback": "App hors ligne ; la demande est g\xE9r\xE9e par le TUI opencode (id={id} tool={tool})",
|
|
939
935
|
"index.log.relayError": "Erreur du relais : {msg}",
|
|
@@ -1070,8 +1066,6 @@ var fr_FR_default = {
|
|
|
1070
1066
|
"hermes.errToolStatus": "\xE9chec de tunnelbox_status : {err}",
|
|
1071
1067
|
"hermes.cliUsage": "Utilisation : /tunnelbox <pair|status>\n pair demander et afficher un code d'appairage\n status afficher l'\xE9tat relais/liaison/connexion"
|
|
1072
1068
|
};
|
|
1073
|
-
|
|
1074
|
-
// ../core/locales/de-DE.json
|
|
1075
1069
|
var de_DE_default = {
|
|
1076
1070
|
"agent.err.createSession": "Sitzung konnte nicht erstellt werden",
|
|
1077
1071
|
"agent.err.httpClient": "Auf den opencode-HTTP-Client kann nicht zugegriffen werden",
|
|
@@ -1095,6 +1089,8 @@ var de_DE_default = {
|
|
|
1095
1089
|
"index.log.disconnected": "Vom Relay getrennt, verbinde automatisch neu\u2026",
|
|
1096
1090
|
"index.log.exit": "Beendet",
|
|
1097
1091
|
"index.log.pairCode": "Pairing-Code erzeugt: {code}",
|
|
1092
|
+
"index.log.pairingStillClaimed": "Dieser Pairing-Code dient nur zum erneuten Pairing eines neuen Telefons im selben Konto. Dieser Computer ist bereits verkn\xFCpft und bleibt \xFCber \u201EMeine Computer\u201C auf Ihrem Telefon erreichbar.",
|
|
1093
|
+
"index.log.pairingPreparing": "Verbindung zum Relay wird hergestellt und Pairing-Code generiert\u2026",
|
|
1098
1094
|
"index.log.permissionToPhone": "Berechtigungsanfrage \u2192 Genehmigung am Telefon (id={id} tool={tool})",
|
|
1099
1095
|
"index.log.permissionTuiFallback": "App offline; Berechtigungsanfrage wird vom opencode-TUI \xFCbernommen (id={id} tool={tool})",
|
|
1100
1096
|
"index.log.relayError": "Relay-Fehler: {msg}",
|
|
@@ -1231,8 +1227,6 @@ var de_DE_default = {
|
|
|
1231
1227
|
"hermes.errToolStatus": "tunnelbox_status fehlgeschlagen: {err}",
|
|
1232
1228
|
"hermes.cliUsage": "Verwendung: /tunnelbox <pair|status>\n pair Pairing-Code anfordern und anzeigen\n status Relay/Bindung/Verbindung anzeigen"
|
|
1233
1229
|
};
|
|
1234
|
-
|
|
1235
|
-
// ../core/locales/es-ES.json
|
|
1236
1230
|
var es_ES_default = {
|
|
1237
1231
|
"agent.err.createSession": "No se pudo crear la sesi\xF3n",
|
|
1238
1232
|
"agent.err.httpClient": "No se puede acceder al cliente HTTP de opencode",
|
|
@@ -1256,6 +1250,8 @@ var es_ES_default = {
|
|
|
1256
1250
|
"index.log.disconnected": "Desconectado del relay, reconectando autom\xE1ticamente\u2026",
|
|
1257
1251
|
"index.log.exit": "Salido",
|
|
1258
1252
|
"index.log.pairCode": "C\xF3digo de emparejamiento generado: {code}",
|
|
1253
|
+
"index.log.pairingStillClaimed": "Este c\xF3digo de emparejamiento es solo para volver a emparejar un tel\xE9fono nuevo con la misma cuenta; este equipo ya est\xE1 vinculado y sigue accesible desde \xABMis computadoras\xBB en el tel\xE9fono.",
|
|
1254
|
+
"index.log.pairingPreparing": "Conectando al relay y generando el c\xF3digo de emparejamiento\u2026",
|
|
1259
1255
|
"index.log.permissionToPhone": "Solicitud de permiso \u2192 aprobaci\xF3n en el tel\xE9fono (id={id} tool={tool})",
|
|
1260
1256
|
"index.log.permissionTuiFallback": "App sin conexi\xF3n; la solicitud la gestiona el TUI de opencode (id={id} tool={tool})",
|
|
1261
1257
|
"index.log.relayError": "Error del relay: {msg}",
|
|
@@ -1392,8 +1388,6 @@ var es_ES_default = {
|
|
|
1392
1388
|
"hermes.errToolStatus": "fallo de tunnelbox_status: {err}",
|
|
1393
1389
|
"hermes.cliUsage": "Uso: /tunnelbox <pair|status>\n pair solicitar e imprimir un c\xF3digo de emparejamiento\n status mostrar estado de rel\xE9/enlace/conexi\xF3n"
|
|
1394
1390
|
};
|
|
1395
|
-
|
|
1396
|
-
// ../core/src/i18n.ts
|
|
1397
1391
|
var DEFAULT_LANG = "en-US";
|
|
1398
1392
|
var dicts = {
|
|
1399
1393
|
"zh-CN": zh_CN_default,
|
|
@@ -1448,8 +1442,6 @@ function t(lang, key, vars) {
|
|
|
1448
1442
|
}
|
|
1449
1443
|
return text;
|
|
1450
1444
|
}
|
|
1451
|
-
|
|
1452
|
-
// ../core/src/state.ts
|
|
1453
1445
|
function baseName() {
|
|
1454
1446
|
return join(homedir(), ".tunnelbox");
|
|
1455
1447
|
}
|
|
@@ -1512,13 +1504,9 @@ function writePairingJson(info, type) {
|
|
|
1512
1504
|
}
|
|
1513
1505
|
return p;
|
|
1514
1506
|
}
|
|
1515
|
-
|
|
1516
|
-
// ../core/src/env.ts
|
|
1517
1507
|
function injectedRelayUrl() {
|
|
1518
1508
|
return "wss://relay.tunnelbox.top" ? "wss://relay.tunnelbox.top".replace(/\/+$/, "") : "";
|
|
1519
1509
|
}
|
|
1520
|
-
|
|
1521
|
-
// ../core/src/qr.ts
|
|
1522
1510
|
function dispWidth(s) {
|
|
1523
1511
|
let w = 0;
|
|
1524
1512
|
for (const ch of s) w += ch.charCodeAt(0) > 255 ? 2 : 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tunnelbox/cursor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "tunnelbox 的 Cursor 适配器(C 类/B2 头less):手机远程驱动本机 Cursor CLI(agent -p stream-json,会话/流式/中止/删除)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"qrcode": "^1.5.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@tunnelbox/core": "0.1.
|
|
34
|
+
"@tunnelbox/core": "0.1.7",
|
|
35
35
|
"@types/node": "^22.0.0",
|
|
36
36
|
"@types/qrcode": "^1.5.5",
|
|
37
37
|
"esbuild": "^0.24.0",
|