@aman_asmuei/aman 0.5.0 → 0.5.1
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 +80 -0
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -92,8 +92,13 @@ Each package works independently. `aman` is the front door.
|
|
|
92
92
|
| `aman` | First run: setup. After that: show status |
|
|
93
93
|
| `aman setup` | Set up the full ecosystem |
|
|
94
94
|
| `aman status` | View ecosystem status (all layers) |
|
|
95
|
+
| `aman here` | Write a project context card (`.acore/context.md`) for the current directory |
|
|
95
96
|
| `aman deploy` | Deploy your AI anywhere (Docker, Ollama, systemd) |
|
|
96
97
|
|
|
98
|
+
### `aman here` — project context cards
|
|
99
|
+
|
|
100
|
+
Run `aman here` in any repo to create a `.acore/context.md` with the detected stack and today's date. The file is read by [aman-claude-code](https://github.com/amanasmuei/aman-claude-code) on every session start and embedded into [aman-copilot](https://github.com/amanasmuei/aman-copilot)'s `copilot-instructions.md` at `init` time — so both surfaces know which project you're in. Use `--force` to overwrite an existing card non-interactively.
|
|
101
|
+
|
|
97
102
|
After setup, use the individual CLIs for detailed management:
|
|
98
103
|
|
|
99
104
|
```bash
|
|
@@ -219,6 +224,81 @@ https://amanasmuei.github.io/acore/
|
|
|
219
224
|
|
|
220
225
|
ChatGPT, Claude, Claude Code, Cursor, Windsurf, Gemini, Ollama, and any AI that accepts a system prompt.
|
|
221
226
|
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
## Full install (all surfaces)
|
|
230
|
+
|
|
231
|
+
The one-command setup creates your global ecosystem. To light up every surface:
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
# 1. Ecosystem (identity + rules + eval)
|
|
235
|
+
npx @aman_asmuei/aman@latest
|
|
236
|
+
|
|
237
|
+
# 2. Persistent memory (MCP) — required for cross-surface memory sync
|
|
238
|
+
npx @aman_asmuei/amem
|
|
239
|
+
|
|
240
|
+
# 3a. Claude Code — plugin + live MCP tools
|
|
241
|
+
claude plugin marketplace add amanasmuei/aman-claude-code
|
|
242
|
+
claude plugin install aman-claude-code@aman
|
|
243
|
+
# Plugin auto-installs the MCP tools on first session start. To install manually:
|
|
244
|
+
# node ~/.claude/plugins/cache/aman/aman-claude-code/*/bin/install-mcp.mjs
|
|
245
|
+
|
|
246
|
+
# 3b. VS Code Copilot Chat — per project
|
|
247
|
+
cd /path/to/your/project
|
|
248
|
+
npx @aman_asmuei/aman-copilot init
|
|
249
|
+
npx @aman_asmuei/aman-copilot install-mcp --all
|
|
250
|
+
# Then: reload VS Code window, switch Copilot Chat to Agent mode
|
|
251
|
+
|
|
252
|
+
# 4. Per-project context card (optional, per repo)
|
|
253
|
+
cd /path/to/your/project
|
|
254
|
+
npx @aman_asmuei/aman here
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
Every step is idempotent — safe to re-run. The plugin + copilot auto-load identity/rules/memory from the global ecosystem; you only need to personalise once.
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Uninstall / reset
|
|
262
|
+
|
|
263
|
+
### Soft reset — keep packages, wipe content, re-run setup
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
rm -rf ~/.acore ~/.arules ~/.aeval
|
|
267
|
+
npx @aman_asmuei/aman@latest
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
Useful when your identity drifts and you want a clean slate without fully uninstalling.
|
|
271
|
+
|
|
272
|
+
### Full uninstall — nothing aman-related on disk
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
# 1. Global ecosystem data
|
|
276
|
+
rm -rf ~/.acore ~/.arules ~/.aeval ~/.aflow ~/.akit ~/.askill ~/.amem
|
|
277
|
+
|
|
278
|
+
# 2. Claude Code plugin + MCP entry
|
|
279
|
+
claude plugin uninstall aman-claude-code@aman
|
|
280
|
+
claude plugin marketplace remove aman
|
|
281
|
+
claude mcp remove aman 2>/dev/null || true
|
|
282
|
+
|
|
283
|
+
# 3. VS Code + Copilot CLI MCP entries
|
|
284
|
+
npx @aman_asmuei/aman-copilot uninstall-mcp --all
|
|
285
|
+
|
|
286
|
+
# 4. Per-project files — find every .acore folder you opted in to
|
|
287
|
+
find ~ -maxdepth 4 -type d -name .acore 2>/dev/null
|
|
288
|
+
# Review the list, then delete by hand or:
|
|
289
|
+
# find ~/Projects -maxdepth 4 -type d -name .acore -exec rm -rf {} +
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Per-project only — remove aman from one repo
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
# From the project root
|
|
296
|
+
rm -rf .acore .github/copilot-instructions.md
|
|
297
|
+
rm -f .github/prompts/{identity,rules,eval,remember,session-narrative}.prompt.md
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
The package `npx` binaries (`aman`, `amem`, `aman-copilot`, etc.) live in npm's cache — `npm cache clean --force` if you want those gone too, but they're tiny and usually not worth the trouble.
|
|
301
|
+
|
|
222
302
|
## License
|
|
223
303
|
|
|
224
304
|
[MIT](LICENSE)
|
package/dist/index.js
CHANGED
|
@@ -447,6 +447,10 @@ async function setupCommand() {
|
|
|
447
447
|
fs4.writeFileSync(path3.join(localDir, "context.md"), contextContent, "utf-8");
|
|
448
448
|
const configContent = JSON.stringify({ platform: platform || "other" }, null, 2) + "\n";
|
|
449
449
|
fs4.writeFileSync(path3.join(localDir, "config.json"), configContent, "utf-8");
|
|
450
|
+
} else {
|
|
451
|
+
p.log.info(
|
|
452
|
+
`No project detected here \u2014 run ${pc.bold("aman here")} later from inside any repo to add per-project context.`
|
|
453
|
+
);
|
|
450
454
|
}
|
|
451
455
|
const platformFile = getPlatformFile(platform);
|
|
452
456
|
if (platformFile) {
|
|
@@ -546,6 +550,7 @@ async function setupCommand() {
|
|
|
546
550
|
` ${pc.green("\u2714")} Your AI companion is ready.`,
|
|
547
551
|
"",
|
|
548
552
|
` ${pc.bold("aman status")} See your full ecosystem`,
|
|
553
|
+
` ${pc.bold("aman here")} Add per-project context (.acore/context.md)`,
|
|
549
554
|
` ${pc.bold("acore customize")} Change personality`,
|
|
550
555
|
` ${pc.bold("askill add testing")} Install skills`,
|
|
551
556
|
` ${pc.bold("npx @aman_asmuei/amem")} Enable automated memory`,
|
|
@@ -1027,7 +1032,7 @@ async function hereCommand(opts = {}) {
|
|
|
1027
1032
|
|
|
1028
1033
|
// src/index.ts
|
|
1029
1034
|
var program = new Command();
|
|
1030
|
-
program.name("aman").description("Your complete AI companion \u2014 identity, memory, and tools in one command").version("0.5.
|
|
1035
|
+
program.name("aman").description("Your complete AI companion \u2014 identity, memory, and tools in one command").version("0.5.1").action(() => {
|
|
1031
1036
|
const ecosystem = detectEcosystem();
|
|
1032
1037
|
if (ecosystem.acore.installed) {
|
|
1033
1038
|
statusCommand();
|