Commit Graph

40 Commits

Author SHA1 Message Date
5a6e68b6dc 1 2026-05-25 22:57:14 +08:00
50a0d6f982 Refine creation tab UX, generation flow, and bindings
Large changes across frontend, backend and docs to align creation-tab and generation-page behavior with new product UI/UX and Spacetime bindings. Updated hermes decision-log and pitfalls with concrete rules (banner carousel, font sizing, unread-dot tokens, template-card layout, direct card->entry routing, separation of account balance vs prize pools, removal of global page card shell, generation progress milestones and unified circular progress, and background video handling). Added GenerationProgressHero component and media assets, plus generation-related UI/tests updates (CustomWorldGenerationView, BarkBattleGeneratingView, creation hub/cards, platform entry routing, index tests). Backend and contract updates include new category fields in admin API types and admin UI form/list, spacetime-client/module/migration changes and generated bindings script. Misc: many tests adjusted, new docs and plan files added, and several server-rs crate changes to support the updated creation/ generation workflows.
2026-05-25 00:41:30 +08:00
ae014ac881 Switch to VectorEngine gpt-image-2 and edits
Replace uses of the legacy `gpt-image-2-all` model with `gpt-image-2` and standardize image workflows: no-reference generation uses POST /v1/images/generations, any-reference flows use POST /v1/images/edits with multipart `image` parts. Update SKILLs, generation scripts, decision logs, and docs to reflect the contract change and edits-vs-generations guidance. Apply corresponding changes across backend (api-server match3d/puzzle modules, openai image adapter, mappers, telemetry, spacetime client/module), frontend components and services (Match3D, Puzzle, CreativeImageInputPanel, runtime shells), and add new spritesheet/parser files and tests. Also add media/logo.png. These changes align repository code and documentation with the VectorEngine image API contract and update generation/upload handling (green-screen -> alpha processing, spritesheet handling, and related tests).
2026-05-22 03:06:41 +08:00
kdletters
da3badb802 style: align UI palette with Taonier visuals 2026-05-21 13:54:35 +08:00
d1adfa3406 Improve local auth env handling and fallbacks
Allow local env files to reliably override authentication feature flags (SMS/WeChat) by whitelisting keys in scripts/dev-utils.mjs and adding a unit test. Add SMS checks to scripts/check-api-server-env.mjs. Make server config.parse_bool tolerant of shell-wrapped quoted values (e.g. '"true"') and add tests so SMS_AUTH_ENABLED is parsed correctly when shells supply quotes. Update docs to clarify SMS env behaviour, restart requirements, and add guidance + a CSS fallback for old mobile browsers (QQ/X5) so public cover images render even when aspect-ratio is unsupported. Also include related frontend test and component adjustments and add puzzle onboarding handlers/endpoints in server-rs/crates/api-server/src/puzzle.rs.
2026-05-18 23:13:49 +08:00
5789e4b547 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-16 22:59:18 +08:00
a45e358e83 Add generationStatus and match3d/runtime fixes
Introduce persistent generationStatus to work summaries (puzzle & match3d) and propagate generation recovery rules across docs and frontend/backends so "generating" is restored from server-side work summary rather than ephemeral front-end notices. Update API server image/asset handling (improve match3d material sheet green/alpha decontamination and promote generatedItemAssets background fields) and add runtime improvements: alpha-based hotspot hit-testing, tray insertion/three-match animation behavior, and session re-read on client-side VectorEngine timeouts/lock-screen interruptions. Many docs, tests and related frontend modules updated/added to reflect these contract and behavior changes.
2026-05-16 22:59:02 +08:00
45daca3647 feat(edutainment): refresh baby object match flow 2026-05-16 11:29:28 +08:00
bb60ca91ef Match3D & Puzzle: runtime UI, assets, drag fix
Backend: stop treating background music as a required draft asset and remove auto-submit/plan for background music; load persisted generated UI/assets into Match3D agent session responses (added helpers to resolve profile id and fetch existing generated assets). Frontend: make Match3D result preview reuse runtime UI styles, unify runtime settings entry, update PuzzleRuntime to apply immediate pointermove transforms (disable drag transition), use SVG clipPath for merged piece rounding, ensure PuzzleRuntimeShell supplies platform theme classes, and adjust related tests. Docs & logs: update decision log, pitfalls and product docs to reflect these changes.
2026-05-15 08:49:59 +08:00
3cb3efb4d0 Prune stale docs and update .hermes content
Delete a large set of outdated documentation (many files under docs/ and .hermes/plans/, including audits, design, prd, technical, planning, assets, and todos). Update and consolidate .hermes content: refresh shared-memory pages (decision-log, development-workflow, document-map, pitfalls, project-overview, team-conventions) and several skills/references under .hermes/skills. Also modify AGENTS.md, README.md, UI_CODING_STANDARD.md, docs/README.md and .encoding-check-ignore. Purpose: clean up stale planning/audit material and keep current hermes documentation and related top-level docs in sync.
2026-05-15 06:24:07 +08:00
74fd9a33ac Increase VectorEngine timeouts and add image UI
Add VectorEngine image generation config and raise request timeouts (env + scripts) from 180000 to 1000000ms. Introduce a reusable CreativeImageInputPanel component with tests and wire up mobile keyboard-focus helpers; update generation views and related tests (CustomWorldGenerationView, BarkBattle editor, Match3D, Puzzle flows). Improve API error handling / VectorEngine request guidance (packages/shared http.ts and docs), and apply multiple backend/frontend fixes for puzzle/match3d/prompt handling. Also include extensive docs and decision-log updates describing UI/UX decisions and verification steps.
2026-05-15 02:40:59 +08:00
4642855fd0 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-14 21:33:34 +08:00
548db78ca7 Update Match3D/image-generation docs & code
Adds/updates documentation, assets and implementation for Match3D and puzzle image generation workflows. Key changes: decision logs and pitfalls updated to prefer VectorEngine Gemini for Match3D material sheets and to require edits (multipart) for 1:1 container reference images; guidance added for when to use APIMart vs VectorEngine. .env.example clarified APIMart/Responses config. Many new public assets and PPT visuals added. Code changes across frontend and backend: updated shared contracts, server-rs match3d/puzzle/image-generation handlers, VectorEngine/OpenAI image generation clients, and multiple React components/tests to handle UI/background/container image signing, edits workflow, and puzzle UI background resolution. Added src/services/puzzle-runtime/puzzleUiBackgroundSource.ts and related test updates. Includes notes about multipart HTTP/1.1 requirement and test/verification commands in docs.
2026-05-14 20:34:45 +08:00
e444266e1e feat: add edutainment drawing and visual package flows 2026-05-14 14:56:36 +08:00
d33c937ebc 1 2026-05-14 14:21:17 +08:00
e4a8bd42bb Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative 2026-05-13 03:10:55 +08:00
01c5ab985a 1 2026-05-13 00:28:07 +08:00
d41f260a2a feat: add baby object match edutainment flow
Some checks failed
CI / verify (push) Has been cancelled
2026-05-12 16:08:59 +08:00
481a27fc53 1 2026-05-11 20:27:41 +08:00
5cc8293380 feat: add child motion picture book stage tooling
Some checks failed
CI / verify (push) Has been cancelled
2026-05-10 23:10:24 +08:00
d0a9348e72 Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative 2026-05-10 22:28:43 +08:00
192accd796 1 2026-05-10 22:20:54 +08:00
46a254f142 feat: add child motion entry and fix auth env
Some checks failed
CI / verify (push) Has been cancelled
2026-05-10 18:27:51 +08:00
1c16152708 1 2026-05-10 13:18:46 +08:00
a0ed128bde 1 2026-05-09 17:15:23 +08:00
e410f7974e 1 2026-05-08 21:46:11 +08:00
94975e4735 1 2026-05-08 20:48:29 +08:00
abf1f1ebea 1 2026-05-08 11:44:42 +08:00
kdletters
d06107f2c6 落地方洞挑战图片与运行态交互
Some checks failed
CI / verify (push) Has been cancelled
2026-05-06 12:52:47 +08:00
kdletters
995661e7cc Preserve partial creation replies on stream failure
Some checks failed
CI / verify (push) Has been cancelled
2026-05-05 11:31:50 +08:00
87fbf41fab 1 2026-05-01 20:29:09 +08:00
2e9d0f4640 1 2026-05-01 01:30:02 +08:00
fe02603ba1 1 2026-05-01 00:33:39 +08:00
61969c5116 Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative 2026-04-30 18:18:05 +08:00
9d684cb7b3 1 2026-04-30 17:49:07 +08:00
4ef1d27021 Fix reward code modal and mobile viewport dock
Some checks failed
CI / verify (push) Has been cancelled
2026-04-30 16:25:46 +08:00
730f485f48 1 2026-04-29 20:56:59 +08:00
412279ae11 1 2026-04-29 11:51:04 +08:00
b6c6640548 1 2026-04-27 22:50:18 +08:00
cbc27bad4a init with react+axum+spacetimedb
Some checks failed
CI / verify (push) Has been cancelled
2026-04-26 18:06:23 +08:00