mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-10-27 16:02:05 +00:00
Secret input: - Values that are secrets can now be read from stdin: `entry add key-value --stdin`, `entry add totp --secret-stdin`, `entry add document --stdin`, and `entry modify --value-stdin`. Arguments are visible in shell history and process listings, so the positional forms now warn (without echoing the secret they are warning about) rather than silently accepting. Packaging (the published package was broken): - `exports` pointed at src/index.ts while `files` shipped only dist/, so an installed package had no entry point; exports now points at the bundle. - A `workspace:*` runtime dependency would have failed any real install. The bundle inlines everything, so the package now declares no runtime dependencies at all. Verified by packing the tarball, installing it into a clean project and running the binary -- and CI now does the same on every change, because this class of mistake is invisible to build and test. - The workspace globs cover apps/* so a future extension cannot sit outside CI. - @types/node aligned with the advertised Node 22 runtime. Release and supply chain: - release-integrity now builds the CLI bundle into dist/ before checksums are generated and signed, so the executable TypeScript artifact is covered by the same manifest and cosign signature as the Python ones. - A new javascript-supply-chain job runs `pnpm audit` and produces a CycloneDX SBOM; the JS tree previously had neither. Also documents two findings that are protocol-level and shared with Python, where changing the port alone would break convergence: tombstone retention allowing deletion replay after the 2048-entry cap, and SSH/PGP sharing a derivation domain (same index yields the same Ed25519 key). Both need a versioned change in both implementations and are recorded in the compatibility matrix rather than silently patched here. 193 core + 70 CLI tests green; pnpm audit clean. Co-Authored-By: Claude Fable 5 <[email protected]>
40 lines
915 B
JSON
40 lines
915 B
JSON
{
|
|
"name": "@seedpass/cli",
|
|
"version": "0.1.0",
|
|
"description": "SeedPass command-line interface (TypeScript) \u2014 reference-first, agent-blind by default",
|
|
"type": "module",
|
|
"bin": {
|
|
"seedpass-js": "./dist/seedpass-js.mjs"
|
|
},
|
|
"exports": {
|
|
".": "./dist/seedpass-js.mjs"
|
|
},
|
|
"scripts": {
|
|
"build": "node build.mjs",
|
|
"prepack": "node build.mjs",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@seedpass/test-vectors": "workspace:*",
|
|
"@types/node": "^22.15.0",
|
|
"tsx": "^4.20.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0",
|
|
"esbuild": "^0.28.0",
|
|
"@seedpass/core": "workspace:*",
|
|
"@scure/base": "^2.3.0",
|
|
"commander": "^14.0.2"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=22"
|
|
},
|
|
"files": [
|
|
"dist/seedpass-js.mjs",
|
|
"dist/seedpass-js.mjs.sha256",
|
|
"README.md"
|
|
]
|
|
}
|