@hypequery/protocol 0.0.0-canary-20260715085629 → 0.1.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.
Files changed (71) hide show
  1. package/README.md +9 -39
  2. package/dist/index.d.ts +8 -8
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +1 -4
  5. package/package.json +1 -4
  6. package/dist/expressions/errors.d.ts +0 -8
  7. package/dist/expressions/errors.d.ts.map +0 -1
  8. package/dist/expressions/errors.js +0 -13
  9. package/dist/expressions/index.d.ts +0 -5
  10. package/dist/expressions/index.d.ts.map +0 -1
  11. package/dist/expressions/index.js +0 -3
  12. package/dist/expressions/limits.d.ts +0 -4
  13. package/dist/expressions/limits.d.ts.map +0 -1
  14. package/dist/expressions/limits.js +0 -17
  15. package/dist/expressions/types.d.ts +0 -77
  16. package/dist/expressions/types.d.ts.map +0 -1
  17. package/dist/expressions/types.js +0 -1
  18. package/dist/expressions/validate.d.ts +0 -4
  19. package/dist/expressions/validate.d.ts.map +0 -1
  20. package/dist/expressions/validate.js +0 -338
  21. package/dist/identifiers/identifiers.d.ts +0 -14
  22. package/dist/identifiers/identifiers.d.ts.map +0 -1
  23. package/dist/identifiers/identifiers.js +0 -87
  24. package/dist/identifiers/index.d.ts +0 -4
  25. package/dist/identifiers/index.d.ts.map +0 -1
  26. package/dist/identifiers/index.js +0 -2
  27. package/dist/identifiers/types.d.ts +0 -16
  28. package/dist/identifiers/types.d.ts.map +0 -1
  29. package/dist/identifiers/types.js +0 -5
  30. package/dist/schemas/errors.d.ts +0 -8
  31. package/dist/schemas/errors.d.ts.map +0 -1
  32. package/dist/schemas/errors.js +0 -13
  33. package/dist/schemas/index.d.ts +0 -5
  34. package/dist/schemas/index.d.ts.map +0 -1
  35. package/dist/schemas/index.js +0 -3
  36. package/dist/schemas/limits.d.ts +0 -4
  37. package/dist/schemas/limits.d.ts.map +0 -1
  38. package/dist/schemas/limits.js +0 -18
  39. package/dist/schemas/types.d.ts +0 -60
  40. package/dist/schemas/types.d.ts.map +0 -1
  41. package/dist/schemas/types.js +0 -1
  42. package/dist/schemas/validate.d.ts +0 -3
  43. package/dist/schemas/validate.d.ts.map +0 -1
  44. package/dist/schemas/validate.js +0 -391
  45. package/dist/values/codec.d.ts +0 -13
  46. package/dist/values/codec.d.ts.map +0 -1
  47. package/dist/values/codec.js +0 -39
  48. package/dist/values/errors.d.ts +0 -8
  49. package/dist/values/errors.d.ts.map +0 -1
  50. package/dist/values/errors.js +0 -13
  51. package/dist/values/index.d.ts +0 -7
  52. package/dist/values/index.d.ts.map +0 -1
  53. package/dist/values/index.js +0 -4
  54. package/dist/values/jcs.d.ts +0 -2
  55. package/dist/values/jcs.d.ts.map +0 -1
  56. package/dist/values/jcs.js +0 -23
  57. package/dist/values/limits.d.ts +0 -4
  58. package/dist/values/limits.d.ts.map +0 -1
  59. package/dist/values/limits.js +0 -26
  60. package/dist/values/parser.d.ts +0 -3
  61. package/dist/values/parser.d.ts.map +0 -1
  62. package/dist/values/parser.js +0 -254
  63. package/dist/values/snapshot.d.ts +0 -3
  64. package/dist/values/snapshot.d.ts.map +0 -1
  65. package/dist/values/snapshot.js +0 -96
  66. package/dist/values/types.d.ts +0 -78
  67. package/dist/values/types.d.ts.map +0 -1
  68. package/dist/values/types.js +0 -1
  69. package/dist/values/validate.d.ts +0 -7
  70. package/dist/values/validate.d.ts.map +0 -1
  71. package/dist/values/validate.js +0 -332
