@perpscope/percolator-adapter 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,11 +1,18 @@
1
1
  # @perpscope/percolator-adapter
2
2
 
3
- Read-only adapter helpers for Solana perps terminals that want PerpScope DTOs without adopting the cockpit UI.
3
+ Read-only CLI and adapter helpers for Solana perps terminals that want PerpScope compatibility checks and DTOs without adopting the cockpit UI.
4
4
 
5
5
  ```bash
6
6
  npm install @perpscope/percolator-adapter
7
+ npx perpscope init perpscope.capture.json
8
+ npx perpscope compat doctor perpscope.capture.json --strict
9
+ npx perpscope compat badge perpscope.capture.json
7
10
  ```
8
11
 
12
+ `perpscope init` creates a sanitized starter capture. `compat doctor` tells you whether required fields pass and what to map next. `compat badge` gives you a tiny Markdown/JSON summary for READMEs, PRs, and issue handoffs.
13
+
14
+ Doctor exit codes are CI-ready: `0` means required fields pass, `1` means rejected or required fields missing, and `2` means strict mode found useful-field gaps, unknown fields, or alias suggestions.
15
+
9
16
  ```js
10
17
  import {
11
18
  buildPercolatorCompatibilityReport,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perpscope/percolator-adapter",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "description": "Read-only Percolator adapter helpers for Solana perps terminals.",
6
6
  "main": "./index.js",
@@ -1,6 +1,6 @@
1
1
  import { normalizeFundingSkewHistory } from "./funding-history.js";
2
2
 
3
- export const PERPSCOPE_ADAPTER_VERSION = "1.0.0";
3
+ export const PERPSCOPE_ADAPTER_VERSION = "1.0.1";
4
4
 
5
5
  const KEYPAIR_FIELD_PATTERN = /(^|_)(secret|private|keypair|mnemonic|seed|walletPath|wallet)(_|$)/i;
6
6
  const HISTORY_COMMAND_KEYS = new Set([