@gitpagedocs/tools 1.1.51 → 1.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,7 @@ The **shared business-logic core** of the [Git Page Docs](../README.md) monorepo
8
8
  |---|---|
9
9
  | `ai/` | 14-provider AI system — data-driven `PROVIDER_CATALOG`, registry + factory (no switch chains), 5 family adapters (OpenAI-compatible, Anthropic, Gemini, Ollama, Cohere), SSE/NDJSON streaming, legacy↔catalog id mapping |
10
10
  | `security/` | `EncryptedCredentialVault` (AES-256-GCM), `SessionPasswordGate`, plaintext migration; web + file storage adapters |
11
- | `crypto/` | `NodeCryptoService` + `WebCryptoService` (SHA-256, PBKDF2, AES-256-GCM, masking, secure wipe) |
11
+ | `crypto/` | `NodeCryptoService` + `WebCryptoService` (SHA-256, PBKDF2, AES-256-GCM, masking, secure wipe); `deriveDocAccessKeys` / `verifyDocAccess` (double-hash documentation password gate shared by the CLI `password` command and the frontend gate) |
12
12
  | `cache/` | `MemoryCache`, `FileCache`, `WebStorageCache` (Strategy over one `Cache` port) |
13
13
  | `config/` | `GitPageDocsConfigLoader` (`.json` / `.js` / `.ts`) |
14
14
  | `logger/` | Level-filtered logger with **secret redaction** |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitpagedocs/tools",
3
- "version": "1.1.51",
3
+ "version": "1.1.53",
4
4
  "type": "module",
5
5
  "description": "Shared business-logic core for Git Page Docs (consumed by frontend, cli and mcp). Ships TypeScript source; consume via tsx or a TS-aware bundler.",
6
6
  "main": "./src/index.ts",
@@ -73,7 +73,9 @@ export const CLI_COMMANDS: readonly CommandDoc[] = [
73
73
  { name: "config", summary: "show the resolved gitpagedocs config" },
74
74
  { name: "provider [id]", summary: "list AI providers or show one" },
75
75
  { name: "models [provider]", summary: "list catalog models" },
76
- { name: "document[:repo|:file|:folder]", summary: "generate documentation with AI" },
76
+ { name: "ai", summary: "interactive AI docs generator (writes pages in the gitpagedocs pattern)" },
77
+ { name: "document[:repo|:file|:folder]", summary: "generate documentation with AI in the gitpagedocs pattern" },
78
+ { name: "password", summary: "set a documentation access password (writes the public key to config.json)" },
77
79
  { name: "deploy | pages", summary: "configure GitHub Pages via Actions and push" },
78
80
  { name: "doctor", summary: "diagnose the environment" },
79
81
  { name: "mcp start", summary: "start the MCP server over stdio" },