@inerrata-corporation/errata 2.0.0-dev.34 → 2.0.0-dev.36
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/consolidate-worker.mjs +33 -2
- package/errata.mjs +708 -265
- package/package.json +1 -1
- package/pass-worker.mjs +33 -2
package/package.json
CHANGED
package/pass-worker.mjs
CHANGED
|
@@ -14929,14 +14929,32 @@ var init_edge_rules = __esm({
|
|
|
14929
14929
|
}
|
|
14930
14930
|
});
|
|
14931
14931
|
|
|
14932
|
+
// ../../packages/shared/src/symbol-intent.ts
|
|
14933
|
+
var SYMBOL_SUMMARY_KINDS, MAX_SYMBOL_SUMMARY_CHARS, MAX_SIDECAR_SYMBOLS;
|
|
14934
|
+
var init_symbol_intent = __esm({
|
|
14935
|
+
"../../packages/shared/src/symbol-intent.ts"() {
|
|
14936
|
+
"use strict";
|
|
14937
|
+
SYMBOL_SUMMARY_KINDS = [
|
|
14938
|
+
"function",
|
|
14939
|
+
"method",
|
|
14940
|
+
"class",
|
|
14941
|
+
"interface",
|
|
14942
|
+
"constant"
|
|
14943
|
+
];
|
|
14944
|
+
MAX_SYMBOL_SUMMARY_CHARS = 300;
|
|
14945
|
+
MAX_SIDECAR_SYMBOLS = 200;
|
|
14946
|
+
}
|
|
14947
|
+
});
|
|
14948
|
+
|
|
14932
14949
|
// ../../packages/shared/src/wire.ts
|
|
14933
|
-
var CLOUD_NODE_LABELS, CLOUD_EDGE_TYPES, INGEST_SOURCES, INGEST_EXTRACTION_SOURCES, CastaliaIngestNodeSchema, RouteContextCountWireSchema, CastaliaIngestEdgeSchema, CastaliaIngestPayloadSchema;
|
|
14950
|
+
var CLOUD_NODE_LABELS, CLOUD_EDGE_TYPES, INGEST_SOURCES, INGEST_EXTRACTION_SOURCES, CastaliaIngestNodeSchema, RouteContextCountWireSchema, CastaliaIngestEdgeSchema, SymbolSummarySidecarSchema, CastaliaIngestPayloadSchema;
|
|
14934
14951
|
var init_wire = __esm({
|
|
14935
14952
|
"../../packages/shared/src/wire.ts"() {
|
|
14936
14953
|
"use strict";
|
|
14937
14954
|
init_zod();
|
|
14938
14955
|
init_castalia();
|
|
14939
14956
|
init_edge_rules();
|
|
14957
|
+
init_symbol_intent();
|
|
14940
14958
|
CLOUD_NODE_LABELS = [
|
|
14941
14959
|
...SEMANTIC_NODE_LABELS,
|
|
14942
14960
|
...CONTEXT_NODE_LABELS
|
|
@@ -14984,12 +15002,24 @@ var init_wire = __esm({
|
|
|
14984
15002
|
perContext: external_exports.record(external_exports.string(), RouteContextCountWireSchema).optional()
|
|
14985
15003
|
}).optional()
|
|
14986
15004
|
});
|
|
15005
|
+
SymbolSummarySidecarSchema = external_exports.record(
|
|
15006
|
+
external_exports.string().min(1).max(160),
|
|
15007
|
+
external_exports.object({
|
|
15008
|
+
kind: external_exports.enum(SYMBOL_SUMMARY_KINDS),
|
|
15009
|
+
summary: external_exports.string().min(1).max(MAX_SYMBOL_SUMMARY_CHARS)
|
|
15010
|
+
})
|
|
15011
|
+
).refine((m) => Object.keys(m).length <= MAX_SIDECAR_SYMBOLS, {
|
|
15012
|
+
message: `symbolSummaries sidecar exceeds ${MAX_SIDECAR_SYMBOLS} entries`
|
|
15013
|
+
});
|
|
14987
15014
|
CastaliaIngestPayloadSchema = external_exports.object({
|
|
14988
15015
|
/** Client-supplied UUID — one batch; pairs with the payload digest for replay. */
|
|
14989
15016
|
runId: external_exports.string().uuid(),
|
|
14990
15017
|
source: external_exports.enum(INGEST_SOURCES),
|
|
14991
15018
|
nodes: external_exports.array(CastaliaIngestNodeSchema).max(1e3),
|
|
14992
|
-
edges: external_exports.array(CastaliaIngestEdgeSchema).max(5e3)
|
|
15019
|
+
edges: external_exports.array(CastaliaIngestEdgeSchema).max(5e3),
|
|
15020
|
+
/** Optional symbol→intent-summary sidecar (PP-symbol-intent). Only symbols
|
|
15021
|
+
* present in this payload's node text; server re-vets no-verbatim. */
|
|
15022
|
+
symbolSummaries: SymbolSummarySidecarSchema.optional()
|
|
14993
15023
|
});
|
|
14994
15024
|
}
|
|
14995
15025
|
});
|
|
@@ -15017,6 +15047,7 @@ var init_src = __esm({
|
|
|
15017
15047
|
init_identity();
|
|
15018
15048
|
init_wire();
|
|
15019
15049
|
init_edge_rules();
|
|
15050
|
+
init_symbol_intent();
|
|
15020
15051
|
init_hash();
|
|
15021
15052
|
init_error_signature();
|
|
15022
15053
|
init_canonicalize();
|