Refine CLI service and align project metadata

This commit is contained in:
gitea committed 2026-07-30 19:13:54 +08:00
1 parent 802c32c6bd
commit 2ca45d935e
11 files changed
+285 -184

No files matched your search

+10 -7
View File
@@ -1,13 +1,13 @@
---
name: seal-home
version: 0.4.1
description: "v0.4.1: Use when working with Seal Home approval automation: 合思/易快报企业认证, Hose authorization links, approval run lookup, LLM config, permissions, billing status, user search, user activation, admin delegation link generation, delegation links, approval rules, documents, search, and Langfuse hints."
version: 0.4.2
description: "v0.4.2: Use when working with Seal Home tenant operations: target-tenant Seal delegation links, Hose/合思 authorization links, approval runs, LLM config, permissions, billing, users, rules, documents, search, and Langfuse hints."
metadata:
version: 0.4.1
short-description: Seal approval automation tools (v0.4.1)
version: 0.4.2
short-description: Seal tenant and Hose approval automation (v0.4.2)
---
# Seal Home (v0.4.1)
# Seal Home (v0.4.2)
Use the global `seal-home` CLI. This skill is a routing layer for agents: keep this file short, choose the right command, and read a focused reference only when the task needs detail.
@@ -27,11 +27,14 @@ seal-home tools list
- If output may be large, use `--summary`, `--fields`, `--count`, or `--output-file`; use `--full` only when the user really needs full payloads.
- When returning ANY authorization, login, or delegation links (e.g. 合思授权链接, Seal授权链接/委托链接), ALWAYS provide BOTH a code block (` ```text ... ``` `) for easy copying without accidental default browser redirection, AND a clickable hyperlink.
- For delegation links, always prefer `seal-home delegation create` over `users delegation` for link generation to ensure persistent token tracking.
- Never treat “Seal 协助/Seal 授权/委托” as a 合思授权入口. They are different links and must use different commands.
- A delegation link belongs to the Seal tenant selected by `--corp`; omitting `--corp` uses the current tenant and is unsafe for an explicitly named enterprise.
- For an explicitly named enterprise, first resolve it with `seal-home corps list`, then pass its exact `corpId` to every command. After creation, verify the returned URL host matches that enterprise's Seal tenant; if the host is the current/default tenant or cannot be verified, do not present the link as the target enterprise's link.
## Route By Intent
- User-facing Seal authorization / delegation link (Seal 授权链接/委托链接): `seal-home delegation create [--note ...] [--corp <corpId>]`. Always provide BOTH a code block (` ```text ... ``` `) AND a hyperlink.
- User-facing 合思 authorization link (合思授权链接): `seal-home auth hose-link --corp <corpId> --expire 7200`; read `references/hose-enterprise-auth.md`. Always provide BOTH a code block (` ```text ... ``` `) AND a hyperlink.
- User-facing Seal tenant assistance link (Seal 协助/Seal 授权/委托): resolve the named enterprise first, then run `seal-home delegation create --corp <corpId> --note '<enterprise>'`; verify the returned hostname is that tenant's Seal hostname. Always provide BOTH a code block (` ```text ... ``` `) AND a hyperlink.
- User-facing 合思 authorization link (合思/易快报授权): `seal-home auth hose-link --corp <corpId> --expire 7200`; read `references/hose-enterprise-auth.md`. Never use this route when the user says Seal 协助. Always provide BOTH a code block (` ```text ... ``` `) AND a hyperlink.
- Delegation links management: `seal-home delegation list`, `create [--note ...]`, `revoke <tokenId>`.
- User & Contacts Management (用户搜索、激活与一键代生成授权): `seal-home users search [keyword]`, `users delegation <userIdOrPhone>` (仅适用于 Seal 本地创建的账号 `provider: local`;对合思同步账号系统拒绝重置密码,需改用 `auth hose-link`), `users activate <userId>`, `users create --name ... --phone ...`, `reset-password <userId>`, `get <userId>`, `delete <userId>`.
- LLM Model Config & Providers: `seal-home llm config`, `seal-home llm providers`.