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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
update docs
Louis Beaumontffedcd62b849
diff --git a/README-ja.md b/README-ja.mdindex 23a4b325a..c214a08e8 100644--- a/README-ja.md+++ b/README-ja.md@@ -109,7 +109,7 @@ macOSでは画面とマイクの許可を必ず設定してください## プラグインの作成```bash-bunx @screenpipe/dev create+bunx @screenpipe/dev@latest create```ScreenPipeには「パイプ」と呼ばれるプラグインシステムがあり、Rustコード内のサンドボックス環境でNext.jsデスクトップアプリを作成できます。[詳細はこちら](https://docs.screenpi.pe/docs/plugins)diff --git a/README-zh_CN.md b/README-zh_CN.mdindex d55a095f1..f1a3dd146 100644--- a/README-zh_CN.md+++ b/README-zh_CN.md@@ -98,7 +98,7 @@ screenpipe## 创建插件```bash-bunx @screenpipe/dev create+bunx @screenpipe/dev@latest create```screenpipe有一个名为"pipe"的插件系统,允许你在Rust代码的沙盒环境中运行代码,[了解更多](https://docs.screenpi.pe/docs/plugins)diff --git a/README.md b/README.mdindex 87ad94941..c74e789bc 100644--- a/README.md+++ b/README.md@@ -120,7 +120,7 @@ make sure to allow permissions on macos (screen, mic)## create plugins```bash-bunx @screenpipe/dev create+bunx @screenpipe/dev@latest create```screenpipe has a plugin system called "pipe" which lets you create desktop app in nextjs in a sandboxed environment within our Rust code, [read more](https://docs.screenpi.pe/docs/plugins)@@ -128,9 +128,9 @@ screenpipe has a plugin system called "pipe" which lets you create desktop app iyou can then publish these to our store and make money:```bash-bunx @screenpipe/dev register --name foo [--paid --price 50] # subscription+bunx @screenpipe/dev@latest register --name foo [--paid --price 50] # subscriptionbun run build-bunx @screenpipe/dev publish --name foo+bunx @screenpipe/dev@latest publish --name foo```## communitydiff --git a/content/docs/pages/docs/plugins.mdx b/content/docs/pages/docs/plugins.mdxindex 77a3ac14e..c8174261c 100644--- a/content/docs/pages/docs/plugins.mdx+++ b/content/docs/pages/docs/plugins.mdx@@ -46,7 +46,7 @@ The fastest way to create a new pipe is using our CLI:<Tabs items={['bun', 'npm', , 'yarn', 'pnpm']}><Tab>```bash copy-bunx @screenpipe/dev create+bunx @screenpipe/dev@latest create```</Tab><Tab>@@ -84,14 +84,14 @@ available commands:```bash copy# authenticate with your API key-bunx @screenpipe/dev login --apiKey <your-key>+bunx @screenpipe/dev@latest login --apiKey <your-key># create a new pipe-bunx @screenpipe/dev register --name my-pipe [--paid --price 9.99] # MAKE SURE TO SET THE PRICE IF YOU WANT TO SELL IT - IRREVERSIBLE+bunx @screenpipe/dev@latest register --name my-pipe [--paid --price 9.99] # MAKE SURE TO SET THE PRICE IF YOU WANT TO SELL IT - IRREVERSIBLE# you'll receive payouts to your stripe account on a daily basis# add predefined components to your pipe-bunx @screenpipe/dev components add+bunx @screenpipe/dev@latest components add# select components from the interactive menu:# - use-health: health monitoring hooks# - use-settings: settings management@@ -102,15 +102,15 @@ bunx @screenpipe/dev components add# - use-ai-provider: AI integration hooks# publish your pipe to the store-bunx @screenpipe/dev publish --name my-pipe+bunx @screenpipe/dev@latest publish --name my-pipe# our team will review your pipe and publish it to the store# if approved, your pipe will be available in the store to everyone# list all versions of your pipe-bunx @screenpipe/dev list-versions --name my-pipe+bunx @screenpipe/dev@latest list-versions --name my-pipe# end current session-bunx @screenpipe/dev logout+bunx @screenpipe/dev@latest logout```you can deploy your pipe to your screenpipe app through the UI or using `screenpipe pipe install <path>` and `screenpipe pipe enable <id/folder of your pipe>`.diff --git a/pipes/rewind/package.json b/pipes/rewind/package.jsonindex 8d004ee59..880c56ac7 100644--- a/pipes/rewind/package.json+++ b/pipes/rewind/package.json@@ -1,6 +1,6 @@{- "name": "search",- "version": "0.1.0",+ "name": "rewind",+ "version": "0.1.1","private": true,"scripts": {"dev": "next dev --turbopack",diff --git a/screenpipe-js/cli/dist/index.js b/screenpipe-js/cli/dist/index.jsindex c7c690662..85fb956cf 100755--- a/screenpipe-js/cli/dist/index.js+++ b/screenpipe-js/cli/dist/index.js@@ -59686,7 +59686,7 @@ var createCommand = command({desc: "create a new pipe",handler: async () => {console.log(source_default.bold(`-welcome to create-pipe! \uD83D\uDE80+welcome to screenpipe! \uD83D\uDE80`));console.log(`let's create a new screenpipe pipe.`);@@ -71263,7 +71263,7 @@ var addComponentCommand = command({}const result = await preFlightAdd(opts.cwd);if (result?.errors[ERRORS.MISSING_DIR_OR_EMPTY_PIPE]) {- logger.warn("you need to create a pipe first. run bunx @screenpipe/create-pipe@latest or visit https://docs.screenpi.pe/docs/plugins for more information.");+ logger.warn("you need to create a pipe first. run bunx @screenpipe/dev create or visit https://docs.screenpi.pe/docs/plugins for more information.");process.exit(1);}await addComponents(components, { silent: opts.silent, cwd: opts.cwd, overwrite: opts.overwrite });diff --git a/screenpipe-js/cli/src/commands/components/commands/add/add.ts b/screenpipe-js/cli/src/commands/components/commands/add/add.tsindex b034e23e8..2d43f1eeb 100644--- a/screenpipe-js/cli/src/commands/components/commands/add/add.ts+++ b/screenpipe-js/cli/src/commands/components/commands/add/add.ts@@ -1,4 +1,11 @@-import { boolean, command, GenericCommandHandler, OutputType, positional, string } from "@drizzle-team/brocli";+import {+ boolean,+ command,+ GenericCommandHandler,+ OutputType,+ positional,+ string,+} from "@drizzle-team/brocli";import { logger } from "./utils/logger";import { ERRORS, handleError } from "./utils/handle-error";import { promptForRegistryComponents } from "./utils/prompt-for-component";@@ -6,41 +13,49 @@ import { preFlightAdd } from "./preflights/preflight-add";import { addComponents } from "./utils/add-components";export const addComponentCommand = command({- name: "add",- desc: "add components and dependencies to your pipe",- options: {- components: positional().desc("list of components by name"),- path: string().desc("the path to add the component to."),- silent: boolean().desc("mute output.").default(false),- overwrite: boolean().desc("overwrite existing files.").default(false),- cwd: string().desc("the working directory. defaults to the current directory.").default(process.cwd())- },- handler: async (opts) => {- try {- let components+ name: "add",+ desc: "add components and dependencies to your pipe",+ options: {+ components: positional().desc("list of components by name"),+ path: string().desc("the path to add the component to."),+ silent: boolean().desc("mute output.").default(false),+ overwrite: boolean().desc("overwrite existing files.").default(false),+ cwd: string()+ .desc("the working directory. defaults to the current directory.")+ .default(process.cwd()),+ },+ handler: async (opts) => {+ try {+ let components;- // If there are no components, ask the user which ones they want.- if (!opts?.components?.length) {- components = await promptForRegistryComponents()- } else {- components = [opts.components]- }-- // Before addig check a few things- const result = await preFlightAdd(opts.cwd)+ // If there are no components, ask the user which ones they want.+ if (!opts?.components?.length) {+ components = await promptForRegistryComponents();+ } else {+ components = [opts.components];+ }- // If the current directory is not a pipe, create one- if (result?.errors[ERRORS.MISSING_DIR_OR_EMPTY_PIPE]) {- logger.warn('you need to create a pipe first. run bunx @screenpipe/dev create or visit https://docs.screenpi.pe/docs/plugins for more information.')- process.exit(1)- // await createPipe(options)- }+ // Before addig check a few things+ const result = await preFlightAdd(opts.cwd);- // Add components to the directory- await addComponents(components, {silent: opts.silent, cwd: opts.cwd, overwrite: opts.overwrite})- } catch (error) {- logger.break()- handleError(error)+ // If the current directory is not a pipe, create one+ if (result?.errors[ERRORS.MISSING_DIR_OR_EMPTY_PIPE]) {+ logger.warn(+ "you need to create a pipe first. run bunx @screenpipe/dev@latest create or visit https://docs.screenpi.pe/docs/plugins for more information."+ );+ process.exit(1);+ // await createPipe(options)}- },- })++ // Add components to the directory+ await addComponents(components, {+ silent: opts.silent,+ cwd: opts.cwd,+ overwrite: opts.overwrite,+ });+ } catch (error) {+ logger.break();+ handleError(error);+ }+ },+});