MCPcopy Index your code
hub / github.com/johnlindquist/kit

github.com/johnlindquist/kit @2025-12-05-09-25-54 sqlite

repository ↗ · DeepWiki ↗ · release 2025-12-05-09-25-54 ↗
2,339 symbols 4,521 edges 464 files 593 documented · 25% 26 cross-repo links
README

Script Kit v3

https://scriptkit.com/

Vercel OSS Program

Join the Discussion

https://github.com/johnlindquist/kit/discussions

Docs

https://github.com/johnlindquist/kit-docs

⭐️ Unlock Script Kit Pro by Sponsoring Script Kit ⭐️

❤️ Sponsor me on GitHub ❤️

Sponsor Only Features

Shipped Planned
Unlimited Active Prompts Sync Scripts to GitHub Repo
Built-in Debugger Run Script Remotely as GitHub Actions
Script Log Window Advanced Screenshots
Vite Widgets Screen Recording
Webcam Capture Measure Tool
Desktop Color Picker Debug from IDE
Basic Screenshots

Development

Install pnpm:

https://pnpm.io/installation

Clone Kit SDK

Clone and install:

git clone https://github.com/johnlindquist/kit.git
cd kit
pnpm install

Building Kit SDK

pnpm build

The build command builds the SDK to ~/.kit

Linking kit to app for local development

Option 1: Workspace approach (Recommended)

  1. cd to wherever you cloned kitapp
  2. Create a pnpm-workspace.yaml file with: ```yaml packages:
    • '~/.kit'
    • '.' ```
  3. Run pnpm install - this will automatically link your local kit build
  4. The workspace file is gitignored, so it won't affect CI builds

Option 2: Manual linking (Alternative)

  1. cd to ~/.kit
  2. pnpm link
  3. cd to wherever you cloned kitapp
  4. pnpm link @johnlindquist/kit

Note: The workspace approach is preferred as it automatically links your local kit development build and doesn't require manual link/unlink commands.

Extension points exported contracts — how you extend this code

LogFormatter (Interface)
(no doc) [8 implementers]
src/core/logger/formatters.ts
DiagnosticMessageChain (Interface)
* A linked list of formatted diagnostic messages to be used as part of a multiline message. * It is built from the bo
src/types/editor.api.d.ts
DiagnosticMessageChain (Interface)
* A linked list of formatted diagnostic messages to be used as part of a multiline message. * It is built from the
src/editor/types/kit-editor.d.ts
OnePasswordConfig (Interface)
* Configuration for 1Password SDK
src/api/onepassword.ts
ScreenSource (Interface)
(no doc)
src/screenRecording.ts
ToolCallPart (Interface)
(no doc)
src/lib/ai.ts
TestContext (Interface)
(no doc)
src/cli/set-env-var.test.ts
Main (Interface)
(no doc)
src/main/index-v1.ts

Core symbols most depended-on inside this repo

kenvPath
called by 340
src/core/resolvers.ts
log
called by 275
src/core/logger/sdk-logger.ts
kitPath
called by 205
src/core/resolvers.ts
md
called by 112
src/core/utils.ts
run
called by 96
src/core/utils.ts
next
called by 82
src/editor/types/kit-editor.d.ts
error
called by 79
src/core/logger/types.ts
formatScriptlet
called by 71
src/core/scriptlets.ts

Shape

Interface 773
Method 745
Function 633
Enum 100
Class 88

Languages

TypeScript100%

Modules by API surface

src/editor/types/kit-editor.d.ts710 symbols
src/types/editor.api.d.ts620 symbols
src/core/utils.ts61 symbols
src/lib/ai.ts42 symbols
src/api/kit.ts42 symbols
src/main/index.ts28 symbols
src/core/enum.ts27 symbols
src/types/kitapp.d.ts25 symbols
src/core/logger/types.ts23 symbols
src/core/logger/sdk-logger.ts23 symbols
src/core/logger/base-logger.ts22 symbols
src/core/db.ts22 symbols

Dependencies from manifests, versioned

@1password/sdk0.3.1 · 1×
@ai-sdk/anthropic2.0.53 · 1×
@ai-sdk/google2.0.44 · 1×
@ai-sdk/openai2.0.77 · 1×
@ai-sdk/react2.0.106 · 1×
@ai-sdk/xai2.0.39 · 1×
@johnlindquist/open10.2.0 · 1×
@modelcontextprotocol/sdk1.24.3 · 1×
@octokit/auth-oauth-device8.0.3 · 1×
@octokit/core7.0.6 · 1×
@octokit/plugin-paginate-rest14.0.0 · 1×
@octokit/plugin-rest-endpoint-methods17.0.0 · 1×

For agents

$ claude mcp add kit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact