DeepSeek Harness Remote
DeepSeek Harness Remote 可將手機或另一台電腦與你運行 DeepSeek Harness 的電腦安全連接,隨時隨地繼續你的工作,方便隨時查看進度並繼續工作。
AI 翻譯
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗NasrinAI is a local-first AI assistant: people can ask it anything, and businesses can connect it to their own websites, apps, POS and customer service.
Status: Core phases 0–10 and the upgrade phases are on main, including the secured API, guest/business access, model routing, image creation, tools, connectors, knowledge/memory, red-team hardening, and the current Connect foundation. NasrinAI Connect remains fail-closed: Gate A is implemented, while actual provider installation stays blocked until a real provider adapter has install, live verification, rollback, and recovery support.
Needs Node.js 22 or newer. There is nothing to install.
npm test # every server test
AI_PROVIDER=fake npm start # local test run on http://localhost:10000, no keys needed
Without database settings the server keeps data in memory (development only). To deploy, see docs/deploy-vercel.md; for sign-in, docs/sign-in.md. To answer with your own model, see docs/local-model.md.
Change documentation: Every PR must update relevant Markdown documentation and the PR change log, including scope and observed validation results. Platform-wide engineering contract: Chat, Code, Video Studio, and shared services — acceptance criteria, security, routing, testing, mobile UX, and definition of done.
All /v1 routes except status, guest sessions and sign-in need Authorization: Bearer <credential>.
| Route | What it does |
|---|---|
GET /v1/status | Is the AI on, is it NasrinAI's own model or an outside one, which files and natural voices it supports |
POST /v1/guest/sessions | Starts a guest session (with X-NasrinAI-Key from a business website: a guest of that business) |
POST /v1/auth/email/start, /v1/auth/email/verify | Sign in with an emailed code (page only; sets the sign-in cookie) |
GET /v1/auth/google/start | Sign in with Google (when AUTH_GOOGLE=true) |
POST /v1/auth/refresh, /v1/auth/sign-out | Renew the access token from the cookie; sign out |
GET /v1/plans | Free, Max and Ultra plans, their prices, and your plan |
POST /v1/plans/checkout | { plan } → a PayMongo checkout link (signed-in users) |
POST /v1/payments/paymongo | PayMongo's payment webhook (signature-checked) |
GET /v1/models | The tiers this caller may pick (NasrinAI, Pro, Max, Ultra), and the default |
POST /v1/chat | { message, conversation_id?, model?, attachments? } → the reply (model is a tier id; attachments: photos, PDFs, text files as base64) |
POST /v1/images/brief | { prompt, photo?, answers? } → up to 5 adaptive questions, or the creative brief and its summary |
POST /v1/images | { prompt, photo?, brief?, conversation_id? } → one picture (built from the brief when given); send it again to regenerate |
GET /v1/images/:id | A picture, only for the person who made it |
POST /v1/videos | Shared asynchronous MP4 video-generation service for eligible Max/Ultra users; OpenRouter clips are capped at the verified 8-second single-shot limit |
GET /v1/videos/:id | Owner-authorized video job status for the shared generation service |
GET /v1/videos/:id/content | Completed MP4 from the shared generation service, only for its owner |
NasrinAI can help inspect code and supported attachments, explain errors, and suggest changes. In this scope it does not execute untrusted code or shell commands, and it does not add the Artifact Generation feature, OCR, publishing, or deployment automation. Never report tests or commands as run unless a real runner returned the result. See secure coding and file analysis boundaries.
| Path | What it is |
|---|---|
server.js | Starts the HTTP server (local runs and other hosts) |
api/index.js | The same app as a Vercel function |
src/ | Gateway, limits, conversations, chat, AI providers |
public/ | The chat page |
db/ | Database migration and its tests |
test/ | Server tests (node:test) |
docs/ | Roadmap, security, database, deployment, decisions, planned features, universal slash commands, PR change log |
Composer toolbar controls render immediately with the composer on page load. Their visibility must not depend on model or professional-catalog availability; asynchronous catalog loading may update functionality, but must not hide or delay the controls. Keep the initial HTML and CSS free of startup rules that set the composer toolbar to visibility: hidden.
See the NasrinAI Skills documentation for the full professional skills catalog, intelligence tiers, multimodal capabilities, system capability descriptions, and implementation-status guidance. The structured skills knowledge base is intended for retrieval-backed answers when users ask what NasrinAI can do. Catalog entries are not proof of live implementation; verify current configuration and tests before promising availability.
POST /v1/speech | { voice, message_id } → MP3 of one of Nasrin's replies in your conversation; { voice, preview: true } → a fixed sample line. Nothing else can be spoken |
GET /v1/conversations | Your conversations |
GET /v1/conversations/:id/messages | One conversation's messages |
DELETE /v1/conversations/:id | Deletes a conversation |
GET /v1/whoami | Which caller the credential is |
GET/POST/DELETE /v1/knowledge[/:id] | A business's documents for answers (secret key with knowledge scope; docs/knowledge.md) |
GET/DELETE /v1/memories[/:id] | What Nasrin remembers about the signed-in person |
POST /v1/actions/confirm, /v1/actions/cancel | { token } → run or drop an action Nasrin proposed (write/money tools) |
GET/POST /v1/webhooks/facebook | Messenger webhook (Meta-signed; see docs/facebook.md) |
GET/PUT/DELETE /v1/channels/facebook[/:page_id] | A business connects its Facebook Page (secret key with connectors scope) |
POST /v1/hooks/:tenant/:connector | Signed events from a business's system (POS, shop); see docs/connectors.md |
POST/DELETE /v1/connectors/:name/webhook | Turn a connector's webhook on (secret shown once) or off |
GET/PUT/DELETE /v1/connectors[/:name] | A business's own API connectors (secret key with the connectors scope; see docs/connectors.md) |