@kl-c/matrixos 0.2.7 → 0.2.9
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/.agents/command/matrix.md +31 -0
- package/dist/cli/index.js +445 -324
- package/dist/cli/slash-command-installer.d.ts +4 -0
- package/dist/cli-node/index.js +445 -324
- package/dist/gateway/gateway-handler.d.ts +4 -0
- package/dist/index.js +74 -52
- package/dist/plugin/auto-adoption.d.ts +5 -3
- package/package.json +25 -25
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: MaTrixOS CLI entry point — list and run all matrixos subcommands (project, gateway, deploy, self-audit, adopt)
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<command-instruction>
|
|
6
|
+
You are executing `/matrix` — the user wants to interact with MaTrixOS's CLI from inside the TUI.
|
|
7
|
+
|
|
8
|
+
## What this does
|
|
9
|
+
`/matrix` is the human entry point to the `matrixos` CLI. It is NOT a separate command set — it maps directly to `matrixos <subcommand>`.
|
|
10
|
+
|
|
11
|
+
## Available subcommands (run them via the agent's shell tool, or explain them)
|
|
12
|
+
|
|
13
|
+
- `matrixos project create <slug>` — create a new isolated project context
|
|
14
|
+
- `matrixos project list` — list projects
|
|
15
|
+
- `matrixos project switch <slug>` — set the active project (scopes memory + RAG)
|
|
16
|
+
- `matrixos project archive <slug>` — archive a project
|
|
17
|
+
- `matrixos gateway adopt telegram --token "..." --chat "..."` — configure the Telegram bot (token NEVER sent over chat)
|
|
18
|
+
- `matrixos gateway start` — start the Telegram gateway
|
|
19
|
+
- `matrixos gateway status` — check gateway health
|
|
20
|
+
- `matrixos deploy <static|vercel|vps> [--env staging|production] [--dry-run] [--force]` — deploy the active project
|
|
21
|
+
- `matrixos self-audit` — generate the weekly self-audit report
|
|
22
|
+
- `matrixos self-audit --install-cron` — install the Sunday 22:00 weekly job
|
|
23
|
+
- `matrixos adopt` — re-run the full adoption wizard (providers, channels, profile)
|
|
24
|
+
|
|
25
|
+
## Behavior
|
|
26
|
+
1. If the user typed `/matrix` with no argument, list the subcommands above and ask which one they want.
|
|
27
|
+
2. If the user typed `/matrix <subcommand> ...`, explain what it does and offer to run it (for non-destructive commands) or run it directly via the shell tool.
|
|
28
|
+
3. For `gateway adopt telegram`: NEVER ask for the token in chat. Tell the user to run the command locally on their machine, or paste it only into the CLI prompt (masked).
|
|
29
|
+
|
|
30
|
+
Keep responses in French, concise, and action-oriented.
|
|
31
|
+
</command-instruction>
|