@ripla/godd-mcp 1.0.1 → 1.0.2-canary.10
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 +12 -7
- package/dist/godd.cjs +164 -159
- package/dist/godd.js +173 -41
- package/dist/index.js +66 -66
- package/notes-api/README.md +6 -3
- package/notes-api/app/__init__.py +1 -1
- package/notes-api/app/config.py +26 -5
- package/notes-api/app/database.py +10 -4
- package/notes-api/app/main.py +3 -3
- package/notes-api/app/models/user.py +1 -1
- package/notes-api/app/routers/comments.py +1 -0
- package/notes-api/app/routers/files.py +0 -1
- package/notes-api/app/routers/settings.py +4 -2
- package/notes-api/app/routers/tree.py +10 -2
- package/notes-api/app/security.py +3 -3
- package/notes-api/app/services/github_app_token.py +2 -1
- package/notes-api/app/services/github_issues.py +1 -1
- package/notes-api/app/services/github_pr.py +1 -1
- package/notes-api/app/services/pr_chain.py +32 -2
- package/notes-api/pyproject.toml +1 -1
- package/notes-api/tests/test_config_ssl.py +28 -0
- package/notes-api/tests/test_github_app_token.py +12 -0
- package/notes-api/tests/test_issues.py +15 -4
- package/notes-api/tests/test_pr.py +0 -1
- package/notes-api/tests/test_pr_chain.py +90 -2
- package/notes-api/tests/test_tree.py +15 -3
- package/notes-app/README.md +1 -1
- package/notes-app/index.html +1 -1
- package/notes-app/src/components/IssueList.tsx +36 -16
- package/notes-app/src/lib/api.test.ts +46 -0
- package/notes-app/src/lib/api.ts +16 -4
- package/notes-app/src/lib/created-file.test.ts +30 -0
- package/notes-app/src/lib/created-file.ts +22 -0
- package/notes-app/src/lib/tree-utils.ts +51 -0
- package/notes-app/src/pages/LoginPage.test.tsx +1 -1
- package/notes-app/src/pages/LoginPage.tsx +1 -1
- package/notes-app/src/pages/MainPage.insertChildEntry.test.ts +54 -1
- package/notes-app/src/pages/MainPage.tsx +29 -7
- package/notes-app/vitest.config.ts +1 -0
- package/package.json +1 -1
- package/templates/agents/architect.hbs +4 -4
- package/templates/agents/auto-documenter.hbs +4 -4
- package/templates/agents/backend-developer.hbs +3 -3
- package/templates/agents/code-reviewer.hbs +2 -2
- package/templates/agents/database-developer.hbs +4 -4
- package/templates/agents/debug-specialist.hbs +2 -2
- package/templates/agents/environment-setup.hbs +1 -1
- package/templates/agents/frontend-developer.hbs +5 -5
- package/templates/agents/integration-qa.hbs +1 -1
- package/templates/agents/pr-writer.hbs +1 -1
- package/templates/agents/quality-lead.hbs +3 -3
- package/templates/agents/requirements-analyst.hbs +2 -2
- package/templates/agents/security-analyst.hbs +1 -1
- package/templates/agents/ssot-updater.hbs +3 -3
- package/templates/agents/technical-writer.hbs +3 -3
- package/templates/agents/unit-test-engineer.hbs +1 -1
- package/templates/github-actions/aws/deploy-notes.yml.hbs +3 -3
- package/templates/github-actions/azure/deploy-notes.yml.hbs +5 -5
- package/templates/github-actions/gcp/deploy-notes.yml.hbs +3 -3
- package/templates/github-actions/vercel-railway/deploy-notes.yml.hbs +1 -1
- package/templates/notes-compose.yml +7 -4
- package/templates/prompts/agent-dev-workflow.hbs +1 -1
- package/templates/prompts/docs-init.hbs +42 -60
- package/templates/prompts/docs-update.hbs +10 -10
- package/templates/prompts/notes-deploy.hbs +4 -3
- package/templates/prompts/pr-create.hbs +2 -2
- package/templates/prompts/push-execute.hbs +2 -2
- package/templates/prompts/push.hbs +1 -1
- package/templates/prompts/requirements-to-business-flow.hbs +1 -1
- package/templates/prompts/specification-to-tickets.hbs +1 -1
- package/templates/prompts/submit.hbs +2 -2
- package/templates/prompts/sync.hbs +1 -1
- package/templates/scripts/aws/terraform-backend-setup.sh.hbs +4 -4
- package/templates/terraform/aws/backend.tf.hbs +2 -2
- package/templates/terraform/aws/ecs.tf.hbs +3 -0
- package/templates/terraform/aws/local.tf.hbs +1 -1
- package/templates/terraform/aws/provider.tf.hbs +1 -1
- package/templates/terraform/aws/secrets.tf.hbs +15 -0
- package/templates/terraform/azure/main.tf.hbs +1 -1
- package/templates/terraform/gcp/backend.tf.hbs +1 -1
- package/templates/terraform/gcp/main.tf.hbs +1 -1
- package/templates/terraform/vercel-railway/main.tf.hbs +1 -1
package/README.md
CHANGED
|
@@ -140,8 +140,8 @@ chmod +x godd
|
|
|
140
140
|
| `godd install` | `godd i` | GoDD をシステムにインストール |
|
|
141
141
|
| `godd init` | — | プロジェクトのセットアップ(config.godd + .cursor/mcp.json 生成) |
|
|
142
142
|
| `godd server` | `godd s` | MCP サーバーを起動(Cursor が自動実行) |
|
|
143
|
-
| `godd notes deploy` | `godd n deploy` |
|
|
144
|
-
| `godd notes infra` | `godd n infra` |
|
|
143
|
+
| `godd notes deploy` | `godd n deploy` | GoDD Notes をデプロイ(ローカル or AWS、`--target`/`-y` 対応) |
|
|
144
|
+
| `godd notes infra` | `godd n infra` | `notes-api/` / `notes-app/` とクラウドインフラを対話形式で構築(AWS/GCP/Azure/Vercel×Railway) |
|
|
145
145
|
| `godd version` | `godd v` | バージョン表示 |
|
|
146
146
|
| `godd help` | `godd h` | ヘルプ表示 |
|
|
147
147
|
|
|
@@ -166,7 +166,7 @@ Cursor のチャットで以下のツールが使えます。ツール名を指
|
|
|
166
166
|
| `godd_check` | 品質チェック。Spec 整合・影響範囲・テスト計画・互換性・セキュリティの観点で提出前チェック | 「品質チェックして」 |
|
|
167
167
|
| `godd_commit` | 責務単位コミット。1 コミット = 1 責務で分割し、Conventional Commits 準拠のメッセージで実行 | 「コミットして」 |
|
|
168
168
|
| `godd_submit` | 提出一括実行。品質チェック → push → PR 作成を一括実行 | 「PR 出して」 |
|
|
169
|
-
| `godd_notes_deploy` |
|
|
169
|
+
| `godd_notes_deploy` | GoDD Notes のデプロイ案内(compose / deploy / infra) | 「Notes をデプロイして」 |
|
|
170
170
|
|
|
171
171
|
### サブコマンド — Git 系
|
|
172
172
|
|
|
@@ -384,6 +384,7 @@ GODD_CONFIG=/path/to/your-project/config.godd godd server
|
|
|
384
384
|
| エラー | 対処 |
|
|
385
385
|
|--------|------|
|
|
386
386
|
| `Invalid license key` | `config.godd` のライセンスキーが正しいか確認 |
|
|
387
|
+
| `Registry 発行のライセンスキーは Registry API で検証してください` | `components` と `registry_url` を設定し、Registry API に接続できる状態で起動 |
|
|
387
388
|
| `License has expired` | 管理者に更新を依頼 |
|
|
388
389
|
| `Seat limit reached` | 管理者にシート解放を依頼 |
|
|
389
390
|
|
|
@@ -391,6 +392,7 @@ GODD_CONFIG=/path/to/your-project/config.godd godd server
|
|
|
391
392
|
|
|
392
393
|
- `config.godd` の `registry_url` が正しいか確認
|
|
393
394
|
- ネットワーク接続を確認
|
|
395
|
+
- `godd-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx` 形式の Registry 発行キーは、旧 `stack_profile` のローカル署名検証では利用できません。`components` を設定した Registry モードで利用してください。
|
|
394
396
|
|
|
395
397
|
初回接続後は 10 時間のローカルキャッシュが有効です。キャッシュ期間中はオフラインでも動作します。
|
|
396
398
|
|
|
@@ -408,9 +410,9 @@ godd version
|
|
|
408
410
|
|
|
409
411
|
---
|
|
410
412
|
|
|
411
|
-
##
|
|
413
|
+
## GoDD Notes ライフサイクル
|
|
412
414
|
|
|
413
|
-
|
|
415
|
+
GoDD Notes は GoDD のドキュメント閲覧・編集 Web アプリです。以下のステップで構築・デプロイします。
|
|
414
416
|
|
|
415
417
|
### 1. GoDD をインストール
|
|
416
418
|
|
|
@@ -434,12 +436,15 @@ godd notes infra
|
|
|
434
436
|
```
|
|
435
437
|
|
|
436
438
|
対話形式で AWS リージョンや環境名を入力すると、以下が生成されます:
|
|
437
|
-
- `
|
|
439
|
+
- `godd-notes/` ディレクトリ内の `notes-api/`, `notes-app/`(既存ディレクトリも同梱ソースで上書き更新し、`.env` / `node_modules` / `dist` などは除外)
|
|
438
440
|
- Terraform ファイル(VPC, ECS, RDS, S3, CloudFront 等)
|
|
439
441
|
- CI/CD ワークフロー
|
|
440
442
|
|
|
441
443
|
チームで1人が実行すれば OK です。
|
|
442
444
|
|
|
445
|
+
既存環境で旧ブランド名の出力先や設定ファイルを生成済みの場合は、
|
|
446
|
+
`godd notes infra` を再実行して `godd-notes/` と `.godd-notes-*.json` を再生成してください。
|
|
447
|
+
|
|
443
448
|
### 4. デプロイ
|
|
444
449
|
|
|
445
450
|
```bash
|
|
@@ -447,7 +452,7 @@ godd notes deploy # 対話形式
|
|
|
447
452
|
godd notes deploy -y # 確認スキップ(CI 向け)
|
|
448
453
|
```
|
|
449
454
|
|
|
450
|
-
ローカルの `
|
|
455
|
+
ローカルの `godd-notes/notes-api` と `notes-app` を AWS にデプロイします。
|
|
451
456
|
`notes-api` が GitHub の `main` ブランチから `docs/` を読んで Notes に展開します。
|
|
452
457
|
|
|
453
458
|
> `godd notes deploy` 実行時に `@ripla/godd-mcp` の新しいバージョンが利用可能な場合、警告が表示されます。
|