├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── release.yml ├── .gitignore ├── CLAUDE.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── RELEASE_NOTES.md ├── SECURITY.md ├── biome.json ├── package.json ├── scripts └── release.mjs ├── src ├── agent │ ├── anthropic │ │ ├── anthropic.ts │ │ ├── index.ts │ │ ├── prompt.ts │ │ ├── streaming.ts │ │ ├── tools │ │ │ ├── bash.ts │ │ │ ├── editor.ts │ │ │ ├── web-search.ts │ │ │ └── work-plan.ts │ │ └── types.ts │ ├── context │ │ ├── config.ts │ │ └── loader.ts │ ├── core │ │ ├── adapters.ts │ │ ├── orchestrator.ts │ │ └── title.ts │ ├── index.ts │ ├── openai │ │ ├── approvals.ts │ │ ├── index.ts │ │ ├── prompt.ts │ │ ├── service.ts │ │ ├── streaming.ts │ │ └── tools │ │ │ ├── files │ │ │ ├── append-to-file.ts │ │ │ ├── edit-in-file.ts │ │ │ ├── list-files.ts │ │ │ ├── read-file.ts │ │ │ ├── search-files.ts │ │ │ ├── search-repo.ts │ │ │ └── write-file.ts │ │ │ ├── index.ts │ │ │ ├── planning │ │ │ └── work-plan.ts │ │ │ ├── terminal │ │ │ ├── execute-command.ts │ │ │ └── get-git-working-state.ts │ │ │ ├── types.ts │ │ │ └── util.ts │ ├── providers │ │ ├── anthropic │ │ │ └── adapter.ts │ │ └── openai │ │ │ └── adapter.ts │ ├── session-initiators.ts │ └── store │ │ ├── session-assets.ts │ │ └── session-store-fs.ts ├── auth │ ├── device-registry.ts │ ├── local-ws.ts │ ├── middleware.ts │ ├── pairing.ts │ ├── routes.ts │ └── token.ts ├── background-agent │ └── cursor │ │ ├── client.ts │ │ ├── github.ts │ │ ├── index.ts │ │ ├── routes.ts │ │ ├── store.ts │ │ ├── tracker.ts │ │ ├── types.ts │ │ └── webhook.ts ├── cli.ts ├── file-system │ ├── handlers.ts │ ├── index.ts │ ├── service.ts │ ├── telescope-search.ts │ ├── terminal.ts │ └── types.ts ├── index.ts ├── notifications │ └── index.ts ├── server │ ├── router.ts │ └── websocket.ts ├── shared │ ├── logger.ts │ ├── paths.ts │ ├── public-url.ts │ ├── terminal-ui.ts │ └── types │ │ └── api.ts ├── terminal │ ├── registry.ts │ ├── routes.ts │ └── terminal-manager.ts └── tunnel │ └── cloudflare.ts └── tsconfig.json /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/.gitignore -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE_NOTES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/RELEASE_NOTES.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/SECURITY.md -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/biome.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/package.json -------------------------------------------------------------------------------- /scripts/release.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/scripts/release.mjs -------------------------------------------------------------------------------- /src/agent/anthropic/anthropic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/anthropic.ts -------------------------------------------------------------------------------- /src/agent/anthropic/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/index.ts -------------------------------------------------------------------------------- /src/agent/anthropic/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/prompt.ts -------------------------------------------------------------------------------- /src/agent/anthropic/streaming.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/streaming.ts -------------------------------------------------------------------------------- /src/agent/anthropic/tools/bash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/tools/bash.ts -------------------------------------------------------------------------------- /src/agent/anthropic/tools/editor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/tools/editor.ts -------------------------------------------------------------------------------- /src/agent/anthropic/tools/web-search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/tools/web-search.ts -------------------------------------------------------------------------------- /src/agent/anthropic/tools/work-plan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/tools/work-plan.ts -------------------------------------------------------------------------------- /src/agent/anthropic/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/anthropic/types.ts -------------------------------------------------------------------------------- /src/agent/context/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/context/config.ts -------------------------------------------------------------------------------- /src/agent/context/loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/context/loader.ts -------------------------------------------------------------------------------- /src/agent/core/adapters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/core/adapters.ts -------------------------------------------------------------------------------- /src/agent/core/orchestrator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/core/orchestrator.ts -------------------------------------------------------------------------------- /src/agent/core/title.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/core/title.ts -------------------------------------------------------------------------------- /src/agent/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/index.ts -------------------------------------------------------------------------------- /src/agent/openai/approvals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/approvals.ts -------------------------------------------------------------------------------- /src/agent/openai/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/index.ts -------------------------------------------------------------------------------- /src/agent/openai/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/prompt.ts -------------------------------------------------------------------------------- /src/agent/openai/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/service.ts -------------------------------------------------------------------------------- /src/agent/openai/streaming.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/streaming.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/files/append-to-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/files/append-to-file.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/files/edit-in-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/files/edit-in-file.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/files/list-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/files/list-files.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/files/read-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/files/read-file.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/files/search-files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/files/search-files.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/files/search-repo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/files/search-repo.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/files/write-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/files/write-file.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/index.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/planning/work-plan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/planning/work-plan.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/terminal/execute-command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/terminal/execute-command.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/terminal/get-git-working-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/terminal/get-git-working-state.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/types.ts -------------------------------------------------------------------------------- /src/agent/openai/tools/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/openai/tools/util.ts -------------------------------------------------------------------------------- /src/agent/providers/anthropic/adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/providers/anthropic/adapter.ts -------------------------------------------------------------------------------- /src/agent/providers/openai/adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/providers/openai/adapter.ts -------------------------------------------------------------------------------- /src/agent/session-initiators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/session-initiators.ts -------------------------------------------------------------------------------- /src/agent/store/session-assets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/store/session-assets.ts -------------------------------------------------------------------------------- /src/agent/store/session-store-fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/agent/store/session-store-fs.ts -------------------------------------------------------------------------------- /src/auth/device-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/auth/device-registry.ts -------------------------------------------------------------------------------- /src/auth/local-ws.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/auth/local-ws.ts -------------------------------------------------------------------------------- /src/auth/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/auth/middleware.ts -------------------------------------------------------------------------------- /src/auth/pairing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/auth/pairing.ts -------------------------------------------------------------------------------- /src/auth/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/auth/routes.ts -------------------------------------------------------------------------------- /src/auth/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/auth/token.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/client.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/github.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/index.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/routes.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/store.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/tracker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/tracker.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/types.ts -------------------------------------------------------------------------------- /src/background-agent/cursor/webhook.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/background-agent/cursor/webhook.ts -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/file-system/handlers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/file-system/handlers.ts -------------------------------------------------------------------------------- /src/file-system/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/file-system/index.ts -------------------------------------------------------------------------------- /src/file-system/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/file-system/service.ts -------------------------------------------------------------------------------- /src/file-system/telescope-search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/file-system/telescope-search.ts -------------------------------------------------------------------------------- /src/file-system/terminal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/file-system/terminal.ts -------------------------------------------------------------------------------- /src/file-system/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/file-system/types.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/notifications/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/notifications/index.ts -------------------------------------------------------------------------------- /src/server/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/server/router.ts -------------------------------------------------------------------------------- /src/server/websocket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/server/websocket.ts -------------------------------------------------------------------------------- /src/shared/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/shared/logger.ts -------------------------------------------------------------------------------- /src/shared/paths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/shared/paths.ts -------------------------------------------------------------------------------- /src/shared/public-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/shared/public-url.ts -------------------------------------------------------------------------------- /src/shared/terminal-ui.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/shared/terminal-ui.ts -------------------------------------------------------------------------------- /src/shared/types/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/shared/types/api.ts -------------------------------------------------------------------------------- /src/terminal/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/terminal/registry.ts -------------------------------------------------------------------------------- /src/terminal/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/terminal/routes.ts -------------------------------------------------------------------------------- /src/terminal/terminal-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/terminal/terminal-manager.ts -------------------------------------------------------------------------------- /src/tunnel/cloudflare.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/src/tunnel/cloudflare.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yayasoumah/pocket-server/HEAD/tsconfig.json --------------------------------------------------------------------------------