chore: refresh public mirror

This commit is contained in:
chen qiang
2026-08-17 13:58:43 +08:00
parent 5351e53b65
commit e5fc7a33cc
4 changed files with 15 additions and 3 deletions
+5
View File
@@ -410,3 +410,8 @@
### Trusted-device key location ### Trusted-device key location
- Store the trusted-device key at `~/.oracle-jump-query/device-key.json`, shared by all installations of the Skill for the same Windows user. - Store the trusted-device key at `~/.oracle-jump-query/device-key.json`, shared by all installations of the Skill for the same Windows user.
- Never migrate or overwrite another key; the private key is created once and never committed or uploaded. - Never migrate or overwrite another key; the private key is created once and never committed or uploaded.
## 1.5.41 (2026-08-17)
### Trusted-device detection
- `login` may now be run without a secret key; the Skill first detects an approved local trusted device and obtains a token automatically.
- A secret-key login is requested only when no approved device is available.
+2
View File
@@ -47,6 +47,8 @@ python scripts/oracle_skill.py <command> [args]
python scripts/oracle_skill.py login <secretKey> [clientCode] python scripts/oracle_skill.py login <secretKey> [clientCode]
``` ```
如果当前 Windows 用户目录中已有已审批的可信设备,也可以直接执行 `python scripts/oracle_skill.py login`;Skill 会自动检测设备并申请中转 token,只有设备不存在、被撤销或已过期时才需要提供登录密钥。
`clientCode` 是客户服务器编号,非必填;不传时中转机会默认选择 BOS 返回的第一个可用 client。登录成功后本地只保存中转机签发的 `access_token` 和过期时间,不保存 BOS `secretKey`。同一个 `secretKey` 同时只允许一个设备在线,其他设备重新登录后,当前 token 会失效。 `clientCode` 是客户服务器编号,非必填;不传时中转机会默认选择 BOS 返回的第一个可用 client。登录成功后本地只保存中转机签发的 `access_token` 和过期时间,不保存 BOS `secretKey`。同一个 `secretKey` 同时只允许一个设备在线,其他设备重新登录后,当前 token 会失效。
常用命令: 常用命令:
+1 -1
View File
@@ -1 +1 @@
1.5.40 1.5.41
+6 -1
View File
@@ -3553,8 +3553,13 @@ def main():
result = query_with_permission(user_id, table_id, sql) result = query_with_permission(user_id, table_id, sql)
print_result(result) print_result(result)
elif cmd == "login" and len(sys.argv) >= 3: elif cmd == "login":
if len(sys.argv) >= 3:
cmd_login(sys.argv[2], sys.argv[3] if len(sys.argv) >= 4 else "") cmd_login(sys.argv[2], sys.argv[3] if len(sys.argv) >= 4 else "")
else:
cfg = get_config() or {}
if not ensure_logged_in(cfg):
print("❌ 未检测到已授权可信设备,请执行 login <secretKey> [clientCode]")
elif cmd == "logout": elif cmd == "logout":
cmd_logout() cmd_logout()