multica/packages/core/src/hub
yushen 4dba1cfdf0 refactor: unify API URL env var to MULTICA_API_URL
Replace scattered API_URL, MAIN_VITE_API_URL, and RENDERER_VITE_API_URL
with a single MULTICA_API_URL across all apps and packages.

- Desktop: use envPrefix to expose MULTICA_* to main process, rename
  RENDERER_VITE_API_URL → RENDERER_VITE_MULTICA_API_URL, remove
  MAIN_VITE_API_URL (now read directly via MULTICA_API_URL)
- Web: add .env.development with MULTICA_API_URL, enforce required check
  in next.config.ts, update .gitignore to allow .env.development
- Core: make MULTICA_API_URL required in api-client (no silent fallback)
- Scripts: pass MULTICA_API_URL in dev-local.sh for web process
- Turbo: update globalEnv from API_URL to MULTICA_API_URL
- Docs: update references to the new env var name

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 06:31:00 +08:00
..
rpc refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
agent-store.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
api-client.ts refactor: unify API URL env var to MULTICA_API_URL 2026-02-15 06:31:00 +08:00
auth-store.ts feat(core): add auth-store module to read local auth data 2026-02-13 18:25:37 +08:00
block-chunker.test.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
block-chunker.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
device-store.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
exec-approval-manager.test.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
exec-approval-manager.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
heartbeat-filter.test.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
heartbeat-filter.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
hub-identity.ts feat(utils): unify encrypted Device ID across all platforms 2026-02-13 17:34:23 +08:00
hub-singleton.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
hub.ts fix(hub): initialize channelManager before restoreAgents 2026-02-13 01:40:16 +08:00
index.ts refactor(core): convert MULTICA_API_URL constant to getApiBaseUrl() function 2026-02-14 07:30:36 +08:00
message-aggregator.test.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
message-aggregator.ts fix(hub): skip text processing after MessageAggregator reset 2026-02-14 07:49:20 +08:00
types.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00