@pasosdejesus/mpdj 0.2.5 → 0.2.7

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.
Files changed (3) hide show
  1. package/SKILL.md +36 -7
  2. package/dist/SKILL.md +36 -7
  3. package/package.json +1 -1
package/SKILL.md CHANGED
@@ -61,17 +61,46 @@ When interacting via chat.deepseek.com **you do not have filesystem or terminal
61
61
 
62
62
  ### ai:context
63
63
 
64
- Generates project context for DeepSeek Chat.
64
+ Generates project context for an AI agent: project type and workspace roots,
65
+ task-selected files, git state, open requirements and a hard size budget.
66
+ Document schema: 1 (English headings, stable across runs with `--deterministic`).
65
67
 
66
68
  ```bash
67
- ./bin/m ai:context [--full] [--limit <KB>] [--no-clip] [--output <file>]
69
+ ./bin/m ai:context [--type <type|auto>] [--root <dir>] [--task <profile>]
70
+ [--list-tasks] [--print-config] [--git] [--reqs]
71
+ [--untracked] [--include <glob>] [--exclude <glob>]
72
+ [--structure] [--files] [--stdout] [--truncate]
73
+ [--deterministic] [--depth <N>] [--req-max <N>]
74
+ [--full] [--max-size <KB>] [--limit <KB>] [--no-clip]
75
+ [--output <file>]
68
76
  ```
69
77
 
70
78
  **Options:**
71
- - `--full`: Include complete files without truncation
72
- - `--limit <KB>`: Maximum total size (default: 100KB)
73
- - `--no-clip`: Do not copy to clipboard
74
- - `--output <file>`: Save to file (default: contexto.md)
79
+ - `--type`: `rails`, `nextjs`, `hardhat`, `node`, `monorepo` or `auto`
80
+ - `--root`: workspace root (relative to the repository root)
81
+ - `--task`: `auth`, `pwa`, `wallet`, `contracts`, `tests` or `<type>:<task>`
82
+ - `--list-tasks`: list profiles with their resolved workspace root
83
+ - `--print-config`: print the merged configuration and exit
84
+ - `--git`: add `git status --short` and `git diff --stat`
85
+ - `--git-authors`: include author names/emails (off by default)
86
+ - `--reqs`: include open requirements from `REQ/`
87
+ - `--untracked`: include untracked, non-ignored files
88
+ - `--include` / `--exclude`: extra globs (`--exclude` wins)
89
+ - `--structure`: directory tree only (no external `tree` binary needed)
90
+ - `--files`: matching paths only, no contents
91
+ - `--stdout`: write to stdout (no file, no clipboard)
92
+ - `--truncate`: truncate files that do not fit the budget
93
+ - `--deterministic`: reproducible output (no timestamp)
94
+ - `--full`: include complete files without the per-file truncation
95
+ - `--max-size <KB>`: per-file size cap (default: 30)
96
+ - `--limit <KB>`: hard document size cap (default: 100)
97
+ - `--no-clip`: do not copy to clipboard
98
+ - `--output <file>`: save to file (default: contexto.md)
99
+
100
+ Profiles come from JSON (`~/.config/m/context-profiles.json`,
101
+ `<repo>/.m/context-profiles.json`, `<repo>/ai/context-profiles.json`) merged over
102
+ the built-ins; adding a profile requires no code change. Secrets (`.env*`,
103
+ `*.pem`, `*.key`, `config/master.key`, wallets) are never included.
75
104
 
76
105
  ### ai:readfile
77
106
 
@@ -277,7 +306,7 @@ See [src/e2e/README.md](src/e2e/README.md).
277
306
  | [`API.md`](API.md) | Full CLI commands and package exports |
278
307
  | [`doc/edr.md`](doc/edr.md) | Architecture, usage and design decisions |
279
308
  | [`doc/wallet.md`](doc/wallet.md) | Wallet CLI deep dive |
280
- | [`doc/engine.md`](doc/engine.md) | Engine system (WBA, credentials modules) |
309
+ | [`doc/engines.md`](doc/engines.md) | Engine system (WBA, credentials modules) |
281
310
  | [`doc/migraciones-db-blockchain.md`](doc/migraciones-db-blockchain.md) | DB + blockchain migrations |
282
311
  | [`doc/adding-command.md`](doc/adding-command.md) | How to add new CLI commands |
283
312
  | [`REQ/README.md`](REQ/README.md) | Requirements management and config |
