feat: P0f 会话分享链接 + 全栈验证

- 后端: POST /sessions/:id/share 生成 HMAC 签名分享令牌
- 后端: GET /sandbox/shared/:token 公开查看分享会话
- 前端: sandbox/page.tsx 新增「复制分享链接」按钮
- 前端: /sandbox/share?token=xxx 分享查看页面
- 全栈: 后端 build + 前端 61 页 + 92 tests 全部通过
This commit is contained in:
yuzhiran-dev
2026-05-18 10:43:25 +08:00
parent f2a6bb93f9
commit cba785e6bd
9 changed files with 187 additions and 4 deletions
@@ -1,11 +1,12 @@
import { Module } from '@nestjs/common';
import { SandboxController } from './sandbox.controller';
import { SandboxShareController } from './sandbox-share.controller';
import { SandboxService } from './sandbox.service';
import { AIModule } from '../ai/ai.module';
@Module({
imports: [AIModule],
controllers: [SandboxController],
controllers: [SandboxController, SandboxShareController],
providers: [SandboxService],
exports: [SandboxService],
})