Commit Graph

143 Commits

Author SHA1 Message Date
kdletters
356d54a034 Merge remote-tracking branch 'origin/master' 2026-05-19 10:09:30 +08:00
kdletters
c9b3468b29 Merge branch 'codex/container-simulate'
# Conflicts:
#	.hermes/shared-memory/decision-log.md
#	server-rs/crates/api-server/src/puzzle.rs
#	server-rs/crates/spacetime-client/src/mapper.rs
2026-05-19 10:07:45 +08:00
013496e341 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-19 10:02:21 +08:00
7b37271f17 Puzzle: support history images & partial generation
Allow history-generated image paths to be submitted where Data URLs were previously required and avoid treating partial/result-page generations as blocking the whole draft. Backend: resolve history /generated-* references via resolve_puzzle_reference_image_as_data_url and convert to PuzzleDownloadedImage; add PuzzleDownloadedImage::from_resolved_reference_image; extend draft handling to apply generated level metadata (auto-naming) and normalize generation_status to treat levels with images as ready. API: add shouldAutoNameLevel to action contracts and use it to request/refine generated level names. Spacetime/module and mappers: normalize completed level statuses when saving/reading so result-page background or per-level generation doesn't mask completed drafts. Frontend: expose resolver helpers, only mark a work as generating when no usable cover or ready level exists, keep level controls enabled during UI-background regeneration, and add tests covering history-image submission, auto-naming, and UI-background/partial-generation behaviors.
2026-05-19 10:02:13 +08:00
kdletters
f557bc3f06 feat: add grafana cloud collector switch for container loadtest 2026-05-19 08:45:59 +08:00
kdletters
f6292c3ad5 feat(api-server): default otlp and async tracking outbox 2026-05-19 07:33:44 +08:00
kdletters
a0979138b1 feat: install brotli modules in server provision 2026-05-19 07:05:58 +08:00
kdletters
fa43410c8c perf(deploy): tune gallery load shedding for release 2026-05-19 05:03:23 +08:00
kdletters
05a0f34722 perf(api-server): batch route tracking through local outbox 2026-05-19 01:47:13 +08:00
kdletters
8038b6a6ee perf(api-server): tune gallery load shedding 2026-05-19 01:00:33 +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
4c10c181e3 fix(jenkins): escape powershell variables in bat wrapper 2026-05-18 20:14:52 +08:00
774b46b868 fix(jenkins): preserve powershell script encoding 2026-05-18 20:06:58 +08:00
kdletters
269f35cecf refactor: split large modules and normalize rust layout 2026-05-18 19:40:14 +08:00
kdletters
472a47eae7 refactor(api-server): split puzzle module 2026-05-18 17:50:16 +08:00
kdletters
3eb292b403 feat(deploy): prepare offline provision tools and container loadtest 2026-05-18 16:58:48 +08:00
ddc061bb6f fix(jenkins): reuse stdb scm checkout 2026-05-18 15:30:01 +08:00
9cd685c3eb fix(jenkins): invoke windows powershell explicitly 2026-05-18 13:06:21 +08:00
kdletters
4f6c97ae92 Merge branch 'codex/cache-view-procedure-hotpaths' 2026-05-17 21:18:07 +08:00
kdletters
5a4a8a4892 feat(api-server): add container loadtest observability 2026-05-17 20:52:15 +08:00
kdletters
73f937d78a feat(api-server): cache puzzle gallery card view 2026-05-17 05:50:33 +08:00
kdletters
7b74d129a5 Merge remote-tracking branch 'origin/codex/send-sms' 2026-05-17 05:04:59 +08:00
kdletters
02271e6c73 feat(api-server): add request backpressure controls 2026-05-17 04:56:45 +08:00
kdletters
81fe3dcf28 perf: cache public gallery views 2026-05-17 01:19:12 +08:00
kdletters
d9c8473504 perf: read gallery hot paths from spacetime cache 2026-05-17 00:03:07 +08:00
kdletters
05f2661056 Merge remote-tracking branch 'origin/master' into codex/yace
# Conflicts:
#	.hermes/shared-memory/pitfalls.md
2026-05-16 23:05:38 +08:00
kdletters
0305b79440 chore: add loadtest observability setup 2026-05-16 22:44:30 +08:00
c3ad28577c fix(auth): send sms verify codes via aliyun 2026-05-16 22:33:29 +08:00
kdletters
7f16e88e57 optimize puzzle gallery access 2026-05-16 18:14:00 +08:00
45daca3647 feat(edutainment): refresh baby object match flow 2026-05-16 11:29:28 +08:00
49ffa6b901 fix(jenkins): preflight node toolchain for database import/export 2026-05-15 17:10:07 +08:00
kdletters
7a3b137565 Refactor local dev stack scheduler 2026-05-15 11:52:51 +08:00
0152f9bd67 Merge branch 'hermes/wechat'
# Conflicts:
#	.hermes/shared-memory/decision-log.md
#	docs/technical/MY_TAB_ACCOUNT_RECHARGE_IMPLEMENTATION_2026-04-25.md
#	docs/technical/OIDC_JWT_CLAIMS_DESIGN_2026-04-21.md
#	server-rs/crates/module-runtime/src/errors.rs
#	src/components/rpg-entry/RpgEntryHomeView.recharge.test.tsx
#	src/components/rpg-entry/RpgEntryHomeView.tsx
2026-05-15 11:32:51 +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
c94f22e26c feat: gate recharge payment by login device 2026-05-15 08:43:21 +08:00
5b70ec6af7 feat: 接入微信H5与Native充值支付 2026-05-15 06:40:40 +08:00
0f36beee91 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-15 06:36:48 +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
c7fe793a9e feat: 支持充值商品配置和档位首充 2026-05-15 06:20:52 +08:00
2eded08bc7 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-15 02:41:52 +08:00
3288b6aafb Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-15 02:41:43 +08:00
c9a4176a41 fix(jenkins): bound production git fetch refspec 2026-05-15 02:41:09 +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
a30f296cdc Merge remote-tracking branch 'origin/hermes/wechat' 2026-05-15 01:36:24 +08:00
73424f958a Merge remote-tracking branch 'origin/master' into hermes/wechat
# Conflicts:
#	.hermes/shared-memory/pitfalls.md
#	.hermes/todos/【后端架构】api-server能力模块化与图片资产Adapter收口计划-2026-05-14.md
2026-05-15 01:28:04 +08:00
f31bb7e7e5 Add SpacetimeDB schema guard 2026-05-15 01:25:56 +08:00
8ade75390c Persist api-server logs and refresh recharge balance 2026-05-15 01:07:39 +08:00
4642855fd0 Merge branch 'master' of https://git.genarrative.world/GenarrativeAI/Genarrative 2026-05-14 21:33:34 +08:00
bca439726d fix wechat pay request headers 2026-05-14 20:51:32 +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