mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-16 20:11:08 +00:00
* feat(plugins): add isolated plugin host runtime * test(plugins): build runtime dependencies before tests * fix(plugins): harden runtime lifecycle and recovery * fix(plugins): harden runtime extension boundaries * fix(plugins): enforce runtime integrity boundaries * fix(plugins): await utility process exit * fix(plugins): harden utility process containment * fix(plugins): close runtime recovery gaps * fix(plugins): harden runtime lifecycle boundaries
16 lines
987 B
TypeScript
16 lines
987 B
TypeScript
// This file is generated from schema/plugin-contract.schema.json.
|
|
// Run `npm run generate:plugin-contract` after changing the contract.
|
|
// Do not edit this file directly.
|
|
|
|
export const PLUGIN_JSON_MAX_DEPTH = 128 as const;
|
|
export const PLUGIN_JSON_MAX_NODES = 100000 as const;
|
|
export const PLUGIN_WIRE_MAX_SAFE_INTEGER = 9007199254740991 as const;
|
|
export const PLUGIN_RPC_MAX_JSON_BYTES = 1048576 as const;
|
|
export const PLUGIN_RPC_ERROR_CODES = [-32700,-32600,-32601,-32602,-32603,-32001,-32002,-32003,-32004,-32005,-32006,-32007,-32008,-32009,-32010,-32011,-32012,-32013,-32014,-32015,-32016] as const;
|
|
export const PLUGIN_STREAM_MAX_ID_LENGTH = 128 as const;
|
|
export const PLUGIN_STREAM_MAX_CHUNK_BYTES = 16777216 as const;
|
|
export const PLUGIN_STREAM_MAX_FRAME_JSON_BYTES = 25165824 as const;
|
|
export const PLUGIN_STREAM_MIN_WINDOW_BYTES = 1024 as const;
|
|
export const PLUGIN_STREAM_MAX_WINDOW_BYTES = 16777216 as const;
|
|
export const PLUGIN_STREAM_MAX_CREDIT_BYTES = 16777216 as const;
|