@@ -1 +0,0 @@
1
- {"version":3,"file":"identifiers.d.ts","sourceRoot":"","sources":["../../src/identifiers/identifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EACjC,MAAM,YAAY,CAAC;AAMpB,qBAAa,uBAAwB,SAAQ,SAAS;IACpD,QAAQ,CAAC,IAAI,EAAE,2BAA2B,CAAC;gBAE/B,IAAI,EAAE,2BAA2B;CAK9C;AAmBD,sEAAsE;AACtE,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,CAE1E;AAED,yEAAyE;AACzE,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,OAAO,GACb,2BAA2B,CAc7B;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,2BAA2B,GACjC,SAAS,kBAAkB,EAAE,CAE/B;AAED,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,SAAS,OAAO,EAAE,GAC3B,2BAA2B,CAY7B;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,kBAAkB,CAOhF;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,2BAA2B,CAOtC"}
@@ -1,87 +0,0 @@
1
- import { PROTOCOL_IDENTIFIER_LIMITS, } from './types.js';
2
- const IDENTIFIER_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/;
3
- const RESERVED_PREFIX = '__hypequery';
4
- const textEncoder = new TextEncoder();
5
- export class ProtocolIdentifierError extends TypeError {
6
- code;
7
- constructor(code) {
8
- super(code);
9
- this.name = 'ProtocolIdentifierError';
10
- this.code = code;
11
- }
12
- }
13
- function identifierError(code) {
14
- throw new ProtocolIdentifierError(code);
15
- }
16
- function parseSegment(input, emptyCode) {
17
- if (typeof input !== 'string')
18
- identifierError('HQ_IDENTIFIER_TYPE');
19
- if (input.length === 0)
20
- identifierError(emptyCode);
21
- if (textEncoder.encode(input).byteLength > PROTOCOL_IDENTIFIER_LIMITS.maxSegmentBytes) {
22
- identifierError('HQ_IDENTIFIER_TOO_LONG');
23
- }
24
- if (!IDENTIFIER_PATTERN.test(input))
25
- identifierError('HQ_IDENTIFIER_INVALID_FORMAT');
26
- if (input.toLowerCase().startsWith(RESERVED_PREFIX)) {
27
- identifierError('HQ_IDENTIFIER_RESERVED');
28
- }
29
- return input;
30
- }
31
- /** Parses one portable, case-sensitive logical identifier segment. */
32
- export function parseProtocolIdentifier(input) {
33
- return parseSegment(input, 'HQ_IDENTIFIER_EMPTY');
34
- }
35
- /** Parses a dot-qualified portable identifier without normalizing it. */
36
- export function parseProtocolQualifiedIdentifier(input) {
37
- if (typeof input !== 'string')
38
- identifierError('HQ_IDENTIFIER_TYPE');
39
- if (input.length === 0)
40
- identifierError('HQ_IDENTIFIER_EMPTY');
41
- if (textEncoder.encode(input).byteLength > PROTOCOL_IDENTIFIER_LIMITS.maxQualifiedBytes) {
42
- identifierError('HQ_IDENTIFIER_TOO_LONG');
43
- }
44
- const segments = input.split('.');
45
- if (segments.length > PROTOCOL_IDENTIFIER_LIMITS.maxSegments) {
46
- identifierError('HQ_IDENTIFIER_TOO_MANY_SEGMENTS');
47
- }
48
- for (const segment of segments) {
49
- parseSegment(segment, 'HQ_IDENTIFIER_INVALID_FORMAT');
50
- }
51
- return input;
52
- }
53
- export function splitProtocolQualifiedIdentifier(input) {
54
- return Object.freeze(input.split('.'));
55
- }
56
- export function joinProtocolQualifiedIdentifier(segments) {
57
- if (segments.length === 0)
58
- identifierError('HQ_IDENTIFIER_EMPTY');
59
- if (segments.length > PROTOCOL_IDENTIFIER_LIMITS.maxSegments) {
60
- identifierError('HQ_IDENTIFIER_TOO_MANY_SEGMENTS');
61
- }
62
- const value = segments
63
- .map((segment) => parseSegment(segment, 'HQ_IDENTIFIER_INVALID_FORMAT'))
64
- .join('.');
65
- if (value.length > PROTOCOL_IDENTIFIER_LIMITS.maxQualifiedBytes) {
66
- identifierError('HQ_IDENTIFIER_TOO_LONG');
67
- }
68
- return value;
69
- }
70
- export function isProtocolIdentifier(input) {
71
- try {
72
- parseProtocolIdentifier(input);
73
- return true;
74
- }
75
- catch {
76
- return false;
77
- }
78
- }
79
- export function isProtocolQualifiedIdentifier(input) {
80
- try {
81
- parseProtocolQualifiedIdentifier(input);
82
- return true;
83
- }
84
- catch {
85
- return false;
86
- }
87
- }
@@ -1,4 +0,0 @@
1
- export { ProtocolIdentifierError, isProtocolIdentifier, isProtocolQualifiedIdentifier, joinProtocolQualifiedIdentifier, parseProtocolIdentifier, parseProtocolQualifiedIdentifier, splitProtocolQualifiedIdentifier, } from './identifiers.js';
2
- export { PROTOCOL_IDENTIFIER_LIMITS } from './types.js';
3
- export type { ProtocolIdentifier, ProtocolIdentifierErrorCode, ProtocolQualifiedIdentifier, } from './types.js';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/identifiers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,6BAA6B,EAC7B,+BAA+B,EAC/B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AACxD,YAAY,EACV,kBAAkB,EAClB,2BAA2B,EAC3B,2BAA2B,GAC5B,MAAM,YAAY,CAAC"}
@@ -1,2 +0,0 @@
1
- export { ProtocolIdentifierError, isProtocolIdentifier, isProtocolQualifiedIdentifier, joinProtocolQualifiedIdentifier, parseProtocolIdentifier, parseProtocolQualifiedIdentifier, splitProtocolQualifiedIdentifier, } from './identifiers.js';
2
- export { PROTOCOL_IDENTIFIER_LIMITS } from './types.js';
@@ -1,16 +0,0 @@
1
- export declare const PROTOCOL_IDENTIFIER_LIMITS: Readonly<{
2
- readonly maxSegmentBytes: 128;
3
- readonly maxQualifiedBytes: 512;
4
- readonly maxSegments: 8;
5
- }>;
6
- declare const protocolIdentifierBrand: unique symbol;
7
- declare const protocolQualifiedIdentifierBrand: unique symbol;
8
- export type ProtocolIdentifier = string & {
9
- readonly [protocolIdentifierBrand]: true;
10
- };
11
- export type ProtocolQualifiedIdentifier = string & {
12
- readonly [protocolQualifiedIdentifierBrand]: true;
13
- };
14
- export type ProtocolIdentifierErrorCode = 'HQ_IDENTIFIER_TYPE' | 'HQ_IDENTIFIER_EMPTY' | 'HQ_IDENTIFIER_TOO_LONG' | 'HQ_IDENTIFIER_INVALID_FORMAT' | 'HQ_IDENTIFIER_RESERVED' | 'HQ_IDENTIFIER_TOO_MANY_SEGMENTS';
15
- export {};
16
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/identifiers/types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B;;;;EAI5B,CAAC;AAEZ,OAAO,CAAC,MAAM,uBAAuB,EAAE,OAAO,MAAM,CAAC;AACrD,OAAO,CAAC,MAAM,gCAAgC,EAAE,OAAO,MAAM,CAAC;AAE9D,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,QAAQ,CAAC,CAAC,uBAAuB,CAAC,EAAE,IAAI,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG;IACjD,QAAQ,CAAC,CAAC,gCAAgC,CAAC,EAAE,IAAI,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,2BAA2B,GACnC,oBAAoB,GACpB,qBAAqB,GACrB,wBAAwB,GACxB,8BAA8B,GAC9B,wBAAwB,GACxB,iCAAiC,CAAC"}
@@ -1,5 +0,0 @@
1
- export const PROTOCOL_IDENTIFIER_LIMITS = Object.freeze({
2
- maxSegmentBytes: 128,
3
- maxQualifiedBytes: 512,
4
- maxSegments: 8,
5
- });
@@ -1,8 +0,0 @@
1
- import type { ProtocolSchemaErrorCode } from './types.js';
2
- export declare class ProtocolSchemaError extends TypeError {
3
- readonly code: ProtocolSchemaErrorCode;
4
- readonly path: string;
5
- constructor(code: ProtocolSchemaErrorCode, path?: string);
6
- }
7
- export declare function schemaError(code: ProtocolSchemaErrorCode, path?: string): never;
8
- //# sourceMappingURL=errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/schemas/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D,qBAAa,mBAAoB,SAAQ,SAAS;IAChD,QAAQ,CAAC,IAAI,EAAE,uBAAuB,CAAC;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;gBAEV,IAAI,EAAE,uBAAuB,EAAE,IAAI,SAAM;CAMtD;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,SAAM,GAAG,KAAK,CAE5E"}
@@ -1,13 +0,0 @@
1
- export class ProtocolSchemaError extends TypeError {
2
- code;
3
- path;
4
- constructor(code, path = '$') {
5
- super(`${code} at ${path}`);
6
- this.name = 'ProtocolSchemaError';
7
- this.code = code;
8
- this.path = path;
9
- }
10
- }
11
- export function schemaError(code, path = '$') {
12
- throw new ProtocolSchemaError(code, path);
13
- }
@@ -1,5 +0,0 @@
1
- export { ProtocolSchemaError } from './errors.js';
2
- export { DEFAULT_PROTOCOL_SCHEMA_LIMITS } from './limits.js';
3
- export { validateProtocolSchema } from './validate.js';
4
- export type { ProtocolSchema, ProtocolSchemaErrorCode, ProtocolSchemaLimits, ProtocolSchemaOptions, } from './types.js';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EACV,cAAc,EACd,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,YAAY,CAAC"}
@@ -1,3 +0,0 @@
1
- export { ProtocolSchemaError } from './errors.js';
2
- export { DEFAULT_PROTOCOL_SCHEMA_LIMITS } from './limits.js';
3
- export { validateProtocolSchema } from './validate.js';
@@ -1,4 +0,0 @@
1
- import type { ProtocolSchemaLimits, ProtocolSchemaOptions } from './types.js';
2
- export declare const DEFAULT_PROTOCOL_SCHEMA_LIMITS: Readonly<ProtocolSchemaLimits>;
3
- export declare function resolveSchemaLimits(options?: ProtocolSchemaOptions): Readonly<ProtocolSchemaLimits>;
4
- //# sourceMappingURL=limits.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../../src/schemas/limits.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAE9E,eAAO,MAAM,8BAA8B,EAAE,QAAQ,CAAC,oBAAoB,CAKxE,CAAC;AAEH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE,qBAA0B,GAClC,QAAQ,CAAC,oBAAoB,CAAC,CAWhC"}
@@ -1,18 +0,0 @@
1
- export const DEFAULT_PROTOCOL_SCHEMA_LIMITS = Object.freeze({
2
- maxDepth: 16,
3
- maxNodes: 1_000,
4
- maxCollectionItems: 100,
5
- maxDescriptionBytes: 4_096,
6
- });
7
- export function resolveSchemaLimits(options = {}) {
8
- const limits = { ...DEFAULT_PROTOCOL_SCHEMA_LIMITS };
9
- for (const key of Object.keys(options.limits ?? {})) {
10
- const value = options.limits?.[key];
11
- if (!Number.isSafeInteger(value) || value < 1
12
- || value > DEFAULT_PROTOCOL_SCHEMA_LIMITS[key]) {
13
- throw new RangeError(`${key} must be a positive integer no greater than the protocol v1 maximum`);
14
- }
15
- limits[key] = value;
16
- }
17
- return Object.freeze(limits);
18
- }
@@ -1,60 +0,0 @@
1
- import type { ProtocolIdentifier } from '../identifiers/index.js';
2
- import type { CanonicalValue } from '../values/index.js';
3
- interface ProtocolSchemaAnnotations {
4
- readonly description?: string;
5
- readonly default?: CanonicalValue;
6
- }
7
- export type ProtocolSchema = (ProtocolSchemaAnnotations & {
8
- readonly kind: 'any';
9
- }) | {
10
- readonly kind: 'void';
11
- readonly description?: string;
12
- } | (ProtocolSchemaAnnotations & {
13
- readonly kind: 'null';
14
- }) | (ProtocolSchemaAnnotations & {
15
- readonly kind: 'boolean';
16
- }) | (ProtocolSchemaAnnotations & {
17
- readonly kind: 'string';
18
- readonly minLength?: number;
19
- readonly maxLength?: number;
20
- }) | (ProtocolSchemaAnnotations & {
21
- readonly kind: 'number' | 'integer';
22
- readonly minimum?: number;
23
- readonly exclusiveMinimum?: number;
24
- readonly maximum?: number;
25
- readonly exclusiveMaximum?: number;
26
- }) | (ProtocolSchemaAnnotations & {
27
- readonly kind: 'literal';
28
- readonly value: CanonicalValue;
29
- }) | (ProtocolSchemaAnnotations & {
30
- readonly kind: 'enum';
31
- readonly values: readonly CanonicalValue[];
32
- }) | (ProtocolSchemaAnnotations & {
33
- readonly kind: 'array';
34
- readonly items: ProtocolSchema;
35
- readonly minItems?: number;
36
- readonly maxItems?: number;
37
- }) | (ProtocolSchemaAnnotations & {
38
- readonly kind: 'object';
39
- readonly properties: Readonly<Record<ProtocolIdentifier, ProtocolSchema>>;
40
- readonly required: readonly ProtocolIdentifier[];
41
- readonly unknownProperties: 'reject' | 'strip' | 'preserve';
42
- }) | (ProtocolSchemaAnnotations & {
43
- readonly kind: 'record';
44
- readonly values: ProtocolSchema;
45
- }) | (ProtocolSchemaAnnotations & {
46
- readonly kind: 'union';
47
- readonly variants: readonly ProtocolSchema[];
48
- });
49
- export interface ProtocolSchemaLimits {
50
- readonly maxDepth: number;
51
- readonly maxNodes: number;
52
- readonly maxCollectionItems: number;
53
- readonly maxDescriptionBytes: number;
54
- }
55
- export interface ProtocolSchemaOptions {
56
- readonly limits?: Partial<ProtocolSchemaLimits>;
57
- }
58
- export type ProtocolSchemaErrorCode = 'HQ_SCHEMA_TYPE' | 'HQ_SCHEMA_UNKNOWN_FIELD' | 'HQ_SCHEMA_UNKNOWN_KIND' | 'HQ_SCHEMA_INVALID_IDENTIFIER' | 'HQ_SCHEMA_INVALID_VALUE' | 'HQ_SCHEMA_INVALID_CONSTRAINT' | 'HQ_S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,SAAS,cAAc,EAAE,CAAC;CAC9C,CAAC,CAAC;AAEP,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACjD;AAED,MAAM,MAAM,uBAAuB,GAC/B,gBAAgB,GAChB,yBAAyB,GACzB,wBAAwB,GACxB,8BAA8B,GAC9B,yBAAyB,GACzB,8BAA8B,GAC9B,4BAA4B,GAC5B,2BAA2B,GAC3B,oBAAoB,GACpB,0BAA0B,GAC1B,0BAA0B,GAC1B,qBAAqB,GACrB,yBAAyB,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import type { ProtocolSchema, ProtocolSchemaOptions } from './types.js';
2
- export declare function validateProtocolSchema(input: unknown, options?: ProtocolSchemaOptions): ProtocolSchema;
3
- //# sourceMappingURL=validate.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../src/schemas/validate.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,cAAc,EAEd,qBAAqB,EACtB,MAAM,YAAY,CAAC;AA2ZpB,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,OAAO,EACd,OAAO,GAAE,qBAA0B,GAClC,cAAc,CAMhB"}