@toolgrain/protocol 0.0.0-stage → 0.1.0-rc.0
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/LICENSE +32 -0
- package/NOTICE +27 -0
- package/README.md +68 -2
- package/dist/index.d.ts +7 -0
- package/dist/index.js +9 -0
- package/dist/legacy.d.ts +2 -0
- package/dist/legacy.js +2 -0
- package/dist/responses.d.ts +8 -0
- package/dist/responses.js +1 -0
- package/dist/vendor/2025-06-18/LICENSE +216 -0
- package/dist/vendor/2025-06-18/provenance.json +15 -0
- package/dist/vendor/2025-06-18/schema.d.ts +1454 -0
- package/dist/vendor/2025-06-18/schema.js +11 -0
- package/dist/vendor/2025-06-18/schema.ts +1613 -0
- package/dist/vendor/2026-07-28/LICENSE +216 -0
- package/dist/vendor/2026-07-28/provenance.json +15 -0
- package/dist/vendor/2026-07-28/schema.d.ts +2874 -0
- package/dist/vendor/2026-07-28/schema.js +52 -0
- package/dist/vendor/2026-07-28/schema.ts +3197 -0
- package/package.json +59 -4
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* JSON-RPC types */
|
|
2
|
+
/** @internal */
|
|
3
|
+
export const LATEST_PROTOCOL_VERSION = "2025-06-18";
|
|
4
|
+
/** @internal */
|
|
5
|
+
export const JSONRPC_VERSION = "2.0";
|
|
6
|
+
// Standard JSON-RPC error codes
|
|
7
|
+
export const PARSE_ERROR = -32700;
|
|
8
|
+
export const INVALID_REQUEST = -32600;
|
|
9
|
+
export const METHOD_NOT_FOUND = -32601;
|
|
10
|
+
export const INVALID_PARAMS = -32602;
|
|
11
|
+
export const INTERNAL_ERROR = -32603;
|