package/dist/SKILL.md CHANGED
@@ -61,17 +61,46 @@ When interacting via chat.deepseek.com **you do not have filesystem or terminal
61
61
 
62
62
  ### ai:context
63
63
 
64
- Generates project context for DeepSeek Chat.
64
+ Generates project context for an AI agent: project type and workspace roots,
65
+ task-selected files, git state, open requirements and a hard size budget.
66
+ Document schema: 1 (English headings, stable across runs with `--deterministic`).
65
67
 
66
68
  ```bash
67
- ./bin/m ai:context [--full] [--limit <KB>] [--no-clip] [--output <file>]
69
+ ./bin/m ai:context [--type <type|auto>] [--root <dir>] [--task <profile>]
70
+ [--list-tasks] [--print-config] [--git] [--reqs]
71
+ [--untracked] [--include <glob>] [--exclude <glob>]
72
+ [--structure] [--files] [--stdout] [--truncate]
73
+ [--deterministic] [--depth <N>] [--req-max <N>]
74
+ [--full] [--max-size <KB>] [--limit <KB>] [--no-clip]
75
+ [--output <file>]
68
76
  ```
69
77
 
70
78
  **Options:**
71
- - `--full`: Include complete files without truncation
72
- - `--limit <KB>`: Maximum total size (default: 100KB)
73
- - `--no-clip`: Do not copy to clipboard
74
- - `--output <file>`: Save to file (default: contexto.md)
79
+ - `--type`: `rails`, `nextjs`, `hardhat`, `node`, `monorepo` or `auto`
80
+ - `--root`: workspace root (relative to the repository root)
81
+ - `--task`: `auth`, `pwa`, `wallet`, `contracts`, `tests` or `<type>:<task>`
82
+ - `--list-tasks`: list profiles with their resolved workspace root
83
+ - `--print-config`: print the merged configuration and exit
84
+ - `--git`: add `git status --short` and `git diff --stat`
85
+ - `--git-authors`: include author names/emails (off by default)
86
+ - `--reqs`: include open requirements from `REQ/`
87
+ - `--untracked`: include untracked, non-ignored files
88
+ - `--include` / `--exclude`: extra globs (`--exclude` wins)
89
+ - `--structure`: directory tree only (no external `tree` binary needed)
90
+ - `--files`: matching paths only, no contents
91
+ - `--stdout`: write to stdout (no file, no clipboard)
92
+ - `--truncate`: truncate files that do not fit the budget
93
+ - `--deterministic`: reproducible output (no timestamp)
94
+ - `--full`: include complete files without the per-file truncation
95
+ - `--max-size <KB>`: per-file size cap (default: 30)
96
+ - `--limit <KB>`: hard document size cap (default: 100)
97
+ - `--no-clip`: do not copy to clipboard
98
+ - `--output <file>`: save to file (default: contexto.md)
99
+
100
+ Profiles come from JSON (`~/.config/m/context-profiles.json`,
101
+ `<repo>/.m/context-profiles.json`, `<repo>/ai/context-profiles.json`) merged over
102
+ the built-ins; adding a profile requires no code change. Secrets (`.env*`,
103
+ `*.pem`, `*.key`, `config/master.key`, wallets) are never included.
75
104
 
76
105
  ### ai:readfile
77
106
 
@@ -277,7 +306,7 @@ See [src/e2e/README.md](src/e2e/README.md).
277
306
  | [`API.md`](API.md) | Full CLI commands and package exports |
278
307
  | [`doc/edr.md`](doc/edr.md) | Architecture, usage and design decisions |
279
308
  | [`doc/wallet.md`](doc/wallet.md) | Wallet CLI deep dive |
280
- | [`doc/engine.md`](doc/engine.md) | Engine system (WBA, credentials modules) |
309
+ | [`doc/engines.md`](doc/engines.md) | Engine system (WBA, credentials modules) |
281
310
  | [`doc/migraciones-db-blockchain.md`](doc/migraciones-db-blockchain.md) | DB + blockchain migrations |
282
311
  | [`doc/adding-command.md`](doc/adding-command.md) | How to add new CLI commands |
283
312
  | [`REQ/README.md`](REQ/README.md) | Requirements management and config |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pasosdejesus/mpdj",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Extensión Pasos de Jesús para m CLI — marco cristiano, credenciales, requerimientos",
5
5
  "author": "",
6
6
  "license": "ISC",