feat: 更新版本号和依赖项,添加获取工作空间 Cookie 的功能,新增测试用例

This commit is contained in:
2026-02-25 16:41:41 +08:00
parent e6042e025f
commit dd691f7a59
7 changed files with 1031 additions and 10 deletions

11
test/keep-cookie-get.ts Normal file
View File

@@ -0,0 +1,11 @@
// https://cnb.cool/kevisual/dev-env/-/workspace/vscode-web/cnb-708-1ji9sog7o-001
import { Build } from "../src/index.ts";
import { cnb, showMore } from "./common.ts";
const repo = 'kevisual/dev-env';
const pipelineId = 'cnb-708-1ji9sog7o-001';
const res = await cnb.workspace.getWorkspaceCookie(repo, pipelineId);
console.log('token', showMore(res));