Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ When editing Python or Rust pages, keep the structure aligned with the existing

## SDK References

- Typescript: <https://github.com/wevm/mpay>
- Typescript: <https://github.com/wevm/mppx>
- Python: <https://github.com/tempoxyz/pympay>
- Rust: <<https://github.com/tempoxyz/mpay-rs>

Expand All @@ -66,7 +66,7 @@ When multiple approaches exist, recommend one as the default. Don't present opti

**Examples:**

- Client SDK: Lead with `Fetch.polyfill`, move `Fetch.from` and `Mpay.create` to Advanced options
- Client SDK: Lead with `Fetch.polyfill`, move `Fetch.from` and `Mppx.create` to Advanced options
- Building with AI: Lead with `llms-full.txt`, move MCP/skills/markdown to Advanced options
- Installation: Show npm first in a code-group, not a table of choices

Expand All @@ -87,8 +87,8 @@ Brief one-line description of what this function does.
## Usage

```ts twoslash [example.ts]
import { Module } from 'mpay'
// or 'mpay/client' or 'mpay/server'
import { Module } from 'mppx'
// or 'mppx/client' or 'mppx/server'

const result = Module.method({
param1: 'value1',
Expand All @@ -104,7 +104,7 @@ console.log(result)
Description of what this variant does and when to use it.

```ts twoslash [example.ts]
import { Module, Transport } from 'mpay'
import { Module, Transport } from 'mppx'

const result = Module.method({
param1: 'value1',
Expand Down Expand Up @@ -148,7 +148,7 @@ Creates a fetch wrapper that automatically handles 402 Payment Required response
::::code-group

```ts twoslash [example.ts]
import { Fetch, tempo } from 'mpay/client'
import { Fetch, tempo } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

const fetch = Fetch.from({
Expand Down Expand Up @@ -234,7 +234,7 @@ Use `<Badge variant="...">` in tables to indicate status or maturity. Import fro
## Rules

1. **Alphabetize everything** - Object properties in code examples and ### parameter headings must be alphabetically ordered
12. **No `// @noErrors` in twoslash** - NEVER use `// @noErrors` in twoslash code blocks. All snippets must typecheck against the installed mpay types. If a snippet fails, fix the snippet or bump the mpay version — do not suppress the error.
12. **No `// @noErrors` in twoslash** - NEVER use `// @noErrors` in twoslash code blocks. All snippets must typecheck against the installed mppx types. If a snippet fails, fix the snippet or bump the mppx version — do not suppress the error.
2. **No code-groups for variants** - Use separate ### sections under ## Usage for different usage patterns (e.g., `### With MCP Transport`), not `:::code-group`
3. **Keep descriptions concise** - One line for the intro, brief explanations for parameters
4. **Show realistic examples** - Use actual values that make sense
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.15/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@
"class-variance-authority": "^0.7.1",
"dayjs": "^1.11.19",
"mermaid": "^11.12.2",
"mpay": "https://pkg.pr.new/wevm/mpay@65",
"mppx": "~0.1.0",
"react": "^19",
"react-dom": "^19",
"tailwindcss": "^4.1.18",
"tempo.ts": "~0.14.0",
"viem": "latest",
"vocs": "https://pkg.pr.new/wevm/vocs@5647cea",
"vocs": "https://pkg.pr.new/wevm/vocs@f365626",
"wagmi": "^3.4.2",
"waku": "^1.0.0-alpha.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm check"
},
"devDependencies": {
"@biomejs/biome": "^2.3.13",
"@biomejs/biome": "^2.3.15",
"@hiogawa/node-loader-cloudflare": "^0.0.2",
"@iconify/json": "^2.2.433",
"@types/node": "^22",
Expand Down
13 changes: 13 additions & 0 deletions patches/vocs@0.0.0.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
diff --git a/package.json b/package.json
index 1234567..abcdefg 100644
--- a/package.json
+++ b/package.json
@@ -221,8 +221,7 @@
"docs:dev": "pnpm --filter site dev",
"docs:preview": "pnpm --filter site preview",
"docs:twoslash": "cd site && tsx ../src/cli.ts twoslash",
- "postinstall": "pnpm dev",
"test": "vitest ./src",
"test:twoslash-rust": "cargo test --manifest-path twoslash-rust/Cargo.toml"
}
}
diff --git a/dist/internal/config.js b/dist/internal/config.js
index d82a6451fff200ca2271a946ca044754b1127280..a6eaff24ab51c4688d52be9487237d7b1940f453 100644
--- a/dist/internal/config.js
Expand Down
Loading