Skip to content

🤖 Open-source, local-first alternative to Grok Bot, OpenAI dots and Claude Duet. Your own AI bots on any model: GPT, Claude, Gemini, Grok, DeepSeek, Kimi, GLM and 70+ more through one Modelflare key. Reach them in the app, WeChat or Feishu; they remember you, work in the background, run commands and use your computer. Pay per use.

15.0 KB
Raw Blame
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>第 4 步 · 让它动手做件事 · 新手引导预览</title>
<style>
body{margin:0;background:#060706}
*,*::before,*::after{box-sizing:border-box}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}
input,textarea{font:inherit}
a{color:#d7ff00}a:hover{color:#e9ff66}
</style>
<link rel="stylesheet" href="css/bots.css">
<link rel="stylesheet" href="css/proto.css">
</head>
<body data-page="hands">
<div style="min-height: 100vh; display: flex; flex-wrap: wrap; background: #060706; color: #fafaf7; font-family: Geist, 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif; font-size: 14px; line-height: 1.5">

  <aside aria-label="机器人" style="flex: 1 1 248px; max-width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 12px; background: #0a0b0a; border-right: 1px solid rgba(255,255,255,.10)">
    <div aria-hidden="true" style="display: flex; gap: 8px; padding: 4px 6px 14px">
      <span style="width: 11px; height: 11px; border-radius: 50%; background: rgba(127,127,127,.45)"></span>
      <span style="width: 11px; height: 11px; border-radius: 50%; background: rgba(127,127,127,.45)"></span>
      <span style="width: 11px; height: 11px; border-radius: 50%; background: rgba(127,127,127,.45)"></span>
    </div>
    <button type="button" style="display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border-radius: 10px; color: #a1a1aa; font-size: 13.5px">
      <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>
      新建机器人
    </button>
    <div style="font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; color: #a1a1aa; padding: 10px 10px 4px">机器人</div>
    <a href="Main.html" style="display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,.06); color: #fafaf7; text-decoration: none">
      <span class="face" data-char="blue" style="width: 34px; height: 34px; flex: none"></span>
      <span style="display: flex; flex-direction: column; min-width: 0">
        <span style="font-weight: 600; font-size: 14px">天天</span>
        <span style="color: #a1a1aa; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis">建好了,列了三件事…</span>
      </span>
    </a>
    <div style="flex: 1"></div>
    <a href="Main.html" style="display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: rgba(215,255,0,.10); box-shadow: inset 0 0 0 1px rgba(215,255,0,.30); color: #fafaf7; font-size: 13.5px; text-decoration: none">
      <span style="display: flex; gap: 3px" aria-hidden="true">
        <span style="width: 5px; height: 14px; border-radius: 2px; background: #d7ff00"></span>
        <span style="width: 5px; height: 14px; border-radius: 2px; background: #d7ff00"></span>
        <span style="width: 5px; height: 14px; border-radius: 2px; background: #d7ff00"></span>
        <span style="width: 5px; height: 14px; border-radius: 2px; background: #d7ff00"></span>
        <span style="width: 5px; height: 14px; border-radius: 2px; background: rgba(255,255,255,.16)"></span>
        <span style="width: 5px; height: 14px; border-radius: 2px; background: rgba(255,255,255,.16)"></span>
      </span>
      <span style="flex: 1; font-weight: 500">上手清单</span>
      <span style="font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; color: #d7ff00">4 / 6</span>
    </a>
    <button type="button" style="display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 10px; border-radius: 12px; text-align: left">
      <span aria-hidden="true" style="display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #d7ff00; color: #161a00; font-weight: 700; font-size: 13px">Z</span>
      <span style="flex: 1; font-size: 13.5px">我的账户</span>
      <span style="font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; color: #a1a1aa">$12.37</span>
    </button>
  </aside>

  <main style="flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; min-height: 100vh">
    <header style="display: flex; align-items: center; gap: 8px; height: 54px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.10)">
      <button type="button" style="display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); font-weight: 600; font-size: 14px">
        <span class="face" data-char="blue" style="width: 24px; height: 24px"></span>
        天天
      </button>
      <span style="flex: 1"></span>
      <button type="button" aria-label="开始新的一段对话" style="display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #a1a1aa">
        <svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 20h9"/><path d="M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"/></svg>
      </button>
      <button type="button" aria-label="信息面板" style="display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #a1a1aa">
        <svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="3" y="4" width="18" height="16" rx="3"/><path d="M15 4v16"/></svg>
      </button>
    </header>

    <div style="position: relative; flex: 1; overflow: auto">
      <div style="max-width: 980px; margin: 0 auto; padding: 32px 24px 24px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start">

        <!-- 对话列 -->
        <div id="log" style="flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px">
          <div id="r1" hidden style="display: flex; flex-direction: column; gap: 8px">
            <span id="r1-wl" style="font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11.5px; color: #a1a1aa">思考中</span>
            <p id="r1-a" style="margin: 0; line-height: 1.75"></p>
            <ol id="r1-list" style="margin: 0; padding-left: 1.4em; line-height: 1.75">
              <li>回复昨天的客户邮件</li>
              <li>整理本周的会议纪要</li>
              <li>下午 5 点前提交周报</li>
            </ol>
            <p id="r1-b" style="margin: 0; line-height: 1.75"></p>
          </div>

          <!-- 文件卡:能预览、能打开 -->
          <div id="file" hidden style="max-width: 440px; border-radius: 20px; background: #0b0b10; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); overflow: hidden">
            <div style="display: flex; align-items: center; gap: 12px; padding: 14px 16px">
              <span aria-hidden="true" style="display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(215,255,0,.14); color: #d7ff00">
                <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"/><path d="M14 3v5h5"/></svg>
              </span>
              <span style="flex: 1; min-width: 0">
                <span style="display: block; font-weight: 600">今日待办.md</span>
                <span style="display: block; color: #a1a1aa; font-size: 12.5px; font-family: 'Geist Mono', ui-monospace, monospace">1 KB · 工作区</span>
              </span>
            </div>
            <pre id="file-pre" style="min-height: 104px; margin: 0 16px; padding: 12px 14px; border-radius: 12px; background: #101110; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px; line-height: 1.7; color: #a1a1aa; white-space: pre-wrap"># 今日待办
- [ ] 回复昨天的客户邮件
- [ ] 整理本周的会议纪要
- [ ] 下午 5 点前提交周报</pre>
            <div style="display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 14px">
              <button type="button" style="min-height: 34px; padding: 0 14px; border-radius: 999px; background: #101110; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10); font-size: 13px">打开</button>
              <button type="button" style="min-height: 34px; padding: 0 12px; border-radius: 999px; color: #a1a1aa; font-size: 13px">在文件夹中显示</button>
            </div>
          </div>
        </div>

        <!-- 引导卡片:完成态,指向左边的文件卡 -->
        <section id="coach" hidden aria-label="上手引导" style="position: relative; flex: 1 1 300px; max-width: 340px; margin-top: 180px; padding: 20px 20px 16px; border-radius: 20px; background: #0b0b10; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 30px 80px -20px rgba(0,0,0,.75)">
          <span class="face" data-char="blue" style="position: absolute; right: 18px; top: -40px; width: 52px; height: 52px"></span>
          <span id="arrow" aria-hidden="true" style="position: absolute; left: -7px; top: 44px; width: 14px; height: 14px; transform: rotate(45deg); background: #0b0b10; box-shadow: -1px 1px 0 rgba(255,255,255,.18)"></span>
          <p id="c-kick" style="display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12.5px; letter-spacing: .06em; color: #a1a1aa">
            <span style="font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; color: #d7ff00">04 / 06</span>上手清单
            <span id="c-badge" style="display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: #d7ff00; color: #161a00; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0">
              <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m5 12 5 5 9-10"/></svg>完成
            </span>
          </p>
          <h2 id="c-title" style="margin: 0 0 6px; font-size: 19px; font-weight: 600; letter-spacing: -.01em">做好的文件,就在这里</h2>
          <p id="c-body" style="margin: 0 0 12px; color: #a1a1aa; line-height: 1.7">天天能在自己的工作区里写文件、跑命令。做好的文件会出现在对话里;在微信、飞书里会直接发给你。</p>
          <ul id="c-list" style="list-style: none; margin: 0 0 16px; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.10); display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: #a1a1aa">
            <li style="display: flex; gap: 10px"><span aria-hidden="true" style="flex: none; width: 10px; height: 6px; margin-top: 6px; border-left: 2px solid #d7ff00; border-bottom: 2px solid #d7ff00; transform: rotate(-45deg)"></span>它只改自己工作区里的东西</li>
            <li style="display: flex; gap: 10px"><span aria-hidden="true" style="flex: none; width: 10px; height: 6px; margin-top: 6px; border-left: 2px solid #d7ff00; border-bottom: 2px solid #d7ff00; transform: rotate(-45deg)"></span>要动工作区以外的文件,会先弹卡片问你,你点「允许」才做</li>
            <li style="display: flex; gap: 10px"><span aria-hidden="true" style="flex: none; width: 10px; height: 6px; margin-top: 6px; border-left: 2px solid #d7ff00; border-bottom: 2px solid #d7ff00; transform: rotate(-45deg)"></span><span>不放心?把输入框左下角的 <span style="display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #fafaf7; font-size: 12px; white-space: nowrap">工作区可写</span> 切成「只读」,它就不能改任何文件</span></li>
          </ul>
          <div style="display: flex; align-items: center; justify-content: space-between; gap: 8px">
            <button type="button" id="c-later" style="min-height: 36px; padding: 0 4px; color: #a1a1aa; font-size: 13.5px">稍后再说</button>
            <a id="c-next" href="Step5-Memory.html" style="display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: 999px; background: #d7ff00; color: #161a00; font-weight: 600; font-size: 14px; text-decoration: none">下一步</a>
          </div>
        </section>
      </div>
    </div>

    <div style="padding: 0 24px 24px">
      <div style="max-width: 760px; margin: 0 auto; border-radius: 18px; background: #101110; box-shadow: inset 0 0 0 1px rgba(255,255,255,.10)">
        <textarea id="input" class="input" rows="1" aria-label="消息" placeholder="给「天天」发消息,/ 查看命令"></textarea>
        <div style="display: flex; align-items: center; gap: 6px; padding: 6px 8px 8px">
          <button type="button" aria-label="更多操作" style="display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #a1a1aa">
            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 5v14M5 12h14"/></svg>
          </button>
          <button type="button" style="display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; color: #fafaf7; font-size: 12.5px; box-shadow: inset 0 0 0 1px rgba(215,255,0,.45)">
            <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z"/></svg>
            工作区可写
            <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
          </button>
          <span style="flex: 1"></span>
          <button type="button" style="display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; color: #a1a1aa; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12.5px">gpt-6.1-terra</button>
          <button type="button" id="send" aria-label="发送" style="display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #161a00; color: #d7ff00; opacity: .5">
            <svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 19V5M5 12l7-7 7 7"/></svg>
          </button>
        </div>
      </div>
    </div>
  </main>
</div>

<script type="module" src="js/page-hands.js"></script>
</body>
</html>