Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

chore: rename to @screenpipe/sync, publish v0.4.0

Louis Beaumontfd5214722a13
diff --git a/README.md b/README.md
index 2c9e5e855..d01835694 100644
--- a/README.md
+++ b/README.md
@@ -106,13 +106,13 @@ sync your screenpipe data to a remote server (e.g., [clawdbot](https://github.co
```bash
# one-liner: permanent background sync (survives reboot)
-bunx screenpipe-sync --daemon --remote user@server:~/.screenpipe/
+bunx @screenpipe/sync --daemon --remote user@server:~/.screenpipe/
# manual sync
-bunx screenpipe-sync --db --remote user@server:~/.screenpipe/
+bunx @screenpipe/sync --db --remote user@server:~/.screenpipe/
# stop daemon
-bunx screenpipe-sync --stop
+bunx @screenpipe/sync --stop
```
your ai agent can then query your full screen history via sqlite:
diff --git a/packages/sync/README.md b/packages/sync/README.md
index 3904b1544..9a0709008 100644
--- a/packages/sync/README.md
+++ b/packages/sync/README.md
@@ -10,16 +10,16 @@ Also extracts structured daily summaries: todos, goals, decisions, and AI insigh
```bash
# One-liner - AI summary to stdout
-bunx screenpipe-sync
+bunx @screenpipe/sync
# Save daily summaries locally
-bunx screenpipe-sync --output ~/Documents/brain/context --git
+bunx @screenpipe/sync --output ~/Documents/brain/context --git
# Sync raw SQLite database to remote (full history!)
-bunx screenpipe-sync --db --remote user@host:~/.screenpipe/
+bunx @screenpipe/sync --db --remote user@host:~/.screenpipe/
# Full sync: DB + daily summary
-bunx screenpipe-sync --db -r clawdbot:~/.screenpipe && bunx screenpipe-sync -o ~/context -g
+bunx @screenpipe/sync --db -r clawdbot:~/.screenpipe && bunx @screenpipe/sync -o ~/context -g
```
## What It Extracts
diff --git a/packages/sync/dist/index.js b/packages/sync/dist/index.js
index 29904db93..e073021de 100755
--- a/packages/sync/dist/index.js
+++ b/packages/sync/dist/index.js
@@ -9678,7 +9678,7 @@ function printHelp() {
screenpipe-sync - Extract daily context from Screenpipe
USAGE:
- bunx screenpipe-sync [options]
+ bunx @screenpipe/sync [options]
MODES:
Summary mode (default): AI-powered daily summary extraction
@@ -9706,22 +9706,22 @@ ENVIRONMENT:
EXAMPLES:
# AI summary to stdout
- bunx screenpipe-sync
+ bunx @screenpipe/sync
# Save daily summaries locally
- bunx screenpipe-sync --output ~/Documents/brain/context --git
+ bunx @screenpipe/sync --output ~/Documents/brain/context --git
# Sync raw database to remote (e.g., Clawdbot)
- bunx screenpipe-sync --db --remote user@clawdbot:~/.screenpipe/
+ bunx @screenpipe/sync --db --remote user@clawdbot:~/.screenpipe/
# Full sync: DB + daily summary
- bunx screenpipe-sync --db -r clawdbot:~/.screenpipe && bunx screenpipe-sync -o ~/context -g
+ bunx @screenpipe/sync --db -r clawdbot:~/.screenpipe && bunx @screenpipe/sync -o ~/context -g
# ONE-LINER: Permanent background sync (survives reboot)
- bunx screenpipe-sync --daemon --remote user@server:~/.screenpipe/
+ bunx @screenpipe/sync --daemon --remote user@server:~/.screenpipe/
# Stop the daemon
- bunx screenpipe-sync --stop
+ bunx @screenpipe/sync --stop
OUTPUT (summary mode):
- Todo items extracted from screen content
@@ -9982,7 +9982,7 @@ async function setupDaemon(config) {
const platform = os.platform();
if (!config.remote && !config.outputDir) {
console.error(`[error] --daemon requires --remote or --output`);
- console.error(` Example: bunx screenpipe-sync --daemon -r user@host:~/.screenpipe/`);
+ console.error(` Example: bunx @screenpipe/sync --daemon -r user@host:~/.screenpipe/`);
process.exit(1);
}
const remotePart = config.remote ? `--remote ${config.remote}` : "";
@@ -10000,7 +10000,7 @@ async function setupDaemon(config) {
<array>
<string>/bin/bash</string>
<string>-c</string>
- <string>export PATH="$HOME/.bun/bin:/usr/local/bin:/opt/homebrew/bin:$PATH" &amp;&amp; bunx screenpipe-sync --db ${remotePart} ${outputPart} ${gitPart}</string>
+ <string>export PATH="$HOME/.bun/bin:/usr/local/bin:/opt/homebrew/bin:$PATH" &amp;&amp; bunx @screenpipe/sync --db ${remotePart} ${outputPart} ${gitPart}</string>
</array>
<key>StartInterval</key>
<integer>${config.daemonInterval}</integer>
@@ -10029,7 +10029,7 @@ async function setupDaemon(config) {
console.log(`[ok] Daemon installed (macOS LaunchAgent)`);
console.log(` Syncs every ${config.daemonInterval}s to: ${config.remote || config.outputDir}`);
console.log(` Logs: /tmp/screenpipe-sync.log`);
- console.log(` Stop: bunx screenpipe-sync --stop`);
+ console.log(` Stop: bunx @screenpipe/sync --stop`);
} else if (platform === "linux") {
const serviceDir = path.join(home, ".config/systemd/user");
const servicePath = path.join(serviceDir, "screenpipe-sync.service");
@@ -10039,7 +10039,7 @@ Description=Screenpipe Sync
[Service]
Type=oneshot
-ExecStart=/bin/bash -c 'export PATH="$HOME/.bun/bin:$PATH" && bunx screenpipe-sync --db ${remotePart} ${outputPart} ${gitPart}'
+ExecStart=/bin/bash -c 'export PATH="$HOME/.bun/bin:$PATH" && bunx @screenpipe/sync --db ${remotePart} ${outputPart} ${gitPart}'
Environment=HOME=${home}
[Install]
@@ -10067,10 +10067,10 @@ WantedBy=timers.target`;
console.log(`[ok] Daemon installed (systemd user timer)`);
console.log(` Syncs every ${config.daemonInterval}s to: ${config.remote || config.outputDir}`);
console.log(` Status: systemctl --user status screenpipe-sync.timer`);
- console.log(` Stop: bunx screenpipe-sync --stop`);
+ console.log(` Stop: bunx @screenpipe/sync --stop`);
} else {
console.error(`[error] Daemon not supported on ${platform}`);
- console.error(` Use cron instead: */60 * * * * bunx screenpipe-sync --db ${remotePart}`);
+ console.error(` Use cron instead: */60 * * * * bunx @screenpipe/sync --db ${remotePart}`);
process.exit(1);
}
}
diff --git a/packages/sync/package.json b/packages/sync/package.json
index 5869e89dc..d6a97751d 100644
--- a/packages/sync/package.json
+++ b/packages/sync/package.json
@@ -1,6 +1,6 @@
{
- "name": "screenpipe-sync",
- "version": "0.3.1",
+ "name": "@screenpipe/sync",
+ "version": "0.4.0",
"description": "Sync Screenpipe activity to structured daily summaries. Extract todos, goals, decisions from your screen history.",
"type": "module",
"bin": {
diff --git a/packages/sync/src/index.ts b/packages/sync/src/index.ts
index 9bf358c77..7a681244f 100644
--- a/packages/sync/src/index.ts
+++ b/packages/sync/src/index.ts
@@ -142,7 +142,7 @@ function printHelp() {
screenpipe-sync - Extract daily context from Screenpipe
USAGE:
- bunx screenpipe-sync [options]
+ bunx @screenpipe/sync [options]
MODES:
Summary mode (default): AI-powered daily summary extraction
@@ -170,22 +170,22 @@ ENVIRONMENT:
EXAMPLES:
# AI summary to stdout
- bunx screenpipe-sync
+ bunx @screenpipe/sync
# Save daily summaries locally
- bunx screenpipe-sync --output ~/Documents/brain/context --git
+ bunx @screenpipe/sync --output ~/Documents/brain/context --git
# Sync raw database to remote (e.g., Clawdbot)
- bunx screenpipe-sync --db --remote user@clawdbot:~/.screenpipe/
+ bunx @screenpipe/sync --db --remote user@clawdbot:~/.screenpipe/
# Full sync: DB + daily summary
- bunx screenpipe-sync --db -r clawdbot:~/.screenpipe && bunx screenpipe-sync -o ~/context -g
+ bunx @screenpipe/sync --db -r clawdbot:~/.screenpipe && bunx @screenpipe/sync -o ~/context -g
# ONE-LINER: Permanent background sync (survives reboot)
- bunx screenpipe-sync --daemon --remote user@server:~/.screenpipe/
+ bunx @screenpipe/sync --daemon --remote user@server:~/.screenpipe/
# Stop the daemon
- bunx screenpipe-sync --stop
+ bunx @screenpipe/sync --stop
OUTPUT (summary mode):
- Todo items extracted from screen content
@@ -503,7 +503,7 @@ async function setupDaemon(config: Config) {
if (!config.remote && !config.outputDir) {
console.error(`[error] --daemon requires --remote or --output`);
- console.error(` Example: bunx screenpipe-sync --daemon -r user@host:~/.screenpipe/`);
+ console.error(` Example: bunx @screenpipe/sync --daemon -r user@host:~/.screenpipe/`);
process.exit(1);
}
@@ -524,7 +524,7 @@ async function setupDaemon(config: Config) {
<array>
<string>/bin/bash</string>
<string>-c</string>
- <string>export PATH="$HOME/.bun/bin:/usr/local/bin:/opt/homebrew/bin:$PATH" &amp;&amp; bunx screenpipe-sync --db ${remotePart} ${outputPart} ${gitPart}</string>
+ <string>export PATH="$HOME/.bun/bin:/usr/local/bin:/opt/homebrew/bin:$PATH" &amp;&amp; bunx @screenpipe/sync --db ${remotePart} ${outputPart} ${gitPart}</string>
</array>
<key>StartInterval</key>
<integer>${config.daemonInterval}</integer>
@@ -556,7 +556,7 @@ async function setupDaemon(config: Config) {
console.log(`[ok] Daemon installed (macOS LaunchAgent)`);
console.log(` Syncs every ${config.daemonInterval}s to: ${config.remote || config.outputDir}`);
console.log(` Logs: /tmp/screenpipe-sync.log`);
- console.log(` Stop: bunx screenpipe-sync --stop`);
+ console.log(` Stop: bunx @screenpipe/sync --stop`);
} else if (platform === "linux") {
// Linux: systemd user service
@@ -569,7 +569,7 @@ Description=Screenpipe Sync
[Service]
Type=oneshot
-ExecStart=/bin/bash -c 'export PATH="$HOME/.bun/bin:$PATH" && bunx screenpipe-sync --db ${remotePart} ${outputPart} ${gitPart}'
+ExecStart=/bin/bash -c 'export PATH="$HOME/.bun/bin:$PATH" && bunx @screenpipe/sync --db ${remotePart} ${outputPart} ${gitPart}'
Environment=HOME=${home}
[Install]
@@ -601,11 +601,11 @@ WantedBy=timers.target`;
console.log(`[ok] Daemon installed (systemd user timer)`);
console.log(` Syncs every ${config.daemonInterval}s to: ${config.remote || config.outputDir}`);
console.log(` Status: systemctl --user status screenpipe-sync.timer`);
- console.log(` Stop: bunx screenpipe-sync --stop`);
+ console.log(` Stop: bunx @screenpipe/sync --stop`);
} else {
console.error(`[error] Daemon not supported on ${platform}`);
- console.error(` Use cron instead: */60 * * * * bunx screenpipe-sync --db ${remotePart}`);
+ console.error(` Use cron instead: */60 * * * * bunx @screenpipe/sync --db ${remotePart}`);
process.exit(1);
}
}