@sema-agent/core 5.53.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 +150 -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/subagent.d.ts +4 -0
- package/dist/agents/subagent.js +1 -1
- 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 +214 -5
- package/dist/core/mcp.js +315 -30
- 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-rule-model.d.ts +140 -21
- package/dist/core/permission-rule-model.js +76 -17
- package/dist/core/permission-rule-org.d.ts +4 -3
- package/dist/core/permission-rule-org.js +12 -3
- 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 +2 -2
- package/dist/index.js +2 -2
- package/dist/orchestration/workflow-types.d.ts +16 -6
- package/dist/orchestration/workflow-types.js +10 -4
- package/dist/orchestration/workflow.js +32 -6
- package/dist/prompts/default.d.ts +12 -2
- package/dist/stores/file/background-agent-store.js +1 -0
- package/dist/stores/file/checkpoint-store.d.ts +6 -2
- package/dist/stores/file/checkpoint-store.js +1 -0
- package/dist/stores/file/fs-atomic.d.ts +151 -10
- package/dist/stores/file/fs-atomic.js +208 -32
- package/dist/stores/file/index.d.ts +26 -3
- package/dist/stores/file/index.js +25 -2
- package/dist/stores/file/shared-ledger.d.ts +40 -5
- package/dist/stores/file/shared-ledger.js +24 -8
- package/dist/stores/file/workflow-run-store.d.ts +8 -1
- package/dist/stores/file/workflow-run-store.js +1 -0
- package/dist/tools/fs/bash-readonly-classifier.d.ts +71 -0
- package/dist/tools/fs/bash-readonly-classifier.js +58 -47
- package/dist/tools/fs/index.d.ts +3 -1
- package/package.json +1 -1
- package/test/export-surface.snapshot.json +30 -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",
|
|
@@ -319,6 +331,8 @@
|
|
|
319
331
|
"FileStorageBackend": "class",
|
|
320
332
|
"FileStorageBackendOptions": "interface",
|
|
321
333
|
"FileStorageCorruptReadInfo": "interface",
|
|
334
|
+
"FileStoreLockError": "class",
|
|
335
|
+
"FileStoreLockErrorCode": "type",
|
|
322
336
|
"FileStrategyStore": "class",
|
|
323
337
|
"FileStrategyStoreOptions": "interface",
|
|
324
338
|
"FileToolResultStore": "class",
|
|
@@ -453,6 +467,7 @@
|
|
|
453
467
|
"MEMORY_READONLY_NOTICE": "variable",
|
|
454
468
|
"MEMORY_RECALL_DISCIPLINE": "variable",
|
|
455
469
|
"MEMORY_SAFETY": "variable",
|
|
470
|
+
"MEMORY_SEARCH_SUPERSEDED_TAG": "variable",
|
|
456
471
|
"MEMORY_SEARCH_TOOL_NAME": "variable",
|
|
457
472
|
"MONITOR_BATCH_WINDOW_MS": "variable",
|
|
458
473
|
"MONITOR_DEFAULT_TIMEOUT_MS": "variable",
|
|
@@ -483,9 +498,12 @@
|
|
|
483
498
|
"MemoryBackend": "interface",
|
|
484
499
|
"MemoryBackendContractHooks": "interface",
|
|
485
500
|
"MemoryBundleImportPlan": "interface",
|
|
501
|
+
"MemoryConsolidationOptions": "interface",
|
|
486
502
|
"MemoryEngine": "class",
|
|
487
503
|
"MemoryEngineOptions": "interface",
|
|
488
504
|
"MemoryEntry": "interface",
|
|
505
|
+
"MemoryEntryDistilled": "interface",
|
|
506
|
+
"MemoryEntryDistilledInput": "interface",
|
|
489
507
|
"MemoryEntryFrontmatter": "interface",
|
|
490
508
|
"MemoryEntryHeader": "interface",
|
|
491
509
|
"MemoryEntryOrigin": "interface",
|
|
@@ -1201,6 +1219,7 @@
|
|
|
1201
1219
|
"clearStaleToolResults": "function",
|
|
1202
1220
|
"collectBelowFrontier": "function",
|
|
1203
1221
|
"combinePolicies": "function",
|
|
1222
|
+
"committedDistilledOf": "function",
|
|
1204
1223
|
"committedOriginOf": "function",
|
|
1205
1224
|
"compileReadDeny": "function",
|
|
1206
1225
|
"compileWriteProtection": "function",
|
|
@@ -1220,6 +1239,7 @@
|
|
|
1220
1239
|
"computeShapeDigest": "function",
|
|
1221
1240
|
"confirmRuleApproval": "function",
|
|
1222
1241
|
"consolidateScope": "function",
|
|
1242
|
+
"consolidationTypeEligible": "function",
|
|
1223
1243
|
"constitutionBlocks": "function",
|
|
1224
1244
|
"constraintChainDigest": "function",
|
|
1225
1245
|
"constraintChainEntryOf": "function",
|
|
@@ -1300,6 +1320,7 @@
|
|
|
1300
1320
|
"deriveRepoControlPlaneDir": "function",
|
|
1301
1321
|
"deriveRepoKey": "function",
|
|
1302
1322
|
"deriveRepoMemoryDir": "function",
|
|
1323
|
+
"deriveSupersededSet": "function",
|
|
1303
1324
|
"deriveTripwire": "function",
|
|
1304
1325
|
"deriveWiringManifest": "function",
|
|
1305
1326
|
"describeConfigCatalog": "function",
|
|
@@ -1307,6 +1328,7 @@
|
|
|
1307
1328
|
"describeStaticWiring": "function",
|
|
1308
1329
|
"detectSecret": "function",
|
|
1309
1330
|
"devWorkflowScriptRunner": "variable",
|
|
1331
|
+
"distilledEquals": "function",
|
|
1310
1332
|
"dotAtOrBelowFrontier": "function",
|
|
1311
1333
|
"drainMemoryAnnouncements": "function",
|
|
1312
1334
|
"durableParkGapFor": "function",
|
|
@@ -1420,7 +1442,12 @@
|
|
|
1420
1442
|
"materializeMcpTools": "function",
|
|
1421
1443
|
"maybeCompact": "function",
|
|
1422
1444
|
"memoryBackendContract": "function",
|
|
1445
|
+
"memoryConsolidationCommittedNotice": "function",
|
|
1446
|
+
"memoryConsolidationConflictNotice": "function",
|
|
1447
|
+
"memoryConsolidationRecommendedNotice": "function",
|
|
1448
|
+
"memoryConsolidationRefusedNotice": "function",
|
|
1423
1449
|
"memoryExposureIndexRow": "function",
|
|
1450
|
+
"memorySupersededNote": "function",
|
|
1424
1451
|
"mergeRecallHits": "function",
|
|
1425
1452
|
"mergeWorkflowArgs": "function",
|
|
1426
1453
|
"migrateScope": "function",
|
|
@@ -1484,6 +1511,7 @@
|
|
|
1484
1511
|
"readCcSidecarMessages": "function",
|
|
1485
1512
|
"readCcSidecarTranscript": "function",
|
|
1486
1513
|
"readDegradation": "function",
|
|
1514
|
+
"readIntentCredentials": "function",
|
|
1487
1515
|
"readJsonlRecords": "function",
|
|
1488
1516
|
"readPendingSteerQueue": "function",
|
|
1489
1517
|
"readRootAdoptionFile": "function",
|
|
@@ -1607,6 +1635,7 @@
|
|
|
1607
1635
|
"summarizeCheckpoint": "function",
|
|
1608
1636
|
"summarizeRedactions": "function",
|
|
1609
1637
|
"summarizeWorkflowRun": "function",
|
|
1638
|
+
"supersessionFuseCeiling": "function",
|
|
1610
1639
|
"supportsConsolidation": "function",
|
|
1611
1640
|
"supportsPeriodicConsolidation": "function",
|
|
1612
1641
|
"syncMemoryScope": "function",
|