Sign In

@continuewith/sdk

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@continuewith/sdk

ContinueWith prompt helpers and install snippets for the AI-native Web layer

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

@continuewith/sdk

Shared helpers for the ContinueWith AI handoff widget — prompt builders, install snippets, agent skills metadata, and theme utilities.

Used by the public widget bundle, CLI, and MCP server. Safe to import in your own tooling.

Install

npm install @continuewith/sdk

Quick start

import {
  htmlWidgetSnippet,
  buildPrompt,
  buildProviderUrl,
  DEMO_PUBLIC_KEY,
  agentInstallRule,
} from '@continuewith/sdk';

const snippet = htmlWidgetSnippet({ siteKey: DEMO_PUBLIC_KEY });
const url = buildProviderUrl({
  provider: 'chatgpt',
  prompt: buildPrompt('Summarize {{url}}', { url: 'https://example.com' }),
});

Replace DEMO_PUBLIC_KEY (cw_demo_public_key) with your dashboard public key after signup.

Exports (high level)

AreaExamples
PromptsbuildPrompt, buildProviderUrl, providerLabels
InstallhtmlWidgetSnippet, widgetScriptUrl, hasContinueWithInstall
ThemenormalizeWidgetTheme, themeToCssBlock, themeToStyleObject
AgentsagentInstallRule, skills catalog in ./skills

Documentation

PackagePurpose
continuewithCLI — npx continuewith add
@continuewith/mcpMCP server for Cursor / Claude Code

Trust & security

What this package contains: TypeScript/JavaScript helpers only. No network calls, no credentials, no telemetry.

What is intentionally public: cw_demo_public_key — a read-only demo site key for trying the widget before signup. It is not a secret. Use your own key from the dashboard in production.

What is never shipped here: Stripe keys, Resend keys, Clerk secrets, database URLs, or private site keys.

Community

License

MIT © ContinueWith

Keywords

continuewith

FAQs

Package last updated on 06 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts