@sema-agent/core 7.38.2 → 7.39.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 +175 -6
- package/dist/core/ask-origin.d.ts +16 -7
- package/dist/core/ask-origin.js +4 -2
- package/dist/core/auto-mode-directive.d.ts +114 -19
- package/dist/core/auto-mode-directive.js +67 -19
- package/dist/core/checkpoint-store.d.ts +72 -41
- package/dist/core/checkpoint-store.js +28 -48
- package/dist/core/classifier-unavailable-arm.js +2 -2
- package/dist/core/decision-receipt.d.ts +2 -0
- package/dist/core/decision-receipt.js +1 -1
- package/dist/core/engine-notice.d.ts +41 -17
- package/dist/core/engine-notice.js +26 -14
- package/dist/core/gate-outcome.d.ts +80 -42
- package/dist/core/gate-outcome.js +21 -6
- package/dist/core/governance-codes.d.ts +1 -3
- package/dist/core/governance-codes.js +0 -3
- package/dist/core/hooks.d.ts +1 -1
- package/dist/core/hooks.js +2 -2
- package/dist/core/human-input-projection.d.ts +12 -0
- package/dist/core/human-input-projection.js +12 -0
- package/dist/core/memory-engine/engine.js +11 -11
- package/dist/core/memory-engine/layout.d.ts +21 -2
- package/dist/core/memory-engine/layout.js +17 -5
- package/dist/core/mode-policy.d.ts +26 -0
- package/dist/core/mode-policy.js +37 -1
- package/dist/core/output-style.d.ts +21 -0
- package/dist/core/output-style.js +29 -0
- package/dist/core/real-approval.d.ts +25 -0
- package/dist/core/real-approval.js +27 -0
- package/dist/core/reminder-mint.d.ts +0 -9
- package/dist/core/reminder-mint.js +0 -11
- package/dist/core/retired-keys.d.ts +2 -1
- package/dist/core/retired-keys.js +3 -1
- package/dist/core/runner/assemble-result.d.ts +2 -0
- package/dist/core/runner/assemble-result.js +1 -1
- package/dist/core/runner/compaction-restate.d.ts +45 -4
- package/dist/core/runner/compaction-restate.js +89 -11
- package/dist/core/runner/contracts.d.ts +6 -6
- package/dist/core/runner/denial-limit-arms.js +4 -4
- package/dist/core/runner/inherited-ask-grants.d.ts +4 -2
- package/dist/core/runner/inherited-ask-grants.js +0 -3
- package/dist/core/runner/permission-rule-lanes.d.ts +18 -0
- package/dist/core/runner/permission-rule-lanes.js +35 -25
- package/dist/core/runner/prepare-context-lane.d.ts +1 -0
- package/dist/core/runner/prepare-context-lane.js +6 -0
- package/dist/core/runner/prepare-inherited-gate.js +2 -9
- package/dist/core/runner/prepare-task.js +10 -24
- package/dist/core/runner/prepare-wiring-manifest.js +2 -2
- package/dist/core/runner/prompt-block.d.ts +9 -0
- package/dist/core/runner/prompt-block.js +8 -0
- package/dist/core/runner/resume-admission.js +4 -1
- package/dist/core/runner/resume-apply.js +28 -18
- package/dist/core/runner/resume-policy-outcome.js +10 -4
- package/dist/core/runner/run-attachment-seats.js +1 -1
- package/dist/core/runner/run-identity-wiring.js +9 -2
- package/dist/core/runner/run-leg.js +42 -31
- package/dist/core/runner/run-settle-and-teardown.js +4 -3
- package/dist/core/runner/run-turn-boundary.js +4 -3
- package/dist/core/runner/runtask.d.ts +4 -2
- package/dist/core/runner/steer-admission.d.ts +9 -0
- package/dist/core/runner/steer-admission.js +8 -0
- package/dist/core/runner/stream-steer-verb.js +16 -11
- package/dist/core/runner/synthetic-tools.d.ts +4 -0
- package/dist/core/runner/tool-turn-repair-seat.js +1 -1
- package/dist/core/runner/turn-attachments.d.ts +16 -22
- package/dist/core/runner/turn-attachments.js +3 -20
- package/dist/core/runner-deps.d.ts +1 -1
- package/dist/core/store-contracts/checkpoint-store-contract.d.ts +8 -0
- package/dist/core/store-contracts/checkpoint-store-contract.js +23 -0
- package/dist/core/task-event.d.ts +7 -2
- package/dist/core/task-spec.d.ts +29 -7
- package/dist/core/terminal-cause.d.ts +44 -3
- package/dist/core/terminal-cause.js +5 -0
- package/dist/core/tool-policy.d.ts +55 -29
- package/dist/core/tool-policy.js +42 -31
- package/dist/core/types.d.ts +1 -1
- package/dist/core/types.js +1 -1
- package/dist/core/wiring-manifest.d.ts +17 -3
- package/dist/core/wiring-manifest.js +8 -3
- package/dist/engine/harness/agent-harness.d.ts +10 -0
- package/dist/engine/harness/agent-harness.js +12 -1
- package/dist/engine/llm/tool-turns.d.ts +15 -2
- package/dist/engine/llm/tool-turns.js +2 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -3
- package/dist/prompt-assembly/event-registry.js +2 -1
- package/dist/stores/file/fs-atomic.d.ts +29 -4
- package/dist/stores/file/fs-atomic.js +55 -6
- package/dist/tools/fs/index.d.ts +2 -1
- package/dist/tools/fs/read-deny-home.d.ts +3 -2
- package/dist/tools/fs/read-deny-home.js +6 -4
- package/dist/tools/fs/shell-read-check.d.ts +10 -3
- package/dist/tools/fs/shell-read-check.js +2 -2
- package/package.json +1 -1
- package/test/export-surface.snapshot.json +21 -1
- package/wire-changes/core@7.38.2.json +20 -2
- package/wire-changes/core@7.38.3.json +36 -0
- package/wire-changes/core@7.39.0.json +845 -0
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
"_tierComment": "#435 v1 — machine-readable layering of the public surface: stable = demonstrated by README.md / src/examples; internal = an `Internal`-marked name or a runner/engine deep-subtree declaration (the model seam src/engine/llm is excluded — it is the BYOM contract, not an engine internal); advanced = a supported export the front door does not walk you through. THIS IS AN INITIAL HEURISTIC, derived mechanically and expected to be refined ticket by ticket: no human reviewed these 1700+ entries one by one, and nothing here claims otherwise. Known bias: a short or English-word export name (ok, err, Result, Usage) can match ordinary prose in README.md and land `stable` on a coincidence. Every export MUST carry a tier — a new export with no row fails the gate in export-surface.test.ts.",
|
|
4
|
-
"count":
|
|
4
|
+
"count": 2558,
|
|
5
5
|
"exports": {
|
|
6
6
|
"A2ATaskState": "type",
|
|
7
7
|
"A2ATaskStateReversal": "type",
|
|
@@ -860,6 +860,7 @@
|
|
|
860
860
|
"ORG_UNAVAILABLE_DECISION_REASON": "variable",
|
|
861
861
|
"ORIGIN_IMPLIES_REAL_APPROVAL": "variable",
|
|
862
862
|
"OUTPUT_EFFICIENCY": "variable",
|
|
863
|
+
"OUTPUT_STYLE_NAME_MAX": "variable",
|
|
863
864
|
"OffCapabilityModel": "interface",
|
|
864
865
|
"OnAsk": "type",
|
|
865
866
|
"OnElicit": "type",
|
|
@@ -943,6 +944,7 @@
|
|
|
943
944
|
"PROJECT_ID_HINTS_FILE": "variable",
|
|
944
945
|
"PROJECT_ID_REGEX": "variable",
|
|
945
946
|
"PROJECT_MARKER_PATH": "variable",
|
|
947
|
+
"PROMPT_BLOCK_CAUSES": "variable",
|
|
946
948
|
"PROTOCOL_TABLE": "variable",
|
|
947
949
|
"PROVIDER_ECHO_SHAPE": "variable",
|
|
948
950
|
"PackSectionDeclaration": "interface",
|
|
@@ -1075,6 +1077,7 @@
|
|
|
1075
1077
|
"PromptArtifactSource": "interface",
|
|
1076
1078
|
"PromptArtifactStore": "interface",
|
|
1077
1079
|
"PromptBlock": "interface",
|
|
1080
|
+
"PromptBlockCause": "type",
|
|
1078
1081
|
"PromptCacheClass": "type",
|
|
1079
1082
|
"PromptCacheReport": "interface",
|
|
1080
1083
|
"PromptCarrier": "type",
|
|
@@ -1316,6 +1319,7 @@
|
|
|
1316
1319
|
"SESSION_LOG_DIGEST_SCHEME": "variable",
|
|
1317
1320
|
"SETTLEMENT_IS_REFUSAL": "variable",
|
|
1318
1321
|
"SETTLEMENT_KINDS": "variable",
|
|
1322
|
+
"SETTLEMENT_PARTIES": "variable",
|
|
1319
1323
|
"SHARED_MEMORY_LIST_PAGE_SIZE": "variable",
|
|
1320
1324
|
"SHARED_MEMORY_READ_CAP_BYTES": "variable",
|
|
1321
1325
|
"SHELL_READ_DECISION": "variable",
|
|
@@ -1398,6 +1402,7 @@
|
|
|
1398
1402
|
"SessionWriteOptions": "interface",
|
|
1399
1403
|
"Settlement": "type",
|
|
1400
1404
|
"SettlementKind": "type",
|
|
1405
|
+
"SettlementParty": "type",
|
|
1401
1406
|
"SharedAbortScope": "class",
|
|
1402
1407
|
"SharedMemoryDocumentEntry": "interface",
|
|
1403
1408
|
"SharedMemoryFixture": "interface",
|
|
@@ -1538,6 +1543,7 @@
|
|
|
1538
1543
|
"TeamResult": "interface",
|
|
1539
1544
|
"TeamRole": "type",
|
|
1540
1545
|
"TeamTurn": "interface",
|
|
1546
|
+
"TerminalBlockedDetail": "interface",
|
|
1541
1547
|
"TerminalCause": "type",
|
|
1542
1548
|
"TerminalClaimIntent": "type",
|
|
1543
1549
|
"TerminalClaimOutcome": "type",
|
|
@@ -2098,6 +2104,7 @@
|
|
|
2098
2104
|
"isDeclaredWrite": "function",
|
|
2099
2105
|
"isDelegatedAgentTerminal": "function",
|
|
2100
2106
|
"isDeniedBy": "function",
|
|
2107
|
+
"isEngineRefusal": "variable",
|
|
2101
2108
|
"isFreshPeerRow": "function",
|
|
2102
2109
|
"isFullyReadable": "function",
|
|
2103
2110
|
"isGateKind": "function",
|
|
@@ -2117,6 +2124,7 @@
|
|
|
2117
2124
|
"isPersistedRuleMandate": "function",
|
|
2118
2125
|
"isPersonalScope": "function",
|
|
2119
2126
|
"isProcessLive": "function",
|
|
2127
|
+
"isPromptBlockCause": "function",
|
|
2120
2128
|
"isProtectedWrite": "function",
|
|
2121
2129
|
"isProviderEchoShape": "function",
|
|
2122
2130
|
"isQuestionUnavailable": "function",
|
|
@@ -2128,6 +2136,7 @@
|
|
|
2128
2136
|
"isSelfOrchestrationActive": "function",
|
|
2129
2137
|
"isSessionConflict": "function",
|
|
2130
2138
|
"isSettlementKind": "function",
|
|
2139
|
+
"isSettlementParty": "function",
|
|
2131
2140
|
"isSuspendable": "function",
|
|
2132
2141
|
"isSwappableDepSeat": "function",
|
|
2133
2142
|
"isSystemInjectionPriority": "function",
|
|
@@ -2326,6 +2335,7 @@
|
|
|
2326
2335
|
"reasoningEffortLevelsOf": "function",
|
|
2327
2336
|
"rebuildAutoModeDecider": "function",
|
|
2328
2337
|
"rebuildStrictControlPlaneLedger": "function",
|
|
2338
|
+
"receiveHookResult": "function",
|
|
2329
2339
|
"reconcileInterruptedSession": "function",
|
|
2330
2340
|
"reconcileMemoryEntries": "function",
|
|
2331
2341
|
"reconcileParkedAgents": "function",
|
|
@@ -3410,6 +3420,7 @@
|
|
|
3410
3420
|
"ORG_UNAVAILABLE_DECISION_REASON": "advanced",
|
|
3411
3421
|
"ORIGIN_IMPLIES_REAL_APPROVAL": "advanced",
|
|
3412
3422
|
"OUTPUT_EFFICIENCY": "advanced",
|
|
3423
|
+
"OUTPUT_STYLE_NAME_MAX": "advanced",
|
|
3413
3424
|
"OffCapabilityModel": "advanced",
|
|
3414
3425
|
"OnAsk": "advanced",
|
|
3415
3426
|
"OnElicit": "advanced",
|
|
@@ -3493,6 +3504,7 @@
|
|
|
3493
3504
|
"PROJECT_ID_HINTS_FILE": "advanced",
|
|
3494
3505
|
"PROJECT_ID_REGEX": "advanced",
|
|
3495
3506
|
"PROJECT_MARKER_PATH": "advanced",
|
|
3507
|
+
"PROMPT_BLOCK_CAUSES": "advanced",
|
|
3496
3508
|
"PROTOCOL_TABLE": "advanced",
|
|
3497
3509
|
"PROVIDER_ECHO_SHAPE": "advanced",
|
|
3498
3510
|
"PackSectionDeclaration": "advanced",
|
|
@@ -3625,6 +3637,7 @@
|
|
|
3625
3637
|
"PromptArtifactSource": "advanced",
|
|
3626
3638
|
"PromptArtifactStore": "advanced",
|
|
3627
3639
|
"PromptBlock": "advanced",
|
|
3640
|
+
"PromptBlockCause": "advanced",
|
|
3628
3641
|
"PromptCacheClass": "advanced",
|
|
3629
3642
|
"PromptCacheReport": "advanced",
|
|
3630
3643
|
"PromptCarrier": "advanced",
|
|
@@ -3866,6 +3879,7 @@
|
|
|
3866
3879
|
"SESSION_LOG_DIGEST_SCHEME": "internal",
|
|
3867
3880
|
"SETTLEMENT_IS_REFUSAL": "advanced",
|
|
3868
3881
|
"SETTLEMENT_KINDS": "advanced",
|
|
3882
|
+
"SETTLEMENT_PARTIES": "advanced",
|
|
3869
3883
|
"SHARED_MEMORY_LIST_PAGE_SIZE": "advanced",
|
|
3870
3884
|
"SHARED_MEMORY_READ_CAP_BYTES": "advanced",
|
|
3871
3885
|
"SHELL_READ_DECISION": "advanced",
|
|
@@ -3948,6 +3962,7 @@
|
|
|
3948
3962
|
"SessionWriteOptions": "stable",
|
|
3949
3963
|
"Settlement": "advanced",
|
|
3950
3964
|
"SettlementKind": "stable",
|
|
3965
|
+
"SettlementParty": "advanced",
|
|
3951
3966
|
"SharedAbortScope": "advanced",
|
|
3952
3967
|
"SharedMemoryDocumentEntry": "advanced",
|
|
3953
3968
|
"SharedMemoryFixture": "advanced",
|
|
@@ -4088,6 +4103,7 @@
|
|
|
4088
4103
|
"TeamResult": "advanced",
|
|
4089
4104
|
"TeamRole": "advanced",
|
|
4090
4105
|
"TeamTurn": "advanced",
|
|
4106
|
+
"TerminalBlockedDetail": "advanced",
|
|
4091
4107
|
"TerminalCause": "advanced",
|
|
4092
4108
|
"TerminalClaimIntent": "advanced",
|
|
4093
4109
|
"TerminalClaimOutcome": "advanced",
|
|
@@ -4648,6 +4664,7 @@
|
|
|
4648
4664
|
"isDeclaredWrite": "advanced",
|
|
4649
4665
|
"isDelegatedAgentTerminal": "advanced",
|
|
4650
4666
|
"isDeniedBy": "advanced",
|
|
4667
|
+
"isEngineRefusal": "advanced",
|
|
4651
4668
|
"isFreshPeerRow": "advanced",
|
|
4652
4669
|
"isFullyReadable": "advanced",
|
|
4653
4670
|
"isGateKind": "advanced",
|
|
@@ -4667,6 +4684,7 @@
|
|
|
4667
4684
|
"isPersistedRuleMandate": "advanced",
|
|
4668
4685
|
"isPersonalScope": "advanced",
|
|
4669
4686
|
"isProcessLive": "advanced",
|
|
4687
|
+
"isPromptBlockCause": "advanced",
|
|
4670
4688
|
"isProtectedWrite": "advanced",
|
|
4671
4689
|
"isProviderEchoShape": "advanced",
|
|
4672
4690
|
"isQuestionUnavailable": "advanced",
|
|
@@ -4678,6 +4696,7 @@
|
|
|
4678
4696
|
"isSelfOrchestrationActive": "advanced",
|
|
4679
4697
|
"isSessionConflict": "stable",
|
|
4680
4698
|
"isSettlementKind": "advanced",
|
|
4699
|
+
"isSettlementParty": "advanced",
|
|
4681
4700
|
"isSuspendable": "advanced",
|
|
4682
4701
|
"isSwappableDepSeat": "advanced",
|
|
4683
4702
|
"isSystemInjectionPriority": "advanced",
|
|
@@ -4876,6 +4895,7 @@
|
|
|
4876
4895
|
"reasoningEffortLevelsOf": "advanced",
|
|
4877
4896
|
"rebuildAutoModeDecider": "advanced",
|
|
4878
4897
|
"rebuildStrictControlPlaneLedger": "advanced",
|
|
4898
|
+
"receiveHookResult": "advanced",
|
|
4879
4899
|
"reconcileInterruptedSession": "advanced",
|
|
4880
4900
|
"reconcileMemoryEntries": "advanced",
|
|
4881
4901
|
"reconcileParkedAgents": "advanced",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"repo": "core",
|
|
3
3
|
"version": "7.38.2",
|
|
4
4
|
"from": "a8493dd6305fe6f8b3fea1174b56c30667f3ff1b",
|
|
5
|
-
"to": "
|
|
5
|
+
"to": "25b09b0232b290da289a6d9697f0d3b72826713c",
|
|
6
6
|
"added": [],
|
|
7
7
|
"removed": [],
|
|
8
8
|
"changed": [],
|
|
@@ -14,7 +14,25 @@
|
|
|
14
14
|
"typeKeysFlattenedCount": 220,
|
|
15
15
|
"declarationMoves": [],
|
|
16
16
|
"mintMoves": [],
|
|
17
|
-
"criteriaObserves": [
|
|
17
|
+
"criteriaObserves": [
|
|
18
|
+
{
|
|
19
|
+
"kind": "typeMember",
|
|
20
|
+
"name": "AppendLog.append",
|
|
21
|
+
"assertions": [
|
|
22
|
+
"G1.b",
|
|
23
|
+
"G1.c",
|
|
24
|
+
"G1.d"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"kind": "typeMember",
|
|
29
|
+
"name": "CheckpointStore.get",
|
|
30
|
+
"assertions": [
|
|
31
|
+
"G1.a",
|
|
32
|
+
"G1.c"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
18
36
|
"consumersHint": {
|
|
19
37
|
"cli": [],
|
|
20
38
|
"server": [],
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repo": "core",
|
|
3
|
+
"version": "7.38.3",
|
|
4
|
+
"from": "25b09b0232b290da289a6d9697f0d3b72826713c",
|
|
5
|
+
"to": "e0ab70decfe37f3dcdcb4aff4f8e694df14a7efe",
|
|
6
|
+
"added": [],
|
|
7
|
+
"removed": [],
|
|
8
|
+
"changed": [],
|
|
9
|
+
"narrowed": [],
|
|
10
|
+
"closedSetMembers": [],
|
|
11
|
+
"closedSetsUnreadable": [],
|
|
12
|
+
"typeKeys": [],
|
|
13
|
+
"typeKeysUnreadableArms": [],
|
|
14
|
+
"typeKeysFlattenedCount": 220,
|
|
15
|
+
"declarationMoves": [],
|
|
16
|
+
"mintMoves": [],
|
|
17
|
+
"criteriaObserves": [
|
|
18
|
+
{
|
|
19
|
+
"kind": "typeMember",
|
|
20
|
+
"name": "AppendLog.append",
|
|
21
|
+
"assertions": [
|
|
22
|
+
"G1.a",
|
|
23
|
+
"G1.b",
|
|
24
|
+
"G1.c"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"consumersHint": {
|
|
29
|
+
"cli": [],
|
|
30
|
+
"server": [],
|
|
31
|
+
"sdk": [],
|
|
32
|
+
"note": "scanned cli@64a76326 server@f4ce4085 sdk@2756723 — a name listed is MENTIONED there today, which is evidence of consumption, not proof of it"
|
|
33
|
+
},
|
|
34
|
+
"breakingCount": 0,
|
|
35
|
+
"breakingItems": []
|
|
36
|
+
}
|