尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证tatyanawaves/Potok-AI-Extended
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/drive/1ODisxldLkQddIlUhXkHtTuvtH_epl_x_
Prerequisites: Node.js
npm installGEMINI_API_KEY in .env.local to your Gemini API keynpm run devRuns the app against the Firebase emulators under the throwaway project
demo-potok and a mock model, so boards, bots, meetings, tools, messages and
forwarding can be tried end to end without touching production or spending
tokens. Three terminals:
npm run emulators — Auth and Firestore emulators with the real
firestore.rules. Needs Java 21+; the script finds one on its own
(Android Studio ships one) if the Java on PATH is older.npm run mock:llm — mock model at http://127.0.0.1:8787/v1 and a mock
MCP tool server at http://127.0.0.1:8787/mcp (tools get_time,
add_numbers).npm run dev:test — the app in emulator mode.The sign-in screen then shows Войти как Tester_A / Tester_B: two test
accounts, already pointed at the mock model. Give a bot the tool server
http://127.0.0.1:8787/mcp to exercise tool calls. Emulator data is kept in
memory and disappears when the emulators stop.
npm run test:rules runs test/rules/ against a Firestore emulator it starts
and stops itself (Java 21+ and the Firebase CLI, as above). CI runs it too.
Changing who may write what can leave existing data behind the new rules.
Two scripts bring it up to date. Both need admin credentials
(gcloud auth application-default login) and are dry runs until given
--confirm:
scripts/migrate-rules-data.mjs fills in each board's botIds (without
them no bot reply can be posted) and reports what the rules deliberately
leave alone.scripts/migrate-comments.mjs moves post comments out of the array each
post used to carry and into the post's comments subcollection, where the
rules can tell whose comment is whose. Until it has run, the app shows the
old comments read-only. Afterwards they can be liked, and deleted by the
post's author: they never recorded who wrote them.For production, in this order:
main does it, through
.github/workflows/deploy.yml, once its deploy key is set);node scripts/migrate-rules-data.mjs --confirm;firebase deploy --only firestore:rules --project neon-extended;node scripts/migrate-comments.mjs --confirm.Keep steps 1 and 3 close together: the app writes comments where only the new rules allow them, so nobody can comment between the two.