Files
popiart-server/skillhub_login.html
T
wtgoku b99c49790a Align popiart-server repo with the clean local source snapshot
The remote master branch was carrying AppleDouble metadata, local database state, and checked-in Next.js build output. This commit syncs the repository to the current local source snapshot, preserves the skillhub static pages that exist locally, and extends ignore rules so these runtime artifacts stay out of history going forward.

Constraint: The existing remote history already contained tracked macOS metadata files and web build output
Constraint: The local source tree must remain deployable after removing repository noise
Rejected: Force-push the unrelated local bootstrap commit | would discard the existing remote history
Rejected: Leave tracked runtime artifacts in place | would keep polluting future diffs and deployments
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep AppleDouble files, local SQLite state, and web build artifacts out of version control; regenerate them per-environment instead
Tested: go test ./...; go build -o /tmp/popiartserver-sync ./cmd/popiartserver
Not-tested: Remote test-server deployment
2026-04-10 16:05:33 +08:00

99 lines
4.8 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title data-i18n="login.meta.title">Popi.art Login</title>
<meta name="description" data-i18n-content="login.meta.description" content="Popi.art 登录页静态原型。" />
<link rel="stylesheet" href="./skillhub_assets/site.css" />
<script src="./skillhub_assets/site.js" defer></script>
</head>
<body data-page="login">
<div class="site-shell">
<header class="site-header">
<a class="site-brand" href="./skillhub_index.html">
<span class="site-brand-dot"></span>
<span>Popi<span class="accent">.art</span></span>
</a>
<nav class="site-nav">
<a href="./skillhub_index.html" data-i18n="common.nav.home">首页</a>
<a href="./skillhub_docs.html" data-i18n="common.nav.docs">文档</a>
<a href="./skillhub_skills.html" data-i18n="common.nav.skills">技能页</a>
<a href="./skillhub_console.html" data-i18n="common.nav.console">控制台</a>
<a href="./skillhub_pricing.html" data-i18n="common.nav.pricing">定价</a>
</nav>
<div class="site-actions">
<a class="locale-link" href="./skillhub_login.html" data-locale-toggle data-i18n="common.localeToggle">中文</a>
<a class="button button-primary button-header" href="./skillhub_login.html" data-i18n="common.login">登录</a>
</div>
</header>
<main class="site-main">
<div class="page-stack">
<section class="login-layout">
<article class="auth-card" data-i18n-html="login.form">
<div class="eyebrow">SIGN IN</div>
<h2>使用产品层 key 登录</h2>
<p>当前 `popiartcli` 的真实身份模型是:使用 PopiArt 产品层 key 登录,而不是直接粘贴 OpenAI、Gemini、Sora 或其他 provider key。</p>
<div class="auth-form">
<div class="field">
<label for="api-key">PopiArt API Key</label>
<input id="api-key" type="text" placeholder="pk-..." />
</div>
<div class="field">
<label for="endpoint">Endpoint</label>
<input id="endpoint" type="text" value="https://api.creatoragentos.io/v1" />
</div>
<div class="helper-text">CLI 中的真实命令是 `popiart auth login --key pk-...`。</div>
<div class="hero-actions">
<button class="button button-primary" type="button">验证并登录</button>
<a class="button button-secondary" href="./skillhub_docs.html">查看命令文档</a>
</div>
</div>
</article>
<div class="console-stack">
<article class="preview-card" data-i18n-html="login.why">
<div class="eyebrow">WHY THIS MODEL</div>
<h3>统一网关边界</h3>
<p>`popiartcli` 是本地入口,`popiartServer` 是产品后端,`PopiNewAPI` 是模型网关。真实 provider key 不进入 CLI。</p>
</article>
<article class="preview-card" data-i18n-html="login.after">
<div class="eyebrow">AFTER LOGIN</div>
<h3>登录后可以做什么</h3>
<ul class="meta-list">
<li><strong>Discover</strong>:查询远端和本地合并后的 skills</li>
<li><strong>Run</strong>:发起 skill execution 并返回 `job_id`</li>
<li><strong>Artifacts</strong>:拉取 job 工件</li>
<li><strong>MCP</strong>:生成 discoverability 配置与运行 doctor</li>
</ul>
</article>
<article class="preview-card" data-i18n-html="login.store">
<div class="eyebrow">STORE</div>
<h3>本地凭证保存方式</h3>
<p>已保存的 key 会进入 `~/.popiart/config.json`,并允许 `POPIART_KEY` / `POPIART_TOKEN` 覆盖。</p>
</article>
</div>
</section>
</div>
</main>
<footer class="site-footer">
<div class="footer-grid">
<div>
<strong data-i18n="login.footer.title">Popi.art Login Prototype</strong>
<div class="footer-subtitle" data-i18n-html="login.footer.subtitle">登录模型以 `popiart auth login --key` 为准,不虚构账号体系。</div>
</div>
<div class="footer-links">
<a href="./skillhub_docs.html" data-i18n="common.nav.docs">文档</a>
<a href="./skillhub_console.html" data-i18n="common.nav.console">控制台</a>
</div>
</div>
</footer>
</div>
</body>
</html>