multi-agents-cli 1.0.72 → 1.0.74

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.
@@ -0,0 +1,79 @@
1
+ # Laravel — Scaffold Instructions
2
+
3
+ ## Scaffold Location
4
+
5
+ Use the Laravel installer inside the project root:
6
+
7
+ ```bash
8
+ composer create-project laravel/laravel backend
9
+ ```
10
+
11
+ ## Key Directory Structure
12
+
13
+ ```
14
+ backend/
15
+ app/
16
+ Http/
17
+ Controllers/
18
+ Middleware/
19
+ Models/
20
+ Services/
21
+ routes/
22
+ api.php
23
+ web.php
24
+ database/
25
+ migrations/
26
+ seeders/
27
+ config/
28
+ tests/
29
+ ```
30
+
31
+ ## composer.json (key dependencies)
32
+
33
+ ```json
34
+ {
35
+ "require": {
36
+ "php": "^8.2",
37
+ "laravel/framework": "^11.0",
38
+ "laravel/sanctum": "^4.0"
39
+ },
40
+ "require-dev": {
41
+ "phpunit/phpunit": "^11.0"
42
+ }
43
+ }
44
+ ```
45
+
46
+ ## routes/api.php Template
47
+
48
+ ```php
49
+ <?php
50
+ use Illuminate\Http\Request;
51
+ use Illuminate\Support\Facades\Route;
52
+
53
+ Route::get('/health', fn() => response()->json(['status' => 'ok']));
54
+
55
+ Route::middleware('auth:sanctum')->group(function () {
56
+ Route::get('/user', fn(Request $request) => $request->user());
57
+ });
58
+ ```
59
+
60
+ ## Post-Scaffold
61
+
62
+ ```bash
63
+ cd backend
64
+ composer install
65
+ cp .env.example .env
66
+ php artisan key:generate
67
+ php artisan migrate
68
+ ```
69
+
70
+ ## Update .scaffold/.paths.json
71
+
72
+ ```json
73
+ {
74
+ "backend": {
75
+ "routesDir": { "expected": "backend/routes", "current": "backend/routes", "status": "verified" },
76
+ "modelsDir": { "expected": "backend/app/Models", "current": "backend/app/Models", "status": "verified" }
77
+ }
78
+ }
79
+ ```
@@ -0,0 +1,84 @@
1
+ # Ruby on Rails — Scaffold Instructions
2
+
3
+ ## Scaffold Location
4
+
5
+ Use the Rails CLI from the project root:
6
+
7
+ ```bash
8
+ rails new backend --api --database=postgresql
9
+ ```
10
+
11
+ Flags:
12
+ - `--api` strips views, uses API-only middleware stack
13
+ - `--database` set to your chosen DB: postgresql, mysql, sqlite3
14
+
15
+ ## Key Directory Structure
16
+
17
+ ```
18
+ backend/
19
+ app/
20
+ controllers/
21
+ api/
22
+ v1/
23
+ models/
24
+ serializers/
25
+ services/
26
+ config/
27
+ routes.rb
28
+ db/
29
+ migrate/
30
+ schema.rb
31
+ spec/
32
+ requests/
33
+ models/
34
+ ```
35
+
36
+ ## Gemfile (key dependencies)
37
+
38
+ ```ruby
39
+ gem 'rails', '~> 7.2'
40
+ gem 'pg', '~> 1.5'
41
+ gem 'puma', '>= 5.0'
42
+ gem 'rack-cors'
43
+ gem 'devise'
44
+ gem 'jwt'
45
+
46
+ group :development, :test do
47
+ gem 'rspec-rails'
48
+ gem 'factory_bot_rails'
49
+ end
50
+ ```
51
+
52
+ ## config/routes.rb Template
53
+
54
+ ```ruby
55
+ Rails.application.routes.draw do
56
+ get '/health', to: proc { [200, {}, [{ status: 'ok' }.to_json]] }
57
+
58
+ namespace :api do
59
+ namespace :v1 do
60
+ # define resources here
61
+ end
62
+ end
63
+ end
64
+ ```
65
+
66
+ ## Post-Scaffold
67
+
68
+ ```bash
69
+ cd backend
70
+ bundle install
71
+ rails db:create
72
+ rails db:migrate
73
+ ```
74
+
75
+ ## Update .scaffold/.paths.json
76
+
77
+ ```json
78
+ {
79
+ "backend": {
80
+ "modelsDir": { "expected": "backend/app/models", "current": "backend/app/models", "status": "verified" },
81
+ "schemasDir": { "expected": "backend/app/serializers", "current": "backend/app/serializers", "status": "verified" }
82
+ }
83
+ }
84
+ ```
@@ -1339,10 +1339,10 @@ ${excludedUrls}
1339
1339
  private: true,
1340
1340
  scripts: {
1341
1341
  init: 'multi-agents init',
1342
- agent: 'node .workflow/agent.js',
1343
- restart: 'node .workflow/restart.js',
1344
- reset: 'node .workflow/reset.js',
1345
- complete: 'node .workflow/complete.js',
1342
+ agent: `node ${ROOT}/.workflow/agent.js`,
1343
+ restart: `node ${ROOT}/.workflow/restart.js`,
1344
+ reset: `node ${ROOT}/.workflow/reset.js`,
1345
+ complete: `node ${ROOT}/.workflow/complete.js`,
1346
1346
  },
1347
1347
  };
1348
1348
  fs.writeFileSync(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.0.72",
3
+ "version": "1.0.74",
4
4
  "description": "Multi-agent workflow orchestration for Claude Code — isolated git worktrees, structured state tracking, autonomous task chaining",
5
5
  "keywords": [
6
6
  "claude-code",