AI Agent Hub
Back to skills
Weaver E10 Login Tool icon

Weaver E10 Login Tool

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @org-vsc9dz4y/weaver-e10-login.

About this skill

Problem

Before calling Weaver E10 backend APIs, engineers usually need a valid session, a maintained ETEAMSID, and consistent handling of agent type and multi-environment differences. The Weaver E10 Login Tool is scoped to login and auth management, separating browser-based OAuth2.0 authorization, cookie writing, status checks, and user verification from business request code.

How It Works

  • OAuth2.0 login: start a browser authorization flow with e10-login oidc --base-url ...; --agent_type can set values such as WorkBuddy, ClaudeCode, or Codex.
  • Manual session entry: if localhost callbacks are blocked, copy ETEAMSID from browser DevTools and persist it with e10-login set --eteamsid ... --base-url ....
  • Status and identity checks: e10-login status reports whether the cookie is expired; e10-login whoami calls backend teamsCheck to validate the current user, with --json for the raw payload.
  • Multi-environment profiles: manage different baseUrl, passportUrl, and tenantKey values using profile list, profile use, and profile current.

Auth files are written to ~/.e10-cli/profiles/<profile>/auth, encrypted with AES-256-GCM and shared with e10-cli. cookies.raw stores the full cookie string and is preferred when sending requests because it can include fields such as langType and LOGIN_TYPE; if absent, the tool falls back to ETEAMSID=.... agentType is added to the cookie and also affects the User-Agent and isAgent=true marker.

Boundaries

This is not a general Weaver E10 business CLI. It does not wrap approvals, workflows, or business data queries directly; it focuses on login state, session files, and auth status. If the backend enforces extra rules around agent type, tenant isolation, or cookie expiry, each environment still needs explicit verification.

Use Cases

  • Before calling E10 backend APIs, complete first-time login via OAuth2 browser authorization and save the session.
  • When localhost callbacks fail, copy ETEAMSID from DevTools and write it into the target environment.
  • Switch between multiple E10 environments and confirm the currently active profile.
  • Before business API calls, check cookie expiry and verify the logged-in user with whoami.

Best For

  • Backend engineers integrating Weaver E10 APIs who need stable login state acquisition and checks.
  • Technical owners maintaining multiple E10 environments who need managed baseUrl and tenant profiles.
  • Automation engineers debugging session issues who need manual ETEAMSID entry and identity verification.
  • Integration developers wrapping E10 CLI or scripts who need shared auth files under ~/.e10-cli.