* Fix enterprise fuzzy search and Seal auth link output
* Refine auth link output with aligned ordered fields and Beijing ISO expiry
* Docs: remove redundant delegation list note from hose-enterprise-auth.md
* Bundle: update dist/mcp/server.js after doc cleanup
* Refactor: eliminate delegation command in favor of auth link suite
* Refactor: standardize auth check command with hidden diagnostic aliases
Sync ~/.gemini/config/skills.json to include the user's absolute
global agents skills directory (~/.agents/skills) upon global skill
install, and expose Antigravity status in skill status.
- Prepend the absolute path to entries if not already present
- Migrate legacy tilde path to absolute path to ensure discovery
- Avoid modifying config if target path is already registered
- Provide unit tests covering creation, deduplication, and prepend
- Decouple getHoseProvisionalAuthLink from internal closeapi session cache to prevent silent truncation and cache pollution (#137)
- Add --force, --refresh, -f options and positive integer validation to auth hose-link
- Clarify distinction between Hose web assistance links and Seal delegation tokens across CLI help, SKILL.md, and docs
- Add modular issue resolution and PR workflow rule under .agents/rules/
The plugin ships dist/mcp/server.js as its MCP entry point, and that bundle
could not start at all: it threw "TypeError: ... is not a constructor" while
loading and never answered a request. MCP defaults to off, so enabling it
produced no seal_cli tool and no visible error.
Root cause: src/server.ts is circularly entangled with the CLI command graph
(server -> cli/runner -> cli/commands/mcp -> server, and
server -> cli/runner -> cli/commands/http -> http/routes -> server). When
bun build --target=node flattened that cycle together with zod's own
core <-> classic cycle, zod's class initialisers landed after the top-level
z.lazy() call the SDK makes at import time, leaving ZodLazy undefined.
Not fixable by changing targets: --target=bun, --compile, and dropping
--minify all fail the same way. Only removing the cycles fixes it.
- Moved tokenizeCommand / normalizeCliArgs to a leaf module (src/cli/tokenize.ts)
and made the mcp command import the server lazily, removing both cycles.
- Added a test that boots the packaged bundle over stdio and completes a
handshake; the existing tests exercise source, not the shipped artifact,
which is why this went unnoticed. Verified it fails on the old bundle.
- Committed the rebuilt dist/mcp/server.js, since the previously committed
artifact is the broken one.
Also migrated the monolithic @modelcontextprotocol/sdk v1 to the v2 split
packages (@modelcontextprotocol/server for the server,
@modelcontextprotocol/client for tests):
- Low-level Server + setRequestHandler -> high-level McpServer + registerTool;
hand-written JSON Schema -> z.strictObject (still emits
additionalProperties: false).
- Added the title and annotations clients could not previously see:
readOnlyHint false, destructiveHint true, idempotentHint false,
openWorldHint true. seal_cli is a passthrough that can reach mutating verbs,
so it must not be advertised as safe to auto-run or safe to retry; the
description now names the command families needing user confirmation.
- startServer uses serveStdio, which owns protocol-era negotiation
(2025-era clients keep working) and teardown.
- .mcp.json uses the ZCode-native ${ZCODE_PLUGIN_ROOT}; verified in ZCode's
resolver that CLAUDE_PLUGIN_ROOT and ZCODE_PLUGIN_ROOT are the same alias.
Dropping the v1 SDK removes express, hono, cors and ajv from the dependency
graph (bun.lock -149 lines).
- Clarify dataset naming as Webhook 资源包 (CLI: resource-pack, alias: pack), distinguishing from backend native simulation material pack while retaining material-pack as backward-compatible alias
- Implement exportApprovalRunsToResourcePack for exporting online approval runs and attachments into local resource pack ZIP
- Support seal-use webhook resource-pack export with record filters, docId prefix/suffix, and destination options
- Refine bidirectional directory validation to allow documents without attachments
- Update CLI runner, help definitions, and skill references
- Add comprehensive export, preview, and CLI command unit tests
- Add comprehensive reference guide for staging simulation and production rule evolution
- Require latest CLI, skill, and plugin versions with self-update instructions in SKILL.md
- Deduplicate prod hosecloud integrations by corporationId during corps sync-test
- Support key and password fallback in enterprise source config for hose credentials
- Add unit and integration tests covering deduplication and source credential compatibility
- Sync hosecloud integrations from prod to test during corps sync-test
- Format outboundName as {corpNamePrefix}(Seal测) capped at 13 chars
- Force assisted mode and reuse existing credentials and apiOrigin
- Skip outbound sync to Hosecloud to preserve production approval flows
- Add unit and integration tests covering naming, mode, and idempotency