Skip to content

feat: 本番用inputでデモoutput実装#60

Merged
thirdlf03 merged 1 commit intomainfrom
feature/reflect-personality-ai
Dec 21, 2025
Merged

feat: 本番用inputでデモoutput実装#60
thirdlf03 merged 1 commit intomainfrom
feature/reflect-personality-ai

Conversation

@KoueiAmano
Copy link
Copy Markdown
Collaborator

概要

変更内容

  • 発表用時に使うinput で outputを返す api を実装
curl -X POST http://localhost:8787/v1/resolveAction \
  -H "Content-Type: application/json" \
  -d '{
    "piece_id": 12,
    "pieces": [
      {
        "id": 12,
        "exist": true,
        "type": "knight",
        "color": "white",
        "position": {"x": 6, "y": 0}
      },
      {
        "id": 20,
        "exist": true,
        "type": "pawn",
        "color": "black",
        "position": {"x": 5, "y": 5}
      }
    ],
    "from": "g1",
    "to": "f3",
    "order": "ナイトを前に出せ"
  }'

チェックリスト

  • コードが lint を通過する (pnpm lint)
  • コードが format を通過する (pnpm format:check)
  • 型チェックを通過する (pnpm check-types)
  • ビルドが成功する (pnpm build)
  • 変更に対応する型定義を更新した(該当する場合)
  • スキーマの変更が必要な場合、packages/schema を更新した
  • 破壊的変更がある場合、マイグレーション手順を記載した

テスト

  • ローカルで動作確認済み
  • フロントエンドで正常に動作する
  • APIエンドポイントが正しく機能する

スクリーンショット(該当する場合)

関連Issue

Closes #

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
api 8ad1e61 Commit Preview URL

Branch Preview URL
Dec 21 2025, 12:37 AM

Copy link
Copy Markdown
Owner

@thirdlf03 thirdlf03 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@thirdlf03 thirdlf03 merged commit e9af05f into main Dec 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants