Skip to content

Add Youmu AI-generated pet#28

Merged
legeling merged 1 commit into
legeling:mainfrom
vczy2004:agent/add-youmu-ai-generated-pet
Jul 17, 2026
Merged

Add Youmu AI-generated pet#28
legeling merged 1 commit into
legeling:mainfrom
vczy2004:agent/add-youmu-ai-generated-pet

Conversation

@vczy2004

@vczy2004 vczy2004 commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

内容

  • 新增 v2 Codex 宠物「魂魄妖梦」:8×11、1536×2288 图集,包含九组标准动作和 16 个顺时针环视方向。
  • 提供如实的 AI 生成来源、Gemini 来源链接与 CC BY 4.0 再分发许可信息。

验证

  • npm run previews
  • npm run readmes
  • npm run validate
  • 独立安装测试:youmu--ai-generated

npm run lint 已执行;仓库基线存在既有格式问题,本次新增 JSON 已单独通过格式检查。

Summary by CodeRabbit

  • 新功能
    • 新增 Youmu 宠物配置及相关元数据。
    • 添加宠物精灵资源映射,支持使用第二版精灵图。
    • 补充宠物名称、描述、分类、标签、许可信息及安装配置。

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

新增魂魄妖梦宠物条目,包含宠物定义 JSON、精灵资源配置,以及提交元数据和安装资源映射。

Changes

妖梦宠物条目

Layer / File(s) Summary
宠物元数据与资源安装映射
pets/youmu--ai-generated/pet.json, pets/youmu--ai-generated/submission.json
新增宠物身份、描述、分类、标签、来源、许可和预览图信息,并配置精灵版本 2、精灵表路径及 codex_install 资源映射。

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Poem

小兔挥挥耳朵笑,
妖梦精灵登场啦。
版本二, spritesheet 闪,
安装映射都备好。
新伙伴蹦进 Codex 家!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确概括了此次变更:新增 Youmu 的 AI 生成宠物配置。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@vczy2004
vczy2004 marked this pull request as ready for review July 17, 2026 06:14
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@pets/youmu--ai-generated/submission.json`:
- Around line 18-20: 更新 submission.json 中的 source_url,使其指向无需登录即可公开审阅、且能验证 CC BY
4.0 再分发授权的来源;若无法提供公开分享链接,则补充可审计的授权证明,并确保 description 中的授权声明与该证据一致。
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bc909c8b-1c41-4b0e-959c-dfc8d5b3ddf4

📥 Commits

Reviewing files that changed from the base of the PR and between 6d0ac67 and d769ef3.

📒 Files selected for processing (3)
  • pets/youmu--ai-generated/pet.json
  • pets/youmu--ai-generated/spritesheet.webp
  • pets/youmu--ai-generated/submission.json

Comment on lines +18 to +20
"source_url": "https://gemini.google.com/app/c70f532f3f96cf0b",
"license": "CC BY 4.0",
"description": "基于用户提供且获 CC BY 4.0 再分发授权的 Gemini AI 生成参考图制作的魂魄妖梦 Codex 宠物;保留银发、绿色制服、佩刀与半灵特征。",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

file='pets/youmu--ai-generated/submission.json'

echo '--- file excerpt ---'
cat -n "$file" | sed -n '1,80p'

echo
echo '--- source_url reachability ---'
url=$(python3 - <<'PY'
import json
from pathlib import Path
data = json.loads(Path('pets/youmu--ai-generated/submission.json').read_text())
print(data.get('source_url',''))
PY
)

python3 - <<'PY' "$url"
import sys, urllib.request, urllib.error
url = sys.argv[1]
req = urllib.request.Request(url, headers={"User-Agent":"Mozilla/5.0"})
try:
    with urllib.request.urlopen(req, timeout=20) as resp:
        print("status:", resp.status)
        print("final_url:", resp.geturl())
        print("content_type:", resp.headers.get_content_type())
        body = resp.read(5000)
        print("body_prefix:", body.decode("utf-8", "replace")[:1000])
except Exception as e:
    print(type(e).__name__ + ":", e)
PY

Repository: legeling/awesome-codex-pet

Length of output: 1285


🌐 Web query:

site:gemini.google.com/app/c70f532f3f96cf0b Gemini app session login page

💡 Result:

The URL points to the Gemini web app, and the page shows a Login / Sign in prompt for Gemini. The Gemini app homepage also lists Login in its navigation. [1][2]

If you want, I can help verify whether that exact session ID URL is still valid or what it redirects to.


🏁 Script executed:

#!/bin/bash
set -euo pipefail

url='https://gemini.google.com/app/c70f532f3f96cf0b'

echo '--- headers ---'
curl -k -L -sS -D - -o /tmp/gemini_body.txt "$url" | sed -n '1,40p'

echo
echo '--- body prefix ---'
python3 - <<'PY'
from pathlib import Path
data = Path('/tmp/gemini_body.txt').read_bytes()
text = data.decode('utf-8', 'replace')
print(text[:2000])
PY

Repository: legeling/awesome-codex-pet

Length of output: 8774


提供可公开审阅的来源与授权证明。 source_url 目前只会打开 Gemini 登录页,无法支撑第 20 行所述的 CC BY 4.0 再分发授权;请改成无需登录的公开分享链接,或补充可审计的授权证明。

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@pets/youmu--ai-generated/submission.json` around lines 18 - 20, 更新
submission.json 中的 source_url,使其指向无需登录即可公开审阅、且能验证 CC BY 4.0
再分发授权的来源;若无法提供公开分享链接,则补充可审计的授权证明,并确保 description 中的授权声明与该证据一致。

@legeling
legeling merged commit 62c69af into legeling:main Jul 17, 2026
1 check 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