diff --git a/enterprises/example.hose.json b/enterprises/example.hose.json deleted file mode 100644 index 6de3399..0000000 --- a/enterprises/example.hose.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "id": "corp-id", - "name": "企业名称", - "seal": { - "url": "https://corp-id.sealai.cc", - "endpoints": { - "approvalStylePreferences": "api/v1/agent/ai-approval/config" - } - }, - "source": { - "type": "hose", - "domain": "https://app.ekuaibao.com", - "key": "hose-app-key", - "password": "hose-app-security", - "staffId": "hose-staff-id", - "corpId": "hose-corp-id" - }, - "auth": { - "refreshTtl": 300 - } -} diff --git a/enterprises/example.seal.json b/enterprises/example.seal.json deleted file mode 100644 index ea30e38..0000000 --- a/enterprises/example.seal.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "id": "tenant-slug", - "name": "Seal 原生企业", - "seal": { - "url": "https://tenant.sealai.cc", - "tenantSlug": "tenant-slug", - "endpoints": { - "approvalStylePreferences": "api/v1/agent/ai-approval/config" - } - }, - "source": { - "type": "seal", - "token": "seal-bearer-token", - "sealUrl": "https://tenant.sealai.cc", - "expiresIn": 2592000, - "expiresAt": "2026-10-22T00:00:00Z", - "staffId": "seal-user-id", - "corpId": "tenant-slug", - "tenantId": "seal-tenant-id", - "tenantSlug": "tenant-slug", - "tenantName": "Seal 原生企业", - "providerUserId": "provider-user-id" - }, - "auth": { - "refreshTtl": 300 - } -} diff --git a/src/core/doctor/diagnose.ts b/src/core/doctor/diagnose.ts index 87da465..a58b214 100644 --- a/src/core/doctor/diagnose.ts +++ b/src/core/doctor/diagnose.ts @@ -92,7 +92,7 @@ function listCredentialFilePaths(dir: string): string[] { /** * The tool writes credential-bearing files 0o600 (`core/config/loader.ts`, * `cli/commands/corps.ts`, `core/auth/token-store.ts`), but a file placed by hand keeps the - * 0o644 default — and `enterprises/local.json` holds a plaintext Hose app key and password. + * 0o644 default — holds a plaintext Hose app key and password. * Report those rather than assuming the writers' mode. */ function findGroupOrWorldReadable(paths: string[]): string[] {