multica/server/internal/daemon
yushen b9d2b88852 refactor(daemon): remove pairing flow, use CLI auth token instead
The daemon now reads the auth token from ~/.multica/config.json (set by
`multica auth login`) instead of requiring a browser-based pairing flow.
If not authenticated, it logs a message and exits.

Workspace ID is auto-resolved from the user's workspaces when not
explicitly set via flag/env.

Removed: daemon.json, pairing session flow, --config-path flag,
PairingSession type, PersistedConfig, LoadWorkspaceIDFromDaemonConfig.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 16:39:57 +08:00
..
execenv refactor(daemon): remove global ReposRoot, use per-task RepoPath from server 2026-03-26 16:04:33 +08:00
client.go refactor(daemon): remove pairing flow, use CLI auth token instead 2026-03-26 16:39:57 +08:00
config.go refactor(daemon): remove pairing flow, use CLI auth token instead 2026-03-26 16:39:57 +08:00
daemon.go refactor(daemon): remove pairing flow, use CLI auth token instead 2026-03-26 16:39:57 +08:00
daemon_test.go feat: structured skills system with meta skill runtime injection 2026-03-25 15:17:59 +08:00
helpers.go fix(cli): address code review findings 2026-03-24 15:49:32 +08:00
prompt.go feat: structured skills system with meta skill runtime injection 2026-03-25 15:17:59 +08:00
types.go refactor(daemon): remove pairing flow, use CLI auth token instead 2026-03-26 16:39:57 +08:00