Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

452 B
Raw Blame
// whoami.js — registers BOTH whoami and login via the shared helper
import { registerSiteAuthCommands } from '../_shared/site-auth.js';
import { SLOCK_SITE, SLOCK_DOMAIN, SLOCK_HOME_URL } from './shared.js';
import { verifySlockSession } from './auth-verify.js';

registerSiteAuthCommands({
  site: SLOCK_SITE,
  domain: SLOCK_DOMAIN,
  loginUrl: SLOCK_HOME_URL,
  verify: (page) => verifySlockSession(page),
  columns: ['id', 'name', 'email'],
});