archgraph-argo-beta 0.27.0-beta.12 → 0.27.0-beta.14
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.
|
@@ -134,7 +134,7 @@ const TOOLS = [
|
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
name: 'getIntentElementContext',
|
|
137
|
-
description: 'read-only query that returns an intent subgraph context for one element. Uses ArchiMate semantic dependency traversal with dependencyDepth and dependentDepth, preserving native subgraph elements, relationships, and views.',
|
|
137
|
+
description: 'read-only query that returns an intent subgraph context for one element. Uses ArchiMate semantic dependency traversal with dependencyDepth and dependentDepth, preserving native subgraph elements, relationships, and views. Output is bounded by maxBytes (default ARGO_CONTEXT_MAX_BYTES or 32000): beyond it non-focus members degrade to identity (id/type/name) with a complete id manifest under truncation, so the host never silently cuts the payload. On a large/hub element leave includeAttributes/includeTestcases off and prefer queryNeo4jGraph to locate ids, then read them narrowly.',
|
|
138
138
|
inputSchema: intentElementContextInputSchema(),
|
|
139
139
|
},
|
|
140
140
|
{
|
|
@@ -343,8 +343,9 @@ function intentElementContextInputSchema() {
|
|
|
343
343
|
dependentDepth: { type: 'number', description: 'Default: 1. Semantic dependents that rely on the focus element.' },
|
|
344
344
|
associationDepth: { type: 'number', description: 'Default: 1. Association neighbors are expanded at least one layer.' },
|
|
345
345
|
associationNeighborDependencyDepth: { type: 'number', description: 'Default: 0. Optional dependency expansion from association neighbors.' },
|
|
346
|
-
includeAttributes: { type: 'boolean', description: 'Default: false. Include `attributes` (commit/session/release ledgers) verbatim; omitted by default from this structural read (the focus element always keeps its own).' },
|
|
347
|
-
includeTestcases: { type: 'boolean', description: 'Default: false. Include member `testcases` verbatim; omitted by default from this structural read.' },
|
|
346
|
+
includeAttributes: { type: 'boolean', description: 'Default: false. Include `attributes` (commit/session/release ledgers) verbatim; omitted by default from this structural read (the focus element always keeps its own). On a hub element this ledger can dominate the payload.' },
|
|
347
|
+
includeTestcases: { type: 'boolean', description: 'Default: false. Include member `testcases` verbatim; omitted by default from this structural read. On a hub element this can be large.' },
|
|
348
|
+
maxBytes: { type: 'number', description: 'Optional output budget in UTF-8 bytes. Default: ARGO_CONTEXT_MAX_BYTES env or 32000. 0 = unlimited. Above the budget, non-focus members degrade to identity (id/type/name) with a complete id manifest under `truncation`; the payload is never silently truncated by the host.' },
|
|
348
349
|
},
|
|
349
350
|
additionalProperties: false,
|
|
350
351
|
};
|
|
@@ -101,6 +101,7 @@ const HOST_ONLY_ENV_KEYS = Object.freeze([
|
|
|
101
101
|
'ARGO_SEMANTIC_DEDUP_THRESHOLD',
|
|
102
102
|
'ARGO_COST_PROFILER',
|
|
103
103
|
'ARGO_COST_TRACE_MAX_BYTES',
|
|
104
|
+
'ARGO_CONTEXT_MAX_BYTES',
|
|
104
105
|
]);
|
|
105
106
|
const PROHIBITED_RUNTIME_FIELD_KEYS = Object.freeze(['neo4jUri', 'embeddingCredential']);
|
|
106
107
|
const SECRET_KEYS = new Set(['ARGO_NEO4J_DATABASE_PASSWORD', 'QWEN_KEY', 'ARGO_RERANK_API_KEY', EMBEDDING_API_KEY_KEY]);
|
|
@@ -227,12 +227,12 @@ const TOOLS = [
|
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
name: 'getIntentElementContext',
|
|
230
|
-
description: 'read-only query that returns an intent subgraph context for one element. Uses ArchiMate semantic dependency traversal with dependencyDepth and dependentDepth, preserving native subgraph elements, relationships, and views.',
|
|
230
|
+
description: 'read-only query that returns an intent subgraph context for one element. Uses ArchiMate semantic dependency traversal with dependencyDepth and dependentDepth, preserving native subgraph elements, relationships, and views. Output is bounded by maxBytes (default ARGO_CONTEXT_MAX_BYTES or 32000): beyond it non-focus members degrade to identity (id/type/name) and a complete id manifest is returned under truncation, so the host never silently cuts the payload. On a large/hub element leave includeAttributes/includeTestcases off (they are the ledger and can dominate the size) and prefer queryNeo4jGraph to locate ids, then read them narrowly.',
|
|
231
231
|
inputSchema: intentElementContextInputSchema(),
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
name: 'getArchitectureViewContext',
|
|
235
|
-
description: 'read-only query that resolves one view by view_id into its complete membership: the view object, every member element (from included_elements), every member relationship (from included_relationships), the parent element, and optionally child sub-views declared by member elements. Resolves ids into full canonical objects instead of returning raw id lists. Optional includeEaGeometry (default false) additionally returns the EA diagram geometry of the resolved view: element boxes plus each connector ROUTE (t_diagramlinks.Path as `path` + parsed `points`, with the non-route Geometry override kept separately under `geometry`).',
|
|
235
|
+
description: 'read-only query that resolves one view by view_id into its complete membership: the view object, every member element (from included_elements), every member relationship (from included_relationships), the parent element, and optionally child sub-views declared by member elements. Resolves ids into full canonical objects instead of returning raw id lists. Output is bounded by maxBytes (default ARGO_CONTEXT_MAX_BYTES or 32000): beyond it members degrade to identity (id/type/name) with a complete id manifest under truncation. Optional includeEaGeometry (default false) additionally returns the EA diagram geometry of the resolved view: element boxes plus each connector ROUTE (t_diagramlinks.Path as `path` + parsed `points`, with the non-route Geometry override kept separately under `geometry`).',
|
|
236
236
|
inputSchema: viewContextInputSchema(),
|
|
237
237
|
},
|
|
238
238
|
{
|
|
@@ -483,8 +483,9 @@ function intentElementContextInputSchema() {
|
|
|
483
483
|
dependentDepth: { type: 'number', description: 'Default: 1. Semantic dependents that rely on the focus element.' },
|
|
484
484
|
associationDepth: { type: 'number', description: 'Default: 1. Association neighbors are expanded at least one layer.' },
|
|
485
485
|
associationNeighborDependencyDepth: { type: 'number', description: 'Default: 0. Optional dependency expansion from association neighbors.' },
|
|
486
|
-
includeAttributes: { type: 'boolean', description: 'Default: false. Include `attributes` (commit/session/release ledgers) verbatim. Omitted by default from this structural read; the focus element always keeps its own. Semantic retrieval embeds attributes, so semantic hits keep them.' },
|
|
487
|
-
includeTestcases: { type: 'boolean', description: 'Default: false. Include member `testcases` verbatim. Omitted by default from this structural read (bookkeeping); pass true when you need acceptance cases. Semantic retrieval embeds testcase descriptions, so semantic hits keep them.' },
|
|
486
|
+
includeAttributes: { type: 'boolean', description: 'Default: false. Include `attributes` (commit/session/release ledgers) verbatim. Omitted by default from this structural read; the focus element always keeps its own. Semantic retrieval embeds attributes, so semantic hits keep them. On a hub element this ledger can dominate the payload — prefer leaving it off and reading bookkeeping narrowly.' },
|
|
487
|
+
includeTestcases: { type: 'boolean', description: 'Default: false. Include member `testcases` verbatim. Omitted by default from this structural read (bookkeeping); pass true when you need acceptance cases. Semantic retrieval embeds testcase descriptions, so semantic hits keep them. On a hub element this can be large — prefer leaving it off.' },
|
|
488
|
+
maxBytes: { type: 'number', description: 'Optional output budget in UTF-8 bytes (the exact serialized response). Default: ARGO_CONTEXT_MAX_BYTES env or 32000. 0 = unlimited. When the payload exceeds the budget, non-focus members degrade to identity (id/type/name) and a complete id manifest is returned under `truncation` — the payload is never silently truncated by the host.' },
|
|
488
489
|
},
|
|
489
490
|
additionalProperties: false,
|
|
490
491
|
};
|
|
@@ -502,6 +503,7 @@ function viewContextInputSchema() {
|
|
|
502
503
|
includeAttributes: { type: 'boolean', description: 'Default: false. Include member/relationship `attributes` (commit/session/release ledgers) verbatim. Omitted by default from this structural read (bookkeeping); pass true when you need provenance.' },
|
|
503
504
|
includeTestcases: { type: 'boolean', description: 'Default: false. Include member `testcases` verbatim. Omitted by default from this structural read; pass true for acceptance-case lookups.' },
|
|
504
505
|
includeEaGeometry: { type: 'boolean', description: 'Default: false (opt-in). When true, additionally resolve the diagram GEOMETRY (element boxes + connector line routes) for this view from the workspace EA model (.qea) and return it under a `geometry` field aligned by schema id with the resolved members. Each geometry relationship carries: `path` (the EA route from t_diagramlinks.Path, "" when EA auto-routes), `points` (the parsed [{x,y}] waypoints), `edge` (the EDGE route-style token or null) and `geometry` (the raw SX/SY/EX/EY override string, which contains NO waypoints). By default the EA model is never touched and no `geometry` field is returned; a missing EA model/diagram yields geometry.present=false, never an error.' },
|
|
506
|
+
maxBytes: { type: 'number', description: 'Optional output budget in UTF-8 bytes (the exact serialized response). Default: ARGO_CONTEXT_MAX_BYTES env or 32000. 0 = unlimited. When the payload exceeds the budget, members degrade to identity (id/type/name) and a complete id manifest is returned under `truncation` — the payload is never silently truncated by the host.' },
|
|
505
507
|
},
|
|
506
508
|
additionalProperties: false,
|
|
507
509
|
};
|
|
@@ -686,6 +688,233 @@ function buildAgentProjection(omitted) {
|
|
|
686
688
|
};
|
|
687
689
|
}
|
|
688
690
|
|
|
691
|
+
// ---------------------------------------------------------------------------
|
|
692
|
+
// Context output budget (bounded, well-formed structural reads)
|
|
693
|
+
// ---------------------------------------------------------------------------
|
|
694
|
+
// A hub element/view can expand a semantic subgraph to tens of KB, which the
|
|
695
|
+
// HOST then cuts mid-JSON — the agent receives a malformed partial observation.
|
|
696
|
+
// This budget makes the ceiling the framework's, not the host's: above maxBytes
|
|
697
|
+
// the non-focus members degrade to identity (id/type/name), the focus element +
|
|
698
|
+
// boundary/explorationHints are kept, and EVERY included id is listed under
|
|
699
|
+
// `truncation` — so the payload is always valid JSON and always navigable.
|
|
700
|
+
// Default (or ARGO_CONTEXT_MAX_BYTES); 0 = unlimited. Semantic retrieval is NOT
|
|
701
|
+
// affected (only these two structural builders).
|
|
702
|
+
const DEFAULT_CONTEXT_MAX_BYTES = 32000;
|
|
703
|
+
const CONTEXT_BUDGET_NOTE =
|
|
704
|
+
'The full payload exceeded maxBytes, so non-focus members are reduced to identity '
|
|
705
|
+
+ '(id/type/name). The focus element and boundary/explorationHints are kept and every '
|
|
706
|
+
+ 'included id is listed here. Raise maxBytes (0 = unlimited) or narrow the traversal '
|
|
707
|
+
+ '(dependencyDepth/dependentDepth) to read details.';
|
|
708
|
+
|
|
709
|
+
function resolveContextMaxBytes(args = {}) {
|
|
710
|
+
const raw = args && args.maxBytes !== undefined ? args.maxBytes : process.env.ARGO_CONTEXT_MAX_BYTES;
|
|
711
|
+
if (raw === undefined || raw === null || raw === '') {
|
|
712
|
+
return DEFAULT_CONTEXT_MAX_BYTES;
|
|
713
|
+
}
|
|
714
|
+
const numeric = Number(raw);
|
|
715
|
+
if (!Number.isFinite(numeric) || numeric < 0) {
|
|
716
|
+
return DEFAULT_CONTEXT_MAX_BYTES;
|
|
717
|
+
}
|
|
718
|
+
return Math.floor(numeric);
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
// Budget is measured on the EXACT serialization the caller receives
|
|
722
|
+
// (`toolResult` pretty-prints with 2 spaces), in UTF-8 bytes.
|
|
723
|
+
function payloadByteLength(value) {
|
|
724
|
+
try { return Buffer.byteLength(JSON.stringify(value, null, 2)); } catch (_) { return 0; }
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
function identityElementRecord(element) {
|
|
728
|
+
return { id: element.id, name: element.name, type: element.type };
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
function identityRelationshipRecord(relationship) {
|
|
732
|
+
return {
|
|
733
|
+
id: relationship.id,
|
|
734
|
+
name: relationship.name,
|
|
735
|
+
type: relationship.type,
|
|
736
|
+
source_id: relationship.source_id,
|
|
737
|
+
target_id: relationship.target_id,
|
|
738
|
+
};
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
function identityViewRecord(view) {
|
|
742
|
+
return { view_id: view.view_id, view_name: view.view_name };
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
function budgetTruncationBase(result, maxBytes, fullBytes, ids) {
|
|
746
|
+
return {
|
|
747
|
+
truncated: true,
|
|
748
|
+
reason: 'context_budget_exceeded',
|
|
749
|
+
maxBytes,
|
|
750
|
+
fullBytes,
|
|
751
|
+
includedElementIds: ids.elements,
|
|
752
|
+
includedRelationshipIds: ids.relationships,
|
|
753
|
+
includedViewIds: ids.views,
|
|
754
|
+
note: CONTEXT_BUDGET_NOTE,
|
|
755
|
+
};
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
// Shrink the manifest id lists (last resort) so even a pathological hub stays
|
|
759
|
+
// within budget. The focus id is never dropped; `manifestTruncated` records any
|
|
760
|
+
// real loss of a listed id.
|
|
761
|
+
function trimManifestToBudget(result, maxBytes) {
|
|
762
|
+
const truncation = result.truncation;
|
|
763
|
+
const focusId = result.focusElementId;
|
|
764
|
+
// If the FOCUS element alone already exceeds the budget, trimming the (cheap)
|
|
765
|
+
// id manifest cannot get us under it — and dropping ids would only lose
|
|
766
|
+
// navigation for nothing. Keep the COMPLETE manifest and say why.
|
|
767
|
+
const focusOnly = {
|
|
768
|
+
...result,
|
|
769
|
+
truncation: {
|
|
770
|
+
...truncation,
|
|
771
|
+
includedElementIds: focusId ? [focusId] : [],
|
|
772
|
+
includedRelationshipIds: [],
|
|
773
|
+
includedViewIds: [],
|
|
774
|
+
},
|
|
775
|
+
};
|
|
776
|
+
if (focusId && payloadByteLength(focusOnly) > maxBytes) {
|
|
777
|
+
truncation.overBudgetByFocus = true;
|
|
778
|
+
return;
|
|
779
|
+
}
|
|
780
|
+
const arrays = ['includedElementIds', 'includedRelationshipIds', 'includedViewIds'];
|
|
781
|
+
for (let ratio = 0.9; ratio >= 0; ratio -= 0.1) {
|
|
782
|
+
for (const key of arrays) {
|
|
783
|
+
const full = truncation[key] || [];
|
|
784
|
+
const kept = full.slice(0, Math.ceil(full.length * ratio));
|
|
785
|
+
if (key === 'includedElementIds' && focusId && !kept.includes(focusId)) {
|
|
786
|
+
kept.unshift(focusId);
|
|
787
|
+
}
|
|
788
|
+
truncation[key] = kept;
|
|
789
|
+
}
|
|
790
|
+
truncation.manifestTruncated = true;
|
|
791
|
+
if (payloadByteLength(result) <= maxBytes) return;
|
|
792
|
+
}
|
|
793
|
+
truncation.manifestTruncated = true;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
function applyContextBudget(result, maxBytes) {
|
|
797
|
+
if (!result || result.status !== 'passed' || !maxBytes || maxBytes <= 0) {
|
|
798
|
+
return result;
|
|
799
|
+
}
|
|
800
|
+
const fullBytes = payloadByteLength(result);
|
|
801
|
+
if (fullBytes <= maxBytes) {
|
|
802
|
+
return result;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
const subgraph = result.subgraph || {};
|
|
806
|
+
const elements = Array.isArray(subgraph.elements) ? subgraph.elements : [];
|
|
807
|
+
const relationships = Array.isArray(subgraph.relationships) ? subgraph.relationships : [];
|
|
808
|
+
const views = Array.isArray(subgraph.views) ? subgraph.views : [];
|
|
809
|
+
const focusId = result.focusElementId;
|
|
810
|
+
const ids = {
|
|
811
|
+
elements: elements.map((entry) => entry.id),
|
|
812
|
+
relationships: relationships.map((entry) => entry.id),
|
|
813
|
+
views: views.map((entry) => entry.view_id),
|
|
814
|
+
};
|
|
815
|
+
const truncated = (tier) => budgetTruncationBase(result, maxBytes, fullBytes, ids);
|
|
816
|
+
const nonFocusCount = elements.filter((entry) => entry.id !== focusId).length;
|
|
817
|
+
|
|
818
|
+
const compact = {
|
|
819
|
+
...result,
|
|
820
|
+
subgraph: {
|
|
821
|
+
...subgraph,
|
|
822
|
+
elements: elements.map((entry) => (entry.id === focusId ? entry : identityElementRecord(entry))),
|
|
823
|
+
relationships: relationships.map(identityRelationshipRecord),
|
|
824
|
+
views: views.map(identityViewRecord),
|
|
825
|
+
},
|
|
826
|
+
truncation: { ...truncated('identity'), omittedElementDetails: nonFocusCount },
|
|
827
|
+
};
|
|
828
|
+
if (payloadByteLength(compact) <= maxBytes) {
|
|
829
|
+
return compact;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
const idsOnly = {
|
|
833
|
+
...result,
|
|
834
|
+
subgraph: {
|
|
835
|
+
...subgraph,
|
|
836
|
+
elements: elements.map((entry) => (entry.id === focusId ? entry : { id: entry.id })),
|
|
837
|
+
relationships: relationships.map((entry) => ({ id: entry.id })),
|
|
838
|
+
views: views.map((entry) => ({ view_id: entry.view_id })),
|
|
839
|
+
},
|
|
840
|
+
truncation: truncated('ids-only'),
|
|
841
|
+
};
|
|
842
|
+
if (payloadByteLength(idsOnly) <= maxBytes) {
|
|
843
|
+
return idsOnly;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
const manifestOnly = {
|
|
847
|
+
...result,
|
|
848
|
+
subgraph: {
|
|
849
|
+
elements: elements.filter((entry) => entry.id === focusId),
|
|
850
|
+
relationships: [],
|
|
851
|
+
views: [],
|
|
852
|
+
},
|
|
853
|
+
truncation: truncated('manifest-only'),
|
|
854
|
+
};
|
|
855
|
+
trimManifestToBudget(manifestOnly, maxBytes);
|
|
856
|
+
return manifestOnly;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
function applyViewContextBudget(result, maxBytes) {
|
|
860
|
+
if (!result || result.status !== 'passed' || !maxBytes || maxBytes <= 0) {
|
|
861
|
+
return result;
|
|
862
|
+
}
|
|
863
|
+
const fullBytes = payloadByteLength(result);
|
|
864
|
+
if (fullBytes <= maxBytes) {
|
|
865
|
+
return result;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
const elements = Array.isArray(result.elements) ? result.elements : [];
|
|
869
|
+
const relationships = Array.isArray(result.relationships) ? result.relationships : [];
|
|
870
|
+
const childViews = Array.isArray(result.childViews) ? result.childViews : [];
|
|
871
|
+
const ids = {
|
|
872
|
+
elements: elements.map((entry) => entry.id),
|
|
873
|
+
relationships: relationships.map((entry) => entry.id),
|
|
874
|
+
views: childViews.map((entry) => entry.view_id),
|
|
875
|
+
};
|
|
876
|
+
const strippedView = result.view
|
|
877
|
+
? { ...result.view, included_elements: [], included_relationships: [] }
|
|
878
|
+
: result.view;
|
|
879
|
+
const truncated = (tier) => ({ ...budgetTruncationBase(result, maxBytes, fullBytes, ids), tier });
|
|
880
|
+
|
|
881
|
+
const compact = {
|
|
882
|
+
...result,
|
|
883
|
+
elements: elements.map(identityElementRecord),
|
|
884
|
+
relationships: relationships.map(identityRelationshipRecord),
|
|
885
|
+
parentElement: result.parentElement ? identityElementRecord(result.parentElement) : result.parentElement,
|
|
886
|
+
childViews: childViews.map(identityViewRecord),
|
|
887
|
+
truncation: { ...truncated('identity'), omittedElementDetails: elements.length },
|
|
888
|
+
};
|
|
889
|
+
if (payloadByteLength(compact) <= maxBytes) {
|
|
890
|
+
return compact;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
const idsOnly = {
|
|
894
|
+
...result,
|
|
895
|
+
elements: elements.map((entry) => ({ id: entry.id })),
|
|
896
|
+
relationships: relationships.map((entry) => ({ id: entry.id })),
|
|
897
|
+
parentElement: result.parentElement ? { id: result.parentElement.id } : result.parentElement,
|
|
898
|
+
childViews: childViews.map((entry) => ({ view_id: entry.view_id })),
|
|
899
|
+
truncation: truncated('ids-only'),
|
|
900
|
+
};
|
|
901
|
+
if (payloadByteLength(idsOnly) <= maxBytes) {
|
|
902
|
+
return idsOnly;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
const manifestOnly = {
|
|
906
|
+
...result,
|
|
907
|
+
view: strippedView,
|
|
908
|
+
elements: [],
|
|
909
|
+
relationships: [],
|
|
910
|
+
parentElement: null,
|
|
911
|
+
childViews: [],
|
|
912
|
+
truncation: truncated('manifest-only'),
|
|
913
|
+
};
|
|
914
|
+
trimManifestToBudget(manifestOnly, maxBytes);
|
|
915
|
+
return manifestOnly;
|
|
916
|
+
}
|
|
917
|
+
|
|
689
918
|
function buildIntentElementContext(context, args = {}) {
|
|
690
919
|
const profile = args.profile || 'generic-agent';
|
|
691
920
|
const focusResult = resolveFocusElement(context.document, args);
|
|
@@ -812,7 +1041,7 @@ function buildIntentElementContext(context, args = {}) {
|
|
|
812
1041
|
};
|
|
813
1042
|
const projection = buildAgentProjection(omitted);
|
|
814
1043
|
if (projection) result.projection = projection;
|
|
815
|
-
return result;
|
|
1044
|
+
return applyContextBudget(result, resolveContextMaxBytes(args));
|
|
816
1045
|
}
|
|
817
1046
|
|
|
818
1047
|
// ---------------------------------------------------------------------------
|
|
@@ -956,7 +1185,7 @@ function buildViewContext(context, args = {}) {
|
|
|
956
1185
|
}
|
|
957
1186
|
const projection = buildAgentProjection(omitted);
|
|
958
1187
|
if (projection) result.projection = projection;
|
|
959
|
-
return result;
|
|
1188
|
+
return applyViewContextBudget(result, resolveContextMaxBytes(args));
|
|
960
1189
|
}
|
|
961
1190
|
|
|
962
1191
|
function resolveFocusElement(document, args) {
|
|
@@ -4863,6 +5092,9 @@ module.exports = {
|
|
|
4863
5092
|
buildGetSystemArchitectureStructuredContent,
|
|
4864
5093
|
TOOLS,
|
|
4865
5094
|
applyMutations,
|
|
5095
|
+
applyContextBudget,
|
|
5096
|
+
applyViewContextBudget,
|
|
5097
|
+
resolveContextMaxBytes,
|
|
4866
5098
|
buildBusinessSemanticSummary,
|
|
4867
5099
|
buildSemanticDedupAdvisory,
|
|
4868
5100
|
selectCreatedElementAdds,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "archgraph-argo-beta",
|
|
3
|
-
"version": "0.27.0-beta.
|
|
3
|
+
"version": "0.27.0-beta.14",
|
|
4
4
|
"description": "Deploy the ArchGraph ARGO toolchain, skills, and rules (schema, scripts, argo-init skill, global rule) with one command.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|