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:
@@ -455,11 +455,11 @@ Files:
|
||||
|
||||
Commands:
|
||||
|
||||
1. `paperclip auth bootstrap-ceo`
|
||||
1. `paperclipai auth bootstrap-ceo`
|
||||
- create bootstrap invite
|
||||
- print one-time URL
|
||||
|
||||
2. `paperclip onboard`
|
||||
2. `paperclipai onboard`
|
||||
- in cloud mode with `bootstrap_pending`, print bootstrap URL and next steps
|
||||
- in local mode, skip bootstrap requirement
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Current V1 assumptions are centered on one board operator. We now need:
|
||||
|
||||
- multi-human collaboration with per-user permissions
|
||||
- safe cloud deployment defaults (no accidental loginless production)
|
||||
- local mode that still feels instant (`npx paperclip run` and go)
|
||||
- local mode that still feels instant (`npx paperclipai run` and go)
|
||||
- agent-to-human task delegation, including a human inbox
|
||||
- one user account with access to multiple companies in one deployment
|
||||
- instance admins who can manage company access across the instance
|
||||
@@ -106,9 +106,9 @@ Problem:
|
||||
Bootstrap flow:
|
||||
|
||||
1. If no `instance_admin` user exists for the deployment, instance is in `bootstrap_pending` state.
|
||||
2. CLI command `pnpm paperclip auth bootstrap-ceo` creates a one-time CEO onboarding invite URL for that instance.
|
||||
3. `pnpm paperclip onboard` runs this bootstrap check and prints the invite URL automatically when `bootstrap_pending`.
|
||||
4. Visiting the app while `bootstrap_pending` shows a blocking setup page with the exact CLI command to run (`pnpm paperclip onboard`).
|
||||
2. CLI command `pnpm paperclipai auth bootstrap-ceo` creates a one-time CEO onboarding invite URL for that instance.
|
||||
3. `pnpm paperclipai onboard` runs this bootstrap check and prints the invite URL automatically when `bootstrap_pending`.
|
||||
4. Visiting the app while `bootstrap_pending` shows a blocking setup page with the exact CLI command to run (`pnpm paperclipai onboard`).
|
||||
5. Accepting that CEO invite creates the first admin user and exits bootstrap mode.
|
||||
|
||||
Security rules:
|
||||
@@ -323,7 +323,7 @@ This plan introduces instance-level concerns (for example bootstrap state, insta
|
||||
V1 approach:
|
||||
|
||||
- add a minimal `Instance Settings` page for instance admins
|
||||
- expose key instance settings in API + CLI (`paperclip configure` / `paperclip onboard`)
|
||||
- expose key instance settings in API + CLI (`paperclipai configure` / `paperclipai onboard`)
|
||||
- show read-only instance status indicators in the main UI until full settings UX exists
|
||||
|
||||
## Implementation phases
|
||||
@@ -385,7 +385,7 @@ V1 approach:
|
||||
4. `cloud_hosted` cannot start without auth configured.
|
||||
5. No request in `cloud_hosted` can mutate data without authenticated actor.
|
||||
6. If no initial admin exists, app shows bootstrap instructions with CLI command.
|
||||
7. `pnpm paperclip onboard` outputs a CEO onboarding invite URL when bootstrap is pending.
|
||||
7. `pnpm paperclipai onboard` outputs a CEO onboarding invite URL when bootstrap is pending.
|
||||
8. One `company_join` link supports both human and agent onboarding via join-type selection on the invite landing page.
|
||||
9. Invite delivery in V1 is copy-link only (no built-in email delivery).
|
||||
10. Share-link acceptance creates a pending join request; it does not grant immediate access.
|
||||
|
||||
Reference in New Issue
Block a user