Skip to content

feat(web): 增加使用与发布引导 - #7

Merged
B4yesC4t merged 1 commit into
mainfrom
agent/web-usage-guide
Jul 28, 2026
Merged

feat(web): 增加使用与发布引导#7
B4yesC4t merged 1 commit into
mainfrom
agent/web-usage-guide

Conversation

@B4yesC4t

Copy link
Copy Markdown
Contributor

变更

  • 首页新增「使用别人分享的 Agent / 发布自己的 Agent」双路径操作屏
  • 提供可直接复制给 Codex 或 Claude Code 的完整指令
  • 明确消费者不需要 Runner,发布时才检查并在安装前确认
  • 在语言切换旁增加 GitHub Star 入口
  • 补充中英文文案、移动端样式与回归断言

验证

  • npm run check
  • 本地首页 SSR 内容检查
  • git diff --check

在首页新增一屏双路径操作说明,清楚区分使用共享 Agent 与发布当前会话;加入可直接复制给 Codex 或 Claude Code 的完整指令、安装入口、Runner 确认边界及中英文文案,并在语言切换旁增加 GitHub Star 入口。同步补充响应式样式与回归断言。

任务执行摘要:Codex(GPT-5)独立完成,未使用 subagent;Token 与费用未由运行环境提供,无法可靠估算;使用 Sites Building、Sites Hosting;运行约 15 分钟;无关联 Issue。已通过 33 项根测试、10 项云端测试、文档检查、打包检查、生产构建和 ESLint。
@B4yesC4t
B4yesC4t merged commit 862503f into main Jul 28, 2026
4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 08d5c02f43

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cloud/app/ui-copy.mjs
consumerPrompt:
"Please use this Codex Sharing Agent:\n{agent}\n\nIf Codex Sharing is not installed yet, first run:\nnpx -y Equality-Machine/agent-as-a-service\n\nIf the client must restart after installation, tell me clearly. For this task, use the call instructions embedded in the share page when possible.\n\nUse this Agent to help me:\n<describe your task>",
publisherPrompt:
"Please publish the current session with Codex Sharing.\n\nIf Codex Sharing is not installed yet, first run:\nnpx -y Equality-Machine/agent-as-a-service\n\nCheck for a Runner before publishing. Install or configure one only when required, explain what will change, and ask for my approval first.\n\nPublish the current session as a locally run Agent named:\n<enter Agent name>\n\nReturn the Agent ID and share link when finished.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restart the client before continuing the publish flow

When Codex Sharing is not already installed, this copied prompt runs the default consumer installer and then immediately asks the same session to check the Runner and publish. That installer explicitly requires a client restart (scripts/install.mjs:249-255), so the current Codex or Claude Code process will not have the newly configured runner_status, install_local_runner, or publish_current_agent MCP tools and the advertised first-time publishing flow stalls. The prompt should tell the user to restart, reopen the source session, and repeat the publishing request before attempting the Runner check.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant