- Updated package.json and pnpm-lock.yaml with new dependencies and versions. - Removed outdated readme files from requirements. - Enhanced CNB environment configuration in cnb-env.ts with new VS Code remote SSH settings. - Modified KnowledgeBase class to return structured results. - Updated Workspace class to return structured results. - Implemented new routes for managing CNB cookies and VS Code proxy URIs. - Added AI chat functionality for querying knowledge base. - Created skills for cleaning up closed workspaces.
13 lines
333 B
TypeScript
13 lines
333 B
TypeScript
import { Repo } from "../src/repo";
|
|
|
|
import { token, showMore, cookie } from "./common.ts";
|
|
|
|
const repo = new Repo({ token: token, cookie: cookie });
|
|
|
|
|
|
const listRes = await repo.getRepoList({
|
|
page: 1, page_size: 999, role: 'developer',
|
|
flags: 'KnowledgeBase'
|
|
});
|
|
|
|
console.log("listRes", showMore(listRes), listRes.data?.length); |