promptarc 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -25
- package/dist/bin.js +561 -45
- package/dist/share-direct.js +360 -0
- package/dist/web/.next/BUILD_ID +1 -1
- package/dist/web/.next/app-build-manifest.json +86 -79
- package/dist/web/.next/app-path-routes-manifest.json +17 -16
- package/dist/web/.next/build-manifest.json +2 -2
- package/dist/web/.next/prerender-manifest.json +14 -14
- package/dist/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/admin/backfill-ai/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/admin/backfill-search/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/ai/context/route.js +31 -0
- package/dist/web/.next/server/app/api/ai/context/route.js.nft.json +1 -0
- package/dist/web/.next/server/app/api/ai/context/route_client-reference-manifest.js +1 -0
- package/dist/web/.next/server/app/api/ai/pr-summary/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/ai/pr-summary-local/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/ai/process/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/download/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/feedback/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/init/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/my-shares/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/poll/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/project-settings/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/share-mutate/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/cli/sync-list/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/local/project-sessions/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/local/watch/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/search/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/search-index/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/share/download/[slug]/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/share/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/api/upload/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/auth/callback/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/auth/signout/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/blog/ai-coding-agents-2026/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/blog/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/cli/login/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/digest/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/feedback/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/my-projects/[projectKey]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/my-projects/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/my-shares/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/page.js +1 -1
- package/dist/web/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/privacy/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/projects/[id]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/r/[slug]/opengraph-image/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/r/[slug]/page.js +1 -1
- package/dist/web/.next/server/app/r/[slug]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/robots.txt/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/search/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/sessions/[projectId]/[sessionId]/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/sign-in/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/sitemap.xml/route.js.nft.json +1 -1
- package/dist/web/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app/sitemap.xml.body +8 -8
- package/dist/web/.next/server/app/terms/page_client-reference-manifest.js +1 -1
- package/dist/web/.next/server/app-paths-manifest.json +17 -16
- package/dist/web/.next/server/functions-config-manifest.json +10 -7
- package/dist/web/.next/server/pages/500.html +1 -1
- package/dist/web/.next/server/server-reference-manifest.js +1 -1
- package/dist/web/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/.next/static/LF69v3WA6LbEAkvRHNqfG/_buildManifest.js +1 -0
- package/dist/web/.next/static/chunks/app/_not-found/page-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/admin/backfill-ai/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/admin/backfill-search/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/ai/context/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/ai/pr-summary/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/ai/pr-summary-local/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/ai/process/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/download/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/feedback/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/init/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/my-shares/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/poll/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/project-settings/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/share-mutate/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/cli/sync-list/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/local/project-sessions/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/local/watch/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/search/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/search-index/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/share/download/[slug]/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/share/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/api/upload/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/auth/callback/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/auth/signout/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/blog/ai-coding-agents-2026/page-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/opengraph-image/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/{page-f7b69fa944b46c20.js → page-95394e3c6370084f.js} +1 -1
- package/dist/web/.next/static/chunks/app/r/[slug]/opengraph-image/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/robots.txt/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/chunks/app/sitemap.xml/route-0f1123e35eb8f046.js +1 -0
- package/dist/web/.next/static/css/c76bb7513858c50c.css +3 -0
- package/package.json +1 -1
- package/dist/web/.next/static/ABHGCNY7MSdkh00Z4Y8wS/_buildManifest.js +0 -1
- package/dist/web/.next/static/chunks/app/_not-found/page-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/admin/backfill-ai/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/admin/backfill-search/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/ai/pr-summary/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/ai/pr-summary-local/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/ai/process/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/download/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/feedback/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/init/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/my-shares/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/poll/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/project-settings/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/share-mutate/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/cli/sync-list/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/local/project-sessions/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/local/watch/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/search/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/search-index/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/share/download/[slug]/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/share/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/api/upload/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/auth/callback/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/auth/signout/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/blog/ai-coding-agents-2026/page-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/opengraph-image/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/r/[slug]/opengraph-image/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/robots.txt/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/chunks/app/sitemap.xml/route-fd6592d30c58fa5e.js +0 -1
- package/dist/web/.next/static/css/b3ccdd7835e6edda.css +0 -3
- /package/dist/web/.next/static/{ABHGCNY7MSdkh00Z4Y8wS → LF69v3WA6LbEAkvRHNqfG}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -1,45 +1,53 @@
|
|
|
1
1
|
# promptarc
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> See what your AI coding agent actually did. Browse, search, share, and generate PR descriptions from Claude Code, Codex, and Cursor sessions.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx promptarc
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## Features
|
|
12
|
-
|
|
13
|
-
- **Multi-agent.** Reads `~/.claude/` (Claude Code), `~/.codex/` (Codex), and `~/.cursor/` (Cursor) in one dashboard with tabs to filter by agent.
|
|
14
|
-
- **Live updates.** Open a session that's still running and the page refreshes within ~300ms of every new message Claude writes.
|
|
15
|
-
- **Resume.** Lost track of which session you were on? Click any session and copy the `claude --resume <id>` command from the sidebar.
|
|
16
|
-
- **Selective sharing.** Click *Share session* to upload a single session as a viewable link. Choose visibility per share: **public** (indexed), **unlisted** (anyone with the URL), or **private** (only you, default).
|
|
17
|
-
- **Cloud sync.** Optionally back up new sessions for a project to your account so you can browse them from anywhere — always private until you say otherwise.
|
|
18
|
-
- **Redaction.** Secrets, home-directory paths, base64 blobs, and AI thinking blocks are stripped before any upload. The redaction pipeline is open source and auditable.
|
|
19
|
-
- **Account-bound.** Sign in once with `promptarc login` (GitHub OAuth via [promptarc.dev](https://promptarc.dev)) and your shares are tied to your account, manageable from the web.
|
|
9
|
+
Every command works standalone from the terminal. The dashboard is optional for visual browsing.
|
|
20
10
|
|
|
21
11
|
## Commands
|
|
22
12
|
|
|
23
13
|
```text
|
|
24
|
-
promptarc
|
|
25
|
-
promptarc
|
|
26
|
-
promptarc
|
|
27
|
-
promptarc
|
|
28
|
-
promptarc
|
|
29
|
-
promptarc --
|
|
14
|
+
npx promptarc Open the visual dashboard
|
|
15
|
+
npx promptarc context What do I need to know? Past sessions + AI briefing
|
|
16
|
+
npx promptarc context --files Include recently changed files in the search
|
|
17
|
+
npx promptarc share <id> Share a session to the cloud (private, no dashboard needed)
|
|
18
|
+
npx promptarc pr Generate a PR description from the current session
|
|
19
|
+
npx promptarc pr --share Generate + share session (includes link in description)
|
|
20
|
+
npx promptarc pr --copy Generate + copy to clipboard
|
|
21
|
+
npx promptarc pull <slug> Download a shared session to this machine for resume
|
|
22
|
+
npx promptarc login Sign in via GitHub (auto-triggered when needed)
|
|
23
|
+
npx promptarc logout Delete the saved auth token
|
|
24
|
+
npx promptarc whoami Print the signed-in account
|
|
25
|
+
npx promptarc --version Print the CLI version
|
|
30
26
|
```
|
|
31
27
|
|
|
32
|
-
##
|
|
28
|
+
## What it does
|
|
29
|
+
|
|
30
|
+
- **Session prep.** `promptarc context` scans your local sessions + cloud archive and generates an AI briefing with what's unfinished, a copy-pasteable resume prompt, and warnings from past failures.
|
|
31
|
+
- **Share from terminal.** `promptarc share <id>` builds the artifact locally, redacts secrets, and uploads directly. No dashboard needed. Auto-signs in if needed.
|
|
32
|
+
- **PR descriptions.** `promptarc pr` generates structured PR descriptions (What / Why / How / Notes) from your session. Pipe to `gh pr create`.
|
|
33
|
+
- **Multi-agent.** Reads `~/.claude/` (Claude Code), `~/.codex/` (Codex), and `~/.cursor/` (Cursor) in one dashboard with tabs.
|
|
34
|
+
- **Live updates.** Open a running session and it refreshes within ~300ms of every new message.
|
|
35
|
+
- **Cloud sync.** Back up sessions to your account. Search across your history from any machine.
|
|
36
|
+
- **AI summaries.** Every shared session gets an AI-generated summary, searchable via full-text search.
|
|
37
|
+
- **Redaction.** Secrets, API keys, home-directory paths, and thinking blocks are stripped before any upload.
|
|
38
|
+
- **Private by default.** New shares are private. You promote to public/unlisted when ready.
|
|
39
|
+
|
|
40
|
+
## Privacy
|
|
33
41
|
|
|
34
|
-
- The dashboard
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
- The auth token (
|
|
42
|
+
- The dashboard binds to **127.0.0.1 only**. Nothing on your LAN can reach it.
|
|
43
|
+
- `promptarc share` redacts secrets **locally** before uploading. Raw session data never leaves your machine.
|
|
44
|
+
- `promptarc pr` sends only a condensed summary (~2K tokens) to the server. No code content, no secrets.
|
|
45
|
+
- The auth token (`~/.promptarc/auth.json`, mode 0600) is only sent to `promptarc.dev`.
|
|
38
46
|
|
|
39
47
|
## Requirements
|
|
40
48
|
|
|
41
|
-
- Node.js
|
|
42
|
-
- At least one of: `~/.claude
|
|
49
|
+
- Node.js 20+
|
|
50
|
+
- At least one of: `~/.claude/`, `~/.codex/`, or `~/.cursor/`
|
|
43
51
|
|
|
44
52
|
## Feedback
|
|
45
53
|
|