min-agent 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/dist/cli.js +6 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -21,6 +21,7 @@ function printUsage() {
21
21
  min-agent - Minimal AI coding agent
22
22
 
23
23
  Usage:
24
+ min-agent init Initialize .min-agent/ in current directory
24
25
  min-agent chat <message> Send a message to the agent
25
26
  min-agent chat Start interactive multi-turn chat
26
27
  min-agent chat --resume <id> Resume a previous session
@@ -107,7 +108,6 @@ function ensureProjectDefaults() {
107
108
  }
108
109
  }
109
110
  async function main() {
110
- ensureProjectDefaults();
111
111
  if (args.length === 0 || args[0] === "--help" || args[0] === "-h") {
112
112
  printUsage();
113
113
  process.exit(0);
@@ -585,6 +585,11 @@ Commands:
585
585
  }
586
586
  break;
587
587
  }
588
+ case "init": {
589
+ ensureProjectDefaults();
590
+ console.log(`✓ Initialized .min-agent/ in ${process.cwd()}`);
591
+ break;
592
+ }
588
593
  case "rules": {
589
594
  const subcommand = args[1];
590
595
  if (subcommand === "edit") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "min-agent",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Minimal AI coding agent with tool use, MCP, and skills support",
6
6
  "license": "MIT",