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:
@@ -1,4 +1,4 @@
|
||||
import type { AgentAdapterType, JoinRequest } from "@paperclip/shared";
|
||||
import type { AgentAdapterType, JoinRequest } from "@paperclipai/shared";
|
||||
import { api } from "./client";
|
||||
|
||||
type InviteSummary = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ActivityEvent } from "@paperclip/shared";
|
||||
import type { ActivityEvent } from "@paperclipai/shared";
|
||||
import { api } from "./client";
|
||||
|
||||
export interface RunForIssue {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { AssetImage } from "@paperclip/shared";
|
||||
import type { AssetImage } from "@paperclipai/shared";
|
||||
import { api } from "./client";
|
||||
|
||||
export const assetsApi = {
|
||||
|
||||
@@ -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 }>;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { DashboardSummary } from "@paperclip/shared";
|
||||
import type { DashboardSummary } from "@paperclipai/shared";
|
||||
import { api } from "./client";
|
||||
|
||||
export const dashboardApi = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Goal } from "@paperclip/shared";
|
||||
import type { Goal } from "@paperclipai/shared";
|
||||
import { api } from "./client";
|
||||
|
||||
export const goalsApi = {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { SidebarBadges } from "@paperclip/shared";
|
||||
import type { SidebarBadges } from "@paperclipai/shared";
|
||||
import { api } from "./client";
|
||||
|
||||
export const sidebarBadgesApi = {
|
||||
|
||||
Reference in New Issue
Block a user