oclaw/uds-auth/package.json
oliver e61f9c6336
Some checks are pending
ci / test (push) Waiting to run
ci / test-postgresql (push) Waiting to run
fix(uds-auth): keep login error codes on QR login, name the scanned empNo (0.3.17)
0.3.16 mapped every post-scan failure to login_finalize_failed, hiding
codes with their own message (bootstrap_required, account_disabled,
registration_closed). Pass those through again and only fall back for
unknown errors.

The bootstrap_required message now includes the scanned employee number
and how to proceed (UDS_AUTH_INITIAL_ADMIN or emergency account login).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:24:11 +08:00

82 lines
2 KiB
JSON

{
"name": "uds-auth",
"version": "0.3.17",
"description": "UDS authentication plugin for DeepSeek Harness — trusted single-instance access control (not strong multi-tenant isolation)",
"type": "module",
"main": "lib/index.js",
"bin": {
"uds-auth-seal-local-admin": "./scripts/seal-local-admin.mjs"
},
"exports": {
".": "./lib/index.js",
"./client": "./lib/client.js",
"./config": "./lib/config.js",
"./i18n": "./lib/i18n.js",
"./session": "./lib/session/factory.js",
"./middleware": "./lib/middleware/auth-middleware.js",
"./api": "./lib/api.js",
"./context": "./lib/context.js",
"./cordis.patch.yml": "./cordis.patch.yml",
"./package.json": "./package.json"
},
"scripts": {
"bundle:qrcode": "bun run scripts/bundle-qrcode.mjs",
"prepack": "bun run scripts/bundle-qrcode.mjs && node scripts/generate-sbom.mjs",
"pack:check": "node scripts/pack-check.mjs",
"test": "node --test test/**/*.test.js",
"sbom": "node scripts/generate-sbom.mjs"
},
"keywords": [
"dsh-plugin",
"dsh",
"deepseek-harness",
"authentication",
"uds",
"sso",
"session-management"
],
"files": [
"lib",
"skills",
"skill-helpers",
"scripts/seal-local-admin.mjs",
"scripts/pack-check.mjs",
"config.default.yaml",
"cordis.patch.yml",
"docs",
"README.md",
"README.zh.md",
"LICENSE"
],
"author": "",
"license": "MIT",
"engines": {
"node": "^22.19.0 || >=24.0.0"
},
"dependencies": {},
"devDependencies": {
"qrcode": "1.5.4"
},
"peerDependencies": {
"react": "^18.2.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"platform": "web",
"immediately": true,
"inject": [
"@deepseek-ai/dsh-client-ui-slots",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-workspace"
]
}
}
}