agentuity-cli-project-auth-init
为您的项目设置 Agentuity Auth。需要身份验证。用于管理身份验证凭据
📖 中文导读:为您的项目设置 Agentuity Auth。需要身份验证。用于管理身份验证凭据 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: agentuity-cli-project-auth-init description: Set up Agentuity Auth for your project. Requires authentication. Use for managing authentication credentials version: "0.0.110" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" metadata: command: "agentuity project auth init" tags: "mutating slow requires-auth"
Project Auth Init
Set up Agentuity Auth for your project
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity project auth init [options]
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--skipMigrations |
boolean | Yes | - | Skip running database migrations (run agentuity project auth generate later) |
Examples
Set up Agentuity Auth with database selection:
bunx @agentuity/cli project auth init
Output
Returns JSON object:
{
"success": "boolean",
"database": "string",
"authFileCreated": "boolean",
"migrationsRun": "boolean"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether setup succeeded |
database |
string | Database name used |
authFileCreated |
boolean | Whether auth.ts was created |
migrationsRun |
boolean | Whether migrations were run |