@sema-agent/core 5.54.0 → 5.55.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/CHANGELOG.md +94 -0
- package/dist/agents/cumulative-stats.d.ts +26 -0
- package/dist/agents/cumulative-stats.js +56 -0
- package/dist/agents/observer.d.ts +11 -7
- package/dist/agents/observer.js +2 -4
- package/dist/agents/verify.d.ts +27 -3
- package/dist/agents/verify.js +7 -2
- package/dist/core/governance-codes.js +14 -0
- package/dist/core/hooks.js +1 -1
- package/dist/core/lsp-diagnostics.d.ts +19 -17
- package/dist/core/lsp-diagnostics.js +11 -5
- package/dist/core/mcp.d.ts +46 -0
- package/dist/core/mcp.js +132 -6
- package/dist/core/memory-engine/consolidation.d.ts +378 -0
- package/dist/core/memory-engine/consolidation.js +342 -0
- package/dist/core/memory-engine/dual-root.js +3 -0
- package/dist/core/memory-engine/engine.d.ts +237 -4
- package/dist/core/memory-engine/engine.js +1111 -4
- package/dist/core/memory-engine/export-bundle.js +9 -0
- package/dist/core/memory-engine/file-backend.js +27 -1
- package/dist/core/memory-engine/frontmatter.d.ts +20 -1
- package/dist/core/memory-engine/frontmatter.js +111 -0
- package/dist/core/memory-engine/index.d.ts +4 -2
- package/dist/core/memory-engine/index.js +3 -1
- package/dist/core/memory-engine/memory-backend-contract.js +131 -0
- package/dist/core/memory-engine/sync-client.js +26 -0
- package/dist/core/memory-engine/tools.d.ts +9 -0
- package/dist/core/memory-engine/tools.js +57 -13
- package/dist/core/memory-engine/types.d.ts +99 -0
- package/dist/core/memory-recall.js +4 -3
- package/dist/core/memory.d.ts +33 -3
- package/dist/core/memory.js +6 -4
- package/dist/core/permission-rules.d.ts +22 -0
- package/dist/core/permission-rules.js +60 -6
- package/dist/core/reminder-disclosure.d.ts +29 -4
- package/dist/core/reminder-disclosure.js +60 -12
- package/dist/core/runner/prepare-memory.js +7 -2
- package/dist/core/runner/prepare-task.d.ts +31 -1
- package/dist/core/runner/prepare-task.js +31 -14
- package/dist/core/runner/runtask.d.ts +8 -1
- package/dist/core/runner/runtask.js +12 -10
- package/dist/core/runner/session-rule-policy.js +5 -3
- package/dist/core/runner/synthetic-tools.js +4 -2
- package/dist/core/runner/turn-attachments.d.ts +16 -6
- package/dist/core/runner/turn-attachments.js +34 -20
- package/dist/core/tool-policy.d.ts +18 -0
- package/dist/core/tool-policy.js +19 -8
- package/dist/core/types.d.ts +89 -6
- package/dist/core/untrusted-egress.js +12 -2
- package/dist/core/untrusted-text.d.ts +189 -3
- package/dist/core/untrusted-text.js +416 -6
- package/dist/engine/loop/types.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/prompts/default.d.ts +12 -2
- package/dist/tools/fs/index.d.ts +3 -1
- package/package.json +1 -1
- package/test/export-surface.snapshot.json +28 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_comment": "design/87 L3 — frozen public export surface of src/index.ts (name -> kind). DO NOT edit by hand to silence a red test. A removed/changed entry = a SemVer-BREAKING change; bump MAJOR and update this fixture in the SAME commit (design/87 §4.2 / §5.2). Regenerate via REGEN in test/export-surface.test.ts.",
|
|
3
|
-
"count":
|
|
3
|
+
"count": 1678,
|
|
4
4
|
"exports": {
|
|
5
5
|
"A2ATaskState": "type",
|
|
6
6
|
"A2ATaskStateReversal": "type",
|
|
@@ -138,6 +138,7 @@
|
|
|
138
138
|
"COMPACTABLE_TOOLS": "variable",
|
|
139
139
|
"COMPLIANCE_CAPABILITIES": "variable",
|
|
140
140
|
"CONFIG_CATALOG_VERSION": "variable",
|
|
141
|
+
"CONSOLIDATION_DEFAULTS": "variable",
|
|
141
142
|
"CONSOLIDATION_SYSTEM_PROMPT": "variable",
|
|
142
143
|
"CONTRACT_KIT_ENGINE_VERSION": "variable",
|
|
143
144
|
"COORDINATOR_ROLE_PROMPT": "variable",
|
|
@@ -199,9 +200,20 @@
|
|
|
199
200
|
"ConfirmResult": "type",
|
|
200
201
|
"ConsolidateScopeDeps": "interface",
|
|
201
202
|
"ConsolidateScopeOptions": "interface",
|
|
203
|
+
"ConsolidationCommitReceipt": "interface",
|
|
204
|
+
"ConsolidationGateRow": "interface",
|
|
205
|
+
"ConsolidationIntent": "type",
|
|
206
|
+
"ConsolidationIntentCredentialRow": "interface",
|
|
202
207
|
"ConsolidationLLM": "interface",
|
|
208
|
+
"ConsolidationLeaseSeat": "interface",
|
|
203
209
|
"ConsolidationNote": "interface",
|
|
204
210
|
"ConsolidationParams": "interface",
|
|
211
|
+
"ConsolidationPlanSummary": "interface",
|
|
212
|
+
"ConsolidationProductProposal": "interface",
|
|
213
|
+
"ConsolidationProposal": "interface",
|
|
214
|
+
"ConsolidationReconcileReport": "interface",
|
|
215
|
+
"ConsolidationRefusedError": "class",
|
|
216
|
+
"ConsolidationResolveReceipt": "interface",
|
|
205
217
|
"ConsolidationStats": "interface",
|
|
206
218
|
"ConstraintChainEntry": "type",
|
|
207
219
|
"Context": "interface",
|
|
@@ -455,6 +467,7 @@
|
|
|
455
467
|
"MEMORY_READONLY_NOTICE": "variable",
|
|
456
468
|
"MEMORY_RECALL_DISCIPLINE": "variable",
|
|
457
469
|
"MEMORY_SAFETY": "variable",
|
|
470
|
+
"MEMORY_SEARCH_SUPERSEDED_TAG": "variable",
|
|
458
471
|
"MEMORY_SEARCH_TOOL_NAME": "variable",
|
|
459
472
|
"MONITOR_BATCH_WINDOW_MS": "variable",
|
|
460
473
|
"MONITOR_DEFAULT_TIMEOUT_MS": "variable",
|
|
@@ -485,9 +498,12 @@
|
|
|
485
498
|
"MemoryBackend": "interface",
|
|
486
499
|
"MemoryBackendContractHooks": "interface",
|
|
487
500
|
"MemoryBundleImportPlan": "interface",
|
|
501
|
+
"MemoryConsolidationOptions": "interface",
|
|
488
502
|
"MemoryEngine": "class",
|
|
489
503
|
"MemoryEngineOptions": "interface",
|
|
490
504
|
"MemoryEntry": "interface",
|
|
505
|
+
"MemoryEntryDistilled": "interface",
|
|
506
|
+
"MemoryEntryDistilledInput": "interface",
|
|
491
507
|
"MemoryEntryFrontmatter": "interface",
|
|
492
508
|
"MemoryEntryHeader": "interface",
|
|
493
509
|
"MemoryEntryOrigin": "interface",
|
|
@@ -1203,6 +1219,7 @@
|
|
|
1203
1219
|
"clearStaleToolResults": "function",
|
|
1204
1220
|
"collectBelowFrontier": "function",
|
|
1205
1221
|
"combinePolicies": "function",
|
|
1222
|
+
"committedDistilledOf": "function",
|
|
1206
1223
|
"committedOriginOf": "function",
|
|
1207
1224
|
"compileReadDeny": "function",
|
|
1208
1225
|
"compileWriteProtection": "function",
|
|
@@ -1222,6 +1239,7 @@
|
|
|
1222
1239
|
"computeShapeDigest": "function",
|
|
1223
1240
|
"confirmRuleApproval": "function",
|
|
1224
1241
|
"consolidateScope": "function",
|
|
1242
|
+
"consolidationTypeEligible": "function",
|
|
1225
1243
|
"constitutionBlocks": "function",
|
|
1226
1244
|
"constraintChainDigest": "function",
|
|
1227
1245
|
"constraintChainEntryOf": "function",
|
|
@@ -1302,6 +1320,7 @@
|
|
|
1302
1320
|
"deriveRepoControlPlaneDir": "function",
|
|
1303
1321
|
"deriveRepoKey": "function",
|
|
1304
1322
|
"deriveRepoMemoryDir": "function",
|
|
1323
|
+
"deriveSupersededSet": "function",
|
|
1305
1324
|
"deriveTripwire": "function",
|
|
1306
1325
|
"deriveWiringManifest": "function",
|
|
1307
1326
|
"describeConfigCatalog": "function",
|
|
@@ -1309,6 +1328,7 @@
|
|
|
1309
1328
|
"describeStaticWiring": "function",
|
|
1310
1329
|
"detectSecret": "function",
|
|
1311
1330
|
"devWorkflowScriptRunner": "variable",
|
|
1331
|
+
"distilledEquals": "function",
|
|
1312
1332
|
"dotAtOrBelowFrontier": "function",
|
|
1313
1333
|
"drainMemoryAnnouncements": "function",
|
|
1314
1334
|
"durableParkGapFor": "function",
|
|
@@ -1422,7 +1442,12 @@
|
|
|
1422
1442
|
"materializeMcpTools": "function",
|
|
1423
1443
|
"maybeCompact": "function",
|
|
1424
1444
|
"memoryBackendContract": "function",
|
|
1445
|
+
"memoryConsolidationCommittedNotice": "function",
|
|
1446
|
+
"memoryConsolidationConflictNotice": "function",
|
|
1447
|
+
"memoryConsolidationRecommendedNotice": "function",
|
|
1448
|
+
"memoryConsolidationRefusedNotice": "function",
|
|
1425
1449
|
"memoryExposureIndexRow": "function",
|
|
1450
|
+
"memorySupersededNote": "function",
|
|
1426
1451
|
"mergeRecallHits": "function",
|
|
1427
1452
|
"mergeWorkflowArgs": "function",
|
|
1428
1453
|
"migrateScope": "function",
|
|
@@ -1486,6 +1511,7 @@
|
|
|
1486
1511
|
"readCcSidecarMessages": "function",
|
|
1487
1512
|
"readCcSidecarTranscript": "function",
|
|
1488
1513
|
"readDegradation": "function",
|
|
1514
|
+
"readIntentCredentials": "function",
|
|
1489
1515
|
"readJsonlRecords": "function",
|
|
1490
1516
|
"readPendingSteerQueue": "function",
|
|
1491
1517
|
"readRootAdoptionFile": "function",
|
|
@@ -1609,6 +1635,7 @@
|
|
|
1609
1635
|
"summarizeCheckpoint": "function",
|
|
1610
1636
|
"summarizeRedactions": "function",
|
|
1611
1637
|
"summarizeWorkflowRun": "function",
|
|
1638
|
+
"supersessionFuseCeiling": "function",
|
|
1612
1639
|
"supportsConsolidation": "function",
|
|
1613
1640
|
"supportsPeriodicConsolidation": "function",
|
|
1614
1641
|
"syncMemoryScope": "function",
|