@xiaoqiong0v0/opencode-ssh-tool 0.2.7 → 0.4.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/README.md +34 -25
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +5 -0
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/i18n.d.ts +275 -32
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +199 -30
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +305 -264
- package/dist/index.js.map +1 -1
- package/dist/local-session.d.ts +117 -0
- package/dist/local-session.d.ts.map +1 -0
- package/dist/local-session.js +365 -0
- package/dist/local-session.js.map +1 -0
- package/dist/server-manager.d.ts +3 -1
- package/dist/server-manager.d.ts.map +1 -1
- package/dist/server-manager.js +3 -2
- package/dist/server-manager.js.map +1 -1
- package/dist/server.d.ts +3 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +135 -49
- package/dist/server.js.map +1 -1
- package/dist/session-store.d.ts +6 -0
- package/dist/session-store.d.ts.map +1 -1
- package/dist/session-store.js +15 -0
- package/dist/session-store.js.map +1 -1
- package/dist/utils.d.ts +7 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +13 -1
- package/dist/utils.js.map +1 -1
- package/package.json +4 -3
package/dist/i18n.js
CHANGED
|
@@ -32,15 +32,15 @@ export const T = {
|
|
|
32
32
|
zh: "密码认证密码(可选)。支持明文或 'file:<绝对路径>' 从文件读取(避免暴露在上下文中)。省略时回退到 SSH 私钥 / agent / 环境变量 SSH_PASSWORD。",
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
-
|
|
36
|
-
en: "Execute a command in
|
|
37
|
-
zh: "
|
|
35
|
+
term_exec: {
|
|
36
|
+
en: "Execute a command in an SSH, local or container terminal (by terminal name), preserving cwd and environment. Commands outside the read-only allowlist require user approval.",
|
|
37
|
+
zh: "在 SSH / 本地 / 容器终端(按终端名)执行命令,保留 cwd 与环境变量;白名单外的命令需用户审批。",
|
|
38
38
|
},
|
|
39
|
-
|
|
39
|
+
term_exec_args: {
|
|
40
40
|
command: { en: "Shell command to execute", zh: "要执行的 shell 命令" },
|
|
41
41
|
waitResult: {
|
|
42
|
-
en: "Wait for the command to finish and return its output. Default false: submit async, return immediately; read results later via
|
|
43
|
-
zh: "是否等待命令完成并返回其输出。默认 false:异步提交,立即返回;稍后通过
|
|
42
|
+
en: "Wait for the command to finish and return its output. Default false: submit async, return immediately; read results later via term_read.",
|
|
43
|
+
zh: "是否等待命令完成并返回其输出。默认 false:异步提交,立即返回;稍后通过 term_read 读取结果。",
|
|
44
44
|
},
|
|
45
45
|
name: {
|
|
46
46
|
en: "Target terminal name, default 'default'. Must match a name from ssh_connect.",
|
|
@@ -48,18 +48,18 @@ export const T = {
|
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
50
|
submitted: {
|
|
51
|
-
en: "Command submitted (async). Running in background: check
|
|
52
|
-
zh: "命令已异步提交,后台执行中:用
|
|
51
|
+
en: "Command submitted (async). Running in background: check term_status for completion, then term_read to read output.",
|
|
52
|
+
zh: "命令已异步提交,后台执行中:用 term_status 查完成状态,再用 term_read 读取输出。",
|
|
53
53
|
},
|
|
54
|
-
|
|
55
|
-
en: "Read output of
|
|
56
|
-
zh: "
|
|
54
|
+
term_read: {
|
|
55
|
+
en: "Read output of an SSH, local or container terminal: buffered (unconsumed, for interactive/polling) or history (completed command+output pairs, first N or last N). Returns browser URL for the full scrollable viewer when the HTTP server is on.",
|
|
56
|
+
zh: "读取 SSH / 本地 / 容器终端输出:缓冲(未消费,交互/轮询用)或历史(已完成的命令+输出对,前 N 条或后 N 条)。HTTP 服务开启时返回浏览器查看完整记录的地址。",
|
|
57
57
|
},
|
|
58
|
-
|
|
59
|
-
en: "Send text or keystrokes to
|
|
60
|
-
zh: "
|
|
58
|
+
term_send: {
|
|
59
|
+
en: "Send text or keystrokes to an SSH, local or container terminal for interactive prompts (sudo password, confirmations, interrupts). Escapes: \\r or \\n = Enter, \\x03 = Ctrl-C, \\x04 = Ctrl-D, \\x1a = Ctrl-Z, \\x1b = Esc. After sending, read the result with term_read.",
|
|
60
|
+
zh: "向 SSH / 本地 / 容器终端发送文本或按键,用于交互提示(sudo 密码、确认、中断等)。转义:\\r 或 \\n = 回车,\\x03 = Ctrl-C,\\x04 = Ctrl-D,\\x1a = Ctrl-Z,\\x1b = Esc。发送后用 term_read 读取结果。",
|
|
61
61
|
},
|
|
62
|
-
|
|
62
|
+
term_send_args: {
|
|
63
63
|
text: {
|
|
64
64
|
en: "Text or key sequence to send. Use \\r or \\n for Enter, \\x03 for Ctrl-C, \\x1b for Esc. For sudo password prompts send the password followed by \\r.",
|
|
65
65
|
zh: "要发送的文本或按键序列。回车用 \\r 或 \\n,Ctrl-C 用 \\x03,Esc 用 \\x1b。sudo 密码提示时发送密码后跟 \\r。",
|
|
@@ -77,7 +77,7 @@ export const T = {
|
|
|
77
77
|
en: "SSH send",
|
|
78
78
|
zh: "SSH 发送",
|
|
79
79
|
},
|
|
80
|
-
|
|
80
|
+
term_read_args: {
|
|
81
81
|
source: {
|
|
82
82
|
en: "Where to read from: 'buffer' (unconsumed live output) or 'history' (completed pairs, default).",
|
|
83
83
|
zh: "读取来源:'buffer'(实时未消费输出)或 'history'(已完成消息对,默认)。",
|
|
@@ -100,30 +100,187 @@ export const T = {
|
|
|
100
100
|
zh: "目标终端名,默认 'default'。",
|
|
101
101
|
},
|
|
102
102
|
},
|
|
103
|
-
|
|
104
|
-
en: "Check SSH
|
|
105
|
-
zh: "按终端名检查 SSH
|
|
103
|
+
term_status: {
|
|
104
|
+
en: "Check SSH/local/container terminal state (busy, pending, connection) by terminal name (all terminals if omitted) and the HTTP server state (URL/port/session count). Use busy to poll completion instead of reading animated output.",
|
|
105
|
+
zh: "按终端名检查 SSH / 本地 / 容器终端状态(busy、未消费量、连接;省略则列出全部终端)及 HTTP 服务状态(URL/端口/会话数)。用 busy 轮询完成情况,避免读取动画中间态。",
|
|
106
106
|
},
|
|
107
|
-
|
|
107
|
+
term_status_args: {
|
|
108
108
|
name: {
|
|
109
109
|
en: "Terminal name to check; omit to list all terminals.",
|
|
110
110
|
zh: "要检查的终端名;省略则列出全部终端。",
|
|
111
111
|
},
|
|
112
112
|
},
|
|
113
|
-
|
|
114
|
-
en: "Close the
|
|
115
|
-
zh: "
|
|
113
|
+
term_disconnect: {
|
|
114
|
+
en: "Close the terminal of a name (default 'default') for an SSH, local or container session, or all terminals when name is omitted, and clean up session state.",
|
|
115
|
+
zh: "关闭指定名称(默认 'default')的 SSH / 本地 / 容器终端,name 省略则关闭全部终端,并清理会话态。",
|
|
116
116
|
},
|
|
117
|
-
|
|
117
|
+
term_disconnect_args: {
|
|
118
118
|
name: {
|
|
119
119
|
en: "Terminal name to disconnect; omit to disconnect all terminals.",
|
|
120
120
|
zh: "要断开的终端名;省略则断开全部终端。",
|
|
121
121
|
},
|
|
122
122
|
},
|
|
123
|
+
local_connect: {
|
|
124
|
+
en: "Start a local/container PTY terminal (e.g. pwsh, bash, docker exec -it <container> sh) in the current session. Same-session reconnect closes the previous one. Uses Bun.Terminal (runs in the opencode Bun runtime).",
|
|
125
|
+
zh: "在当前会话启动本地/容器 PTY 终端(如 pwsh、bash、docker exec -it <容器> sh);同一会话重复启动会先关闭旧的。基于 Bun.Terminal(opencode Bun 运行时内运行)。",
|
|
126
|
+
},
|
|
127
|
+
local_connect_args: {
|
|
128
|
+
command: {
|
|
129
|
+
en: "Command to launch, e.g. pwsh / bash / docker exec -it <container> sh",
|
|
130
|
+
zh: "要启动的命令,如 pwsh / bash / docker exec -it <容器> sh",
|
|
131
|
+
},
|
|
132
|
+
name: {
|
|
133
|
+
en: "Terminal name within the session, default 'default'. Creating with an existing name closes the old one first.",
|
|
134
|
+
zh: "会话内的终端名,默认 'default'。同名创建会先关闭旧终端。",
|
|
135
|
+
},
|
|
136
|
+
cwd: {
|
|
137
|
+
en: "Working directory, defaults to plugin cwd.",
|
|
138
|
+
zh: "工作目录,默认插件所在目录。",
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
local_connect_title_ok: {
|
|
142
|
+
en: "Local terminal started",
|
|
143
|
+
zh: "本地终端已启动",
|
|
144
|
+
},
|
|
145
|
+
local_connect_ok: {
|
|
146
|
+
en: "Started: {cmd} (terminal {name})",
|
|
147
|
+
zh: "已启动:{cmd}(终端 {name})",
|
|
148
|
+
},
|
|
149
|
+
local_connect_title_fail: {
|
|
150
|
+
en: "Local terminal start failed",
|
|
151
|
+
zh: "本地终端启动失败",
|
|
152
|
+
},
|
|
153
|
+
ssh_cli: {
|
|
154
|
+
en: "Unified CLI tool (CLI style): SSH / local / container terminal sessions. Subcommands: connect / local / exec / read / send / status / disconnect / help. Use 'help' for full usage.",
|
|
155
|
+
zh: "统一命令行工具(CLI 风格):SSH/本地/容器终端会话。子命令: connect / local / exec / read / send / status / disconnect / help。用 'help' 查看完整用法。",
|
|
156
|
+
},
|
|
157
|
+
ssh_cli_args: {
|
|
158
|
+
en: "Full command line string, e.g. 'exec \"ls -la\" -w' or 'connect user@host'; defaults to 'help' when empty.",
|
|
159
|
+
zh: "完整命令行字符串,如 'exec \"ls -la\" -w' 或 'connect user@host';空时默认 'help'。",
|
|
160
|
+
},
|
|
161
|
+
ssh_cli_help: {
|
|
162
|
+
en: `ssh_cli unified CLI tool: manage SSH / local / container terminal sessions.
|
|
163
|
+
|
|
164
|
+
Usage: ssh_cli <subcommand> [args]
|
|
165
|
+
|
|
166
|
+
Subcommands:
|
|
167
|
+
connect <target> [-u user] [-n name] [-p password|file:path]
|
|
168
|
+
target = user@host[:port] (e.g. root@server.local:22); open a long-lived SSH session
|
|
169
|
+
-p accepts plain text or file:<path> (read password from file, avoids exposure)
|
|
170
|
+
local "<command>" [-n name] [-c cwd]
|
|
171
|
+
start a local/container terminal (e.g. "pwsh" / "docker exec -it <container> sh")
|
|
172
|
+
exec "<command>" [-n name] [-w]
|
|
173
|
+
run a command in the terminal (default: submit async and return immediately; -w waits for result)
|
|
174
|
+
read [-n name] [-s buffer|history] [-l limit] [--head] [--include-command]
|
|
175
|
+
read terminal output: buffer (live) / history (default tail last N)
|
|
176
|
+
send "<text>" [-n name]
|
|
177
|
+
send text/keystrokes (\\r Enter, \\x03 Ctrl-C, \\x04 Ctrl-D, \\x1a Ctrl-Z, \\x1b Esc)
|
|
178
|
+
status [-n name]
|
|
179
|
+
terminal state (busy/pending/connection); omit name to list all
|
|
180
|
+
disconnect [-n name]
|
|
181
|
+
close terminal; omit name to close all
|
|
182
|
+
help
|
|
183
|
+
show this help
|
|
184
|
+
|
|
185
|
+
Examples:
|
|
186
|
+
ssh_cli connect root@192.168.1.10
|
|
187
|
+
ssh_cli connect user@host -p file:C:\\secrets\\pw.txt
|
|
188
|
+
ssh_cli local "docker exec -it myctr bash" -n db
|
|
189
|
+
ssh_cli exec "ls -la" -w
|
|
190
|
+
ssh_cli exec "cd /var/log && tail -50 syslog"
|
|
191
|
+
ssh_cli send "mypass\\r" -n default
|
|
192
|
+
ssh_cli read -n db -s buffer
|
|
193
|
+
ssh_cli status
|
|
194
|
+
ssh_cli disconnect -n db
|
|
195
|
+
`,
|
|
196
|
+
zh: `ssh_cli 统一命令行工具:管理 SSH / 本地 / 容器终端会话。
|
|
197
|
+
|
|
198
|
+
用法: ssh_cli <子命令> [参数]
|
|
199
|
+
|
|
200
|
+
子命令:
|
|
201
|
+
connect <target> [-u user] [-n name] [-p password|file:path]
|
|
202
|
+
target = user@host[:port](如 root@server.local:22);建立 SSH 长驻会话
|
|
203
|
+
-p 支持明文或 file:<路径>(从文件读密码,避免暴露)
|
|
204
|
+
local "<command>" [-n name] [-c cwd]
|
|
205
|
+
启动本地/容器终端(如 "pwsh" / "docker exec -it <容器> sh")
|
|
206
|
+
exec "<command>" [-n name] [-w]
|
|
207
|
+
在指定终端执行命令(默认异步提交立即返回;-w 同步等待结果)
|
|
208
|
+
read [-n name] [-s buffer|history] [-l limit] [--head] [--include-command]
|
|
209
|
+
读终端输出:buffer 实时 / history 历史(默认 tail 后 N 条)
|
|
210
|
+
send "<text>" [-n name]
|
|
211
|
+
发送文本/按键(\\r 回车、\\x03 Ctrl-C、\\x04 Ctrl-D、\\x1a Ctrl-Z、\\x1b Esc)
|
|
212
|
+
status [-n name]
|
|
213
|
+
终端状态(busy/pending/连接);省略 name 列出全部
|
|
214
|
+
disconnect [-n name]
|
|
215
|
+
断开终端;省略 name 断开全部
|
|
216
|
+
help
|
|
217
|
+
显示本帮助
|
|
218
|
+
|
|
219
|
+
示例:
|
|
220
|
+
ssh_cli connect root@192.168.1.10
|
|
221
|
+
ssh_cli connect user@host -p file:C:\\secrets\\pw.txt
|
|
222
|
+
ssh_cli local "docker exec -it myctr bash" -n db
|
|
223
|
+
ssh_cli exec "ls -la" -w
|
|
224
|
+
ssh_cli exec "cd /var/log && tail -50 syslog"
|
|
225
|
+
ssh_cli send "mypass\\r" -n default
|
|
226
|
+
ssh_cli read -n db -s buffer
|
|
227
|
+
ssh_cli status
|
|
228
|
+
ssh_cli disconnect -n db
|
|
229
|
+
`,
|
|
230
|
+
},
|
|
123
231
|
denied: {
|
|
124
232
|
en: "Denied by user.",
|
|
125
233
|
zh: "用户已拒绝。",
|
|
126
234
|
},
|
|
235
|
+
cli_bad_target: {
|
|
236
|
+
en: "Bad target: \"{target}\"",
|
|
237
|
+
zh: "目标格式错误: \"{target}\"",
|
|
238
|
+
},
|
|
239
|
+
cli_connect_usage: {
|
|
240
|
+
en: "Usage: connect user@host[:port] [-u user] [-n name] [-p password]",
|
|
241
|
+
zh: "用法: connect user@host[:port] [-u user] [-n name] [-p password]",
|
|
242
|
+
},
|
|
243
|
+
cli_need_user_host: {
|
|
244
|
+
en: "Need user and host",
|
|
245
|
+
zh: "需要 user 和 host",
|
|
246
|
+
},
|
|
247
|
+
cli_local_usage: {
|
|
248
|
+
en: "Usage: local \"<command>\" [-n name] [-c cwd]",
|
|
249
|
+
zh: "用法: local \"<command>\" [-n name] [-c cwd]",
|
|
250
|
+
},
|
|
251
|
+
cli_exec_usage: {
|
|
252
|
+
en: "Usage: exec \"<command>\" [-n name] [-w]",
|
|
253
|
+
zh: "用法: exec \"<command>\" [-n name] [-w]",
|
|
254
|
+
},
|
|
255
|
+
cli_send_usage: {
|
|
256
|
+
en: "Usage: send \"<text>\" [-n name]",
|
|
257
|
+
zh: "用法: send \"<text>\" [-n name]",
|
|
258
|
+
},
|
|
259
|
+
cli_need_command: {
|
|
260
|
+
en: "Need a command",
|
|
261
|
+
zh: "需要命令",
|
|
262
|
+
},
|
|
263
|
+
cli_need_text: {
|
|
264
|
+
en: "Need text to send",
|
|
265
|
+
zh: "需要发送内容",
|
|
266
|
+
},
|
|
267
|
+
cli_unknown: {
|
|
268
|
+
en: "Unknown command: {cmd}",
|
|
269
|
+
zh: "未知命令: {cmd}",
|
|
270
|
+
},
|
|
271
|
+
st_name: { en: "name", zh: "名称" },
|
|
272
|
+
st_type: { en: "type", zh: "类型" },
|
|
273
|
+
st_connected: { en: "connected", zh: "已连接" },
|
|
274
|
+
st_busy: { en: "busy", zh: "忙碌" },
|
|
275
|
+
st_pending: { en: "pending", zh: "待消费" },
|
|
276
|
+
st_bytes: { en: "bytes", zh: "字节" },
|
|
277
|
+
st_host: { en: "host", zh: "主机" },
|
|
278
|
+
st_program: { en: "program", zh: "程序" },
|
|
279
|
+
st_last_active: { en: "lastActive", zh: "最后活动" },
|
|
280
|
+
st_connected_at: { en: "connectedAt", zh: "连接时间" },
|
|
281
|
+
st_http_server: { en: "httpServer", zh: "HTTP 服务" },
|
|
282
|
+
st_active_sessions: { en: "activeSessions", zh: "活跃会话" },
|
|
283
|
+
st_disabled: { en: "disabled", zh: "已禁用" },
|
|
127
284
|
denied_danger: {
|
|
128
285
|
en: "Dangerous command, execution rejected.",
|
|
129
286
|
zh: "危险命令,已拒绝执行。",
|
|
@@ -177,12 +334,12 @@ export const T = {
|
|
|
177
334
|
zh: "SSH 会话已断开",
|
|
178
335
|
},
|
|
179
336
|
status_busy_hint: {
|
|
180
|
-
en: "\nHint: a command is still running. Wait and retry, or call
|
|
181
|
-
zh: "\n提示:仍有命令在执行,请等待后重试或调用
|
|
337
|
+
en: "\nHint: a command is still running. Wait and retry, or call term_read for partial output.",
|
|
338
|
+
zh: "\n提示:仍有命令在执行,请等待后重试或调用 term_read 获取部分输出。",
|
|
182
339
|
},
|
|
183
340
|
status_idle_hint: {
|
|
184
|
-
en: "\nHint: no command running. You can safely execute a new command or call
|
|
185
|
-
zh: "\n提示:无命令在执行,可安全执行新命令或调用
|
|
341
|
+
en: "\nHint: no command running. You can safely execute a new command or call term_read for remaining output.",
|
|
342
|
+
zh: "\n提示:无命令在执行,可安全执行新命令或调用 term_read 读取剩余输出。",
|
|
186
343
|
},
|
|
187
344
|
status_title: {
|
|
188
345
|
en: "SSH session status",
|
|
@@ -212,6 +369,18 @@ export const T = {
|
|
|
212
369
|
en: "SSH history (first {n} / total {total})",
|
|
213
370
|
zh: "SSH 历史(前 {n} 条 / 共 {total} 条)",
|
|
214
371
|
},
|
|
372
|
+
web_title: { en: "Terminal Records", zh: "终端记录" },
|
|
373
|
+
web_loading: { en: "Loading...", zh: "加载中..." },
|
|
374
|
+
web_load_failed: { en: "Failed to load records", zh: "记录加载失败" },
|
|
375
|
+
web_session_gone: { en: "Session not found or disconnected", zh: "会话不存在或已断开" },
|
|
376
|
+
web_time: { en: "Time", zh: "时间" },
|
|
377
|
+
web_terminals: { en: "terminals", zh: "终端" },
|
|
378
|
+
web_local: { en: "local", zh: "本地" },
|
|
379
|
+
web_commands: { en: "commands", zh: "条命令" },
|
|
380
|
+
web_auto_refresh: { en: "auto-refresh every 2s", zh: "每 2s 自动刷新" },
|
|
381
|
+
web_no_session: { en: "No session. Use ssh_cli connect first.", zh: "无会话,请先用 ssh_cli connect 建立连接。" },
|
|
382
|
+
web_running: { en: "[running] ", zh: "[运行中] " },
|
|
383
|
+
web_new_messages: { en: "↓ New messages", zh: "↓ 新消息" },
|
|
215
384
|
disconnected_ok: {
|
|
216
385
|
en: "SSH connection closed ({host}).",
|
|
217
386
|
zh: "SSH 连接已断开({host})。",
|
|
@@ -225,8 +394,8 @@ export const T = {
|
|
|
225
394
|
zh: "未连接",
|
|
226
395
|
},
|
|
227
396
|
err_busy: {
|
|
228
|
-
en: "Previous command still running, poll with
|
|
229
|
-
zh: "上一条命令仍在执行,请先
|
|
397
|
+
en: "Previous command still running, poll with term_status first",
|
|
398
|
+
zh: "上一条命令仍在执行,请先 term_status 轮询",
|
|
230
399
|
},
|
|
231
400
|
err_shell_open: {
|
|
232
401
|
en: "Shell open failed",
|
package/dist/i18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AAAA,+BAA+B;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAOzC;;;;GAIG;AACH,MAAM,UAAU,OAAO,CAAC,UAAU,GAAS,IAAI;IAC7C,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;IACjC,IAAI,GAAG,KAAK,IAAI;QAAE,OAAO,IAAI,CAAA;IAC7B,IAAI,GAAG,KAAK,IAAI;QAAE,OAAO,IAAI,CAAA;IAC7B,OAAO,UAAU,CAAA;AACnB,CAAC;AAED,kBAAkB;AAClB,MAAM,CAAC,MAAM,CAAC,GAAG;IACf,WAAW,EAAE;QACX,EAAE,EAAE,wKAAwK;QAC5K,EAAE,EAAE,uDAAuD;KAC5D;IACD,gBAAgB,EAAE;QAChB,IAAI,EAAE,EAAE,EAAE,EAAE,mBAAmB,EAAE,EAAE,EAAE,gBAAgB,EAAE;QACvD,IAAI,EAAE,EAAE,EAAE,EAAE,gBAAgB,EAAE,EAAE,EAAE,OAAO,EAAE;QAC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GAAG,CAAC,CAAC,IAAI,CAAC,CAAA;AACrB,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAA;AA6MvD,eAAO,MAAM,eAAe,EAAE,MA8R7B,CAAA;eAGc,eAAe"}
|