{"id":113812,"date":"2026-10-07T14:25:38","date_gmt":"2026-10-07T06:25:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/113812.html"},"modified":"2026-10-07T14:25:38","modified_gmt":"2026-10-07T06:25:38","slug":"%e8%87%aa%e6%89%98%e7%ae%a1-happy-%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%94%a8-iphone-%e8%bf%9c%e7%a8%8b%e6%93%8d%e6%8e%a7-claude-code%e5%90%ab%e5%85%a8%e9%83%a8%e8%b8%a9%e5%9d%91%e7%ba%a6%e6%9d%9f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/113812.html","title":{"rendered":"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355)"},"content":{"rendered":"<h2>\u4fdd\u59c6\u7ea7\u6559\u7a0b:<\/h2>\n<\/p>\n<h4>\u76ee\u5f55<\/h4>\n<ul>\n<li>\u4fdd\u59c6\u7ea7\u6559\u7a0b:<\/li>\n<li>\n<ul>\n<li>\u524d\u8a00<\/li>\n<li>\u4e00\u3001\u5148\u641e\u61c2\u539f\u7406(\u5426\u5219\u5751\u90fd\u4e0d\u77e5\u9053\u600e\u4e48\u6765\u7684)<\/li>\n<li>\u4e8c\u3001\u26a0\ufe0f \u5f00\u59cb\u524d\u5fc5\u987b\u641e\u6e05\u695a\u7684 5 \u6761\u7ea6\u675f(\u672c\u6587\u7cbe\u534e)<\/li>\n<li>\u4e09\u3001\u670d\u52a1\u5668\u7aef\u90e8\u7f72(Docker,5 \u5206\u949f)<\/li>\n<li>\n<ul>\n<li>3.1 \u51c6\u5907\u955c\u50cf<\/li>\n<li>3.2 \u751f\u6210\u5e76\u56fa\u5b9a master secret(\u26a0\ufe0f \u5b58\u597d,\u6c38\u4e0d\u66f4\u6539)<\/li>\n<li>3.3 \u542f\u52a8\u5bb9\u5668<\/li>\n<li>3.4 \u81ea\u68c0<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001HTTPS &#043; \u57df\u540d &#043; \u53cd\u5411\u4ee3\u7406(\u7528 Nginx Proxy Manager)<\/li>\n<li>\u4e94\u3001\u624b\u673a\u7aef\u914d\u7f6e(\u5173\u952e:\u5b98\u65b9 App \u7684\u670d\u52a1\u5668\u5165\u53e3\u662f\u9690\u85cf\u7684!)<\/li>\n<li>\u516d\u3001\u7ec8\u7aef\u914d\u5bf9<\/li>\n<li>\u4e03\u3001\u65e5\u5e38\u4f7f\u7528:\u63a7\u5236\u6743 &amp; \u6743\u9650<\/li>\n<li>\n<ul>\n<li>7.1 remote mode \u4e0e\u672c\u5730\u5207\u6362<\/li>\n<li>7.2 \u5c11\u88ab\u6743\u9650\u5f39\u7a97\u6253\u65ad<\/li>\n<\/ul>\n<\/li>\n<li>\u516b\u3001&#x1f573;\ufe0f \u8e29\u5751\u5927\u5168(\u91cd\u70b9\u4e2d\u7684\u91cd\u70b9)<\/li>\n<li>\n<ul>\n<li>\u5751\u2460 http \u6b7b\u6d3b\u8fde\u4e0d\u4e0a<\/li>\n<li>\u5751\u2461 Settings \u91cc\u627e\u4e0d\u5230\u586b\u670d\u52a1\u5668\u7684\u5730\u65b9<\/li>\n<li>\u5751\u2462 \u914d\u5bf9\u5361\u4f4f\u3001\u6536\u4e0d\u5230\u6d88\u606f<\/li>\n<li>\u5751\u2463 \u4e00\u76f4 401\u300cAuth failed &#8211; invalid token\u300d,\u6e05\u4e86\u53c8\u6765<\/li>\n<li>\u5751\u2464 \u5378\u8f7d\u91cd\u88c5 App \u4e5f\u6ca1\u7528,\u4ee4\u724c\u8fd8\u662f\u540c\u4e00\u4e2a<\/li>\n<li>\u5751\u2465 \u6539\u4e86 secret \u540e\u5168\u5458\u6389\u7ebf<\/li>\n<\/ul>\n<\/li>\n<li>\u4e5d\u3001\u6545\u969c\u6392\u67e5\u901f\u67e5\u56fe<\/li>\n<li>\u5341\u3001\u9009\u578b\u5bf9\u6bd4:Happy \u4e0d\u662f\u552f\u4e00\u89e3<\/li>\n<li>\u603b\u7ed3<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&#x1f4cc; \u672c\u6587\u6240\u6709\u57df\u540d\u3001\u5bc6\u94a5\u3001IP \u5747\u4e3a\u5360\u4f4d\/\u8131\u654f\u793a\u4f8b,\u5b9e\u64cd\u65f6\u66ff\u6362\u4e3a\u4f60\u81ea\u5df1\u7684\u503c\u3002 \u7ea6\u5b9a:\u57df\u540d\u7528 happyserver.example.com;\u5bc6\u94a5\u7528 &lt;YOUR_MASTER_SECRET&gt;(64 \u4f4d\u968f\u673a\u5341\u516d\u8fdb\u5236)\u3002<\/p>\n<hr \/>\n<h3>\u524d\u8a00<\/h3>\n<p>\u628a Claude Code \u8dd1\u5728\u81ea\u5df1\u7684 Mac \/ \u670d\u52a1\u5668\u4e0a,\u7136\u540e\u7528 iPhone \u968f\u65f6\u968f\u5730\u8fdc\u7a0b\u64cd\u63a7,\u662f\u5f88\u591a\u4eba\u60f3\u8981\u7684\u5de5\u4f5c\u6d41\u3002\u5f00\u6e90\u9879\u76ee Happy(slopus\/happy) \u6b63\u597d\u5e72\u8fd9\u4ef6\u4e8b:\u5b83\u7ed9 Claude Code \u5957\u4e86\u4e00\u5c42\u7aef\u5230\u7aef\u52a0\u5bc6\u7684\u4e2d\u8f6c\u901a\u9053,\u624b\u673a\u5f53\u8fdc\u7a0b\u7ec8\u7aef\u3002<\/p>\n<p>\u5b98\u65b9\u6709\u4e91\u7aef\u4e2d\u8f6c,\u4f46 \u56fd\u5185\u7f51\u7edc &#043; \u9690\u79c1 &#043; \u7528 API Key \/ Bedrock \u7684\u540c\u5b66,\u66f4\u9002\u5408 \u81ea\u6258\u7ba1\u3002\u6211\u5728\u4e00\u53f0 AWS ARM \u670d\u52a1\u5668\u4e0a\u628a\u8fd9\u5957\u5b8c\u6574\u8dd1\u901a,\u4e2d\u95f4\u8e29\u4e86\u4e00\u5806\u5751(401\u3001\u4ee4\u724c\u5931\u6548\u3001HTTPS\u3001\u6570\u636e\u5377\u6c61\u67d3\u2026\u2026),\u8fd9\u7bc7\u628a \u90e8\u7f72\u6b65\u9aa4 &#043; \u7ea6\u675f\u6761\u4ef6 &#043; \u907f\u5751\u70b9 \u4e00\u6b21\u6027\u8bb2\u900f\u3002<\/p>\n<p>\u672c\u6587\u73af\u5883:\u670d\u52a1\u5668 &#061; AWS Graviton(ARM \/ Ubuntu)&#043; Docker;\u5ba2\u6237\u7aef &#061; iPhone \u5b98\u65b9 App Store \u7248 Happy;\u88ab\u63a7\u7aef &#061; Mac \u4e0a\u7684 Claude Code\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u5148\u641e\u61c2\u539f\u7406(\u5426\u5219\u5751\u90fd\u4e0d\u77e5\u9053\u600e\u4e48\u6765\u7684)<\/h3>\n<p>Happy \u4e0d\u662f\u8fdc\u7a0b\u684c\u9762 \/ \u4e0d\u662f\u5c4f\u5e55\u5171\u4eab,\u5b83\u662f\u4e00\u6761 \u52a0\u5bc6\u7684\u300c\u6587\u5b57\u6d88\u606f\u8f6c\u53d1\u901a\u9053\u300d:Claude Code \u59cb\u7ec8\u53ea\u8dd1\u5728\u4f60\u7684 Mac \u4e0a,\u624b\u673a\u53ea\u662f\u4e2a\u300c\u52a0\u5bc6\u8fdc\u7a0b\u952e\u76d8 &#043; \u5c4f\u5e55\u300d;\u4e2d\u8f6c\u670d\u52a1\u5668\u53ea\u642c\u8fd0\u5bc6\u6587,\u8bfb\u4e0d\u5230\u4f60\u7684\u4ee3\u7801\u548c\u5bf9\u8bdd(master secret \u53ea\u5728\u624b\u673a\u4e0a)\u3002<\/p>\n<p>  #mermaid-svg-6kcmQWxGk0MoqDmF{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-6kcmQWxGk0MoqDmF .error-icon{fill:#552222;}#mermaid-svg-6kcmQWxGk0MoqDmF .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-6kcmQWxGk0MoqDmF .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-6kcmQWxGk0MoqDmF .marker{fill:#333333;stroke:#333333;}#mermaid-svg-6kcmQWxGk0MoqDmF .marker.cross{stroke:#333333;}#mermaid-svg-6kcmQWxGk0MoqDmF svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-6kcmQWxGk0MoqDmF p{margin:0;}#mermaid-svg-6kcmQWxGk0MoqDmF .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-6kcmQWxGk0MoqDmF .cluster-label text{fill:#333;}#mermaid-svg-6kcmQWxGk0MoqDmF .cluster-label span{color:#333;}#mermaid-svg-6kcmQWxGk0MoqDmF .cluster-label span p{background-color:transparent;}#mermaid-svg-6kcmQWxGk0MoqDmF .label text,#mermaid-svg-6kcmQWxGk0MoqDmF span{fill:#333;color:#333;}#mermaid-svg-6kcmQWxGk0MoqDmF .node rect,#mermaid-svg-6kcmQWxGk0MoqDmF .node circle,#mermaid-svg-6kcmQWxGk0MoqDmF .node ellipse,#mermaid-svg-6kcmQWxGk0MoqDmF .node polygon,#mermaid-svg-6kcmQWxGk0MoqDmF .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-6kcmQWxGk0MoqDmF .rough-node .label text,#mermaid-svg-6kcmQWxGk0MoqDmF .node .label text,#mermaid-svg-6kcmQWxGk0MoqDmF .image-shape .label,#mermaid-svg-6kcmQWxGk0MoqDmF .icon-shape .label{text-anchor:middle;}#mermaid-svg-6kcmQWxGk0MoqDmF .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-6kcmQWxGk0MoqDmF .rough-node .label,#mermaid-svg-6kcmQWxGk0MoqDmF .node .label,#mermaid-svg-6kcmQWxGk0MoqDmF .image-shape .label,#mermaid-svg-6kcmQWxGk0MoqDmF .icon-shape .label{text-align:center;}#mermaid-svg-6kcmQWxGk0MoqDmF .node.clickable{cursor:pointer;}#mermaid-svg-6kcmQWxGk0MoqDmF .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-6kcmQWxGk0MoqDmF .arrowheadPath{fill:#333333;}#mermaid-svg-6kcmQWxGk0MoqDmF .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-6kcmQWxGk0MoqDmF .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-6kcmQWxGk0MoqDmF .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-6kcmQWxGk0MoqDmF .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-6kcmQWxGk0MoqDmF .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-6kcmQWxGk0MoqDmF .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-6kcmQWxGk0MoqDmF .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-6kcmQWxGk0MoqDmF .cluster text{fill:#333;}#mermaid-svg-6kcmQWxGk0MoqDmF .cluster span{color:#333;}#mermaid-svg-6kcmQWxGk0MoqDmF div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-6kcmQWxGk0MoqDmF .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-6kcmQWxGk0MoqDmF rect.text{fill:none;stroke-width:0;}#mermaid-svg-6kcmQWxGk0MoqDmF .icon-shape,#mermaid-svg-6kcmQWxGk0MoqDmF .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-6kcmQWxGk0MoqDmF .icon-shape p,#mermaid-svg-6kcmQWxGk0MoqDmF .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-6kcmQWxGk0MoqDmF .icon-shape .label rect,#mermaid-svg-6kcmQWxGk0MoqDmF .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-6kcmQWxGk0MoqDmF .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-6kcmQWxGk0MoqDmF .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-6kcmQWxGk0MoqDmF :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>&#x1f4bb; Mac (happy CLI \u5305\u7740 claude)<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u2601\ufe0f \u4f60\u7684\u4e2d\u8f6c\u670d\u52a1\u5668 happy-server<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>&#x1f4f1; iPhone (Happy App)<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>WebSocket \u7aef\u5230\u7aef\u52a0\u5bc6<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>WebSocket \u7aef\u5230\u7aef\u52a0\u5bc6<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u8f93\u51fa\u52a0\u5bc6\u56de\u4f20<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u56de\u4f20\u5bc6\u6587<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u4f60\u6253\u5b57 \/ \u770b\u8f93\u51fa<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u53ea\u8f6c\u53d1\u5bc6\u6587\u8bfb\u4e0d\u5230\u5185\u5bb9<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>claude \u8fdb\u7a0b\u771f\u6b63\u5e72\u6d3b<\/p>\n<p><\/span><\/p>\n<p>\u8bb0\u4f4f\u8fd9\u5f20\u56fe:\u540e\u9762\u6240\u6709\u300c\u8fde\u4e0d\u4e0a \/ 401\u300d\u7684\u5751,\u672c\u8d28\u90fd\u662f\u8fd9\u6761\u94fe\u8def\u4e0a\u67d0\u4e00\u73af\u6ca1\u5bf9\u9f50\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u26a0\ufe0f \u5f00\u59cb\u524d\u5fc5\u987b\u641e\u6e05\u695a\u7684 5 \u6761\u7ea6\u675f(\u672c\u6587\u7cbe\u534e)<\/h3>\n<p>\u8fd9 5 \u6761\u6ca1\u641e\u6e05\u695a,99% \u4f1a\u5361\u4f4f:<\/p>\n<table>\n<tr>#\u7ea6\u675f\u8bf4\u660e<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u5fc5\u987b HTTPS,\u4e14\u662f\u53d7\u7cfb\u7edf\u4fe1\u4efb\u7684\u8bc1\u4e66<\/td>\n<td>iOS \u7684 ATS \u673a\u5236\u7981\u6b62\u660e\u6587 http;\u81ea\u7b7e\u8bc1\u4e66\u9664\u975e\u628a CA \u88c5\u8fdb iPhone \u5e76\u4fe1\u4efb,\u5426\u5219\u4e5f\u4e0d\u884c\u3002\u6700\u7701\u4e8b:\u57df\u540d &#043; Let\u2019s Encrypt\u3002<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>HANDY_MASTER_SECRET \u4e00\u65e6\u5b9a\u4e0b,\u6c38\u8fdc\u522b\u6539<\/td>\n<td>\u5b83\u662f\u670d\u52a1\u5668\u7b7e\u53d1 \/ \u6821\u9a8c\u767b\u5f55\u4ee4\u724c(JWT)\u7684\u79cd\u5b50\u3002\u6539\u4e86 &#061; \u6240\u6709\u5df2\u914d\u5bf9\u8d26\u53f7\u7684\u4ee4\u724c\u5168\u90e8\u5931\u6548(401)\u3002<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u6570\u636e\u5377 \/data \u4e0d\u80fd\u300c\u810f\u300d<\/td>\n<td>\u5377\u91cc\u82e5\u6b8b\u7559\u300c\u7528\u65e7\u5bc6\u94a5\u5efa\u7684\u8d26\u53f7\u300d,\u65b0\u5bc6\u94a5\u6821\u9a8c\u4e0d\u8fc7 \u2192 \u4e00\u76f4 401\u3002\u6362\u5bc6\u94a5\u52a1\u5fc5\u6e05\u5377\u91cd\u6765(\u89c1\u8e29\u5751\u2463)\u3002<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>\u624b\u673a\u4e0d\u80fd\u5e26\u7740\u300c\u4e91\u7aef\u65e7\u4ee4\u724c\u300d\u8fde\u81ea\u5efa\u670d\u52a1\u5668<\/td>\n<td>App \u4e4b\u524d\u5728\u5b98\u65b9\u4e91\u5efa\u8fc7\u53f7,\u4ee4\u724c\u662f\u4e91\u7aef\u5bc6\u94a5\u7b7e\u7684,\u4f60\u7684\u670d\u52a1\u5668\u8ba4\u4e0d\u4e86 \u2192 401\u3002\u5fc5\u987b\u91cd\u65b0\u5efa\u53f7(\u89c1\u8e29\u5751\u2464)\u3002<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>\u53cd\u5411\u4ee3\u7406\u5fc5\u987b\u5f00 WebSocket<\/td>\n<td>\u4e0d\u5f00 WS,\u5b9e\u65f6\u6d88\u606f\u901a\u9053\u5efa\u4e0d\u8d77\u6765,\u8868\u73b0\u4e3a\u300c\u80fd\u767b\u5f55\u4f46\u6536\u4e0d\u5230\u6d88\u606f \/ \u914d\u5bf9\u5361\u4f4f\u300d\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u4e09\u3001\u670d\u52a1\u5668\u7aef\u90e8\u7f72(Docker,5 \u5206\u949f)<\/h3>\n<h4>3.1 \u51c6\u5907\u955c\u50cf<\/h4>\n<p><span class=\"token function\">git<\/span> clone https:\/\/github.com\/slopus\/happy.git<br \/>\n<span class=\"token builtin class-name\">cd<\/span> happy<br \/>\n<span class=\"token comment\"># \u4ed3\u5e93\u6839\u76ee\u5f55\u81ea\u5e26 standalone Dockerfile(\u5185\u7f6e PGlite &#043; \u672c\u5730\u5b58\u50a8,\u65e0\u9700\u989d\u5916\u88c5 PG\/Redis)<\/span><br \/>\n<span class=\"token function\">docker<\/span> build <span class=\"token parameter variable\">-t<\/span> happy-standalone <span class=\"token builtin class-name\">.<\/span><\/p>\n<h4>3.2 \u751f\u6210\u5e76\u56fa\u5b9a master secret(\u26a0\ufe0f \u5b58\u597d,\u6c38\u4e0d\u66f4\u6539)<\/h4>\n<p>openssl rand <span class=\"token parameter variable\">-hex<\/span> <span class=\"token number\">32<\/span><br \/>\n<span class=\"token comment\"># \u8f93\u51fa\u4e00\u4e32 64 \u4f4d\u5341\u516d\u8fdb\u5236,\u59a5\u5584\u4fdd\u5b58,\u540e\u9762\u7528 &lt;YOUR_MASTER_SECRET&gt; \u4ee3\u8868\u5b83<\/span><\/p>\n<h4>3.3 \u542f\u52a8\u5bb9\u5668<\/h4>\n<p><span class=\"token function\">docker<\/span> run <span class=\"token parameter variable\">-d<\/span> <span class=\"token parameter variable\">&#8211;name<\/span> happy-server <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-p<\/span> <span class=\"token number\">13005<\/span>:3005 <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">HANDY_MASTER_SECRET<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token operator\">&lt;<\/span>YOUR_MASTER_SECRET<span class=\"token operator\">&gt;<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-e<\/span> <span class=\"token assign-left variable\">PUBLIC_URL<\/span><span class=\"token operator\">&#061;<\/span>https:\/\/happyserver.example.com <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-v<\/span> happy-data:\/data <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">&#8211;restart<\/span> unless-stopped <span class=\"token punctuation\">\\\\<\/span><br \/>\n  happy-standalone<\/p>\n<p>\u5173\u952e\u70b9:-p 13005:3005(\u5bb9\u5668\u5185\u76d1\u542c 3005)\u3001PUBLIC_URL \u586b\u4f60\u7684 HTTPS \u57df\u540d\u3001&#8211;restart unless-stopped \u4fdd\u8bc1\u91cd\u542f\u81ea\u6062\u590d\u3002<\/p>\n<h4>3.4 \u81ea\u68c0<\/h4>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-I<\/span> http:\/\/127.0.0.1:13005\/<br \/>\n<span class=\"token comment\"># \u671f\u671b:HTTP 200,\u9875\u9762 Welcome to Happy Server!<\/span><br \/>\n<span class=\"token function\">curl<\/span> http:\/\/127.0.0.1:13005\/health<br \/>\n<span class=\"token comment\"># \u671f\u671b:{&#034;status&#034;:&#034;ok&#034;,&#8230;}<\/span><\/p>\n<hr \/>\n<h3>\u56db\u3001HTTPS &#043; \u57df\u540d &#043; \u53cd\u5411\u4ee3\u7406(\u7528 Nginx Proxy Manager)<\/h3>\n<p>iOS \u5fc5\u987b HTTPS,\u6240\u4ee5\u524d\u9762\u6302\u4e00\u5c42\u53cd\u4ee3,\u81ea\u52a8\u7b7e Let\u2019s Encrypt \u8bc1\u4e66\u3002<\/p>\n<p>  #mermaid-svg-cxzfEbdi6joRNKe0{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-cxzfEbdi6joRNKe0 .error-icon{fill:#552222;}#mermaid-svg-cxzfEbdi6joRNKe0 .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-cxzfEbdi6joRNKe0 .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-cxzfEbdi6joRNKe0 .marker{fill:#333333;stroke:#333333;}#mermaid-svg-cxzfEbdi6joRNKe0 .marker.cross{stroke:#333333;}#mermaid-svg-cxzfEbdi6joRNKe0 svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-cxzfEbdi6joRNKe0 p{margin:0;}#mermaid-svg-cxzfEbdi6joRNKe0 .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-cxzfEbdi6joRNKe0 .cluster-label text{fill:#333;}#mermaid-svg-cxzfEbdi6joRNKe0 .cluster-label span{color:#333;}#mermaid-svg-cxzfEbdi6joRNKe0 .cluster-label span p{background-color:transparent;}#mermaid-svg-cxzfEbdi6joRNKe0 .label text,#mermaid-svg-cxzfEbdi6joRNKe0 span{fill:#333;color:#333;}#mermaid-svg-cxzfEbdi6joRNKe0 .node rect,#mermaid-svg-cxzfEbdi6joRNKe0 .node circle,#mermaid-svg-cxzfEbdi6joRNKe0 .node ellipse,#mermaid-svg-cxzfEbdi6joRNKe0 .node polygon,#mermaid-svg-cxzfEbdi6joRNKe0 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-cxzfEbdi6joRNKe0 .rough-node .label text,#mermaid-svg-cxzfEbdi6joRNKe0 .node .label text,#mermaid-svg-cxzfEbdi6joRNKe0 .image-shape .label,#mermaid-svg-cxzfEbdi6joRNKe0 .icon-shape .label{text-anchor:middle;}#mermaid-svg-cxzfEbdi6joRNKe0 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-cxzfEbdi6joRNKe0 .rough-node .label,#mermaid-svg-cxzfEbdi6joRNKe0 .node .label,#mermaid-svg-cxzfEbdi6joRNKe0 .image-shape .label,#mermaid-svg-cxzfEbdi6joRNKe0 .icon-shape .label{text-align:center;}#mermaid-svg-cxzfEbdi6joRNKe0 .node.clickable{cursor:pointer;}#mermaid-svg-cxzfEbdi6joRNKe0 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-cxzfEbdi6joRNKe0 .arrowheadPath{fill:#333333;}#mermaid-svg-cxzfEbdi6joRNKe0 .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-cxzfEbdi6joRNKe0 .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-cxzfEbdi6joRNKe0 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-cxzfEbdi6joRNKe0 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-cxzfEbdi6joRNKe0 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-cxzfEbdi6joRNKe0 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-cxzfEbdi6joRNKe0 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-cxzfEbdi6joRNKe0 .cluster text{fill:#333;}#mermaid-svg-cxzfEbdi6joRNKe0 .cluster span{color:#333;}#mermaid-svg-cxzfEbdi6joRNKe0 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-cxzfEbdi6joRNKe0 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-cxzfEbdi6joRNKe0 rect.text{fill:none;stroke-width:0;}#mermaid-svg-cxzfEbdi6joRNKe0 .icon-shape,#mermaid-svg-cxzfEbdi6joRNKe0 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-cxzfEbdi6joRNKe0 .icon-shape p,#mermaid-svg-cxzfEbdi6joRNKe0 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-cxzfEbdi6joRNKe0 .icon-shape .label rect,#mermaid-svg-cxzfEbdi6joRNKe0 .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-cxzfEbdi6joRNKe0 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-cxzfEbdi6joRNKe0 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-cxzfEbdi6joRNKe0 :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>HTTPS 443<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>http 13005<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>&#x1f4f1; iPhone<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>Nginx Proxy ManagerLet&#039;s Encrypt \u8bc1\u4e66\u2705 WebSocket<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>happy-server \u5bb9\u5668:3005<\/p>\n<p><\/span><\/p>\n<li>\u57df\u540d\u89e3\u6790:happyserver.example.com \u2192 \u670d\u52a1\u5668\u516c\u7f51 IP\u3002<\/li>\n<li>NPM \u65b0\u5efa Proxy Host:\n<ul>\n<li>Domain Names:happyserver.example.com<\/li>\n<li>Forward Hostname\/IP:\u5bb9\u5668 IP \u6216 127.0.0.1,\u7aef\u53e3 13005<\/li>\n<li>\u2705 \u52fe\u9009 Websockets Support(\u7ea6\u675f\u2464,\u5fc5\u5f00!)<\/li>\n<li>SSL \u9009\u9879\u5361:Request a new SSL Certificate &#043; Force SSL<\/li>\n<\/ul>\n<\/li>\n<li>\u9a8c\u8bc1(\u5916\u7f51):<\/li>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-I<\/span> https:\/\/happyserver.example.com\/<br \/>\n<span class=\"token comment\"># \u671f\u671b:HTTP\/2 200 &#8230; Welcome to Happy Server!<\/span><\/p>\n<p>\u5916\u7f51\u80fd 200,\u8bf4\u660e DNS &#043; HTTPS &#043; \u53cd\u4ee3 &#043; \u5bb9\u5668\u6574\u6761\u94fe\u8def\u901a\u4e86\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u624b\u673a\u7aef\u914d\u7f6e(\u5173\u952e:\u5b98\u65b9 App \u7684\u670d\u52a1\u5668\u5165\u53e3\u662f\u9690\u85cf\u7684!)<\/h3>\n<p>\u5f88\u591a\u4eba\u5361\u5728\u8fd9\u4e00\u6b65:Settings \u91cc\u6839\u672c\u627e\u4e0d\u5230\u586b\u670d\u52a1\u5668\u7684\u5730\u65b9\u3002\u56e0\u4e3a\u5b83\u85cf\u5728 \u5f00\u53d1\u8005\u6a21\u5f0f \u91cc:<\/p>\n<li>\u6253\u5f00 Happy App \u2192 Settings \u2192 \u62c9\u5230\u5e95,\u8fde\u7eed\u70b9\u300c\u7248\u672c\u53f7\u300d \u8fdb\u5165\u5f00\u53d1\u8005\u6a21\u5f0f;<\/li>\n<li>\u8fdb\u5165\u540e\u627e Network \u533a \u2192 API Endpoint;<\/li>\n<li>\u586b\u5165 https:\/\/happyserver.example.com,\u4fdd\u5b58\u3002<\/li>\n<p>App \u5185\u90e8\u903b\u8f91:\u81ea\u5b9a\u4e49\u670d\u52a1\u5668\u5730\u5740\u5b58\u5728 custom-server-url,\u9000\u51fa\u767b\u5f55\u4e5f\u4e0d\u4f1a\u88ab\u6e05\u6389,\u6240\u4ee5\u586b\u4e00\u6b21\u5373\u53ef\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u7ec8\u7aef\u914d\u5bf9<\/h3>\n<p>Mac \u4e0a:<\/p>\n<p><span class=\"token builtin class-name\">export<\/span> <span class=\"token assign-left variable\">HAPPY_SERVER_URL<\/span><span class=\"token operator\">&#061;<\/span>https:\/\/happyserver.example.com<br \/>\nhappy<\/p>\n<p>\u7ec8\u7aef\u51fa\u4e8c\u7ef4\u7801 \u2192 \u624b\u673a Happy \u626b\u7801 \u2192 \u914d\u5bf9\u6210\u529f\u540e,Mac \u663e\u793a Remote Mode &#8211; Claude Messages,\u624b\u673a\u5373\u53ef\u53d1\u6d88\u606f\u63a7\u5236\u3002<\/p>\n<p>\u914d\u5bf9 \/ \u8ba4\u8bc1\u7684\u5b8c\u6574\u65f6\u5e8f\u5982\u4e0b:<\/p>\n<p>     &#x1f4f1; iPhone<\/p>\n<p>     \u2601\ufe0f happy-server<\/p>\n<p>     &#x1f4bb; Mac (happy CLI)<\/p>\n<p>      &#x1f4f1; iPhone<\/p>\n<p>      \u2601\ufe0f happy-server<\/p>\n<p>      &#x1f4bb; Mac (happy CLI)<\/p>\n<p>  #mermaid-svg-BkGyDdPDYbESqGtL{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-BkGyDdPDYbESqGtL .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-BkGyDdPDYbESqGtL .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-BkGyDdPDYbESqGtL .error-icon{fill:#552222;}#mermaid-svg-BkGyDdPDYbESqGtL .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-BkGyDdPDYbESqGtL .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-BkGyDdPDYbESqGtL .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-BkGyDdPDYbESqGtL .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-BkGyDdPDYbESqGtL .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-BkGyDdPDYbESqGtL .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-BkGyDdPDYbESqGtL .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-BkGyDdPDYbESqGtL .marker{fill:#333333;stroke:#333333;}#mermaid-svg-BkGyDdPDYbESqGtL .marker.cross{stroke:#333333;}#mermaid-svg-BkGyDdPDYbESqGtL svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-BkGyDdPDYbESqGtL p{margin:0;}#mermaid-svg-BkGyDdPDYbESqGtL .actor{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-BkGyDdPDYbESqGtL text.actor&gt;tspan{fill:black;stroke:none;}#mermaid-svg-BkGyDdPDYbESqGtL .actor-line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-BkGyDdPDYbESqGtL .innerArc{stroke-width:1.5;stroke-dasharray:none;}#mermaid-svg-BkGyDdPDYbESqGtL .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333;}#mermaid-svg-BkGyDdPDYbESqGtL .messageLine1{stroke-width:1.5;stroke-dasharray:2,2;stroke:#333;}#mermaid-svg-BkGyDdPDYbESqGtL #arrowhead path{fill:#333;stroke:#333;}#mermaid-svg-BkGyDdPDYbESqGtL .sequenceNumber{fill:white;}#mermaid-svg-BkGyDdPDYbESqGtL #sequencenumber{fill:#333;}#mermaid-svg-BkGyDdPDYbESqGtL #crosshead path{fill:#333;stroke:#333;}#mermaid-svg-BkGyDdPDYbESqGtL .messageText{fill:#333;stroke:none;}#mermaid-svg-BkGyDdPDYbESqGtL .labelBox{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-BkGyDdPDYbESqGtL .labelText,#mermaid-svg-BkGyDdPDYbESqGtL .labelText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-BkGyDdPDYbESqGtL .loopText,#mermaid-svg-BkGyDdPDYbESqGtL .loopText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-BkGyDdPDYbESqGtL .loopLine{stroke-width:2px;stroke-dasharray:2,2;stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);}#mermaid-svg-BkGyDdPDYbESqGtL .note{stroke:#aaaa33;fill:#fff5ad;}#mermaid-svg-BkGyDdPDYbESqGtL .noteText,#mermaid-svg-BkGyDdPDYbESqGtL .noteText&gt;tspan{fill:black;stroke:none;}#mermaid-svg-BkGyDdPDYbESqGtL .activation0{fill:#f4f4f4;stroke:#666;}#mermaid-svg-BkGyDdPDYbESqGtL .activation1{fill:#f4f4f4;stroke:#666;}#mermaid-svg-BkGyDdPDYbESqGtL .activation2{fill:#f4f4f4;stroke:#666;}#mermaid-svg-BkGyDdPDYbESqGtL .actorPopupMenu{position:absolute;}#mermaid-svg-BkGyDdPDYbESqGtL .actorPopupMenuPanel{position:absolute;fill:#ECECFF;box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);filter:drop-shadow(3px 5px 2px rgb(0 0 0 \/ 0.4));}#mermaid-svg-BkGyDdPDYbESqGtL .actor-man line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;}#mermaid-svg-BkGyDdPDYbESqGtL .actor-man circle,#mermaid-svg-BkGyDdPDYbESqGtL line{stroke:hsl(259.6261682243, 59.7765363128%, 87.9019607843%);fill:#ECECFF;stroke-width:2px;}#mermaid-svg-BkGyDdPDYbESqGtL :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<\/p>\n<p>     \u7528 HANDY_MASTER_SECRET<\/p>\n<p>     \u6821\u9a8c\u624b\u673a\u4ee4\u724c<\/p>\n<p>   POST \/v1\/auth\/request (\u7ec8\u7aef\u516c\u94a5)<\/p>\n<p>   200,\u8fd4\u56de\u5f85\u6279\u51c6 &#043; \u51fa\u4e8c\u7ef4\u7801<\/p>\n<p>   \u7528\u624b\u673a\u8d26\u53f7\u4ee4\u724c\u6279\u51c6\u8be5\u7ec8\u7aef<\/p>\n<p>   \u6821\u9a8c\u901a\u8fc7(200)<\/p>\n<p>   \u914d\u5bf9\u5b8c\u6210,\u5efa\u7acb\u52a0\u5bc6 WebSocket<\/p>\n<p>   \u53d1\u6d88\u606f(\u5bc6\u6587)<\/p>\n<p>   \u8f6c\u53d1\u5bc6\u6587 \u2192 \u5582\u7ed9 claude<\/p>\n<p>   claude \u8f93\u51fa(\u5bc6\u6587)<\/p>\n<p>   \u56de\u4f20\u663e\u793a<\/p>\n<p>\u5b9e\u65f6\u76ef\u65e5\u5fd7\u786e\u8ba4:<\/p>\n<p><span class=\"token function\">docker<\/span> logs <span class=\"token parameter variable\">-f<\/span> happy-server<br \/>\n<span class=\"token comment\"># \u914d\u5bf9\u6210\u529f:\u624b\u673a\u7684 \/v1\/account\/profile\u3001\/v1\/sessions \u8fd4\u56de 200(\u4e0d\u662f 401)<\/span><\/p>\n<hr \/>\n<h3>\u4e03\u3001\u65e5\u5e38\u4f7f\u7528:\u63a7\u5236\u6743 &amp; \u6743\u9650<\/h3>\n<h4>7.1 remote mode \u4e0e\u672c\u5730\u5207\u6362<\/h4>\n<ul>\n<li>\u624b\u673a\u53d1\u6d88\u606f \u2192 Mac \u81ea\u52a8\u8fdb Remote Mode(\u624b\u673a\u4e3b\u63a7);<\/li>\n<li>\u60f3\u5728 Mac \u4e0a\u6572\u547d\u4ee4:\u952e\u76d8\u6309\u4efb\u610f\u952e \u2192 \u5207\u56de\u672c\u5730\u5b8c\u6574\u4ea4\u4e92\u5f0f claude;<\/li>\n<li>\u540c\u4e00\u4e2a\u4f1a\u8bdd,\u8c01\u52a8\u8c01\u63a5\u7ba1,\u4e00\u952e\u6765\u56de\u5207\u3002<\/li>\n<\/ul>\n<h4>7.2 \u5c11\u88ab\u6743\u9650\u5f39\u7a97\u6253\u65ad<\/h4>\n<p>\u624b\u673a\u7aef\u6700\u70e6\u7684\u300c\u9650\u5236\u300d\u5176\u5b9e\u662f\u6743\u9650\u786e\u8ba4\u5f39\u7a97,\u542f\u52a8\u65f6\u653e\u5bbd\u5373\u53ef:<\/p>\n<p>happy <span class=\"token parameter variable\">-p<\/span> bypassPermissions     <span class=\"token comment\"># \u6216 -p acceptEdits<\/span><br \/>\n<span class=\"token comment\"># \u6ce8\u610f:\u4e0d\u540c\u7248\u672c\u53c2\u6570\u53ef\u80fd\u4e0d\u540c,\u5148 happy &#8211;help \u786e\u8ba4<\/span><\/p>\n<p>\u771f\u6b63\u624b\u673a\u4e0a\u7528\u4e0d\u4e86\u7684,\u53ea\u6709\u9700\u8981\u65b9\u5411\u952e\u4ea4\u4e92\u7684\u83dc\u5355(\u5982 \/resume \u5217\u8868\u9009\u62e9\u3001plan \u6a21\u5f0f\u9009\u9879),\u8fd9\u7c7b\u64cd\u4f5c\u6309\u952e\u5207\u56de Mac \u672c\u5730\u505a\u3002<\/p>\n<hr \/>\n<h3>\u516b\u3001&#x1f573;\ufe0f \u8e29\u5751\u5927\u5168(\u91cd\u70b9\u4e2d\u7684\u91cd\u70b9)<\/h3>\n<h4>\u5751\u2460 http \u6b7b\u6d3b\u8fde\u4e0d\u4e0a<\/h4>\n<p>\u73b0\u8c61:export HAPPY_SERVER_URL&#061;http:\/\/ip:port \u624b\u673a\u4e00\u76f4\u8fde\u4e0d\u4e0a\u3002 \u539f\u56e0:iOS ATS \u7981\u660e\u6587 http\u3002 \u89e3\u51b3:\u6362 HTTPS \u57df\u540d(\u89c1\u7b2c\u56db\u8282)\u3002<\/p>\n<h4>\u5751\u2461 Settings \u91cc\u627e\u4e0d\u5230\u586b\u670d\u52a1\u5668\u7684\u5730\u65b9<\/h4>\n<p>\u539f\u56e0:\u5b98\u65b9 App \u628a\u5165\u53e3\u85cf\u8fdb\u4e86\u5f00\u53d1\u8005\u6a21\u5f0f\u3002 \u89e3\u51b3:\u8fde\u70b9\u7248\u672c\u53f7 \u2192 Network \u2192 API Endpoint(\u89c1\u7b2c\u4e94\u8282)\u3002<\/p>\n<h4>\u5751\u2462 \u914d\u5bf9\u5361\u4f4f\u3001\u6536\u4e0d\u5230\u6d88\u606f<\/h4>\n<p>\u539f\u56e0:\u53cd\u4ee3\u6ca1\u5f00 WebSocket\u3002 \u89e3\u51b3:NPM Proxy Host \u52fe\u4e0a Websockets Support\u3002<\/p>\n<h4>\u5751\u2463 \u4e00\u76f4 401\u300cAuth failed &#8211; invalid token\u300d,\u6e05\u4e86\u53c8\u6765<\/h4>\n<p>\u73b0\u8c61:\u624b\u673a\u8bf7\u6c42\u90fd\u6253\u5230\u670d\u52a1\u5668\u4e86,\u4f46\u6bcf\u4e2a \/v1\/&#8230; \u90fd 401,\u65e5\u5fd7 invalid token\u3002 \u6839\u56e0\u4e4b\u4e00:\u6570\u636e\u5377\u91cc\u6b8b\u7559\u4e86\u7528\u300c\u65e7 \/ \u4e0d\u540c HANDY_MASTER_SECRET\u300d\u5efa\u7684\u8d26\u53f7,\u5f53\u524d\u5bc6\u94a5\u6821\u9a8c\u4e0d\u8fc7\u3002 \u89e3\u51b3(\u26a0\ufe0f \u4f1a\u6e05\u7a7a\u6570\u636e,\u4ece\u96f6\u5f00\u59cb):<\/p>\n<p><span class=\"token function\">docker<\/span> <span class=\"token function\">rm<\/span> <span class=\"token parameter variable\">-f<\/span> happy-server<br \/>\n<span class=\"token function\">docker<\/span> volume <span class=\"token function\">rm<\/span> happy-data<br \/>\n<span class=\"token comment\"># \u7528\u56fa\u5b9a\u4e0d\u53d8\u7684 secret \u91cd\u65b0 run(\u89c1 3.3)<\/span><\/p>\n<p>\u6211\u672c\u4eba\u6700\u540e\u5c31\u662f\u9760\u6e05\u5377\u91cd\u5efa\u5f7b\u5e95\u89e3\u51b3 401 \u7684\u3002<\/p>\n<h4>\u5751\u2464 \u5378\u8f7d\u91cd\u88c5 App \u4e5f\u6ca1\u7528,\u4ee4\u724c\u8fd8\u662f\u540c\u4e00\u4e2a<\/h4>\n<p>\u73b0\u8c61:\u9000\u51fa\u767b\u5f55 \/ \u5378\u8f7d\u91cd\u88c5\u540e,\u65e5\u5fd7\u91cc\u624b\u673a\u53d1\u7684\u4ee4\u724c\u4e00\u5b57\u4e0d\u53d8\u3002 \u6839\u56e0:iOS \u94a5\u5319\u4e32(Keychain)\u5728 App \u5378\u8f7d\u540e\u4e0d\u4f1a\u88ab\u5220,\u65e7\u4e91\u4ee4\u724c\u88ab\u4e00\u76f4\u590d\u7528\u3002 \u89e3\u51b3:App \u5185 Settings \u2192 Account \u2192 \u5e95\u90e8\u7ea2\u8272 Log out(\u8fd9\u624d\u4f1a\u6e05\u94a5\u5319\u4e32),\u7136\u540e\u5728\u81ea\u5efa\u670d\u52a1\u5668\u4e0a\u91cd\u65b0\u5efa\u53f7;\u5149\u5378\u8f7d\u91cd\u88c5\u65e0\u6548\u3002<\/p>\n<h4>\u5751\u2465 \u6539\u4e86 secret \u540e\u5168\u5458\u6389\u7ebf<\/h4>\n<p>\u539f\u56e0:\u8fdd\u53cd\u7ea6\u675f\u2461,JWT \u7b7e\u540d\u5bc6\u94a5\u53d8\u4e86\u3002 \u89e3\u51b3:\u6c38\u8fdc\u4e0d\u8981\u6539 HANDY_MASTER_SECRET;\u975e\u6539\u4e0d\u53ef\u5c31\u5f53\u5168\u65b0\u670d\u52a1\u5668,\u6e05\u5377 &#043; \u6240\u6709\u7aef\u91cd\u65b0\u5efa\u53f7\u3002<\/p>\n<hr \/>\n<h3>\u4e5d\u3001\u6545\u969c\u6392\u67e5\u901f\u67e5\u56fe<\/h3>\n<p>  #mermaid-svg-RkkSTzfpzc9Ldhvg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#mermaid-svg-RkkSTzfpzc9Ldhvg .error-icon{fill:#552222;}#mermaid-svg-RkkSTzfpzc9Ldhvg .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-thickness-normal{stroke-width:1px;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-thickness-invisible{stroke-width:0;fill:none;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-RkkSTzfpzc9Ldhvg .marker{fill:#333333;stroke:#333333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .marker.cross{stroke:#333333;}#mermaid-svg-RkkSTzfpzc9Ldhvg svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-RkkSTzfpzc9Ldhvg p{margin:0;}#mermaid-svg-RkkSTzfpzc9Ldhvg .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .cluster-label text{fill:#333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .cluster-label span{color:#333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .cluster-label span p{background-color:transparent;}#mermaid-svg-RkkSTzfpzc9Ldhvg .label text,#mermaid-svg-RkkSTzfpzc9Ldhvg span{fill:#333;color:#333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .node rect,#mermaid-svg-RkkSTzfpzc9Ldhvg .node circle,#mermaid-svg-RkkSTzfpzc9Ldhvg .node ellipse,#mermaid-svg-RkkSTzfpzc9Ldhvg .node polygon,#mermaid-svg-RkkSTzfpzc9Ldhvg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-RkkSTzfpzc9Ldhvg .rough-node .label text,#mermaid-svg-RkkSTzfpzc9Ldhvg .node .label text,#mermaid-svg-RkkSTzfpzc9Ldhvg .image-shape .label,#mermaid-svg-RkkSTzfpzc9Ldhvg .icon-shape .label{text-anchor:middle;}#mermaid-svg-RkkSTzfpzc9Ldhvg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#mermaid-svg-RkkSTzfpzc9Ldhvg .rough-node .label,#mermaid-svg-RkkSTzfpzc9Ldhvg .node .label,#mermaid-svg-RkkSTzfpzc9Ldhvg .image-shape .label,#mermaid-svg-RkkSTzfpzc9Ldhvg .icon-shape .label{text-align:center;}#mermaid-svg-RkkSTzfpzc9Ldhvg .node.clickable{cursor:pointer;}#mermaid-svg-RkkSTzfpzc9Ldhvg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .arrowheadPath{fill:#333333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-RkkSTzfpzc9Ldhvg .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-RkkSTzfpzc9Ldhvg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#mermaid-svg-RkkSTzfpzc9Ldhvg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-RkkSTzfpzc9Ldhvg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#mermaid-svg-RkkSTzfpzc9Ldhvg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-RkkSTzfpzc9Ldhvg .cluster text{fill:#333;}#mermaid-svg-RkkSTzfpzc9Ldhvg .cluster span{color:#333;}#mermaid-svg-RkkSTzfpzc9Ldhvg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-RkkSTzfpzc9Ldhvg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#mermaid-svg-RkkSTzfpzc9Ldhvg rect.text{fill:none;stroke-width:0;}#mermaid-svg-RkkSTzfpzc9Ldhvg .icon-shape,#mermaid-svg-RkkSTzfpzc9Ldhvg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#mermaid-svg-RkkSTzfpzc9Ldhvg .icon-shape p,#mermaid-svg-RkkSTzfpzc9Ldhvg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#mermaid-svg-RkkSTzfpzc9Ldhvg .icon-shape .label rect,#mermaid-svg-RkkSTzfpzc9Ldhvg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#mermaid-svg-RkkSTzfpzc9Ldhvg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#mermaid-svg-RkkSTzfpzc9Ldhvg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#mermaid-svg-RkkSTzfpzc9Ldhvg :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}<\/p>\n<p>         <span class=\"edgeLabel\"><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u6ca1\u5230<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u5230\u4e86\u4f46 401<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u662f<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u5426<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"edgeLabel\"><\/p>\n<p>\u5230\u4e86 200 \u4f46\u5361\u4f4f<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u51fa\u95ee\u9898\u4e86<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u5916\u7f51 curl\u80fd 200 \u5417?<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u67e5 DNS \/ \u5b89\u5168\u7ec4 443 \/ \u53cd\u4ee3\u914d\u7f6e<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u624b\u673a\u8bf7\u6c42\u5230\u670d\u52a1\u5668\u4e86\u5417?\u770b docker logs<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u67e5 App \u7684 API Endpoint\u662f\u5426\u586b\u5bf9 HTTPS \u57df\u540d<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u4ee4\u724c\u662f\u4e0d\u662f\u4e91\u7aef\u65e7\u4ee4\u724c?<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>App \u5185 Log out \u2192 \u91cd\u65b0\u5efa\u53f7\u5751\u2464<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u6e05\u6570\u636e\u5377\u91cd\u5efasecret \u4fdd\u6301\u4e0d\u53d8\u5751\u2463\u2465<\/p>\n<p><\/span><\/p>\n<p>         <span class=\"nodeLabel\"><\/p>\n<p>\u53cd\u4ee3\u5f00 WebSocket\u5751\u2462<\/p>\n<p><\/span><\/p>\n<table>\n<tr>\u73b0\u8c61\u5148\u67e5\u89e3\u51b3\u65b9\u5411<\/tr>\n<tbody>\n<tr>\n<td>\u5916\u7f51 curl \u4e0d\u901a<\/td>\n<td>DNS \/ \u5b89\u5168\u7ec4 \/ \u53cd\u4ee3<\/td>\n<td>\u89e3\u6790\u3001\u653e\u884c 443\u3001NPM \u914d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>Welcome \u51fa\u4e0d\u6765<\/td>\n<td>\u5bb9\u5668\u5065\u5eb7<\/td>\n<td>docker logs\u3001\/health<\/td>\n<\/tr>\n<tr>\n<td>\u5168\u90e8 401<\/td>\n<td>\u4ee4\u724c \/ \u5bc6\u94a5 \/ \u6570\u636e\u5377<\/td>\n<td>\u5751\u2463\u2464\u2465<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u5bf9\u5361\u4f4f<\/td>\n<td>WebSocket<\/td>\n<td>NPM \u5f00 WS<\/td>\n<\/tr>\n<tr>\n<td>\u624b\u673a\u8fde\u4e0d\u4e0a\u4f46\u6d4f\u89c8\u5668\u80fd\u5f00<\/td>\n<td>\u5df2\u77e5 Issue #501<\/td>\n<td>App \u81ea\u6258\u7ba1\u652f\u6301\u6709\u672a\u4fee bug,\u4f18\u5148\u6e05\u5377 &#043; \u91cd\u65b0\u5efa\u53f7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3>\u5341\u3001\u9009\u578b\u5bf9\u6bd4:Happy \u4e0d\u662f\u552f\u4e00\u89e3<\/h3>\n<table>\n<tr>\u65b9\u6848\u6709\u65e0 remote mode \u9650\u5236\u540e\u7aef\u8981\u6c42\u9002\u5408\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>Happy(\u81ea\u6258\u7ba1)<\/td>\n<td>\u6709(\u624b\u673a\u4e3b\u63a7\u65f6\u90e8\u5206\u53d7\u9650)<\/td>\n<td>\u4efb\u610f:API Key \/ Bedrock \/ \u8ba2\u9605<\/td>\n<td>\u56fd\u5185\u7f51\u7edc\u3001\u9690\u79c1\u3001\u975e\u8ba2\u9605\u540e\u7aef<\/td>\n<\/tr>\n<tr>\n<td>\u5b98\u65b9 Remote Control(claude &#8211;remote-control)<\/td>\n<td>\u65e0,\u672c\u5730 &#043; \u624b\u673a\u540c\u65f6\u8f93\u5165<\/td>\n<td>\u4ec5 claude.ai \u8ba2\u9605,\u4e0d\u652f\u6301 API Key \/ Bedrock<\/td>\n<td>\u7528\u8ba2\u9605\u4e14\u80fd\u7a33\u8fde claude.ai<\/td>\n<\/tr>\n<tr>\n<td>SSH &#043; tmux(Termius \/ Blink)<\/td>\n<td>\u65e0,\u5c31\u662f\u539f\u751f\u7ec8\u7aef<\/td>\n<td>\u4efb\u610f<\/td>\n<td>\u8981\u96f6\u9650\u5236\u3001\u6240\u6709\u4ea4\u4e92\u547d\u4ee4\u90fd\u80fd\u7528<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e00\u53e5\u8bdd:\u7528 claude.ai \u8ba2\u9605 &#043; \u7f51\u7edc\u80fd\u8fde \u2192 \u5b98\u65b9 Remote Control \u66f4\u9999;\u7528 API Key \/ Bedrock \u6216\u56fd\u5185\u7f51\u7edc\u53d7\u9650 \u2192 Happy \u81ea\u6258\u7ba1\u4e0d\u53ef\u66ff\u4ee3;\u8981\u5b8c\u5168\u96f6\u9650\u5236 \u2192 SSH &#043; tmux\u3002<\/p>\n<hr \/>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u81ea\u6258\u7ba1 Happy \u7684\u96be\u70b9\u4e0d\u5728\u90e8\u7f72,\u800c\u5728 \u90a3 5 \u6761\u7ea6\u675f:HTTPS \u5fc5\u987b\u3001secret \u4e0d\u53ef\u53d8\u3001\u6570\u636e\u5377\u4e0d\u80fd\u810f\u3001\u624b\u673a\u522b\u5e26\u4e91\u7aef\u65e7\u4ee4\u724c\u3001\u53cd\u4ee3\u5f00 WS\u3002\u628a\u8fd9\u51e0\u6761\u634b\u987a,401 \u548c\u300c\u8fde\u4e0d\u4e0a\u300d\u57fa\u672c\u90fd\u80fd\u907f\u5f00\u3002<\/p>\n<p>\u5982\u679c\u8fd9\u7bc7\u5e2e\u4f60\u5c11\u8e29\u4e86\u5751,\u70b9\u4e2a \u8d5e &#x1f44d; &#043; \u6536\u85cf \u2b50 &#043; \u5173\u6ce8\u3002\u540e\u7eed\u4f1a\u518d\u5199 \u5b98\u65b9 Remote Control \u548c SSH &#043; tmux \u624b\u673a\u64cd\u63a7 Claude Code \u7684\u5bf9\u6bd4\u5b9e\u6218\u3002\u6709\u95ee\u9898\u8bc4\u8bba\u533a\u89c1~<\/p>\n<p>\u5173\u952e\u8bcd:Happy \/ Claude Code \/ \u81ea\u6258\u7ba1 \/ iPhone \u8fdc\u7a0b\u5f00\u53d1 \/ Docker \/ Nginx Proxy Manager \/ \u7aef\u5230\u7aef\u52a0\u5bc6<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4fdd\u59c6\u7ea7\u6559\u7a0b: \u76ee\u5f55\u4fdd\u59c6\u7ea7\u6559\u7a0b:\u524d\u8a00\u4e00\u3001\u5148\u641e\u61c2\u539f\u7406(\u5426\u5219\u5751\u90fd\u4e0d\u77e5\u9053\u600e\u4e48\u6765\u7684)\u4e8c\u3001\u26a0\ufe0f \u5f00\u59cb\u524d\u5fc5\u987b\u641e\u6e05\u695a\u7684 5 \u6761\u7ea6\u675f(\u672c\u6587\u7cbe\u534e)\u4e09\u3001\u670d\u52a1\u5668\u7aef\u90e8\u7f72(Docker,5 \u5206\u949f)3.1 \u51c6\u5907\u955c\u50cf3.2 \u751f\u6210\u5e76\u56fa\u5b9a master secret(\u26a0\ufe0f \u5b58\u597d,\u6c38\u4e0d\u66f4\u6539)3.3 \u542f\u52a8\u5bb9\u56683.4 \u81ea\u68c0\u56db\u3001HTTPS  \u57df\u540d  \u53cd\u5411\u4ee3\u7406(\u7528 Nginx Proxy Manager)\u4e94\u3001\u624b\u673a\u7aef\u914d\u7f6e(\u5173\u952e:\u5b98\u65b9 App \u7684\u670d\u52a1\u5668\u5165\u53e3\u662f\u9690\u85cf\u7684!)\u516d\u3001\u7ec8\u7aef\u914d\u5bf9\u4e03\u3001\u65e5\u5e38\u4f7f\u7528:\u63a7\u5236\u6743 &amp; \u6743\u96507.1 remo<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[810,43,44],"topic":[],"class_list":["post-113812","post","type-post","status-publish","format-standard","hentry","category-server","tag-iphone","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/113812.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4fdd\u59c6\u7ea7\u6559\u7a0b: \u76ee\u5f55\u4fdd\u59c6\u7ea7\u6559\u7a0b:\u524d\u8a00\u4e00\u3001\u5148\u641e\u61c2\u539f\u7406(\u5426\u5219\u5751\u90fd\u4e0d\u77e5\u9053\u600e\u4e48\u6765\u7684)\u4e8c\u3001\u26a0\ufe0f \u5f00\u59cb\u524d\u5fc5\u987b\u641e\u6e05\u695a\u7684 5 \u6761\u7ea6\u675f(\u672c\u6587\u7cbe\u534e)\u4e09\u3001\u670d\u52a1\u5668\u7aef\u90e8\u7f72(Docker,5 \u5206\u949f)3.1 \u51c6\u5907\u955c\u50cf3.2 \u751f\u6210\u5e76\u56fa\u5b9a master secret(\u26a0\ufe0f \u5b58\u597d,\u6c38\u4e0d\u66f4\u6539)3.3 \u542f\u52a8\u5bb9\u56683.4 \u81ea\u68c0\u56db\u3001HTTPS \u57df\u540d \u53cd\u5411\u4ee3\u7406(\u7528 Nginx Proxy Manager)\u4e94\u3001\u624b\u673a\u7aef\u914d\u7f6e(\u5173\u952e:\u5b98\u65b9 App \u7684\u670d\u52a1\u5668\u5165\u53e3\u662f\u9690\u85cf\u7684!)\u516d\u3001\u7ec8\u7aef\u914d\u5bf9\u4e03\u3001\u65e5\u5e38\u4f7f\u7528:\u63a7\u5236\u6743 &amp; \u6743\u96507.1 remo\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/113812.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-07T06:25:38+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/113812.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/113812.html\",\"name\":\"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-07T06:25:38+00:00\",\"dateModified\":\"2026-10-07T06:25:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/113812.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/113812.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/113812.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/113812.html","og_locale":"zh_CN","og_type":"article","og_title":"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4fdd\u59c6\u7ea7\u6559\u7a0b: \u76ee\u5f55\u4fdd\u59c6\u7ea7\u6559\u7a0b:\u524d\u8a00\u4e00\u3001\u5148\u641e\u61c2\u539f\u7406(\u5426\u5219\u5751\u90fd\u4e0d\u77e5\u9053\u600e\u4e48\u6765\u7684)\u4e8c\u3001\u26a0\ufe0f \u5f00\u59cb\u524d\u5fc5\u987b\u641e\u6e05\u695a\u7684 5 \u6761\u7ea6\u675f(\u672c\u6587\u7cbe\u534e)\u4e09\u3001\u670d\u52a1\u5668\u7aef\u90e8\u7f72(Docker,5 \u5206\u949f)3.1 \u51c6\u5907\u955c\u50cf3.2 \u751f\u6210\u5e76\u56fa\u5b9a master secret(\u26a0\ufe0f \u5b58\u597d,\u6c38\u4e0d\u66f4\u6539)3.3 \u542f\u52a8\u5bb9\u56683.4 \u81ea\u68c0\u56db\u3001HTTPS \u57df\u540d \u53cd\u5411\u4ee3\u7406(\u7528 Nginx Proxy Manager)\u4e94\u3001\u624b\u673a\u7aef\u914d\u7f6e(\u5173\u952e:\u5b98\u65b9 App \u7684\u670d\u52a1\u5668\u5165\u53e3\u662f\u9690\u85cf\u7684!)\u516d\u3001\u7ec8\u7aef\u914d\u5bf9\u4e03\u3001\u65e5\u5e38\u4f7f\u7528:\u63a7\u5236\u6743 &amp; \u6743\u96507.1 remo","og_url":"https:\/\/www.wsisp.com\/helps\/113812.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-07T06:25:38+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"10 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/113812.html","url":"https:\/\/www.wsisp.com\/helps\/113812.html","name":"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355) - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-07T06:25:38+00:00","dateModified":"2026-10-07T06:25:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/113812.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/113812.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/113812.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u81ea\u6258\u7ba1 Happy \u670d\u52a1\u5668,\u7528 iPhone \u8fdc\u7a0b\u64cd\u63a7 Claude Code(\u542b\u5168\u90e8\u8e29\u5751+\u7ea6\u675f\u6e05\u5355)"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/113812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=113812"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/113812\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=113812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=113812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=113812"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=113812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}