refactor: rename packages to @paperclipai and CLI binary to paperclipai

Rename all workspace packages from @paperclip/* to @paperclipai/* and
the CLI binary from `paperclip` to `paperclipai` in preparation for
npm publishing. Bump CLI version to 0.1.0 and add package metadata
(description, keywords, license, repository, files). Update all
imports, documentation, user-facing messages, and tests accordingly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dotta
2026-03-03 08:45:26 -06:00
parent 5a5549fc54
commit f60c1001ec
196 changed files with 501 additions and 490 deletions

View File

@@ -1,4 +1,4 @@
import type { AgentAdapterType, JoinRequest } from "@paperclip/shared";
import type { AgentAdapterType, JoinRequest } from "@paperclipai/shared";
import { api } from "./client";
type InviteSummary = {

View File

@@ -1,4 +1,4 @@
import type { ActivityEvent } from "@paperclip/shared";
import type { ActivityEvent } from "@paperclipai/shared";
import { api } from "./client";
export interface RunForIssue {

View File

@@ -7,8 +7,8 @@ import type {
HeartbeatRun,
Approval,
AgentConfigRevision,
} from "@paperclip/shared";
import { isUuidLike, normalizeAgentUrlKey } from "@paperclip/shared";
} from "@paperclipai/shared";
import { isUuidLike, normalizeAgentUrlKey } from "@paperclipai/shared";
import { ApiError, api } from "./client";
export interface AgentKey {

View File

@@ -1,4 +1,4 @@
import type { Approval, ApprovalComment, Issue } from "@paperclip/shared";
import type { Approval, ApprovalComment, Issue } from "@paperclipai/shared";
import { api } from "./client";
export const approvalsApi = {

View File

@@ -1,4 +1,4 @@
import type { AssetImage } from "@paperclip/shared";
import type { AssetImage } from "@paperclipai/shared";
import { api } from "./client";
export const assetsApi = {

View File

@@ -5,7 +5,7 @@ import type {
CompanyPortabilityImportResult,
CompanyPortabilityPreviewRequest,
CompanyPortabilityPreviewResult,
} from "@paperclip/shared";
} from "@paperclipai/shared";
import { api } from "./client";
export type CompanyStats = Record<string, { agentCount: number; issueCount: number }>;

View File

@@ -1,4 +1,4 @@
import type { CostSummary, CostByAgent } from "@paperclip/shared";
import type { CostSummary, CostByAgent } from "@paperclipai/shared";
import { api } from "./client";
export interface CostByProject {

View File

@@ -1,4 +1,4 @@
import type { DashboardSummary } from "@paperclip/shared";
import type { DashboardSummary } from "@paperclipai/shared";
import { api } from "./client";
export const dashboardApi = {

View File

@@ -1,4 +1,4 @@
import type { Goal } from "@paperclip/shared";
import type { Goal } from "@paperclipai/shared";
import { api } from "./client";
export const goalsApi = {

View File

@@ -1,4 +1,4 @@
import type { HeartbeatRun, HeartbeatRunEvent } from "@paperclip/shared";
import type { HeartbeatRun, HeartbeatRunEvent } from "@paperclipai/shared";
import { api } from "./client";
export interface ActiveRunForIssue extends HeartbeatRun {

View File

@@ -1,4 +1,4 @@
import type { Approval, Issue, IssueAttachment, IssueComment, IssueLabel } from "@paperclip/shared";
import type { Approval, Issue, IssueAttachment, IssueComment, IssueLabel } from "@paperclipai/shared";
import { api } from "./client";
export const issuesApi = {

View File

@@ -1,4 +1,4 @@
import type { Project, ProjectWorkspace } from "@paperclip/shared";
import type { Project, ProjectWorkspace } from "@paperclipai/shared";
import { api } from "./client";
function withCompanyScope(path: string, companyId?: string) {

View File

@@ -1,4 +1,4 @@
import type { CompanySecret, SecretProviderDescriptor, SecretProvider } from "@paperclip/shared";
import type { CompanySecret, SecretProviderDescriptor, SecretProvider } from "@paperclipai/shared";
import { api } from "./client";
export const secretsApi = {

View File

@@ -1,4 +1,4 @@
import type { SidebarBadges } from "@paperclip/shared";
import type { SidebarBadges } from "@paperclipai/shared";
import { api } from "./client";
export const sidebarBadgesApi = {