Refine skill routing and silent CLI compatibility

This commit is contained in:
gitea committed 2026-09-22 15:25:16 +08:00
1 parent 9094f4907a
commit 61fa63bbe1
11 files changed
+460 -774

No files matched your search

+2 -2
View File
@@ -84,7 +84,7 @@ seal-use auth diagnose --corp <corpId>
seal-use tools list
```
`corps add-hose-persistent` verifies by default before writing the config. It uses the Hose OpenAPI credential response to derive the corporation ID, then checks provisional auth, Seal SSO, and Seal `whoami`. Pass `"force":true` or `"verify":false` only when you intentionally want to write a config that may fail later. The old `add-hose` spelling remains a compatibility alias.
`corps add-hose-persistent` verifies by default before writing the config. It uses the Hose OpenAPI credential response to derive the corporation ID, then checks provisional auth, Seal SSO, and Seal `whoami`. Pass `"force":true` or `"verify":false` only when you intentionally want to write a config that may fail later.
Create a user-level Seal-native enterprise config from an already signed-in Seal Use page:
@@ -93,7 +93,7 @@ seal-use corps add-seal-bearer --json '{"sealUrl":"https://tenant.staging.sealai
seal-use auth diagnose --corp tenant
```
`corps add-seal-bearer` verifies `/api/v1/auth/me` by default and writes the tenant slug, tenant ID, tenant name, and provider user ID into local config metadata. Pass `"force":true` or `"verify":false` only when writing an offline config intentionally. The old `add-seal` spelling remains a compatibility alias.
`corps add-seal-bearer` verifies `/api/v1/auth/me` by default and writes the tenant slug, tenant ID, tenant name, and provider user ID into local config metadata. Pass `"force":true` or `"verify":false` only when writing an offline config intentionally.
短期 Seal 配置会同时记录 `expiresIn`(秒数 TTL)和 `expiresAt`(UTC 秒精度,例如 `2026-09-22T05:30:00Z`);Hose 持久化配置则以 `source.type: "hose"` 和 `appKey/appSecurity` 表示,不写入这两个会话过期字段。