The GitHub org Molecule-AI was suspended on 2026-05-06; canonical SCM
is now Gitea at https://git.moleculesai.app/molecule-ai/. Stale
github.com/Molecule-AI/... URLs return 404 and break tooling that
clones / pip-installs / curls them.
This bundles all non-Go-module URL fixes for this repo into a single PR.
Go module path references (in *.go, go.mod, go.sum) are out of scope
here -- tracked separately under Task #140.
Token-auth clone URLs also flip ${GITHUB_TOKEN} -> ${GITEA_TOKEN} since
the GitHub token does not auth against Gitea.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace all console.log/error with structured JSON logging via pino.
Every log entry automatically carries toolName, requestId, and workspaceId
from the current AsyncLocalStorage scope — no need to thread context.
Changes:
- package.json: add pino@^9.6.0, pino-pretty@^13.0.0
- src/utils/context.ts: new — AsyncLocalStorage context + getContext/withContext/runWithContext
- src/utils/logger.ts: new — info/warn/error/debug helpers, JSON output in prod, pretty in dev
- src/api.ts: both console.error → logError(...)
- src/index.ts: all console.error → logInfo/logWarn/logError(...)
- known-issues.md: mark KI-001 resolved
Co-authored-by: Molecule AI SDK-Dev <sdk-dev@agents.moleculesai.app>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>