feat(KB-330): rename internal packages from @kb/* to @fusion/*

- Rename @kb/core, @kb/dashboard, @kb/engine to @fusion/* namespace
- Update all import statements across 143+ files to use new package names
- Update workspace dependencies and root package.json references
- Fix bundler configurations (tsup, vite) for new package names
- Update test files and fix typecheck issues
- Add changeset file documenting the package rename
This commit is contained in:
gsxdsm
2026-03-31 13:33:44 -07:00
parent c6fe660dd9
commit fc0411713c
142 changed files with 340 additions and 328 deletions

View File

@@ -1,4 +1,4 @@
import type { IssueInfo, PrInfo } from "@kb/core";
import type { IssueInfo, PrInfo } from "@fusion/core";
import {
isGhAvailable,
isGhAuthenticated,
@@ -7,7 +7,7 @@ import {
getGhErrorMessage,
getCurrentRepo,
runGh,
} from "@kb/core";
} from "@fusion/core";
/**
* Sleep for a specified number of milliseconds.
@@ -933,7 +933,7 @@ export class GitHubClient {
owner: string,
repo: string,
number: number,
): Promise<Omit<import("@kb/core").IssueInfo, "lastCheckedAt"> | null> {
): Promise<Omit<import("@fusion/core").IssueInfo, "lastCheckedAt"> | null> {
if (this.hasGhAuth()) {
try {
return await this.getIssueStatusWithGh(owner, repo, number);
@@ -955,7 +955,7 @@ export class GitHubClient {
owner: string,
repo: string,
number: number,
): Promise<Omit<import("@kb/core").IssueInfo, "lastCheckedAt"> | null> {
): Promise<Omit<import("@fusion/core").IssueInfo, "lastCheckedAt"> | null> {
try {
const issue = await runGhJsonAsync<GhIssueViewJson>([
"issue", "view", String(number),
@@ -984,7 +984,7 @@ export class GitHubClient {
owner: string,
repo: string,
number: number,
): Promise<Omit<import("@kb/core").IssueInfo, "lastCheckedAt"> | null> {
): Promise<Omit<import("@fusion/core").IssueInfo, "lastCheckedAt"> | null> {
const url = `${this.baseUrl}/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/issues/${number}`;
const headers = this.buildHeaders();